CN109445665A - A kind of set Zhang Fangfa in the close Electronic Signature of state - Google Patents

A kind of set Zhang Fangfa in the close Electronic Signature of state Download PDF

Info

Publication number
CN109445665A
CN109445665A CN201811080227.6A CN201811080227A CN109445665A CN 109445665 A CN109445665 A CN 109445665A CN 201811080227 A CN201811080227 A CN 201811080227A CN 109445665 A CN109445665 A CN 109445665A
Authority
CN
China
Prior art keywords
pdf
seal
signature
abscissa
ordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811080227.6A
Other languages
Chinese (zh)
Inventor
金鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JIANGSU WAFA INFORMATION TECHNOLOGY Co Ltd
Original Assignee
JIANGSU WAFA INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JIANGSU WAFA INFORMATION TECHNOLOGY Co Ltd filed Critical JIANGSU WAFA INFORMATION TECHNOLOGY Co Ltd
Priority to CN201811080227.6A priority Critical patent/CN109445665A/en
Publication of CN109445665A publication Critical patent/CN109445665A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses the set Zhang Fangfa in a kind of close Electronic Signature of state, it is characterised in that: touches seal including E-seal position algorithm, the positioning of backstage stamped signature PDF, addition seal on the perforation, PDF paging and the undistorted display of scaling, mobile phone terminal in electronic signature method, pdf and carries out stamped signature and fixed area stamped signature.Present invention combination digital signature technology, solves the technical issues of to multiple seals are disposably covered in electronic document, substantially increases efficiency of affixing one's seal, specified seal is added at the position in need affixed one's seal, all seals are disposably signed by Electronic Signature technology.

Description

