CN110009369A - Vessel examination method and device, electronic equipment - Google Patents

Vessel examination method and device, electronic equipment Download PDF

Info

Publication number
CN110009369A
CN110009369A CN201811565643.5A CN201811565643A CN110009369A CN 110009369 A CN110009369 A CN 110009369A CN 201811565643 A CN201811565643 A CN 201811565643A CN 110009369 A CN110009369 A CN 110009369A
Authority
CN
China
Prior art keywords
container
tested
state
original
original container
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
Application number
CN201811565643.5A
Other languages
Chinese (zh)
Inventor
俞本权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811565643.5A priority Critical patent/CN110009369A/en
Publication of CN110009369A publication Critical patent/CN110009369A/en
Priority to TW108136240A priority patent/TWI700660B/en
Priority to PCT/CN2019/114589 priority patent/WO2020125223A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud

Abstract

This specification one or more embodiment provides a kind of vessel examination method and device, electronic equipment, is applied to block chain node;The method may include: the notification message sent according to the monitoring device being arranged at original container according to predetermined period issues container state record on block chain, wherein the monitoring device terminates operation when the original container is turned on;Acceptance inspection request, the identification information of the original container for examining request to obtain from container to be tested comprising requesting party;It is suitable for the intelligent contract of vessel examination by calling, obtains the inspection result for showing the consistency between the container to be tested and the original container;The inspection result is returned to the requesting party.

Description

