CN110601850B - Scenic spot information recording method, related equipment and storage medium - Google Patents

Scenic spot information recording method, related equipment and storage medium Download PDF

Info

Publication number
CN110601850B
CN110601850B CN201910859199.6A CN201910859199A CN110601850B CN 110601850 B CN110601850 B CN 110601850B CN 201910859199 A CN201910859199 A CN 201910859199A CN 110601850 B CN110601850 B CN 110601850B
Authority
CN
China
Prior art keywords
information
scenic spot
spot
recording
scenic
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
CN201910859199.6A
Other languages
Chinese (zh)
Other versions
CN110601850A (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.)
Yunnan Tengyun Information Industry Co.,Ltd.
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910859199.6A priority Critical patent/CN110601850B/en
Publication of CN110601850A publication Critical patent/CN110601850A/en
Application granted granted Critical
Publication of CN110601850B publication Critical patent/CN110601850B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The invention discloses a scenic spot information recording method, related equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps of obtaining a sight spot code displayed by sight spot verification equipment of a sight spot, and obtaining sight spot recording information carried in the sight spot code and block address information of a sight spot block chain; transmitting the scenic spot recording information to the block node equipment based on the block address information so that the block node equipment performs uplink storage on the scenic spot recording information; the sight spot recording information comprises sight spot associated information and sight spot signature information, the sight spot associated information comprises user information, time information corresponding to sight spot codes and the sight spot information, and the sight spot signature information is signature information obtained by encrypting the sight spot associated information by sight spot verification equipment based on an equipment private key of the sight spot verification equipment. By adopting the invention, the scenic spot information of the scenic spot where the user is located can be recorded in a block chain mode, so that the accuracy and the safety of the scenic spot information are ensured, and the recording and acquiring efficiency of the scenic spot information is further improved.

Description