A kind of set Zhang Fangfa in the close Electronic Signature of state
Technical field
The invention belongs to a kind of Electronic Signature technical fields, and in particular to the set Zhang Fangfa in a kind of close Electronic Signature of state.
Background technique
Set Zhang Fangfa in the close Electronic Signature of state is complicated for operation, can not be to disposably covering multiple seals in electronic document , greatly reduce efficiency of affixing one's seal, especially can not specified seal is added at the position in need affixed one's seal, therefore can not expire The demand of sufficient people.
Summary of the invention
The technical problem to be solved by the present invention is to provide a kind of close Electronic Signature of state in view of the above shortcomings of the prior art In set Zhang Fangfa solve and the technology for disposably covering multiple seals in electronic document asked in conjunction with digital signature technology Topic, substantially increase efficiency of affixing one's seal, institute the position in need affixed one's seal at addition specify seal, it is primary by Electronic Signature technology Property all seals of signature.
To realize the above-mentioned technical purpose, the technical scheme adopted by the invention is as follows:
Set Zhang Fangfa in a kind of close Electronic Signature of state, it is characterised in that: including electronic seal in electronic signature method, pdf Chapter position algorithm, the positioning of backstage stamped signature PDF, addition seal on the perforation, PDF paging and the undistorted display of scaling, mobile phone terminal touch print Zhang Jinhang stamped signature and fixed area stamped signature.
Above-mentioned electronic signature method, comprising the following steps:
1) PDF document metadata is parsed, PDF document position coordinate is recorded;
2) when mouse down, the position of current mouse is got, that is, the position of opposite browser before moving;Mouse is mobile After, obtain the position of mouse, that is, the position after moving;
3) position calculated when clicking picture is position of the finger mouse in picture i.e. mouse relative to picture father The grade abscissa in the upper left corner and value of ordinate, they are used to guarantee that mouse after movement remains in the opposite position of picture It sets, by the way that the position of mouse is subtracted the two deviants;
4) calculate it is mobile before the abscissa of position, ordinate and it is mobile after the abscissa of position, ordinate Difference.The abscissa of element is designated as after movement: abscissa-mouse down abscissa+element initial horizontal after mouse is mobile Coordinate;Ordinate are as follows: the initial ordinate of ordinate-mouse down ordinate+element after mouse is mobile;
5) the abscissa and ordinate of new abscissa and ordinate replacement finite element, the step of dragging seal to pdf Suddenly just finish.
E-seal position algorithm in above-mentioned pdf, comprising the following steps:
1) the pdf total page number for carrying out positioning and record standard pdf is subtracted into seal multiplied by the length of standard pdf individual pages Length is exactly the top/bottom latitude that seal can drag, and top/bottom latitude cannot be less than 0;
2) width for recording PDF subtracts the width of seal, is exactly the length for the left and right range that seal can drag in pdf, left and right Range cannot be less than 0;
3) upper left corner PDF abscissa and ordinate are set as 0;
4) PDF is calculated relative to the position, that is, abscissa in the screen upper left corner and the difference of ordinate;
5) when mouse, which is moved within the scope of PDF, and clicks seal does not put, the position in the seal relative screen upper left corner is obtained
6) abscissa Yu ordinate in the seal relative screen upper left corner subtract PDF relative to the screen upper left corner abscissa with The result that ordinate obtains is exactly coordinate value of the seal relative to PDF;
7) when mouse is mobile, the continuous position for obtaining mouse, and calculate the new coordinate modification seal of seal relative to The coordinate position of PDF determines the position of seal until mouse leaves;
8) pulling terminates, and cancels the label of dragging, records coordinate position, that is, abscissa, ordinate of the seal relative to PDF.
The positioning of above-mentioned backstage stamped signature PDF, which is divided into after PDF does not rotate progress stamped signature and PDF rotation, carries out two kinds of stamped signature Situation;
Wherein PDF do not rotate carry out stamped signature the following steps are included:
1) pixel of original image, which goes to page end according to certain multiplying power, makes the resolution ratio at its adaptive screen end;
2) lower left corner that pdf is arranged is that origin carries out sentencing calculation;
3) abscissa of final stamped signature is exactly the abscissa of seal position, and ordinate is exactly that the length of single page pdf subtracts print The size of chapter subtracts ordinate of the seal relative to pdf upper left position;
Wherein PDF rotation after carry out stamped signature the following steps are included:
A) using the center of PDF as the point of rotation, the angle of record PDF rotation;
B) abscissa of stamped signature are as follows: cosine function subtracts the length of seal ordinate multiplied by the length of bevel edge, and stamped signature is indulged Coordinate are as follows: SIN function subtracts the length of seal abscissa multiplied by the length of bevel edge.
Above-mentioned addition seal on the perforation, comprising the following steps:
1) total page number of PDF is recorded when uploading;
2) angle of seal Random-Rotation is recorded;
3) size with an official seal affixed on every PDF is obtained divided by the total page number of PDF with the width of seal;
4) position for signing seal is arranged in the PDF page rightmost side.
Above-mentioned PDF paging and the undistorted display of scaling, comprising the following steps:
1) total page number for recording PDF when pdf is uploaded can be obtained by the address of pdf file or pdf data flow, obtain node Highly, range setting height is dragged behind for seal;
2) height and the record actual height of PDF of the page are set, when content is less than the range that pdf one page is shown, nothing Need paging;
3) numerical value for passing the current page number toward backstage with ajax, carries out paging using limit from the background;The data on foreground pass through Ajax is obtained, and is then carried out assembly again, is dynamically loaded into the page;
4) pdf is loaded into html, is handled by canvas, then rendered pdf file, pdf is converted into data flow, used Ajax calls the address url of backstage method inquiry pdf, is then passed to another page and goes that backstage method is adjusted to carry out Base64 Coding.It calls pdf dynamic to be appended to behind body, guarantee pdf amplification and reduces undistorted;
5) life size that the size of final PDF is PDF is vector artwork multiplied by the multiplying power zoomed in or out, the picture of generation Format is attached in the PDF layer after body;
6) two Hidden fields are put after the body page, one is the current page number, and one is total page number, and total page number is that the page adds It has been carried that, value is directly enclosed after coming out from background query, the current page number is every operation one it is necessary to current page number assignment;
7) function that a page has loaded is write, total page number and current page number assignment are given.
Above-mentioned mobile phone terminal touches seal and carries out stamped signature, comprising the following steps:
1) size that picture records seal picture simultaneously is clicked, signature position is carried out using subdivision interface and handles;
2) signature field is obtained, the abscissa and ordinate value of seal fixed point are set;
3) relative position for capturing seal fixed point in signature field is overlapped with the coordinate value of seal fixed point in signature field;
4) it is positioned by abscissa and ordinate to place signature;
5) position for needing to place by touching mobile adjustment seal, obtains the position finally moved and records relative to PDF The value of upper left corner abscissa and ordinate, final value are exactly the position that seal is signed in PDF.
Above-mentioned fixed area stamped signature, comprising the following steps:
1) in the page of the PDF that setting uploads after body, the lower right corner fixed area of fixed page is the region of stamped signature, Signature algorithm identifier is set;
2) this fixed area is to will pop up the interface of stamped signature when the user clicks, is contacted comprising signer title, signer Information, signature reason;
3) two operation buttons are created, be respectively used to empty drawing board and save signature, signature region uses HTML5's Data-option carrys out Transfer Parameters, transmits data using Ajax formdata, changes into blob format, backstage blob turns byte [] stores into database;
4) it stores into after database, is converted using base64 transcoding mode, do not need to call backstage method again Request picture, by return the data data that come directly display or string-concatenation in the way of show signature after picture;
5) generating picture tag should be any position, be adjusted the position of stamped signature manually;
6) record last time adjusts the position of stamped signature and is transmitted to rear end, and the position finally recorded is exactly PDF stamped signature Position.
The present invention is based on PDF Electronic Signature technology, by verifying PDF, content is whether there is or not changing after affixing one's seal, in guarantee Hold authenticity and integrality.
The present invention uses Canvas API and front end encryption technology in H5 to carry out transcoding to stamped signature picture, drags in picture Dynamic calculates mouse relative to the position in PDF coordinate system when dragging, and realizes that the random dragging of stamped signature picture is placed.By to stamped signature Floating, correction, polishing etc. a series of processing, make its effect as papery is affixed one's seal or is signed.
Front and back end carries out encrypting and decrypting operation using public, private key, is flowed by front end encryption technology to stamped signature picture byte Row public key encryption, file transmission are shown in the form of messy code, other people can not read or distort.Rear end is receiving front end hair It after the byte stream information sent, is decoded using private key, guarantees the safety of file.Use electronic document and digital signature skill Art, or even than using safer by signed and stamped written document.
The advantage of the invention is that the following: in conjunction with digital signature technology, solve in electronic document disposably plus The technical issues of covering multiple seals substantially increases efficiency of affixing one's seal, specified seal is added at the position in need affixed one's seal, lead to It crosses Electronic Signature technology and disposably signs all seals.
Specific embodiment
A specific embodiment of the invention is further illustrated below:
Set Zhang Fangfa in a kind of close Electronic Signature of state, it is characterised in that: including electronic seal in electronic signature method, pdf Chapter position algorithm, the positioning of backstage stamped signature PDF, addition seal on the perforation, PDF paging and the undistorted display of scaling, mobile phone terminal touch print Zhang Jinhang stamped signature and fixed area stamped signature.
Above-mentioned electronic signature method, comprising the following steps:
1) PDF document metadata is parsed, PDF document position coordinate is recorded;
2) when mouse down, the position of current mouse is got, that is, the position of opposite browser before moving;Mouse is mobile After, obtain the position of mouse, that is, the position after moving;
3) position calculated when clicking picture is position of the finger mouse in picture i.e. mouse relative to picture father The grade abscissa in the upper left corner and value of ordinate, they are used to guarantee that mouse after movement remains in the opposite position of picture It sets, by the way that the position of mouse is subtracted the two deviants;
4) calculate it is mobile before the abscissa of position, ordinate and it is mobile after the abscissa of position, ordinate Difference.The abscissa of element is designated as after movement: abscissa-mouse down abscissa+element initial horizontal after mouse is mobile Coordinate;Ordinate are as follows: the initial ordinate of ordinate-mouse down ordinate+element after mouse is mobile;
5) the abscissa and ordinate of new abscissa and ordinate replacement finite element, the step of dragging seal to pdf Suddenly just finish.
E-seal position algorithm in above-mentioned pdf, comprising the following steps:
1) the pdf total page number for carrying out positioning and record standard pdf is subtracted into seal multiplied by the length of standard pdf individual pages Length is exactly the top/bottom latitude that seal can drag, and top/bottom latitude cannot be less than 0;
2) width for recording PDF subtracts the width of seal, is exactly the length for the left and right range that seal can drag in pdf, left and right Range cannot be less than 0;
3) upper left corner PDF abscissa and ordinate are set as 0;
4) PDF is calculated relative to the position, that is, abscissa in the screen upper left corner and the difference of ordinate;
5) when mouse, which is moved within the scope of PDF, and clicks seal does not put, the position in the seal relative screen upper left corner is obtained
6) abscissa Yu ordinate in the seal relative screen upper left corner subtract PDF relative to the screen upper left corner abscissa with The result that ordinate obtains is exactly coordinate value of the seal relative to PDF;
7) when mouse is mobile, the continuous position for obtaining mouse, and calculate the new coordinate modification seal of seal relative to The coordinate position of PDF determines the position of seal until mouse leaves;
8) pulling terminates, and cancels the label of dragging, records coordinate position, that is, abscissa, ordinate of the seal relative to PDF.
The positioning of above-mentioned backstage stamped signature PDF, which is divided into after PDF does not rotate progress stamped signature and PDF rotation, carries out two kinds of stamped signature Situation;
Wherein PDF do not rotate carry out stamped signature the following steps are included:
1) pixel of original image, which goes to page end according to certain multiplying power, makes the resolution ratio at its adaptive screen end;
2) lower left corner that pdf is arranged is that origin carries out sentencing calculation;
3) abscissa of final stamped signature is exactly the abscissa of seal position, and ordinate is exactly that the length of single page pdf subtracts print The size of chapter subtracts ordinate of the seal relative to pdf upper left position;
Wherein PDF rotation after carry out stamped signature the following steps are included:
A) using the center of PDF as the point of rotation, the angle of record PDF rotation;
B) abscissa of stamped signature are as follows: cosine function subtracts the length of seal ordinate multiplied by the length of bevel edge, and stamped signature is indulged Coordinate are as follows: SIN function subtracts the length of seal abscissa multiplied by the length of bevel edge.
Above-mentioned addition seal on the perforation, comprising the following steps:
1) total page number of PDF is recorded when uploading;
2) angle of seal Random-Rotation is recorded;
3) size with an official seal affixed on every PDF is obtained divided by the total page number of PDF with the width of seal;
4) position for signing seal is arranged in the PDF page rightmost side.
Above-mentioned PDF paging and the undistorted display of scaling, comprising the following steps:
1) total page number for recording PDF when pdf is uploaded can be obtained by the address of pdf file or pdf data flow, obtain node Highly, range setting height is dragged behind for seal;
2) height and the record actual height of PDF of the page are set, when content is less than the range that pdf one page is shown, nothing Need paging;
3) numerical value for passing the current page number toward backstage with ajax, carries out paging using limit from the background;The data on foreground pass through Ajax is obtained, and is then carried out assembly again, is dynamically loaded into the page;
4) pdf is loaded into html, is handled by canvas, then rendered pdf file, pdf is converted into data flow, used Ajax calls the address url of backstage method inquiry pdf, is then passed to another page and goes that backstage method is adjusted to carry out Base64 Coding.It calls pdf dynamic to be appended to behind body, guarantee pdf amplification and reduces undistorted;
5) life size that the size of final PDF is PDF is vector artwork multiplied by the multiplying power zoomed in or out, the picture of generation Format is attached in the PDF layer after body;
6) two Hidden fields are put after the body page, one is the current page number, and one is total page number, and total page number is that the page adds It has been carried that, value is directly enclosed after coming out from background query, the current page number is every operation one it is necessary to current page number assignment;
7) function that a page has loaded is write, total page number and current page number assignment are given.
Above-mentioned mobile phone terminal touches seal and carries out stamped signature, comprising the following steps:
1) size that picture records seal picture simultaneously is clicked, signature position is carried out using subdivision interface and handles;
2) signature field is obtained, the abscissa and ordinate value of seal fixed point are set;
3) relative position for capturing seal fixed point in signature field is overlapped with the coordinate value of seal fixed point in signature field;
4) it is positioned by abscissa and ordinate to place signature;
5) position for needing to place by touching mobile adjustment seal, obtains the position finally moved and records relative to PDF The value of upper left corner abscissa and ordinate, final value are exactly the position that seal is signed in PDF.
Above-mentioned fixed area stamped signature, comprising the following steps:
1) in the page of the PDF that setting uploads after body, the lower right corner fixed area of fixed page is the region of stamped signature, Signature algorithm identifier is set;
2) this fixed area is to will pop up the interface of stamped signature when the user clicks, is contacted comprising signer title, signer Information, signature reason;
3) two operation buttons are created, be respectively used to empty drawing board and save signature, signature region uses HTML5's Data-option carrys out Transfer Parameters, transmits data using Ajax formdata, changes into blob format, backstage blob turns byte [] stores into database;
4) it stores into after database, is converted using base64 transcoding mode, do not need to call backstage method again Request picture, by return the data data that come directly display or string-concatenation in the way of show signature after picture;
5) generating picture tag should be any position, be adjusted the position of stamped signature manually;
6) record last time adjusts the position of stamped signature and is transmitted to rear end, and the position finally recorded is exactly PDF stamped signature Position.
The above is only the preferred embodiment of the present invention, protection scope of the present invention is not limited merely to above-described embodiment, All technical solutions belonged under thinking of the present invention all belong to the scope of protection of the present invention.It should be pointed out that for the art For those of ordinary skill, several improvements and modifications without departing from the principles of the present invention should be regarded as protection of the invention Range.

