CN111475582B - Terminal equipment and cultural relic information processing method for accessing blockchain - Google Patents

Terminal equipment and cultural relic information processing method for accessing blockchain Download PDF

Info

Publication number
CN111475582B
CN111475582B CN202010377403.3A CN202010377403A CN111475582B CN 111475582 B CN111475582 B CN 111475582B CN 202010377403 A CN202010377403 A CN 202010377403A CN 111475582 B CN111475582 B CN 111475582B
Authority
CN
China
Prior art keywords
cultural relic
data
cultural
blockchain
relic
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
CN202010377403.3A
Other languages
Chinese (zh)
Other versions
CN111475582A (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.)
Guangzhou Okay Information Technology Co ltd
Original Assignee
Guangzhou Okay Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Okay Information Technology Co ltd filed Critical Guangzhou Okay Information Technology Co ltd
Priority to CN202010377403.3A priority Critical patent/CN111475582B/en
Publication of CN111475582A publication Critical patent/CN111475582A/en
Application granted granted Critical
Publication of CN111475582B publication Critical patent/CN111475582B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Library & Information Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a terminal device and a cultural relic information processing method for accessing a blockchain, wherein the method comprises the following steps: matching the cultural relic picture data with a cultural relic type model in a basic type database, generating corresponding type identification codes for each cultural relic picture meeting the matching, and setting the same editing frame column for the same cultural relic picture; acquiring corresponding types of cultural relic basic data from the block chain link points according to the type identification codes, and displaying the corresponding types of cultural relic basic data into the corresponding editing frame columns for editing to form corresponding cultural relic data; submitting various types of cultural relic data to a blockchain node so as to upload the various types of cultural relic data to the blockchain as the latest version; and acquiring the association code which is returned by execution and is associated with the historical version of the cultural relic data, and finishing the information processing of the cultural relic. The method and the system realize the processing and the safety control of the cultural relic information of the cultural relic picture before being connected into the blockchain, and are particularly suitable for application scenes such as a museum cultural relic management system.

Description

