Summary of the invention
The purpose of the embodiment of the present application is to provide a kind of record screen evidence collecting method, system and electronic equipment based on block chain,
To simplify forensics process, evidence obtaining cost is reduced, and guarantee the reliability of evidence obtaining evidence.
In order to solve the above technical problems, the embodiment of the present application is achieved in that
In a first aspect, a kind of record screen evidence collecting method based on block chain is proposed, this method comprises:
The call request for shielding intelligent contract in response to the local record of block chain obtains the local record and shields intelligent contract, institute
It states in the local intelligent contract of record screen and includes for realizing the local code for recording screen process, the locally record screen process, which includes at least, to be opened
Dynamic screen recording function executes machine operational order, and terminates screen recording to generate record screen file;
Shield intelligent contract based on the local record, execute local record screen process and execution event is broadcast to block scm cluster
In to carry out common recognition verifying;
Receive the common recognition result of the common recognition node feeding back of block chain;
When the common recognition result of feedback meets common recognition condition, by the Hash information storage of the record screen file to the block
In the block chain account book of chain.
Second aspect, proposes a kind of block catenary system, which includes:
Module is obtained, the call request of intelligent contract is shielded in response to the local record of block chain, obtains the local record screen intelligence
Energy contract, it includes for realizing the code of screen process is locally recorded that the local record, which is shielded in intelligent contract, and process is shielded in the local record
Including at least starting screen recording function, machine operational order is executed, and terminates screen recording to generate record screen file;
Execution module shields intelligent contract based on the local record, executes local record screen process and is broadcast to execution event
To carry out common recognition verifying in block scm cluster;
Execution event is broadcast in block scm cluster to carry out common recognition verifying by sending module;
Receiving module receives the common recognition result of the common recognition node feeding back of block chain;
Memory module stores the Hash information of the record screen file when the common recognition result of feedback meets common recognition condition
Into the block chain account book of the block chain.
The third aspect proposes a kind of electronic equipment, which includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
It manages device and executes following operation:
The call request for shielding intelligent contract in response to the local record of block chain obtains the local record and shields intelligent contract, institute
It states in the local intelligent contract of record screen and includes for realizing the local code for recording screen process, the locally record screen process, which includes at least, to be opened
Dynamic screen recording function executes machine operational order, and terminates screen recording to generate record screen file;
Shield intelligent contract based on the local record, execute local record screen process and execution event is broadcast to block scm cluster
In to carry out common recognition verifying;
Receive the common recognition result of the common recognition node feeding back of block chain;
When the common recognition result of feedback meets common recognition condition, by the Hash information storage of the record screen file to the block
In the block chain account book of chain.
Fourth aspect proposes a kind of computer readable storage medium, the computer-readable recording medium storage one
Or multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that the electricity
Sub- equipment executes following operation:
The call request for shielding intelligent contract in response to the local record of block chain obtains the local record and shields intelligent contract, institute
It states in the local intelligent contract of record screen and includes for realizing the local code for recording screen process, the locally record screen process, which includes at least, to be opened
Dynamic screen recording function executes machine operational order, and terminates screen recording to generate record screen file;
Shield intelligent contract based on the local record, execute local record screen process and execution event is broadcast to block scm cluster
In to carry out common recognition verifying;
Receive the common recognition result of the common recognition node feeding back of block chain;
When the common recognition result of feedback meets common recognition condition, by the Hash information storage of the record screen file to the block
In the block chain account book of chain.
As can be seen from the technical scheme provided by the above embodiments of the present application, the embodiment of the present application scheme at least has following one kind
Technical effect:
In the embodiment of the present application, intelligent contract is shielded by the local record executed on block chain, to start screen recording function,
Machine operational order is executed, and terminates screen recording, record screen file is ultimately generated, then in the common recognition node of block chain to this
After the execution that intelligent contract is shielded in ground record is reached common understanding, the Hash information of record screen file is stored into block chain, area is utilized
The characteristic that block chain can not be distorted, so as to realize reliability of the record screen file as evidence independent of notary public, simultaneously
Forensics process is also greatly simplified, evidence obtaining cost is reduced.
Specific embodiment
The embodiment of the present application provides a kind of record screen evidence collecting method, system and electronic equipment based on block chain.
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality
The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation
Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common
The application protection all should belong in technical staff's every other embodiment obtained without creative efforts
Range.
Fig. 1 is record screen evidence collecting method flow chart of the one embodiment based on block chain of the application.The method of Fig. 1 can wrap
It includes:
S110 shields the call request of intelligent contract in response to the local record of block chain, obtains the local record screen intelligence and closes
About, it includes for realizing the local code for recording screen process that the local record, which is shielded in intelligent contract,.
Wherein, the local record screen process includes at least starting screen recording function, executes machine operational order, Yi Jijie
Beam screen recording is to generate record screen file.
It should be understood that generally comprise two class accounts in the block catenary system with intelligent contract, i.e., it is external to possess account
(External Owned Account, EOA) and contract account (Contract Account, CA).In the embodiment of the present application,
The call request of intelligent contract is shielded in local record, be can be and is called directly by EOA, or by EOA call other intelligent contracts with
Connect calling.It should be understood, of course, that under normal circumstances, local record is shielded intelligent contract and is called by EOA.
It should be understood that the upper chain process that intelligent contract is shielded in local record can refer to the cochain of the prior art in the embodiment of the present application
Process, the embodiment of the present application are not construed as limiting this.
It should be understood that the call request carries the mark and parameter that intelligent contract is shielded in the local record.
S120 shields intelligent contract based on the local record, executes local record screen process and execution event is broadcast to block
To carry out common recognition verifying in scm cluster.
It should be understood that in the embodiment of the present application, starting screen recording function executes machine operational order and terminates screen
Record all is by executing the local record screen in block chain to generate record screen file etc. and be related to the local movement for recording screen process
Intelligent contract is realized.
It should be understood that, for the confidence level for further providing for evidence obtaining, judicial authority can be called to recognize when starting screen recording function
Can recording tool, carry out screen recording.Certainly, other recording tools can also be used to be recorded, the embodiment of the present application is to this
With no restriction.
It should be understood that the specific implementation for executing machine operation on the target device can refer to the prior art, repeat no more.
In the embodiment of the present application, when block chain executes local record screen intelligence contract, while the local record of execution can be broadcasted and shielded
Other nodes of the event of intelligent contract into block scm cluster locally record the execution of the intelligent contract of screen to know together node to this
Carry out common recognition verifying.
The specific implementation that common recognition node verification intelligence contract executes can refer to the scheme of the prior art, or use the application
Improved technical solution later, with no restriction to this, specific implementation has no effect on the embodiment of the present application to the embodiment of the present application
Scheme.
S130 receives the common recognition result of the common recognition node feeding back of block chain.
After the execution event of intelligence contract is shielded in the local record of broadcast, the common recognition node of block chain can be to the locally record screen intelligence conjunction
Execution about carries out common recognition verifying, and feeds back common recognition result.Block chain can receive the common recognition result of common recognition node feeding back.
S140, when the common recognition result of feedback meets common recognition condition, by the Hash information storage of the record screen file to institute
It states in the block chain account book of block chain.
Common recognition condition is reached, and specifically refers to the prior art, the embodiment of the present application to this with no restriction.
It should be understood that the Hash information of record screen file, refers to and passes through the cryptographic Hash that keyed Hash function obtains to record screen file.
Keyed Hash function, for example, the SHA-256HASH algorithm in bit coin, the KECCAK-256HASH algorithm in ether mill, etc..
It should be understood that the Hash information of file is shielded in record in the embodiment of the present application, it can be and a Hash is carried out to record screen file
The cryptographic Hash that operation obtains, or pass through the cryptographic Hash that twice or repeatedly Hash operation obtains.
In the embodiment of the present application, intelligent contract is shielded by the local record executed on block chain, to start screen recording function,
Machine operational order is executed, and terminates screen recording, record screen file is ultimately generated, then in the common recognition node of block chain to this
After the execution that intelligent contract is shielded in ground record is reached common understanding, the Hash information of record screen file is stored into block chain, area is utilized
The characteristic that block chain can not be distorted, so as to realize reliability of the record screen file as evidence independent of notary public, simultaneously
Forensics process is also greatly simplified, evidence obtaining cost is reduced.
Existing notarization process is there is likely to be being bribed to distort the possibility of notarization result, and the technical side of the application
So that record screen file is reduced to minimum a possibility that being tampered, a possibility that distorting is substantially not present by means of block chain in case.
Optionally, in step S140, by the block chain account of the Hash information storage of the record screen file to the block chain
It is specific to can be achieved in this are as follows: to arrive the mark storage that the Hash information of the record screen file and the local record shield intelligent contract
In the block chain account book of the block chain.
In the embodiment of the present application, when storing the Hash information of the record screen file, by the Kazakhstan that the record is shielded to file
Uncommon information and local record shield the mark of intelligent contract together as in the block of record storage to block chain, can making the people that collects evidence
Member can clearly recognize that record screen file is recorded based on which intelligent contract.
Optionally, in step S140, by the block chain account of the Hash information storage of the record screen file to the block chain
It is specific to can be achieved in this are as follows:
The relevant information of the Hash information of the record screen file and the record screen file is made into storage and arrives the block chain
Block chain account book in;
Wherein, the relevant information includes following one or more combination:
The title of the record screen file;
The storage address of the record screen file;
The content introduction of the record screen file;
The corresponding evidence obtaining user information of file is shielded in the record.
In the embodiment of the present application, when storing the Hash information of the record screen file, by the Kazakhstan that the record is shielded to file
Uncommon information and the relevant information of the record screen file are together as in the block of record storage to block chain, can making the people that collects evidence
Member can clearly recognize the relevant information of record screen file.
Optionally, the local record screen process further include: operate the machine executed on the target device corresponding
Timestamp information is written in the record screen file.
In the embodiment of the present application, write by the way that the machine executed on the target device is operated corresponding timestamp information
Enter into record screen file, evidence obtaining personnel can be enabled to be based on machine and operate the corresponding entire record of timestamp information understanding
Screen process, auxiliary user collect evidence.
It should be understood that in the embodiment of the present application, executing the local specific implementation for recording the intelligent contract of screen, there may be a variety of sides
Formula.
Optionally, as one embodiment, step S120 specifically be can be achieved are as follows:
Shield intelligent contract based on the local record, executes local record screen process in the credible execution container of the block chain.
In the embodiment of the present application, local record screen process can be executed in the credible execution container of block chain, to solve local ring
The unclean problem in border and false entry problem, to further enhance the confidence level of record screen evidence obtaining.
Further, the common recognition node of the block chain is used to shield intelligent contract in the credible execution to the local record
The implementing result of container carries out common recognition certification.
Common recognition node on block chain is by carrying out common recognition certification to the credible implementing result for executing container, in the hope of to intelligence
The execution of energy contract is reached common understanding.
Further, the common recognition result includes the consistency certification of the Hash information of the record screen file.
In the embodiment of the present application, when the Hash information for the record screen file that common recognition node most on block chain obtains is identical
When, i.e., it is believed that reaching common understanding, and then subsequent storage operation can be carried out.
Optionally, as another embodiment, the common recognition node of the block chain for executing the local record screen respectively
Intelligent contract simultaneously carries out common recognition certification to the record screen content of the local intelligent contract of record screen.
In the embodiment of the present application, local record can be executed respectively by node of knowing together and shields intelligent contract to reach common understanding.
It should be understood that shielding for the scheme of intelligent contract for executing local record respectively, the Hash information of record screen file is general
Difference, at this point, can determine whether to reach common understanding by the consistency judgement of record screen content.That is, the common recognition result
Consistency certification including the record screen content.
Optionally, the method also includes: the called side for shielding intelligent contract to the local record returns to the record screen file
Hash information storage it is block-identified, it is described it is block-identified for the called side establish the record and shield file deposited with block chain
The mapping relations of storage.
In the embodiment of the present application, called side is returned to by the block-identified of Hash information that screen file is recorded in storage, so as to
Called side establishes the mapping relations of the record screen file and the storage of block chain, to facilitate called side when being put to the proof from block
The Hash information of record screen file is searched in chain.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
Fig. 2 is the structural schematic diagram of one embodiment electronic equipment of the application.Referring to FIG. 2, in hardware view, the electricity
Sub- equipment includes processor, optionally further comprising internal bus, network interface, memory.Wherein, memory may be comprising interior
It deposits, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile memories
Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other
Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..Only to be indicated with a four-headed arrow in Fig. 2, it is not intended that an only bus or a type of convenient for indicating
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer
Block catenary system is formed on face.Processor executes the program that memory is stored, and is specifically used for executing following operation:
The call request for shielding intelligent contract in response to the local record of block chain obtains the local record and shields intelligent contract, institute
It states in the local intelligent contract of record screen and includes for realizing the local code for recording screen process, the locally record screen process, which includes at least, to be opened
Dynamic screen recording function executes machine operational order, and terminates screen recording to generate record screen file;
Shield intelligent contract based on the local record, execute local record screen process and execution event is broadcast to block scm cluster
In to carry out common recognition verifying;
Receive the common recognition result of the common recognition node feeding back of block chain;
When the common recognition result of feedback meets common recognition condition, by the Hash information storage of the record screen file to the block
In the block chain account book of chain.
The method that block catenary system disclosed in the above-mentioned embodiment illustrated in fig. 1 such as the application executes can be applied to processor
In, or realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.It was realizing
Each step of Cheng Zhong, the above method can be complete by the integrated logic circuit of the hardware in processor or the instruction of software form
At.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU),
Network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.It may be implemented or execute and is in the embodiment of the present application disclosed each
Method, step and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional place
Manage device etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and execute
At, or in decoding processor hardware and software module combination execute completion.Software module can be located at random access memory,
This fields such as flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register maturation
In storage medium.The storage medium is located at memory, and processor reads the information in memory, completes above-mentioned side in conjunction with its hardware
The step of method.
The method that the electronic equipment can also carry out embodiment illustrated in fig. 1, specific implementation can refer to embodiment illustrated in fig. 1, this
Apply for that details are not described herein for embodiment.
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of the application, for example patrol
Collect device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each patrol
Unit is collected, hardware or logical device are also possible to.
The embodiment of the present application also proposed a kind of computer readable storage medium, the computer-readable recording medium storage one
A or multiple programs, the one or more program include instruction, and the instruction is when by the portable electronic including multiple application programs
When equipment executes, the method that the portable electronic device can be made to execute embodiment illustrated in fig. 1, and be specifically used for executing following behaviour
Make:
The call request for shielding intelligent contract in response to the local record of block chain obtains the local record and shields intelligent contract, institute
It states in the local intelligent contract of record screen and includes for realizing the local code for recording screen process, the locally record screen process, which includes at least, to be opened
Dynamic screen recording function executes machine operational order, and terminates screen recording to generate record screen file;
Shield intelligent contract based on the local record, execute local record screen process and execution event is broadcast to block scm cluster
In to carry out common recognition verifying;
Receive the common recognition result of the common recognition node feeding back of block chain;
When the common recognition result of feedback meets common recognition condition, by the Hash information storage of the record screen file to the block
In the block chain account book of chain.
Fig. 3 is the structural schematic diagram of one embodiment block catenary system of the application.Referring to FIG. 3, real in a kind of software
It applies in mode, block catenary system can include:
Module 310 is obtained, the call request of intelligent contract is shielded in response to the local record of block chain, obtains the local record screen
Intelligent contract, it includes for realizing the local code for recording screen process, the local record screen stream that the local record, which is shielded in intelligent contract,
Journey includes at least starting screen recording function, executes machine operational order, and terminates screen recording to generate record screen file;
Execution module 320 shields intelligent contract based on the local record, executes local record screen process and will execute event broadcast
Into block scm cluster to carry out common recognition verifying;
Execution event is broadcast in block scm cluster to carry out common recognition verifying by sending module 330;
Receiving module 340 receives the common recognition result of the common recognition node feeding back of block chain;
Memory module 350 deposits the Hash information of the record screen file when the common recognition result of feedback meets common recognition condition
It stores up in the block chain account book of the block chain.
In the embodiment of the present application, intelligent contract is shielded by the local record executed on block chain, to start screen recording function,
Machine operational order is executed, and terminates screen recording, record screen file is ultimately generated, then in the common recognition node of block chain to this
After the execution that intelligent contract is shielded in ground record is reached common understanding, the Hash information of record screen file is stored into block chain, area is utilized
The characteristic that block chain can not be distorted, so as to realize reliability of the record screen file as evidence independent of notary public, simultaneously
Forensics process is also greatly simplified, evidence obtaining cost is reduced.
Optionally, memory module 350 is specifically used for: by the Hash information of the record screen file and the local record screen intelligence
The mark of contract is stored into the block chain account book of the block chain.
Optionally, memory module 350 is specifically used for: the Hash information of the record screen file and the record are shielded file
Relevant information stores in the block chain account book of the block chain;
Wherein, the relevant information includes following one or more combination:
The title of the record screen file;
The storage address of the record screen file;
The content introduction of the record screen file;
The corresponding evidence obtaining user information of file is shielded in the record.
Optionally, the local record screen process further include:
The machine executed on the target device is operated corresponding timestamp information to be written in the record screen file.
Optionally, as one embodiment, execution module 320 is specifically used for: intelligent contract is shielded based on the local record,
The credible execution container of the block chain executes local record screen process.
Further, the common recognition node of the block chain is used to shield intelligent contract in the credible execution to the local record
The implementing result of container carries out common recognition certification.
Further, the common recognition result includes the consistency certification of the Hash information of the record screen file.
Optionally, as another embodiment, the common recognition node of the block chain for executing the local record screen respectively
Intelligent contract simultaneously carries out common recognition certification to the record screen content of the local intelligent contract of record screen.
Further, the common recognition result includes the consistency certification of the record screen content.
Optionally, block catenary system may also include return module, be used for:
The called side for shielding intelligent contract to the local record returns to the block mark that the Hash information of the record screen file stores
Know, the block-identified mapping relations that the record screen file and the storage of block chain are established for the called side.
Optionally, the call request carries the mark and parameter that intelligent contract is shielded in the local record.
The method that block catenary system 300 can also carry out embodiment illustrated in fig. 1, specific implementation can refer to embodiment illustrated in fig. 1,
Details are not described herein for the embodiment of the present application.
In short, being not intended to limit the protection scope of the application the foregoing is merely the preferred embodiment of the application.
Within the spirit and principles of this application, any modification, equivalent replacement, improvement and so on should be included in the application's
Within protection scope.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
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.