Vessel examination method and device, electronic equipment
Technical field
This specification one or more embodiment be related to block chain technical field more particularly to a kind of vessel examination method and Device, electronic equipment.
Background technique
In the related art, when user holds a certain container, conjecture based on mark, the user on the container or its The informing of his user, there are a certain cognitions to the container or its contents by user, but the user is often desirable to determine the container Whether it is consistent with the cognition of the user.For example, when being labeled as the drinks of A brand on the container, which is desired to determine the appearance Whether liquid built in device is the drinks of the A brand really, or has carried out replacement or adulterated etc. by criminal.
Summary of the invention
In view of this, this specification one or more embodiment provides a kind of vessel examination method and device, electronic equipment.
To achieve the above object, it is as follows to provide technical solution for this specification one or more embodiment:
According to this specification one or more embodiment in a first aspect, propose a kind of vessel examination method, it is applied to Block chain node;The described method includes:
According to the notification message that the monitoring device being arranged at original container is sent according to predetermined period, issued on block chain Container state record, when the reception of identification information of the container state record comprising the original container and the notification message It carves, wherein the monitoring device terminates operation when the original container is turned on;
Acceptance inspection request, the inspection request include the original container that requesting party obtains from container to be tested Identification information;
Be suitable for the intelligent contract of vessel examination by calling, acquisition show the container to be tested and the original container it Between consistency inspection result;Wherein, the intelligent contract suitable for vessel examination is used for according to right in the block chain The time of reception that the container state record of the identification information of original container described in Ying Yu includes determines the switch of the original container State, and determine that the inspection is tied according to the switch state of the original container and the switch state of the container to be tested Fruit;
The inspection result is returned to the requesting party.
According to the second aspect of this specification one or more embodiment, a kind of vessel examination device is proposed, is applied to Block chain node;Described device includes:
Release unit, according to the notification message that the monitoring device being arranged at original container is sent according to predetermined period, to area Container state record is issued on block chain, identification information of the container state record comprising the original container and the notice disappear The time of reception of breath, wherein the monitoring device terminates operation when the original container is turned on;
Request reception unit, acceptance inspection request are examined, the inspection request is obtained from container to be tested comprising requesting party The identification information of the original container taken;
As a result acquiring unit, by call be suitable for vessel examination intelligent contract, acquisition show the container to be tested with The inspection result of consistency between the original container;Wherein, the intelligent contract suitable for vessel examination is used for basis Described in the time of reception that container state record in the block chain corresponding to the identification information of the original container includes is determining The switch state of original container, and it is true according to the switch state of the original container and the switch state of the container to be tested The fixed inspection result;
As a result return unit, Xiang Suoshu requesting party return to the inspection result.
According to the third aspect of this specification one or more embodiment, a kind of electronic equipment is proposed, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is by running container of the executable instruction realization as described in any in above-described embodiment The method of inspection.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram for vessel examination system that an exemplary embodiment provides.
Fig. 2 is a kind of flow chart for vessel examination method that an exemplary embodiment provides.
Fig. 3 is a kind of interaction schematic diagram for discrimination drinks true and false that an exemplary embodiment provides.
Fig. 4 is a kind of schematic diagram being monitored by monitor to bottle state that an exemplary embodiment provides.
Fig. 5 is the schematic diagram that a kind of pair of drinks that an exemplary embodiment provides carry out certified products inspection.
Fig. 6 is a kind of structural schematic diagram for equipment that an exemplary embodiment provides.
Fig. 7 is a kind of block diagram for vessel examination device that an exemplary embodiment provides.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with this specification one or more embodiment.Phase Instead, they are only some aspects phases with the one or more embodiments of as detailed in the attached claim, this specification The example of consistent device and method.
It should be understood that the sequence that might not show and describe according to this specification in other embodiments executes The step of correlation method.In some other embodiments, step included by method can than described in this specification more It is more or less.In addition, single step described in this specification, may be broken down into other embodiments multiple steps into Row description;And multiple steps described in this specification, it may also be merged into single step progress in other embodiments Description.
Fig. 1 is a kind of configuration diagram for vessel examination system that an exemplary embodiment provides.As shown in Figure 1, this is System may include block chain node 11, network 12, monitoring device 13, user equipment 14.
Block chain node 11 can be carried on a certain electronic equipment, for example PC or server are (for example comprising an independent master The physical server of machine or the block chain node 11 can be the virtual server etc. of mainframe cluster carrying).In operational process In, block chain node 11 can run and be embodied as the server-side of vessel examination system, be matched with realization and monitoring device 13, Interaction between user equipment 14;Meanwhile the block chain node 11 can issue container state record into block chain, call intelligence Energy contract etc., to realize the vessel examination scheme of this specification.
Monitoring device 13 can periodically send a notification message to block chain node 11, to cooperate the realization pair of block chain link point 11 The inspection of container.For example, monitoring device 13 can realize that message is sent based on any way, such as 2G network, 3G network, 4G net Network, 5G network, narrowband Internet of Things (Narrow Band Internet of Things, NB-IoT) etc., this specification one or Multiple embodiments are limited not to this.
User equipment 14 may include the electronic equipment of such as following types: mobile phone, PC, tablet device, laptop, Palm PC (PDAs, Personal Digital Assistants), wearable device (such as smart glasses, smart watches) Deng this specification one or more embodiment is limited not to this.In the process of running, which can be to block Chain node 11 initiates request, to realize the inspection to container.
And the network 12 for being interacted between block chain node 11, monitoring device 13, user equipment 14, may include A plurality of types of wired or wireless networks.In one embodiment, which may include Public Switched Telephone Network (Public Switched Telephone Network, PSTN) and internet;Certainly, this specification is limited not to this.
Fig. 2 is a kind of flow chart for vessel examination method that an exemplary embodiment provides.As shown in Fig. 2, this method is answered For block chain node, may comprise steps of:
Step 202, the notification message sent according to the monitoring device being arranged at original container according to predetermined period, to block Container state record is issued on chain, the container state record includes the identification information and the notification message of the original container The time of reception, wherein the monitoring device terminates operation when the original container is turned on.
In one embodiment, on block chain there are several block chain nodes, using distribution between these block chain nodes The form of book keeping operation, each block chain node safeguard there is full dose accounting information respectively, and make these blocks by algorithm of knowing together It can reach an agreement between chain node, it is ensured that maintain unified block chain account book between each block chain node jointly.Therefore, Safeguarding using above-mentioned block chain node in this manual with other block chain nodes has that content is consistent, block chain of full dose Account book enables the block chain node to issue container state record into block chain, so that the container state be recorded In block chain account book.Since the data being registered in block chain have the characteristic that can not be distorted, so that remembering in block chain account book The container state record of record has enough reliabilities, can be by the trust of each block chain node, therefore in subsequent process In based on the container state record realize vessel examination when, can be sufficiently confident the container state record in include information, keep away Exempt from criminal to practise fraud.
In one embodiment, monitoring device can be located at original container it is internal or external, this specification not to this into Row limitation.When monitoring device is located inside original container, original container itself can play certain guarantor to the monitoring device Shield effect avoids keeping monitoring device impaired;When monitoring device is located at outside original container, which can be by certain Mode is fixed with original container, to avoid surprisingly falling off or deliberately being dismantled by criminal, can also set for the monitoring It is standby centainly to be protected, avoid being damaged.
In one embodiment, monitoring device can be equipped with battery, and by the battery to monitoring device power supply, so that its It can send a notification message or implement other operations.When the initial article in original container has the validity period of certain time length (for example the initial article be beverage or perfume etc.), electricity provided by battery can make the normal operation duration of monitoring device not small In the length of the validity period;Alternatively, when electricity provided by battery can make the normal operation duration of monitoring device not less than presetting Long, which can monitor duration for manufacturer is desired, and might not be related to above-mentioned validity period.
In one embodiment, the operating condition of monitoring device can be related to the switch state of original container, so that originally When beginning container is in close state, which can be operated normally, and can for example be sent to above-mentioned block chain node logical Know message, and when original container is in the open state, which can terminate operation in association, to stop upward The block chain node stated sends a notification message.The switch state of operating condition and original container accordingly, due to monitoring device Correlation, and when monitoring device only operates normally, can send a notification message to above-mentioned block chain node, thus the notice disappears The transmitting-receiving situation of breath can characterize the switch state of original container.
In one embodiment, monitoring device can there are physical to be associated with the switch state of original container.For example, working as When original container is turned on, monitoring device can be made to generate the variation of corresponding physical structure, for example, the monitoring device power delivery termination, Power supply line discharges instantaneous pressure and the monitoring device is destroyed, so that monitoring device passively terminates operation.
In one embodiment, monitoring device can be with the switch state of active detecting original container, and is detecting initial appearance When device is turned on, active termination operation.For example, original container may include ontology and lid, and " being turned on " may include It also may include unnormal unlocking caused by being destroyed to ontology or lid, this specification based on the normally-open of lid It is limited not to this.For example, monitoring device can form certain physical structure cooperation between lid, so that lid quilt When normally removing, battery is terminated powers to monitoring device, so that monitoring device terminates operation;For another example original container Ontology and lid portion inside can limit power supply line to prison throughout the protection circuit being connected with power supply line, the protection circuit The voltage of measurement equipment output is in normal range (NR), and when ontology or lid are by destroying, will lead to protection circuit is destroyed, from And power supply line is made to cause to monitor to cause irreversible destruction to monitoring device to monitoring device release instantaneous pressure Equipment terminates operation.
In one embodiment, above-mentioned predetermined period can be for daily, per hour, per minute etc., and the predetermined period Numerical value can be set or be changed according to actual needs, this specification is limited not to this.
Step 204, acceptance inspection is requested, and the inspection request obtains from container to be tested described first comprising requesting party The identification information of beginning container.
In one embodiment, the technical solution of this specification can test for any type of container to be tested, For example the container to be tested can be made of glass, plastics, metal or other materials, the container to be tested can be by for another example Bottle, bucket, box or other forms are made as, for another example container to be tested can have the several milliliters of general households to tens of liters and hold Amount, the commercial capacity of hundreds of liters or larger capacity, this specification are limited not to this.
In one embodiment, the container to be tested in this specification can built-in any type of article (object to be tested Product), for example the article can be that gaseous state, liquid, solid-state or other forms, this specification be limited not to this.
In one embodiment, the identification information of the available container to be tested of user, such as the identification information can be located at The surface of container to be tested, user can be read directly or parse to obtain by scanning bar code graphics, or pass through other Meaning mode obtains, and this specification is limited not to this.
In one embodiment, when the identification information of container to be tested is the identification information of original container, it is understood that there may be more Kind situation, such as: container to be tested is different from original container, and the article to be tested built in the container to be tested substantially can not at this time It can be the initial article built in original container;Container to be tested is original container, to be tested built in the container to be tested at this time Article is likely to be the initial article built in original container, but may also not be the initial article built in original container, such as Amount of commodity difference (reason may include leakage, steal), type of items different (reason, which may include, to be replaced, goes bad), Article purity insufficient (reason, which may include, is blended into other articles etc.) etc..Therefore, the vessel examination side of this specification can be passed through Case realizes the higher supposition of precision to above-mentioned one or more situations.
Step 206, by call be suitable for vessel examination intelligent contract, acquisition show the container to be tested and it is described just The inspection result of consistency between beginning container.
In one embodiment, the intelligent contract suitable for vessel examination be used for according in the block chain correspond to institute Stating the time of reception that the container state record of the identification information of original container includes determines the switch state of the original container, with And the inspection result is determined according to the switch state of the original container and the switch state of the container to be tested.
In one embodiment, the intelligent contract suitable for vessel examination be used by following manner determine it is described initial The switch state of container: obtaining the container state record in the block chain corresponding to the identification information of the original container includes The nearest time of reception;When the nearest time of reception receiving the request for examining request earlier than the block chain link point Carve, and the time difference be greater than the predetermined period duration when, show that monitoring device has previously stopped sending a notification message, and because Monitoring device terminates operation when original container is turned on, thus can determine that the switch state of the original container is opening state State;Otherwise, show that monitoring device is still persistently sending a notification message, can determine the switch state of the original container to close Closed state.
In one embodiment, the intelligent contract of vessel examination is suitable for by calling, block chain node can be described to be checked When the switch state of the switch state and the original container of testing container is inconsistent, following inspection results are obtained: described to be tested Container is different from the original container.When the switch state of the switch state of container to be tested and original container is inconsistent, table The bright container to be tested is likely to not original container, especially when the identification information that requesting party gets from the container to be tested For original container identification information when, which is likely to the counterfeit merchandise that criminal makes according to original container, Thus the article to be tested built in the container to be tested is not very likely the initial article built in original container yet.
In one embodiment, the intelligent contract of vessel examination is suitable for by calling, block chain node can be described initial The switch state of container is open state, the container state in the block chain corresponding to the identification information of the original container is remembered The nearest time of reception that record includes, (switch state of container to be tested was inevitable at this time earlier than the start-up time of the container to be tested For open state) and (between the nearest time of reception and start-up time) time difference be not more than the predetermined period duration when, obtain Obtain following inspection results: the container to be tested is the original container;Otherwise, following inspection results are obtained: described to be tested Container is different from the original container.When start-up time of the above-mentioned nearest time of reception earlier than the container to be tested and when When difference is not more than the duration of the predetermined period, show to cause monitoring device not retransmit after requesting party opens container to be tested logical Know message, and since monitoring device terminates operation, thus the unlatching of container to be tested and initial appearance when original container is turned on There are the strong association of high degree between the unlatching of device, can determine accordingly container to be tested for original container, and appearance to be tested Article to be tested built in device is likely to consistent with the initial article built in original container, can be combined with certainly other information into One step determines.When the above-mentioned nearest time of reception is earlier than the start-up time of the container to be tested and the time difference is greater than described preset When the duration in period, show that original container just has been turned on before container to be tested is turned on, or when above-mentioned nearest When the time of reception is later than the start-up time of the container to be tested, show original container after container to be tested is turned on still It is not gated on, i.e., apparent relevance is not present between the unlatching of container to be tested and the unlatching of original container, thus sentence accordingly Fixed container to be tested is not original container, and the article to be tested built in the container to be tested is not very likely in original container yet The initial article set.
In one embodiment, when the switch state of the container to be tested is open state, the inspection request is also wrapped Start-up time containing the container to be tested.In other words, requesting party to block chain node when initiating to examine request, if to be checked Test that container is in the open state, then when requesting party directly can mark the unlatching of container to be tested in examining request It carves, is individually inquired without block chain node, reduces interaction times.In a kind of situation, examining request may include two fields, One field is used to characterize the switch state of container to be tested, another field is used to characterize the start-up time of container to be tested; In another case, examining request can only include that the start-up time of container to be tested shows if the start-up time is sky Container to be tested is in close state, if the start-up time is received in related data, shows that container to be tested is necessarily in Open state.
It in one embodiment, is to close in the switch state of the switch state of the original container and the container to be tested When closed state, container to be tested may be original container, but if container to be tested is not original container, the two is also likely to It is in close state simultaneously, accurate judgement can not be made.Therefore, block chain node can send guidance letter to the requesting party Breath, the guidance information is for guiding the requesting party to return to corresponding start-up time after opening the container to be tested;So Afterwards, the intelligent contract of vessel examination is suitable for by calling, block chain node can correspond to described initial in the block chain The nearest time of reception that the container state record of the identification information of container includes remains the unlatching earlier than the container to be tested When moment and the time difference are not more than the duration of the predetermined period, obtain following inspection results: the container to be tested be it is described just Beginning container;Otherwise, obtain following inspection results: the container to be tested is different from the original container.When above-mentioned most proximity Time receiving carve change and remain earlier than the container to be tested start-up time and the time difference be not more than the predetermined period duration When, show to cause monitoring device no longer to send a notification message after requesting party opens container to be tested, and since monitoring device is first Operation is terminated when beginning container is turned on, thus there are high degrees between the unlatching of container to be tested and the unlatching of original container Strong association, can determine accordingly container to be tested for original container, and the article to be tested built in container to be tested be likely to Initial article built in original container is consistent, can be combined with other information certainly and further determines.When above-mentioned nearest reception Moment before start-up time and when the time difference is greater than the duration of predetermined period, shows that original container opens it in xylometer to be checked Before have been switched on, or when the above-mentioned nearest time of reception is when after start-up time, show original container in xylometer to be checked It does not still open after opening and (is equivalent to the inconsistent of switch state occurred at this time), show the unlatching of container to be tested in a word Apparent relevance is not present between the unlatching of original container, thus determines that container to be tested is not original container accordingly, it should Article to be tested built in container to be tested is not very likely the initial article built in original container yet.
In one embodiment, the intelligent contract of item verification is suitable for by calling, block chain node, which can obtain, shows institute The risk for stating the consistency between the initial article built in article to be tested and the original container built in container to be tested mentions Show, and feeds back the indicating risk to the requesting party.In one case, when in the block chain correspond to the initial appearance The container state record of the identification information of device shows initially to hold there is no when the shortage of data for reaching the continuous preset quantity period Device remains closed state, was not gated on, and criminal can not steal the initial article in original container, replace Deng, thus the indicating risk may include: when the container to be tested is confirmed to be the original container, it is described to be tested Consistency risk is not present in article and the initial object.In another case, described first when corresponding in the block chain When the container state record of the identification information of beginning container has the shortage of data for reaching the continuous preset quantity period, show initial There may be exceptions within the missing data corresponding period for container, such as by criminal's unlatching and to built-in initial article It stolen, replaced, especially when monitoring device impaired mode " terminate and run " non-by power-off etc., criminal may Force start is carried out to monitoring device, so that block chain node receives corresponding notification message, thus the indicating risk again It may include: the article to be tested and the initial object when the container to be tested is confirmed to be the original container Between there are inconsistent risks, the degree of risk of the inconsistent risk can be with the period in above-mentioned continuous preset quantity period Length is positively correlated.
In one embodiment, when the container state record for the identification information for corresponding to the original container in the block chain When in the presence of the shortage of data for reaching the continuous preset quantity period, block chain node can send described continuous to the requesting party At least one of following information in preset quantity period: start time, duration, end time etc., so that requesting party Assessment can be made to inconsistent risk accordingly.
Step 208, Xiang Suoshu requesting party returns to the inspection result.
In one embodiment, block chain node can will correspond to the identification information of the original container in the block chain Container state record transaction journal number be sent to the requesting party, allow requesting party to pass through other block chain nodes pair Associated vessel state recording is inquired, is checked, and is veritified with inspection result, the indicating risk etc. to block chain node feeding back Confirmation.
In one embodiment, block chain node can receive inquiry request, and the inquiry request includes requesting party to be checked Test the identification information of the original container obtained on container;Then, block chain node can will correspond in the block chain The time of reception and/or its transaction journal number that the container state record of the identification information of the original container includes are back to described Requesting party, so that the requesting party records the reception for including according to the container state for the identification information for corresponding to the original container Moment determines the consistency between the container to be tested and the original container.For example, requesting party can be according in block chain The container state of identification information corresponding to the original container records the time of reception for including, voluntarily judge container to be tested with Consistency between original container, or the arbitrary third party of commission judge that this specification is limited not to this;Its In, decision logic can refer to the above-mentioned embodiment betided at block chain node, and details are not described herein again.
In order to make it easy to understand, below by taking the true and false of a certain brand drinks distinguishes as an example, to the vessel examination side of this specification Case is introduced.Wherein, Fig. 3 is a kind of interaction schematic diagram for discrimination drinks true and false that an exemplary embodiment provides.Such as Fig. 3 institute Show, during distinguishing the drinks true and false, authentication server 31 can be related to, set on the bottle of certified products drinks in production process The mobile phone 33 etc. that the monitor 32 and user set are used when identifying the drinks true and false, interactive process may comprise steps of:
Step 301, monitor 32 monitors the bottle state of certified products drinks, when bottle is in off state to authentication server 31 send a notification message.
In one embodiment, monitor 32 can periodically detect the bottle state of certified products drinks, detection cycle when Length can be pre-configured by manufacturer, such as 30 seconds, 1 minute or other durations.
It in one embodiment, can be to mirror when monitor 32 detects that the bottle states of certified products drinks is in off state Other server 31 sends a notification message;The operation of monitor 32 can be related to bottle state, so that the bottle state is by closing When state is switched to open state, the monitor 32 can be triggered and terminate operation, to stop sending to authentication server 31 logical Know message.Therefore, the notification message sent according to monitor 32 to authentication server 31, can be reversed and deduce certified products drinks Bottle state.
In one embodiment, monitor 32 can be passively associated with to the bottle state of certified products drinks, so that working as certified products drinks When being turned on, which is forced to terminate operation.For example, Fig. 4 is that one kind that an exemplary embodiment provides passes through monitor The schematic diagram that bottle state is monitored;As shown in Figure 4, it is assumed that the bottle 4 of a certain brand drinks includes bottle cap 41 and body 42, monitor 32 can be assemblied at bottle cap 41, wherein when user's opening wine bottle 4 separates bottle cap 41 with body 42, it can To cause the power supply line of the monitor 32 to disconnect, so that monitor 32 terminates operation.
In one embodiment, monitor 32 can be with the bottle state of active detecting certified products drinks, and is opened in certified products drinks The operation of itself is terminated when opening.For example, monitor 32 can detecte the air pressure inside of bottle 4, the inside of bottle 4 when not opening Air pressure can be greater than external ambient pressure;And when user's opening wine bottle 4, monitor 32 can detecte the inside of bottle 4 Air pressure reduces, therefore, it is determined that certified products drinks are turned on, and active termination is run.
In one embodiment, except except through the normally-open bottle 4 of bottle cap 41, criminal may be by unconventional Means open bottle 4, and monitor 32 equally can detecte the unconventional unlatching situation of the generation of bottle 4, and correspondingly eventually Only run.For example, needle tubing may be inserted into inside bottle 4 from bottle cap 41 by criminal by syringe, will just sample wine from wine It is sucked out in bottle 4 and injects other feints, then will lead to the air pressure inside of bottle 4 in the process reduces, so that prison It surveys device 32 and is capable of detecting when that improper unlatching has occurred in bottle 4.In another example can be throughout protective wire inside entire bottle Road, the input voltage which is used to adjust power supply line to monitor 32;Wherein, when bottle 4 is not gated on, protection Route makes input voltage be in normal range (NR), and criminal drill on bottle cap 41 or body 42, steal just sample wine when, Protection circuit can be damaged, so that power supply line inputs instantaneous pressure to the monitor 32, thus monitor 32 can Operation is terminated to be damaged under instantaneous pressure.
Step 302, the notification message that authentication server 31 is sent according to monitor 32 generates container state and records and issue Into block chain.
In one embodiment, authentication server 31 can run the client of block chain, so that 31 quilt of authentication server It is configured to a block chain node, so as to trade by creating in block chain, container state record is distributed to block chain In.
In one embodiment, for the every notification message received, in the container state record that authentication server 31 generates It may include the number of certified products drinks and the time of reception to the notification message, wherein numbering for the certified products drinks and other It is distinguished between drinks, and the time of reception is for showing the certified products drinks at least in the time of reception still in closed state.
Step 303, mobile phone 33 sends to authentication server 31 and examines request.
In one embodiment, user may obtain the drinks of one bottle of above-mentioned brand by purchase or other modes, although Packaging, decoration of the drinks etc. show that it belongs to above-mentioned brand to the information that user conveys, but as mentioned previously, illegal point Son may be faked by various means, so that actual conditions are entirely different.Therefore, user can be by mobile phone 33 to identification Server 31, which is sent, examines request, to be tested by authentication server 31 to the drinks to be tested that the user holds.
Step 304, authentication server 31 is requested according to the inspection received, is called intelligent contract and is obtained and examines knot accordingly Then inspection result is back to mobile phone 33 by fruit.
In one embodiment, authentication server 31 can call intelligent contract, and the information for including in request will be examined to make For the input parameter of the intelligence contract, so that the appearance that intelligent contract can be requested and be distributed in block chain based on the inspection Device state recording tests to above-mentioned drinks to be tested, determines whether it is certified products.
Wherein, intelligent contract includes executable logical code, which is performed to obtain above-mentioned inspection knot Fruit;It is introduced below with reference to the function logic that Fig. 5 realizes the logical code, wherein Fig. 5 is that an exemplary embodiment mentions A kind of pair of drinks supplied carry out the schematic diagram of certified products inspection.As shown in figure 5, the function logic for examining drinks may include with Lower step:
Step 502, the nearest time of reception t1 for determining corresponding drinks is numbered according to drinks.
In one embodiment, bar code 421 can be equipped on body 42 such as shown in Fig. 4, which may include The number of corresponding drinks, is equivalent to the identity ID of each drinks.It similarly, can also on the bottle for the drinks to be tested that user holds To be equipped with the bar code comprising its number, the drinks number that the bar code includes can be parsed by mobile phone 33, and be added to It examines in request.
It is assumed that examining in request includes drinks number X, it includes drinks number X that intelligent contract can be searched in block chain Container state record.In some cases, intelligent contract possibly can not be found comprising drinks number X's in block chain Container state record, shows that drinks number X is not the number of certified products drinks, thus drinks to be tested are particularly likely that illegal point The counterfeit commodity of son production.In other cases, if intelligent contract has been found in block chain comprising drinks number X's Container state record, shows that drinks number X is the number of certified products drinks, and certain drinks to be tested still have as non-certified products Possibility --- such as criminal may the counterfeit number of certified products drinks, therefore can be further determined that by subsequent logic Whether the drinks to be tested are really the certified products drinks of number X.
By calling intelligent contract, the container state in block chain comprising number X can be found and recorded, and obtain these The container state found records the time of reception separately included, including nearest time of reception t1.
Step 504, the request moment for examining request is received according to the nearest time of reception t1 and authentication server 31 of acquisition T2 judges the switch state of the certified products drinks of number X.
In one embodiment, it is assumed that the cycle length that monitor 32 sends a notification message is t0.As nearest time of reception t1 Earlier than moment t2, and t2-t1 > t0 is requested, show monitor 32 after nearest time of reception t1, between request moment t2 Operation is terminated, and since monitor 32 terminates operation when the bottle of certified products drinks is turned on, show that the certified products drinks of number X exist Request moment t2 in the open state.And work as nearest time of reception t1 earlier than request moment t2 and t2-t1≤t0, or recently When time of reception t1 is later than request moment t2, show that monitor 32 is still persistently sending a notification message, and due to monitor 32 Operation is terminated when the bottle of certified products drinks is turned on, and shows that the certified products drinks of number X are in close state in request moment t2.
Step 506A determines the switch state of drinks to be tested when the bottle of certified products drinks has turned on.
It in one embodiment, may include the switch state of drinks to be tested in the inspection request that user sends, i.e., it should be to Examine whether the bottle of drinks has turned on.Certainly, user can also by other means accuse the switch state of drinks to be tested Know authentication server 31.
In one embodiment, when the certified products drinks of number X are in the open state, i.e. the bottle of the certified products drinks of number X When having turned on, if the bottle of drinks to be tested is not yet turned on, show the certified products drinks of number X and the switch shape of drinks to be tested State is inconsistent, although thus may determine that and be labeled as number X on the drinks to be tested, in the bottle of the drinks to be tested Dress is not just being sampled wine.There may be a variety of situations, such as criminal may have been used the wine of the certified products drinks of number X at this time Bottle, and the feints of personation have been poured into, it then Reseals to form above-mentioned drinks to be tested;In another example criminal may make With counterfeiting wine bottle, and it is provided with number X on the counterfeiting wine bottle, and has poured into the feints palmed off in the counterfeiting wine bottle, most Post package forms above-mentioned drinks to be tested.
Step 508A determines the unlatching of the two when the certified products drinks of number X are in open state with drinks to be tested Whether the moment is consistent.
In one embodiment, user can add the start-up time of drinks to be tested in examining request.In a kind of situation, Start-up time can be used as independently of the parameter except switch state;In another case, start-up time can be used for table simultaneously Up to " switch state " and " time information ", without simultaneously including switch state and start-up time in examining request: when not setting Show to be in close state when setting start-up time, show when being provided with start-up time in the open state and phase can be obtained Information at the time of answering.
In one embodiment, if drinks to be tested are certified products, i.e. the drinks to be tested certified products drinks that are exactly number X, So when the start-up time of drinks to be tested is t3, authentication server 31 should not just receive after start-up time t3 Monitor 32 send notification message so that on block chain comprising number X container state record in include nearest reception when Start-up time t3 should be not later than by carving t1 (start-up time for being equivalent to the certified products drinks of number X), and the monitor 32 by It is turned in bottle at the t3 moment and terminates operation, can operate normally before this, thus t3-t1 < t0 should be met.
So, when nearest reception corresponding by the certified products drinks of start-up time t3 and number X of acquisition drinks to be tested Carve t1, can in the case where meeting t1 and being not later than t3, t3-t1 < t0, determine drinks to be tested for number X certified products drinks, It is filling in the bottle of drinks to be tested just to sample wine.
And when nearest time of reception t1 is not later than start-up time t3 but t3-t1 >=t0, show that the certified products drinks of number X exist Drinks to be tested are just in the open state before being turned on, thus drinks to be tested are non-certified products, are not number X just It samples wine water;The correlation circumstance and bottle of drinks to be tested in step 506A is not opened, the bottle of the certified products drinks of number X has turned on Embodiment it is similar, details are not described herein again.
And when nearest time of reception t1 is later than start-up time t3, show that number X is just when drinks to be tested are turned on Water of sampling wine is not in open state, and after the drinks to be tested are turned on, the certified products drinks of number X are just turned on, because And drinks to be tested are non-certified products, are not the certified products drinks of number X.Wherein, criminal is likely to use fake spirits Bottle, and number X is provided on the counterfeiting wine bottle, and the feints of personation have been poured into the counterfeiting wine bottle, finally encapsulation is formed Above-mentioned drinks to be tested.
Step 506B determines the switch state of drinks to be tested when the bottle of certified products drinks is not opened.
In one embodiment, similar with step 506A, when the certified products drinks of number X are in close state, i.e. the volume When the bottle of the certified products drinks of number X is not opened, if the bottle of drinks to be tested has turned on, show the certified products drinks of number X with The switch state of drinks to be tested is inconsistent, although thus may determine that and be labeled as number X on the drinks to be tested, should The bottle of drinks to be tested is built-in not just to sample wine.Such as criminal may have been used counterfeiting wine bottle, and in the fake spirits It is provided with number X on bottle, and has poured into the feints of personation in the counterfeiting wine bottle, finally encapsulation forms above-mentioned wine to be tested Water.
Step 508B sends guidance information to user when the bottle of drinks to be tested is not opened.
In one embodiment, when the certified products drinks of drinks to be tested and number X are in closed state, drinks to be tested Both the certified products drinks be likely to be, it is also possible to which counterfeit merchandise needs that other information is combined to be judged.And it is sent to drawing for user Information is led, can guide user after opening drinks to be tested, start-up time t3 is sent to authentication server 31, to be based on Whether start-up time t3 accurate judgement drinks to be tested are positive water of sampling wine.
Step 510, the start-up time of drinks to be tested is obtained.
In one embodiment, it is based on above-mentioned guidance information, so that user after opening drinks to be tested, can recorde accordingly Start-up time t3, and feed back to authentication server 31.
Step 512, determine whether the certified products drinks of number X are consistent with the start-up time of drinks to be tested.
In one embodiment, after the certified products drinks of number X are judged as being in close state in step 504, in step Rapid 504 between step 512, and the corresponding nearest time of reception t1 of number X can update, when so that being transferred to step 512, institute The nearest time of reception t1 used has different values from the nearest time of reception t1 in step 502.
In one embodiment, when nearest time of reception t1 is later than start-up time t3, when showing that drinks to be tested are turned on The certified products drinks of number X are not in open state, and after the drinks to be tested are turned on number X certified products drinks It is just turned on or even the certified products drinks of number X is not yet turned in step 512, show the certified products drinks of number X Start-up time be later than drinks to be tested, both start-up time it is inconsistent, thus drinks to be tested are non-certified products, are not the numbers The certified products drinks of X.Wherein, criminal is likely to use counterfeiting wine bottle, and number X is provided on the counterfeiting wine bottle, And the feints of personation have been poured into the counterfeiting wine bottle, finally encapsulation forms above-mentioned drinks to be tested.
In one embodiment, if drinks to be tested are certified products, i.e. the drinks to be tested certified products drinks that are exactly number X, So when the start-up time of drinks to be tested is t3, authentication server 31 should not just receive after start-up time t3 The notification message that monitor 32 is sent, when remaining the corresponding nearest time of reception t1 of call number X should be not later than the unlatching It carves t3 and meets t3-t1 < t0.Therefore, corresponding by obtaining the certified products drinks of start-up time t3 and number X of drinks to be tested Nearest time of reception t1, can meet t1 remain be not later than t3, t3-t1 < t0 in the case where, determine drinks to be tested It just samples wine to be filling in the certified products drinks of number X, the bottle of drinks to be tested.
In one embodiment, when nearest time of reception t1, which is remained, is not later than start-up time t3 but t3-t1 >=t0, show The certified products drinks of number X after step 504, drinks to be tested be turned on before it is just in the open state thus to be checked Test drinks be non-certified products, be not number X certified products drinks.Wherein, criminal is likely to have used counterfeiting wine bottle, and On the counterfeiting wine bottle be provided with number X, and poured into the counterfeiting wine bottle personation feints, finally encapsulate formed it is above-mentioned to Examine drinks.
In addition, intelligent contract can be also used for counting the container state record on block chain including number X, determine The container state is recorded in corresponding data integrity degree of each period.For example, when there are the shortage of data in continuous n period (i.e. Do not have the container state record comprising number X corresponding to the continuous n period on block chain) when, criminal may take advantage of In the period in the continuous n period, open the bottle of certified products drinks and replace it is therein just sample wine, then to monitor 32 Implementation is restarted (especially when not irreversible damage occurs for monitor 32 when terminating operation).Therefore, for above-mentioned Shortage of data situation, intelligent contract can also generate corresponding indicating risk, especially when drinks to be tested are based on above-mentioned reality In the case where applying example and being determined as certified products drinks, user can be prompted, allow user by other dimensions to this Drinks to be tested carry out more comprehensive comprehensive identification.Wherein, the value of n can be set according to the actual situation, such as should The continuous n period at once between it is too short, such as monitor 32 may due to environmental factor, network condition etc. influence and lead It causes some notifications message that can not be sent to authentication server 31, similar situation should be avoided to be identified as risk scene;Compare again Such as the continuous n period does not answer overlong time, such as criminal that may only need 10 minutes related malfeasance can be completed, that The continuous n period should be not more than 10 minutes.
Fig. 6 is a kind of schematic configuration diagram for equipment that an exemplary embodiment provides.Referring to FIG. 6, in hardware view, it should Equipment includes processor 602, internal bus 604, network interface 606, memory 608 and nonvolatile memory 610, is gone back certainly It may include hardware required for other business.Processor 602 reads corresponding computer journey from nonvolatile memory 610 Then sequence is run into memory 608, vessel examination device is formed on logic level.Certainly, other than software realization mode, Other implementations, such as the mode of logical device or software and hardware combining is not precluded in this specification one or more embodiment Etc., that is to say, that the executing subject of following process flow is not limited to each logic unit, is also possible to hardware or logic Device.
Referring to FIG. 7, the vessel examination device can be applied to block chain node in Software Implementation;The dress It sets and includes:
Release unit 701, according to the notification message that is sent according to predetermined period of monitoring device being arranged at original container, to Container state record, identification information of the container state record comprising the original container and the notice are issued on block chain The time of reception of message, wherein the monitoring device terminates operation when the original container is turned on;
Request reception unit 702 is examined, acceptance inspection request, the inspection request is comprising requesting party from container to be tested The identification information of the original container obtained;
As a result acquiring unit 703, the intelligent contract of vessel examination is suitable for by calling, and acquisition shows the container to be tested The inspection result of consistency between the original container;Wherein, the intelligent contract suitable for vessel examination is used for root The time of reception that container state record according to the identification information for corresponding to the original container in the block chain includes determines institute The switch state of original container is stated, and according to the switch state of the original container and the switch state of the container to be tested Determine the inspection result;
As a result return unit 704, Xiang Suoshu requesting party return to the inspection result.
Optionally, the intelligent contract suitable for vessel examination is used by following manner and determines the original container Switch state:
Obtain in the block chain corresponding to the original container identification information container state record include it is nearest The time of reception;
The request moment for examining request, and the time difference are received earlier than the block chain link point when the nearest time of reception Greater than the predetermined period duration when, determine the original container switch state be open state;Otherwise, it determines described first The switch state of beginning container is in off state.
Optionally, the result acquiring unit 703 is specifically used for:
It is suitable for the intelligent contract of vessel examination by calling, switch state and the initial appearance in the container to be tested When the switch state of device is inconsistent, obtain following inspection results: the container to be tested is different from the original container.
Optionally, the result acquiring unit 703 is specifically used for:
By call be suitable for vessel examination intelligent contract, the switch state of the original container be open state, institute It states the container state in block chain corresponding to the identification information of the original container and records the nearest time of reception for including earlier than institute When stating the start-up time of container to be tested and the time difference and being not more than the duration of the predetermined period, following inspection results are obtained: described Container to be tested is the original container;Otherwise, obtain following inspection results: the container to be tested is different from the initial appearance Device.
Optionally, when the switch state of the container to be tested is open state, the inspection request is also comprising described The start-up time of container to be tested.
Optionally,
Further include: guidance unit 705, in the switch state of the original container and the switch state of the container to be tested When being in off state, Xiang Suoshu requesting party sends guidance information, and the guidance information is for guiding the requesting party opening Corresponding start-up time is returned after the container to be tested;
The result acquiring unit 703 is specifically used for: being suitable for the intelligent contract of vessel examination by calling, in the block The nearest time of reception that container state record in chain corresponding to the identification information of the original container includes remains earlier than institute When stating the start-up time of container to be tested and the time difference and being not more than the duration of the predetermined period, following inspection results are obtained: described Container to be tested is the original container;Otherwise, obtain following inspection results: the container to be tested is different from the initial appearance Device.
Optionally, further includes:
Obtaining unit 706 is prompted, the intelligent contract of item verification is suitable for by calling, acquisition shows the container to be tested The indicating risk of the consistency between initial article built in built-in article to be tested and the original container;Wherein:
Reach company when the container state record for the identification information for corresponding to the original container in the block chain is not present When the shortage of data in continuous preset quantity period, the indicating risk include: the container to be tested be confirmed to be it is described at the beginning of When beginning container, consistency risk is not present in the article to be tested and the initial object;
Reach continuous when the container state record for the identification information for corresponding to the original container in the block chain exists When the shortage of data in preset quantity period, the indicating risk include: be confirmed to be in the container to be tested it is described initial When container, there are inconsistent risks between the article to be tested and the initial object;
Feedback unit 707 is prompted, Xiang Suoshu requesting party feeds back the indicating risk.
Optionally, further includes:
Information transmitting unit 708, when the container state for the identification information for corresponding to the original container in the block chain When record has the shortage of data for reaching the continuous preset quantity period, Xiang Suoshu requesting party sends the continuous preset quantity At least one of following information in period: start time, duration, end time.
Optionally, further includes:
Serial number transmission unit 709 will correspond to the container-like of the identification information of the original container in the block chain The transaction journal number of state record is sent to the requesting party.
Optionally, further includes:
Inquiry request receiving unit 710, receives inquiry request, and the inquiry request includes requesting party from container to be tested The identification information of the original container obtained;
Data return unit 711 will correspond to the container state of the identification information of the original container in the block chain The time of reception and/or its transaction journal number that record includes are back to the requesting party, so that the requesting party is according to corresponding to The container state of the identification information of the original container records the time of reception for including, determine the container to be tested and it is described just Consistency between beginning container.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
In a typical configuration, computer includes one or more processors (CPU), input/output interface, network Interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, disk storage, quantum memory, based on graphene Storage medium or other magnetic storage devices or any other non-transmission medium, can be used for storing can be accessed by a computing device Information.As defined in this article, computer-readable medium does not include temporary computer readable media (transitory media), Such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous.
The term that this specification one or more embodiment uses be only merely for for the purpose of describing particular embodiments, and It is not intended to be limiting this specification one or more embodiment.In this specification one or more embodiment and the appended claims Used in the "an" of singular, " described " and "the" be also intended to including most forms, unless context understands earth's surface Show other meanings.It is also understood that term "and/or" used herein refers to and includes one or more associated list Any or all of project may combine.
It will be appreciated that though this specification one or more embodiment may using term first, second, third, etc. come Various information are described, but these information should not necessarily be limited by these terms.These terms are only used to same type of information area each other It separates.For example, the first information can also be referred to as in the case where not departing from this specification one or more scope of embodiments Two information, similarly, the second information can also be referred to as the first information.Depending on context, word as used in this is " such as Fruit " can be construed to " ... when " or " when ... " or " in response to determination ".
The foregoing is merely the preferred embodiments of this specification one or more embodiment, not to limit this theory Bright book one or more embodiment, all within the spirit and principle of this specification one or more embodiment, that is done is any Modification, equivalent replacement, improvement etc. should be included within the scope of the protection of this specification one or more embodiment.