Scenic spot information recording method, related equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a scenic spot information recording method, related devices, and a storage medium.
Background
Along with the continuous promotion of living standard, people except the amusement and recreation in daily life, more can choose to go different scenic spots in the world and play, people can record scenery, humanity, food etc. in the scenic spot through modes such as shooing, making a video recording, however because the scenic spot that has gone can increase gradually, therefore the user forgets the relevant information of the scenic spot of going easily, for example: the names of the sights, the time of the sights to go, and the like, although the user can obtain the information through the recorded photos and videos, the photos, the videos, and the like are accidentally lost, and the efficiency of recording and acquiring the sights information is influenced.
Disclosure of Invention
The embodiment of the invention provides a scenic spot information recording method, related equipment and a storage medium, which can ensure the accuracy and the safety of scenic spot information and further improve the efficiency of scenic spot information recording and acquisition.
An embodiment of the present invention provides a method for recording scenic spot information, including:
the method comprises the steps of obtaining a sight spot code displayed by sight spot verification equipment of a sight spot, and obtaining sight spot recording information carried in the sight spot code and block address information of a sight spot block chain;
sending the scenic spot recording information to block node equipment based on the block address information so that the block node equipment can perform uplink storage on the scenic spot recording information;
the scenic spot recording information comprises scenic spot associated information and scenic spot signature information, the scenic spot associated information comprises user information, time information corresponding to scenic spot codes and the scenic spot information, and the scenic spot signature information is signature information obtained by the scenic spot verification device through encryption processing of the scenic spot associated information based on a device private key of the scenic spot verification device.
Wherein, still include:
obtaining a scenic spot verification identifier returned by the block node device based on the scenic spot recording information;
when a confirmed issuing instruction of the scenic spot verification identifier is detected, first content issuing information is generated based on the scenic spot verification identifier, and the first content issuing information is sent to content issuing service equipment, so that the content issuing service equipment can display the first content issuing information in a social content issuing platform.
Wherein, still include:
acquiring a scenery spot recording information set associated with the user information from the block node equipment, and acquiring the selected scenery spot recording information from the scenery spot recording information set;
obtaining a scenery spot verification identifier corresponding to the scenery spot recording information, and obtaining input multimedia information;
and generating second content publishing information based on the scenic spot verification identifier and the multimedia information, and sending the second content publishing information to content publishing service equipment so that the content publishing service equipment can display the second content publishing information in a social content publishing platform.
An embodiment of the present invention provides a method for recording scenic spot information, including:
acquiring user information input on a scenery spot information recording page, and generating scenery spot associated information based on the user information, currently recorded time information and scenery spot information;
encrypting the scenic spot associated information by adopting an equipment private key to obtain scenic spot signature information, and generating scenic spot recording information containing the scenic spot associated information and the scenic spot signature information;
generating a sight spot code based on the sight spot recording information and the block address information of the sight spot block chain, and displaying the sight spot code;
the scenic spot codes are used for the user terminal to obtain and analyze scenic spot recording information and the block address information, so that the user terminal sends the scenic spot recording information to block node equipment for uplink storage based on the block address information.
Wherein, before the obtaining the user information input by the scenic spot information recording page, the method further comprises:
and acquiring an equipment public key and an equipment private key which are distributed by the block node equipment based on the scenic spot block chain, and storing the equipment public key and the equipment private key.
The encrypting the scenic spot associated information by using the device private key to obtain scenic spot signature information, and generating scenic spot recording information including the scenic spot associated information and the scenic spot signature information includes:
performing hash processing on the scenery spot associated information to obtain a hash value corresponding to the scenery spot associated information;
and encrypting the hash value by adopting an equipment private key to obtain scenery spot signature information, and generating scenery spot recording information containing the scenery associated information and the scenery signature information.
An embodiment of the present invention provides a user terminal, including:
the system comprises a sight spot information acquisition unit, a scene spot verification device and a scene spot information management unit, wherein the sight spot information acquisition unit is used for acquiring a sight spot code displayed by the sight spot verification device of a sight spot, and acquiring sight spot recording information and block address information of a sight spot block chain carried in the sight spot code;
the scenic spot information sending unit is used for sending the scenic spot recording information to block node equipment based on the block address information so that the block node equipment can carry out uplink storage on the scenic spot recording information;
the scenic spot recording information comprises scenic spot associated information and scenic spot signature information, the scenic spot associated information comprises user information, time information corresponding to scenic spot codes and the scenic spot information, and the scenic spot signature information is signature information obtained by the scenic spot verification device through encryption processing of the scenic spot associated information based on a device private key of the scenic spot verification device.
Wherein, still include:
the identification acquisition unit is used for acquiring a scenic spot verification identification returned by the block node equipment based on the scenic spot recording information;
and the first information issuing unit is used for generating first content issuing information based on the scenic spot verification identifier and sending the first content issuing information to content issuing service equipment when a confirmation issuing instruction of the scenic spot verification identifier is detected, so that the content issuing service equipment displays the first content issuing information in a social content issuing platform.
Wherein, still include:
a recording information acquisition unit, configured to acquire a scenic spot recording information set associated with the user information from the block node device, and acquire the selected scenic spot recording information from the scenic spot recording information set;
the identification information acquisition unit is used for acquiring a scenic spot verification identification corresponding to the scenic spot recording information and acquiring input multimedia information;
and the second information publishing unit is used for generating second content publishing information based on the scenic spot verification identifier and the multimedia information, and sending the second content publishing information to content publishing service equipment so that the content publishing service equipment can display the second content publishing information in a social content publishing platform.
An embodiment of the present invention provides a scenic spot verification apparatus, including:
the system comprises a related information generating unit, a scene information recording unit and a scene information recording unit, wherein the related information generating unit is used for acquiring user information input on a scene information recording page and generating scene related information based on the user information, currently recorded time information and scene information;
the device comprises a recording information generating unit, a scene identification unit and a scene identification unit, wherein the recording information generating unit is used for encrypting the scene associated information by adopting a device private key to obtain scene signature information and generating scene recording information containing the scene associated information and the scene signature information;
the code display unit is used for generating a scenery spot code based on the scenery spot recording information and the block address information of the scenery spot block chain and displaying the scenery spot code;
the scenic spot codes are used for the user terminal to obtain and analyze scenic spot recording information and the block address information, so that the user terminal sends the scenic spot recording information to block node equipment for uplink storage based on the block address information.
Wherein, still include:
and the key pair storage unit is used for acquiring an equipment public key and an equipment private key which are distributed by the block node equipment based on the scenic spot block chain, and storing the equipment public key and the equipment private key.
The recording information generating unit is specifically configured to perform hash processing on the sight spot associated information to obtain a hash value corresponding to the sight spot associated information, perform encryption processing on the hash value by using a device private key to obtain sight spot signature information, and generate sight spot recording information including the sight spot associated information and the sight spot signature information.
An aspect of the embodiments of the present invention provides a computer storage medium storing a computer program comprising program instructions that, when executed by a processor, perform the above-mentioned method steps.
An aspect of an embodiment of the present invention provides an electronic device, including a processor, a memory, and an input/output interface;
the processor is respectively connected with the memory and the input/output interface, wherein the input/output interface is used for page interaction, the memory is used for storing program codes, and the processor is used for calling the program codes to execute the method steps.
In the embodiment of the invention, the scenic spot recording information of the scenic spot where the user is located is stored by adopting a block chain mode, and the scenic spot recording information stored on the chain can be synchronized in a plurality of block node devices of the block chain and cannot be tampered, so that the safety of the scenic spot recording information is ensured, and the efficiency of searching the scenic spot recording information is further improved; because the scenic spot recording information carries user information and time information, the scenic spot codes obtained by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the user cannot forge related scenic spot recording information in a private mode to store uplink, and the authenticity of the scenic spot recording information is effectively guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a system architecture diagram of a scenic spot information record provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of block chain construction provided by an embodiment of the invention;
FIG. 3 is a flowchart illustrating a method for recording scenic spot information according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for recording scenic spot information according to an embodiment of the present invention;
FIG. 5 is a sequence diagram of a process of issuing scenic spot information according to an embodiment of the present invention;
FIG. 6 is a sequence diagram of a process of issuing scenic spot information according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for recording scenic spot information according to an embodiment of the present invention;
FIG. 8 is a flowchart illustrating a method for recording scenic spot information according to an embodiment of the present invention;
FIG. 9 is a flowchart illustrating a method for recording scenic spot information according to an embodiment of the present invention;
FIG. 10 is a flowchart illustrating a method for recording scenic spot information according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a user terminal according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a user terminal according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a sight spot verification device according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an attraction verification device according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Please refer to fig. 1-10, which illustrate embodiments of the method for recording scenic spot information according to the present invention.
Referring to fig. 1, a system architecture diagram of scenic spot information recording is provided in an embodiment of the present invention. As shown in fig. 1, with the improvement of life quality of people, various "card punching" behaviors occur nowadays, card punching is specifically represented by a behavior that a user goes to a certain hot place for the first time or tastes the diet of a certain person and records, for example, card punching of a cyber red restaurant, card punching of a scenic spot, and the like, and aiming at a current scene of card punching of the scenic spot, the embodiment of the invention provides an implementation architecture diagram for realizing scenic spot information recording based on a block chain manner. Each sight may have a sight verification device disposed therein, for example: the scenic spot verification device may specifically be an interface for a user to input user information and a display device for displaying a scenic spot code, the scenic spot verification device may obtain the user information input by the user in the interface, the user information may specifically be information such as a social account number of a social content publishing platform or a mobile phone number registered in the social content publishing platform, the social content publishing platform may specifically be a content publishing platform shared by the user and friends associated with the user, and for content published by the user, the content published by the user may be displayed in user terminals of other users having a friend relationship with the user, for example: the scenic spot verification equipment can generate a scenic spot code which only belongs to a user based on the user information when the user information is acquired, the user can scan the scenic spot code through a social application in a handheld user terminal to acquire scenic spot record information in the scenic spot code and block address information of a scenic spot block chain, the user terminal can send the scenic spot record information to the scenic spot block chain for uplink storage based on the block address information, preferably, the user terminal can send the scenic spot record information to block node equipment for uplink storage through content publishing service equipment corresponding to a social content publishing platform established by the social application, or directly send the scenic spot record information to the block node equipment for uplink storage through the user terminal, and certainly, the content publishing service equipment can also be used as the block node equipment in the scenic spot block chain, the user terminal directly sends the scenery spot recording information to the content distribution service equipment for cochain storage and the like, and can be specifically set according to actual scene requirements. The user terminal may include, but is not limited to, a mobile phone, an e-reader, a tablet computer, and other terminal devices, the scenic spot block chain may be specifically created according to a scenic spot certificate number issued for the scenic spot, that is, each scenic spot corresponds to one scenic spot block chain, and of course, all scenic spots may be set in the same scenic spot block chain, and a block corresponding to each scenic spot is generated according to different scenic spot certificate numbers, and may be specifically set according to actual scene needs.
Referring to fig. 2, a schematic diagram of building a block chain is provided for the embodiment of the present invention. As shown in fig. 2, in order to further ensure the security of the scenic spot recording information, an embodiment of the present invention sets up a blockchain based on a scenic spot information recording scene, where the blockchain may include a blockchain bottom platform, a platform product service layer, and an application service layer.
The block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the service request to storage after consensus on the valid request is completed, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, transmits the service information to a shared account (network communication) completely and consistently after encryption, and performs recording and storage; the intelligent contract module is responsible for registering and issuing contracts, triggering the contracts and executing the contracts, developers can define contract logics through a certain programming language, issue the contract logics to a block chain (contract registration), call keys or other event triggering and executing according to the logics of contract clauses, complete the contract logics and simultaneously provide the function of upgrading and canceling the contracts; the operation monitoring module is mainly responsible for deployment, configuration modification, contract setting, cloud adaptation in the product release process and visual output of real-time states in product operation, such as: alarm, monitoring network conditions, monitoring node equipment health status, and the like.
The platform product service layer provides basic capability and an implementation framework of typical application, and developers can superpose the characteristics of access control services based on the basic capability to complete block chain implementation of service logic. The application service layer provides the application service based on the block chain scheme for the business participants to use.
In a scene of the scenic spot information record, the block node devices may be distributed in a range corresponding to an entity, or may be distributed in the cloud service device, where the entity may include but is not limited to a scenic spot verification device, for example: the scenic spot verification equipment for the scenic spot gate, the scenic spot verification equipment for each scenic spot in the scenic spot and the like are used for building scenes for recording the scenic spot information in a block chain mode, so that the safety of the scenic spot recording information is ensured, the efficiency of searching the scenic spot recording information is further improved, the scenic spot recording information carries user information and time information, so that different scenic spot codes obtained by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the users cannot personally forge related scenic spot recording information to store uplink, and the authenticity of the scenic spot recording information is effectively ensured.
Referring to fig. 3 together based on the implementation frameworks of fig. 1 and fig. 2, a flow sequence diagram of a scenic spot information recording method is provided in an embodiment of the present invention. As shown in fig. 3, the method of the embodiment of the present invention may include the following steps S101 to S105.
S101, the scenic spot verification equipment acquires user information input on a scenic spot information recording page, and generates scenic spot associated information based on the user information, currently recorded time information and scenic spot information;
specifically, the scenic spot verification device may monitor whether input user information exists in a currently displayed record page, where the input mode includes, but is not limited to, touch screen input, physical keyboard input, voice input, and the like, the record page may have an input box, a user may input user information in the input box, the user information may include information such as a social account number of a social content publishing platform or a mobile phone number registered in the social content publishing platform, when a confirmation instruction of the user information input in the input box is detected, the scenic spot verification device determines that the input user information exists in the currently recorded page, the scenic spot verification device obtains the user information, generates scenic spot association information based on the user information, currently recorded time information, and the scenic spot information, and the currently recorded time information is preferably a time stamp for obtaining the user information, the scenery spot information may include, but is not limited to, scenery spot names, scenery spot addresses, scenery spot patterns, and other information associated with a scenery spot located therein, and it is understood that the scenery spot associated information may be specifically expressed as "user information-time information-scenery spot information", and of course, the expression manner is merely an example, and other permutation and combination manners may also exist, and the expression manner is specifically determined according to actual scene needs.
S102, the scenic spot verification equipment adopts an equipment private key to encrypt the scenic spot associated information to obtain scenic spot signature information, and generates scenic spot recording information containing the scenic spot associated information and the scenic spot signature information;
specifically, after the scenic spot verification device generates the scenic spot associated information, the scenic spot verification device may use a device private key assigned by a scenic spot block chain in advance through a block node device to encrypt the scenic spot associated information to obtain scenic spot signature information, further, the scenic spot verification device may hash the scenic spot associated information to obtain a hash value corresponding to the scenic spot associated information, use the device private key to encrypt the hash value to obtain the scenic spot signature information, and generate scenic spot record information including the scenic spot associated information and the scenic spot signature information.
S103, the scenic spot verification equipment generates a scenic spot code based on the scenic spot recording information and the block address information of the scenic spot block chain, and displays the scenic spot code;
specifically, the sight spot verification device may generate a sight spot code based on the sight spot recording information and the block address information of the sight spot block chain, preferably, the device public key may serve as the block address information of the sight spot verification device in the sight spot block chain, the sight spot code may specifically be a bar code, a two-dimensional code, or other graphic code that can be scanned, and the sight spot verification device may display the sight spot code in a recording page.
S104, the user terminal acquires a scenery spot code displayed by scenery spot verification equipment of a scenery spot, and acquires scenery spot recording information carried in the scenery spot code and block address information of a scenery spot block chain;
specifically, the user terminal can start a camera module of the user terminal through a scanning function in the installed social application, scan the sight spot code displayed by the sight spot verification device, obtain the sight spot code displayed in the sight spot verification device of the current sight spot, analyze the sight spot code, and obtain the sight spot record information and the block address information of the sight spot block chain carried in the sight spot code.
S105, the user terminal sends the scenic spot recording information to block node equipment for uplink storage based on the block address information;
specifically, the user terminal may send the scenic spot recording information to the block node device for uplink storage based on the block address information, and it may be understood that the user terminal may send the scenic spot recording information to a block in the scenic spot block chain corresponding to the block address information for uplink storage based on the content publishing service device corresponding to the social application.
In the embodiment of the invention, the scenic spot recording information of the scenic spot where the user is located is stored by adopting a block chain mode, and the scenic spot recording information stored on the chain can be synchronized in a plurality of block node devices of the block chain and cannot be tampered, so that the safety of the scenic spot recording information is ensured, and the efficiency of searching the scenic spot recording information is further improved; because the scenic spot recording information carries user information and time information, the scenic spot codes obtained by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the user cannot forge related scenic spot recording information in a private mode to store uplink, and the authenticity of the scenic spot recording information is effectively guaranteed.
Referring to fig. 4 together based on the implementation frameworks of fig. 1 and fig. 2, a flow sequence diagram of a scenic spot information recording method is provided in an embodiment of the present invention. As shown in fig. 4, the method of the embodiment of the present invention may include the following steps S201 to S206.
S201, the scenic spot verification equipment acquires an equipment public key and an equipment private key which are distributed by the block node equipment based on the scenic spot block chain, and stores the equipment public key and the equipment private key;
specifically, the scenic spot block chain may be established by the scenic spot verification device, or may be established by a background service device of the scenic spot verification device, the scenic spot verification device may obtain a device public key and a device private key that are allocated by the block node device based on the scenic spot block chain, and store the device public key and the device private key, it needs to be described that different scenic spot verification devices of the same scenic spot may allocate different device private keys and device public keys, and the device private key and the device public key uniquely correspond to each other, of course, all the scenic spot verification devices belonging to the same scenic spot may also share the device private key and the device public key, and specifically may be set according to actual scene requirements.
S202, the scenic spot verification equipment acquires user information input on a scenic spot information recording page, and generates scenic spot associated information based on the user information, the currently recorded time information and the scenic spot information;
s203, the scenic spot verification equipment adopts an equipment private key to encrypt the scenic spot associated information to obtain scenic spot signature information, and generates scenic spot recording information containing the scenic spot associated information and the scenic spot signature information;
s204, the scenic spot verification equipment generates a scenic spot code based on the scenic spot recording information and the block address information of the scenic spot block chain, and displays the scenic spot code;
s205, a user terminal acquires a sight spot code displayed by sight spot verification equipment of a sight spot, and acquires sight spot recording information and block address information of a sight spot block chain carried in the sight spot code;
s206, the user terminal sends the scenic spot recording information to block node equipment for uplink storage based on the block address information;
steps S202 to S206 in the embodiment of the present invention can refer to the detailed description of steps S101 to S105 in the embodiment shown in fig. 3, and are not described herein again.
It should be noted that, after the scenic spot recording information is stored in the uplink, the user may display the scenic spot recording information in a social content publishing platform set up by the social application in two ways.
In a first implementation manner of the embodiment of the present invention, please refer to fig. 5, which provides a flow sequence diagram of scenic spot information publishing. As shown in fig. 5, steps S301 to S303 may be included.
S301, the user terminal acquires a scenic spot verification identifier returned by the block node device based on the scenic spot recording information;
specifically, the block node device may generate a sight spot verification identifier corresponding to the sight spot recording information based on a preset intelligent contract, and it may be understood that the sight spot verification identifier may be used to prove authenticity of the sight spot recording information, and meanwhile, the sight spot verification identifier may specifically be a unique graphic identifier of the sight spot, for example: the scenic spot verification identifier of the great wall can be a pattern of the great wall, the scenic spot verification identifier of the home position can be a pattern of the home position, and the like, and the block node device can send the scenic spot verification identifier to the user terminal through the content publishing service device through an intelligent contract. And the user terminal receives the scenic spot verification identifier and can display an edit page containing the scenic spot verification identifier and published by the social content.
S302, when a confirmation issue instruction of the scenic spot verification identifier is detected, the user terminal generates first content issue information based on the scenic spot verification identifier, and sends the first content issue information to content issue service equipment;
specifically, when the user clicks a button for confirming release in the edit page, the user terminal may determine to detect a confirmation release instruction for the sight spot verification identifier, the user terminal may generate first content release information based on the sight spot verification identifier, optionally, when the user terminal is on the edit page, the user may add multimedia information in the edit page, the multimedia information may include, but is not limited to, content such as text information, picture information, video information, and the like, the multimedia information may be instantly edited by the user terminal for the user, may also be previously photographed and stored for the user, and the user terminal may generate the first content release information based on the sight spot verification identifier and the multimedia information. The user terminal may transmit the first content distribution information to the content distribution service apparatus based on an interactive application.
S303, the content publishing service equipment displays the first content publishing information in a social content publishing platform;
specifically, the content publishing service device receives the first publishing content information, may obtain user information of the user in the social application, and the content publishing service device may display the first publishing content information in the social content publishing platform based on the user information. The contents are issued and displayed by providing the iconic graphic identification, so that the display form of the scenic spot information record can be enriched, and the user viscosity is improved.
In a second implementation manner of the embodiment of the present invention, please refer to fig. 6 together, which provides a flow sequence diagram of scenic spot information publishing for the embodiment of the present invention. As shown in fig. 6, steps S401 to S405 may be included.
S401, a user terminal acquires a scenic spot recording information set associated with the user information from the block node equipment;
specifically, the user can actively request to enter an edit page of social content publication of the social application through the user terminal, the user terminal may request the spot recording information sets associated with the user information from the block node device through a content distribution service device, the block node device may traverse a plurality of spot recording information associated with the user information in all of the generated blocks, and returning to the content distribution service device, the content distribution service device may package the scenery spot recording information in a form of a table to generate a scenery spot recording information set, and return the scenery spot recording information set to the user terminal, optionally, the scenic spot recording information set may further include a scenic spot verification identifier corresponding to each piece of scenic spot recording information, which is sent by the block node device. Of course, the block node device may also directly generate the attraction record information set associated with the user information, and return the attraction record information set to the user terminal.
S402, the user terminal acquires the selected scenery spot recording information from the scenery spot recording information set;
specifically, the user terminal may display the scenic spot recording information set in the editing page, at this time, the user may select one or more pieces of scenic spot recording information to be published in the scenic spot recording information set, and the user terminal may obtain the selected scenic spot recording information.
S403, the user terminal acquires the scenic spot verification identifier corresponding to the scenic spot recording information and acquires the input multimedia information;
specifically, the user terminal may obtain the sight spot verification identifier corresponding to the selected sight spot recording information, and obtain multimedia information added by the user in an editing page, where the multimedia information may include, but is not limited to, text information, picture information, video information, and the like, and the multimedia information may be instantly edited by the user through the user terminal, or may be previously photographed and stored by the user.
S404, the user terminal generates second content release information based on the scenic spot verification identifier and the multimedia information, and sends the second content release information to content release service equipment;
specifically, the user terminal may generate second content distribution information based on the scenic spot verification identifier and the multimedia information. The user terminal may transmit the second content distribution information to the content distribution service apparatus based on an interactive application.
S405, the content publishing service equipment displays the second content publishing information in a social content publishing platform;
specifically, the content publishing service device receives the second published content information, may obtain user information of the user in the social application, and the content publishing service device may display the second published content information in the social content publishing platform based on the user information. The contents are issued and displayed by providing the iconic graphic identification, so that the display form of the scenic spot information record can be enriched, and the user viscosity is improved.
In the embodiment of the invention, the scenic spot recording information of the scenic spot where the user is located is stored by adopting a block chain mode, and the scenic spot recording information stored on the chain can be synchronized in a plurality of block node devices of the block chain and cannot be tampered, so that the safety of the scenic spot recording information is ensured, and the efficiency of searching the scenic spot recording information is further improved; because the scenic spot recording information carries user information and time information, the scenic spot codes acquired by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the user cannot forge related scenic spot recording information privately and store the scenic spot recording information, and the authenticity of the scenic spot recording information is effectively ensured; the contents are published and displayed by providing the iconic graphic identification, so that the display form of the scenic spot information record can be enriched, and the user viscosity is improved.
Referring to fig. 7 together based on the implementation frameworks of fig. 1 and fig. 2, a schematic flow chart of a scenic spot information recording method is provided in an embodiment of the present invention. As shown in fig. 7, the method of the embodiment of the present invention may include the following steps S501 to S502.
S501, a sight spot code displayed by sight spot verification equipment of a sight spot is obtained, and sight spot recording information and block address information of a sight spot block chain carried in the sight spot code are obtained;
specifically, the scenic spot verification device may monitor whether input user information exists in a currently displayed record page, where the input mode includes, but is not limited to, touch screen input, physical keyboard input, voice input, and the like, the record page may have an input box, a user may input user information in the input box, the user information may include information such as a social account number of a social content publishing platform or a mobile phone number registered in the social content publishing platform, when a confirmation instruction of the user information input in the input box is detected, the scenic spot verification device determines that the input user information exists in the currently recorded page, the scenic spot verification device obtains the user information, generates scenic spot association information based on the user information, currently recorded time information, and the scenic spot information, and the currently recorded time information is preferably a time stamp for obtaining the user information, the scenery spot information may include, but is not limited to, scenery spot names, scenery spot addresses, scenery spot patterns, and other information associated with a scenery spot located therein, and it is understood that the scenery spot associated information may be specifically expressed as "user information-time information-scenery spot information", and of course, the expression manner is merely an example, and other permutation and combination manners may also exist, and the expression manner is specifically determined according to actual scene needs.
After the scenic spot verification device generates the scenic spot associated information, the scenic spot verification device may encrypt the scenic spot associated information by using a device private key assigned by a scenic spot block chain in advance through a block node device to obtain scenic spot signature information, further, the scenic spot verification device may hash the scenic spot associated information to obtain a hash value corresponding to the scenic spot associated information, encrypt the hash value by using the device private key to obtain the scenic spot signature information, and generate scenic spot record information including the scenic spot associated information and the scenic spot signature information.
The scenic spot verification device can generate scenic spot codes based on the scenic spot recording information and the block address information of the scenic spot block chain, preferably, the device public key can be used as the block address information of the scenic spot verification device in the scenic spot block chain, the scenic spot codes can be bar codes, two-dimensional codes and other graphic codes which can be scanned, and the scenic spot verification device can display the scenic spot codes in a recording page.
The user terminal can start a camera module of the user terminal through a scanning function in the installed social application, scan the scenery spot code displayed by the scenery spot verification device, acquire the scenery code displayed by the scenery verification device of the current scenery, analyze the scenery code, and acquire scenery recording information carried in the scenery code and block address information of a scenery block chain.
S502, the scenic spot recording information is sent to block node equipment based on the block address information;
specifically, the user terminal may send the scenic spot recording information to the block node device for uplink storage based on the block address information, and it may be understood that the user terminal may send the scenic spot recording information to a block in the scenic spot block chain corresponding to the block address information for uplink storage based on the content publishing service device corresponding to the social application.
In the embodiment of the invention, the scenic spot recording information of the scenic spot where the user is located is stored by adopting a block chain mode, and the scenic spot recording information stored on the chain can be synchronized in a plurality of block node devices of the block chain and cannot be tampered, so that the safety of the scenic spot recording information is ensured, and the efficiency of searching the scenic spot recording information is further improved; because the scenic spot recording information carries user information and time information, the scenic spot codes obtained by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the user cannot forge related scenic spot recording information in a private mode to store uplink, and the authenticity of the scenic spot recording information is effectively guaranteed.
Referring to fig. 8 together based on the implementation frameworks of fig. 1 and fig. 2, a schematic flow chart of a scenic spot information recording method is provided in an embodiment of the present invention. As shown in fig. 8, the method of the embodiment of the present invention may include the following steps S601 to S607.
S601, obtaining a sight spot code displayed by sight spot verification equipment of a sight spot, and obtaining sight spot recording information carried in the sight spot code and block address information of a sight spot block chain;
s602, sending the scenic spot recording information to block node equipment based on the block address information;
it should be noted that, after the scenic spot recording information is stored in the uplink, the user may display the scenic spot recording information in a social content publishing platform set up by the social application in two ways.
In the first implementation manner of the embodiment of the present invention, please refer to step S603-step S604.
S603, obtaining a scenic spot verification identifier returned by the block node device based on the scenic spot recording information;
specifically, the block node device may generate a sight spot verification identifier corresponding to the sight spot recording information based on a preset intelligent contract, and it may be understood that the sight spot verification identifier may be used to prove authenticity of the sight spot recording information, and meanwhile, the sight spot verification identifier may specifically be a unique graphic identifier of the sight spot, for example: the scenic spot verification identifier of the great wall can be a pattern of the great wall, the scenic spot verification identifier of the home position can be a pattern of the home position, and the like, and the block node device can send the scenic spot verification identifier to the user terminal through the content publishing service device through an intelligent contract. And the user terminal receives the scenic spot verification identifier and can display an edit page containing the scenic spot verification identifier and published by the social content.
S604, when a confirmation issue instruction of the scenic spot verification identifier is detected, generating first content issue information based on the scenic spot verification identifier, and sending the first content issue information to content issue service equipment;
specifically, when the user clicks a button for confirming release in the edit page, the user terminal may determine to detect a confirmation release instruction for the sight spot verification identifier, the user terminal may generate first content release information based on the sight spot verification identifier, optionally, when the user terminal is on the edit page, the user may add multimedia information in the edit page, the multimedia information may include, but is not limited to, content such as text information, picture information, video information, and the like, the multimedia information may be instantly edited by the user terminal for the user, may also be previously photographed and stored for the user, and the user terminal may generate the first content release information based on the sight spot verification identifier and the multimedia information. The user terminal may transmit the first content distribution information to the content distribution service apparatus based on an interactive application.
The content publishing service device may receive the first publishing content information, may obtain user information of the user in the social application, and the content publishing service device may display the first publishing content information in the social content publishing platform based on the user information. The contents are issued and displayed by providing the iconic graphic identification, so that the display form of the scenic spot information record can be enriched, and the user viscosity is improved.
In a second implementation manner of the embodiment of the present invention, please refer to steps S605-S607.
S605, obtaining a scenery spot recording information set associated with the user information from the block node device, and obtaining the selected scenery spot recording information from the scenery spot recording information set;
specifically, the user can actively request to enter an edit page of social content publication of the social application through the user terminal, the user terminal may request the spot recording information sets associated with the user information from the block node device through a content distribution service device, the block node device may traverse a plurality of spot recording information associated with the user information in all of the generated blocks, and returning to the content distribution service device, the content distribution service device may package the scenery spot recording information in a form of a table to generate a scenery spot recording information set, and return the scenery spot recording information set to the user terminal, optionally, the scenic spot recording information set may further include a scenic spot verification identifier corresponding to each piece of scenic spot recording information, which is sent by the block node device. Of course, the block node device may also directly generate the attraction record information set associated with the user information, and return the attraction record information set to the user terminal.
The user terminal can display the scenery spot recording information collection in the editing page, at this time, the user can select one or more pieces of scenery spot recording information to be issued in the scenery spot recording information collection, and the user terminal can obtain the selected scenery spot recording information.
S606, obtaining the scenic spot verification identification corresponding to the scenic spot recording information, and obtaining the input multimedia information;
specifically, the user terminal may obtain the sight spot verification identifier corresponding to the selected sight spot recording information, and obtain multimedia information added by the user in an editing page, where the multimedia information may include, but is not limited to, text information, picture information, video information, and the like, and the multimedia information may be instantly edited by the user through the user terminal, or may be previously photographed and stored by the user.
S607, generating second content publishing information based on the scenic spot verification identifier and the multimedia information, and sending the second content publishing information to content publishing service equipment;
specifically, the user terminal may generate second content distribution information based on the scenic spot verification identifier and the multimedia information. The user terminal may transmit the second content distribution information to the content distribution service apparatus based on an interactive application.
The content publishing service device may receive the second publishing content information, may obtain user information of the user in the social application, and the content publishing service device may display the second publishing content information in the social content publishing platform based on the user information. The contents are issued and displayed by providing the iconic graphic identification, so that the display form of the scenic spot information record can be enriched, and the user viscosity is improved.
It should be noted that, for steps S601 to S602 in the embodiment of the present invention, reference may be made to detailed descriptions of steps S501 to S502 in the embodiment shown in fig. 7, which is not described herein again.
In the embodiment of the invention, the scenic spot recording information of the scenic spot where the user is located is stored by adopting a block chain mode, and the scenic spot recording information stored on the chain can be synchronized in a plurality of block node devices of the block chain and cannot be tampered, so that the safety of the scenic spot recording information is ensured, and the efficiency of searching the scenic spot recording information is further improved; because the scenic spot recording information carries user information and time information, the scenic spot codes acquired by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the user cannot forge related scenic spot recording information privately and store the scenic spot recording information, and the authenticity of the scenic spot recording information is effectively ensured; the contents are published and displayed by providing the iconic graphic identification, so that the display form of the scenic spot information record can be enriched, and the user viscosity is improved.
Referring to fig. 9 together based on the implementation frameworks of fig. 1 and fig. 2, a schematic flow chart of a scenic spot information recording method is provided in an embodiment of the present invention. As shown in fig. 9, the method of the embodiment of the present invention may include the following steps S701 to S703.
S701, acquiring user information input on a scenery spot information recording page, and generating scenery spot associated information based on the user information, the currently recorded time information and the scenery spot information;
specifically, the scenic spot verification device may monitor whether input user information exists in a currently displayed record page, where the input mode includes, but is not limited to, touch screen input, physical keyboard input, voice input, and the like, the record page may have an input box, a user may input user information in the input box, the user information may include information such as a social account number of a social content publishing platform or a mobile phone number registered in the social content publishing platform, when a confirmation instruction of the user information input in the input box is detected, the scenic spot verification device determines that the input user information exists in the currently recorded page, the scenic spot verification device obtains the user information, generates scenic spot association information based on the user information, currently recorded time information, and the scenic spot information, and the currently recorded time information is preferably a time stamp for obtaining the user information, the scenery spot information may include, but is not limited to, scenery spot names, scenery spot addresses, scenery spot patterns, and other information associated with a scenery spot located therein, and it is understood that the scenery spot associated information may be specifically expressed as "user information-time information-scenery spot information", and of course, the expression manner is merely an example, and other permutation and combination manners may also exist, and the expression manner is specifically determined according to actual scene needs.
S702, encrypting the scenic spot associated information by adopting an equipment private key to obtain scenic spot signature information, and generating scenic spot recording information containing the scenic spot associated information and the scenic spot signature information;
specifically, after the scenic spot verification device generates the scenic spot associated information, the scenic spot verification device may use a device private key assigned by a scenic spot block chain in advance through a block node device to encrypt the scenic spot associated information to obtain scenic spot signature information, further, the scenic spot verification device may hash the scenic spot associated information to obtain a hash value corresponding to the scenic spot associated information, use the device private key to encrypt the hash value to obtain the scenic spot signature information, and generate scenic spot record information including the scenic spot associated information and the scenic spot signature information.
S703, generating a sight spot code based on the sight spot recording information and the block address information of the sight spot block chain, and displaying the sight spot code;
specifically, the sight spot verification device may generate a sight spot code based on the sight spot recording information and the block address information of the sight spot block chain, preferably, the device public key may serve as the block address information of the sight spot verification device in the sight spot block chain, the sight spot code may specifically be a bar code, a two-dimensional code, or other graphic code that can be scanned, and the sight spot verification device may display the sight spot code in a recording page.
The user terminal can start a camera module of the user terminal through a scanning function in the installed social application, scan the scenery spot code displayed by the scenery spot verification device, acquire the scenery code displayed by the scenery verification device of the current scenery, analyze the scenery code, and acquire scenery recording information carried in the scenery code and block address information of a scenery block chain.
The user terminal may send the scenic spot recording information to the block node device for uplink storage based on the block address information, and it may be understood that the user terminal may send the scenic spot recording information to a block in a scenic spot block chain corresponding to the block address information for uplink storage based on the content publishing service device corresponding to the social application.
In the embodiment of the invention, the scenic spot recording information of the scenic spot where the user is located is stored by adopting a block chain mode, and the scenic spot recording information stored on the chain can be synchronized in a plurality of block node devices of the block chain and cannot be tampered, so that the safety of the scenic spot recording information is ensured, and the efficiency of searching the scenic spot recording information is further improved; because the scenic spot recording information carries user information and time information, the scenic spot codes obtained by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the user cannot forge related scenic spot recording information in a private mode to store uplink, and the authenticity of the scenic spot recording information is effectively guaranteed.
Referring to fig. 10 together based on the implementation frameworks of fig. 1 and fig. 2, a schematic flow chart of a scenic spot information recording method is provided in an embodiment of the present invention. As shown in fig. 10, the method of the embodiment of the present invention may include the following steps S801 to S804.
S801, acquiring an equipment public key and an equipment private key which are distributed by block node equipment based on a scenic spot block chain, and storing the equipment public key and the equipment private key;
specifically, the scenic spot block chain may be established by the scenic spot verification device, or may be established by a background service device of the scenic spot verification device, the scenic spot verification device may obtain a device public key and a device private key that are allocated by the block node device based on the scenic spot block chain, and store the device public key and the device private key, it needs to be described that different scenic spot verification devices of the same scenic spot may allocate different device private keys and device public keys, and the device private key and the device public key uniquely correspond to each other, of course, all the scenic spot verification devices belonging to the same scenic spot may also share the device private key and the device public key, and specifically may be set according to actual scene requirements.
S802, acquiring user information input on a scenery spot information recording page, and generating scenery spot associated information based on the user information, the currently recorded time information and the scenery spot information;
s803, an equipment private key is adopted to encrypt the scenery spot associated information to obtain scenery spot signature information, and scenery spot recording information containing the scenery spot associated information and the scenery spot signature information is generated;
s804, generating a scenery spot code based on the scenery spot recording information and the block address information of the scenery spot block chain, and displaying the scenery spot code.
It should be noted that, for steps S802 to S804 according to the embodiment of the present invention, reference may be made to detailed descriptions of steps S701 to S703 in the embodiment shown in fig. 9, which is not described herein again.
In the embodiment of the invention, the scenic spot recording information of the scenic spot where the user is located is stored by adopting a block chain mode, and the scenic spot recording information stored on the chain can be synchronized in a plurality of block node devices of the block chain and cannot be tampered, so that the safety of the scenic spot recording information is ensured, and the efficiency of searching the scenic spot recording information is further improved; because the scenic spot recording information carries user information and time information, the scenic spot codes obtained by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the user cannot forge related scenic spot recording information in a private mode to store uplink, and the authenticity of the scenic spot recording information is effectively guaranteed.
Based on the implementation frameworks of fig. 1 and fig. 2, the user terminal provided by the embodiment of the present invention will be described in detail below with reference to fig. 11 and fig. 12. It should be noted that, the user terminal shown in fig. 11 and 12 is used for executing the method of the embodiment shown in fig. 7 and 8 of the present invention, for convenience of description, only the portion related to the embodiment of the present invention is shown, and details of the specific technology are not disclosed, please refer to the embodiment shown in fig. 7 and 8 of the present invention.
Referring to fig. 11, a schematic structural diagram of a user terminal is provided in an embodiment of the present invention. As shown in fig. 11, the user terminal 1 according to the embodiment of the present invention may include: a sight information acquisition unit 11 and a sight information transmission unit 12.
The scenic spot information acquiring unit 11 is configured to acquire a scenic spot code displayed by a scenic spot verification device of a scenic spot, and acquire scenic spot recording information and block address information of a scenic spot block chain carried in the scenic spot code;
a scenic spot information sending unit 12, configured to send the scenic spot recording information to a block node device based on the block address information.
In the embodiment of the invention, the scenic spot recording information of the scenic spot where the user is located is stored by adopting a block chain mode, and the scenic spot recording information stored on the chain can be synchronized in a plurality of block node devices of the block chain and cannot be tampered, so that the safety of the scenic spot recording information is ensured, and the efficiency of searching the scenic spot recording information is further improved; because the scenic spot recording information carries user information and time information, the scenic spot codes obtained by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the user cannot forge related scenic spot recording information in a private mode to store uplink, and the authenticity of the scenic spot recording information is effectively guaranteed.
Referring to fig. 12, a schematic structural diagram of a user terminal is provided in an embodiment of the present invention. As shown in fig. 12, the user terminal 1 according to the embodiment of the present invention may include: a scenic information acquisition unit 11, a scenic information transmission unit 12, an identification acquisition unit 13, a first information distribution unit 14, a recording information acquisition unit 15, an identification information acquisition unit 16, and a second information distribution unit 17.
The scenic spot information acquiring unit 11 is configured to acquire a scenic spot code displayed by a scenic spot verification device of a scenic spot, and acquire scenic spot recording information and block address information of a scenic spot block chain carried in the scenic spot code;
a scenic spot information sending unit 12, configured to send the scenic spot recording information to a block node device based on the block address information;
an identifier obtaining unit 13, configured to obtain a scenic spot verification identifier returned by the block node device based on the scenic spot recording information;
the first information issuing unit 14 is configured to, when a confirmation issuing instruction for the sight spot verification identifier is detected, generate first content issuing information based on the sight spot verification identifier, and send the first content issuing information to a content issuing service device;
a recording information obtaining unit 15, configured to obtain, from the block node device, a scenery spot recording information set associated with the user information, and obtain the selected scenery spot recording information in the scenery spot recording information set;
an identification information obtaining unit 16, configured to obtain a scenic spot verification identification corresponding to the scenic spot recording information, and obtain the input multimedia information;
and the second information issuing unit 17 is configured to generate second content issuing information based on the scenic spot verification identifier and the multimedia information, and send the second content issuing information to a content issuing service device.
In the embodiment of the invention, the scenic spot recording information of the scenic spot where the user is located is stored by adopting a block chain mode, and the scenic spot recording information stored on the chain can be synchronized in a plurality of block node devices of the block chain and cannot be tampered, so that the safety of the scenic spot recording information is ensured, and the efficiency of searching the scenic spot recording information is further improved; because the scenic spot recording information carries user information and time information, the scenic spot codes acquired by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the user cannot forge related scenic spot recording information privately and store the scenic spot recording information, and the authenticity of the scenic spot recording information is effectively ensured; the contents are published and displayed by providing the iconic graphic identification, so that the display form of the scenic spot information record can be enriched, and the user viscosity is improved.
Based on the implementation framework of fig. 1 and fig. 2, the following describes in detail the attraction verification device provided by the embodiment of the present invention with reference to fig. 13 and fig. 14. It should be noted that, the apparatus shown in fig. 13 and 14 is used for executing the method of the embodiment shown in fig. 9 and 10 of the present invention, and for convenience of description, only the portion related to the embodiment of the present invention is shown, and details of the specific technology are not disclosed, please refer to the embodiment shown in fig. 9 and 10 of the present invention.
Referring to fig. 13, a schematic structural diagram of an attraction verification device according to an embodiment of the present invention is provided. As shown in fig. 13, the attraction verification device 2 according to an embodiment of the present invention may include: a related information generating unit 21, a recording information generating unit 22, and a code display unit 23.
The related information generating unit 21 is configured to acquire user information input on a scene information recording page, and generate scene related information based on the user information, currently recorded time information, and scene information;
the recording information generating unit 22 is configured to encrypt the scenic spot associated information by using an equipment private key to obtain scenic spot signature information, and generate scenic spot recording information including the scenic spot associated information and the scenic spot signature information;
and the code display unit 23 is configured to generate a scene code based on the scene recording information and the block address information of the scene block chain, and display the scene code.
In the embodiment of the invention, the scenic spot recording information of the scenic spot where the user is located is stored by adopting a block chain mode, and the scenic spot recording information stored on the chain can be synchronized in a plurality of block node devices of the block chain and cannot be tampered, so that the safety of the scenic spot recording information is ensured, and the efficiency of searching the scenic spot recording information is further improved; because the scenic spot recording information carries user information and time information, the scenic spot codes obtained by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the user cannot forge related scenic spot recording information in a private mode to store uplink, and the authenticity of the scenic spot recording information is effectively guaranteed.
Please refer to fig. 14, which is a schematic structural diagram of an attraction verification device according to an embodiment of the present invention. As shown in fig. 14, the attraction verification device 2 according to an embodiment of the present invention may include: a related information generating unit 21, a recording information generating unit 22, and a code display unit 23.
A key pair storage unit 24, configured to obtain an equipment public key and an equipment private key that are allocated by the block node equipment based on the scenic spot block chain, and store the equipment public key and the equipment private key;
the related information generating unit 21 is configured to acquire user information input on a scene information recording page, and generate scene related information based on the user information, currently recorded time information, and scene information;
the recording information generating unit 22 is configured to encrypt the scenic spot associated information by using an equipment private key to obtain scenic spot signature information, and generate scenic spot recording information including the scenic spot associated information and the scenic spot signature information;
and the code display unit 23 is configured to generate a scene code based on the scene recording information and the block address information of the scene block chain, and display the scene code.
In the embodiment of the invention, the scenic spot recording information of the scenic spot where the user is located is stored by adopting a block chain mode, and the scenic spot recording information stored on the chain can be synchronized in a plurality of block node devices of the block chain and cannot be tampered, so that the safety of the scenic spot recording information is ensured, and the efficiency of searching the scenic spot recording information is further improved; because the scenic spot recording information carries user information and time information, the scenic spot codes obtained by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the user cannot forge related scenic spot recording information in a private mode to store uplink, and the authenticity of the scenic spot recording information is effectively guaranteed.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a plurality of program instructions, where the program instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 7 to 10, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 7 to 10, which is not described herein again.
Fig. 15 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 15, the electronic device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, input output interfaces 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 15, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, an input-output interface module, and an information recording application program.
In the electronic device 1000 shown in fig. 15, the input/output interface 1003 is mainly used as an interface for providing input for a user and acquiring data input by the user.
In one embodiment, the processor 1001 may be configured to invoke an information recording application stored in the memory 1005 and specifically perform the following operations:
the method comprises the steps of obtaining a sight spot code displayed by sight spot verification equipment of a sight spot, and obtaining sight spot recording information carried in the sight spot code and block address information of a sight spot block chain;
sending the scenic spot recording information to block node equipment based on the block address information so that the block node equipment can perform uplink storage on the scenic spot recording information;
the scenic spot recording information comprises scenic spot associated information and scenic spot signature information, the scenic spot associated information comprises user information, time information corresponding to scenic spot codes and the scenic spot information, and the scenic spot signature information is signature information obtained by the scenic spot verification device through encryption processing of the scenic spot associated information based on a device private key of the scenic spot verification device.
Optionally, the processor 1001 further performs the following operations:
obtaining a scenic spot verification identifier returned by the block node device based on the scenic spot recording information;
when a confirmed issuing instruction of the scenic spot verification identifier is detected, first content issuing information is generated based on the scenic spot verification identifier, and the first content issuing information is sent to content issuing service equipment, so that the content issuing service equipment can display the first content issuing information in a social content issuing platform.
Optionally, the processor 1001 further performs the following operations:
acquiring a scenery spot recording information set associated with the user information from the block node equipment, and acquiring the selected scenery spot recording information from the scenery spot recording information set;
obtaining a scenery spot verification identifier corresponding to the scenery spot recording information, and obtaining input multimedia information;
and generating second content publishing information based on the scenic spot verification identifier and the multimedia information, and sending the second content publishing information to content publishing service equipment so that the content publishing service equipment can display the second content publishing information in a social content publishing platform.
In one embodiment, the processor 1001 may be configured to invoke an information recording application stored in the memory 1005 and specifically perform the following operations:
acquiring user information input on a scenery spot information recording page, and generating scenery spot associated information based on the user information, currently recorded time information and scenery spot information;
encrypting the scenic spot associated information by adopting an equipment private key to obtain scenic spot signature information, and generating scenic spot recording information containing the scenic spot associated information and the scenic spot signature information;
generating a sight spot code based on the sight spot recording information and the block address information of the sight spot block chain, and displaying the sight spot code;
the scenic spot codes are used for the user terminal to obtain and analyze scenic spot recording information and the block address information, so that the user terminal sends the scenic spot recording information to block node equipment for uplink storage based on the block address information.
Optionally, before the processor 1001 acquires the user information input on the attraction information recording page, the following operations are further performed:
and acquiring an equipment public key and an equipment private key which are distributed by the block node equipment based on the scenic spot block chain, and storing the equipment public key and the equipment private key.
Optionally, when the processor 1001 performs encryption processing on the scenic spot associated information by using a device private key to obtain scenic spot signature information and generates scenic spot recording information including the scenic spot associated information and the scenic spot signature information, the following operations are specifically performed:
performing hash processing on the scenery spot associated information to obtain a hash value corresponding to the scenery spot associated information;
and encrypting the hash value by adopting an equipment private key to obtain scenery spot signature information, and generating scenery spot recording information containing the scenery associated information and the scenery signature information.
In the embodiment of the invention, the scenic spot recording information of the scenic spot where the user is located is stored by adopting a block chain mode, and the scenic spot recording information stored on the chain can be synchronized in a plurality of block node devices of the block chain and cannot be tampered, so that the safety of the scenic spot recording information is ensured, and the efficiency of searching the scenic spot recording information is further improved; because the scenic spot recording information carries user information and time information, the scenic spot codes acquired by different users are different, and the scenic spot recording information also contains scenic spot signature information obtained by encrypting through an equipment private key, so that the user cannot forge related scenic spot recording information privately and store the scenic spot recording information, and the authenticity of the scenic spot recording information is effectively ensured; the contents are published and displayed by providing the iconic graphic identification, so that the display form of the scenic spot information record can be enriched, and the user viscosity is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A method for recording scene information, comprising:
the method comprises the steps of obtaining a sight spot code displayed by sight spot verification equipment of a sight spot, and obtaining sight spot recording information carried in the sight spot code and block address information of a sight spot block chain;
sending the scenic spot recording information to block node equipment based on the block address information so that the block node equipment can perform uplink storage on the scenic spot recording information;
the scenic spot recording information comprises scenic spot associated information and scenic spot signature information, the scenic spot associated information comprises user information, time information corresponding to scenic spot codes and scenic spot information, and the scenic spot signature information is signature information obtained by the scenic spot verification equipment through encryption processing of the scenic spot associated information based on an equipment private key of the scenic spot verification equipment;
after the uplink is successful, obtaining a scenic spot verification identifier corresponding to the scenic spot recording information, generating content publishing information according to the scenic spot verification identifier, and displaying the content publishing information on a social content publishing platform; the sight spot verification identifier is a graphic identifier of the sight spot.
2. The method according to claim 1, wherein the content distribution information includes first content distribution information;
the obtaining of the sight spot verification identifier corresponding to the sight spot recording information, generating content publishing information according to the sight spot verification identifier, and displaying the content publishing information on a social content publishing platform includes:
obtaining a scenic spot verification identifier returned by the block node device based on the scenic spot recording information;
when a confirmed issuing instruction of the scenic spot verification identifier is detected, first content issuing information is generated based on the scenic spot verification identifier, and the first content issuing information is sent to content issuing service equipment, so that the content issuing service equipment can display the first content issuing information in a social content issuing platform.
3. The method according to claim 1, wherein the content distribution information includes second content distribution information;
the obtaining of the sight spot verification identifier corresponding to the sight spot recording information, generating content publishing information according to the sight spot verification identifier, and displaying the content publishing information on a social content publishing platform includes:
acquiring a scenery spot recording information set associated with the user information from the block node equipment, and acquiring the selected scenery spot recording information from the scenery spot recording information set;
obtaining a scenery spot verification identifier corresponding to the scenery spot recording information, and obtaining input multimedia information;
and generating second content publishing information based on the scenic spot verification identifier and the multimedia information, and sending the second content publishing information to content publishing service equipment so that the content publishing service equipment can display the second content publishing information in a social content publishing platform.
4. A method for recording scene information, comprising:
acquiring user information input on a scenery spot information recording page, and generating scenery spot associated information based on the user information, currently recorded time information and scenery spot information;
encrypting the scenic spot associated information by adopting an equipment private key to obtain scenic spot signature information, and generating scenic spot recording information containing the scenic spot associated information and the scenic spot signature information;
generating a sight spot code based on the sight spot recording information and the block address information of the sight spot block chain, and displaying the sight spot code;
the scenic spot code is used for a user terminal to obtain and analyze scenic spot recording information and the block address information, so that the user terminal sends the scenic spot recording information to block node equipment for uplink storage based on the block address information, obtains a scenic spot verification identifier corresponding to the scenic spot recording information after the uplink is successful, generates content release information according to the scenic spot verification identifier, and displays the content release information on a social content release platform; the scenic spot verification identifier is a graphic identifier of the scenic spot corresponding to the scenic spot recording information.
5. The method of claim 4, wherein the obtaining the user information input on the attraction information recording page is preceded by:
and acquiring an equipment public key and an equipment private key which are distributed by the block node equipment based on the scenic spot block chain, and storing the equipment public key and the equipment private key.
6. The method of claim 4, wherein the encrypting the attraction associated information with a device private key to obtain attraction signature information and generating the attraction record information including the attraction associated information and the attraction signature information comprises:
performing hash processing on the scenery spot associated information to obtain a hash value corresponding to the scenery spot associated information;
and encrypting the hash value by adopting an equipment private key to obtain scenery spot signature information, and generating scenery spot recording information containing the scenery associated information and the scenery signature information.
7. A user terminal, comprising:
the system comprises a sight spot information acquisition unit, a scene spot verification device and a scene spot information management unit, wherein the sight spot information acquisition unit is used for acquiring a sight spot code displayed by the sight spot verification device of a sight spot, and acquiring sight spot recording information and block address information of a sight spot block chain carried in the sight spot code;
the scenic spot information sending unit is used for sending the scenic spot recording information to block node equipment based on the block address information so that the block node equipment can carry out uplink storage on the scenic spot recording information;
the scenic spot recording information comprises scenic spot associated information and scenic spot signature information, the scenic spot associated information comprises user information, time information corresponding to scenic spot codes and scenic spot information, and the scenic spot signature information is signature information obtained by the scenic spot verification equipment through encryption processing of the scenic spot associated information based on an equipment private key of the scenic spot verification equipment;
the scenic spot information sending unit is further used for acquiring a scenic spot verification identifier corresponding to the scenic spot recording information after successful uplink, generating content release information according to the scenic spot verification identifier, and displaying the content release information on a social content release platform; the sight spot verification identifier is a graphic identifier of the sight spot.
8. An attraction verification device, comprising:
the system comprises a related information generating unit, a scene information recording unit and a scene information recording unit, wherein the related information generating unit is used for acquiring user information input on a scene information recording page and generating scene related information based on the user information, currently recorded time information and scene information;
the device comprises a recording information generating unit, a scene identification unit and a scene identification unit, wherein the recording information generating unit is used for encrypting the scene associated information by adopting a device private key to obtain scene signature information and generating scene recording information containing the scene associated information and the scene signature information;
the code display unit is used for generating a scenery spot code based on the scenery spot recording information and the block address information of the scenery spot block chain and displaying the scenery spot code;
the scenic spot code is used for a user terminal to obtain and analyze scenic spot recording information and the block address information, so that the user terminal sends the scenic spot recording information to block node equipment for uplink storage based on the block address information, obtains a scenic spot verification identifier corresponding to the scenic spot recording information after the uplink is successful, generates content release information according to the scenic spot verification identifier, and displays the content release information on a social content release platform; the scenic spot verification identifier is a graphic identifier of the scenic spot corresponding to the scenic spot recording information.
9. An electronic device, comprising a processor, a memory, an input-output interface;
the processor is connected with the memory and the input/output interface respectively, wherein the input/output interface is used for page interaction, the memory is used for storing program codes, and the processor is used for calling the program codes to execute the method according to any one of claims 1-6.
10. A computer storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions that, when executed by a processor, perform the method according to any one of claims 1-6.
CN201910859199.6A 2019-09-11 2019-09-11 Scenic spot information recording method, related equipment and storage medium Active CN110601850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910859199.6A CN110601850B (en) 2019-09-11 2019-09-11 Scenic spot information recording method, related equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910859199.6A CN110601850B (en) 2019-09-11 2019-09-11 Scenic spot information recording method, related equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110601850A CN110601850A (en) 2019-12-20
CN110601850B true CN110601850B (en) 2021-03-26

