CN111475582A - Terminal device and cultural relic information processing method for accessing block chain - Google Patents

Terminal device and cultural relic information processing method for accessing block chain Download PDF

Info

Publication number
CN111475582A
CN111475582A CN202010377403.3A CN202010377403A CN111475582A CN 111475582 A CN111475582 A CN 111475582A CN 202010377403 A CN202010377403 A CN 202010377403A CN 111475582 A CN111475582 A CN 111475582A
Authority
CN
China
Prior art keywords
cultural relic
data
block chain
relic
type
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.)
Granted
Application number
CN202010377403.3A
Other languages
Chinese (zh)
Other versions
CN111475582B (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

Abstract

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

Description

Terminal device and cultural relic information processing method for accessing block chain
Technical Field
The present invention relates to a block chain technology, and in particular, to a method for processing cultural relic information for accessing a block chain and a corresponding terminal device.
Background
The informatization of museum cultural relics is realized, the cultural relics in the museum are 'moved' from off-line to on-line through informatization processing, and the museum cultural relics are opened for 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 information processing means was to simply store the cultural relics as two-dimensional or three-dimensional image files directly on a server by means of shooting, scanning, and the like, and to open them to the public for browsing or downloading via the internet. Practical experience shows that after the images of the cultural relics are downloaded, the images of the cultural relics are often tampered, transformed or even pretended based on various purposes, although cultural relic information related to the images of the cultural relics is provided once by the museum, the cultural relic information is easy to be stripped and cannot be corresponded in the public use process, for the museum, the related relationship between the cultural relic information and the cultural relic images is easy to be confused in the use process, and finally, various fake images which are difficult to distinguish between true and false exist on the Internet, the related cultural relic information is also difficult to distinguish between true and false, the cultural relic information is misled to the public while the cultural relic information is managed by cultural units such as museums and the like, and the basic idea of cultural dissemination is damaged. Therefore, in the process of cultural relic informatization and cultural relic propagation, ensuring the safety, the openness, the authenticity and the like of the cultural relic information is a factor which needs to be considered in the relevant informatization technology.
With the development of the block chain technology, the block chain has natural advantages in meeting the above requirement factors for cultural relic informatization, and therefore, the block chain technology is utilized to realize storage of the cultural relic information in the industry, and the requirement factors are met by the block chain technology.
However, the storage and management of the cultural relic information by using the block chain is specifically represented by storing the cultural relic data related to the cultural relic picture data, and only solves the problem of infrastructure construction, in the actual use process, the cultural relic picture is required to be used as the basis, the cultural relic data is added to the cultural relic picture to form the cultural relic information, and the cultural relic data facing the manager is often massive, so the cultural relic informatization work, the early informatization processing and the related safety management thereof are the problems facing the cultural relic informatization process, and the solution of the difficulty is favorable for the efficient fusion of the cultural relic information and the block chain technology.
In view of the above, the present application focuses on solving the problem of preprocessing the cultural relic data related to the cultural relic information, and strives to optimize the management work of the early link in the cultural relic informatization process by proposing a new technical solution.
Disclosure of Invention
A first object of the present invention is to provide a method for processing cultural relic information for accessing a block chain, so as to perform pre-processing before uplink of the cultural relic information.
A second object of the present invention is to provide a terminal device corresponding to the previous object.
In order to meet various purposes of the invention, the invention adopts the following technical scheme:
a method for processing cultural relic information for an access block chain, which is proposed for a first purpose of the present invention, comprises the following steps:
matching the cultural relic picture data with the cultural relic type model in the basic type database, generating corresponding type identification codes for various cultural relic pictures meeting the matching requirement, and setting a same editing frame column for the same type of cultural relic pictures;
acquiring corresponding types of cultural relic basic data from the block link points according to the type identification codes, and displaying the cultural relic basic data corresponding to each type into the corresponding editing frame column for editing to form corresponding cultural relic data;
submitting various types of cultural relic data in various editing frame columns to the block link points 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 link points;
and acquiring the association code which is returned after the block chain link point executes the chain linking operation and is associated with the historical version of the historical relic data, and finishing the relic information processing so that the client application can acquire the relic data of any version through the association 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 user validity verification to generate a corresponding verification identification code representing the user identity, and requests the block link node to verify the validity of the verification identification code;
and the client side is used for acquiring the management authority of the user after the verification identification code is verified to be legal, and requesting to verify the legality of each specific authority from the block link point so as to acquire an executable control corresponding to the legal specific authority, so that the user can perform interaction required by the subsequent steps according to the executable controls.
In a preferred embodiment, the type identifier includes type information to which the cultural relic belongs, an identification rule for indicating to perform identification, and corresponding feature data for performing identification and matching, and the type identifier is suitable for a client application to search 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 the type indicated by the type information.
In a further embodiment, the client application obtains the corresponding key of the association code along with the association code, and if and only if the key is correct, the request for obtaining the historical data of any of the past versions by the client application is responded by the block chain node.
In one embodiment, after the cultural relic data is submitted to the block link points, the block link points are driven to upload the submitted cultural relic data to a public block chain suitable for a common user to access or a private block chain suitable for managing the user to access according to different cultural relic data.
In a preferred embodiment, the terminal device executing the method calls an access interface defined by the SpringMVC language to implement the execution of the method, following 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 basic type database, the client application acquires 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 realize the matching.
In a further embodiment, the method of the present invention further comprises the following subsequent steps:
and the client application responds to a request for identifying the newly added cultural relic picture, identifies the newly added cultural relic picture according to each type identification code generated locally, judges that the newly added cultural relic picture belongs to the same type of the type identification code if determining that the newly added cultural relic picture belongs to one type identification code, and screens out the cultural relic data corresponding to the type identification code and displays the cultural relic data to a user interface of the client application after requesting the block chain node to acquire the cultural relic data of the last version corresponding to the association code from the block chain.
In a further embodiment, the method of the present 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.
The terminal device according to the second aspect of the present invention comprises a central processing unit and a memory, wherein the central processing unit is configured to invoke and run a computer program stored in the memory to perform the steps of the method for processing cultural relic information for accessing a block chain according to the preceding aspect of the claims.
Compared with the prior art, the invention has the following advantages:
firstly, aiming at a cultural relic picture which needs to be subjected to preprocessing, the cultural relic picture is matched with a cultural relic type model on a data level, so that a corresponding type identification code is obtained, and an editing frame is provided for each type on a user interface of a client application; then, acquiring pre-prepared cultural relic basic data corresponding to each type from the block chain node, allowing a user to edit the corresponding cultural relic basic data for each type in the editing frame column, and finally forming the cultural relic data to be uploaded, wherein the cultural relic data represent related cultural relic information; further, after the user finishes editing, submitting the cultural relic data to the block chain node to realize uplink, and finally obtaining the association code returned by the block chain node, wherein the subsequent client application can realize access to the past version of the cultural relic data of a certain type of cultural relic picture by the association code, and similarly, can also obtain the information of each change of the cultural relic data of a certain type. Through the processing of the flow, on the basis of realizing intelligent classification of the cultural relic pictures, related cultural relic data can be intelligently matched, and meanwhile, the user is allowed to modify the cultural relic data in a user-defined mode, and finally, the cultural relic data is accessed into the block chain in a one-key mode. The whole process is intelligent and efficient, the cochain certificate storage of the cultural relic information is realized, and the inquiry and the access through the association code are facilitated.
Secondly, the invention further enhances the security level of user management by strengthening the verification of the client application on the user identity and the authority, not only verifies the user identity in the system, but also verifies the specific management authority of the user one by one through the block chain nodes, and opens corresponding executable controls to the user only when the block chain nodes authenticate the related specific authority of the user. Through the safety management of two aspects, the safety of historical relic data processing process is comprehensively promoted.
Furthermore, the type identification code generated after intelligently classifying the batch of cultural relic pictures is actually based on comprehensive description of a plurality of features formed after abstracting each cultural relic picture, and the type information, the identification rule and the corresponding data features are recorded, so that the type identification code can be used for subsequently classifying and identifying individual cultural relic pictures, and can be applied to subsequent use by a client to perform simpler, more convenient and more efficient type identification on newly added cultural relic pictures. Furthermore, the user can query the block chain for the cultural relic data corresponding to the type of the cultural relic according to the condition that the cultural relic picture is successfully matched with the type identification code and 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, when the client is applied to the process of submitting the cultural relic data to the block link points, the user identities of the client are identified by the block link points, so that the relevant cultural relic data can be accessed to different block chains by the block link points according to different user identities, thereby further realizing the purpose of accessing the cultural relic data to different block chains, normalizing authority management of the cultural relic data on different application requirements, and facilitating the realization of different block chains for different users to access, for example, a senior user can access one private chain, for example, a common user can access one public chain.
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 present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic diagram of a cultural relic information management system implemented by the cultural relic information processing method for accessing a block chain according to the invention, wherein the cultural relic information management subsystem implemented as a client application and a block chain subsystem for accessing the same are shown;
fig. 2 is a flowchart illustrating an exemplary embodiment of a method for processing cultural relic information for accessing a block chain according to the present invention;
fig. 3 is a flowchart illustrating a cultural relic information processing method for accessing a block chain according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not 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 the context clearly indicates otherwise. 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. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, 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. 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 will be appreciated by those skilled in the art, "client," "terminal," and "terminal device" as used herein include both devices that are wireless signal receivers, which are devices having only wireless signal receivers without transmit capability, and devices that are receive and transmit hardware, which have receive and transmit hardware capable of two-way communication over a two-way communication link. Such a device may include: cellular or other communication devices such as personal computers, tablets, etc. having single or multi-line displays or cellular or other communication devices without multi-line displays; PCS (personal communications Service), which may combine voice, data processing, facsimile and/or data communications capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global positioning system) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "client," "terminal device" can be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. The "client", "terminal Device" used herein may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, and may also be a smart tv, a set-top box, and the like.
The hardware referred to by the names "server", "client", "service node", etc. of the present invention is essentially a device with the performance of a personal computer, and is a hardware device having necessary components disclosed by von neumann principles such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, and an output device, wherein a computer program is stored in the memory, and the central processing unit calls a program stored in an external memory into the internal memory to run, executes instructions in the program, and interacts with the input and output devices, thereby accomplishing specific functions.
It should be noted that the concept of "server" in the present invention can be extended to the case of server cluster. According to the network deployment principle understood by those skilled in the art, the servers should be logically divided, and in physical space, the servers may be independent from each other but can be called through an interface, or may be integrated into one physical computer or a set of computer clusters. Those skilled in the art will appreciate this variation and should not be so limited as to restrict the implementation of the network deployment of the present invention.
The blockchain referred to in the present invention is various public or private chains used for implementing data storage in the prior art, and is configured to provide a service for accessing the blockchain for a client application through a blockchain link point implemented based on the server, and may upload related data (information) to the blockchain through the blockchain link point following a corresponding protocol of the blockchain, or acquire related data (information) on the chain by accessing the blockchain. On one hand, the blockchain node realizes access of the blockchain, on the other hand, interaction management related to user identity and user management authority can be executed according to a pre-protocol of the blockchain node and a client application, and the nature and the realization principle of the protocol interaction can be understood by those skilled in the art.
Referring to fig. 1, in an example of developing a museum cultural relic information management system based on a block chain according to the present invention, a client application mainly implements a cultural relic information management subsystem to meet the requirements of the block chain, and the cultural relic information management subsystem and the block chain subsystem interact with each other through an interface defined by a SpringMVC language. The terminal equipment executing the method calls the access interface defined by the SpringMVC language to realize the execution of the method of the invention according to the protocol of the blockchain node. Although not shown, those skilled in the art will appreciate that the blockchain subsystem implements such an interactive function through one of its blockchain nodes, and thus, the client application can access the blockchain through the blockchain node. The block chain link point can access a public block chain and a private block chain, and the block chain can adopt a Redis database to realize the organization and management of data according to the logic of the block chain, without affecting the implementation of the invention. And 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 inquiry module, a file information modification module and the like, and the functional modules respectively provide a user for increasing the file data corresponding to the cultural relic pictures in batches, inquiring the cultural relic information related to a certain associated code, modifying the related cultural relic data and the like. The functions of the cultural relic management subsystem realized by the client application are realized through the steps of the method. The cultural relic information subsystem and the block chain subsystem have low coupling, high cohesion and clear division of labor among all modules, and realize data interaction through a network.
Referring to fig. 2, an exemplary embodiment of a method for processing historical relic information for accessing a block chain according to the present invention includes the following steps:
step S13, matching the cultural relic picture data with the cultural relic type model in the 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 type of cultural relic picture:
in this step, the client application may receive a cultural relic picture newly added to its subsystem by a user, and then may be used as an optional design logic to further verify the validity of the picture, so as to ensure that the picture has a legal source, a legal manager, and a legal operation authority. And after the validity is verified, executing the subsequent uplink process.
The cultural relic data corresponding to the relevant cultural relic picture data needs to be accessed to the block chain protection subsystem, and the matching of the cultural relic types needs to be carried out firstly. In this step, the client application requests to obtain the cultural relic type model, and performs classification operation on the local end.
The cultural relic type models are generally provided in advance by the invention and are generally described in a data manner, in an easy implementation example, the client application compares certain cultural relic picture data with the data of the cultural relic type models, and confirms whether the former belongs to the type referred by the latter by comparing whether the former falls into the value range corresponding to the latter. Whether the single cultural relic picture or the massive cultural relic picture can be matched and identified in such a way. Of course, the algorithm for matching the image and the model is well known in the art, and those skilled in the art should know that the algorithm is not detailed.
The process of type matching is carried out in the step, and the essence of the process is a process of intelligently classifying the cultural relic pictures. More specifically, in the classification process, the client application acquires 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 the corresponding item 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 and the identification rule corresponding to the cultural relic and the corresponding feature data playing a role in identifying and matching through the identification code.
As mentioned above, the type identification code includes the type information to which the cultural relic belongs, the identification rule for instructing to perform identification, and the corresponding feature data for performing identification and matching, so in an embodiment, the type identification code is suitable for the client application to search the corresponding feature data from the newly added cultural relic picture according to the identification rule, and to classify the newly added cultural relic picture matching the corresponding feature data into the type indicated by the type information. The cultural relic information adding module can utilize the function of the type identification code, and can realize the classification of the newly added cultural relic picture by adopting the information contained in the type identification code when the type of the individual cultural relic picture is identified subsequently.
In order to facilitate user editing, different editing frame bars are provided for different categories on a user interface of a client application according to the result of intelligent classification of the batch of cultural relic pictures, and the same editing frame bar is used for corresponding to the category to which the identification code of the same type belongs and is used for providing the position for editing the corresponding cultural relic data for the category. Therefore, the user can edit and input the cultural relic information through the frame bar.
Step S14, obtaining the basic data of the cultural relics of the corresponding type from the block link point according to the type identification code, and displaying the basic data of the cultural relics corresponding to each type in the corresponding editing frame column for editing to form corresponding cultural relic data:
and editing the historical relic data of the classified category of the previous step by the user is realized by combining with the automatic definition function of the client application.
The client application requests the access of the block chain protection subsystem from the block chain link point through the SpringMVC interface, after the access right is verified and the permission feedback is received, the block chain node 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 and pre-established for each type identification code, and can be stored in the block chain or a custom database of the block chain node and serve as basic description of corresponding types to be provided for the client application to be displayed, so that a user can further edit on the basis.
After the client application receives the basic data of the cultural relics, the corresponding editing frame columns of the basic data of the cultural relics can be identified according to the corresponding relation between each editing frame column and the category identification codes, and the basic data of the cultural relics are automatically input and displayed into the corresponding editing frame columns for the users to edit.
And after detecting a request for continuing inputting, the client application sends the request to the block chain node, the block chain node acquires the current validity of the modification authority under the identity authority of the user again, feeds back the validity result of the request to the operation end, and receives a modification instruction aiming at the basic data of the cultural relic and continuously receives the input information if the validity is met. Data formed by editing by a user on the basis of the basic data of the cultural relics are called cultural relic data, and the cultural relic data are submitted to the block chain nodes in the subsequent steps and uploaded to the block chain.
Step S15, submitting various types of cultural relic data in the editing frame bars to the block link points in response to a user instruction, so as to upload the various types of cultural relic data as the latest version to the block chain through the block link points:
as described above, the client application accepts the user's editing of the cultural relic data when the strict authority verification passes, 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 sends a corresponding upload request to the block link node.
After the block chain node 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 accepted after the validity is met, and the block chain node links the cultural relic data for protection according to the realization of the block chain, so that the cultural relic data becomes the cultural relic data of the latest version of the cultural relic of a certain category.
In one embodiment, the historical relic basic data called in step S14 may also be the latest version or any version of historical relic data existing on the blockchain, that is, the historical relic data on the blockchain of the same historical relic category may exist in multiple edited versions, any version may be called to modify the historical relic data, and then the modified historical relic data is linked again to become the latest version of the historical relic data. Therefore, it can be understood that for the same category, modification and editing conditions of related cultural relic information can be presented theoretically through a plurality of versions of cultural relic data on the block chain, and the cultural relic information is protected in this way, so that the system is complete.
Step S16, acquiring the association code associated with the historical version of the historical relic data returned after the block link point performs the uplink operation, and completing the relic information processing, so that the client application can acquire any version of the historical relic data by using the association code:
in order to access historical cultural relic data through the client application conveniently to obtain more comprehensive cultural relic information, after all the cultural relic information is uploaded, the block link points respond to the confirmation instruction by receiving the confirmation instruction, perform internal data association operation on the cultural relic information, namely establish the association relationship between the historical cultural relic data of the new and old versions, generate a uniform association code and a key, and feed back the association code and the key to the client application. The block chain implements the association between the historical data of each version of the same type, and 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 data of each version is respectively located can be combined into the association code according to a certain rule, and then the association code is reversely analyzed. The key is not necessary in one embodiment, and the encryption mode may be various depending on the security requirement of the cultural relic management, for example, a symmetric key may be used, the association code is encrypted by using the symmetric key, the association code provided to the client application is an encrypted ciphertext, and the association code must be restored by using the key, so that the relationship between the association code and the symmetric key substantially functions as a token.
For the block chain node, for the case that the key exists, when the client application needs to execute the query through the association code, in response to the association code provided by the client application, the content of some cultural relic data and the association operation thereof which are done at a certain time on a certain day can be queried for the client application, but only the response of the block chain node can be obtained through the key for querying, and the block chain node obtains the plaintext association code through decryption by the key according to the key and the association code submitted by the user at the client application, namely, the query can be executed for the block chain node and a corresponding result can be returned.
Obviously, if the key is not needed to participate, when the client application and the block chain node interact by using the association code, the decryption link does not need to be considered, and the block chain node directly adopts the plaintext association code to perform query and feed back the corresponding result.
And on the client application side, after obtaining the key, the user can install the key into a specific USB flash disk end, so that when the query needs to be executed, the client application can firstly read the key from the USB flash disk and transmit the key and the associated code correspondingly specified by the user operation to the blockchain node so as to realize the query, so that the client application can obtain the cultural relic data of any version through the associated code.
On the basis of the implementation of the above exemplary embodiment, in a further embodiment, local utilization of the association code and the type identification code at the client application can be implemented, so that a user can query and identify the cultural relic information for a newly added cultural relic picture at a terminal device where the client application is located. Specifically, a user introduces 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 each type identification code which is generated locally before according to an identification rule in a certain type identification code, compares whether the newly added cultural relic picture has corresponding characteristic data in the type identification code, and judges that the newly added cultural relic picture is the file type represented by the type information of the type identification code when the newly added cultural relic picture has the corresponding characteristic data. Further, if the new cultural relic picture belongs to one type identification code, the client application judges that the new cultural relic picture belongs to the same type of the type identification code, then the block chain node is requested to acquire the cultural relic data of the last version corresponding to the association code related to the type identification code from the block chain, and the cultural relic data corresponding to the type identification code is further screened out from the cultural relic data correspondingly returned from the block chain link point by the client application and displayed on a user interface of the client application, so that the user can obtain 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 on the association codes, and related functions are realized in the client application, so that in a certain embodiment, the client application of the terminal equipment which obtains the association codes submits the association codes to a remote server planned by the cultural relic management system, the remote server uniformly stores the association codes to a related database, and all or part of the association codes can be pushed to other terminal equipment which is provided with the same client terminal application in various known modes, so that the same application of other terminal equipment updates a local database for storing the association codes, the association codes are shared, and the problem that different client applications can timely and efficiently share cultural relic data information is solved.
In another embodiment of the present invention, in order to enhance the user right management, 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 device completes user validity verification to generate a corresponding verification identification code representing the user identity, and requests the block link point to check the validity of the verification identification code:
according to the requirement of management logic, the cultural relic management system can plan two types of user identities, one is a public account number and belongs to a common user; one is a worker account which belongs to the management user, 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 firstly utilizes a user account system constructed by the cultural relic management system to authenticate the identity of the login user, generates a corresponding unique authentication identification code for the user after authentication is completed, and can access the blockchain node through the SpringMVC interface.
According to the program design logic and the verification identification code, the block link point can clearly know the login purpose, the login identity and the login ID of the login account, the block link point can check 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 block link subsystem through the block link point and establish subsequent butt joint with the block link point.
Specifically, the block link point performs first-step verification on the login data of the client user, feeds back a verification result, and checks the validity of the verification identification code. In order to realize such verification, when a program is developed, a coding rule of a verification identification code is generally predefined so as to obtain a login purpose, a login identity and the like according to the coding rule, an authority ID device number is stored in advance, when a new device is ready to login, an identity management U disk access is required, an ID plug-in for managing the identity in the U disk is read, and the access of the new device ID is authorized through the plug-in.
Although this embodiment discloses some examples of performing validity verification on the user login process, those skilled in the art may understand that, in order to implement strict information control, various adaptive modifications may be made on the basis of this embodiment, and details are not repeated.
Step S12, the client obtains the management authority of the user after the verification of the verification identifier is legal, and requests the block link point to check the validity of each specific authority to obtain an executable control corresponding to the legal specific authority, so that the user can perform the interaction required by the subsequent steps according to the executable controls:
in order to further enhance information security, the file management system generally configures an identity role for a user, and different roles are endowed with different management authorities, so that after the client application finishes user login, account information of a user who performs login operation can be acquired, related management authorities set by the user are extracted, and node verification is further performed for each specific management authority.
The client application may generate an authentication request for each specific management permission, include the acquired permission information of the user in the authentication request, and submit the permission information to the blockchain node.
After receiving the request, the blockchain node verifies one by one according to the corresponding specific identity user management authority data in the database of the blockchain node so as to clear the authority which has passed through the management time limit or new authority limited or added by a higher layer of management authority and determine the final management authority of the identity. Finally, under the interaction of the client application and the configuration of the block chain nodes, responding to the management request of the user, corresponding to each legal specific management authority of the user, the client application calls the management columns meeting the specific management authority, each executable control corresponding to the specific management authority of the management columns in the user authority range is started, and the user can execute the operation of the subsequent steps through each executable control. The request data and the authority change data generated in the process can be recorded into the block link points by the block link points and accessed into the database of the block link nodes so as to realize data synchronization.
It is understood that after steps S11 and S12 are completed, the subsequent steps S13 to S16 can be performed in a more secure environment.
In an improved embodiment, any historical relic information of the same historical relic is associated with the association code (for example, organized by a way of a block chain Merkle tree structure by a person skilled in the art), so that, after key verification is successful and identity authority is allowed, a data storage address is obtained through the association code (the association code represents a hash value in the Merkle tree structure and is used for pointing to a transmission address of the historical relic data distributed and stored according to the distributed storage system, and the storage address can be accessed through the hash value to obtain the corresponding historical relic data) through the association code, and then any historical relic data of the historical relic is extracted or modified through the client application. The whole operation process can upload the operation data generated in the middle to the database of the blockchain node. The database of the blockchain node stores daily operational change data. The database is recommended to adopt redis, is a key-value storage system, is similar to Memcached, supports relatively more stored value types, comprises string (character string), list (linked list), set (set), zset (sorted set-ordered set) and hash (hash type), greatly compensates the deficiency of key/value storage of Memcached and the like, and can play a good role in supplementing a relational database in partial occasions.
In a further improved embodiment, after the step S15 submits the historical relic data to the block link point, the block link point may access the corresponding historical relic data into different block chains according to different historical relic data, and thus, the client application may drive the block link point to upload the submitted historical relic data to a public block chain suitable for a general user to access or a private block chain suitable for a management user to access according to different historical relic data, so as to implement partition management.
The cultural relic data in the node database is synchronized to other clients and operation terminals applying the cultural relic management system, and specifically, preset data model matching is performed according to the cultural relic data submitted by the clients, correspondingly, the cultural relic data of a common user can be matched to a common user data model, and the cultural relic data of a management user can be matched to a management user data model, so that the cultural relic data can be automatically defined by the block chain nodes to be respectively defined as private information and public information, and then the private block chain and the public block chain are respectively accessed.
Private information can be prevented from being leaked through the public block chain, the block chain protection subsystem is accessed through the spring MVC interface according to the identity verification result, and public cultural relic information extracted from the block chain protection subsystem through the public block chain is transmitted to the local end for displaying.
The private block chain can ensure that public information and private information are not mixed, the private information can be displayed only by an account with related management authority and is not displayed for the public, so that the establishment of the private block chain also ensures the private information, and if the private information needs to be accessed, the security of the private chain is ensured by mutual authorization verification among the chain link points of the private block.
The user can check whether the local cultural relic information data is consistent with the block chain data protection subsystem or not by checking the current information, the historical revision version information record and the like of the cultural relic information in the block chain data protection subsystem through the private block chain.
In a further embodiment, the present invention provides a terminal device, which includes a central processing unit and a memory, wherein the central processing unit is configured to invoke and run a computer program stored in the memory to perform the steps of the cultural relic information processing method for accessing the block chain according to the foregoing embodiments.
In summary, the invention realizes the processing and safety control before accessing the cultural relic information of the cultural relic picture into the block chain, and is particularly suitable for application scenes such as museum cultural relic management systems.
Those skilled in the art will appreciate that the present disclosure is directed to an apparatus for performing one or more of the operations, methods described in the disclosure. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general-purpose computers. These devices have computer programs stored in their memories that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., computer) readable medium, including, but not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs (Read-Only memories), RAMs (Random Access memories), EPROMs (erasable Programmable Read-Only memories), EEPROMs (electrically erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a bus. 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 may be implemented by a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the features specified in the block or blocks of the block diagrams and/or flowchart illustrations of the present disclosure.
Those of skill in the art will appreciate that various operations, methods, steps in the processes, acts, or solutions discussed in the present application may be alternated, modified, combined, or deleted. Further, various operations, methods, steps in the flows, which have been discussed in the present application, may be interchanged, modified, rearranged, decomposed, combined, or eliminated. Further, steps, measures, schemes in the various operations, methods, procedures disclosed in the prior art and the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A cultural relics information processing method for accessing a block chain is characterized by comprising the following steps:
matching the cultural relic picture data with the cultural relic type model in the basic type database, generating corresponding type identification codes for various cultural relic pictures meeting the matching requirement, and setting a same editing frame column for the same type of cultural relic pictures;
acquiring corresponding types of cultural relic basic data from the block link points according to the type identification codes, and displaying the cultural relic basic data corresponding to each type into the corresponding editing frame column for editing to form corresponding cultural relic data;
submitting various types of cultural relic data in various editing frame columns to the block link points 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 link points;
and acquiring the association code which is returned after the block chain link point executes the chain linking operation and is associated with the historical version of the historical relic data, and finishing the relic information processing so that the client application can acquire the relic data of any version through the association code.
2. The method according to claim 1, characterized in that it further comprises the following pre-steps:
the client application of the terminal equipment completes user validity verification to generate a corresponding verification identification code representing the user identity, and requests the block link node to verify the validity of the verification identification code;
and the client side is used for acquiring the management authority of the user after the verification identification code is verified to be legal, and requesting to verify the legality of each specific authority from the block link point so as to acquire an executable control corresponding to the legal specific authority, so that the user can perform interaction required by the subsequent steps according to the executable controls.
3. The method of claim 1, wherein: the type identification code comprises type information to which the cultural relic belongs, an identification rule used for indicating to execute identification and corresponding feature data used for playing a role in identification and matching, and is suitable for a client application to search the corresponding feature data from a newly added cultural relic picture according to the identification rule and classify the newly added cultural relic picture matched with the corresponding feature data into the type indicated by the type information.
4. The method of claim 1, wherein: and the client application obtains 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 obtaining the historical relic data of any previous version is responded by the block chain link point.
5. The method of claim 1, wherein:
after the cultural relic data is submitted to the block link points, the block link points are driven to upload the submitted cultural relic data to a public block chain suitable for the access of a common user or a private block chain suitable for the access of a management user according to the difference of the cultural relic data.
6. The method of claim 1, wherein:
and the terminal equipment executing the method calls an access interface defined by the springMVC language to realize the execution of the method according to the protocol of the blockchain node.
7. The method of claim 1, wherein:
in the step of matching the cultural relic picture data with the cultural relic type model in the basic type database, the client application acquires the feature data of any item combination of the contour, 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 realize the matching.
8. The method of claim 1, further comprising the subsequent steps of:
and the client application responds to a request for identifying the newly added cultural relic picture, identifies the newly added cultural relic picture according to each type identification code generated locally, judges that the newly added cultural relic picture belongs to the same type of the type identification code if determining that the newly added cultural relic picture belongs to one type identification code, and screens out the cultural relic data corresponding to the type identification code and displays the cultural relic data to a user interface of the client application after requesting the block chain node to acquire the cultural relic data of the last version corresponding to the association code from the block chain.
9. The method of claim 1, wherein: 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.
10. A terminal device comprising a central processing unit and a memory, wherein the central processing unit is configured to invoke and run a computer program stored in the memory to perform the steps of the cultural relic information processing method for accessing the blockchain according to any one of claims 1 to 9.
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 true CN111475582A (en) 2020-07-31
CN111475582B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111679089A (en) * 2020-08-13 2020-09-18 武汉生之源生物科技股份有限公司 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
CN112235301A (en) * 2020-10-14 2021-01-15 北京金山云网络技术有限公司 Method and device for verifying access authority 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 (4)

* 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
US20190356493A1 (en) * 2018-05-21 2019-11-21 Integra, Inc. Blockchain-anchored smart documents
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

Patent Citations (4)

* 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
US20190356493A1 (en) * 2018-05-21 2019-11-21 Integra, Inc. Blockchain-anchored smart documents
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结构的博物馆文物修复档案管理系统设计" *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111679089A (en) * 2020-08-13 2020-09-18 武汉生之源生物科技股份有限公司 Data processing method of detection equipment
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
CN112235301A (en) * 2020-10-14 2021-01-15 北京金山云网络技术有限公司 Method and device for verifying access authority 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

Also Published As

Publication number Publication date
CN111475582B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN111475582B (en) Terminal equipment and cultural relic information processing method for accessing blockchain
CN109639406B (en) Efficient trust solution method based on block chain and IPFS
US10270770B1 (en) Generic computing device attestation and enrollment
CN111970129B (en) Data processing method and device based on block chain and readable storage medium
CN101410800B (en) System and method for a software distribution service
CN100416465C (en) System and method for managing and communicating software updates
CN109274652B (en) Identity information verification system, method and device and computer storage medium
CN1777867B (en) System and method for updating files utilizing incremental compaction patching
CN100535857C (en) System and method for updating installation components in a networked environment
CN111183426A (en) System and method for block chain based notification
US20200234015A1 (en) Networked computer system for remote rfid device management and tracking
US9542864B2 (en) Methods and apparatus for digital steganography
CN106027552A (en) Method and system for accessing cloud storage data by user
CN112527912B (en) Data processing method and device based on block chain network and computer equipment
EP4002786B1 (en) Distributed ledger system
CN113193965A (en) Digital content materialization display system based on NFT
CN113360458B (en) Distributed file storage sharing system based on alliance chain
CN111314172A (en) Data processing method, device and equipment based on block chain and storage medium
CN111405223A (en) Video processing method, device and equipment
CN111414647A (en) Tamper-proof data sharing system and method based on block chain technology
CN112347934A (en) Video authentication and transaction system and method
CN111680101A (en) Intellectual property data protection, transaction and maintenance system and method based on block chain
CN111339193A (en) Category coding method and device
KR102294569B1 (en) Block Chain Management System To Build Block Chain Network
US20240029034A1 (en) Generating Smart Contracts for Electronic Notarization Using Synthetically Generated Invisible Fingerprint Metadata

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