Claims (21)

1. a kind of vessel examination method is applied to block chain node;The described method includes:
According to the notification message that the monitoring device being arranged at original container is sent according to predetermined period, container is issued on block chain State recording, the time of reception of container state the record identification information comprising the original container and the notification message, Wherein the monitoring device terminates operation when the original container is turned on;
Acceptance inspection request, the mark of the original container for examining request to obtain from container to be tested comprising requesting party Information;
It is suitable for the intelligent contract of vessel examination by calling, acquisition shows between the container to be tested and the original container The inspection result of consistency;Wherein, the intelligent contract suitable for vessel examination be used to correspond to according in the block chain The time of reception that the container state record of the identification information of the original container includes determines the switch state of the original container, And the inspection result is determined according to the switch state of the original container and the switch state of the container to be tested;
The inspection result is returned to the requesting party.
2. according to the method described in claim 1, to be used by following manner true for the intelligent contract suitable for vessel examination The switch state of the fixed original container:
It obtains the container state in the block chain corresponding to the identification information of the original container and records the nearest reception for including Moment;
The request moment for examining request is received earlier than the block chain link point when the nearest time of reception, and the time difference is greater than When the duration of the predetermined period, determine that the switch state of the original container is open state;Otherwise, it determines the initial appearance The switch state of device is in off state.
3. according to the method described in claim 1, the intelligent contract for being suitable for vessel examination by calling, acquisition show described The inspection result of consistency between container to be tested and the original container, comprising:
It is suitable for the intelligent contract of vessel examination by calling, in switch state and the original container of the container to be tested When switch state is inconsistent, obtain following inspection results: the container to be tested is different from the original container.
4. acquisition shows described to be checked according to the method described in claim 1, described call the intelligent contract for being suitable for vessel examination Test the inspection result of the consistency between container and the original container, comprising:
It is suitable for the intelligent contract of vessel examination by calling, is open state, the area in the switch state of the original container In block chain corresponding to the original container identification information container state record include the nearest time of reception earlier than it is described to Examine container start-up time and the time difference be not more than the predetermined period duration when, obtain following inspection results: described to be checked Testing container is the original container;Otherwise, obtain following inspection results: the container to be tested is different from the original container.
5. according to the method described in claim 4, the start-up time of the container to be tested is located in inspection request.
6. according to the method described in claim 1,
Further include: when the switch state of the original container and the switch state of the container to be tested are in off state, Guidance information is sent to the requesting party, the guidance information is for guiding the requesting party after opening the container to be tested Return to corresponding start-up time;
Described to call the intelligent contract for being suitable for vessel examination, acquisition shows between the container to be tested and the original container The inspection result of consistency, comprising: be suitable for the intelligent contract of vessel examination by calling, correspond in the block chain described The nearest time of reception that the container state record of the identification information of original container includes remains earlier than the container to be tested When start-up time and the time difference are not more than the duration of the predetermined period, obtain following inspection results: the container to be tested is institute State original container;Otherwise, obtain following inspection results: the container to be tested is different from the original container.
7. according to the method described in claim 1, further include:
It is suitable for the intelligent contract of item verification by calling, obtains the article to be tested and institute shown built in the container to be tested State the indicating risk of the consistency between the initial article built in original container;Wherein:
Reach continuous pre- when the container state record for the identification information for corresponding to the original container in the block chain is not present If when the shortage of data in quantity period, the indicating risk includes: to be confirmed to be the initial appearance in the container to be tested When device, consistency risk is not present in the article to be tested and the initial object;
Reach continuous default when the container state record for the identification information for corresponding to the original container in the block chain exists When the shortage of data in quantity period, the indicating risk includes: to be confirmed to be the original container in the container to be tested When, there are inconsistent risks between the article to be tested and the initial object;
The indicating risk is fed back to the requesting party.
8. according to the method described in claim 7, further include:
Reach continuous default when the container state record for the identification information for corresponding to the original container in the block chain exists When the shortage of data in quantity period, Xiang Suoshu requesting party is sent in following information in the continuous preset quantity period at least One of: start time, duration, end time.
9. according to the method described in claim 1, further include:
The transaction journal number for the container state record for corresponding to the identification information of the original container in the block chain is sent To the requesting party.
10. according to the method described in claim 1, further include:
Inquiry request is received, the inquiry request includes the mark for the original container that requesting party obtains from container to be tested Information;
By in the block chain correspond to the original container identification information container state record include the time of reception and/ Or its transaction journal number is back to the requesting party, so that the requesting party is according to the identification information for corresponding to the original container Container state record include the time of reception, determine the consistency between the container to be tested and the original container.
11. a kind of vessel examination device is applied to block chain node;Described device includes:
Release unit, according to the notification message that the monitoring device being arranged at original container is sent according to predetermined period, to block chain Upper publication container state record, identification information of the container state record comprising the original container and the notification message The time of reception, wherein the monitoring device terminates operation when the original container is turned on;
Request reception unit is examined, acceptance inspection request is described that request is examined to obtain from container to be tested comprising requesting party The identification information of the original container;
As a result acquiring unit, by call be suitable for vessel examination intelligent contract, acquisition show the container to be tested with it is described The inspection result of consistency between original container;Wherein, the intelligent contract suitable for vessel examination is used for according to The time of reception that container state record in block chain corresponding to the identification information of the original container includes determines described initial The switch state of container, and institute is determined according to the switch state of the original container and the switch state of the container to be tested State inspection result;
As a result return unit, Xiang Suoshu requesting party return to the inspection result.
12. device according to claim 11, the intelligent contract suitable for vessel examination is used by following manner Determine the switch state of the original container:
It obtains the container state in the block chain corresponding to the identification information of the original container and records the nearest reception for including Moment;
The request moment for examining request is received earlier than the block chain link point when the nearest time of reception, and the time difference is greater than When the duration of the predetermined period, determine that the switch state of the original container is open state;Otherwise, it determines the initial appearance The switch state of device is in off state.
13. device according to claim 11, the result acquiring unit is specifically used for:
It is suitable for the intelligent contract of vessel examination by calling, in switch state and the original container of the container to be tested When switch state is inconsistent, obtain following inspection results: the container to be tested is different from the original container.
14. device according to claim 11, the result acquiring unit is specifically used for:
It is suitable for the intelligent contract of vessel examination by calling, is open state, the area in the switch state of the original container In block chain corresponding to the original container identification information container state record include the nearest time of reception earlier than it is described to Examine container start-up time and the time difference be not more than the predetermined period duration when, obtain following inspection results: described to be checked Testing container is the original container;Otherwise, obtain following inspection results: the container to be tested is different from the original container.
15. device according to claim 14, when the switch state of the container to be tested is open state, the inspection Request is tested also comprising the start-up time of the container to be tested.
16. device according to claim 11,
Further include: guidance unit is to close in the switch state of the original container and the switch state of the container to be tested When closed state, Xiang Suoshu requesting party sends guidance information, the guidance information for guide the requesting party open it is described to Corresponding start-up time is returned after examining container;
The result acquiring unit is specifically used for: it is suitable for the intelligent contract of vessel examination by calling, it is right in the block chain The nearest time of reception that the container state record of the identification information of original container described in Ying Yu includes remains to be checked earlier than described When testing the start-up time of container and the time difference and being not more than the duration of the predetermined period, following inspection results are obtained: described to be tested Container is the original container;Otherwise, obtain following inspection results: the container to be tested is different from the original container.
17. device according to claim 11, further includes:
Obtaining unit is prompted, the intelligent contract of item verification is suitable for by calling, acquisition shows built in the container to be tested The indicating risk of the consistency between initial article built in article to be tested and the original container;Wherein:
Reach continuous pre- when the container state record for the identification information for corresponding to the original container in the block chain is not present If when the shortage of data in quantity period, the indicating risk includes: to be confirmed to be the initial appearance in the container to be tested When device, consistency risk is not present in the article to be tested and the initial object;
Reach continuous default when the container state record for the identification information for corresponding to the original container in the block chain exists When the shortage of data in quantity period, the indicating risk includes: to be confirmed to be the original container in the container to be tested When, there are inconsistent risks between the article to be tested and the initial object;
Feedback unit is prompted, Xiang Suoshu requesting party feeds back the indicating risk.
18. device according to claim 17, further includes:
Information transmitting unit exists when the container state for the identification information for corresponding to the original container in the block chain records When reaching the shortage of data in continuous preset quantity period, Xiang Suoshu requesting party was sent under the continuous preset quantity period State at least one of information: start time, duration, end time.
19. device according to claim 11, further includes:
Serial number transmission unit will correspond to the container state record of the identification information of the original container in the block chain Transaction journal number is sent to the requesting party.
20. device according to claim 11, further includes:
Inquiry request receiving unit, receives inquiry request, and the inquiry request includes what requesting party obtained from container to be tested The identification information of the original container;
Data return unit, by the block chain correspond to the original container identification information container state record include The time of reception and/or its transaction journal number be back to the requesting party so that the requesting party is described initial according to corresponding to The container state of the identification information of container records the time of reception for including, determine the container to be tested and the original container it Between consistency.
21. a kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor realizes such as container of any of claims 1-10 by running the executable instruction The method of inspection.
CN201811565643.5A 2018-12-20 2018-12-20 Vessel examination method and device, electronic equipment Pending CN110009369A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201811565643.5A CN110009369A (en) 2018-12-20 2018-12-20 Vessel examination method and device, electronic equipment
TW108136240A TWI700660B (en) 2018-12-20 2019-10-07 Container inspection method and device, electronic equipment
PCT/CN2019/114589 WO2020125223A1 (en) 2018-12-20 2019-10-31 Container inspection method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811565643.5A CN110009369A (en) 2018-12-20 2018-12-20 Vessel examination method and device, electronic equipment

