Summary of the invention
The purpose of the embodiment of the present application is to provide a kind of inspection based on block chain and deposits card method, apparatus and electronic equipment,
It can more easily realize the traceable of information record and can not distort.
In order to solve the above technical problems, the embodiment of the present application is achieved in that
In a first aspect, the embodiment of the present application, which provides a kind of inspection based on block chain, deposits card method, comprising:
The inspection data in multiple inspection places in inspection active sequences, the inspection data packet are acquired by mobile terminal
Include the running environment of the terminal device when the inspection of inspection place acquisition proves information and the acquisition inspection proves information
Parameter;
Based on the relationship of the corresponding running environment parameter in multiple inspection places in the inspection active sequences, patrolled to described
The inspection data in multiple inspection places in inspection active sequences carry out abnormality detection;
When abnormality detection passes through, the transaction that will carry the irreversible check information of the inspection data passes through block chain
Interface, which is submitted to, to be deposited in card block chain, to store described in the distributed account book for depositing card block chain.
Second aspect, the embodiment of the present application also provide a kind of inspection and deposit card method, comprising:
The inspection data in multiple inspection places in inspection active sequences, the inspection data packet are acquired by mobile terminal
Include the running environment of the terminal device when the inspection of inspection place acquisition proves information and the acquisition inspection proves information
Parameter;
Based on the relationship of the corresponding running environment parameter in multiple inspection places in the inspection active sequences, patrolled to described
The inspection data in multiple inspection places in inspection active sequences carry out abnormality detection;
When abnormality detection passes through, the irreversible check information of the inspection data is stored to safety certification rank and is greater than
In the data storage device of default certification level.
The third aspect, the embodiment of the present application also provide a kind of inspection based on block chain and deposit card device, comprising:
Acquisition module acquires the inspection data in multiple inspection places in inspection active sequences by mobile terminal, described
Inspection data include the terminal device when the inspection of inspection place acquisition proves information and the acquisition inspection proves information
Running environment parameter;
Abnormality detection module, based on the corresponding running environment parameter in multiple inspection places in the inspection active sequences
Relationship carries out abnormality detection the inspection data in multiple inspection places in the inspection active sequences;
Block chain, which uploads interface module, will carry the irreversible verification of the inspection data when abnormality detection passes through
The transaction of information is submitted to by block chain interface deposits in card block chain, to store described in the distributed account for depositing card block chain
This.
Fourth aspect, the embodiment of the present application also provide a kind of inspection and deposit card device, comprising:
Acquisition module acquires the inspection data in multiple inspection places in inspection active sequences by mobile terminal, described
Inspection data include the terminal device when the inspection of inspection place acquisition proves information and the acquisition inspection proves information
Running environment parameter;
Abnormality detection module, based on the corresponding running environment parameter in multiple inspection places in the inspection active sequences
Relationship carries out abnormality detection the inspection data in multiple inspection places in the inspection active sequences;
The irreversible check information of the inspection data is stored to safety and is recognized when abnormality detection passes through by memory module
Rank is demonstrate,proved to be greater than in the data storage device of default certification level.
5th aspect, the embodiment of the present application also provides a kind of computer equipment, comprising: memory, processor and is stored in
On the memory and the computer executable instructions that can run on the processor, the computer executable instructions are by institute
It states and realizes following operation when processor executes:
The inspection data in multiple inspection places in inspection active sequences, the inspection data packet are acquired by mobile terminal
Include the running environment of the terminal device when the inspection of inspection place acquisition proves information and the acquisition inspection proves information
Parameter;
Based on the relationship of the corresponding running environment parameter in multiple inspection places in the inspection active sequences, patrolled to described
The inspection data in multiple inspection places in inspection active sequences carry out abnormality detection;
When abnormality detection passes through, the transaction that will carry the irreversible check information of the inspection data passes through block chain
Interface, which is submitted to, to be deposited in card block chain, to store described in the distributed account book for depositing card block chain.
6th aspect, the embodiment of the present application also provide a kind of computer readable storage medium characterized by comprising institute
Computer readable storage medium is stated for storing computer executable instructions, the computer executable instructions are executed by processor
Shi Shixian or less is operated:
The inspection data in multiple inspection places in inspection active sequences, the inspection data packet are acquired by mobile terminal
Include the running environment of the terminal device when the inspection of inspection place acquisition proves information and the acquisition inspection proves information
Parameter;
Based on the relationship of the corresponding running environment parameter in multiple inspection places in the inspection active sequences, patrolled to described
The inspection data in multiple inspection places in inspection active sequences carry out abnormality detection;
When abnormality detection passes through, the transaction that will carry the irreversible check information of the inspection data passes through block chain
Interface, which is submitted to, to be deposited in card block chain, to store described in the distributed account book for depositing card block chain.
7th aspect, the embodiment of the present application also provides a kind of computer equipment, comprising: memory, processor and is stored in
On the memory and the computer executable instructions that can run on the processor, the computer executable instructions are by institute
It states and realizes following operation when processor executes:
The inspection data in multiple inspection places in inspection active sequences, the inspection data packet are acquired by mobile terminal
Include the running environment of the terminal device when the inspection of inspection place acquisition proves information and the acquisition inspection proves information
Parameter;
Based on the relationship of the corresponding running environment parameter in multiple inspection places in the inspection active sequences, patrolled to described
The inspection data in multiple inspection places in inspection active sequences carry out abnormality detection;
When abnormality detection passes through, the irreversible check information of the inspection data is stored to safety certification rank and is greater than
In the data storage device of default certification level.
Eighth aspect, the embodiment of the present application also provide a kind of computer readable storage medium characterized by comprising institute
Computer readable storage medium is stated for storing computer executable instructions, the computer executable instructions are executed by processor
Shi Shixian or less is operated:
The inspection data in multiple inspection places in inspection active sequences, the inspection data packet are acquired by mobile terminal
Include the running environment of the terminal device when the inspection of inspection place acquisition proves information and the acquisition inspection proves information
Parameter;
Based on the relationship of the corresponding running environment parameter in multiple inspection places in the inspection active sequences, patrolled to described
The inspection data in multiple inspection places in inspection active sequences carry out abnormality detection;
When abnormality detection passes through, the irreversible check information of the inspection data is stored to safety certification rank and is greater than
In the data storage device of default certification level.
As can be seen from the technical scheme provided by the above embodiments of the present application, the embodiment of the present application scheme can reach following
It is at least one the utility model has the advantages that
Information and running environment parameter are proved by the inspection in multiple inspection places in acquisition inspection active sequences, and are based on
The relationship of the running environment parameter in multiple inspection places carries out abnormality detection in inspection active sequences, to pass through abnormality detection
Afterwards, inspection data are stored using block chain technology, can more easily realizes the traceable of inspection data and can not
It distorts, once tracing information is needed to record, the confirmation of business reasons can be realized by the inspection data that block chain stores, and
It is credible to guarantee that the information of retrospect records, the confidence level and trackability of patrol officer's inspection data can be improved with this, and then improve
Place safety reduces the probability that safety problem occurs;
Information and running environment parameter are proved by the inspection in multiple inspection places in acquisition inspection active sequences, and are based on
The relationship of the running environment parameter in multiple inspection places carries out abnormality detection in inspection active sequences, to pass through abnormality detection
Afterwards, inspection data are stored using the data storage device of high safety authentication grade, can more easily realizes inspection number
According to it is traceable and can not distort, once tracing information is needed to record, can be deposited by the data of high safety authentication grade
The inspection data for storing up equipment storage realize the confirmation of business reasons, and it is credible to guarantee that the information of retrospect records, and can be improved and patrols with this
The confidence level and trackability of inspection personnel's inspection data, and then place safety is improved, reduce the probability that safety problem occurs.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
Below in conjunction with attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
Fig. 1 is a kind of inspection process schematic provided by the embodiments of the present application.As shown in Figure 1, firstly, inspection data acquire
Stage;Patrol officer acquires inspection in multiple inspection places by mobile terminal and proves, and obtains terminal when acquiring inspection proof
The running environment parameter of equipment;The abnormality detection stage carries out abnormality detection the inspection data of acquisition.When abnormality detection passes through
When, inspection data can be carried out depositing card.
Below with reference to Fig. 1, card method is deposited to the inspection of the embodiment of the present application and is further described.
Fig. 2 is that card method flow diagram is deposited in a kind of inspection based on block chain that one embodiment of the application provides.This Shen
Please embodiment method by inspection deposit card device execute.It should be understood that card device is deposited in the inspection of the embodiment of the present application, deployment can be
On mobile terminals one application one deposits the equipment of card dedicated for inspection or other have inspection and deposit
Demonstrate,prove function equipment, the embodiment of the present application to this with no restriction.As shown in Fig. 2, this method comprises:
S21 acquires the inspection data in multiple inspection places in inspection active sequences by mobile terminal.
Wherein, the inspection data include the inspection proof information and the acquisition inspection permit in the acquisition of inspection place
The running environment parameter of terminal device when breath.
It should be understood that in the embodiment of the present application, the inspection active sequences that multiple inspection places can be constituted are as one
It is whole.Multiple inspection places that the inspection active sequences include can be whole inspections during inspection of patrol officer
Place is also possible to the part inspection place in the secondary inspection activity.The inspection place for including in inspection active sequences can be by
User's sets itself can not also make any setting.
In the embodiment of the present application, can acquire inspection in several ways proves information.
For example, can be by the marker in mobile terminal shooting inspection place to obtain the visualization file of marker, it will
The visualization file proves information as inspection.The inspection proves information, can be the image of marker, is also possible to indicate
The video of object.Preferably, which may also include the view that may also include patrol officer in the image or the video of patrol officer
Frequency, etc..In scene shown in Fig. 1, patrol officer shoots the marker in inspection place by camera in the 2F floor in the building A,
To obtain the photo or video of marker.It should be understood that the general important affair of marker in an inspection place is first arranged.In addition, one
Marker in a inspection place can also have multiple with only one.When an inspection place is there are when multiple markers,
Can choose one of them photo or video as inspection proves information, may also require that selection it is multiple middle more than two or even
Whole photos or video prove information as inspection.
In another example can also obtain the inspection carried in bar code card by the bar code in mobile scanning terminal inspection place
Bright information.In scene shown in Fig. 1, patrol officer the building A 1F floor, by scanning the two-dimensional code, to obtain in two dimensional code
Inspection proves information.It should be understood that the two-dimensional barcode information of inspection point, can be directly printed two-dimensional barcode information, is also possible to
It is connected to patrol checking server, is generated by server and be shown in the two-dimensional barcode information in the display equipment in inspection place in real time, this
Application embodiment does not show this.Other bar code informations are similar.
For another example can also be connect by near-field communication (Near Field Communication, NFC) module of mobile terminal
The NFC signal that the NFC device in inspection place issues is received, proves information to obtain the inspection carried in the NFC signal.In Fig. 1
Shown in scene, 9F floor of the patrol officer in the building B, the NFC signal that the NFC device by receiving inspection place issues, thus
The inspection for obtaining inspection place proves information.
It should be understood, of course, that the inspection in aforementioned acquisition inspection place proves that the mode of information is only schematical, the application
Other acquisition inspections that the prior art also can be used in embodiment prove the scheme of information, or as technology development uses newly
Technical solution proves that information, the embodiment of the present application are without limitation to acquire inspection.
Furthermore, it is to be understood that when acquiring inspection proves information, in the embodiment of the present application, it is also necessary to obtain mobile terminal and adopt
The running environment parameter for collecting inspection when proving information.It should be understood that in the embodiment of the present application, the running environment parameter may include as
Under one or more combinations:
Mobile terminal acquisition inspection prove information when detect can connection communication equipment identification list;
Mobile terminal acquisition inspection proves the temperature information acquired when information;
Mobile terminal acquisition inspection proves the humidity information acquired when information;
Mobile terminal acquisition inspection proves the pressure information acquired when information;
Mobile terminal acquisition inspection proves the timestamp information acquired when information;
Mobile terminal acquisition inspection proves the base station signal strength acquired when information;
Mobile terminal acquisition inspection proves the multi-axial sensor data acquired when information;
Mobile terminal acquisition inspection proves the camera shooting focal length acquired when information.
Further, can connection communication equipment identification list, it may include it is following at least one:
The list of WIFI hot spot;
The list of bluetooth equipment.
Certainly, can connection communication equipment identification list may also include it is other can connection communication equipment list, the application
Embodiment to this with no restriction.
It should be understood that it should be understood, of course, that in the embodiment of the present application, can also obtain mobile terminal acquisition inspection proves information
When other running environment parameters, the embodiment of the present application to this with no restriction.
In addition, in the embodiment of the present application, can also obtain time when patrol officer logs in the inspection application of mobile terminal
Authentication information, etc. when stabbing information, carrying out living body authentication, the embodiment of the present application to this with no restriction.
Furthermore, it is to be understood that the method may also include that before step S21
Acquire the biometric information of patrol officer;
According to the biometric information, trust authentication is carried out to the patrol officer.
S23, based on the relationship of the corresponding running environment parameter in multiple inspection places in the inspection active sequences, to institute
The inspection data for stating multiple inspection places in inspection active sequences carry out abnormality detection.
It, can be by the corresponding running environment in multiple inspection places in the inspection active sequences in the embodiment of the present application
Relationship between parameter, carries out abnormality detection.
It should be understood that in the embodiment of the present application, it can one kind or more based on the running environment parameter mentioned in abovementioned steps S21
Kind index, carries out abnormality detection.
Optionally, in one embodiment, the running environment parameter of the terminal device includes the terminal device acquisition
Can connection communication equipment list;
Wherein, step S23 can include: logical based on connecting for multiple inspection places acquisition in the inspection active sequences
Believe that the coincidence situation of the list of equipment carries out abnormality detection, wherein be overlapped number or coincidence ratio greater than default and be overlapped threshold value table
Show that detection is abnormal.
For example, in scene shown in Fig. 1, it is assumed that patrol officer is in tri- place acquisitions of the building the A building 1F, A building 2F, B 9F
WIFI hot spot list is the same, then basic to can be assumed that, there are imitation behaviors in the inspection data in these three places.
Certainly, if patrol officer does not deposit in the WIFI hot spot list that the building 1F, A tri- places the building 2F, B 9F in the building A acquire
It is being overlapped, is being not offered as that imitation behavior is not present in the inspection data in these three places, and only illustrating at this time by that can connect
The abnormality detection of this index of the list of communication equipment.The abnormality detection of other indexs is similar.
Optionally, in one embodiment, the running environment parameter of the terminal device includes the terminal device acquisition
Temperature information;
Wherein, step S23 specifically can be achieved are as follows: the temperature based on multiple inspection places acquisition in the inspection active sequences
The difference value of degree information carries out abnormality detection, wherein the temperature difference in different inspection places, which is greater than fiducial temperature threshold value, indicates that detection is different
The temperature difference in the first inspection place often or in the multiple inspection place and the second inspection place not the first inspection place with
Indicate that detection is abnormal in the corresponding fiducial temperature threshold range in second inspection place.
For example, it is assumed that patrol officer is 0 DEG C, 15 DEG C, 25 respectively in the temperature of the building A 1F floor, the building A 2F floor, the acquisition of the building B 9F floor
℃.In general, within a certain period of time, can there is certain temperature difference between floor, but the temperature difference can not reach 10 DEG C or even
As many as 25 DEG C, substantially it can be assumed that inspection data fabrication.
In another example, it is assumed that patrol officer is 0 DEG C, 15 DEG C respectively in the temperature that the building A 1F floor, the building A 2F floor acquire.Wherein, the building A
1F layers of inspection place is ice cell, and the fiducial temperature of the building A 1F floor and the building A 2F floor is between 12 DEG C -18 DEG C.At this point it is possible to recognize
Determine the building A 1F floor, the inspection data of the building A 2F floor acquisition are normal in this index of the temperature difference.In another example, it is assumed that inspection people at this time
Member is 13 DEG C, 15 DEG C respectively in the temperature of the building the A building 1F, A 2F acquisition, then it can be assumed that the inspection data presence acquired at this time is made
It is false.
Optionally, in one embodiment, the running environment parameter of the terminal device includes the terminal device acquisition
Humidity information;
Wherein, step S23 specifically can be achieved are as follows: based on the wet of multiple inspection places acquisition in the inspection active sequences
The difference value of degree information carries out abnormality detection, wherein the temperature difference in different inspection places, which is greater than default psychrometric difference threshold value, indicates detection
The psychrometric difference in the first inspection place and the second inspection place in abnormal or the multiple inspection place is not in the first inspection
Indicate that detection is abnormal in point default psychrometric difference threshold range corresponding with the second inspection place.
The estimate of situation of psychrometric difference is similar with the temperature difference, no longer illustrates.
Optionally, in one embodiment, the running environment parameter of the terminal device includes the terminal device acquisition
Pressure information;
Wherein, step S23 specifically can be achieved are as follows: the gas based on multiple inspection places acquisition in the inspection active sequences
The difference value of pressure information carries out abnormality detection, wherein the temperature difference in different inspection places, which is greater than preset pressure difference threshold value, indicates detection
The draught head in the first inspection place and the second inspection place in abnormal or the multiple inspection place is not in the first inspection
Indicate that detection is abnormal in point preset pressure difference threshold range corresponding with the second inspection place.
The estimate of situation of draught head is similar with the temperature difference, no longer illustrates.
Optionally, in one embodiment, the running environment parameter of the terminal device and/or the inspection prove information
Middle carrying timestamp information;
Wherein, step S23 specifically can be achieved are as follows: based in the inspection active sequences multiple inspection places acquisition when
Between stamp information carry out abnormality detection, wherein the first inspection place in the multiple inspection place and the second inspection place when
Between the poor threshold value of difference preset time corresponding with the second inspection place less than the first inspection place indicate that detection is abnormal.
For example, it is assumed that being 20 minutes from the building A 1F floor to the minimum used time of the building B 9F floor, it is assumed that patrol officer adopts in the building A 1F floor
Integrate the timestamp of inspection proof information as 19:21,9F floor acquisition inspection proves that the timestamp of information is 19:31, time in the building B
Between be divided into 10 minutes, far smaller than minimum 20 minutes used times, at this time it can be assumed that inspection data fabrication.
Optionally, in one embodiment, the running environment parameter of the terminal device includes base station signal strength;
Wherein, step S23 specifically can be achieved are as follows: the base based on multiple inspection places acquisition in the inspection active sequences
Signal strength of standing carries out abnormality detection, wherein the first inspection place and the second inspection place in the multiple inspection place
Base station signal strength difference, which is greater than the first inspection place preset signal strength difference threshold value corresponding with the second inspection place, indicates inspection
It surveys abnormal.
The estimate of situation of base station signal strength difference is similar with the temperature difference, no longer illustrates.
It should be understood, of course, that aforementioned abnormality detection scheme only one by one carries out abnormality detection inspection data to index.In reality
In the application on border, can also multiple indexs in the running environment parameter to each inspection place carry out comprehensive assessment, with each index
Specific data and the corresponding weight of each index, determine the abnormality detection assessed value of running environment parameter, comment further according to abnormality detection
Valuation determines whether to be abnormal.
Specifically, for example, step S23 can be realized are as follows:
Based on the running environment parameter in the first inspection place, second in multiple inspection places in the inspection active sequences
The corresponding abnormality detection appraisal right weight values of each index, determine first in the running environment parameter in inspection place, running environment parameter
The abnormality detection assessed value in inspection place and the second inspection place;
Abnormality detection assessed value based on the first inspection place and the second inspection place, determines the first inspection place and second
Whether the inspection data in inspection place are abnormal.
It should be understood, of course, that can also prove information by inspection other than carrying out abnormality detection except through running environment parameter
Whether detection data is abnormal.
For example, not including 2F floor corresponding marker in the building A in the photographic intelligence uploaded in the building A 2F floor, then show inspection
Data exception.
In another example the NFC signal that the NFC device that the NFC signal in the building B 9F floor is not the building B 9F issues, this, which is also indicated that, is patrolled
Examine data exception.
Certainly, in actual application, can generally carry out inspection simultaneously proves the abnormal inspection of information and running environment parameter
It surveys.
The transaction for carrying the irreversible check information of the inspection data is passed through area when abnormality detection passes through by S25
Block chaining mouth, which is submitted to, to be deposited in card block chain, to store described in the distributed account book for depositing card block chain.
In the embodiment of the present application, the irreversible check information of the inspection data can will be carried by block chain interface
Transaction be submitted to deposit card block chain in.
It is described to deposit card block chain and be stored in described deposit in card block chain for verifying it should be understood that in the embodiment of the present application
Data it is credible
It should be understood that in the embodiment of the present application, the irreversible check information of the inspection data, for example, it may be inspection
Signing messages or inspection data of the abstract of the abstract inspection data of data after patrol officer's private key encryption
Encryption information after carrying out multiple irreversible encryption according to specified rule.
In addition, inspection data carry out the encryption information after multiple irreversible encryption according to specified rule, it is understood that there may be a variety of
Mode.For example, carrying out Hash operation to the full content of inspection data and then carrying out Hash operation (secondary Hash);Example again
Such as, multistage is divided by default division methods to inspection data and carries out Hash operation respectively, then the result of Hash operation is merged
Carry out Hash operation, etc. again afterwards.
Of course, it is also possible to there is the method for other irreversible check informations for obtaining the inspection data, the application is real
Example is applied to this with no restriction, also will not enumerate.
Furthermore, it is to be understood that in the embodiment of the present application, it can also be by the irreversible school of the mark of inspection data and inspection data
It tests information together, is put into transaction to be submitted to the distributed account book for depositing card block chain.
, can also be by the mark of inspection data and inspection data together furthermore, it is to be understood that in the embodiment of the present application, storage
Onto inspection data platform.Further, it can will be also stored with the block address of the irreversible check information of the inspection data, with
The marks of inspection data, inspection data together, store on inspection data platform together.
In the embodiment of the present application, information and fortune are proved by the inspection in multiple inspection places in acquisition inspection active sequences
Row environmental parameter, and the relationship of the running environment parameter based on inspection places multiple in inspection active sequences carries out abnormality detection,
To be stored using block chain technology to inspection data, can more easily realize inspection data after through abnormality detection
It is traceable and can not distort, once tracing information is needed to record, can be realized by the inspection data that block chain stores
The confirmation of business reasons, and guarantee retrospect information record it is credible, with this can be improved patrol officer's inspection data confidence level and
Trackability, and then place safety is improved, reduce the probability that safety problem occurs.
In another embodiment of the application, additionally provides a kind of inspection and deposit card method, as shown in figure 3, this method can
Include:
Step S31: the inspection data in multiple inspection places in inspection active sequences are acquired by mobile terminal.
Wherein, the inspection data include the inspection proof information and the acquisition inspection permit in the acquisition of inspection place
The running environment parameter of terminal device when breath.
S33, based on the relationship of the corresponding running environment parameter in multiple inspection places in the inspection active sequences, to institute
The inspection data for stating multiple inspection places in inspection active sequences carry out abnormality detection;
S35, when abnormality detection passes through, by the irreversible check information storage of the inspection data to safety certification rank
In data storage device greater than default certification level.
In the embodiment of the present application, information and operation are proved by the inspection in multiple inspection places in acquisition inspection active sequences
Environmental parameter, and the relationship of the running environment parameter based on inspection places multiple in inspection active sequences carries out abnormality detection, with
After through abnormality detection, inspection data are stored using the data storage device of high safety authentication grade, it can be relatively square
Just it realizes the traceable of inspection data and can not distort, once tracing information is needed to record, can be recognized by high safety
The inspection data for demonstrate,proving the data storage device storage of grade realize the confirmation of business reasons, and guarantee that the information record of retrospect can
The confidence level and trackability of patrol officer's inspection data can be improved with this, and then improve place safety for letter, reduce safety and ask
Inscribe the probability occurred.
It should be understood that in the embodiment of the present application, step S31, the specific implementation of step S33 can refer to embodiment illustrated in fig. 2
The specific implementation of middle step S21, S23, repeats no more.
It should be noted that the executing subject of each step of the embodiment of the present application institute providing method may each be same and set
It is standby, alternatively, this method is also by distinct device as executing subject.For example, the executing subject of step 11 and step 12 can be to set
Standby 1, the executing subject of step 13 can be equipment 2;For another example, the executing subject of step 11 can be equipment 1, step 12 and step
Rapid 13 executing subject can be equipment 2;Etc..
It is above-mentioned that the application specific embodiment is described.Other embodiments are within the scope of the appended claims.
In some cases, the movement recorded in detail in the claims or step can be executed according to the sequence being different from embodiment
And desired result still may be implemented.In addition, process depicted in the drawing not necessarily require the particular order shown or
Person's consecutive order is just able to achieve desired result.In some embodiments, multitasking and parallel processing are also possible
Or it may be advantageous.
Fig. 4 is that the structural schematic diagram of card device is deposited in one embodiment inspection of the application.Referring to FIG. 4, in a kind of software
In embodiment, inspection deposits card device 40 and may include:
Acquisition module 41 acquires the inspection data in multiple inspection places in inspection active sequences, institute by mobile terminal
Stating inspection data includes that the inspection acquired in inspection place proves that the terminal is set when information and the acquisition inspection prove information
Standby running environment parameter;
Abnormality detection module 42, based on the corresponding running environment parameter in multiple inspection places in the inspection active sequences
Relationship, the inspection data in multiple inspection places in the inspection active sequences are carried out abnormality detection;
Block chain, which uploads interface module 43, will carry the irreversible school of the inspection data when abnormality detection passes through
The transaction for testing information is submitted to by block chain interface deposits in card block chain, to store described in the distributed account for depositing card block chain
This.
In the embodiment of the present application, information and fortune are proved by the inspection in multiple inspection places in acquisition inspection active sequences
Row environmental parameter, and the relationship of the running environment parameter based on inspection places multiple in inspection active sequences carries out abnormality detection,
To be stored using block chain technology to inspection data, can more easily realize inspection data after through abnormality detection
It is traceable and can not distort, once tracing information is needed to record, can be realized by the inspection data that block chain stores
The confirmation of business reasons, and guarantee retrospect information record it is credible, with this can be improved patrol officer's inspection data confidence level and
Trackability, and then place safety is improved, reduce the probability that safety problem occurs.
Optionally, the inspection that multiple inspection places in inspection active sequences are acquired by mobile terminal proves information, packet
Include following at least one:
By the marker in mobile terminal shooting inspection place to obtain the visualization file of marker, by the visualization
File proves information as inspection;
Information is proved by the bar code in mobile scanning terminal inspection place to obtain the inspection carried in bar code;
The NFC signal issued by the NFC device that the near-field communication NFC module of mobile terminal receives inspection place, to obtain
The inspection carried in the NFC signal is taken to prove information.
Optionally, as one embodiment, the running environment parameter of the terminal device includes the terminal device acquisition
Can connection communication equipment list;
Wherein, abnormality detection module 42 is particularly used in:
Based in the inspection active sequences multiple inspection places acquisition can connection communication equipment list coincidence
Situation carries out abnormality detection, wherein being overlapped number or being overlapped ratio indicates detection exception greater than the default threshold value that is overlapped.
Optionally, as one embodiment, the running environment parameter of the terminal device includes the terminal device acquisition
Temperature information;
Wherein, abnormality detection module 42 is particularly used in:
The difference value of temperature information based on multiple inspection places acquisition in the inspection active sequences carries out abnormal inspection
It surveys, wherein the temperature difference in different inspection places, which is greater than fiducial temperature threshold value, to be indicated in detection exception or the multiple inspection place
The first inspection place and the second inspection place the temperature difference not in the first inspection place default temperature corresponding with the second inspection place
Indicate that detection is abnormal in poor threshold range.
Optionally, as one embodiment, the running environment parameter of the terminal device includes the terminal device acquisition
Humidity information;
Wherein, abnormality detection module 42 is particularly used in:
The difference value of humidity information based on multiple inspection places acquisition in the inspection active sequences carries out abnormal inspection
It surveys, wherein the temperature difference in different inspection places, which is greater than default psychrometric difference threshold value, to be indicated to detect abnormal or the multiple inspection place
In the first inspection place and the second inspection place psychrometric difference it is corresponding not pre- in the first inspection place and the second inspection place
If indicating that detection is abnormal in psychrometric difference threshold range.
Optionally, as one embodiment, the running environment parameter of the terminal device includes the terminal device acquisition
Pressure information;
Wherein, abnormality detection module 42 is particularly used in:
The difference value of pressure information based on multiple inspection places acquisition in the inspection active sequences carries out abnormal inspection
It surveys, wherein the temperature difference in different inspection places, which is greater than preset pressure difference threshold value, indicates detection exception or the multiple inspection place
In the first inspection place and the second inspection place draught head it is corresponding not pre- in the first inspection place and the second inspection place
If indicating that detection is abnormal in draught head threshold range.
Optionally, information is proved as one embodiment, the running environment parameter of the terminal device and/or the inspection
Middle carrying timestamp information;
Wherein, abnormality detection module 42 is particularly used in:
Timestamp information based on multiple inspection places acquisition in the inspection active sequences carries out abnormality detection,
In, time difference in the first inspection place in the multiple inspection place and the second inspection place is less than the first inspection place and the
The corresponding preset time difference threshold value in two inspection places indicates that detection is abnormal.
Optionally, as one embodiment, the running environment parameter of the terminal device includes base station signal strength;
Wherein, abnormality detection module 42 is particularly used in:
Base station signal strength based on multiple inspection places acquisition in the inspection active sequences carries out abnormality detection,
In, the base station signal strength difference in the first inspection place and the second inspection place in the multiple inspection place is greater than first and patrols
Examining place preset signal strength difference threshold value corresponding with the second inspection place indicates that detection is abnormal.
Optionally, as one embodiment, abnormality detection module 42 is particularly used in:
Based on the running environment parameter in the first inspection place, second in multiple inspection places in the inspection active sequences
The corresponding abnormality detection appraisal right weight values of each index, determine first in the running environment parameter in inspection place, running environment parameter
The abnormality detection assessed value in inspection place and the second inspection place;
Abnormality detection assessed value based on the first inspection place and the second inspection place, determines the first inspection place and second
Whether the inspection data in inspection place are abnormal.
Optionally, acquisition module 41 can also acquire the biometric information of patrol officer;
Card device 40 is deposited in inspection may also include personnel's authentication module 44, according to the biometric information, to the inspection
Personnel carry out trust authentication.
It, can also be with it should be noted that the device provided in the present embodiment can be realized by the way of computer hardware
It is realized using software mode, here without limitation.Card device 500 is deposited in inspection based on block chain may be implemented side shown in Fig. 2
The method of method embodiment deposits card method with specific reference to the inspection shown in Fig. 2 based on block chain, and details are not described herein again.
Fig. 5 is that the structural schematic diagram of card device 50 is deposited in a kind of inspection of another embodiment of the application, referring to FIG. 5,
In a kind of software implementation mode, which deposits card device 50 and includes:
Acquisition module 51 acquires the inspection data in multiple inspection places in inspection active sequences, institute by mobile terminal
Stating inspection data includes that the inspection acquired in inspection place proves that the terminal is set when information and the acquisition inspection prove information
Standby running environment parameter;
Abnormality detection module 52, based on the corresponding running environment parameter in multiple inspection places in the inspection active sequences
Relationship, the inspection data in multiple inspection places in the inspection active sequences are carried out abnormality detection;
Memory module 53, when abnormality detection passes through, by the irreversible check information storage of the inspection data to safety
Certification level is greater than in the data storage device of default certification level.
In the embodiment of the present application, information and operation are proved by the inspection in multiple inspection places in acquisition inspection active sequences
Environmental parameter, and the relationship of the running environment parameter based on inspection places multiple in inspection active sequences carries out abnormality detection, with
After through abnormality detection, inspection data are stored using the data storage device of high safety authentication grade, it can be relatively square
Just it realizes the traceable of inspection data and can not distort, once tracing information is needed to record, can be recognized by high safety
The inspection data for demonstrate,proving the data storage device storage of grade realize the confirmation of business reasons, and guarantee that the information record of retrospect can
The confidence level and trackability of patrol officer's inspection data can be improved with this, and then improve place safety for letter, reduce safety and ask
Inscribe the probability occurred.
The specific implementation of abnormality detection module 52 can refer to the side that the abnormality detection module 42 of embodiment illustrated in fig. 4 executes
Method repeats no more.
Optionally, acquisition module 51 can also acquire the biometric information of patrol officer;
Card device 50 is deposited in inspection may also include personnel's authentication module 54, according to the biometric information, to the inspection
Personnel carry out trust authentication.
It, can also be with it should be noted that the device provided in the present embodiment can be realized by the way of computer hardware
It is realized using software mode, here without limitation.Card device 500 is deposited in inspection may be implemented the side of embodiment of the method shown in Fig. 3
Method deposits card method with specific reference to inspection shown in Fig. 3, and details are not described herein again.
Fig. 6 is the structural schematic diagram of one embodiment electronic equipment of the application.Referring to FIG. 6, in hardware view, the electricity
Sub- equipment includes processor, optionally further comprising internal bus, network interface, memory.Wherein, memory may be comprising interior
It deposits, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile memories
Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other
Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..Only to be indicated with a four-headed arrow in Fig. 6, it is not intended that an only bus or a type of convenient for indicating
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer
Inspection is formed on face deposits card device.Processor executes the program that memory is stored, and is specifically used for executing following operation:
The inspection data in multiple inspection places in inspection active sequences, the inspection data packet are acquired by mobile terminal
Include the running environment of the terminal device when the inspection of inspection place acquisition proves information and the acquisition inspection proves information
Parameter;
Based on the relationship of the corresponding running environment parameter in multiple inspection places in the inspection active sequences, patrolled to described
The inspection data in multiple inspection places in inspection active sequences carry out abnormality detection;
When abnormality detection passes through, the transaction that will carry the irreversible check information of the inspection data passes through block chain
Interface, which is submitted to, to be deposited in card block chain, to store described in the distributed account book for depositing card block chain.
The method that card device execution is deposited in inspection disclosed in the above-mentioned embodiment illustrated in fig. 2 such as the application can be applied to processor
In, or realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.It was realizing
Each step of Cheng Zhong, the above method can be complete by the integrated logic circuit of the hardware in processor or the instruction of software form
At.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU),
Network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.It may be implemented or execute and is in the embodiment of the present application disclosed each
Method, step and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional place
Manage device etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and execute
At, or in decoding processor hardware and software module combination execute completion.Software module can be located at random access memory,
This fields such as flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register maturation
In storage medium.The storage medium is located at memory, and processor reads the information in memory, completes above-mentioned side in conjunction with its hardware
The step of method.
The method that the electronic equipment can also carry out Fig. 2, and realize that the function of card device embodiment shown in Fig. 2 is deposited in inspection,
Details are not described herein for the embodiment of the present application.
Fig. 7 is the structural schematic diagram of one embodiment electronic equipment of the application.Referring to FIG. 7, in hardware view, the electricity
Sub- equipment includes processor, optionally further comprising internal bus, network interface, memory.Wherein, memory may be comprising interior
It deposits, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile memories
Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other
Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..Only to be indicated with a four-headed arrow in Fig. 7, it is not intended that an only bus or a type of convenient for indicating
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer
Inspection is formed on face deposits card device.Processor executes the program that memory is stored, and is specifically used for executing following operation:
The inspection data in multiple inspection places in inspection active sequences, the inspection data packet are acquired by mobile terminal
Include the running environment of the terminal device when the inspection of inspection place acquisition proves information and the acquisition inspection proves information
Parameter;
Based on the relationship of the corresponding running environment parameter in multiple inspection places in the inspection active sequences, patrolled to described
The inspection data in multiple inspection places in inspection active sequences carry out abnormality detection;
When abnormality detection passes through, the irreversible check information of the inspection data is stored to safety certification rank and is greater than
In the data storage device of default certification level.
The method that card device execution is deposited in inspection disclosed in the above-mentioned embodiment illustrated in fig. 3 such as the application can be applied to processor
In, or realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.It was realizing
Each step of Cheng Zhong, the above method can be complete by the integrated logic circuit of the hardware in processor or the instruction of software form
At.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU),
Network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.It may be implemented or execute and is in the embodiment of the present application disclosed each
Method, step and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional place
Manage device etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and execute
At, or in decoding processor hardware and software module combination execute completion.Software module can be located at random access memory,
This fields such as flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register maturation
In storage medium.The storage medium is located at memory, and processor reads the information in memory, completes above-mentioned side in conjunction with its hardware
The step of method.
The method that the electronic equipment can also carry out Fig. 3, and realize that the function of card device embodiment shown in Fig. 3 is deposited in inspection,
Details are not described herein for the embodiment of the present application.
The embodiment of the present application also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned each embodiment of the method when being executed by processor, and can reach
Identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only
Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM),
Magnetic or disk etc..
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of the application, for example patrol
Collect device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each patrol
Unit is collected, hardware or logical device are also possible to.
It is above-mentioned that the application specific embodiment is described.Other embodiments are within the scope of the appended claims.
In some cases, the movement recorded in detail in the claims or step can be executed according to the sequence being different from embodiment
And desired result still may be implemented.In addition, process depicted in the drawing not necessarily require the particular order shown or
Person's consecutive order is just able to achieve desired result.In some embodiments, multitasking and parallel processing are also possible
Or it may be advantageous.
In short, being not intended to limit the protection scope of the application the foregoing is merely the preferred embodiment of the application.
It is all the application one or more embodiment spirit and principle within, any modification, equivalent replacement, improvement and so on,
It should be included within the protection scope of the application one or more embodiment.
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.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
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, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine 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.
Various embodiments are described in a progressive manner in the application, same and similar part between each embodiment
It may refer to each other, each embodiment focuses on the differences from other embodiments.Implement especially for system
For example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part illustrates.