Family

ID=68859189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910859199.6A Active CN110601850B (en) 2019-09-11 2019-09-11 Scenic spot information recording method, related equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110601850B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094759A (en) * 2020-01-08 2021-07-09 福历科技(上海)有限公司 Data processing method and device based on kungfu chain
CN112750223A (en) * 2021-01-05 2021-05-04 南京七加二网络科技有限公司 Intelligent scenic spot processing method and device, storage medium and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108876449A (en) * 2018-06-07 2018-11-23 深圳鑫宏图工业设计有限公司 A kind of touring system management method, electronic equipment and storage medium
CN109064120A (en) * 2018-07-10 2018-12-21 马上游科技股份有限公司 Tourism electric contract number deposit system based on region chain and deposit card method
CN109064215A (en) * 2018-07-10 2018-12-21 马上游科技股份有限公司 The male to male settlement system of tourism commission and method based on region chain
CN110099123A (en) * 2019-05-08 2019-08-06 深圳市元征科技股份有限公司 A kind of processing method and relevant device of sight spot information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9515833B2 (en) * 2014-01-06 2016-12-06 Lett.rs LLC Electronic personal signature generation and distribution for personal communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108876449A (en) * 2018-06-07 2018-11-23 深圳鑫宏图工业设计有限公司 A kind of touring system management method, electronic equipment and storage medium
CN109064120A (en) * 2018-07-10 2018-12-21 马上游科技股份有限公司 Tourism electric contract number deposit system based on region chain and deposit card method
CN109064215A (en) * 2018-07-10 2018-12-21 马上游科技股份有限公司 The male to male settlement system of tourism commission and method based on region chain
CN110099123A (en) * 2019-05-08 2019-08-06 深圳市元征科技股份有限公司 A kind of processing method and relevant device of sight spot information