Claims (8)

1. the set Zhang Fangfa in a kind of close Electronic Signature of state, it is characterised in that: including E-seal in electronic signature method, pdf Position algorithm, the positioning of backstage stamped signature PDF, addition seal on the perforation, PDF paging and the undistorted display of scaling, mobile phone terminal touch seal Carry out stamped signature and fixed area stamped signature.
2. the set Zhang Fangfa in the close Electronic Signature of a kind of state according to claim 1, it is characterised in that: the electronics label Zhang Fangfa, comprising the following steps:
1) PDF document metadata is parsed, PDF document position coordinate is recorded;
2) when mouse down, the position of current mouse is got, that is, the position of opposite browser before moving;Mouse movement terminates Afterwards, the position for obtaining mouse, that is, the position after moving;
3) position calculated when clicking picture is that position of the finger mouse in picture i.e. mouse is left relative to picture parent The abscissa at upper angle and the value of ordinate, they are used to guarantee the relative position that mouse after movement remains in picture, lead to It crosses and the position of mouse is subtracted into the two deviants;
4) difference of the abscissa, ordinate of the position before calculating movement and the abscissa of the position after movement, ordinate. The abscissa of element is designated as after movement: the initial abscissa of abscissa-mouse down abscissa+element after mouse is mobile; Ordinate are as follows: the initial ordinate of ordinate-mouse down ordinate+element after mouse is mobile;
5) the abscissa and ordinate of new abscissa and ordinate replacement finite element, the step of pulling seal to pdf, is just Finish.
3. the set Zhang Fangfa in the close Electronic Signature of a kind of state according to claim 1, it is characterised in that: in the pdf E-seal position algorithm, comprising the following steps:
1) the pdf total page number for carrying out positioning and record standard pdf is subtracted into the length of seal just multiplied by the length of standard pdf individual pages It is the top/bottom latitude that seal can drag, top/bottom latitude cannot be less than 0;
2) width for recording PDF subtracts the width of seal, is exactly the length for the left and right range that seal can drag in pdf, left and right range It cannot be less than 0;
3) upper left corner PDF abscissa and ordinate are set as 0;
4) PDF is calculated relative to the position, that is, abscissa in the screen upper left corner and the difference of ordinate;
5) when mouse, which is moved within the scope of PDF, and clicks seal does not put, the position in the seal relative screen upper left corner is obtained
6) abscissa Yu ordinate in the seal relative screen upper left corner subtract PDF relative to the abscissa in the screen upper left corner and vertical seat Marking obtained result is exactly coordinate value of the seal relative to PDF;
7) when mouse is mobile, the continuous position for obtaining mouse, and the new coordinate modification seal of seal is calculated relative to PDF's Coordinate position determines the position of seal until mouse leaves;
8) pulling terminates, and cancels the label of dragging, records coordinate position, that is, abscissa, ordinate of the seal relative to PDF.
4. the set Zhang Fangfa in the close Electronic Signature of a kind of state according to claim 1, it is characterised in that: the backstage label The positioning of chapter PDF, which is divided into after PDF does not rotate progress stamped signature and PDF rotation, carries out two kinds of situations of stamped signature;
Wherein PDF do not rotate carry out stamped signature the following steps are included:
1) pixel of original image, which goes to page end according to certain multiplying power, makes the resolution ratio at its adaptive screen end;
2) lower left corner that pdf is arranged is that origin carries out sentencing calculation;
3) abscissa of final stamped signature is exactly the abscissa of seal position, and ordinate is exactly that the length of single page pdf subtracts seal Size subtracts ordinate of the seal relative to pdf upper left position;
Wherein PDF rotation after carry out stamped signature the following steps are included:
A) using the center of PDF as the point of rotation, the angle of record PDF rotation;
B) abscissa of stamped signature are as follows: cosine function subtracts the length of seal ordinate, the ordinate of stamped signature multiplied by the length of bevel edge Are as follows: SIN function subtracts the length of seal abscissa multiplied by the length of bevel edge.
5. the set Zhang Fangfa in the close Electronic Signature of a kind of state according to claim 1, it is characterised in that: the addition is ridden Stitch chapter, comprising the following steps:
1) total page number of PDF is recorded when uploading;
2) angle of seal Random-Rotation is recorded;
3) size with an official seal affixed on every PDF is obtained divided by the total page number of PDF with the width of seal;
4) position for signing seal is arranged in the PDF page rightmost side.
6. the set Zhang Fangfa in the close Electronic Signature of a kind of state according to claim 1, it is characterised in that: the PDF points Page and the undistorted display of scaling, comprising the following steps:
1) total page number for recording PDF when pdf is uploaded can be obtained by the address of pdf file or pdf data flow, and it is high to obtain node Degree, behind for seal drag range setting height;
2) height and the record actual height of PDF of the page are set, when content is less than the range that pdf one page is shown, without dividing Page;
3) numerical value for passing the current page number toward backstage with ajax, carries out paging using limit from the background;The data on foreground by ajax into Row obtains, and then carries out assembly again, is dynamically loaded into the page;
4) pdf is loaded into html, is handled by canvas, then rendered pdf file, pdf is converted into data flow, with ajax tune With the address url of backstage method inquiry pdf, it is then passed to another page and goes that backstage method is adjusted to carry out Base64 coding.It adjusts It is appended to behind body, guarantees pdf amplification and reduced undistorted with pdf dynamic;
5) life size that the size of final PDF is PDF is vector artwork format multiplied by the multiplying power zoomed in or out, the picture of generation In PDF layer after being attached to body;
6) two Hidden fields are put after the body page, one is the current page number, and one is total page number, and total page number is page load It is complete, value is directly enclosed after coming out from background query, the current page number is every operation one it is necessary to current page number assignment;
7) function that a page has loaded is write, total page number and current page number assignment are given.
7. the set Zhang Fangfa in the close Electronic Signature of a kind of state according to claim 1, it is characterised in that: the mobile phone terminal It touches seal and carries out stamped signature, comprising the following steps:
1) size that picture records seal picture simultaneously is clicked, signature position is carried out using subdivision interface and handles;
2) signature field is obtained, the abscissa and ordinate value of seal fixed point are set;
3) relative position for capturing seal fixed point in signature field is overlapped with the coordinate value of seal fixed point in signature field;
4) it is positioned by abscissa and ordinate to place signature;
5) position for needing to place by touching mobile adjustment seal, obtains the position finally moved and records relative to the upper left PDF The value of angle abscissa and ordinate, final value are exactly the position that seal is signed in PDF.
8. the set Zhang Fangfa in the close Electronic Signature of a kind of state according to claim 1, it is characterised in that: the fixed area Domain stamped signature, comprising the following steps:
1) in the page of the PDF that setting uploads after body, the lower right corner fixed area of fixed page is the region of stamped signature, setting Signature algorithm identifier;
2) this fixed area is to will pop up the interface of stamped signature when the user clicks, comprising signer title, signer contact details, Signature reason;
3) two operation buttons are created, be respectively used to empty drawing board and save signature, signature region uses the data- of HTML5 Option carrys out Transfer Parameters, transmits data using Ajax formdata, changes into blob format, and backstage blob turns byte [] storage Into database;
4) it stores into after database, is converted using base64 transcoding mode, do not need that backstage method is called to request again Picture, by return the data data that come directly display or string-concatenation in the way of show signature after picture;
5) generating picture tag should be any position, be adjusted the position of stamped signature manually;
6) record last time adjusts the position of stamped signature and is transmitted to rear end, and the position finally recorded is exactly the position of PDF stamped signature.
CN201811080227.6A 2018-09-17 2018-09-17 A kind of set Zhang Fangfa in the close Electronic Signature of state Pending CN109445665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811080227.6A CN109445665A (en) 2018-09-17 2018-09-17 A kind of set Zhang Fangfa in the close Electronic Signature of state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811080227.6A CN109445665A (en) 2018-09-17 2018-09-17 A kind of set Zhang Fangfa in the close Electronic Signature of state

