CN110363687A - Recording method, device, electronic equipment, terminal and the medium of travel information - Google Patents
Recording method, device, electronic equipment, terminal and the medium of travel information Download PDFInfo
- Publication number
- CN110363687A CN110363687A CN201910629893.9A CN201910629893A CN110363687A CN 110363687 A CN110363687 A CN 110363687A CN 201910629893 A CN201910629893 A CN 201910629893A CN 110363687 A CN110363687 A CN 110363687A
- Authority
- CN
- China
- Prior art keywords
- information
- certificates constructing
- node
- travel information
- block chain
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000013475 authorization Methods 0.000 claims description 36
- 238000012545 processing Methods 0.000 claims description 35
- 238000012795 verification Methods 0.000 claims description 20
- 230000005540 biological transmission Effects 0.000 claims description 18
- 238000012544 monitoring process Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 6
- 238000011156 evaluation Methods 0.000 claims description 6
- KAICRBBQCRKMPO-UHFFFAOYSA-N phosphoric acid;pyridine-3,4-diamine Chemical compound OP(O)(O)=O.NC1=CC=NC=C1N KAICRBBQCRKMPO-UHFFFAOYSA-N 0.000 description 42
- 230000006870 function Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 7
- 230000006399 behavior Effects 0.000 description 6
- 238000010200 validation analysis Methods 0.000 description 6
- 230000009471 action Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000000605 extraction Methods 0.000 description 4
- 230000005291 magnetic effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000006872 improvement Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000013506 data mapping Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 239000003550 marker Substances 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000029058 respiratory gaseous exchange Effects 0.000 description 2
- 230000004083 survival effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000010009 beating Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000009182 swimming Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/14—Travel agencies
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Primary Health Care (AREA)
- Marketing (AREA)
- Human Resources & Organizations (AREA)
- Bioethics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Economics (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention discloses a kind of recording method of travel information, device, electronic equipment, terminal and media.This method is applied to block chain node, comprising: receives at least one data uploading nodes and sends the information storage request including user account information and travel information, includes data uploading nodes position information in travel information;Information storage request is handled, by travel information and user account information associated storage into block chain;Receiving certificates constructing node and sending includes user account information and the certificates constructing request that certificates constructing requires;Certificates constructing request is handled, to obtain travel information associated with user account information, and is required to generate tourism certificate corresponding with travel information according to certificates constructing;Tourism certificate is fed back into certificates constructing node.The technical solution of the embodiment of the present invention reduces the time cost checked card, while improving tourism and checking card the credible of voucher, enriches tourism and checks card mode, and then enhances the interest that tourism is checked card.
Description
Technical field
The present embodiments relate to block chain technical field more particularly to a kind of recording methods of travel information, device, electricity
Sub- equipment, terminal and medium.
Background technique
Have the various regions travel application (Application, APP) of local characteristic more and more on the market at present, tourist by
Year goes up, and tourism is checked card as new tourist's demand.
In the prior art, user would generally carry out trip in the mode that social network sites upload tourist attractions or sight spot admission ticket photo
Trip is checked card, and mode of checking card is more single, and time cost is higher.In addition, since the authenticity of the photo of user's upload can not confirm,
So that there is tourism fraud in existing mode of checking card, cause user check card behavior confidence level it is poor.
Summary of the invention
The embodiment of the present invention provides recording method, device, electronic equipment, terminal and the medium of a kind of travel information, with rich
Richness tourism is checked card mode, and the time cost checked card is reduced, and is improved tourism and is checked card the confidence level of voucher.
In a first aspect, being applied to block chain node, institute the embodiment of the invention provides a kind of recording method of travel information
The method of stating includes:
Receive the information storage request of at least one data uploading nodes transmission, wherein wrap in the information storage request
User account information and travel information are included, includes data uploading nodes position information in the travel information;
The information storage request is handled, by the travel information and the user account information associated storage to block
In chain;
The certificates constructing request that certificates constructing node is sent is received, includes user account information in the certificates constructing request
With certificates constructing requirement;
The certificates constructing request is handled, with acquisition travel information associated with the user account information, and according to
The certificates constructing requires to generate tourism certificate corresponding with the travel information;
The tourism certificate is fed back into the certificates constructing node.
Second aspect, the embodiment of the invention also provides a kind of recording methods of travel information, are applied to lightweight node,
The described method includes:
When monitoring Client-initiated travel information upload request, current position is obtained by place terminal device and is believed
Breath;
Information storage request is sent to block chain network, includes user account information and tourism in the information storage request
Information, so that block chain node is by the travel information and the user account information associated storage into block chain;The trip
Swimming includes the location information in information;
Certificates constructing request is sent to block chain network, includes user account information and certificate in the certificates constructing request
It generates and requires;
Receive the tourism certificate of the block chain node feeding back in block chain network;Wherein, the tourism certificate is by block chain
When certificates constructing described in node processing is requested, the acquisition of travel information associated with the user account information is carried out, and will
The travel information obtained requires to generate according to the certificates constructing.
The third aspect, the embodiment of the invention also provides a kind of recording devices of travel information, are configured at block chain node,
Described device includes:
Information storage request receiving module, for receiving the information storage request of at least one data uploading nodes transmission,
Wherein, include user account information and travel information in the information storage request, include that data upload in the travel information
Node position information;
Information storage request processing module, for handling the information storage request, by the travel information with it is described
User account information associated storage is into block chain;
Certificates constructing request receiving module, for receiving the certificates constructing request of certificates constructing node transmission, the certificate
Generate in request includes user account information and certificates constructing requirement;
Certificates constructing request processing module is believed with obtaining with the user account for handling the certificates constructing request
The associated travel information of manner of breathing, and required to generate tourism certificate corresponding with the travel information according to the certificates constructing;
Tourism certificate feedback module, for the tourism certificate to be fed back to the certificates constructing node.
Fourth aspect, the embodiment of the invention also provides a kind of recording devices of travel information, are configured at lightweight node,
Described device includes:
Position information acquisition module, for passing through place end when monitoring Client-initiated travel information upload request
End equipment obtains current location information;
Information storage request sending module, for sending information storage request to block chain network, the information storage is asked
It include user account information and travel information in asking, so that block chain node is by the travel information and the user account information
Associated storage is into block chain;It include the location information in the travel information;
Certificates constructing request sending module, for sending certificates constructing request to block chain network, the certificates constructing is asked
It include user account information and certificates constructing requirement in asking;
Tourism certificate receiving module, for receiving the tourism certificate of the block chain node feeding back in block chain network;Wherein,
When tourism certificate certificates constructing as described in block chain node processing is requested, carry out associated with the user account information
The acquisition of travel information, and the travel information that will acquire is generated according to the certificates constructing requirement.
5th aspect, the embodiment of the invention also provides a kind of electronic equipment, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes a kind of recording method of travel information as provided by first aspect embodiment.
6th aspect, the embodiment of the invention also provides a kind of terminal devices, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes a kind of recording method of travel information as provided by second aspect embodiment.
7th aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes a kind of recording method of travel information as provided by first aspect embodiment when the program is executed by processor.
Eighth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes a kind of recording method of travel information as provided by second aspect embodiment when the program is executed by processor.
The embodiment of the present invention receives the information storage at least sent with a data uploading nodes by block chain node and asks
It asks, wherein include user account information and the travel information including data uploading nodes position in information storage request;Place
Information storage request is managed, by travel information and user account information associated storage into block chain;Receive certificates constructing node
What is sent includes the certificates constructing request of user account information and certificates constructing requirement;Handle certificates constructing request, with obtain with
The associated travel information of user account information, and required to generate travel certificate corresponding with travel information according to certificates constructing
Book;Tourism certificate is fed back into certificates constructing node.Above-mentioned technical proposal by by travel information and user account information in area
Associated storage in block chain, and by obtaining travel information from block chain, the mode for generating tourism certificate, which reduces, checks card
Time cost, while improving tourism and checking card the confidence level of voucher;It is required to carry out tourism certificate according to different certificates constructings
It generates, enriches tourism and check card mode, and then enhance the interest that tourism is checked card.
Detailed description of the invention
Figure 1A is the flow chart of the recording method of one of the embodiment of the present invention one travel information;
Figure 1B is the generating process schematic diagram of the tourism certificate in the embodiment of the present invention one;
Fig. 2 is the flow chart of the recording method of one of the embodiment of the present invention two travel information;
Fig. 3 is the flow chart of the recording method of one of the embodiment of the present invention three travel information;
Fig. 4 is the flow chart of the recording method of one of the embodiment of the present invention four travel information;
Fig. 5 is the flow chart of the recording method of one of the embodiment of the present invention five travel information;
Fig. 6 is the structure chart of the recording device of one of the embodiment of the present invention six travel information;
Fig. 7 is the structure chart of the recording device of one of the embodiment of the present invention seven travel information;
Fig. 8 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention eight provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Figure 1A is the flow chart of the recording method of one of the embodiment of the present invention one travel information, and the embodiment of the present invention is suitable
The request of tourism certificate is generated for the travel information based on user.This method is executed by the recording device of travel information, the dress
It sets through software and or hardware realization, and concrete configuration is in the electronic equipment for carrying block chain node, the electronic equipment institute
The block chain node of carrying can be the lightweight node for having certain data operation ability, can also be that carrying block chain is all
The full node of function.
A kind of recording method of travel information as shown in Figure 1A is applied to block chain network, comprising:
S110, the information storage request for receiving the transmission of at least one data uploading nodes, wherein the information storage request
In include user account information and travel information, include data uploading nodes position information in the travel information.
The generating process of tourism certificate in conjunction with shown in Figure 1B illustrates.
Wherein, data uploading nodes can be arranged in the lightweight node on subscriber terminal equipment, be used for block chain
Transmission includes the information storage request of user account information and travel information in network.
Wherein, data uploading nodes are at least one, and for same user account information, different travel informations can lead to
The transmission that same data uploading nodes carry out information storage request is crossed, information can also be carried out by different data uploading nodes
The transmission of request is stored, and then realizes travel information store function by block chain network.
In this step, at least one DAPP carried can be installed on the terminal device of user based on block chain,
It can be the intelligent contract for realizing certain business function, to interact with user.Also, each DAPP is real by lightweight node
Now transmitted with the data of block chain network.Correspondingly, corresponding comprising multiple tourist attractions when being equipped with one in terminal device
When the DAPP of travel information, the upload of the corresponding travel information in different tourist attractions can be carried out by the DAPP;When terminal is set
When the corresponding travel information DAPP at least two different tourist attractions is installed in standby, it can be carried out respectively by each DAPP different
The upload of the corresponding travel information in tourist attractions.For example, the DAPP for being specific to certain scenic spot can be disposed in block chain.
For the convenience of description, the subsequent lightweight node that will be provided with data upload function is known as data uploading nodes, will have
The lightweight node of standby certificates constructing function is known as certificates constructing node.It is understood that same lightweight node can be same
Shi Zuowei data uploading nodes and certificates constructing node.
When the data of at least one DAPP installed in user's triggering terminal equipment upload corresponding functional area, hair
Play travel information upload request;Data uploading nodes are believed according to the tourism that travel information upload request uploads user in DAPP
Breath or the travel information obtained by DAPP generate information storage request with user account information, and are transmitted to block chain network;
Block chain node receives and processes the information storage request.User account information can be the account that user registers in block chain
For information about, unsymmetrical key can be distributed for user in block chain, then public key can be used as the mark of user account.
It wherein, further include the location information being configured with where the terminal device of data uploading nodes in travel information.It can be with
Understand, in order to realize the precise positioning to the corresponding position of travel information, reduces due to travel information and location information not
The probability of happening of security incident caused by according with (such as tourism is shone and deceived), typically by terminal device itself setting based on movement
Location-based service (Location Based Service, LBS) acquires automatically.
It is understood that further including scape in travel information to strengthen being associated between travel information and tourist attractions
Area's information, the scenic spot information include following at least one: scenic spot landscape information, scenic spot cuisines information, scenic spot pricing information and
Scenic spot evaluation information.The scenic spot information is using following at least one formats: picture, text, audio and video.
S120, the processing information storage request, by the travel information and the user account information associated storage
Into block chain.
After block chain node receives information storage request, the information storage request is parsed, is obtained in information storage request
The travel information and user account information for being included, and travel information and user account information associated storage that parsing is obtained are extremely
In block chain.Wherein, user account information can be used as the lookup mark of travel information, to believe the corresponding tourism of different user
Breath is distinguish.
Optionally, by travel information and user account information associated storage into block chain, it can be and directly believe tourism
Breath is with user account information associated storage into block chain.Certainly, in order to reduce the quantity of institute's storage content in block chain, simultaneously
The confidence level for guaranteeing travel information can also be by travel information and user account information associated storage into block chain to trip
It swims information and carries out abstract extraction, generate tourism summary info, and extremely by tourism summary info and user account information associated storage
In block chain.Wherein, carrying out abstract extraction to travel information can be the corresponding cryptographic Hash of calculating travel information, by the Kazakhstan of calculating
Uncommon value is as tourism summary info.
S130, the certificates constructing request that certificates constructing node is sent is received, includes user's account in the certificates constructing request
Family information and certificates constructing requirement.
Wherein, certificates constructing node can be the node for initiating certificates constructing request, and certificates constructing node and data upload
Node can be same node;Certainly, certificates constructing node can also be different from each data uploading nodes.
In this step, the certificates constructing DAPP for generating certificate can be specially disposed in block chain, with user into
Row interaction or certificates constructing function can be integrated in other DAPP.When monitoring user to setting area in certificates constructing DAPP
After the trigger action in domain, certificates constructing request is initiated;Certificates constructing node receives certificates constructing request, and certificates constructing is asked
It asks as the transactions requests that can be transmitted in block chain network, and is transmitted to block chain network.Wherein, include in certificates constructing request
User account information and certificates constructing requirement.
Wherein, user account information and each data when the certificates constructing DAPP of same user carries out certificate upload upload
User account information when DAPP progress data upload is identical, and then can be looked by the user account information of certificates constructing DAPP
Find the corresponding travel information being stored in block chain of user account information that each data upload DAPP.
Wherein, certificates constructing requires to include following at least one: generating described in the time interval of the travel information, generation
The position section of travel information, it is described tourism certificate in institute's display data data interval and in the tourism certificate
Display form when display data.Wherein, certificates constructing requires to be passed through by user to the selection behaviour in certificates constructing DAPP
It determines, such as can be by selecting the certificate template in certificates constructing DAPP, according to the selected certificate mould of user
Plate generates certificates constructing requirement.
It is understood that tourism certificate is distinguish on time dimension and/or Spatial Dimension in order to realize, it can be with
It include when generating the tourism certificate described in the time interval of selected travel information and/or generation in certificates constructing requirement
The position section of selected travel information when tourism certificate.Certainly, in order to realize to tourism certification show content generated
Effective control may include the data interval of institute's display data, and/or in display data in certificates constructing requirement
Display form.
S140, the processing certificates constructing request, to obtain travel information associated with the user account information, and
It is required to generate tourism certificate corresponding with the travel information according to the certificates constructing.
Block chain node receives certificates constructing request, and parsing certificates constructing requests to obtain user account information and certificates constructing
It is required that;Travel information associated with the user account information that parsing obtains is obtained, and generation and trip are required according to certificates constructing
Swim the corresponding tourism certificate of information.
Optionally, travel information associated with the user account information is obtained, can be and directly obtained from block chain
Take travel information associated with the user account information.Or it is optional, it obtains associated with the user account information
Travel information, can also be and obtain associated with user account information tourism summary info from block chain, and root
According to travel information described in original storage position acquisition of the tourism summary info from travel information.
It is required to generate tourism certificate corresponding with travel information according to certificates constructing, be can be according to generation tourism certificate
When selected travel information time interval and/or position section, travel information is screened, candidate tourism letter is obtained
Breath;Tourism certificate is generated according to candidate travel information.
According to candidate travel information generate can display data, and according to tourism certificate in institute's display data data interval
And/or display form when display data, generate tourism certificate.Illustratively, number can be shown according to the generation of candidate travel information
According to can be the data conduct directly chosen and shown in travel information for user can display data;Or according to setting rule
Candidate travel information is converted to can display data.Wherein, can display data can be picture, text, in audio and video
It is at least one.
Illustratively, according to setting rule by candidate travel information be converted to can display data, can be according to presetting
Travel information with can display data mapping relations, by each candidate travel information be converted into can display data, such as by position
Information is converted into the station location marker shown in map;Candidate travel information can also be encoded by set algorithm, obtaining can
Display data, such as two dimensional code is converted by candidate travel information;It can also be by the picture and problem figure in candidate travel information
Literary typesetting generates new picture or text;Candidate travel information can also be carried out to content splicing and generate video etc..
It is, of course, also possible to not screened to travel information, directly travel information is converted to and can be opened up according to setting rule
Registration evidence.Specific transform mode is identical as transform mode when converting to candidate travel information, and details are not described herein.
S150, the tourism certificate is fed back into the certificates constructing node.
Certificates constructing node is fed back to, that is, feeds back to user, then user can use this certificate content and carry out social circle point
It enjoys, show.
The embodiment of the present invention receives the information storage at least sent with a data uploading nodes by block chain node and asks
It asks, wherein include user account information and the travel information including data uploading nodes position in information storage request;Place
Information storage request is managed, by travel information and user account information associated storage into block chain;Receive certificates constructing node
What is sent includes the certificates constructing request of user account information and certificates constructing requirement;Handle certificates constructing request, with obtain with
The associated travel information of user account information, and required to generate travel certificate corresponding with travel information according to certificates constructing
Book;Tourism certificate is fed back into certificates constructing node.Above-mentioned technical proposal by by travel information and user account information in area
Associated storage in block chain, and by obtaining travel information from block chain, the mode for generating tourism certificate, which reduces, checks card
Time cost, while improving tourism and checking card the confidence level of voucher;It is required to carry out tourism certificate according to different certificates constructings
It generates, enriches tourism and check card mode, and then enhance the interest that tourism is checked card.
In another optional embodiment of the embodiment of the present invention, generated tourism certificate is looked into for the ease of user
It looks for, after requiring to generate tourism certificate corresponding with the travel information according to the certificates constructing, card can also be received
Inteilectual requests at the certificate acquisition that node is sent, and is searched and fed back described according to the certificates identified in certificate acquisition request
Tourism certificate.That is, the tourism certificate generated is inquired for user.
Embodiment two
Fig. 2 is the flow chart of the recording method of one of the embodiment of the present invention two travel information, and the embodiment of the present invention exists
Improvement is optimized on the basis of the technical solution of the various embodiments described above.
Further, it when certificates constructing node is with data uploading nodes difference, " obtains and believes with the user account in execution
Before the associated travel information of manner of breathing ", additional " the corresponding data uploading nodes sending permission verifying of Xiang Suoshu travel information is asked
Ask, if receive the travel information corresponding data uploading nodes feedback be verified as a result, if execute travel information and obtain
Extract operation;Alternatively, the signature node in the certificates constructing request is obtained, if in the signature node including the travel information
Corresponding data uploading nodes then execute travel information and obtain operation ", to realize that carrying out travel information to certificates constructing node obtains
The Authority Verification of weighting limit.
A kind of recording method of travel information as shown in Figure 2, comprising:
S210, the information storage request for receiving the transmission of at least one data uploading nodes, wherein the information storage request
In include user account information and travel information, include data uploading nodes position information in the travel information.
S220, the processing information storage request, by the travel information and the user account information associated storage
Into block chain.
S230, the certificates constructing request that certificates constructing node is sent is received, includes user's account in the certificates constructing request
Family information and certificates constructing requirement.
It should be noted that since certificates constructing node and each data uploading nodes are different block chain nodes, then
The developer of DAPP is uploaded in order to avoid the leakage of data information by different data, will necessarily upload DAPP to data are obtained
The certificates constructing node of corresponding data information carries out Authority Verification.
After monitoring user to the trigger action of setting regions in certificates constructing DAPP, certificates constructing request is generated, and
Certificates constructing request is transmitted to block chain network by certificates constructing node.It wherein, include user's account in certificates constructing request
Family information and certificates constructing requirement.
Optionally, Authority Verification is carried out to certificates constructing node for the ease of subsequent, can also be asked generating certificates constructing
Before asking, certificates constructing node sends authorization requests to the data uploading nodes for generating travel information;Data uploading nodes receive
To after the authorization requests, to certificates constructing node feeding back authorization message;After certificates constructing node receives authorization message, it will send out
The data uploading nodes of authorization message are sent to be added in certificates constructing request as signature node.Wherein, authorization message can be
The node identification of data uploading nodes.
S240A, processing certificates constructing request, with to the corresponding data uploading nodes sending permission of the travel information
Checking request.
In a kind of optional embodiment of the embodiment of the present invention, block chain node receives the card that certificates constructing node is sent
Inteilectual is at request, and to corresponding data uploading nodes sending permission checking request when uploading travel information, to certificates constructing
The permission that node obtains travel information is verified.
S250A, if receive the travel information corresponding data uploading nodes feedback be verified as a result, if obtain
Travel information associated with the user account information, and require to generate and the travel information phase according to the certificates constructing
Corresponding tourism certificate.
After data uploading nodes receive Authority Verification request, in block chain or terminal device is locally searched in data
Pass the corresponding authorization node of node;If including certificates constructing node in authorization node, pass through to block chain node feedback validation
As a result;After block chain node, which receives, is verified result, travel information associated with user account information, and root are obtained
It requires to generate tourism certificate corresponding with the travel information according to the certificates constructing.
S240B, the processing certificates constructing request, to obtain the signature node in the certificates constructing request.
In another optional embodiment of the embodiment of the present invention, block chain node receives the card that certificates constructing node is sent
Inteilectual parses certificates constructing and requests to obtain the signature node for including in certificates constructing request at request.
If in S250B, the signature node include the corresponding data uploading nodes of the travel information, obtain with it is described
The associated travel information of user account information, and require generation corresponding with the travel information according to the certificates constructing
Tourism certificate.
When including the corresponding data uploading nodes of travel information in the signature node that parsing obtains, then show that the data upload
Node obtains behavior to the travel information of certificates constructing node and authorizes, at this point, block chain node can be from block chain
Travel information associated with user account information is directly or indirectly obtained, and requires to generate and the tourism according to certificates constructing
The corresponding tourism certificate of information.
S260, the tourism certificate is fed back into the certificates constructing node.
When the embodiment of the present invention is by certificates constructing node and data uploading nodes difference, before obtaining travel information,
It is additional by the corresponding data uploading nodes sending permission checking request of travel information, if receiving the corresponding number of travel information
According to being verified as a result, then executing travel information obtains operation for uploading nodes feedback;Or it obtains in certificates constructing request
Node of signing executes travel information and obtains operation if including the corresponding data uploading nodes of travel information in signature node.On
Technical solution is stated by ensure that the Authority Verification operation for obtaining behavior to travel information is added before obtaining travel information
The legitimacy of certificates constructing process, while further ensuring the authority and authenticity of acquired travel information.
Embodiment three
Fig. 3 is the flow chart of the recording method of one of the embodiment of the present invention three travel information, and the embodiment of the present invention is suitable
The request of tourism certificate is generated for the travel information based on user.This method is executed by the recording device of travel information, the dress
It sets through software and or hardware realization, and concrete configuration is in the terminal device for carrying lightweight node.
A kind of recording method of travel information as shown in Figure 3 is applied to lightweight node, comprising:
S310, when monitoring Client-initiated travel information upload request, obtained by place terminal device current
Location information.
Wherein, when user triggers the functional area of at least one DAPP disposed in block chain, travel information is initiated
Upload request, and current location information is obtained by terminal device at this moment.
It is understood that reducing to realize the precise positioning to the corresponding position of travel information due to travel information
It is not inconsistent the probability of happening of caused security incident (such as tourism is shone and deceived) with location information, is set typically by terminal device itself
That sets is acquired automatically based on mobile location-based service (Location Based Service, LBS).
S320, information storage request is sent to block chain network, include user account information in the information storage request
And travel information, so that block chain node is by the travel information and the user account information associated storage into block chain;
It include the location information in the travel information.
It is understood that further including scape in travel information to strengthen being associated between travel information and tourist attractions
Area's information, the scenic spot information include following at least one: scenic spot landscape information, scenic spot cuisines information, scenic spot pricing information and
Scenic spot evaluation information.The scenic spot information is using following at least one formats: picture, text, audio and video.
After generating travel information upload request, data uploading nodes are according to travel information upload request by user in data
It uploads the travel information uploaded in DAPP or uploads the travel information that DAPP is obtained by data, generate and believe with user account information
Breath storage request, and it is transmitted to block chain network;Block chain node receives and processes the information storage request.User account information
Can be the account that user registers in block chain can be that user distributes unsymmetrical key for information about, in block chain, then
Public key can be used as the mark of user account.
Block chain node parses the information storage request, obtains in information storage request when handling information storage request
The travel information and user account information for being included, and travel information and user account information associated storage that parsing is obtained are extremely
In block chain.Wherein, user account information can be used as the lookup mark of travel information, to believe the corresponding tourism of different user
Breath is distinguish.
Optionally, block chain node by the travel information and the user account information associated storage into block chain,
It can be directly by travel information and user account information associated storage into block chain.Certainly, in order to reduce institute in block chain
The quantity of storage content, while guaranteeing the confidence level of travel information, by travel information and user account information associated storage to area
In block chain, it can also be and abstract extraction is carried out to travel information, generate tourism summary info, and will tourism summary info and user
Account information associated storage is into block chain.Wherein, it can be calculating travel information to travel information progress abstract extraction to correspond to
Cryptographic Hash, using the cryptographic Hash of calculating as tourism summary info.
S330, certificates constructing request is sent to block chain network, include user account information in the certificates constructing request
With certificates constructing requirement.
It can also be deployed with the certificates constructing DAPP for having certificates constructing function in block chain, initiate the node of certificates constructing
It can be used as certificates constructing node.Certificates constructing DAPP can be one of them in data upload DAPP;Certainly, certificates constructing
DAPP can be other DAPP other than data upload DAPP.
After monitoring user to the trigger action of setting regions in certificates constructing DAPP, certificates constructing request is initiated;Card
Inteilectual receives certificates constructing request at node, and certificates constructing is requested as the affairs that can be transmitted in block chain network to ask
It asks, and is transmitted to block chain network.It wherein, include user account information and certificates constructing requirement in certificates constructing request.
Wherein, user account information and each data when the certificates constructing DAPP of same user carries out data upload upload
The user account information of DAPP is identical, and then can find each data by the user account information of certificates constructing DAPP and upload
The corresponding travel information being stored in block chain of the user account information of DAPP.
Wherein, certificates constructing requires to include following at least one: generating described in the time interval of the travel information, generation
The position section of travel information, it is described tourism certificate in institute's display data data interval and in the tourism certificate
Display form when display data.Wherein, certificates constructing requires to be passed through by user to the selection behaviour in certificates constructing DAPP
It determines, such as can be by selecting the certificate template in certificates constructing DAPP, according to the selected certificate mould of user
Plate generates certificates constructing requirement.
It is understood that tourism certificate is distinguish on time dimension and/or Spatial Dimension in order to realize, it can be with
It include when generating the tourism certificate described in the time interval of selected travel information and/or generation in certificates constructing requirement
The position section of selected travel information when tourism certificate.Certainly, in order to realize to tourism certification show content generated
Effective control may include the data interval of institute's display data, and/or in display data in certificates constructing requirement
Display form.
S340, receive block chain network in block chain node feeding back tourism certificate;Wherein, the tourism certificate is by area
When certificates constructing described in block chain node processing is requested, the acquisition of travel information associated with the user account information is carried out,
And the travel information that will acquire is generated according to the certificates constructing requirement.
Block chain node receives certificates constructing request, and parsing certificates constructing requests to obtain user account information and certificates constructing
It is required that;Travel information associated with the user account information that parsing obtains is obtained, and generation and trip are required according to certificates constructing
The corresponding tourism certificate of information is swum, and tourism certificate is fed back into certificates constructing node, that is, feeds back to user, then user can be with
Social circle's sharing is carried out using this certificate content, is shown.
It should be noted that certificates constructing node and data uploading nodes are same lightweight node or different light
Magnitude node;Wherein, the certificates constructing node is to send the lightweight node that certificates constructing is requested to block chain network;It is described
Data uploading nodes are the lightweight node that information storage request is sent to block chain network.
Optionally, travel information associated with the user account information is obtained, can be and directly obtained from block chain
Take travel information associated with the user account information.Or it is optional, it obtains associated with the user account information
Travel information, can also be and obtain associated with user account information tourism summary info from block chain, and root
According to travel information described in original storage position acquisition of the tourism summary info from travel information.
It is required to generate tourism certificate corresponding with travel information according to certificates constructing, be can be according to generation tourism certificate
When selected travel information time interval and/or position section, travel information is screened, candidate tourism letter is obtained
Breath;Tourism certificate is generated according to candidate travel information.
According to candidate travel information generate can display data, and according to tourism certificate in institute's display data data interval
And/or display form when display data, generate tourism certificate.Illustratively, number can be shown according to the generation of candidate travel information
According to can be the data conduct directly chosen and shown in travel information for user can display data;Or according to setting rule
Candidate travel information is converted to can display data.Wherein, can display data can be picture, text, in audio and video
It is at least one.
Illustratively, according to setting rule by candidate travel information be converted to can display data, can be according to presetting
Travel information with can display data mapping relations, by each candidate travel information be converted into can display data, such as by position
Information is converted into the station location marker shown in map;Candidate travel information can also be encoded by set algorithm, obtaining can
Display data, such as two dimensional code is converted by candidate travel information;It can also be by the picture and problem figure in candidate travel information
Literary typesetting generates new picture or text;Candidate travel information can also be carried out to content splicing and generate video etc..
It is, of course, also possible to which being directly converted to travel information according to setting rule can without screening to travel information
Display data.Specific transform mode is identical as transform mode when converting to candidate travel information, and details are not described herein.
The embodiment of the present invention by place terminal device by being obtained when monitoring that user initiates travel information upload request
Take current location information;The information storage request including user account information and travel information is sent to block chain network, with
Make block chain node by travel information and user account information associated storage into block chain;It include that position is believed in travel information
Breath;Send to block chain network includes user account information and the certificates constructing request that certificates constructing requires;Receive block chain link
The tourism certificate of point feedback, wherein being carried out and the use when tourism certificate certificates constructing as described in block chain node processing request
The acquisition of the associated travel information of family account information, and the travel information that will acquire will seek survival according to the certificates constructing
At.Above-mentioned technical proposal is by the associated storage by travel information and user account information in block chain, and by from block
Obtain travel information in chain, the mode for generating tourism certificate reduces the time cost checked card, while improve tourism check card with
The confidence level of card;The generation for requiring to carry out tourism certificate according to different certificates constructing enriches tourism and checks card mode, Jin Erzeng
The interest that strong tourism is checked card.
On the basis of the technical solution of the various embodiments described above, generated tourism certificate is looked into for the ease of user
It looks for, certificate acquisition request can also be sent to block chain network, include wherein certificates identified in certificate acquisition request;Receive block
The tourism certificate of block chain node feeding back in chain network;The tourism certificate is by the block chain node according to the certificate mark
Know to search in block chain and obtain.
Example IV
Fig. 4 is the flow chart of the recording method of one of the embodiment of the present invention four travel information, and the embodiment of the present invention exists
Improvement is optimized on the basis of the technical solution of the various embodiments described above.
Further, certificates constructing node is different from the data uploading nodes;Correspondingly, block chain link point carry out with
Before the acquisition operation of the associated travel information of user account information, additional " data uploading nodes receive block chain link
The Authority Verification request that point is sent, wherein Authority Verification request includes certificates constructing node identification, if the certificates constructing node
Mark is located in the corresponding authorization node of the data uploading nodes, then passes through result to the block chain node feedback validation ",
The Authority Verification that travel information obtains permission is carried out to certificates constructing node to realize.
A kind of recording method of travel information as shown in Figure 4, comprising:
S410, data uploading nodes are set when monitoring Client-initiated travel information upload request by place terminal
It is standby to obtain current location information.
S420, data uploading nodes send information storage request to block chain network, include in the information storage request
User account information and travel information, so that block chain node is by the travel information and the user account information associated storage
Into block chain;It include the location information in the travel information.
S430, certificates constructing node send certificates constructing request to block chain network, include in the certificates constructing request
User account information and certificates constructing requirement.
It should be noted that since certificates constructing node and each data uploading nodes are different block chain nodes, then
The developer of DAPP is uploaded in order to avoid the leakage of data information by different data, will necessarily upload DAPP to data are obtained
The certificates constructing node of corresponding data information carries out Authority Verification.
After monitoring user to the trigger action of setting regions in certificates constructing DAPP, certificates constructing request is generated, and
Certificates constructing request is transmitted to block chain network by certificates constructing node.It wherein, include user's account in certificates constructing request
Family information and certificates constructing requirement.
S440, data uploading nodes receive the Authority Verification request that block chain link point is sent based on certificates constructing request;Its
Middle Authority Verification request includes certificates constructing node identification.
Block chain node receive certificates constructing node send certificates constructing request, and to upload travel information when it is corresponding
Data uploading nodes sending permission checking request is verified with the permission for obtaining travel information to certificates constructing node.
If S450, the certificates constructing node identification are located in the corresponding authorization node of the data uploading nodes, to
The block chain node feedback validation passes through result.
S460, certificates constructing node receive the tourism certificate of block chain link point feedback.The tourism certificate is by block chain link
After point receives and is verified result, the acquisition of travel information associated with the user account information is carried out, and will acquire
The travel information according to the certificates constructing require generate.
After data uploading nodes receive Authority Verification request, in block chain or terminal device is locally searched in data
Pass the corresponding authorization node of node;If including certificates constructing node in authorization node, pass through to block chain node feedback validation
As a result;After block chain node, which receives, is verified result, travel information associated with user account information, and root are obtained
It requires to generate tourism certificate corresponding with the travel information according to the certificates constructing;Tourism certificate is fed back into certificates constructing
Node, so that the corresponding certificates constructing DAPP of certificates constructing node is shown.
The embodiment of the present invention by when certificates constructing node and data uploading nodes are that different lightweights defines,
Block chain link clicks through additional Authority Verification operation before traveller swims acquisition of information, receives block chain especially by data uploading nodes
The Authority Verification request including certificates constructing node identification that node is sent;If certificates constructing node identification, which is located at data, uploads section
In the corresponding authorization node of point, then pass through to block chain node feedback validation as a result, ensure that the legitimacy of certificates constructing process,
Further ensure the authority and authenticity of acquired travel information simultaneously, the perfect recording mechanism of travel information.
Embodiment five
Fig. 5 is the flow chart of the recording method of one of the embodiment of the present invention five travel information, and the embodiment of the present invention exists
Improvement is optimized on the basis of the technical solution of the various embodiments described above.
Further, certificates constructing node is different from the data uploading nodes;Correspondingly, certificates constructing node to
Before block chain network sends certificates constructing request, additional " certificates constructing node sends authorization requests to data uploading nodes, and
Receive the authorization message of data uploading nodes feedback;Add the data uploading nodes for feeding back the authorization message as signature node
Add in certificates constructing request ", the Authority Verification that travel information obtains permission is carried out to certificates constructing node to realize.
A kind of recording method of travel information as shown in Figure 5, comprising:
S510, data uploading nodes are set when monitoring Client-initiated travel information upload request by place terminal
It is standby to obtain current location information.
S520, data uploading nodes send information storage request to block chain network, include in the information storage request
User account information and travel information, so that block chain node is by the travel information and the user account information associated storage
Into block chain;It include the location information in the travel information.
S530, certificates constructing node send authorization requests to data uploading nodes, and receive data uploading nodes feedback
Authorization message, and be added to the data uploading nodes for feeding back the authorization message as signature node in certificates constructing request.
For the ease of carrying out Authority Verification to certificates constructing node, before generating certificates constructing request, certificates constructing section
Point can obtain the authorization message of operation to data uploading nodes request travel information in advance.
Illustratively, certificates constructing node sends authorization requests to the data uploading nodes for generating travel information;In data
After biography node receives the authorization requests, to certificates constructing node feeding back authorization message;When certificates constructing node receives authorization
After information, it is added to the data uploading nodes for sending authorization message as signature node in certificates constructing request.Wherein, it authorizes
Information can be the node identification of data uploading nodes.
S540, certificates constructing node send certificates constructing request to block chain network, include in the certificates constructing request
User account information, certificates constructing require and signature node.
S550, certificates constructing node receive the tourism certificate of block chain link point feedback.Wherein, the tourism certificate is by block
When certificates constructing described in chain node processing is requested, the acquisition of travel information associated with the user account information is carried out, and
The travel information that will acquire is generated according to the certificates constructing requirement.
Certificates constructing node is to the transmission certificates constructing request of block chain network, correspondingly, block chain node receives certificate life
The certificates constructing request sent at node, and parse certificates constructing and request to obtain the signature node for including in certificates constructing request.
When including the corresponding data uploading nodes of travel information in the signature node that parsing obtains, then show that the data uploading nodes are right
The travel information of certificates constructing node obtains behavior and is authorized, at this point, block chain node can from block chain directly or
It obtains and takes travel information associated with user account information, and require generation opposite with the travel information according to certificates constructing
The tourism certificate answered.
The embodiment of the present invention is by certificates constructing node and when data uploading nodes difference, in certificates constructing node to block
Before chain network sends certificates constructing request, additional certificates constructing node sends authorization requests to data uploading nodes, and receives
The authorization message of data uploading nodes feedback, and card is added to using the data uploading nodes for feeding back authorization message as signature node
Inteilectual further ensures the power of acquired travel information in request, ensure that the legitimacy of certificates constructing process
Prestige and authenticity, the perfect recording mechanism of travel information.
Embodiment six
Fig. 6 is the structure chart of the recording device of one of the embodiment of the present invention six travel information, and the embodiment of the present invention is suitable
The request of tourism certificate is generated for the travel information based on user.The device is specifically matched by software and or hardware realization
It is placed in the electronic equipment for carrying block chain node, the block chain node which is carried, which can be, has a fixed number
According to the lightweight node of operational capability, full node can also be.
A kind of recording device of travel information as shown in FIG. 6 is configured at block chain node, comprising: information storage request
Receiving module 610, information storage request processing module 620, certificates constructing request receiving module 630, certificates constructing request processing
Module 640, and tourism certificate feedback module 660.
Wherein, information storage request receiving module 610, the information for receiving the transmission of at least one data uploading nodes are deposited
Storage request, wherein include user account information and travel information in the information storage request, include number in the travel information
According to uploading nodes position information;
Information storage request processing module 620, for handling the information storage request, by the travel information and institute
User account information associated storage is stated into block chain;
Certificates constructing request receiving module 630, for receiving the certificates constructing request of certificates constructing node transmission, the card
Inteilectual requires in request including user account information and certificates constructing;
Certificates constructing request processing module 640, for handling the certificates constructing request, to obtain and the user account
The associated travel information of information, and required to generate travel certificate corresponding with the travel information according to the certificates constructing
Book;
Tourism certificate feedback module 660, for the tourism certificate to be fed back to the certificates constructing node.
The embodiment of the present invention is at least sent with a data uploading nodes by the reception of information storage request receiving module
Information storage request, wherein including user account information and including data uploading nodes position in information storage request
Travel information;Information storage request is handled by information storage request processing module, by travel information and user account information
Associated storage is into block chain;What it is by the reception certificates constructing node transmission of certificates constructing request receiving module includes user account
The certificates constructing request that information and certificates constructing require;Certificates constructing request is handled by certificates constructing request processing module, with
Travel information associated with user account information is obtained, and is required to generate trip corresponding with travel information according to certificates constructing
Swim certificate;Tourism certificate is fed back into certificates constructing node by tourism certificate feedback module.Above-mentioned technical proposal is by by trip
The associated storage of information and user account information in block chain is swum, and by obtaining travel information from block chain, generates trip
The mode of trip certificate reduces the time cost checked card, while improving tourism and checking card the confidence level of voucher;According to different cards
Inteilectual enriches tourism and checks card mode at the generation for requiring to carry out tourism certificate, and then enhances the interest that tourism is checked card.
Further, certificates constructing request processing module 640, executing, acquisition is associated with the user account information
When travel information, it is specifically used for:
Travel information associated with the user account information is directly acquired from block chain;Alternatively,
Tourism summary info associated with the user account information is obtained from block chain, and is plucked according to the tourism
Want travel information described in original storage position acquisition of the information from travel information.
Further, the certificates constructing requires to include following at least one:
Generate the time interval of the travel information, the position section of the generation travel information, in the tourism certificate
The data interval of middle institute's display data and the display form in the tourism certificate when display data.
Further, which further includes certificate feedback module of travelling, and is specifically used for:
After requiring to generate tourism certificate corresponding with the travel information according to the certificates constructing, certificate is received
The certificate acquisition request that node is sent is generated, and is searched according to the certificates identified in certificate acquisition request and feeds back the trip
Swim certificate.
It further, further include scenic spot information in the travel information, the scenic spot information includes following at least one: scape
Area's landscape information, scenic spot cuisines information, scenic spot pricing information and scenic spot evaluation information.
Further, the scenic spot information is using following at least one formats: picture, text, audio and video.
Further, the data uploading nodes and the certificates constructing node are same block chain node, or different
Block chain node.
Further, if the certificates constructing node is different from the data uploading nodes, which further includes that permission is tested
Module is demonstrate,proved, obtains tourism letter associated with the user account information for executing in certificates constructing request processing module 640
It is specific to execute following operation before breath:
To the corresponding data uploading nodes sending permission checking request of the travel information, if receiving the travel information
Corresponding data uploading nodes feedback is verified as a result, then executing travel information obtains operation;Alternatively,
The signature node in the certificates constructing request is obtained, if including that the travel information is corresponding in the signature node
Data uploading nodes, then execute travel information obtain operation.
The recording device of travel information provided by the embodiment of the present invention can be performed provided by any embodiment of the invention
The recording method of travel information has the corresponding functional module of recording method and beneficial effect for executing travel information.
Embodiment seven
Fig. 7 is the structure chart of the recording device of one of the embodiment of the present invention seven travel information, and the embodiment of the present invention is suitable
The request of tourism certificate is generated for the travel information based on user.The device is specifically matched by software and or hardware realization
It is placed in the terminal device for carrying lightweight node.
A kind of recording device of travel information as shown in Figure 7, is configured at lightweight node, comprising: location information obtains
Module 710, information storage request sending module 720, certificates constructing request sending module 730, and tourism certificate receiving module
740。
Position information acquisition module 710, for where when monitoring Client-initiated travel information upload request, passing through
Terminal device obtains current location information;
Information storage request sending module 720, for sending information storage request, the information storage to block chain network
It include user account information and travel information in request, so that block chain node believes the travel information and the user account
Associated storage is ceased into block chain;It include the location information in the travel information;
Certificates constructing request sending module 730, for sending certificates constructing request, the certificates constructing to block chain network
It include user account information and certificates constructing requirement in request;
Tourism certificate receiving module 740, for receiving the tourism certificate of the block chain node feeding back in block chain network;Its
In, when tourism certificate certificates constructing as described in block chain node processing is requested, carry out related to the user account information
The acquisition of the travel information of connection, and the travel information that will acquire is generated according to the certificates constructing requirement.
The embodiment of the present invention, when monitoring that user initiates travel information upload request, is led to by position information acquisition module
Terminal device where crossing obtains current location information;Include to the transmission of block chain network by information storage request sending module
The information storage request of user account information and travel information, so that block chain node closes travel information and user account information
Connection is stored into block chain;It include location information in travel information;By certificates constructing request sending module to block chain network
Send includes user account information and the certificates constructing request that certificates constructing requires;Block is received by tourism certificate receiving module
The tourism certificate of chain node feeding back, wherein when tourism certificate certificates constructing as described in block chain node processing request, progress and institute
The acquisition of the associated travel information of user account information is stated, and the travel information that will acquire is wanted according to the certificates constructing
It seeks survival into.Above-mentioned technical proposal by the associated storage by travel information and user account information in block chain, and by from
Travel information is obtained in block chain, the mode for generating tourism certificate reduces the time cost checked card, while improving tourism and beating
The confidence level of card voucher;The generation for requiring to carry out tourism certificate according to different certificates constructing enriches tourism and checks card mode, into
And enhance the interest that tourism is checked card.
Further, the certificates constructing requires to include following at least one:
Generate the time interval of the travel information, the position section of the generation travel information, in the tourism certificate
The data interval of middle institute's display data and the display form in the tourism certificate when display data.
Further, which further includes certificate acquisition module of travelling, and is specifically used for
Certificate acquisition request is sent to block chain network, includes certificates identified in the certificate acquisition request;
Receive the tourism certificate of the block chain node feeding back in block chain network;The tourism certificate is by the block chain link
Point searches acquisition according to the certificates identified in block chain.
Further, the travel information further includes scenic spot information, and the scenic spot information includes following at least one: scenic spot
Landscape information, scenic spot cuisines information, scenic spot pricing information and scenic spot evaluation information.
Further, the scenic spot information is using following at least one formats: picture, text, audio and video.
Further, certificates constructing node and data uploading nodes are same lightweight node or different lightweights
Node;
Wherein, the certificates constructing node is to send the lightweight node that certificates constructing is requested to block chain network;It is described
Data uploading nodes are the lightweight node that information storage request is sent to block chain network.
Further, it if the certificates constructing node is different from the data uploading nodes, is carried out in block chain link point
Before the acquisition operation of travel information associated with the user account information, further includes:
Data uploading nodes receive the Authority Verification request that block chain link point is sent, and wherein Authority Verification request includes certificate
Node identification is generated, if the certificates constructing node identification is located in the corresponding authorization node of the data uploading nodes, to
The block chain node feedback validation passes through result.
Further, if the certificates constructing node is different from the data uploading nodes, certificates constructing request is sent
Module 730 is being executed to before the transmission certificates constructing request of block chain network, further includes:
Certificates constructing node sends authorization requests to data uploading nodes, and receives the authorization letter of data uploading nodes feedback
Breath, and be added to the data uploading nodes for feeding back the authorization message as signature node in certificates constructing request.
The recording device of travel information provided by the embodiment of the present invention can be performed provided by any embodiment of the invention
The recording method of travel information has the corresponding functional module of recording method and beneficial effect for executing travel information.
Embodiment eight
Fig. 8 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention eight provides.Fig. 8, which is shown, to be suitable for being used in fact
The block diagram of the example electronic device 812 of existing embodiment of the present invention.The electronic equipment 812 that Fig. 8 is shown is only an example,
Should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 8, electronic equipment 812 is showed in the form of universal computing device.The component of electronic equipment 812 can wrap
Include but be not limited to: one or more processor or processing unit 816, system storage 828 connect different system components
The bus 818 of (including system storage 828 and processing unit 816).
Bus 818 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Electronic equipment 812 typically comprises a variety of computer system readable media.These media can be it is any can be by
The usable medium that electronic equipment 812 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 828 may include the computer system readable media of form of volatile memory, such as deposit at random
Access to memory (RAM) 830 and/or cache memory 832.Electronic equipment 812 may further include it is other it is removable/no
Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 834 can be used for reading and writing
Immovable, non-volatile magnetic media (Fig. 8 do not show, commonly referred to as " hard disk drive ").It, can although being not shown in Fig. 8
To provide the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk "), and it is non-volatile to moving
Property CD (such as CD-ROM, DVD-ROM or other optical mediums) read and write CD drive.In these cases, each drive
Dynamic device can be connected by one or more data media interfaces with bus 818.Memory 828 may include at least one journey
Sequence product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this hair
The function of bright each embodiment.
Program/utility 840 with one group of (at least one) program module 842, can store in such as memory
In 828, such program module 842 includes but is not limited to operating system, one or more application program, other program modules
And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 842
Usually execute the function and/or method in embodiment described in the invention.
Electronic equipment 812 can also be with one or more external equipments 814 (such as keyboard, sensing equipment, display 824
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 812 communicate, and/or with make
Any equipment (such as network interface card, the modem that the electronic equipment 812 can be communicated with one or more of the other calculating equipment
Etc.) communication.This communication can be carried out by input/output (I/O) interface 822.Also, electronic equipment 812 can also lead to
Cross network adapter 820 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, example
Such as internet) communication.As shown, network adapter 820 is communicated by bus 818 with other modules of electronic equipment 812.It answers
When understanding, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 812, including but unlimited
In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage system etc..
Processing unit 816 passes through at least one program in multiple programs that operation is stored in system storage 828, from
And application and data processing are performed various functions, such as realize a kind of record of travel information provided by the embodiment of the present invention
Method.
Embodiment nine
The embodiment of the present invention nine additionally provides a kind of terminal device, and the structure chart of the terminal device equally can be found in Fig. 7.
The difference of the embodiment of the present invention and embodiment eight is only that: processing unit 816 is stored in system storage by operation
Program in device 828 thereby executing various function application and data processing, such as is realized another provided by the embodiment of the present invention
A kind of recording method of travel information.
Embodiment ten
The embodiment of the present invention ten provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
Realize that a kind of recording method of travel information is applied to block provided by any embodiment of the present invention when sequence is executed by processor
Chain node, which comprises receive the information storage request of at least one data uploading nodes transmission, wherein the information
Include user account information and travel information in storage request, includes that data uploading nodes position is believed in the travel information
Breath;The information storage request is handled, by the travel information and the user account information associated storage into block chain;
The certificates constructing request that certificates constructing node is sent is received, includes that user account information and certificate are raw in the certificates constructing request
At requiring;The certificates constructing request is handled, to obtain travel information associated with the user account information, and according to institute
It states certificates constructing requirement and generates tourism certificate corresponding with the travel information;The tourism certificate is fed back into the certificate
Generate node.
The embodiment of the present invention ten additionally provides another computer readable storage medium, is stored thereon with computer program,
A kind of recording method of travel information provided by any embodiment of the present invention is realized when the program is executed by processor, and is applied to
Lightweight node, which comprises when monitoring Client-initiated travel information upload request, pass through place terminal device
Obtain current location information;Information storage request is sent to block chain network, includes user's account in the information storage request
Family information and travel information, so that block chain node is by the travel information and the user account information associated storage to block
In chain;It include the location information in the travel information;Certificates constructing request, the certificates constructing are sent to block chain network
It include user account information and certificates constructing requirement in request;Receive the travel certificate of the block chain node feeding back in block chain network
Book;Wherein, it when tourism certificate certificates constructing as described in block chain node processing is requested, carries out and the user account information
The acquisition of associated travel information, and the travel information that will acquire is generated according to the certificates constructing requirement.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to without
Line, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (17)
1. a kind of recording method of travel information, which is characterized in that be applied to block chain node, which comprises
Receive the information storage request of at least one data uploading nodes transmission, wherein include using in the information storage request
Family account information and travel information include data uploading nodes position information in the travel information;
The information storage request is handled, by the travel information and the user account information associated storage to block chain
In;
The certificates constructing request that certificates constructing node is sent is received, includes user account information and card in the certificates constructing request
Inteilectual is at requiring;
The certificates constructing request is handled, to obtain travel information associated with the user account information, and according to described
Certificates constructing requires to generate tourism certificate corresponding with the travel information;
The tourism certificate is fed back into the certificates constructing node.
2. the method according to claim 1, wherein described obtain trip associated with the user account information
Swim information, comprising:
Travel information associated with the user account information is directly acquired from block chain;Alternatively,
Tourism summary info associated with the user account information is obtained from block chain, and is made a summary and believed according to the tourism
Cease travel information described in the original storage position acquisition from travel information.
3. the method according to claim 1, wherein the certificates constructing requires to include following at least one:
The time interval of selected travel information when generating the tourism certificate generates trip selected when the tourism certificate
It swims the position section of information, the data interval of institute's display data and opened up in the tourism certificate in the tourism certificate
Registration according to when display form.
4. the method according to claim 1, wherein requiring to generate and the tourism according to the certificates constructing
After the corresponding tourism certificate of information, further includes:
The certificate acquisition request that certificates constructing node is sent is received, and is searched according to the certificates identified in certificate acquisition request
And feed back the tourism certificate.
5. the method according to claim 1, wherein further including scenic spot information, the scape in the travel information
Area's information includes following at least one: scenic spot landscape information, scenic spot cuisines information, scenic spot pricing information and scenic spot evaluation information;
The scenic spot information is using following at least one formats: picture, text, audio and video.
6. method according to claim 1-5, which is characterized in that on the certificates constructing node and the data
Passing node is same block chain node or different block chain nodes;
It is associated with the user account information obtaining if the certificates constructing node is different from the data uploading nodes
Travel information before, further includes:
To the corresponding data uploading nodes sending permission checking request of the travel information, if it is corresponding to receive the travel information
Data uploading nodes feedback be verified as a result, then execute travel information obtain operation;Alternatively,
The signature node in the certificates constructing request is obtained, if in the signature node including the corresponding number of the travel information
According to uploading nodes, then executes travel information and obtain operation.
7. a kind of recording method of travel information, which is characterized in that be applied to lightweight node, which comprises
When monitoring Client-initiated travel information upload request, current location information is obtained by place terminal device;
Information storage request is sent to block chain network, includes user account information and tourism letter in the information storage request
Breath, so that block chain node is by the travel information and the user account information associated storage into block chain;The tourism
It include the location information in information;
Certificates constructing request is sent to block chain network, includes user account information and certificates constructing in the certificates constructing request
It is required that;
Receive the tourism certificate of the block chain node feeding back in block chain network;Wherein, the tourism certificate is by block chain node
When handling certificates constructing request, the acquisition of travel information associated with the user account information is carried out, and will acquire
The travel information according to the certificates constructing require generate.
8. the method according to the description of claim 7 is characterized in that the certificates constructing requires to include following at least one:
The time interval of selected travel information when generating the tourism certificate generates trip selected when the tourism certificate
It swims the position section of information, the data interval of institute's display data and opened up in the tourism certificate in the tourism certificate
Registration according to when display form.
9. the method according to the description of claim 7 is characterized in that the method also includes:
Certificate acquisition request is sent to block chain network, includes certificates identified in the certificate acquisition request;
Receive the tourism certificate of the block chain node feeding back in block chain network;The tourism certificate is by the block chain node root
Acquisition is searched in block chain according to the certificates identified.
10. the method according to the description of claim 7 is characterized in that the travel information further includes scenic spot information, the scenic spot
Information includes following at least one: scenic spot landscape information, scenic spot cuisines information, scenic spot pricing information and scenic spot evaluation information;
The scenic spot information is using following at least one formats: picture, text, audio and video.
11. according to the described in any item methods of claim 7-10, which is characterized in that certificates constructing node and data uploading nodes
For same lightweight node or different lightweight nodes;
Wherein, the certificates constructing node is to send the lightweight node that certificates constructing is requested to block chain network;The data
Uploading nodes are the lightweight node that information storage request is sent to block chain network;
If the certificates constructing node is different from the data uploading nodes, the method also includes:
Before block chain link point carries out the acquisition operation of travel information associated with the user account information, data are uploaded
Node receives the Authority Verification request that block chain link point is sent, and wherein Authority Verification request includes certificates constructing node identification, if
The certificates constructing node identification is located in the corresponding authorization node of the data uploading nodes, then anti-to the block chain node
Feedback is verified result;Alternatively,
In certificates constructing node before sending certificates constructing request to block chain network, certificates constructing node is uploaded to data and is saved
Point sends authorization requests, and receives the authorization message of data uploading nodes feedback, and will be in the data that feed back the authorization message
Node is passed to be added in certificates constructing request as signature node.
12. a kind of recording device of travel information, which is characterized in that be configured at block chain node, described device includes:
Information storage request receiving module, for receiving the information storage request of at least one data uploading nodes transmission, wherein
Include user account information and travel information in the information storage request, includes data uploading nodes institute in the travel information
In location information;
Information storage request processing module, for handling the information storage request, by the travel information and the user
Account information associated storage is into block chain;
Certificates constructing request receiving module, for receiving the certificates constructing request of certificates constructing node transmission, the certificates constructing
It include user account information and certificates constructing requirement in request;
Certificates constructing request processing module, for handling the certificates constructing request, to obtain and the user account information phase
Associated travel information, and required to generate tourism certificate corresponding with the travel information according to the certificates constructing;
Tourism certificate feedback module, for the tourism certificate to be fed back to the certificates constructing node.
13. a kind of recording device of travel information, which is characterized in that be configured at lightweight node, described device includes:
Position information acquisition module, for being set by place terminal when monitoring Client-initiated travel information upload request
It is standby to obtain current location information;
Information storage request sending module, for sending information storage request to block chain network, in the information storage request
Including user account information and travel information, so that the travel information is associated with by block chain node with the user account information
It stores into block chain;It include the location information in the travel information;
Certificates constructing request sending module is requested for sending certificates constructing to block chain network, in the certificates constructing request
Including user account information and certificates constructing requirement;
Tourism certificate receiving module, for receiving the tourism certificate of the block chain node feeding back in block chain network;Wherein, described
When certificate certificates constructing as described in block chain node processing of travelling is requested, tourism associated with the user account information is carried out
The acquisition of information, and the travel information that will acquire is generated according to the certificates constructing requirement.
14. a kind of electronic equipment characterized by comprising
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
A kind of existing recording method of travel information as claimed in any one of claims 1 to 6.
15. a kind of terminal device characterized by comprising
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as a kind of described in any item recording methods of travel information of claim 7-11.
16. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
A kind of recording method of travel information as claimed in any one of claims 1 to 6 is realized when execution.
17. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
A kind of such as claim 7-11 described in any item recording methods of travel information are realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910629893.9A CN110363687A (en) | 2019-07-12 | 2019-07-12 | Recording method, device, electronic equipment, terminal and the medium of travel information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910629893.9A CN110363687A (en) | 2019-07-12 | 2019-07-12 | Recording method, device, electronic equipment, terminal and the medium of travel information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110363687A true CN110363687A (en) | 2019-10-22 |
Family
ID=68218987
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910629893.9A Pending CN110363687A (en) | 2019-07-12 | 2019-07-12 | Recording method, device, electronic equipment, terminal and the medium of travel information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110363687A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114900311A (en) * | 2022-04-06 | 2022-08-12 | 平安国际智慧城市科技股份有限公司 | Monitoring data management method, device, equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897906A (en) * | 2017-02-28 | 2017-06-27 | 北京众享比特科技有限公司 | Exciting-simulator system content distribution method and system |
CN107291959A (en) * | 2017-08-03 | 2017-10-24 | 深圳前海弘稼科技有限公司 | Travel log generation method and mobile terminal |
CN107609848A (en) * | 2017-11-06 | 2018-01-19 | 张婷 | A kind of IPR licensing method and system based on Internet of Things |
CN108876449A (en) * | 2018-06-07 | 2018-11-23 | 深圳鑫宏图工业设计有限公司 | A kind of touring system management method, electronic equipment and storage medium |
CN108961052A (en) * | 2018-06-25 | 2018-12-07 | 百度在线网络技术(北京)有限公司 | Verification method, storage method, device, equipment and the medium of block chain data |
CN109003196A (en) * | 2018-08-09 | 2018-12-14 | 杭州趣链科技有限公司 | A kind of tourism anti-cheat system based on block chain |
CN109360070A (en) * | 2018-10-30 | 2019-02-19 | 平安科技(深圳)有限公司 | Travel information processing method, device, equipment and storage medium based on alliance's chain |
CN109658097A (en) * | 2018-12-07 | 2019-04-19 | 深圳市智税链科技有限公司 | Authentication management method, apparatus, medium and the electronic equipment of block catenary system |
CN109981673A (en) * | 2019-04-04 | 2019-07-05 | 上海人行道网络信息技术有限公司 | Data based on block chain deposit card method, apparatus, equipment and storage medium |
-
2019
- 2019-07-12 CN CN201910629893.9A patent/CN110363687A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897906A (en) * | 2017-02-28 | 2017-06-27 | 北京众享比特科技有限公司 | Exciting-simulator system content distribution method and system |
CN107291959A (en) * | 2017-08-03 | 2017-10-24 | 深圳前海弘稼科技有限公司 | Travel log generation method and mobile terminal |
CN107609848A (en) * | 2017-11-06 | 2018-01-19 | 张婷 | A kind of IPR licensing method and system based on Internet of Things |
CN108876449A (en) * | 2018-06-07 | 2018-11-23 | 深圳鑫宏图工业设计有限公司 | A kind of touring system management method, electronic equipment and storage medium |
CN108961052A (en) * | 2018-06-25 | 2018-12-07 | 百度在线网络技术(北京)有限公司 | Verification method, storage method, device, equipment and the medium of block chain data |
CN109003196A (en) * | 2018-08-09 | 2018-12-14 | 杭州趣链科技有限公司 | A kind of tourism anti-cheat system based on block chain |
CN109360070A (en) * | 2018-10-30 | 2019-02-19 | 平安科技(深圳)有限公司 | Travel information processing method, device, equipment and storage medium based on alliance's chain |
CN109658097A (en) * | 2018-12-07 | 2019-04-19 | 深圳市智税链科技有限公司 | Authentication management method, apparatus, medium and the electronic equipment of block catenary system |
CN109981673A (en) * | 2019-04-04 | 2019-07-05 | 上海人行道网络信息技术有限公司 | Data based on block chain deposit card method, apparatus, equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114900311A (en) * | 2022-04-06 | 2022-08-12 | 平安国际智慧城市科技股份有限公司 | Monitoring data management method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10957326B2 (en) | Device identifier dependent operation processing of packet based data communication | |
US9864852B2 (en) | Approaches for providing multi-factor authentication credentials | |
US10362026B2 (en) | Providing multi-factor authentication credentials via device notifications | |
WO2021047193A1 (en) | Voice processing method and apparatus, device, and computer storage medium | |
CN103533392B (en) | A kind of account login method, electronic equipment and system | |
CN108898206A (en) | A kind of method and barcode scanning safe checking method generating gathering code | |
WO2017124620A1 (en) | Method and device for sharing wireless access point | |
CN109521956B (en) | Cloud storage method, device, equipment and storage medium based on block chain | |
CN109981297A (en) | Block chain processing method, device, equipment and storage medium | |
US10841297B2 (en) | Providing multi-factor authentication credentials via device notifications | |
CN108206803B (en) | Service agency processing method and device | |
US8797580B2 (en) | Systems and methods for enterprise sharing of a printing device that is configured to communicate with a distributed printing service | |
CN111447245A (en) | Authentication method, authentication device, electronic equipment and server | |
KR102627728B1 (en) | Metaverse personalized content creation and authentication method and apparutus and system therefor | |
CN109767200A (en) | A kind of electric paying method, device, system and storage medium | |
CN106330458A (en) | Method and device for processing verification code | |
CN109101664A (en) | A kind of data transmission method, device, equipment and the medium of lightweight node | |
CN110363687A (en) | Recording method, device, electronic equipment, terminal and the medium of travel information | |
WO2014106181A2 (en) | A method and an apparatus for securely signing application data | |
KR20140078242A (en) | System and method for attendance and absence management using biometrics and location sensing in terminal | |
EP3528151A1 (en) | Method and apparatus for user authentication | |
CN115146815A (en) | Service processing method, device, computer and readable storage medium | |
CN103179108A (en) | Integrating server applications with multiple authentication providers | |
CN108399128A (en) | A kind of generation method of user data, device, server and storage medium | |
JP6960362B2 (en) | Authentication system and authentication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191022 |