Publications (1)

Publication Number Publication Date
CN110009369A true CN110009369A (en) 2019-07-12

Family

ID=67165174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811565643.5A Pending CN110009369A (en) 2018-12-20 2018-12-20 Vessel examination method and device, electronic equipment

Country Status (3)

Country Link
CN (1) CN110009369A (en)
TW (1) TWI700660B (en)
WO (1) WO2020125223A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659106A (en) * 2019-09-12 2020-01-07 北京浪潮数据技术有限公司 Container state inspection method and device
CN111274576A (en) * 2020-01-17 2020-06-12 济南浪潮高新科技投资发展有限公司 Control method, system, equipment and medium for intelligent contract operating environment
WO2020125223A1 (en) * 2018-12-20 2020-06-25 阿里巴巴集团控股有限公司 Container inspection method and apparatus, and electronic device
CN113296872A (en) * 2020-04-13 2021-08-24 阿里巴巴集团控股有限公司 Container state query method, device, equipment, storage medium and system
FR3111041A1 (en) * 2020-05-26 2021-12-03 Idealwine.Com Pellet comprising characteristics of a container and method of recovering said characteristics and authenticating the container.

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107835166A (en) * 2017-10-31 2018-03-23 济南浪潮高新科技投资发展有限公司 A kind of high value crystal retroactive method and device based on block chain
CN108734483A (en) * 2018-05-23 2018-11-02 北京智牛信息科技有限公司 article anti-counterfeit system
CN108848119A (en) * 2018-04-03 2018-11-20 阿里巴巴集团控股有限公司 The exchange method and device, system, electronic equipment of transregional piece of chain

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180284093A1 (en) * 2017-03-29 2018-10-04 Innit International S.C.A. Trusted Food Traceability System and Method and Sensor Network
TWI632507B (en) * 2017-06-03 2018-08-11 蔡政育 Product traceability code outputting system
TWI636411B (en) * 2017-09-13 2018-09-21 現代財富控股有限公司 System to provide non-repudiation for non-blockchain node and method thereof
CN108711063A (en) * 2018-05-27 2018-10-26 黄晓峰 A kind of packaging based on block chain is actively anti-fake and traces upper cable architecture
CN109034832A (en) * 2018-06-13 2018-12-18 湖南搜云网络科技股份有限公司 The information processing method and device of block chain, information processing node and storage medium
CN108974621B (en) * 2018-07-02 2019-11-12 贵州三佳科技有限公司 A kind of manufacturing method of wine product false proof device, wine product method for anti-counterfeit
CN109034851B (en) * 2018-09-05 2022-03-08 深圳正品创想科技有限公司 Commodity anti-counterfeiting tracing method and device based on block chain and block chain link points
CN110009369A (en) * 2018-12-20 2019-07-12 阿里巴巴集团控股有限公司 Vessel examination method and device, electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107835166A (en) * 2017-10-31 2018-03-23 济南浪潮高新科技投资发展有限公司 A kind of high value crystal retroactive method and device based on block chain
CN108848119A (en) * 2018-04-03 2018-11-20 阿里巴巴集团控股有限公司 The exchange method and device, system, electronic equipment of transregional piece of chain
CN108734483A (en) * 2018-05-23 2018-11-02 北京智牛信息科技有限公司 article anti-counterfeit system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020125223A1 (en) * 2018-12-20 2020-06-25 阿里巴巴集团控股有限公司 Container inspection method and apparatus, and electronic device
CN110659106A (en) * 2019-09-12 2020-01-07 北京浪潮数据技术有限公司 Container state inspection method and device
CN110659106B (en) * 2019-09-12 2022-03-22 北京浪潮数据技术有限公司 Container state inspection method and device
CN111274576A (en) * 2020-01-17 2020-06-12 济南浪潮高新科技投资发展有限公司 Control method, system, equipment and medium for intelligent contract operating environment
CN113296872A (en) * 2020-04-13 2021-08-24 阿里巴巴集团控股有限公司 Container state query method, device, equipment, storage medium and system
FR3111041A1 (en) * 2020-05-26 2021-12-03 Idealwine.Com Pellet comprising characteristics of a container and method of recovering said characteristics and authenticating the container.