Publications (1)

Publication Number Publication Date
CN109445665A true CN109445665A (en) 2019-03-08

Family

ID=65532572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811080227.6A Pending CN109445665A (en) 2018-09-17 2018-09-17 A kind of set Zhang Fangfa in the close Electronic Signature of state

Country Status (1)

Country Link
CN (1) CN109445665A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245220A (en) * 2019-05-05 2019-09-17 深圳法大大网络科技有限公司 Electronic document signs method, apparatus and server, storage medium
CN110730080A (en) * 2019-10-17 2020-01-24 北京智汇信元科技有限公司 Signed document client and server based on private key self-support
CN111444672A (en) * 2020-06-11 2020-07-24 南京壹证通信息科技有限公司 Method for scaling stamp and PDF in linkage manner during PDF stamping of mobile terminal
CN112241622A (en) * 2019-07-16 2021-01-19 北京奎牛科技有限公司 Method and device for modifying form data on electronic file
CN116341499A (en) * 2023-03-27 2023-06-27 北京安证通信息科技股份有限公司 Method for realizing batch stamping of PDF and OFD documents

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101311950A (en) * 2007-05-25 2008-11-26 北京书生国际信息技术有限公司 Electronic stamp realization method and device
CN103679779A (en) * 2012-09-25 2014-03-26 苏州精易会信息技术有限公司 Realization method for seal on the perforation
CN104766029A (en) * 2014-01-03 2015-07-08 航天信息股份有限公司 Method and device for performing national cryptologic electronic signature processing on PDF (Portable Document Format) document
JP2016004300A (en) * 2014-06-13 2016-01-12 株式会社にしがき Management system and management method for electronically signed document
CN106330459A (en) * 2016-08-25 2017-01-11 杭州天谷信息科技有限公司 Electronic keyword signature method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101311950A (en) * 2007-05-25 2008-11-26 北京书生国际信息技术有限公司 Electronic stamp realization method and device
US20100082994A1 (en) * 2007-05-25 2010-04-01 Donglin Wang Method and apparatus for implementing electronic seal
CN103679779A (en) * 2012-09-25 2014-03-26 苏州精易会信息技术有限公司 Realization method for seal on the perforation
CN104766029A (en) * 2014-01-03 2015-07-08 航天信息股份有限公司 Method and device for performing national cryptologic electronic signature processing on PDF (Portable Document Format) document
JP2016004300A (en) * 2014-06-13 2016-01-12 株式会社にしがき Management system and management method for electronically signed document
CN106330459A (en) * 2016-08-25 2017-01-11 杭州天谷信息科技有限公司 Electronic keyword signature method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245220A (en) * 2019-05-05 2019-09-17 深圳法大大网络科技有限公司 Electronic document signs method, apparatus and server, storage medium
CN112241622A (en) * 2019-07-16 2021-01-19 北京奎牛科技有限公司 Method and device for modifying form data on electronic file
WO2021008556A1 (en) * 2019-07-16 2021-01-21 北京奎牛科技有限公司 Method and device for revising form data on electronic document
CN110730080A (en) * 2019-10-17 2020-01-24 北京智汇信元科技有限公司 Signed document client and server based on private key self-support
CN111444672A (en) * 2020-06-11 2020-07-24 南京壹证通信息科技有限公司 Method for scaling stamp and PDF in linkage manner during PDF stamping of mobile terminal
CN116341499A (en) * 2023-03-27 2023-06-27 北京安证通信息科技股份有限公司 Method for realizing batch stamping of PDF and OFD documents