Terminal equipment and cultural relic information processing method for accessing blockchain
Technical Field
The invention relates to a blockchain technology, in particular to a cultural relic information processing method for accessing a blockchain and corresponding terminal equipment.
Background
The informatization of the cultural relics of the museum, through informatization processing, the cultural relics of the museum are moved from offline to online and are opened to public access, and the method has very important practical significance for the electronic protection of historical cultural relics and the propagation of human culture.
The earliest informatization processing means is to directly and simply store the cultural relics on a server in a two-dimensional or three-dimensional image file mode through shooting, scanning and other means, and open the cultural relics to the public for browsing or downloading through the Internet. Practical experience shows that after the images of the cultural relics are downloaded, the images are tampered, transformed and even impersonated based on various purposes, the cultural relic information related to the cultural relics images is provided by the party of the museum once, but is easily stripped and cannot correspond to the cultural relics in the use process of the public, for the party of the museum, the association relationship between the cultural relics information and the cultural relics pictures is easily disordered in the use process, various fake images which are difficult to distinguish exist on the Internet finally, the related cultural relics information is also real and fake, the cultural relics information is managed by cultural institutions such as a museum and the like is misled, and the aim of cultural propagation is further destroyed. Therefore, in the process of relic informatization and relic propagation, the security, the public transparency, the true reliability and the like of the relic information are ensured, and are important factors to be considered in the related informatization technology.
With the development of the blockchain technology, the blockchain has natural advantages in meeting the above demand factors of the relic informatization, so that the industry disputes utilize the blockchain technology to store the relic information, and the demand factors are met by the blockchain technology.
However, the use of blockchain to store and manage the cultural relic information is particularly characterized in that the cultural relic data related to the cultural relic picture data is stored, the problem of infrastructure construction is only solved, in the actual use process, the cultural relic data is needed to be added based on the cultural relic picture, the cultural relic information is formed, the cultural relic data faced by a manager is massive, therefore, the work of cultural relic informatization, the early informatization processing and the related safety management thereof are the problems faced in the cultural relic informatization process, and the problem of high-efficiency fusion of the cultural relic information and the blockchain technology is solved.
In view of this, the present application focuses on solving the problem of pre-processing of cultural relic data related to cultural relic information, and strives to optimize management work of pre-links in the cultural relic informatization process by proposing a new technical scheme.
Disclosure of Invention
The first object of the present invention is to provide a method for processing cultural relic information with access to a blockchain, so as to perform a pre-processing on the cultural relic information before the uplink.
A second object of the present invention is to provide a terminal device corresponding to the previous object.
In order to meet the purposes of the invention, the invention adopts the following technical scheme:
a method for processing cultural relic information for accessing a blockchain, provided by the invention, comprises the following steps:
matching the cultural relic picture data with a cultural relic type model in a basic type database, generating corresponding type identification codes for each cultural relic picture meeting the matching, and setting the same editing frame column for the same cultural relic picture;
acquiring corresponding types of cultural relic basic data from the block chain link points according to the type identification codes, and displaying the corresponding types of cultural relic basic data into the corresponding editing frame columns for editing to form corresponding cultural relic data;
submitting various types of cultural relic data in each editing frame column to a block chain link point in response to a user instruction so as to upload the various types of cultural relic data to a block chain as the latest version through the block chain link point;
and acquiring a correlation code which is returned by the block chain link point after the block chain link point executes the uplink operation and is associated with the historical version of the cultural relic data, and finishing the information processing of the cultural relic, so that the client application can acquire any version of the cultural relic data through the correlation code.
In a further embodiment, the method of the present invention further comprises the following pre-steps:
the client application of the terminal equipment completes the user validity verification to generate a corresponding verification identification code representing the user identity, and requests to check the validity of the verification identification code from the block chain link point;
and after the verification identification code is verified to be legal, the client side application acquires the management authority of the user, requests to verify the validity of each specific authority from the block chain link point, and acquires executable controls corresponding to the legal specific authorities, so that the user can execute interaction required by subsequent steps according to the executable controls.
In a preferred embodiment, the type identification code includes type information to which the cultural relics belong, an identification rule for indicating to execute identification, and corresponding feature data for playing a role in identification and matching, where the type identification code is applicable to a client application, according to the identification rule, searching the corresponding feature data from a newly added cultural relic picture, and classifying the newly added cultural relic picture matching the corresponding feature data into a type indicated by the type information.
In a further embodiment, the client application obtains a corresponding key of the association code along with the association code, and the request of the client application to obtain any of the historical versions of the historical relic data is responded to by a block link point if and only if the key is correct.
In one embodiment, after the relic data is submitted to the blockchain node, the blockchain node is driven to upload the submitted relic data to a public blockchain suitable for common user access or a private blockchain suitable for management user access according to the difference of the relic data.
In a preferred embodiment, the terminal device executing the method calls the access interface defined by the SpringMVC language to implement the execution of the method according to the protocol of the blockchain node.
In a further embodiment, in the step of matching the cultural relic picture data with the cultural relic type model in the base type database, the client application obtains feature data of any combination of the outline, the shape, the texture and the pattern of the cultural relic picture from the cultural relic picture data, and compares the feature data with the range of the corresponding item described by the cultural relic type model to achieve the matching.
In a further embodiment, the method of the invention further comprises the following subsequent steps:
the client application responds to the request for identifying the newly added cultural relic picture, identifies the newly added cultural relic picture according to each type of locally generated identification code, judges that the newly added cultural relic picture belongs to the same type of the type of identification code if the newly added cultural relic picture belongs to one type of identification code, and after requesting a blockchain node to acquire the final version of cultural relic data corresponding to the associated code from a blockchain, screens the cultural relic data corresponding to the type of identification code and displays the cultural relic data to a user interface of the client application.
In a further embodiment, the method of the invention further comprises the following subsequent steps:
the client application of the terminal device submits the association code to a remote server to trigger the same application of other terminal devices to update a local database for storing the association code.
A terminal device according to the second object of the invention comprises a central processor and a memory, characterized in that the central processor is adapted to invoke the steps of executing a computer program stored in the memory for executing the method for processing cultural relic information for accessing a blockchain according to the previous object of the claims.
Compared with the prior art, the invention has the following advantages:
firstly, matching the cultural relic picture to be subjected to pre-processing with a cultural relic type model at a data level to obtain a corresponding type identification code, and providing an editing frame column for each type at a user interface of a client application; then, acquiring pre-prepared cultural relic basic data corresponding to each type from the blockchain node, allowing a user to edit the corresponding cultural relic basic data for each type in the editing frame column, and finally forming cultural relic data to be uploaded, wherein the cultural relic data represents related cultural relic information; further, after the user finishes editing, the cultural relic data is submitted to the block chain link point to realize uplink, finally, the association code returned by the block chain link point is obtained, the subsequent client application can access the historical version of the cultural relic data of a certain type of cultural relic picture by the association code, and similarly, the information of various changes of the cultural relic data of a certain type can also be obtained. Through the processing of the process, the related cultural relic data can be intelligently matched on the basis of realizing intelligent classification of the cultural relic pictures, meanwhile, the user is allowed to customize and modify, and finally, the key-in of the cultural relic data into the blockchain is realized. The whole process is intelligent and efficient, the uplink evidence storage of the cultural relic information is realized, and the access is facilitated through the association code inquiry.
And secondly, the invention further enhances the verification of the user identity and the authority by the client application, improves the security level of user management, not only verifies the user identity legitimacy in the system, but also verifies the specific management authority of the user one by the block chain node, and opens corresponding executable controls to the user if and only if the block chain link point authenticates the relevant specific authority of the user. Through the safety management in two aspects, the safety of the cultural relic data processing process is comprehensively improved.
Furthermore, the type identification code generated after the intelligent classification of the batch cultural relic pictures is actually based on the comprehensive description of a plurality of characteristics formed after the abstraction of each cultural relic picture, and the type identification code is recorded with type information, identification rules and corresponding data characteristics, so that the type identification code can be used for the subsequent classification and identification of individual cultural relic pictures, can be used by a client for the subsequent use, is used for the simpler, more convenient and efficient type identification of newly added cultural relic pictures, and is more suitable for various application scenes by considering the condition of batch processing and the condition of individual new addition. Furthermore, the user can also query the block chain for the cultural relic data corresponding to the type according to the condition that the cultural relic picture is successfully matched with the type identification code by the corresponding association code, so that once the cultural relic picture is imported, the client application can provide corresponding cultural relic information for the cultural relic picture, and the function of intelligently identifying the cultural relic information of the cultural relic picture is realized.
In addition, in the process of submitting the cultural relic data to the blockchain node, the user identity of the client is identified by the blockchain link point, so that the related cultural relic data is accessed to different blockchains by the blockchain link point according to different user identities, thereby further realizing that the cultural relic data is accessed to different blockchains, being capable of being used for standardizing authority management of the cultural relic data for different application requirements, being beneficial to realizing that different blockchains are accessed by different users, for example, a private chain of the advanced user can be accessed, for example, a public chain of the advanced user can be accessed by a common user, and providing an effective technical means in the aspect of secret management of the cultural relic information due to the fact that the effect of multi-channel differentiated storage and access of the homologous cultural relic information is realized.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a schematic diagram of a cultural relic information management system implemented in a cultural relic information processing method for accessing a blockchain according to the present invention, showing a cultural relic information management subsystem implemented as a client application and a blockchain subsystem for accessing the same;
FIG. 2 is a flow chart of an exemplary embodiment of a method for processing cultural relics with access to a blockchain according to the present invention;
fig. 3 is a flowchart of another embodiment of a method for processing cultural relic information for accessing a blockchain.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As used herein, "client," "terminal device," and "terminal device" are understood by those skilled in the art to include both devices that include only wireless signal receivers without transmitting capabilities and devices that include receiving and transmitting hardware capable of two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device such as a personal computer, tablet, or the like, having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display; a PCS (Personal Communications Service, personal communication system) that may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant ) that can include a radio frequency receiver, pager, internet/intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System ) receiver; a conventional laptop and/or palmtop computer or other appliance that has and/or includes a radio frequency receiver. As used herein, "client," "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or adapted and/or configured to operate locally and/or in a distributed fashion, at any other location(s) on earth and/or in space. As used herein, a "client," "terminal device," or "terminal device" may also be a communication terminal, an internet terminal, or a music/video playing terminal, for example, a PDA, a MID (Mobile Internet Device ), and/or a mobile phone with music/video playing function, or may also be a device such as a smart tv, a set top box, or the like.
The invention refers to hardware such as a server, a client, a service node, etc., which essentially is a device with the capability of a personal computer, etc., and is a hardware device with necessary components revealed by von neumann's principle such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, an output device, etc., a computer program is stored in the memory, the central processing unit calls the program stored in the memory to run, and executes instructions in the program to interact with the input and output devices, thereby completing specific functions.
It should be noted that the concept of the present invention, called "server", is equally applicable to the case of server clusters. The servers should be logically partitioned, physically separate from each other but interface-callable, or integrated into a physical computer or group of computers, according to network deployment principles understood by those skilled in the art. Those skilled in the art will appreciate this variation and should not be construed as limiting the implementation of the network deployment approach of the present invention.
The invention refers to a blockchain, which is various public chains or private chains used for realizing data storage certification in the prior art, and is configured to provide services for accessing the blockchain for client applications through a blockchain node realized based on the server, and relevant data (information) can be uploaded to the blockchain through the blockchain node according to a corresponding protocol of the blockchain or relevant data (information) on the chain can be acquired through accessing the blockchain. The block chain link point realizes the access of the block chain on the one hand, and on the other hand, can also execute the interactive management on the aspects of the user identity and the user management authority according to the pre-protocol of the client application, and the nature and the realization principle of the protocol interaction can be understood by the skilled in the art.
Referring to fig. 1, in an example of developing a museum cultural relic information management system based on a blockchain according to the present invention, a client application mainly implements a cultural relic information management subsystem, adapts to the requirement of the blockchain, and interacts with the cultural relic information management subsystem through an interface defined by the SpringMVC language. The terminal device executing the method of the invention follows the protocol of the blockchain node and calls the access interface defined by the SpringMVC language to realize the execution of the method of the invention. Although not shown in the figures, it will be appreciated by those skilled in the art that the blockchain subsystem implements such an interactive function through one of its blockchain nodes, and thus, client applications may implement access to blockchains through the blockchain node. The blockchain node can access a public blockchain and a private blockchain, and the blockchain can adopt a Redis database to organize and manage data according to own logic without affecting the implementation of the invention. In the cultural relic management subsystem of the client application, each functional module can be realized, including a cultural relic information adding module, a cultural relic information inquiring module, a file information modifying module and the like, and the cultural relic management subsystem can respectively provide file data corresponding to batch adding cultural relic pictures, inquiring cultural relic information related to a certain related code, modifying related cultural relic data and the like for a user. The functions of the management subsystem of the present article implemented by the client application will be implemented by the steps of the method of the present invention. The cultural relic information subsystem and the blockchain subsystem are low in coupling and high in cohesion among all modules, are clear in labor division and realize data interaction through a network.
Referring to fig. 2, in an exemplary embodiment of a method for processing cultural relic information for accessing a blockchain according to the present invention, the method includes the following steps:
step S13, matching the cultural relic picture data with a cultural relic type model in a basic type database, generating corresponding type identification codes for each cultural relic picture meeting the matching, and setting the same editing frame column for the same cultural relic picture:
in this step, the client application may receive the cultural relic picture newly added to its subsystem by the user, and then may further verify the validity of the picture as an optional design logic, so as to ensure that the picture has a legal source, a legal manager, and a legal operation authority. And after passing the validity verification, executing the subsequent uplink flow.
The cultural relic data corresponding to the related cultural relic picture data is accessed into the block chain protection subsystem, and the matching of the cultural relic types is needed. In this step, the client application first requests to obtain the cultural relic type model, and executes the classification operation at the local end.
These cultural relic type models are usually provided in advance by the present invention and are usually described in terms of data, and in an example which is easy to implement, the client application compares certain cultural relic picture data with the data of these cultural relic type models, and confirms whether the former belongs to the type referred to by the latter by comparing whether the former falls into the corresponding value range of the latter. Whether it is a single cultural relic picture or a massive cultural relic picture, the matching identification can be performed in such a way. Of course, algorithms for matching images to models are common in the prior art, and those skilled in the art should know the algorithms, so they are not described in detail.
The type matching process is essentially a process for intelligently classifying cultural relic pictures. More specifically, in the classification process, the client side application obtains feature data of any combination of the outline, the shape, the texture and the pattern of the cultural relic picture from the cultural relic picture data, compares the feature data with the range of corresponding items described by the cultural relic type model to realize the matching, identifies the type of the cultural relic, generates a type identification code, and can clearly know the type, the identification rule and the corresponding feature data with the identification matching function corresponding to the cultural relic through the identification code.
As described above, the type identifier includes type information to which the cultural relics belong, an identification rule for indicating to perform identification, and corresponding feature data for performing identification matching, so in one embodiment, the type identifier is suitable for a client application to search for the corresponding feature data from a newly added cultural relic picture according to the identification rule, and classify the newly added cultural relic picture matching the corresponding feature data into a type indicated by the type information. The cultural relic information adding module can utilize the function of the type identification code, and when the type of the individual cultural relic picture is identified later, the classification of the newly added cultural relic picture can be realized by adopting the information contained in the type identification code.
In order to facilitate user editing, at a user interface of a client application, different editing frame columns are provided for different categories at the user interface according to results obtained after intelligent classification of the batches of the cultural relics, and the same editing frame column is used for corresponding to the category to which the same type of identification code belongs and is used for providing a position for editing corresponding cultural relics data for the category. Thus, the user can edit and input the cultural relic information through the frame bar.
Step S14, acquiring the basic data of the cultural relics of the corresponding types from the block chain link points according to the type identification codes, and displaying the basic data of the cultural relics of the corresponding types in the corresponding editing frame columns for editing to form corresponding cultural relic data:
the user performs the editing of the cultural relic data on the classified category in the previous step by combining the automatic definition function of the client application.
The client side application requests the block chain link point to access the block chain protection subsystem through the SpringMVC interface, after the access right is verified and the permission feedback is received, the block chain link point can acquire corresponding cultural relic basic data from the block chain subsystem according to the type identification codes, the cultural relic basic data are correspondingly pre-established for each type identification code, and the cultural relic basic data can be stored in a block chain or a custom database of the block chain node and used as basic description of corresponding types to be provided for the client side application for displaying so that a user can edit further on the basis.
After receiving the basic data of the cultural relics, the client application can identify the corresponding editing frame of the basic data of each cultural relic according to the corresponding relation between each editing frame and the category identification code, and automatically input and display the basic data of the cultural relics into the corresponding editing frame for editing by a user.
The client application then detects the request for continuing to record, and sends the request to the block chain link point, the block chain link point reacquires the current validity of the modification authority under the identity authority of the user, and feeds back the request validity result to the operation end, if the validity is met, the modification instruction for the basic data of the cultural relics is accepted, and the record information is continuously accepted. The data formed by editing the user on the basis of the underlying data of the cultural relics, which will be submitted to the blockchain node in a subsequent step to upload to the blockchain, is referred to as the cultural relic data.
Step S15, submitting various types of cultural relic data in each editing frame column to the block chain link point in response to a user instruction so as to upload the various types of cultural relic data to the block chain as the latest version through the block chain link point:
as described above, the client application accepts editing of the cultural relic data by the user under the condition that the strict authority verification is passed, and at the same time, the client application continuously detects whether the user triggers a user instruction for uploading the cultural relic data, and when the client application detects that the user triggers such a user instruction, the client application transmits a corresponding uploading request to the block link.
After the block chain link point detects that a user starts an uploading request of the cultural relic data, the validity of the cultural relic model data can be further confirmed according to the requirement of authority management, the cultural relic data uploaded by the user is received after the validity is met, the block chain link point uplinks the cultural relic data for protection according to the realization of a block chain, and the cultural relic data becomes the cultural relic data of the latest version of a cultural relic of a certain category.
In one embodiment, the historical relic base data called in step S14 may be the latest version or any version of the historical relic data existing on the blockchain, that is, the historical relic data on the blockchain of the same historical relic category may have a plurality of edited versions, any one of the versions may be called to modify the historical relic data, and then the modified historical relic data is re-uploaded to become the latest version of the historical relic data. Therefore, it can be understood that, for the same category, the modification and editing conditions of the related cultural relic information can be presented theoretically through the cultural relic data of a plurality of versions on the blockchain, and the cultural relic information is protected in the mode, so that the system is quite comprehensive.
Step S16, obtaining a correlation code which is returned after the block chain link point executes the uplink operation and is associated with the historical version of the cultural relic data, and finishing the cultural relic information processing, so that the client application can obtain any version of the cultural relic data through the correlation code:
in order to facilitate access to historical version cultural relic data by a client application so as to obtain more comprehensive cultural relic information, after all the cultural relic information is uploaded, the blockchain node responds to the confirmation instruction by receiving the confirmation instruction, and performs internal data association operation of the cultural relic information, namely establishes association relation between the historical version cultural relic data, generates a unified association code and a secret key, and feeds back the association code and the secret key to the client application. The association between the historical relic data of each version of the same type implemented by the blockchain can be realized by a person skilled in the art by using a conventional technical means, for example, the information of each block where the historical version of the historical relic data is respectively located can be combined into the association code according to a certain rule, and then reverse analysis is performed. The key is not necessary in one embodiment, and depending on the security requirement of cultural relics management, various encryption manners may be adopted, for example, a symmetric key may be adopted, the association code is encrypted, the association code provided to the client application is encrypted ciphertext, and the association code must be restored by the key, so that the relationship between the association code and the symmetric key essentially plays a role of a token.
For the blockchain node, when the key exists and the client application needs to execute the query through the associated code, the content of certain cultural relic data and the associated operation thereof can be queried for the associated code provided by the client application, but only the response of the blockchain node can be obtained through the key to query, the blockchain node obtains the plaintext associated code by decrypting the key and the associated code submitted by the user at the client application, and the query can be executed and the corresponding result can be returned for the associated code.
Obviously, if the key participation is not needed, the client application and the blockchain node do not need to consider the decryption link when interacting with each other by using the associated code, and the blockchain node directly adopts the associated code of the plaintext to execute the query and feed back the corresponding result.
And at the client application side, after the user obtains the key, the key can be installed in a specific U disk, so that when the inquiry needs to be executed, the client application can read the key from the U disk in advance and transmit the key to the blockchain node along with the association code corresponding to the user operation so as to realize the inquiry, and the client application can acquire any version of the cultural relic data through the association code.
On the basis of realizing the above-mentioned exemplary embodiment, in a further embodiment, the local utilization of the association code and the type identification code in the client application can be realized, so that the user can query and identify the cultural relic information for the newly added cultural relic picture at the terminal device where the client application is located. Specifically, a user imports a cultural relic picture to be identified in a client application, and requests to identify the cultural relic picture; the client application responds to a request for identifying the newly added cultural relic picture, identifies the newly added cultural relic picture according to the identification codes of all types which are generated locally before and the identification rule in a certain type identification code, compares whether the corresponding characteristic data in the type identification code exists in the newly added cultural relic picture, and judges the file type represented by the type information of the type identification code when the corresponding characteristic data exists in the newly added cultural relic picture. Further, if it is determined that the new cultural relic picture belongs to one of the type identification codes, the client application determines that the new cultural relic picture belongs to the same type of the type identification codes, and then requests the blockchain node to acquire the final version of cultural relic data corresponding to the associated code related to the type identification codes from the blockchain, and the client application screens the cultural relic data corresponding to the type identification codes from the cultural relic data correspondingly returned by the blockchain node and displays the cultural relic data to a user interface of the client application, so that a user can acquire the cultural relic data corresponding to the new cultural relic picture, and the purpose of inquiring the cultural relic information according to the cultural relic picture is achieved.
In addition, the cultural relic management system can regularly carry out shared program development logic in the system of the cultural relic, and related functions are realized in the client application, so that in one embodiment, the client application of the terminal equipment for obtaining the associated codes submits the associated codes to a remote server planned by the cultural relic management system, the remote server uniformly stores the associated codes in a related database, all or part of the associated codes can be pushed to other terminal equipment provided with the same client terminal application in various known manners, the same application of the other terminal equipment updates a local database for storing the associated codes, and the sharing of the associated codes is realized, so that the problem of timely and efficient sharing of cultural relic data information by different client applications is solved.
In another embodiment of the present invention, in order to enhance the rights management of the user, the method further includes the following steps preceded by step S13 on the basis of the exemplary embodiment:
step S11, the client application of the terminal equipment completes the user validity verification to generate a corresponding verification identification code representing the user identity, and requests to check the validity of the verification identification code from the block chain link point:
According to the requirement of management logic, the cultural relic management system plans two types of user identities, one is a public account number, and belongs to common users; one is a worker account, which belongs to management users, and the client application realized by the cultural relic management system allows the two types of users to log in so as to adapt to different users to open different service functions.
The client application performs identity verification on the login user by utilizing a user account system built by the cultural relic management system, and generates a corresponding unique verification identification code for the user after the identity verification is completed, and the block chain node can be accessed through the SpringMVC interface through the verification identification code.
According to the programming logic, according to the verification identification code, the blockchain node can clearly know the login purpose, login identity and login ID of the login account, so that the blockchain node can verify the user identity based on the verification identification code, and when the verification identification code is a legal identification code, the client application can access the blockchain subsystem through the blockchain node, and establish subsequent butt joint with the blockchain node.
Specifically, the blockchain node performs a first step of verification on login data of the client user, feeds back a verification result, and verifies the validity of the verification identification code. In order to realize such verification, when program development is performed, generally, coding rules of verification identification codes are predefined, so that login purposes, login identities and the like can be obtained according to the coding rules, meanwhile, authority ID device numbers are prestored, when new devices are ready to login, access of the identity USB flash disk is required, ID plug-ins of management identities in the USB flash disk are read, and access of the new device IDs is authorized through the plug-ins.
Although the present embodiment discloses some examples of verifying the validity of the user login process, those skilled in the art will understand that, in order to implement strict information control, various adaptations may be made on the basis of the present embodiment, which is not repeated herein.
Step S12, the client side obtains the management authority of the user after the verification identifier code verifies legal, and requests to verify the validity of each specific authority from the block link point to obtain executable controls corresponding to the legal specific authorities, so that the user can execute interactions required by subsequent steps according to the executable controls:
in order to further enhance information security, the file management system generally configures identity roles for users, and different roles are given different management authorities, so that after the client application finishes user login, account information of the user who performs login operation can be obtained, related management authorities set by the client application are extracted, and one-to-one node verification is further performed for each specific management authority.
The client application may generate a validation request for each specific management right, including the obtained rights information of the user, and submit the validation request to the blockchain node.
After receiving the request, the blockchain node performs one-to-one verification according to the corresponding management authority data of the specific identity user in the database thereof so as to clear the authority which is subjected to the management time limit or the new authority limited or added by the higher-level management authority, and determine the final management authority of the identity. Finally, under the configuration interaction of the client application and the block chain link point, responding to the management request of the user, calling a management column meeting the specific management authority by the client application corresponding to each legal specific management authority of the user, starting each executable control corresponding to the specific management authority of the management column in the user authority range, and executing the operation of the subsequent steps by the user through each executable control. The request data generated in the process can be recorded into the blockchain node by the blockchain node and accessed into the database of the blockchain node so as to realize data synchronization.
It will be appreciated that after steps S11 and S12 are completed, the subsequent steps S13 to S16 can be operated in a more secure environment.
In an improved embodiment, any cultural relic information of the same cultural relic is associated with the associated code (for example, the associated code is organized by a block chain Merkle tree structure mode), so that, under the condition that key verification is successful and identity authority is allowed, a data storage address is obtained through the associated code after double verification (the associated code is expressed as a hash value in the Merkle tree structure and is used for pointing to a transmission address of the cultural relic data distributed and stored according to a distributed storage system, the corresponding cultural relic data can be obtained through accessing the storage address through the hash value), and further, any cultural relic data of the cultural relic can be extracted or modified by a client application. The entire process may upload intermediately generated operational data to the database of blockchain nodes. The database of blockchain nodes stores daily operational change data. The database recommends that the redis is a key-value storage system, is similar to Memcached, supports relatively more value types including string (character string), list (linked list), set (set), zset (ordered set) and hash (hash type), largely compensates for the deficiency of key/value storage like Memcached, and can play a good role in supplementing the relational database in some occasions.
In a further improved embodiment, after submitting the cultural relic data to the blockchain node in step S15, the blockchain node may access the corresponding cultural relic data to different blockchains according to the cultural relic data, so that the client application may drive the blockchain node to upload the submitted cultural relic data to a public blockchain suitable for access of a common user or a private blockchain suitable for access of a management user according to the cultural relic data, thereby realizing partition management.
According to the embodiment, the cultural relic data in the node database is synchronized to other clients and operation ends applying the cultural relic management system, and the matching of a preset data model is carried out according to the cultural relic data submitted by the clients, corresponding to the matching, the cultural relic data of a common user is matched to be a common user data model, and the cultural relic data of a management user is matched to be a management user data model, so that the block chain nodes can automatically define the cultural relic data to be private information and public information, and access to private block chains and public block chains.
Through public blockchain, can ensure that private information is not revealed, according to the result of authentication, insert blockchain protection subsystem through SpringMVC interface, through public blockchain from the public historical relic information that blockchain protection subsystem draws, transmit to the local side and demonstrate.
The private blockchain can ensure that public information and private information are not confused, the private information can be displayed only by the account number with relevant management authority and is not displayed by the public, so that the private blockchain is built to ensure the private information, and if the private information needs to be accessed, the private information needs to be verified through mutual authorization among private blockchain link points, so that the security of the private chain is ensured.
A user can check whether the local cultural relic information data is consistent with the blockchain data protection subsystem by checking the current information, the historical modification version information record and the like of the cultural relic information in the blockchain data protection subsystem through the private blockchain.
In a further embodiment, the present invention provides a terminal device, which includes a central processor and a memory, where the central processor is configured to invoke a computer program stored in the memory to execute the steps of the method for processing cultural relics information for accessing a blockchain according to the previous embodiments.
In summary, the method and the system realize the processing and the safety control before the cultural relic information of the cultural relic picture is accessed into the blockchain, and are particularly suitable for application scenes such as a museum cultural relic management system.
Those skilled in the art will appreciate that the present disclosure is directed to apparatus for performing one or more of the operations, methods described herein. These devices may be specially designed and constructed for the required purposes, or may comprise known devices in general purpose computers. These devices have computer programs stored within their memories that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., a computer) readable medium or any type of medium suitable for storing electronic instructions and respectively coupled to a bus, including, but not limited to, any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROMs (Read-Only memories), RAMs (Random Access Memory, random access memories), EPROMs (Erasable Programmable Read-Only memories), EEPROMs (Electrically Erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. Those skilled in the art will appreciate that the computer program instructions can be implemented in a processor of a general purpose computer, special purpose computer, or other programmable data processing method, such that the blocks of the block diagrams and/or flowchart illustration are implemented by the processor of the computer or other programmable data processing method.
Those of skill in the art will appreciate that the various operations, methods, steps in the flow, acts, schemes, and alternatives discussed in the present invention may be alternated, altered, combined, or eliminated. Further, other steps, means, or steps in a process having various operations, methods, or procedures discussed herein may be alternated, altered, rearranged, disassembled, combined, or eliminated. Further, steps, measures, schemes in the prior art with various operations, methods, flows disclosed in the present invention may also be alternated, altered, rearranged, decomposed, combined, or deleted.
The foregoing is only a partial embodiment of the present invention, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (8)

1. The cultural relic information processing method for accessing the blockchain is characterized by comprising the following steps of:
the client application of the terminal equipment completes the user validity verification to generate a corresponding verification identification code representing the user identity, and requests to check the validity of the verification identification code from the block chain link point;
after the verification identification code is verified to be legal, the client side application acquires the management authority of the user, requests to verify the validity of each specific authority from the block chain link point, and acquires executable controls corresponding to the legal specific authorities, so that the user can execute interaction required by subsequent steps according to the executable controls;
matching the cultural relic picture data with a cultural relic type model in a basic type database, generating corresponding type identification codes for each cultural relic picture meeting the matching, and setting the same editing frame column for the same cultural relic picture;
Acquiring corresponding types of cultural relic basic data from the block chain link points according to the type identification codes, and displaying the corresponding types of cultural relic basic data into the corresponding editing frame columns for editing to form corresponding cultural relic data;
submitting various types of cultural relic data in each editing frame column to a block chain link point in response to a user instruction so as to upload the various types of cultural relic data to a block chain as the latest version through the block chain link point;
and acquiring an association code which is returned by the block chain link point after the block chain link point executes the uplink operation and is associated with the historical relic data, and completing the information processing of the relic, so that the client application can acquire any version of the relic data through the association code, wherein the client application acquires a corresponding key of the association code along with the association code, and if and only if the key is correct, the request of the client application for acquiring any historical version of the relic data is responded by the block chain link point.
2. The method according to claim 1, characterized in that: the type identification code comprises type information of the cultural relics, an identification rule for indicating execution of identification and corresponding feature data for playing an identification matching role, and is suitable for a client application to search the corresponding feature data from newly-added cultural relic pictures according to the identification rule and classify the newly-added cultural relic pictures matched with the corresponding feature data into types indicated by the type information.
3. The method according to claim 1, characterized in that:
and after submitting the cultural relic data to the blockchain node, driving the blockchain node to upload the submitted cultural relic data to a public blockchain suitable for common user access or a private blockchain suitable for management user access according to the difference of the cultural relic data.
4. The method according to claim 1, characterized in that:
the terminal equipment executing the method follows the protocol of the blockchain node and calls the access interface defined by the SpringMVC language to realize the execution of the method.
5. The method according to claim 1, characterized in that:
in the step of matching the cultural relic picture data with the cultural relic type model in the basic type database, the client application obtains feature data of any combination of the outline, the shape, the texture and the pattern of the cultural relic picture from the cultural relic picture data, and compares the feature data with the range of corresponding items described by the cultural relic type model to realize the matching.
6. The method according to claim 1, further comprising the following subsequent steps:
the client application responds to the request for identifying the newly added cultural relic picture, identifies the newly added cultural relic picture according to each type of locally generated identification code, judges that the newly added cultural relic picture belongs to the same type of the type of identification code if the newly added cultural relic picture belongs to one type of identification code, and after requesting a blockchain node to acquire the final version of cultural relic data corresponding to the associated code from a blockchain, screens the cultural relic data corresponding to the type of identification code and displays the cultural relic data to a user interface of the client application.
7. The method according to claim 1, characterized in that: the method also comprises the following subsequent steps:
the client application of the terminal device submits the association code to a remote server to trigger the same application of other terminal devices to update a local database for storing the association code.
8. A terminal device comprising a central processor and a memory, characterized in that the central processor is adapted to invoke a computer program stored in the memory for performing the steps of the method for processing cultural relics information for accessing a blockchain according to any of claims 1 to 7.
CN202010377403.3A 2020-05-07 2020-05-07 Terminal equipment and cultural relic information processing method for accessing blockchain Active CN111475582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010377403.3A CN111475582B (en) 2020-05-07 2020-05-07 Terminal equipment and cultural relic information processing method for accessing blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010377403.3A CN111475582B (en) 2020-05-07 2020-05-07 Terminal equipment and cultural relic information processing method for accessing blockchain

Publications (2)

Publication Number Publication Date
CN111475582A CN111475582A (en) 2020-07-31
CN111475582B true CN111475582B (en) 2023-05-09

Family

ID=71757495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010377403.3A Active CN111475582B (en) 2020-05-07 2020-05-07 Terminal equipment and cultural relic information processing method for accessing blockchain

Country Status (1)

Country Link
CN (1) CN111475582B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111679089B (en) * 2020-08-13 2020-11-06 武汉生之源生物科技股份有限公司 Data processing method of detection equipment
CN112101856A (en) * 2020-08-17 2020-12-18 北京康拓红外技术股份有限公司 Railway freight transportation management platform and method based on block chain technology
CN112235301B (en) * 2020-10-14 2023-06-06 北京金山云网络技术有限公司 Access right verification method and device and electronic equipment
CN113949724A (en) * 2021-10-19 2022-01-18 中国电子科技集团公司第二十研究所 Cultural relic transportation monitoring method and system based on block chain and Internet of things

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395360A (en) * 2017-07-23 2017-11-24 刘志强 The method that a kind of historical relic and art work numeral based on block chain technology deposit card
CN110493220A (en) * 2019-08-16 2019-11-22 腾讯科技(深圳)有限公司 A kind of data sharing method based on block chain, equipment and storage medium
CN110825815A (en) * 2019-11-28 2020-02-21 山东爱城市网信息技术有限公司 Cloud note system information processing method, equipment and medium based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019226580A1 (en) * 2018-05-21 2019-11-28 Integra, Inc. Blockchain-anchored smart documents

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395360A (en) * 2017-07-23 2017-11-24 刘志强 The method that a kind of historical relic and art work numeral based on block chain technology deposit card
CN110493220A (en) * 2019-08-16 2019-11-22 腾讯科技(深圳)有限公司 A kind of data sharing method based on block chain, equipment and storage medium
CN110825815A (en) * 2019-11-28 2020-02-21 山东爱城市网信息技术有限公司 Cloud note system information processing method, equipment and medium based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
阙薇薇 ; .基于B/S结构的博物馆文物修复档案管理***设计.文物保护与考古科学.2012,(03),全文. *

Also Published As

Publication number Publication date
CN111475582A (en) 2020-07-31

Similar Documents

Publication Publication Date Title
CN111475582B (en) Terminal equipment and cultural relic information processing method for accessing blockchain
CN113193965B (en) Digital content materialization display system based on NFT
US10225256B2 (en) Authorization of device access to network services
CN109274652B (en) Identity information verification system, method and device and computer storage medium
CN111478917B (en) Background system for providing network service for access control device and user terminal
CN102597981B (en) Modular device authentication framework
CN101410800B (en) System and method for a software distribution service
CN101669128B (en) Cascading authentication system
CN111295869A (en) System and method for authenticating decentralized identity
CN109639406A (en) Efficient trust solution based on block chain and IPFS
WO2019010067A1 (en) Blockchain proof of custody, proof against tampering, proof of chain of custody
CN106027552A (en) Method and system for accessing cloud storage data by user
JP2003233589A (en) Method for safely sharing personal devices among different users
US12010241B2 (en) Distributed ledger system
CN101297281A (en) Grid network for distribution of files
CN111555891A (en) Material data self-management and self-management system based on block chain and use method thereof
US20210234705A1 (en) Improved system and method for internet access age-verification
CN102970318A (en) Information processing device, information processing method and program
CN113360458A (en) Distributed file storage sharing system based on alliance chain
CN113593094A (en) Apartment intelligent lock management method and system
US12008096B2 (en) Secure authentication
KR102294569B1 (en) Block Chain Management System To Build Block Chain Network
CN112347934A (en) Video authentication and transaction system and method
CN111914270A (en) Programmable authentication service method and system based on block chain technology
CN111680101A (en) Intellectual property data protection, transaction and maintenance system and method based on block chain

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