Also Published As

Publication number Publication date
WO2020125223A1 (en) 2020-06-25
TW202025049A (en) 2020-07-01
TWI700660B (en) 2020-08-01

Similar Documents

Publication Publication Date Title
CN110009369A (en) Vessel examination method and device, electronic equipment
CN107392040A (en) A kind of method and device for checking of knowing together
CN106534572A (en) Information display method and device and terminal
CN204606551U (en) Internet of Things anti-counterfeit anti-theft package bin
CN104699559B (en) Backing up distributed data method and system
CN107161515B (en) A kind of bottle cap anti-fake method based on technology of Internet of things and the anti-fake bottle lid using this method
CN108154208A (en) A kind of article mark method, recognition methods and system based on Quick Response Code
CN107293064A (en) Pick up by oneself cabinet operating method, operating system and pick up by oneself cabinet
CN108347374A (en) A kind of information push method, system and device preventing invalid message
CN106934567A (en) A kind of method of physical state information pushing, device and electronic equipment
FR2757664A1 (en) TERMINAL AND SELF-DIAGNOSIS OR MONITORING METHOD AND PORTABLE OBJECT USED IN SUCH A TERMINAL OR METHOD
CN108307333A (en) Intermediary number sending method, device and storage medium for mobile communication equipment
CN107896218A (en) A kind of method and system of automatic detection identifying code passback logic leak
CN106355418A (en) Anti-counterfeiting authentication method based on NFC tag
CN109493564A (en) A kind of alarm method, apparatus and system
CN107451868A (en) A kind of method and device of article appraisal
CN110033566A (en) Method and apparatus for wrapping up save set
CN108734483A (en) article anti-counterfeit system
CN110458396A (en) The monitoring method and device of risk data
CN110502591A (en) A kind of data extraction method, device and equipment
CN110033602A (en) Intelligent alarm method and device, electronic equipment based on block chain
CN110099074A (en) A kind of method for detecting abnormality of internet of things equipment, system and electronic equipment
CN106347916A (en) Intelligent electronic device accommodating device
CN103092566A (en) Method and device for generating pseudo-random number seeds and pseudo-random numbers
CN206481316U (en) Information acquisition system and system of real name information gathering, application system

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

Application publication date: 20190712

RJ01 Rejection of invention patent application after publication