Also Published As

Publication number Publication date
CN110601850A (en) 2019-12-20

Similar Documents

Publication Publication Date Title
CN110602087B (en) Intelligent screen projection method and device, intelligent terminal and server
CN112215318B (en) Offline storage and taking method and device for intelligent cabinet
CN108197891A (en) A kind of electronic signature device and method based on block chain
CN107196917B (en) Service response method and middleware thereof
CN110380864B (en) Method, device and system for acquiring and verifying face data
JP6207797B1 (en) User authentication method and system for realizing the method
CN110866265A (en) Data storage method, device and storage medium based on block chain
CN111352740A (en) Application interaction processing method and device
CN110601850B (en) Scenic spot information recording method, related equipment and storage medium
CN110599653B (en) Access control unlocking method, device and storage medium
CN111506632A (en) Data processing method and device
CN109194651A (en) A kind of identity identifying method, device, equipment and storage medium
CN111488372A (en) Data processing method, device and storage medium
KR20200103394A (en) System and method for providing smart contract of content sharing for integrity verification based on blockchain
CN111951457A (en) Electronic voting method, device, terminal equipment and storage medium
CN113259140B (en) Cloud conference box rapid conference entering method and system
CN113038192B (en) Video processing method and device, electronic equipment and storage medium
CN109978479A (en) A kind of electronic invoice method of charging out, device, data sharing server and system
CN110943960A (en) Court trial record electronic signature generation method, device, equipment and medium
CN105141624A (en) Login method, account management server and client system
CN112492401B (en) Video-based interaction method and device, computer-readable medium and electronic equipment
CN112561475A (en) Electronic signing system and method
CN113946739A (en) Sensitive data query method, device, equipment and storage medium
CN113420133B (en) Session processing method, device, equipment and storage medium
CN111008251A (en) Data processing method and equipment

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211228

Address after: Room 19F, Kungang science and technology building, 777 Huancheng South Road, Xishan District, Kunming City, Yunnan Province, 650000

Patentee after: Yunnan Tengyun Information Industry Co.,Ltd.

Address before: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.