Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification one or more, below will
In conjunction with the attached drawing in this specification one or more embodiment, to the technical solution in this specification one or more embodiment into
Row clearly and completely describes, it is clear that and described embodiment is only this specification one or more a part of the embodiment, and
The embodiment being not all of.Based on the embodiment in this specification one or more, those of ordinary skill in the art are not making
The model of this specification one or more protection all should belong in every other embodiment obtained under the premise of creative work out
It encloses.
This specification one or more embodiment provide a kind of Driving Test videotape storage means based on block chain, device and
System carries out signature processing to Driving Test video information using default security component, and in remote service at video recording equipment end
End, the Driving Test video information that sign test passes through is stored into block chain, by equipment end and server-side to Driving Test video information
Dual protection mechanism further improves credibility, safety and the tamper-resistance properties of Driving Test video information.
Fig. 1 is the application for the Driving Test video recording storage system based on block chain that this specification one or more embodiment provides
Schematic diagram of a scenario, as shown in Figure 1, the system includes: video recording equipment end and cloud server, wherein the video recording equipment end can be with
It is the device end with recording function, which is additionally provided with default security component, which can be
The background server that Driving Test video information for uploading to video recording equipment end carries out sign test and stores, cloud server middle part
There is the block chain for storing Driving Test video information in administration, wherein the detailed process of the Driving Test video recording storage based on block chain are as follows:
(1) video recording equipment end passes through the Driving Test video information that picture recording module obtains target user, wherein the target user is
The examinee of Driving Test examination is participated in, which can be the terminal device with recording function, specifically, passing through picture recording module
Acquire Driving Test operation of Driving Test examinee during Driving Test;
Specifically, the terminal device with recording function is transmitted collected Driving Test video information in a manner of information flow
To message processing module SDK, so that the Driving Test video information is transmitted to default security component SE by message processing module SDK;
(2) Driving Test got is recorded by default security component based on pre-generated private cipher key in video recording equipment end
As information carries out signature processing, the Driving Test video information after being signed;And the Driving Test video information after signature is transmitted to letter
Cease processing module, wherein the safety that default security component (Secure Element, the SE unit) is capable of providing private information is deposited
The functions such as storage, the safety execution of important procedure;
Specifically, video recording equipment end may include: terminal device, security component SE and information processing with recording function
Module SDK, each video recording equipment end are respectively provided with corresponding security component SE, security component and the terminal device with recording function
It is connected with message processing module;Wherein, security component is generated in the default setting stage using rivest, shamir, adelman at random
One group of asymmetric key pair, i.e. Public Key and private cipher key, and the private cipher key for Information Signature is only in security component
It is locally stored, the Public Key for information sign test is transmitted to cloud server, so that cloud server utilizes the Public Key
The Driving Test video information uploaded to corresponding equipment end carries out signature verification;
(3) the Driving Test video information after signature is uploaded to cloud server by the message processing module in video recording equipment end,
So that cloud server carries out information sign test to the Driving Test video information after the signature and stores the Driving Test video information;
(4) cloud server obtains corresponding with the Driving Test video information after receiving the Driving Test video information after signature
Public Key sign test processing is carried out to the Driving Test video information, specifically, utilizing the Public Key using the Public Key
Driving Test video information after signature is decrypted, judges whether sign test passes through the Driving Test video information according to decrypted result, if
Successful decryption then illustrates that sign test passes through, if decryption is unsuccessful, illustrates that sign test does not pass through;
(5) cloud server then stores Driving Test video information into block chain if it is determined that sign test passes through, wherein due to
Block chain technology have can not tamper, therefore can guarantee that the Driving Test video information being written in block chain can not be tampered,
To ensure that the credibility and safety of data;Meanwhile the subsequent Driving Test video information that will directly can be stored in block chain
It is used as traceable evidence;
In the storing process of Driving Test video information, at video recording equipment end, is recorded a video and believed to Driving Test using default security component
Breath carries out signature processing, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, by setting
Standby end and server-side further improve credibility, the peace of Driving Test video information to the dual protection mechanism of Driving Test video information
Full property and tamper-resistance properties.
Fig. 2 is the first of the Driving Test videotape storage means based on block chain that this specification one or more embodiment provides
Flow diagram is planted, the method in Fig. 2 can be executed by the video recording equipment end in Fig. 1, as shown in Fig. 2, this method includes at least
Following steps:
S201 obtains the Driving Test video information of target user using the terminal device with recording function, wherein this has
The terminal device of recording function can be camera etc., which may include: the examinee for participating in Driving Test examination;
S202 carries out at signature Driving Test video information using default security component based on pre-generated private cipher key
Reason, the Driving Test video information after being signed, wherein the private cipher key is corresponded with the terminal device with recording function;
Specifically, the terminal device with recording function is transmitted collected Driving Test video information using message stream mode
To message processing module, message processing module triggers default security component and carries out signature processing to Driving Test video information;Default peace
Driving Test video information after signature is transmitted to message processing module by whole assembly;
Wherein, due to presetting security component is capable of providing the secure storage of private information, the safety of important procedure executes etc.
Function, the security component include: CPU, RAM, ROM, crypto engine, sensor etc..It stores in information to before block chain, utilizes
Default security component carries out signature processing to Driving Test video information, can ensure Driving Test video information in the safety of equipment end in this way
Property and credibility, and it is transmitted to safety and tamper-resistance properties during cloud server;
Driving Test video information after signature is uploaded to cloud server, so that the cloud server is to the signature by S203
Driving Test video information afterwards carries out signature verification and stores the Driving Test video information that signature verification passes through into block chain;
Specifically, message processing module receives the Driving Test video information after the signature that default security component transmits, and should
Driving Test video information after signature is uploaded to cloud server;
In addition, the Driving Test after signature can be recorded by trusted channel to further increase the safety of upload information
As information is uploaded to cloud server, to prevent from being trapped and distorting in message transmitting procedure;
Specifically, cloud server after the Driving Test video information for receiving the upload of video recording equipment end, is first recorded the Driving Test
The Driving Test video information is stored into block chain if sign test passes through as information carries out sign test processing, in this way by information
Increase the process of information sign test before storing to block chain, it can be ensured that it is believable for storing to the data of block chain;
Wherein, due to block chain technology have can not tamper, can guarantee the Driving Test being written in block chain record
As information can not be tampered, to ensure that the credibility and safety of data;Meanwhile it subsequent will directly can be deposited in block chain
The Driving Test video information of storage is used as traceable evidence.
In this specification one or more embodiment, at video recording equipment end, is recorded a video and believed to Driving Test using default security component
Breath carries out signature processing, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, by setting
Standby end and server-side can ensure that the source generated from information is deposited to information to the dual protection mechanism of Driving Test video information in this way
The safety and credibility of storage further improve credibility, safety and the tamper-resistance properties of Driving Test video information.
In a specific embodiment, as shown in figure 3, giving the first between video recording equipment end and cloud server
Interactive process schematic diagram, specifically:
S301, video recording equipment end acquire the Driving Test video information of target user by picture recording module;
S302, picture recording module send Driving Test video information to message processing module in a manner of data flow, wherein the information
Processing module is equipped with corresponding Software Development Kit (Software Development Kit, SDK);
S303, the Driving Test video information that message processing module is transmitted and received to security component SE;
S304, security component SE carry out signature processing to Driving Test video information, obtain using pre-generated private cipher key
Driving Test video information after signature;
S305, security component SE send the Driving Test video information after signing to message processing module;
Driving Test video information after signature is uploaded to the business module in cloud server by S306, message processing module
server;
S307, business module server carry out signature verification to the Driving Test video information after signature;
S308, business module server store the Driving Test video information that signature verification passes through into block chain.
Further, it is contemplated that there may be being forged to the environmental information that Driving Test is recorded a video, in order to further
Ensure to store to the authenticity of the Driving Test video information of block chain, at video recording equipment end, introduces and environment letter is carried out to Driving Test video recording
Breath label, it is corresponding, in background server, introduce and environment verification link carried out to Driving Test video information, only signature verification and
The Driving Test video information that environment verification passes through simultaneously is just stored into block chain, this is based on, as shown in figure 4, above-mentioned S203 will be signed
Name after Driving Test video information be uploaded to cloud server so that the cloud server to the Driving Test video information after the signature into
Row signature verification simultaneously stores the Driving Test video information that signature verification passes through into block chain, specifically includes:
S2031 carries out environmental information label to the Driving Test video information after signature, the Driving Test video recording after obtaining environmental labelling
Information;
Specifically, the Driving Test video information after signature and the corresponding relationship between environmental information are established, by driving after signature
It examines video information to be bound with corresponding environmental information, the combination of the Driving Test video information after signature and environmental information is determined
For the Driving Test video information after environmental labelling;
Furthermore it is also possible to directly to using have recording function terminal device obtain Driving Test video information with it is corresponding
The combination of environmental information carries out signature processing, is signed and the Driving Test video information after environmental labelling;
Driving Test video information after environmental labelling is uploaded to cloud server, so that the cloud server is to this by S2032
Driving Test video information after environmental labelling carries out signature verification and environment verification, and signature verification is passed through and environment verification passes through
Driving Test video information store into block chain;
Specifically, message processing module receives the Driving Test video information after the signature that default security component transmits, this is driven
It examines video information and carries out environmental information label, and the Driving Test video information after environmental labelling is uploaded to cloud server;
Specifically, since video recording equipment end is before being uploaded to cloud server for Driving Test video information, not only to Driving Test
Video information carries out signature processing, also carries out the processing of environmental information label to Driving Test video information, therefore, cloud server is connecing
After the Driving Test video information for receiving the upload of video recording equipment end, not only needs to carry out sign test processing to the Driving Test video information, also need
The processing of environment verification is carried out to Driving Test video information, if sign test passes through and environment verification passes through, which be recorded a video and is believed
Breath is stored into block chain, can further ensure that it is believable and true for storing to the data of block chain in this way.
Wherein, for the process of environmental information label, above-mentioned S2031 carries out environment letter to the Driving Test video information after signature
Breath label, the Driving Test video information after obtaining environmental labelling specifically include:
Step 1 obtains the current context information of target user, wherein the current environment information includes: satellite positioning letter
At least one of breath, network device identity, communication network mark;
Specifically, satellite positioning information can be GPS information, network device identity can be the mark of communication base station used
Know information, communication network identifies the identification information that can be cordless communication network, for example, the cordless communication network can be
wifi;
Step 2 is carried out environmental labelling to the Driving Test video information after signature, is obtained based on the current context information got
Driving Test video information after to environmental labelling;
Specifically, the Driving Test video information after signature is carried out information binding with corresponding current context information, will sign
The set of Driving Test video information and corresponding current context information afterwards is determined as the Driving Test video information after environmental labelling.
Specifically, for cloud server to the signature-verification process of Driving Test video information, specifically:
(1) Public Key corresponding with the Driving Test video information of verifying to be signed is obtained;
Specifically, determining the target device mark at the video recording equipment end of the Driving Test video information after uploading signature;It obtains pre-
The Public Key corresponding with target device mark first stored, wherein the Public Key is non-right in the generation of default security component
Claim the key pair stage, the video recording equipment end request cloud server record with target device mark;
(2) using the Public Key got, signature verification is carried out to the Driving Test video information after the signature received;
Specifically, if can decrypt to obtain the Driving Test video information of plaintext based on Public Key, it is determined that signature verification
As a result pass through for signature verification;If can not decrypt to obtain the Driving Test video information of plaintext based on Public Key, it is determined that signature
Verification result is that signature verification does not pass through;
Specifically, for cloud server to the environment verification process of Driving Test video information, specifically:
(1) environmental information corresponding with the Driving Test video information to environment verification is obtained, wherein the environmental information includes more
The attribute value of item environment attribute parameter, which can be the environmental parameter in characterization geographical location, for example, the environment
Property parameters can be satellite positioning information, network device identity or communication network mark;
Specifically, being parsed and the Driving Test video information to environment verification from the Driving Test video information after environmental labelling
Corresponding environmental information, wherein the environmental information is the insertion when carrying out environmental labelling to Driving Test video information of video recording equipment end
Target user current context information;
(2) it is directed to each environment attribute parameter, determines the corresponding geographical location information of the attribute value of the environment attribute parameter;
Specifically, the current longitude and latitude of GPS positioning technology locking will be utilized if environment attribute parameter is satellite positioning information
Degree information is determined as corresponding geographical location information, will be where the network equipment if environment attribute parameter is network device identity
Latitude and longitude information be determined as corresponding geographical location information, if environment attribute parameter be cable communication network mark, by nothing
The current latitude and longitude information that line communication network is covered is determined as corresponding geographical location information;
(3) if it is determined that multiple geographical location information meet preset condition, it is determined that environment verification result is tested for environment
Really pass through;
Specifically, in view of the corresponding geographical location information of every environment attribute parameter there may be deviations the case where, if
The position spacing for the multiple geographical location information determined is less than preset threshold, it is determined that multiple geographical location information meet default
Condition;The case where being consistent for multiple geographical location information, i.e. position spacing are zero, then illustrate satellite positioning information, net
Any one of network device identification, communication network mark are not modified;
For example, if the corresponding geographical location information of satellite positioning information is geographical location 1, if network device identity is corresponding
Geographical location information is geographical location 2, if it is geographical location 3 that communication network, which identifies corresponding geographical location information, if geographical
Two two positions spacing are respectively less than preset threshold between position 1, geographical location 2 and geographical location 3, it is determined that environment verification result is
Environment verification passes through, in this way if the attribute value of any one environment attribute parameter is forged or distorts, during environment verification
It will be identified;
It, can also be by the ring that will be parsed from the Driving Test video information after environmental labelling in addition, in the specific implementation
Border information is compared with the environmental information stored in advance for video recording equipment end, to determine whether environment verification passes through.
In a specific embodiment, the process that environmental labelling and environment verification are carried out to Driving Test video information is introduced,
As shown in figure 5, second of interactive process schematic diagram between video recording equipment end and cloud server is given, specifically:
S501, video recording equipment end acquire the Driving Test video information of target user by picture recording module;
S502, picture recording module send Driving Test video information to message processing module in a manner of data flow, wherein the information
Processing module is equipped with corresponding Software Development Kit (Software Development Kit, SDK);
S503, the Driving Test video information that message processing module is transmitted and received to security component SE;
S504, security component SE carry out signature processing to Driving Test video information, obtain using pre-generated private cipher key
Driving Test video information after signature;
S505, security component SE send the Driving Test video information after signing to message processing module;
S506, message processing module carry out environmental information label to the Driving Test video information after signature, obtain environmental labelling
Driving Test video information afterwards;
Driving Test video information after environmental labelling is uploaded to the business mould in cloud server by S507, message processing module
Block server;
S508, business module server carry out signature verification and environment verification to the Driving Test video information after environmental labelling;
S509, business module server store the Driving Test video information that signature verification passes through and environment verification passes through to area
In block chain.
Further, it for the ease of the retrospect and evidence obtaining of subsequent Driving Test video information, is recorded for needing to be based on history Driving Test
The case where as being veritified to the Driving Test achievement authenticity of a certain examinee, due to the data being stored on block chain have it is credible, can not
The characteristic distorted can directly obtain the corresponding Driving Test video information of the examinee from block chain, without recording a video again to Driving Test
Information carry out Trusting eBusiness, be based on this, by the Driving Test video information that signature verification passes through and environment verification passes through store to
After in block chain, further includes:
Step 1, cloud server receive the Driving Test video recording checking request for user to be traced, wherein the checking request
Carry the identification information of user to be traced;
Specifically, above-mentioned Driving Test video recording checking request can be what monitor terminal was sent to cloud server;
Step 2, cloud server obtain Driving Test video recording letter corresponding with the identification information of user to be traced from block chain
Breath;
Step 3, cloud server determine that user to be traced is according to the Driving Test video information got from block chain
It is no that there are Driving Test cheatings;
Specifically, cloud server is after determining whether there is cheating, it can also be by cheating recognition result
It is sent to corresponding monitor terminal (i.e. the terminal of requests verification) and/or examinee's mobile terminal;
Specifically, needing first if the Driving Test video information obtained from block chain is encryption data using corresponding close
The encryption data is decrypted in key information, obtains the Driving Test video information of plaintext, in turn, from the Driving Test video information of plaintext
Key feature needed for extracting, by carrying out anomalous identification to the key feature, if anomalous identification result meets default cheating item
Part, it is determined that there are Driving Test cheatings by user to be traced, and execute corresponding punishment to the user to be traced;
For example, if it is not registration examinee that anomalous identification participates in Driving Test examinee as the result is shown, it is determined that anomalous identification
As a result meet default cheating condition;
For another example, if anomalous identification has improper operation (for example, making marks in advance, obtaining external support as the result is shown
Deng), it is determined that anomalous identification result meets default cheating condition.
Wherein, whether above-mentioned steps three determine user to be traced according to the Driving Test video information got from block chain
There are Driving Test cheatings, specifically include:
From Driving Test video information, the figure information of user to be traced is extracted;And it obtains entering oneself for the examination for user to be traced and examines
Raw image;
The figure information of extraction is compared with examinee's image is entered oneself for the examination, generates corresponding comparison result;
According to the comparison result of generation, determine that user to be traced whether there is Driving Test cheating, specifically, if comparing knot
Fruit is that matching degree is less than preset threshold, then illustrates that participating in Driving Test examinee is not registration examinee, accordingly, it is determined that there is cheating
Behavior.
Further, it before recording a video to Driving Test examinee, needs to generate for the private cipher key of signature and for testing
The Public Key of label, it can generate one group of asymmetric key pair in the default setting stage in default security component, be based on this, such as
Shown in Fig. 6, before the Driving Test video information that S201 utilizes the terminal device with recording function to obtain target user, also wrap
It includes:
S204 generates Public Key and corresponding private cipher key using default security component at random;Wherein, the Public Key
For carrying out sign test processing (i.e. signature verification) to Driving Test video information, the private cipher key is for signing Driving Test video information
Name processing;
Specifically, default security component is generated using non-encrypted algorithm at random automatically in the security component default setting stage
A pair of of Public Key and private cipher key, i.e. Public Key and private cipher key are generated under trusted context, each video recording equipment
End correspondence and unique a pair of of Public Key and private cipher key;
S205 stores above-mentioned private cipher key to local, specifically, carrying out video recording rank in the Driving Test operation to target user
Section, default security component carries out signature processing using the collected Driving Test video information of the private cipher key pair, after being signed
Driving Test video information;And
Above-mentioned Public Key is transmitted to cloud server by S206, so that cloud server record and video recording equipment end
Corresponding Public Key simultaneously carries out signature verification to the Driving Test video information received based on the Public Key;
Specifically, carrying out the video recording stage in the Driving Test operation to target user, cloud server utilizes pre-recorded public affairs
There is key, the Driving Test video information after the signature uploaded to corresponding video recording equipment end carries out signature verification.
Further, it is contemplated that there may be illegality equipment ends to store respective Public Key to remote server request
Situation uploads in order to avoid cloud server stores the Public Key that illegality equipment end uploads to cloud server
The process of Public Key for signature verification introduces request trust authority for Public Key and issues the number with public credibility
The link of certificate due to there was only legitimate device end just allows that trust authority is requested to issue corresponding digital certificate, such cloud clothes
Business device only stores the digital certificate that trust authority is issued, to ensure that the Driving Test video information that signature verification passes through is to close
Method equipment end is uploaded, and is based on this, above-mentioned Public Key is transmitted to cloud server by above-mentioned S206, so that the cloud service
Device is recorded Public Key corresponding with video recording equipment end and is signed based on the Public Key to the Driving Test video information received
Name verifying, specifically includes:
Above-mentioned Public Key is sent to trusted service management platform, so that trusted service management platform is raw by step 1
At the digital certificate comprising Public Key;
Specifically, legal video recording equipment end is connect with trusted service management Platform communication, it is set to video recording equipment end
Default security component in the default setting stage, the private cipher key that it is generated at random is stored to local, and it random is generated
Public Key be uploaded to trusted service management platform;Trusted service manages platform and is authenticated and issued to receiving Public Key
It sends out digital certificate corresponding, and the digital certificate is back to corresponding video recording equipment end;
Step 2 receives the digital certificate comprising Public Key that trusted service management platform is sent, wherein due to the number
Word certificate is that trust authority is issued, which has public credibility, and subsequent cloud server carries out digital certificate note
When record, issuing organization can be parsed from digital certificate to be recorded, to identify whether the digital certificate received is credible
What mechanism issued, it prevents Public Key from being attacked, improves the credibility of Public Key;
Step 3 sends certificate record request to cloud server based on the digital certificate received, so that the cloud takes
Business device is recorded the digital certificate and is signed based on the Public Key in the digital certificate to the Driving Test video information received
Verifying;
Specifically, video recording equipment end sends the certificate record request for carrying digital certificate to cloud server, with triggering
Cloud server records digital certificate corresponding with the video recording equipment end;
It is corresponding, it is carried out the video recording stage in the Driving Test operation to target user, cloud server utilizes pre-recorded number
Public Key in word certificate, the Driving Test video information after the signature uploaded to corresponding video recording equipment end carry out signature and test
Card.
Wherein, for during requesting cloud server record to be used for the Public Key of signature verification, increase credible
The case where mechanism authenticate simultaneously certificate to Public Key, corresponding, signature of the cloud server to Driving Test video information
Verification process, specifically:
(1) digital certificate comprising Public Key corresponding with the Driving Test video information of verifying to be signed is obtained;
Specifically, determining the target device mark at the video recording equipment end of the Driving Test video information after uploading signature;It obtains pre-
What is first stored identifies the corresponding digital certificate comprising Public Key with target device, wherein the digital certificate is in default peace
Whole assembly generates the asymmetric key pair stage, the video recording equipment end request cloud server record with target device mark
's;
(2) corresponding Public Key is parsed from the digital certificate got, wherein the Public Key is in default safety
Component generates asymmetric key pair stage, the key information corresponding with private cipher key for signature generated;
(3) using the Public Key parsed, signature verification is carried out to the Driving Test video information after the signature received;
Specifically, if can decrypt to obtain the Driving Test video information of plaintext based on Public Key, it is determined that signature verification
As a result pass through for signature verification;If can not decrypt to obtain the Driving Test video information of plaintext based on Public Key, it is determined that signature
Verification result is that signature verification does not pass through.
In a specific embodiment, as shown in fig. 7, introducing request trust authority and issuing for Public Key has public letter
The process of the digital certificate of power gives the third interactive process schematic diagram between video recording equipment end and cloud server, tool
Body are as follows:
S701, video recording equipment end send default setting request to security component SE by equipment end App;
S702, security component SE are after receiving default setting request, the random Public Key and corresponding privately owned close of generating
Key;
Private cipher key is stored in local by S703, security component SE;
Public Key is sent to trusted service management platform TSM by S704, security component SE;
S705, trusted service manage platform TSM and generate the digital certificate comprising Public Key;
S706, trusted service manage platform TSM and send to the message processing module at video recording equipment end comprising Public Key
Digital certificate;
S707, business module server of the message processing module into cloud server send the card for carrying digital certificate
Secretary records request, wherein trusted service management platform TSM and business module server can be set in same server, can also
To be set to different server;
S708, business module server verify and record the corresponding digital certificate in video recording equipment end, specifically, verifying number
Whether the issuing organization of certificate is default trust authority, if so, recording the digital certificate;
Specifically, being directed to each video recording equipment end, pre-recorded corresponding digital certificate in video recording equipment end, to target
User Driving Test operation carry out the video recording stage, cloud server receive video recording equipment end upload Driving Test video information after,
Using the Public Key in digital certificate corresponding with the video recording equipment end, Driving Test video information after the signature uploaded to it into
Row signature verification.
Further, it is contemplated that although issuing link by increase digital certificate to identify the record from illegality equipment
Request, but there is likely to be illegality equipments to pass through the case where improper channel obtains digital certificate, it can not in order to quickly recognize
The case where believing device request record digital certificate, prevents non-trusted device upload digital certificate, to improve cloud server note
The accuracy of the digital certificate of record, it is ensured that the digital certificate of cloud server record is from believable legitimate device end, in turn
The sign test of subsequent Driving Test video information is improved by accuracy, therefore, through equipment end before upload digital certificate, using each
From encryption key encrypted, whether such cloud server can be by ciphertext data solution by using corresponding decruption key
It is close that equipment end is identified, it is based on this, above-mentioned steps three are sent to cloud server based on the digital certificate that receives and demonstrate,proved
Secretary records request, so that the cloud server records the digital certificate, specifically includes:
The device identification stored in default security component is obtained, and obtains the encryption key of distribution, wherein the equipment mark
Knowledge is the unique sequence number at video recording equipment end, and in order to improve the safety of the unique sequence number, which is stored in
In security component;
Specifically, cloud server generates key information using symmetric encipherment algorithm at random, i.e. encryption key and decryption is close
Key is identical, and distributes corresponding key information to different video recording equipment ends, and each video recording equipment is locally stored in server-side
Corresponding key information is held, i.e., stores the corresponding key information in each video recording equipment end in business module server,
So as to video recording equipment end request record digital certificate when, using the key information to the encrypted certificate information received into
Row Trusting eBusiness;
Device identification and digital certificate are encrypted using the encryption key got, obtain encrypted certificate letter
Breath;
Specifically, digital certificate and device identification are bound, each video recording equipment end corresponds to unique number card
Book, and device identification is also that uniquely, such cloud server can also be by verifying the digital certificate stored and device identification
Whether correspond, to identify invalid digital certificate;
The certificate record request for carrying encrypted certificate information is sent to cloud server, so that the cloud server
Trusting eBusiness is carried out to encrypted certificate information, and records the certificate information that Trusting eBusiness passes through;
Specifically, it is close to obtain decryption corresponding with video recording equipment end after receiving certificate record request for cloud server
Key;Using the decruption key, Trusting eBusiness is carried out to encrypted certificate information;
If Trusting eBusiness passes through, digital certificate corresponding with video recording equipment end and device identification are recorded.
In this specification one or more embodiment, during equipment end requests record Public Key to server-side,
Not only increase the link that request trust authority issues digital certificate for Public Key, also increase video recording equipment end uses respective
The link that the key information key information of distribution (i.e. server-side) encrypts digital certificate, such cloud server use with
Certificate information is decrypted in the corresponding decruption key in video recording equipment end (key information distributed), if successful decryption, really
Determine Trusting eBusiness to pass through, i.e., certificate information is credible, if decryption failure, it is determined that Trusting eBusiness does not pass through, i.e. certificate information
It is insincere.
Specifically, being directed to the acquisition process of encryption key, it can be obtained by the way of scanning, be based on this, it is above-mentioned
The encryption key for obtaining distribution, specifically includes:
The graphic code of cloud server distribution is scanned, to obtain corresponding graphic code information, wherein close in order to improve encryption
The safety of key, the graphic code can be Dynamic Graph shape code, such as dynamic two-dimension code, and cloud server receives video recording equipment end
Graphic code distribution request after, distribute corresponding dynamic two-dimension code to video recording equipment end;
The graphic code information that will acquire is determined as the encryption key of distribution, specifically, the encryption key is used for equipment end
The trusted identity that itself is proved to server-side avoids incredible illegality equipment from obtaining the feelings of digital certificate by improper channel
Condition.
In a specific embodiment, as shown in figure 8, introducing equipment end is encrypted the mistake uploaded again to digital certificate
Journey gives the 4th kind of interactive process schematic diagram between video recording equipment end and cloud server, specifically:
S801, video recording equipment end send default setting request to security component SE by equipment end App;
S802, security component SE are after receiving default setting request, the random Public Key and corresponding privately owned close of generating
Key;
Private cipher key is stored in local by S803, security component SE;
Public Key is sent to trusted service management platform TSM by S804, security component SE;
S805, trusted service manage platform TSM and generate the digital certificate comprising Public Key;
S806, trusted service manage platform TSM and send to the message processing module at video recording equipment end comprising Public Key
Digital certificate;
S807, message processing module obtain the device identification stored in security component after receiving digital certificate, and
Obtain the corresponding encryption key that equipment end App is obtained by scanning, wherein the encryption key is that cloud server is allocated in advance
To the key information at video recording equipment end, which is used to prove the trusted identity at video recording equipment end;
S808, message processing module encrypts device identification and digital certificate using encryption key, after obtaining encryption
Certificate information;
The certificate for carrying encrypted certificate information record request is sent to cloud service by S809, message processing module
Business module server in device;
S810, business module server obtain decryption corresponding with video recording equipment end after receiving certificate record request
Key;
S811, business module server carry out encrypted certificate information credible using the decruption key got
Verifying, specifically, encrypted certificate information is decrypted using corresponding decruption key, if successful decryption, it is determined that can
Letter property is verified, and obtains digital certificate and the device identification of plaintext;
S812, business module server verify and record digital certificate and the device identification of plaintext, specifically, verifying number
Whether the issuing organization of certificate is default trust authority, if so, recording the digital certificate;
Specifically, being directed to each video recording equipment end, pre-recorded corresponding digital certificate in video recording equipment end, to target
User Driving Test operation carry out the video recording stage, cloud server receive video recording equipment end upload Driving Test video information after,
Using the Public Key in digital certificate corresponding with the video recording equipment end, Driving Test video information after the signature uploaded to it into
Row signature verification.
The Driving Test videotape storage means based on block chain in this specification one or more embodiment are recorded a video using having
The terminal device of function obtains the Driving Test video information of target user;And using default security component based on pre-generated private
There is key, signature processing is carried out to the Driving Test video information, the Driving Test video information after being signed;By the Driving Test record after signature
As information is uploaded to cloud server, so that cloud server carries out signature verification to Driving Test video information and leads to signature verification
The Driving Test video information crossed is stored into block chain.At video recording equipment end, using default security component to Driving Test video information into
The processing of row signature, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, equipment end is passed through
With server-side to the dual protection mechanism of Driving Test video information, credibility, the safety of Driving Test video information are further improved
And tamper-resistance properties.
The Driving Test videotape storage means based on block chain that corresponding above-mentioned Fig. 2 to Fig. 8 is described, are based on identical technology structure
Think, this specification one or more embodiment additionally provides a kind of Driving Test videotape storage means based on block chain, and Fig. 9 is this theory
The flow diagram for the Driving Test videotape storage means based on block chain that bright book one or more embodiment provides, the side in Fig. 9
Method can be executed by cloud server, as shown in figure 9, this method at least includes the following steps:
S901, the Driving Test video information after receiving the signature that video recording equipment end uploads, wherein the Driving Test video recording after the signature
Information is to be signed using default security component based on the Driving Test video information of pre-generated private cipher key pair target user
What processing obtained, the private cipher key and video recording equipment end correspond;
S902, using Public Key corresponding with video recording equipment end, to the Driving Test video information after the signature received into
Row signature verification;
S903 stores Driving Test video information into block chain if signature verification result passes through for signature verification.
In this specification one or more embodiment, at video recording equipment end, is recorded a video and believed to Driving Test using default security component
Breath carries out signature processing, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, by setting
Standby end and server-side can ensure that the source generated from information is deposited to information to the dual protection mechanism of Driving Test video information in this way
The safety and credibility of storage further improve credibility, safety and the tamper-resistance properties of Driving Test video information.
Wherein, it is contemplated that there may be being forged to the environmental information that Driving Test is recorded a video, in order to further ensure that
It stores to the authenticity of the Driving Test video information of block chain, at video recording equipment end, introduces and environmental information mark is carried out to Driving Test video recording
Note, it is corresponding, in background server, introduces and environment verification link, only signature verification and environment are carried out to Driving Test video information
The Driving Test video information that verification passes through simultaneously is just stored into block chain, is based on this, and above-mentioned S901 receives video recording equipment end and uploads
Signature after Driving Test video information, specifically include:
Driving Test video information after receiving the environmental labelling that video recording equipment end uploads, wherein the Driving Test after the environmental labelling
Video information is to carry out what environmental labelling obtained to the Driving Test video information after signature;
It is corresponding, if above-mentioned S903 signature verification result passes through for signature verification, Driving Test video information is stored to area
In block chain, specifically include:
If signature verification result passes through for signature verification, environment verification is carried out to the Driving Test video information after environmental labelling;
If environment verification result is that environment verification passes through, Driving Test video information is stored into block chain.
Wherein, the Driving Test video information after above-mentioned environmental labelling includes: the Driving Test video information after signing and target user
Current context information;
Wherein, above-mentioned current context information include: satellite positioning information, network device identity, communication network mark in extremely
One item missing.
Specifically, since video recording equipment end is before being uploaded to cloud server for Driving Test video information, not only to Driving Test
Video information carries out signature processing, also carries out the processing of environmental information label to Driving Test video information, therefore, cloud server is connecing
After the Driving Test video information for receiving the upload of video recording equipment end, not only needs to carry out sign test processing to the Driving Test video information, also need
The processing of environment verification is carried out to Driving Test video information, if sign test passes through and environment verification passes through, which be recorded a video and is believed
Breath is stored into block chain, can further ensure that it is believable and true for storing to the data of block chain in this way.
Further, it for the ease of the retrospect and evidence obtaining of subsequent Driving Test video information, is recorded for needing to be based on history Driving Test
The case where as being veritified to the Driving Test achievement authenticity of a certain examinee, due to the data being stored on block chain have it is credible, can not
The characteristic distorted can directly obtain the corresponding Driving Test video information of the examinee from block chain, without recording a video again to Driving Test
Information carries out Trusting eBusiness, this is based on, after S903 stores Driving Test video information into block chain, further includes:
Step 1 receives the Driving Test video recording checking request for user to be traced, wherein the checking request is carried wait chase after
Trace back the identification information of user;
Specifically, above-mentioned Driving Test video recording checking request can be what monitor terminal was sent to cloud server;
Step 2 obtains Driving Test video information corresponding with the identification information of user to be traced from block chain;
Step 3 determines that user to be traced whether there is Driving Test according to the Driving Test video information got from block chain
Cheating;
Specifically, cloud server is after determining whether there is cheating, it can also be by cheating recognition result
It is sent to corresponding monitor terminal (i.e. the terminal of requests verification) and/or examinee's mobile terminal;
Specifically, needing first if the Driving Test video information obtained from block chain is encryption data using corresponding close
The encryption data is decrypted in key information, obtains the Driving Test video information of plaintext, in turn, from the Driving Test video information of plaintext
Key feature needed for extracting, by carrying out anomalous identification to the key feature, if anomalous identification result meets default cheating item
Part, it is determined that there are Driving Test cheatings by user to be traced, and execute corresponding punishment to the user to be traced;
For example, if it is not registration examinee that anomalous identification participates in Driving Test examinee as the result is shown, it is determined that anomalous identification
As a result meet default cheating condition;
For another example, if anomalous identification has improper operation (for example, making marks in advance, obtaining external support as the result is shown
Deng), it is determined that anomalous identification result meets default cheating condition.
Wherein, whether above-mentioned steps three determine user to be traced according to the Driving Test video information got from block chain
There are Driving Test cheatings, specifically include:
From Driving Test video information, the figure information of user to be traced is extracted;And it obtains entering oneself for the examination for user to be traced and examines
Raw image;
The figure information of extraction is compared with examinee's image is entered oneself for the examination, generates corresponding comparison result;
According to the comparison result of generation, determine that user to be traced whether there is Driving Test cheating, specifically, if comparing knot
Fruit is that matching degree is less than preset threshold, then illustrates that participating in Driving Test examinee is not registration examinee, accordingly, it is determined that there is cheating
Behavior.
Further, before recording a video to Driving Test examinee, security component is needed to generate the private cipher key for signature
With the Public Key for sign test, it can one group of asymmetric key pair is generated in the default setting stage in default security component,
Public Key is uploaded to cloud server, so that cloud server records the corresponding Public Key in each video recording equipment end, is based on
This, before S901 receives the Driving Test video information after the signature that video recording equipment end uploads, further includes:
Receive the Public Key of video recording equipment end transmission, wherein the Public Key is given birth at random using default security component
At the key information corresponding with private cipher key;
Record corresponding with video recording equipment end Public Key, specifically, store the device identification at video recording equipment end with it is publicly-owned
Corresponding relationship between key.
Specifically, carrying out the video recording stage in the Driving Test operation to target user, cloud server utilizes pre-recorded public affairs
There is key, the Driving Test video information after the signature uploaded to corresponding video recording equipment end carries out signature verification.
Wherein, it is contemplated that there may be illegality equipment ends to request to store the feelings of respective Public Key to remote server
Condition is used in order to avoid cloud server stores the Public Key that illegality equipment end uploads uploading to cloud server
In the process of the Public Key of signature verification, introduces request trust authority and issue the number card with public credibility for Public Key
The link of book due to there was only legitimate device end just allows that trust authority is requested to issue corresponding digital certificate, such cloud service
Device only stores the digital certificate that trust authority is issued, and is legal with the Driving Test video information for ensuring that signature verification passes through
What equipment end was uploaded, it is based on this, the Public Key of above-mentioned reception video recording equipment end transmission specifically includes:
It receives the certificate that video recording equipment end is sent and records request, wherein certificate record request is carried comprising publicly-owned close
The digital certificate of key, the digital certificate are that trusted service management platform is generated based on the Public Key that video recording equipment end is sent;
Corresponding, above-mentioned record Public Key corresponding with video recording equipment end specifically includes:
The digital certificate comprising Public Key corresponding with video recording equipment end is recorded, specifically, storage video recording equipment end
Corresponding relationship between device identification and digital certificate comprising Public Key.
Wherein, it is contemplated that although issuing link by increase digital certificate to identify that the record from illegality equipment is asked
The case where asking, but digital certificate obtained by improper channel there is likely to be illegality equipment, it is insincere in order to quickly recognize
Device request records the case where digital certificate, prevents non-trusted device upload digital certificate, to improve cloud server record
Digital certificate accuracy, it is ensured that cloud server record digital certificate from believable legitimate device end, Jin Erti
The sign test of high subsequent Driving Test video information is by accuracy, therefore, through equipment end before upload digital certificate, using respective
Encryption key encrypted, whether such cloud server can be by ciphertext data deciphering by using corresponding decruption key
To be identified to equipment end;
Corresponding, above-mentioned certificate record request carries encrypted certificate information, which is benefit
It is encrypted with digital certificate of the encryption key of distribution to device identification and comprising Public Key.
Wherein, the above-mentioned record digital certificate comprising Public Key corresponding with video recording equipment end, specifically includes:
Obtain decruption key corresponding with video recording equipment end;
Using the decruption key got, Trusting eBusiness is carried out to encrypted certificate information;
If Trusting eBusiness passes through, the number in certificate information corresponding with video recording equipment end comprising Public Key is recorded
Certificate.
In this specification one or more embodiment, during equipment end requests record Public Key to server-side,
Not only increase the link that request trust authority issues digital certificate for Public Key, also increase video recording equipment end uses respective
The link that the key information key information of distribution (i.e. server-side) encrypts digital certificate, such cloud server use with
Certificate information is decrypted in the corresponding decruption key in video recording equipment end (key information distributed), if successful decryption, really
Determine Trusting eBusiness to pass through, i.e., certificate information is credible, if decryption failure, it is determined that Trusting eBusiness does not pass through, i.e. certificate information
It is insincere.
Wherein, before receiving the certificate record request that video recording equipment end is sent, further includes:
Graphic code is distributed to video recording equipment end in advance, so that video recording equipment end scans the graphic code and obtains encryption key.
Specifically, the graphic code can be Dynamic Graph shape code, such as Dynamic Two-dimensional in order to improve the safety of encryption key
Code after cloud server receives the graphic code distribution request at video recording equipment end, distributes corresponding dynamic two to video recording equipment end
Tie up code;
Specifically, above-mentioned encryption key proves the trusted identity of itself for equipment end to server-side, avoid incredible
The case where illegality equipment obtains digital certificate by improper channel.
Wherein, for cloud server to the signature-verification process of Driving Test video information, above-mentioned S902 is utilized and is set with video recording
It is standby to hold corresponding Public Key, signature verification is carried out to the Driving Test video information after the signature received, is specifically included:
Obtain digital certificate corresponding with the Driving Test video information of verifying to be signed, wherein the digital certificate is that video recording is set
The standby end certificate that request records in advance;
Public Key corresponding with video recording equipment end is parsed from the digital certificate got;
Using the Public Key parsed, signature verification is carried out to the Driving Test video information after the signature received.
Wherein, above-mentioned to driving after environmental labelling for cloud server to the environment verification process of Driving Test video information
It examines video information and carries out environment verification, specifically include:
Obtain environmental information corresponding with the Driving Test video information to environment verification, wherein the environmental information includes multinomial
The attribute value of environment attribute parameter;
For each environment attribute parameter, the corresponding geographical location information of the attribute value of the environment attribute parameter is determined;
If it is determined that multiple geographical location information meet preset condition, it is determined that environment verification result is logical for environment verification
It crosses;
Specifically, in view of the corresponding geographical location information of every environment attribute parameter there may be deviations the case where, if
The position spacing for the multiple geographical location information determined is less than preset threshold, it is determined that multiple geographical location information meet default
Condition;The case where being consistent for multiple geographical location information, i.e. position spacing are zero, then illustrate satellite positioning information, net
Any one of network device identification, communication network mark are not modified;
For example, if the corresponding geographical location information of satellite positioning information is geographical location 1, if network device identity is corresponding
Geographical location information is geographical location 2, if it is geographical location 3 that communication network, which identifies corresponding geographical location information, if geographical
Two two positions spacing are respectively less than preset threshold between position 1, geographical location 2 and geographical location 3, it is determined that environment verification result is
Environment verification passes through, in this way if the attribute value of any one environment attribute parameter is forged or distorts, during environment verification
It will be identified.
The Driving Test videotape storage means based on block chain in this specification one or more embodiment receive video recording equipment
Driving Test video information after holding the signature uploaded, wherein the Driving Test video information after the signature is to utilize default security component base
Carry out what signature was handled in the Driving Test video information of pre-generated private cipher key pair target user;Using with video recording equipment
Corresponding Public Key is held, signature verification is carried out to the Driving Test video information after signature;If signature verification passes through, Driving Test is recorded
As information is stored into block chain.At video recording equipment end, signature processing is carried out to Driving Test video information using default security component,
And at remote service end, the Driving Test video information that sign test passes through is stored into block chain, equipment end and server-side pair are passed through
The dual protection mechanism of Driving Test video information further improves credibility, safety and the tamper-resistance properties of Driving Test video information.
It should be noted that the embodiment is with a upper embodiment in this specification based on same invention structure in this specification
Think, therefore the specific implementation of the embodiment may refer to the implementation of the aforementioned Driving Test videotape storage means based on block chain, repeats
Place repeats no more.
The Driving Test videotape storage means based on block chain that corresponding above-mentioned Fig. 2 to Fig. 8 is described, are based on identical technology structure
Think, this specification one or more embodiment additionally provides a kind of Driving Test video recording based on block chain for being set to video recording equipment end
Storage device, Figure 10 are the mould for the Driving Test video recording storage device based on block chain that this specification one or more embodiment provides
Block composition schematic diagram, the device is for executing the Driving Test videotape storage means based on block chain that Fig. 2 to Fig. 8 is described, such as Figure 10
Shown, which includes:
Picture recording module 1001, for obtaining the Driving Test video information of target user;
Security component 1002, for being carried out at signature to the Driving Test video information based on pre-generated private cipher key
Reason, the Driving Test video information after being signed, wherein the private cipher key and picture recording module correspond;
Message processing module 1003, for the Driving Test video information after the signature to be uploaded to cloud server, so that
The Driving Test video recording letter that the cloud server carries out signature verification to the Driving Test video information and passes through signature verification
Breath is stored into block chain.
In this specification one or more embodiment, at video recording equipment end, is recorded a video and believed to Driving Test using default security component
Breath carries out signature processing, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, by setting
Standby end and server-side can ensure that the source generated from information is deposited to information to the dual protection mechanism of Driving Test video information in this way
The safety and credibility of storage further improve credibility, safety and the tamper-resistance properties of Driving Test video information.
Optionally, the message processing module 1003, is specifically used for:
Environmental information label is carried out to the Driving Test video information after the signature, the Driving Test after obtaining environmental labelling, which is recorded a video, to be believed
Breath;
Driving Test video information after the environmental labelling is uploaded to cloud server, so that the cloud server is to institute
It states Driving Test video information and carries out signature verification and environment verification, and signature verification is passed through and the Driving Test that environment verification passes through
Video information is stored into block chain.
Optionally, the message processing module 1003, is further specifically used for:
Obtain the current context information of the target user, wherein the current context information includes: satellite positioning letter
At least one of breath, network device identity, communication network mark;
Based on the current context information, environmental labelling is carried out to the Driving Test video information after the signature, obtains environment
Driving Test video information after label.
Optionally, the security component 1002, is also used to:
It is random to generate Public Key and corresponding private cipher key;
The private cipher key is stored to local;And
The Public Key is transmitted to cloud server, so that the cloud server records the Public Key and base
Signature verification is carried out to the Driving Test video information received in the Public Key.
Optionally, the security component 1002, also particularly useful for:
The Public Key is sent to trusted service management platform, so that trusted service management platform generation includes
The digital certificate of the Public Key;
It is corresponding, the message processing module 1003, also particularly useful for:
Receive the digital certificate that the trusted service management platform is sent;
Certificate record request is sent to cloud server based on the digital certificate, so that the cloud server records institute
It states digital certificate and signature is carried out to the Driving Test video information received based on the Public Key in the digital certificate and test
Card.
Optionally, the message processing module 1003, is also further specifically used for:
The device identification stored in the default security component is obtained, and obtains the encryption key of distribution;
The device identification and the digital certificate are encrypted using the encryption key, obtain encrypted certificate
Information;
The certificate record request for carrying the encrypted certificate information is sent to cloud server, so that the cloud
Server carries out Trusting eBusiness to the encrypted certificate information, and records the number card that Trusting eBusiness passes through
Book.
Optionally, described device further includes barcode scanning module, is used for:
The graphic code of cloud server distribution is scanned, to obtain corresponding graphic code information;
The graphic code information that will acquire is determined as the encryption key of distribution.
The Driving Test video recording storage device based on block chain in this specification one or more embodiment, is recorded a video using having
The terminal device of function obtains the Driving Test video information of target user;And using default security component based on pre-generated private
There is key, signature processing is carried out to the Driving Test video information, the Driving Test video information after being signed;By the Driving Test record after signature
As information is uploaded to cloud server, so that cloud server carries out signature verification to Driving Test video information and leads to signature verification
The Driving Test video information crossed is stored into block chain.At video recording equipment end, using default security component to Driving Test video information into
The processing of row signature, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, equipment end is passed through
With server-side to the dual protection mechanism of Driving Test video information, credibility, the safety of Driving Test video information are further improved
And tamper-resistance properties.
It should be noted that embodiment and this theory in this specification about the Driving Test video recording storage device based on block chain
In bright book based on the same inventive concept about the embodiment of the Driving Test videotape storage means based on block chain, therefore the embodiment
Specific implementation may refer to the implementation of the aforementioned corresponding Driving Test videotape storage means based on block chain, and it is no longer superfluous to repeat place
It states.
The Driving Test videotape storage means based on block chain of corresponding above-mentioned Fig. 9 description, based on the same technical idea, this theory
Bright book one or more embodiment additionally provides a kind of Driving Test video recording storage dress based on block chain for being set to cloud server
It sets, Figure 11 is the module composition for the Driving Test video recording storage device based on block chain that this specification one or more embodiment provides
Schematic diagram, the device are used to execute the Driving Test videotape storage means based on block chain of Fig. 9 description, as shown in figure 11, the device
Include:
Information receiving module 1101, the Driving Test video information after signature for receiving the upload of video recording equipment end, wherein institute
Driving Test video information after stating signature is to utilize default security component driving based on pre-generated private cipher key pair target user
It examines video information and carries out what signature was handled, the private cipher key and video recording equipment end correspond;
Signature verification module 1102, for utilizing Public Key corresponding with the video recording equipment end, after the signature
Driving Test video information carry out signature verification;
The Driving Test is recorded a video and is believed if passing through for signature verification result for signature verification by information storage module 1103
Breath is stored into block chain.
In this specification one or more embodiment, at video recording equipment end, is recorded a video and believed to Driving Test using default security component
Breath carries out signature processing, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, by setting
Standby end and server-side can ensure that the source generated from information is deposited to information to the dual protection mechanism of Driving Test video information in this way
The safety and credibility of storage further improve credibility, safety and the tamper-resistance properties of Driving Test video information.
Optionally, described device further include: Driving Test video recording authentication module is used for:
Receive the Driving Test video recording checking request for user to be traced, wherein the checking request carries use to be traced
The identification information at family;
Driving Test video information corresponding with the identification information of the user to be traced is obtained from block chain;
According to the Driving Test video information, determine that the user to be traced whether there is Driving Test cheating.
Optionally, the Driving Test video recording authentication module, is specifically used for:
From the Driving Test video information, the figure information of the user to be traced is extracted;And it obtains described wait trace
User's enters oneself for the examination examinee's image;
The figure information of extraction is compared with examinee's image of entering oneself for the examination, generates corresponding comparison result;
According to the comparison result, determine that the user to be traced whether there is Driving Test cheating.
Optionally, the information receiving module 1101, is specifically used for:
Driving Test video information after receiving the environmental labelling that video recording equipment end uploads, wherein driving after the environmental labelling
Examining video information is to carry out what environmental labelling obtained to the Driving Test video information after signature;
It is corresponding, described device further include: environment verification module is used for:
Environment verification is carried out to the Driving Test video information after the environmental labelling;
The information storage module 1103, is specifically used for:
If environment verification result is that environment verification passes through, the Driving Test video information is stored into block chain.
Optionally, the Driving Test video information after the environmental labelling includes: the Driving Test video information and the mesh after signature
Mark the current context information of user;
Wherein, the current context information include: satellite positioning information, network device identity, communication network mark in extremely
One item missing.
Optionally, described device further include: sign test key data record module is used for:
Receive the Public Key of video recording equipment end transmission, wherein the Public Key is random using default security component
The key information corresponding with private cipher key generated;
Record the Public Key corresponding with the video recording equipment end.
Optionally, the sign test key data record module, is specifically used for:
It receives the certificate that video recording equipment end is sent and records request, wherein the certificate record request is carried comprising publicly-owned
The digital certificate of key, the digital certificate are the Public Keys that trusted service management platform is sent based on the video recording equipment end
It generates;
Record the digital certificate comprising Public Key corresponding with the video recording equipment end.
Optionally, the certificate record request carries encrypted certificate information, wherein the encrypted certificate letter
Breath is encrypted using digital certificate of the encryption key to device identification and comprising Public Key of distribution.
Optionally, the sign test key data record module, is further specifically used for:
Obtain decruption key corresponding with the video recording equipment end;
Using the decruption key, Trusting eBusiness is carried out to the encrypted certificate information;
If Trusting eBusiness passes through, record in the certificate information corresponding with the video recording equipment end comprising publicly-owned close
The digital certificate of key.
Optionally, described device further include: key information distribution module is used for:
Graphic code is distributed to the video recording equipment end in advance, is added so that the video recording equipment end is scanned the graphic code and obtained
Key.
Optionally, the signature verification module 1102, is specifically used for:
Obtain digital certificate corresponding with the Driving Test video information of verifying to be signed, wherein the digital certificate is described
The certificate of record is requested in advance in video recording equipment end;
Public Key corresponding with the video recording equipment end is parsed from the digital certificate;
Using the Public Key, signature verification is carried out to the Driving Test video information after the signature.
Optionally, the environment verification module, is specifically used for:
Obtain environmental information corresponding with the Driving Test video information to environment verification, wherein the environmental information includes more
The attribute value of item environment attribute parameter;
For environment attribute parameter described in each, the corresponding geographical location letter of the attribute value of the environment attribute parameter is determined
Breath;
If it is determined that multiple geographical location information meet preset condition, it is determined that environment verification result is tested for environment
Really pass through.
The Driving Test video recording storage device based on block chain in this specification one or more embodiment, receives video recording equipment
Driving Test video information after holding the signature uploaded, wherein the Driving Test video information after the signature is to utilize default security component base
Carry out what signature was handled in the Driving Test video information of pre-generated private cipher key pair target user;Using with video recording equipment
Corresponding Public Key is held, signature verification is carried out to the Driving Test video information after signature;If signature verification passes through, Driving Test is recorded
As information is stored into block chain.At video recording equipment end, signature processing is carried out to Driving Test video information using default security component,
And at remote service end, the Driving Test video information that sign test passes through is stored into block chain, equipment end and server-side pair are passed through
The dual protection mechanism of Driving Test video information further improves credibility, safety and the tamper-resistance properties of Driving Test video information.
It should be noted that embodiment and this theory in this specification about the Driving Test video recording storage device based on block chain
In bright book based on the same inventive concept about the embodiment of the Driving Test videotape storage means based on block chain, therefore the embodiment
Specific implementation may refer to the implementation of the aforementioned corresponding Driving Test videotape storage means based on block chain, and it is no longer superfluous to repeat place
It states.
The Driving Test videotape storage means based on block chain that corresponding above-mentioned Fig. 2 to Fig. 8 is described, are based on identical technology structure
Think, this specification one or more embodiment additionally provides a kind of Driving Test video recording based on block chain for being set to video recording equipment end
Storage system, Figure 12 are the group for the Driving Test video recording storage system based on block chain that this specification one or more embodiment provides
At structural schematic diagram, the system is for executing the Driving Test videotape storage means based on block chain that Fig. 2 to Fig. 8 is described, such as Figure 12
Shown, which includes: video recording equipment end 10 and cloud server 20;
The video recording equipment end 10, the Driving Test for being obtained target user using the terminal device with recording function are recorded a video
Information;And the Driving Test video information is carried out at signature based on pre-generated private cipher key using default security component
Reason, the Driving Test video information after being signed;And the Driving Test video information after the signature is uploaded to cloud server 20,
In, which corresponds with the terminal device with recording function;
The cloud server 20, the Driving Test video information after signature for receiving the upload of video recording equipment end 10;
Using Public Key corresponding with the video recording equipment end 10, signature verification is carried out to the Driving Test video information after the signature;
If signature verification result passes through for signature verification, the Driving Test video information is stored into block chain.
In this specification one or more embodiment, at video recording equipment end, is recorded a video and believed to Driving Test using default security component
Breath carries out signature processing, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, by setting
Standby end and server-side can ensure that the source generated from information is deposited to information to the dual protection mechanism of Driving Test video information in this way
The safety and credibility of storage further improve credibility, safety and the tamper-resistance properties of Driving Test video information.
Wherein, the detailed process of the Driving Test video recording storage based on block chain are as follows:
(1) video recording equipment end obtains the Driving Test video information of target user by the terminal device with recording function,
In, which is the examinee for participating in Driving Test examination, is examined specifically, acquiring Driving Test by the terminal device with recording function
Raw Driving Test operation during Driving Test;
Specifically, the terminal device with recording function is transmitted collected Driving Test video information in a manner of information flow
To message processing module SDK, so that the Driving Test video information is transmitted to default security component SE by message processing module SDK;
(2) Driving Test got is recorded by default security component based on pre-generated private cipher key in video recording equipment end
As information carries out signature processing, the Driving Test video information after being signed;And the Driving Test video information after signature is transmitted to letter
Cease processing module, wherein the safety that default security component (Secure Element, the SE unit) is capable of providing private information is deposited
The functions such as storage, the safety execution of important procedure;
Specifically, video recording equipment end may include: terminal device, security component SE and information processing with recording function
Module SDK, each video recording equipment end are respectively provided with corresponding security component SE, security component and the terminal device with recording function
It is connected with message processing module;Wherein, security component is generated in the default setting stage using rivest, shamir, adelman at random
One group of asymmetric key pair, i.e. Public Key and private cipher key, and the private cipher key for Information Signature is only in security component
It is locally stored, the Public Key for information sign test is transmitted to cloud server, so that cloud server utilizes the Public Key
The Driving Test video information uploaded to corresponding equipment end carries out signature verification;
(3) the Driving Test video information after signature is uploaded to cloud server by the message processing module in video recording equipment end,
So that cloud server carries out information sign test to the Driving Test video information after the signature and stores the Driving Test video information;
(4) cloud server obtains corresponding with the Driving Test video information after receiving the Driving Test video information after signature
Public Key sign test processing is carried out to the Driving Test video information, specifically, utilizing the Public Key using the Public Key
Driving Test video information after signature is decrypted, judges whether sign test passes through the Driving Test video information according to decrypted result, if
Successful decryption then illustrates that sign test passes through, if decryption is unsuccessful, illustrates that sign test does not pass through;
(5) cloud server then stores Driving Test video information into block chain if it is determined that sign test passes through, wherein due to
Block chain technology have can not tamper, therefore can guarantee that the Driving Test video information being written in block chain can not be tampered,
To ensure that the credibility and safety of data;Meanwhile the subsequent Driving Test video information that will directly can be stored in block chain
It is used as traceable evidence.
Further, after server stores the Driving Test video information into block chain beyond the clouds, further includes:
Cloud server receives the Driving Test video recording checking request for user to be traced, wherein the checking request carries
Need to be traced the identification information of user;
Cloud server obtains Driving Test video recording corresponding with the identification information of the user to be traced from block chain
Information;
Cloud server determines the user to be traced with the presence or absence of Driving Test cheating row according to the Driving Test video information
For.
Specifically, it is above-mentioned according to the Driving Test video information, determine the user to be traced with the presence or absence of Driving Test cheating row
To specifically include:
From the Driving Test video information, the figure information of the user to be traced is extracted;And it obtains described wait trace
User's enters oneself for the examination examinee's image;
The figure information of extraction is compared with examinee's image of entering oneself for the examination, generates corresponding comparison result;
According to the comparison result, determine that the user to be traced whether there is Driving Test cheating.
The Driving Test video recording storage system based on block chain in this specification one or more embodiment, is recorded a video using having
The terminal device of function obtains the Driving Test video information of target user;And using default security component based on pre-generated private
There is key, signature processing is carried out to the Driving Test video information, the Driving Test video information after being signed;By the Driving Test record after signature
As information is uploaded to cloud server, so that cloud server carries out signature verification to Driving Test video information and leads to signature verification
The Driving Test video information crossed is stored into block chain.At video recording equipment end, using default security component to Driving Test video information into
The processing of row signature, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, equipment end is passed through
With server-side to the dual protection mechanism of Driving Test video information, credibility, the safety of Driving Test video information are further improved
And tamper-resistance properties.
It should be noted that embodiment and this theory in this specification about the Driving Test video recording storage system based on block chain
In bright book based on the same inventive concept about the embodiment of the Driving Test videotape storage means based on block chain, therefore the embodiment
Specific implementation may refer to the implementation of the aforementioned corresponding Driving Test videotape storage means based on block chain, and it is no longer superfluous to repeat place
It states.
Further, corresponding above-mentioned Fig. 2 is to method shown in Fig. 8, based on the same technical idea, this specification one or
Multiple embodiments additionally provide a kind of Driving Test video recording storage equipment based on block chain, and the equipment is above-mentioned based on area for executing
The Driving Test videotape storage means of block chain, as shown in figure 13.
Driving Test video recording storage equipment based on block chain can generate bigger difference because configuration or performance are different, can be with
Including one or more processor 1301 and memory 1302, can store in memory 1,302 one or one with
Upper storage application program or data.Wherein, memory 1302 can be of short duration storage or persistent storage.It is stored in memory 1302
Application program may include one or more modules (diagram is not shown), each module may include to based on block chain
Driving Test video recording storage equipment in series of computation machine executable instruction.Further, processor 1301 can be set to
It is communicated with memory 1302, the series of computation in memory 1302 is executed in the Driving Test video recording storage equipment based on block chain
Machine executable instruction.Based on block chain Driving Test video recording storage equipment can also include one or more power supplys 1303, one
A or more than one wired or wireless network interface 1304, one or more input/output interfaces 1305, one or one
With upper keyboard 1306 etc..
In a specific embodiment, the Driving Test video recording storage equipment based on block chain includes memory, Yi Jiyi
A or more than one program, one of them perhaps more than one program be stored in memory and one or more than one
Program may include one or more modules, and each module may include setting to the Driving Test video recording storage based on block chain
Series of computation machine executable instruction in standby, and be configured to be executed by one or more than one processor this or
More than one program includes for carrying out following computer executable instructions:
The Driving Test video information of target user is obtained using the terminal device with recording function;
Using default security component based on pre-generated private cipher key, the Driving Test video information is carried out at signature
Reason, the Driving Test video information after being signed, wherein the private cipher key and the terminal device with recording function are one by one
It is corresponding;
Driving Test video information after the signature is uploaded to cloud server, so that the cloud server is driven to described
It examines video information progress signature verification and the Driving Test video information for passing through signature verification is stored into block chain.
In this specification one or more embodiment, at video recording equipment end, is recorded a video and believed to Driving Test using default security component
Breath carries out signature processing, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, by setting
Standby end and server-side can ensure that the source generated from information is deposited to information to the dual protection mechanism of Driving Test video information in this way
The safety and credibility of storage further improve credibility, safety and the tamper-resistance properties of Driving Test video information.
Optionally, when executed, the Driving Test video information by after the signature uploads computer executable instructions
To cloud server, so that the cloud server carries out signature verification to the Driving Test video information and passes through signature verification
The Driving Test video information store into block chain, comprising:
Environmental information label is carried out to the Driving Test video information after the signature, the Driving Test after obtaining environmental labelling, which is recorded a video, to be believed
Breath;
Driving Test video information after the environmental labelling is uploaded to cloud server, so that the cloud server is to institute
It states Driving Test video information and carries out signature verification and environment verification, and signature verification is passed through and the Driving Test that environment verification passes through
Video information is stored into block chain.
Optionally, when executed, the Driving Test video information to after the signature carries out computer executable instructions
Environmental information label, the Driving Test video information after obtaining environmental labelling, comprising:
Obtain the current context information of the target user, wherein the current context information includes: satellite positioning letter
At least one of breath, network device identity, communication network mark;
Based on the current context information, environmental labelling is carried out to the Driving Test video information after the signature, obtains environment
Driving Test video information after label.
Optionally, computer executable instructions when executed, are obtaining mesh using the terminal device with recording function
Before the Driving Test video information for marking user, further includes:
Public Key and corresponding private cipher key are generated at random using default security component;
The private cipher key is stored to local;And
The Public Key is transmitted to cloud server, so that the cloud server records the Public Key and base
Signature verification is carried out to the Driving Test video information received in the Public Key.
Optionally, computer executable instructions are when executed, described that the Public Key is transmitted to cloud server,
So that the cloud server record the Public Key and based on the Public Key to the Driving Test video information received into
Row signature verification, comprising:
The Public Key is sent to trusted service management platform, so that trusted service management platform generation includes
The digital certificate of the Public Key;
Receive the digital certificate that the trusted service management platform is sent;
Certificate record request is sent to cloud server based on the digital certificate, so that the cloud server records institute
It states digital certificate and signature is carried out to the Driving Test video information received based on the Public Key in the digital certificate and test
Card.
Optionally, computer executable instructions are when executed, described to be sent out based on the digital certificate to cloud server
Certificate record request is sent, so that the cloud server records the digital certificate, comprising:
The device identification stored in the default security component is obtained, and obtains the encryption key of distribution;
The device identification and the digital certificate are encrypted using the encryption key, obtain encrypted certificate
Information;
The certificate record request for carrying the encrypted certificate information is sent to cloud server, so that the cloud
Server carries out Trusting eBusiness to the encrypted certificate information, and records the number card that Trusting eBusiness passes through
Book.
Optionally, computer executable instructions are when executed, described to obtain the encryption key distributed, comprising:
The graphic code of cloud server distribution is scanned, to obtain corresponding graphic code information;
The graphic code information that will acquire is determined as the encryption key of distribution.
The Driving Test video recording storage equipment based on block chain in this specification one or more embodiment, is recorded a video using having
The terminal device of function obtains the Driving Test video information of target user;And using default security component based on pre-generated private
There is key, signature processing is carried out to the Driving Test video information, the Driving Test video information after being signed;By the Driving Test record after signature
As information is uploaded to cloud server, so that cloud server carries out signature verification to Driving Test video information and leads to signature verification
The Driving Test video information crossed is stored into block chain.At video recording equipment end, using default security component to Driving Test video information into
The processing of row signature, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, equipment end is passed through
With server-side to the dual protection mechanism of Driving Test video information, credibility, the safety of Driving Test video information are further improved
And tamper-resistance properties.
In another specific embodiment, the Driving Test video recording storage equipment based on block chain includes memory, and
One or more program, one of them perhaps more than one program be stored in memory and one or one with
Upper program may include one or more modules, and each module may include to the Driving Test video recording storage based on block chain
Series of computation machine executable instruction in equipment, and be configured to be executed by one or more than one processor this or
More than one program of person includes for carrying out following computer executable instructions:
Driving Test video information after receiving the signature that video recording equipment end uploads, wherein the Driving Test after the signature, which is recorded a video, to be believed
Breath is to be carried out at signature using default security component based on the Driving Test video information of pre-generated private cipher key pair target user
What reason obtained, the private cipher key and the video recording equipment end correspond;
Using Public Key corresponding with the video recording equipment end, sign to the Driving Test video information after the signature
Verifying;
If signature verification result passes through for signature verification, the Driving Test video information is stored into block chain.
In this specification one or more embodiment, at video recording equipment end, is recorded a video and believed to Driving Test using default security component
Breath carries out signature processing, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, by setting
Standby end and server-side can ensure that the source generated from information is deposited to information to the dual protection mechanism of Driving Test video information in this way
The safety and credibility of storage further improve credibility, safety and the tamper-resistance properties of Driving Test video information.
Optionally, computer executable instructions when executed, are stored by the Driving Test video information into block chain
Later, further includes:
Receive the Driving Test video recording checking request for user to be traced, wherein the checking request carries use to be traced
The identification information at family;
Driving Test video information corresponding with the identification information of the user to be traced is obtained from block chain;
According to the Driving Test video information, determine that the user to be traced whether there is Driving Test cheating.
Optionally, computer executable instructions are when executed, described according to the Driving Test video information, determine it is described to
Tracing user whether there is Driving Test cheating, comprising:
From the Driving Test video information, the figure information of the user to be traced is extracted;And it obtains described wait trace
User's enters oneself for the examination examinee's image;
The figure information of extraction is compared with examinee's image of entering oneself for the examination, generates corresponding comparison result;
According to the comparison result, determine that the user to be traced whether there is Driving Test cheating.
Optionally, computer executable instructions when executed, it is described receive video recording equipment end upload signature after driving
Examine video information, comprising:
Driving Test video information after receiving the environmental labelling that video recording equipment end uploads, wherein driving after the environmental labelling
Examining video information is to carry out what environmental labelling obtained to the Driving Test video information after signature;
It is corresponding, it is described to store the Driving Test video information into block chain, comprising:
Environment verification is carried out to the Driving Test video information after the environmental labelling;
If environment verification result is that environment verification passes through, the Driving Test video information is stored into block chain.
Optionally, when executed, the Driving Test video information after the environmental labelling includes: label to computer executable instructions
The current context information of Driving Test video information and the target user after name;
Wherein, the current context information include: satellite positioning information, network device identity, communication network mark in extremely
One item missing.
Optionally, computer executable instructions when executed, receive video recording equipment end upload signature after Driving Test
Before video information, further includes:
Receive the Public Key of video recording equipment end transmission, wherein the Public Key is random using default security component
The key information corresponding with private cipher key generated;
Record the Public Key corresponding with the video recording equipment end.
Optionally, when executed, the Public Key for receiving the transmission of video recording equipment end wraps computer executable instructions
It includes:
It receives the certificate that video recording equipment end is sent and records request, wherein the certificate record request is carried comprising publicly-owned
The digital certificate of key, the digital certificate are the Public Keys that trusted service management platform is sent based on the video recording equipment end
It generates;
It is corresponding, it is described to record the Public Key corresponding with the video recording equipment end, comprising:
Record the digital certificate comprising Public Key corresponding with the video recording equipment end.
Optionally, when executed, the certificate record request carries encrypted certificate to computer executable instructions
Information, wherein the encrypted certificate information is the encryption key using distribution to device identification and comprising Public Key
What digital certificate was encrypted.
Optionally, when executed, the record is corresponding with the video recording equipment end described for computer executable instructions
Digital certificate comprising Public Key, comprising:
Obtain decruption key corresponding with the video recording equipment end;
Using the decruption key, Trusting eBusiness is carried out to the encrypted certificate information;
If Trusting eBusiness passes through, record in the certificate information corresponding with the video recording equipment end comprising publicly-owned close
The digital certificate of key.
Optionally, computer executable instructions when executed, record request receiving the certificate that video recording equipment end is sent
Before, further includes:
Graphic code is distributed to the video recording equipment end in advance, is added so that the video recording equipment end is scanned the graphic code and obtained
Key.
Optionally, computer executable instructions are when executed, described using corresponding publicly-owned with the video recording equipment end
Key carries out signature verification to the Driving Test video information after the signature, comprising:
Obtain digital certificate corresponding with the Driving Test video information of verifying to be signed, wherein the digital certificate is described
The certificate of record is requested in advance in video recording equipment end;
Public Key corresponding with the video recording equipment end is parsed from the digital certificate;
Using the Public Key, signature verification is carried out to the Driving Test video information after the signature.
Optionally, computer executable instructions when executed, the Driving Test video information to after the environmental labelling
Carry out environment verification, comprising:
Obtain environmental information corresponding with the Driving Test video information to environment verification, wherein the environmental information includes more
The attribute value of item environment attribute parameter;
For environment attribute parameter described in each, the corresponding geographical location letter of the attribute value of the environment attribute parameter is determined
Breath;
If it is determined that multiple geographical location information meet preset condition, it is determined that environment verification result is tested for environment
Really pass through.
The Driving Test video recording storage equipment based on block chain in this specification one or more embodiment, receives video recording equipment
Driving Test video information after holding the signature uploaded, wherein the Driving Test video information after the signature is to utilize default security component base
Carry out what signature was handled in the Driving Test video information of pre-generated private cipher key pair target user;Using with video recording equipment
Corresponding Public Key is held, signature verification is carried out to the Driving Test video information after signature;If signature verification passes through, Driving Test is recorded
As information is stored into block chain.At video recording equipment end, signature processing is carried out to Driving Test video information using default security component,
And at remote service end, the Driving Test video information that sign test passes through is stored into block chain, equipment end and server-side pair are passed through
The dual protection mechanism of Driving Test video information further improves credibility, safety and the tamper-resistance properties of Driving Test video information.
It should be noted that embodiment and this theory in this specification about the Driving Test video recording storage equipment based on block chain
In bright book based on the same inventive concept about the embodiment of the Driving Test videotape storage means based on block chain, therefore the embodiment
Specific implementation may refer to the implementation of the aforementioned corresponding Driving Test videotape storage means based on block chain, and it is no longer superfluous to repeat place
It states.
Further, corresponding above-mentioned Fig. 2 is to method shown in Fig. 8, based on the same technical idea, this specification one or
Multiple embodiments additionally provide a kind of storage medium,, should in a kind of specific embodiment for storing computer executable instructions
Storage medium can be USB flash disk, CD, hard disk etc., and the computer executable instructions of storage medium storage are being executed by processor
When, it is able to achieve such as the above-mentioned Driving Test videotape storage means based on block chain applied to video recording equipment end;
The computer executable instructions of storage medium storage in this specification one or more embodiment are by processor
When execution, the Driving Test video information of target user is obtained using the terminal device with recording function;And utilize default safety
Component carries out signature processing based on pre-generated private cipher key, to the Driving Test video information, the Driving Test video recording after being signed
Information;Driving Test video information after signature is uploaded to cloud server, so that cloud server carries out Driving Test video information
Signature verification simultaneously stores the Driving Test video information that signature verification passes through into block chain.At video recording equipment end, default peace is utilized
Whole assembly carries out signature processing to Driving Test video information, and at remote service end, the Driving Test video information that sign test passes through is deposited
Storage, by equipment end and server-side to the dual protection mechanism of Driving Test video information, further improves Driving Test into block chain
Credibility, safety and the tamper-resistance properties of video information.
In another specific embodiment, which can be USB flash disk, CD, hard disk etc., storage medium storage
Computer executable instructions when being executed by processor, be able to achieve as above-mentioned applied to cloud server based on block chain
Driving Test videotape storage means;
The computer executable instructions of storage medium storage in this specification one or more embodiment are by processor
Driving Test video information when execution, after receiving the signature that video recording equipment end uploads, wherein the Driving Test video information after the signature is
Signature is carried out based on the Driving Test video information of pre-generated private cipher key pair target user using default security component to handle
It arrives;Using Public Key corresponding with video recording equipment end, signature verification is carried out to the Driving Test video information after signature;If signature
It is verified, then stores Driving Test video information into block chain.At video recording equipment end, Driving Test is recorded using default security component
As information carries out signature processing, and at remote service end, the Driving Test video information that sign test passes through is stored into block chain, is led to
Equipment end and server-side are crossed to the dual protection mechanism of Driving Test video information, further improves the credible of Driving Test video information
Property, safety and tamper-resistance properties.
It should be noted that in this specification about in the embodiment of storage medium and this specification about be based on block chain
Driving Test videotape storage means embodiment based on the same inventive concept, therefore the specific implementation of the embodiment may refer to it is aforementioned
The implementation of the corresponding Driving Test videotape storage means based on block chain, overlaps will not be repeated.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HD Cal、
JHDL(Java Hardware Description Language)、Lava、Lola、My HDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
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.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when specification one or more.
It should be understood by those skilled in the art that, the embodiment of this specification one or more can provide for method, system,
Or computer program product.Therefore, this specification one or more can be used complete hardware embodiment, complete software embodiment,
Or the form of embodiment combining software and hardware aspects.Moreover, this specification one or more can be used in one or more
It wherein include computer-usable storage medium (the including but not limited to magnetic disk storage, CD- of computer usable program code
ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more is referring to (being according to method, the equipment of this specification one or more embodiment
System) and the flowchart and/or the block diagram of computer program product describe.It should be understood that can be realized by computer program instructions
The process and/or box in each flow and/or block and flowchart and/or the block diagram in flowchart and/or the block diagram
Combination.Can provide these computer program instructions to general purpose computer, special purpose computer, Embedded Processor or other can compile
The processor of journey data processing equipment is to generate a machine, so that passing through computer or other programmable data processing devices
The instruction that processor executes generates for realizing in one box of one or more flows of the flowchart and/or block diagram or more
The device for the function of being specified in a box.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
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, 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.
It will be understood by those skilled in the art that the embodiment of this specification one or more can provide as method, system or meter
Calculation machine program product.Therefore, complete hardware embodiment, complete software embodiment or combination can be used in this specification one or more
The form of embodiment in terms of software and hardware.It is wherein wrapped moreover, this specification one or more can be used in one or more
Computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optics containing computer usable program code
Memory etc.) on the form of computer program product implemented.
This specification one or more can be in the general context of computer-executable instructions executed by a computer
Description, such as program module.Generally, program module includes the example for executing particular task or realizing particular abstract data type
Journey, programs, objects, component, data structure etc..This specification one or more can also be practiced in a distributed computing environment
It is a, in these distributed computing environments, by executing task by the connected remote processing devices of communication network.Dividing
Cloth calculates in environment, and program module can be located in the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying 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 explanation.
The foregoing is merely the embodiment of this specification one or more, be not limited to this specification one or
It is multiple.To those skilled in the art, this specification one or more can have various modifications and variations.It is all in this explanation
Any modification, equivalent replacement, improvement and so within book one or more spirit and principle, should be included in this specification
Within one or more scopes of the claims.