Similar Documents

Publication Publication Date Title
CN109445665A (en) A kind of set Zhang Fangfa in the close Electronic Signature of state
CN109446760A (en) Electronic Signature localization method in a kind of webpage PDF
CN103019537B (en) A kind of image preview method and device
KR102092840B1 (en) Method for providing creative work trading service expanding assetization and accessibility of creative work
CN103577104B (en) Display method of virtual keyboard, control device and touch equipment
US10228835B2 (en) Method for displaying information, and terminal equipment
US11908038B2 (en) Image transformation method and apparatus, storage medium, and computer device
US20130308874A1 (en) Systems and methods for providing improved data communication
CN105335925A (en) Picture clipping method and browser device
US9727707B2 (en) System and method for managing, tracking, and utilizing copy and/or paste events
CN103428539A (en) Pushed information publishing method and device
US20180330211A1 (en) Billboard containing encoded information
CN106713739B (en) A kind of recognition methods of the two dimensional code shown based on electronic curtain
CN108964915A (en) A kind of printed matter non-intrusive interaction method based on two dimensional code auxiliary
CN104992087A (en) Innovative and creative data information processing method for mobile terminal and mobile terminal
CN102411559A (en) Method and device for marking data information
CN101609547A (en) Seamless image splicing processing method based on cumlative energy
CN102135878A (en) Head portrait setting method and system
Qin et al. Robust steganography via patch-based texture synthesis
KR20130012658A (en) Digital diary operating method and recording medium for interconnecting with a diary including printing codes and mobile terminal employing the same
CN109299620A (en) It is a kind of that the anti-tamper electric endorsement method in mobile terminal is realized based on canvas
Kang et al. Research on Screen Shooting Resilient Watermarking based on Dot-Matric
CN106611211A (en) Card for scanning two-dimensional code custom-made contents by using mobile device APP
US20120324354A1 (en) Computer system
Han The impact of interactivity in smart signage and flow on the engagement and memory accessibility

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308