TW201947448A - Method for generating and verifying an electronic signature with a digital watermark, and electronic device to generate a signature track data according to the track information of all the signing track of a signer for each image received after the movie obtains the signature message summary - Google Patents

Method for generating and verifying an electronic signature with a digital watermark, and electronic device to generate a signature track data according to the track information of all the signing track of a signer for each image received after the movie obtains the signature message summary Download PDF

Info

Publication number
TW201947448A
TW201947448A TW107116101A TW107116101A TW201947448A TW 201947448 A TW201947448 A TW 201947448A TW 107116101 A TW107116101 A TW 107116101A TW 107116101 A TW107116101 A TW 107116101A TW 201947448 A TW201947448 A TW 201947448A
Authority
TW
Taiwan
Prior art keywords
signature
digital watermark
processing unit
target
image
Prior art date
Application number
TW107116101A
Other languages
Chinese (zh)
Other versions
TWI668594B (en
Inventor
吳右任
Original Assignee
雲想科技股份有限公司
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 雲想科技股份有限公司 filed Critical 雲想科技股份有限公司
Priority to TW107116101A priority Critical patent/TWI668594B/en
Priority to CN201810812416.1A priority patent/CN110474773B/en
Application granted granted Critical
Publication of TWI668594B publication Critical patent/TWI668594B/en
Publication of TW201947448A publication Critical patent/TW201947448A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0866Generation of secret information including derivation or calculation of cryptographic keys or passwords involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3297Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/60Digital content management, e.g. content distribution
    • H04L2209/608Watermarking

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

An electronic device executes a method for generating an electronic signature with a digital watermark. During a shooting period for generating a movie, a summary of a signature message is obtained according to the document data related to a document and a mathematical function. For each image received after the movie obtains the signature message summary, a signature track data is generated according to the track information of all the signing track of a signer received before the time when the image was received. The signature track data is added to the image. When the signature message summary is obtained, the electronic device adds a digital watermark including the signature message summary to the movie, to generate an electronic signature including the movie. In addition, the present invention also provides an electronic signature verification method and an electronic device.

Description

具有數位浮水印的電子簽章產生及驗證方法及電子裝置Electronic signature generation and verification method with digital watermark and electronic device

本發明是有關於一種查資料合法,驗證或簽章的方法,特別是指一種具有數位浮水印的電子簽章產生及驗證方法及電子裝置。The invention relates to a method for checking the legality, verification or signature of data, in particular to a method and an electronic device for generating and verifying an electronic signature with a digital watermark.

為了改善傳統電子簽章需要申請電子憑證的不方便性,及習慣實體簽名的一般民眾對於電子憑證在金鑰亂碼的不信賴感,中華民國專利號第I493380號之具有防偽功能的電子簽章方法,以結合書寫動作影像與手寫軌跡的簽章,確認前述簽章確實來自預期的簽署者,進而以簡易的方法,達到認證身份的目的,及提高可信賴度。In order to improve the inconvenience of applying for an electronic certificate for traditional electronic signatures, and the general public ’s distrust of the illegible key of the electronic certificate for the signature of physical entities, the electronic signature method with anti-counterfeiting function of the Republic of China Patent No. I493380 In order to verify the signature by combining the writing action image and the handwriting track, confirm that the signature actually comes from the intended signatory, and then use a simple method to achieve the purpose of authenticating the identity and improve the reliability.

然而,在系統認證結合書寫動作影像與手寫軌跡的簽章時,由於每一簽章差異不大,使得具有使用者書寫動作影像與手寫軌跡的簽章的有心人,使用此動態影像以及簽名者手寫簽名軌跡於不同之文檔資料時,系統無法證明合作對象為文檔資料的簽署內容的來源。However, when the system authentication combines the signature of the handwriting motion image and the handwritten trajectory, since there is not much difference between each signature, the interested person with the user's signature of the handwriting motion image and the handwritten trajectory uses this dynamic image and the signer's handwriting When the signature track is in different documents, the system cannot prove that the partner is the source of the signed content of the documents.

因此,本發明的目的,即在提供一種能證明簽署者為文檔資料的簽署內容的來源且簽署內容僅與該文檔資料有關的具有數位浮水印的電子簽章產生方法。Therefore, an object of the present invention is to provide a method for generating an electronic signature with a digital watermark, which can prove that the signer is the source of the signed content of the document and the signed content is only related to the document.

於是,本發明具有數位浮水印的電子簽章產生方法,由一處理單元來實施,該處理單元電連接一拍攝單元及一輸入單元,該拍攝單元用以在一拍攝期間拍攝在簽署一文檔資料的簽署者,以產生一包括多幀影像的影片,該文檔資料相關於一文檔,並傳送該影片至該處理單元,該輸入單元用以於該拍攝期間內產生並傳送多筆相關於該簽署者之簽署軌跡的軌跡訊息至該處理單元,該具有數位浮水印的電子簽章產生方法包含一步驟(A)、一步驟(B)、一步驟(C),及一步驟(D)。Therefore, the method for generating an electronic signature with a digital watermark of the present invention is implemented by a processing unit, which is electrically connected to a photographing unit and an input unit, and the photographing unit is used to photograph and sign a document during a photographing period. Signatories to generate a movie including multiple frames of images, the document information is related to a document, and the movie is transmitted to the processing unit, and the input unit is used to generate and transmit multiple related to the signature during the shooting period The trajectory information of the signed trajectory is sent to the processing unit. The electronic signature generation method with a digital watermark includes a step (A), a step (B), a step (C), and a step (D).

在該步驟(A)中,該處理單元在該拍攝期間內,根據該文檔資料及一數學函數獲得一相關於該文檔資料的簽章訊息摘要。In step (A), during the shooting period, the processing unit obtains a signature message summary related to the document according to the document and a mathematical function.

在該步驟(B)中,該處理單元在該拍攝期間內,對於該影片在獲得該簽章訊息摘要後所接收到的每一影像,在接收到該影像後,根據自接收到該影像的影像接收時間前所接收到的所有軌跡訊息產生一簽名軌跡資料,並將該簽名軌跡資料加入至該影像中。In step (B), the processing unit, during the shooting period, for each image received by the movie after obtaining the signature message summary, after receiving the image, All the track information received before the image receiving time generates a signature track data, and the signature track data is added to the image.

在該步驟(C)中,該處理單元在該拍攝期間內,當獲得該簽章訊息摘要時,將一包括該簽章訊息摘要的數位浮水印加入該影片中。In step (C), the processing unit adds a digital watermark including the signature message summary to the movie during the shooting period when the signature message summary is obtained.

在該步驟(D)中,該處理單元產生包括經步驟(B)及步驟(C)之處理的該影片的電子簽章,並將該電子簽章加入該文檔資料。In step (D), the processing unit generates an electronic signature including the film processed in steps (B) and (C), and adds the electronic signature to the document.

因此,本發明的另一目的,即在提供一種能證明簽署者為文檔資料的簽署內容的來源且簽署內容僅與該文檔資料有關的具有數位浮水印的電子簽章驗證方法。由一處理單元來實施,該處理單元電連接一儲存單元,該儲存單元儲存一相關於一文檔且包括一電子簽章的文檔資料,該電子簽章包括一影片,該影片包括具有多幀相關於一簽署者與該簽署者的一簽名軌跡資料的影像,及多個數位浮水印,每一數位浮水印具有一驗證碼,該方法包含一步驟(A)、一步驟(B)、一步驟(C)、一步驟(D),及一步驟(E)。Therefore, another object of the present invention is to provide an electronic signature verification method with a digital watermark that can prove that the signer is the source of the signed content of the document and the signed content is only related to the document. It is implemented by a processing unit, which is electrically connected to a storage unit. The storage unit stores a document related to a document and includes an electronic signature. The electronic signature includes a movie including a multi-frame correlation. An image of a signature trajectory data of a signer and the signer, and a plurality of digital watermarks, each digital watermark has a verification code, the method includes a step (A), a step (B), a step (C), a step (D), and a step (E).

在該步驟(A)中,該處理單元判定是否可從該影片獲得一目標數位浮水印。In step (A), the processing unit determines whether a target digital watermark can be obtained from the movie.

在該步驟(B)中,當該處理單元判定出可從該影片獲得該目標數位浮水印時,根據該目標數位浮水印獲得該驗證碼。In step (B), when the processing unit determines that the target digital watermark can be obtained from the movie, the verification code is obtained according to the target digital watermark.

在該步驟(C)中,該處理單元根據該文檔資料及該數學函數,獲得一相關於該文檔資料的驗證用訊息摘要。In step (C), the processing unit obtains a verification message summary related to the document material according to the document material and the mathematical function.

在該步驟(D)中,該處理單元判定步驟(B)所獲得的該驗證碼與該驗證用訊息摘要是否相同。In step (D), the processing unit determines whether the verification code obtained in step (B) is the same as the message digest for verification.

在該步驟(E)中,當該處理單元判定出該驗證碼與該驗證用訊息摘要相同時,產生指示出該電子簽章有效的電子簽章有效訊息。In step (E), when the processing unit determines that the verification code is the same as the verification message digest, it generates an electronic signature valid message indicating that the electronic signature is valid.

因此,本發明的又一目的,即在提供一種能證明簽署者為文檔資料的簽署內容的來源且簽署內容僅與該文檔資料有關的電子裝置。該電子裝置包含一拍攝單元、一輸入單元,及一電連接該拍攝單元及該輸入單元的處理單元。Therefore, another object of the present invention is to provide an electronic device that can prove that the signer is the source of the signed content of the document and the signed content is only related to the document. The electronic device includes a photographing unit, an input unit, and a processing unit electrically connected to the photographing unit and the input unit.

該拍攝單元用以在一拍攝期間拍攝一在簽署一文檔資料的簽署者,以產生一包括多幀影像的影片,該文檔資料相關於一文檔。The shooting unit is used to shoot a signer who is signing a document during a shooting period, so as to generate a movie including multiple frames of images, and the document is related to a document.

該輸入單元用以於該拍攝期間內產生並傳送多個相關於該簽署者之簽署軌跡的軌跡訊息。The input unit is used to generate and transmit a plurality of track information related to the signing track of the signer during the shooting period.

在該拍攝期間內,該處理單元根據該文檔資料及一數學函數獲得一相關於該文檔資料的簽章訊息摘要,並在該拍攝期間內,對於該影片在獲得該簽章訊息摘要後從該拍攝單元所接收到的每一影像,在接收到該影像後,根據自接收到該影像的影像接收時間前從該輸入單元所接收到的所有軌跡訊息產生一簽名軌跡資料,並將該簽名軌跡資料加入至該影像中,且在該拍攝期間內,當獲得該簽章訊息摘要時,將一包括該簽章訊息摘要的數位浮水印加入該影片中,最後,該處理單元產生包括經該處理單元處理的該影片的該電子簽章,並將該電子簽章加入該文檔資料。During the shooting period, the processing unit obtains a signed message summary related to the document according to the document data and a mathematical function, and during the shooting period, obtains the signed message summary for the movie from the For each image received by the shooting unit, after receiving the image, a signature track data is generated based on all the track information received from the input unit before the image receiving time of the received image, and the signature track is Data is added to the image, and during the shooting period, when the signature message summary is obtained, a digital watermark including the signature message summary is added to the movie. Finally, the processing unit generates and includes the processed The unit processes the electronic signature of the movie and adds the electronic signature to the document.

因此,本發明的再一目的,即在提供一種能證明簽署者為文檔資料的簽署內容的來源且簽署內容僅與該文檔資料有關的電子裝置。該電子裝置包含一儲存單元及一電連接該儲存單元的處理單元。Therefore, another object of the present invention is to provide an electronic device that can prove that the signer is the source of the signed content of the document and the signed content is only related to the document. The electronic device includes a storage unit and a processing unit electrically connected to the storage unit.

該儲存單元儲存一相關於一文檔且包括一電子簽章的文檔資料,該電子簽章包括一影片,該影片包括具有多幀相關於一簽署者與該簽署者的一簽名軌跡資料的影像,及多個數位浮水印,每一數位浮水印具有一驗證碼。The storage unit stores a document related to a document and including an electronic signature. The electronic signature includes a movie including a plurality of frames of images related to a signer and the signature track data of the signer. And multiple digital watermarks, each digital watermark has a verification code.

該處理單元判定是否可從該影片獲得一目標數位浮水印,當該處理單元判定出可從該影片獲得該目標數位浮水印時,該處理單元根據該目標數位浮水印獲得該驗證碼,並根據該文檔資料及該數學函數,獲得一相關於該文檔資料的驗證用訊息摘要,再判定所獲得的該驗證碼與該驗證用訊息摘要是否相同,當該處理單元判定出該驗證碼與該驗證用訊息摘要相同時,該處理單元產生指示出該電子簽章有效的電子簽章有效訊息。The processing unit determines whether a target digital watermark can be obtained from the movie. When the processing unit determines that the target digital watermark can be obtained from the movie, the processing unit obtains the verification code according to the target digital watermark, and according to The document material and the mathematical function obtain a verification message summary related to the document material, and then determine whether the verification code obtained is the same as the verification message summary, and when the processing unit determines that the verification code and the verification When the message digest is the same, the processing unit generates an electronic signature valid message indicating that the electronic signature is valid.

本發明之功效在於:在產生電子簽章時,獲得相關於該文檔資料的該簽章訊息摘要,再將包括該簽章訊息摘要的該數位浮水印加入獲得該簽章訊息摘要後所接收到的該等影像,並在驗證電子簽章時,以電子簽章的目標數位浮水印驗證電子簽章是否有效,藉此,強化電子簽章的該等影像與該文檔資料之唯一性綁定關係,以提高電子簽章的不可否認性。The function of the present invention is: when generating an electronic signature, obtain the signature message summary related to the document information, and then add the digital watermark including the signature message summary to the digital watermark received after the signature message summary is received. And verify the validity of the electronic signature with the target digital watermark of the electronic signature when verifying the electronic signature, thereby strengthening the unique binding relationship between the images of the electronic signature and the document. To improve the non-repudiation of electronic signatures.

參閱圖1,本發明簽章電子裝置100的一第一實施例包含一拍攝單元11、一輸入單元12,及一簽章處理單元14。該簽章電子裝置100用以產生一電子簽章。Referring to FIG. 1, a first embodiment of a signature electronic device 100 according to the present invention includes a photographing unit 11, an input unit 12, and a signature processing unit 14. The signature electronic device 100 is used to generate an electronic signature.

該拍攝單元11用以在一拍攝期間拍攝一在簽署一文檔資料的簽署者,以產生一包括多幀影像的影片,該文檔資料相關於一文檔90,且包括一相關於該文檔90的文檔摘要(如圖2)。The shooting unit 11 is used to shoot a signer who is signing a document during a shooting period to generate a movie including multiple frames of images. The document is related to a document 90 and includes a document related to the document 90. Abstract (see Figure 2).

該輸入單元12用以於該拍攝期間內產生並傳送多筆相關於該簽署者之簽署軌跡的軌跡訊息,每一軌跡訊息包括一相關於該輸入單元的座標位置。The input unit 12 is used for generating and transmitting a plurality of track information related to the signing track of the signer during the shooting period, and each track information includes a coordinate position related to the input unit.

該簽章處理單元14電連接該拍攝單元11及該輸入單元12。The signature processing unit 14 is electrically connected to the photographing unit 11 and the input unit 12.

要特別說明的是,該簽章電子裝置100例如為智慧型平板或智慧型手機,該輸入單元12例如為觸控螢幕。It should be particularly noted that the signature electronic device 100 is, for example, a smart tablet or a smart phone, and the input unit 12 is, for example, a touch screen.

參閱圖1、圖3、圖4、圖5,本發明具有數位浮水印的電子簽章產生方法的一第一實施例,由本發明簽章電子裝置100的該第一實施例來實施,並包含步驟201~204。Referring to FIG. 1, FIG. 3, FIG. 4, and FIG. 5, a first embodiment of a method for generating an electronic signature with a digital watermark according to the present invention is implemented by the first embodiment of the electronic device 100 for signature and signature of the present invention, and includes Steps 201 to 204.

在步驟201中,在該拍攝單元11的該拍攝期間內,該簽章處理單元14根據該文檔資料的該文檔摘要及一數學函數獲得一相關於該文檔資料的該文檔摘要的簽章訊息摘要(message digest)。值得注意的是,在本實施例中,該文檔資料例如為pdf或doc等格式的電子文件,該數學函數例如為雜湊函數(hash function),即該簽章處理單元14將該文檔摘要做雜湊函數運算以獲得該簽章訊息摘要,但不以此限。In step 201, during the shooting period of the photographing unit 11, the signature processing unit 14 obtains a signature message summary related to the document summary of the document according to the document summary of the document and a mathematical function. (message digest). It is worth noting that, in this embodiment, the document material is, for example, an electronic file in a format such as pdf or doc, and the mathematical function is, for example, a hash function, that is, the signature processing unit 14 hashes the document digest. Function operation to obtain the signature message summary, but not limited to this.

在步驟202中,在該拍攝單元11的該拍攝期間內,對於每一在獲得該簽章訊息摘要後所接收到的影像,在該簽章處理單元14自該拍攝單元11接收到該影像後,該簽章處理單元14根據接收到該影像的影像接收時間前所接收到的所有軌跡訊息產生一簽名軌跡資料92,並將該簽名軌跡資料92加入至該影像中,亦即在該拍攝單元11拍攝該簽署者93的同時,該簽署者93利用該輸入單元12簽署,使得該簽章處理單元14產生具有該簽名軌跡資料92的該影像。在本實施例中,該簽名軌跡資料92例如為一簽名軌跡圖。In step 202, during the shooting period of the shooting unit 11, for each image received after obtaining the signature message summary, after the signature processing unit 14 receives the image from the shooting unit 11, , The signature processing unit 14 generates a signature track data 92 according to all track information received before the image receiving time of the received image, and adds the signature track data 92 to the image, that is, in the shooting unit 11 While shooting the signer 93, the signer 93 uses the input unit 12 to sign, so that the signature processing unit 14 generates the image with the signature track data 92. In this embodiment, the signature track data 92 is, for example, a signature track map.

在步驟203中,在該拍攝單元11的該拍攝期間內,當該簽章處理單元14獲得該簽章訊息摘要時,該簽章處理單元14將一包括該簽章訊息摘要的數位浮水印91加入該影片94中。值得注意的是,在本實施例中,該簽章處理單元14係將該數位浮水印91週期性地加入該影片94中,在其他實施例中,該簽章處理單元14亦可以隨機方式將該數位浮水印91加入該影片94中,不以此為限。In step 203, during the shooting period of the shooting unit 11, when the signature processing unit 14 obtains the signature message summary, the signature processing unit 14 adds a digital watermark 91 including the signature message summary. Joined the movie 94. It is worth noting that, in this embodiment, the signature processing unit 14 periodically adds the digital watermark 91 to the film 94. In other embodiments, the signature processing unit 14 can also randomly add The digital watermark 91 is added to the film 94, but is not limited thereto.

值得注意的是,在本實施例中,該數位浮水印91為可見的數位浮水印,該簽章處理單元14係將可見的且包括該簽章訊息摘要的文字加入該等影像。It is worth noting that, in this embodiment, the digital watermark 91 is a visible digital watermark, and the signature processing unit 14 adds text that is visible and includes a summary of the signature message to the images.

要再注意的是,在本實施例中,步驟203是在步驟202之後,在其他實施例中,步驟203可在步驟202之前。It should be noted again that, in this embodiment, step 203 is after step 202. In other embodiments, step 203 may be before step 202.

在步驟204中,該簽章處理單元14產生包括經步驟202、步驟203之處理的該影片94的電子簽章95,並將該電子簽章95及該簽名軌跡資料92加入該文檔資料。In step 204, the signature processing unit 14 generates an electronic signature 95 including the film 94 processed in steps 202 and 203, and adds the electronic signature 95 and the signature track data 92 to the document data.

上述本發明具有數位浮水印的電子簽章產生方法的該第一實施例,該簽章處理單元14在獲得相關於該文檔資料的該文檔摘要的該簽章訊息摘要後,以文字方式加入可見的該數位浮水印91至該影片94,以產生該電子簽章,藉此,強化該電子簽章的該等影像與該文檔資料之唯一性綁定關係,並提高該電子簽章的不可否認性。In the first embodiment of the method for generating an electronic signature with a digital watermark according to the present invention, the signature processing unit 14 adds the visible signature information abstract of the document summary related to the document material, and then adds a visible text The digital watermark 91 to the film 94 to generate the electronic signature, thereby strengthening the unique binding relationship between the images of the electronic signature and the document and improving the undeniable of the electronic signature Sex.

參閱圖6,本發明簽章電子裝置100的一第二實施例類似於本發明簽章電子裝置100的該第一實施例,其不同之處僅在於:該第二實施例還包含一通訊單元13,該通訊單元13經由一通訊網路5連接一時戳伺服器(TimeStamp Server)6。Referring to FIG. 6, a second embodiment of the electronic signature device 100 of the present invention is similar to the first embodiment of the electronic signature device 100 of the present invention, except that the second embodiment further includes a communication unit. 13. The communication unit 13 is connected to a time stamp server 6 via a communication network 5.

參閱圖6及圖7,本發明具有數位浮水印的電子簽章產生方法的一第二實施例,由本發明簽章電子裝置100的該第二實施例來實施,並包含步驟401~405。Referring to FIG. 6 and FIG. 7, a second embodiment of a method for generating an electronic signature with a digital watermark according to the present invention is implemented by the second embodiment of the electronic signature device 100 according to the present invention, and includes steps 401 to 405.

在步驟401中,在該拍攝單元11的該拍攝期間內,該簽章處理單元14根據該文檔資料的該文檔摘要及一數學函數獲得一相關於該文檔資料的該文檔摘要的文檔訊息摘要。In step 401, during the shooting period of the shooting unit 11, the signature processing unit 14 obtains a document message digest related to the document summary of the document according to the document summary of the document and a mathematical function.

在步驟402中,在該拍攝單元11的該拍攝期間內,該簽章處理單元14根據一當前時間、該文檔訊息摘要,及該數學函數,獲得一相關於該當前時間及該文檔訊息摘要的簽章訊息摘要。In step 402, during the photographing period of the photographing unit 11, the signature processing unit 14 obtains an information related to the current time and the document message summary according to a current time, the document message summary, and the mathematical function. A summary of the signature message.

值得注意的是,在本實施例中,該簽章處理單元14是藉由該時戳伺服器6獲得該簽章訊息摘要,該簽章處理單元14經由該通訊單元13將該文檔訊息摘要經由該通訊網路5傳送至該時戳伺服器6,以致於該時戳伺服器6根據該當前時間、該文檔訊息摘要,及該數學函數,產生該簽章訊息摘要,並以一私鑰加密該簽章訊息摘要後經由該通訊單元13傳送至該簽章處理單元14。It is worth noting that, in this embodiment, the signature processing unit 14 obtains the signature message summary through the time stamp server 6, and the signature processing unit 14 passes the document message summary through the communication unit 13 via The communication network 5 transmits to the time stamp server 6, so that the time stamp server 6 generates the signature message digest based on the current time, the document message digest, and the mathematical function, and encrypts the signature with a private key. The signature message digest is transmitted to the signature processing unit 14 via the communication unit 13.

在其他實施方式中,該時戳伺服器6亦可不加密該簽章訊息摘要便直接經由該通訊單元13傳送該簽章訊息摘要至該簽章處理單元14,或是該簽章處理單元14直接根據該當前時間、該文檔訊息摘要,及該數學函數,產生該簽章訊息摘要,不以此限。In other embodiments, the time stamp server 6 may directly transmit the signature message digest to the signature processing unit 14 through the communication unit 13 without encrypting the signature message digest, or the signature processing unit 14 directly. The signature message summary is generated according to the current time, the document message summary, and the mathematical function, without limitation.

要再注意的是,在本實施例中,該簽章處理單元14是根據該當前時間、該文檔訊息摘要,及該數學函數,獲得該簽章訊息摘要,在其他實施方式中,該簽章處理單元14亦可根據該當前時間、該文檔資料的一文檔編號、一相關於該簽章電子裝置100的裝置識別碼,及一相關於該簽章電子裝置100的網際網路協定位址之其中至少一者、該文檔訊息摘要,及該數學函數,獲得該簽章訊息摘要,但不以此限。It should be noted again that in this embodiment, the signature processing unit 14 obtains the signature message summary based on the current time, the document message summary, and the mathematical function. In other embodiments, the signature seal The processing unit 14 may also be based on the current time, a document number of the document, a device identification code related to the electronic signature device 100, and an Internet Protocol address related to the electronic signature device 100. At least one of them, the document message summary, and the mathematical function can obtain the signature message summary, but not limited to this.

在步驟403中,在該拍攝單元11的該拍攝期間內,對於每一在獲得該簽章訊息摘要後所接收到的影像,在該簽章處理單元14自該拍攝單元11接收到該影像後,該簽章處理單元14根據接收到該影像的影像接收時間前所接收到的所有軌跡訊息產生一簽名軌跡資料,並將該簽名軌跡資料加入至該影像中。In step 403, during the shooting period of the shooting unit 11, for each image received after obtaining the signature message summary, after the signature processing unit 14 receives the image from the shooting unit 11, The signature processing unit 14 generates a signature track data according to all the track information received before the image receiving time of the received image, and adds the signature track data to the image.

在步驟404中,在該拍攝單元11的該拍攝期間內,當該簽章處理單元14獲得該簽章訊息摘要時,該簽章處理單元14將一包括該簽章訊息摘要的數位浮水印加入該影片中。In step 404, during the shooting period of the photographing unit 11, when the signature processing unit 14 obtains the signature message digest, the signature processing unit 14 adds a digital watermark including the signature message digest. In the movie.

值得注意的是,在本實施例中,該數位浮水印為不可見的數位音訊浮水印,該簽章處理單元14將該簽章訊息摘要轉換成一(二進位編碼)以作為該數位浮水印,並對於每一影像,隨機選取該影像的多個目標像素,且將該二進位編碼的每一位元,依序取代該等目標像素的部分位元,以將該數位浮水印加入至該影片中。舉例來說,該拍攝單元11所產生的影像為RGB全彩影像,即紅綠藍3種顏色各佔8位元,當該二進位編碼為8位元時,例如10000001,該簽章處理單元14將隨機取3個目標像素,該等目標像素例如為R:00100110 G:11101001 B:11001000的第一目標像素,R:00100110 G:11001001 B:11101001的第二目標像素,及R:11001000 G:00100111 B:11101001的第三目標像素,該簽章處理單元14將該二進位編碼的每一位元,依序取代該等目標像素的最後一位元(不包含第三像素的藍色),使得該第一像素變為R:00100111 G:11101000 B:11001000 ,該第二像素變為R:00100110 G:11001000 B:11101000 ,該第三像素變為R:11001000 G:00100111 B:11101001。值得注意的是,在其他不可見的數位音訊浮水印的實施方式中,該拍攝單元11用以產生的該影片還包括一影片音訊,該簽章處理單元14亦可將該簽章訊息摘要轉換成該數位音訊浮水印以作為該數位浮水印,並將該數位浮水印疊加至該影片音訊,以將該數位浮水印加入至該影片中,轉換成該數位浮水印及加入該數位浮水印的方式例如為將該簽章訊息摘要編碼成一位元串,再將該位元串嵌入該影片音訊,但不以此為限。It is worth noting that, in this embodiment, the digital watermark is an invisible digital audio watermark, and the signature processing unit 14 converts the signature message digest into one (binary code) as the digital watermark. For each image, a plurality of target pixels of the image are randomly selected, and each bit of the binary encoding sequentially replaces some bits of the target pixels to add the digital watermark to the video. in. For example, the image generated by the shooting unit 11 is an RGB full-color image, that is, three colors of red, green, and blue each occupy 8 bits. When the binary encoding is 8 bits, for example, 10000001, the signature processing unit 14 will randomly take 3 target pixels, such as R: 00100110 G: 11101001 B: 11001000 first target pixel, R: 00100110 G: 11001001 B: 11101001 second target pixel, and R: 11001000 G : 00100111 B: the third target pixel of 11101001, the signature processing unit 14 sequentially replaces each bit of the binary code in order to replace the last bit of the target pixels (excluding the blue of the third pixel) So that the first pixel becomes R: 0010011 1 G: 1110100 0 B: 1100100 0 , the second pixel becomes R: 0010011 0 G: 1100100 0 B: 1110100 0 and the third pixel becomes R: 1100100 0 G: 0010011 1 B: 11101001. It is worth noting that in other invisible digital audio watermark implementations, the film used by the shooting unit 11 also includes a video audio, and the signature processing unit 14 can also convert the signature message summary. Forming the digital audio watermark as the digital watermark, superimposing the digital watermark on the video audio, adding the digital watermark to the video, converting the digital watermark and adding the digital watermark For example, the signature message digest is encoded into a bit string, and then the bit string is embedded in the video audio, but not limited to this.

要再注意的是,在本實施例中,步驟404是在步驟403之後,在其他實施例中,步驟404可在步驟403之前。It should be noted again that, in this embodiment, step 404 is after step 403. In other embodiments, step 404 may be before step 403.

在步驟405中,該簽章處理單元14產生包括每一影像之該等目標像素的位置資訊、相關於該等目標像素的部分位元組合成該二進位編碼的組合順序資訊,及經步驟403、步驟404之處理的該影片的電子簽章,並將該電子簽章及該簽名軌跡資料加入該文檔資料。In step 405, the signature processing unit 14 generates position information including the target pixels of each image, a combination of partial bits related to the target pixels into the combined sequence information of the binary code, and step 403. In step 404, the electronic signature of the film is processed, and the electronic signature and the signature track data are added to the document data.

上述本發明具有數位浮水印的電子簽章產生方法的該第二實施例,該簽章處理單元14在獲得相關於該文檔資料的該文檔摘要的該文檔訊息摘要後,經由該通訊單元13將該文檔訊息摘要傳送至該時戳伺服器6,該時戳伺服器6根據該當前時間、該文檔訊息摘要,及該數學函數,產生並傳送該簽章訊息摘要至該簽章處理單元14,並在該簽章處理單元14將該簽章訊息摘要以取代該影片的改等目標像素的部分位元的方式加入不可見的該數位浮水印,以產生該電子簽章,藉此,強化電子簽章的該等影像與該文檔資料之唯一性綁定關係,並提高該電子簽章的不可否認性。In the second embodiment of the above-mentioned method for generating an electronic signature with a digital watermark according to the present invention, the signature processing unit 14 obtains the document message digest of the document abstract related to the document material, and then transmits the document signature via the communication unit 13 The document message digest is transmitted to the time stamp server 6, and the time stamp server 6 generates and transmits the signature message digest to the signature processing unit 14 according to the current time, the document message digest, and the mathematical function, And add the invisible digital watermark to the signature processing unit 14 in order to replace the part of the target pixel of the movie with the abstract of the signature message to generate the electronic signature, thereby strengthening the electronic signature The unique binding relationship between the images of the signature and the document, and the non-repudiation of the electronic signature.

參閱圖8,本發明驗證電子裝置300的一第一實施例包含一儲存單元31及一電連接該儲存單元31的驗證處理單元32。該驗證電子裝置300用以驗證一待驗證電子簽章。Referring to FIG. 8, a first embodiment of a verification electronic device 300 of the present invention includes a storage unit 31 and a verification processing unit 32 electrically connected to the storage unit 31. The verification electronic device 300 is used to verify an electronic signature to be verified.

該儲存單元31儲存該待驗證電子簽章、一相關於一文檔的文檔資料、一計數值,及一門檻值,該文檔資料包括一相關於該文檔的文檔摘要。該待驗證電子簽章包括一影片,該影片具有多幀相關於一簽署者與該簽署者的一簽名軌跡資料且各別地具有一數位浮水印的第一影像,及多幀相關於該簽署者與該簽署者的該簽名軌跡資料且不具有該數位浮水印的第二影像,每一數位浮水印具有一驗證碼。值得注意的是,在本實施例中,該文檔資料例如為pdf或doc等格式的電子文件,該數學函數例如為雜湊函數,不以此限。The storage unit 31 stores the electronic signature to be verified, a document related to a document, a count value, and a threshold value, and the document includes a document summary related to the document. The electronic signature to be verified includes a film, the film having a plurality of frames of a first image related to a signing track data of a signer and the signer, each having a digital watermark, and a plurality of frames related to the signature And the second image of the signature track data of the signer and the signer without the digital watermark, each digital watermark has a verification code. It is worth noting that, in this embodiment, the document data is, for example, an electronic file in a format such as pdf or doc, and the mathematical function is, for example, a hash function, but not limited thereto.

參閱圖8及圖9,本發明具有數位浮水印的電子簽章驗證方法的一第一實施例,由本發明驗證電子裝置300的該第一實施例來實施,並包含步驟501~510。Referring to FIG. 8 and FIG. 9, a first embodiment of an electronic signature verification method with a digital watermark according to the present invention is implemented by the first embodiment of the verification electronic device 300 of the present invention, and includes steps 501-510.

在步驟501中,該驗證處理單元32自該儲存單元31所儲存的該影片的該等影像隨機選取多幀目標影像。In step 501, the verification processing unit 32 randomly selects multiple frames of target images from the images of the movie stored in the storage unit 31.

在步驟502中,該驗證處理單元32判定是否可從該影片的該等目標影像獲得至少二待比對數位浮水印。當該驗證處理單元32判定出不可從該影片的該等目標影像獲得至少二待比對數位浮水印時,進行步驟503;而當該驗證處理單元32判定出可從該影片的該等目標影像獲得至少二待比對數位浮水印時,進行步驟506。In step 502, the verification processing unit 32 determines whether at least two digital watermarks to be compared can be obtained from the target images of the film. When the verification processing unit 32 determines that at least two digital watermarks to be compared cannot be obtained from the target images of the film, step 503 is performed; and when the verification processing unit 32 determines that the target images of the film can be obtained When at least two digital watermarks to be compared are obtained, step 506 is performed.

在步驟503中,該驗證處理單元32判定該計數值是否大於該門檻值。當該驗證處理單元32判定出該計數值不大於該門檻值時,進行步驟504;而當該驗證處理單元32判定出該計數值大於該門檻值時,進行步驟505。In step 503, the verification processing unit 32 determines whether the count value is greater than the threshold value. When the verification processing unit 32 determines that the count value is not greater than the threshold value, proceed to step 504; and when the verification processing unit 32 determines that the count value is greater than the threshold value, proceed to step 505.

在步驟504中,該驗證處理單元32將該計數值加一,並重複步驟501,以隨機選取其他的目標影像。In step 504, the verification processing unit 32 adds one to the count value, and repeats step 501 to randomly select other target images.

在步驟505中,該驗證處理單元32產生一指示出該待驗證電子簽章無效的電子簽章無效訊息。In step 505, the verification processing unit 32 generates an electronic signature invalid message indicating that the electronic signature to be verified is invalid.

在步驟506中,該驗證處理單元32判定該至少二待比對數位浮水印是否皆相同,以判定是否可從該影片的該等目標影像獲得一目標數位浮水印,當該驗證處理單元32判定出該至少二待比對數位浮水印皆相同時,即判定可從該影片的該等目標影像獲得該目標數位浮水印,該驗證處理單元32將該影片的該等目標影像的數位浮水印作為該目標數位浮水印,並進行步驟507;而當該驗證處理單元32判定出該至少二待比對數位浮水印不完全相同時,即判定不可從該影片的該等目標影像獲得該目標數位浮水印,並進行步驟503。In step 506, the verification processing unit 32 determines whether the at least two comparative digital watermarks to be compared are all the same to determine whether a target digital watermark can be obtained from the target images of the film. When the verification processing unit 32 determines When the at least two comparison digital watermarks are the same, it is determined that the target digital watermark can be obtained from the target images of the movie, and the verification processing unit 32 uses the digital watermarks of the target images of the movie as The target digital watermark, and proceed to step 507; and when the verification processing unit 32 determines that the at least two digital watermarks to be compared are not identical, it determines that the target digital watermark cannot be obtained from the target images of the movie Watermark, and proceed to step 503.

要特別注意的是,在其他實施方式中,在步驟502中,該驗證處理單元32可判定是否可從該影片的該等目標影像獲得一待比對數位浮水印,當該驗證處理單元32判定出可從該影片的該等目標影像獲得該待比對數位浮水印時,即將該待比對數位浮水印作為該目標數位浮水印,並進行步驟507;而當該驗證處理單元32判定出不可從該影片的該等目標影像獲得該待比對數位浮水印時,進行步驟503。It should be particularly noted that, in other embodiments, in step 502, the verification processing unit 32 may determine whether a digital watermark to be compared can be obtained from the target images of the movie. When the verification processing unit 32 determines When the target digital watermark can be obtained from the target images of the movie, the target digital watermark is used as the target digital watermark, and step 507 is performed; and when the verification processing unit 32 determines that the When the digital watermark to be compared is obtained from the target images of the film, step 503 is performed.

在步驟507中,該驗證處理單元32根據該目標數位浮水印獲得該驗證碼。In step 507, the verification processing unit 32 obtains the verification code according to the target digital watermark.

值得注意的是,在本實施例中,該目標數位浮水印為可見的數位浮水印,即每一第一影像的數位浮水印為一具有該文檔訊息摘要的文字,該驗證處理單元32係利用一字元辨識(character recognition)技術根據該目標數位浮水印獲得該驗證碼,但不以此限。It is worth noting that, in this embodiment, the target digital watermark is a visible digital watermark, that is, the digital watermark of each first image is a text with a summary of the document message, and the verification processing unit 32 uses Character recognition technology obtains the verification code according to the target digital watermark, but is not limited to this.

在其他該目標數位浮水印為不可見的數位浮水印的實施方式中,該儲存單元31還儲存相關於每一第一影像的多個目標像素的位置資訊及相關於該等目標像素的部分位元的組合順序資訊,在步驟507中,該驗證處理單元32根據具有該目標數位浮水印的目標影像及所對應的該位置資訊獲得該目標影像的目標像素,並具有該目標數位浮水印的目標影像及所對應的該組合順序資訊,組合該目標像素中的部分位元,以獲得該驗證碼。In other embodiments in which the target digital watermark is an invisible digital watermark, the storage unit 31 further stores position information of a plurality of target pixels related to each first image and a part of bits related to the target pixels. The combination order information of the element, in step 507, the verification processing unit 32 obtains the target pixel of the target image according to the target image having the target digital watermark and the corresponding position information, and the target having the target digital watermark The image and the corresponding combination sequence information are combined with some bits in the target pixel to obtain the verification code.

在步驟508中,該驗證處理單元32根據該文檔資料的該文檔摘要及該數學函數,獲得一相關於該文檔資料的該文檔摘要的驗證用訊息摘要。In step 508, the verification processing unit 32 obtains a verification message digest related to the document summary of the document according to the document summary and the mathematical function of the document.

在步驟509中,該驗證處理單元32判定所獲得的該驗證碼與該驗證用訊息摘要是否相同。當該驗證處理單元32判定出該驗證碼與該驗證用訊息摘要不相同時,進行步驟505;而當該驗證處理單元32判定出該驗證碼與該驗證用訊息摘要相同時,進行步驟510。In step 509, the verification processing unit 32 determines whether the obtained verification code is the same as the message digest for verification. When the verification processing unit 32 determines that the verification code is different from the verification message digest, step 505 is performed; and when the verification processing unit 32 determines that the verification code is the same as the verification message digest, step 510 is performed.

在步驟510中,該驗證處理單元32產生指示出該待驗證電子簽章有效的電子簽章有效訊息。In step 510, the verification processing unit 32 generates an electronic signature validity message indicating that the electronic signature to be verified is valid.

再搭配參閱圖3,舉例來說,經步驟501~507獲得該影片的該數位浮水印91的驗證碼(即AB123CD45E),並在步驟508將該文檔摘要做雜湊函數計算,獲得該驗證用訊息摘要後,若該驗證用訊息摘要等於該驗證碼,即該驗證用訊息摘要亦為AB123CD45E,則表示該待驗證電子簽章有效。With reference to FIG. 3, for example, the digital watermark 91 verification code (ie, AB123CD45E) of the movie is obtained through steps 501 to 507, and the document summary is calculated as a hash function in step 508 to obtain the verification message. After the digest, if the verification message digest is equal to the verification code, that is, the verification message digest is also AB123CD45E, it means that the electronic signature to be verified is valid.

上述本發明具有數位浮水印的電子簽章驗證方法的該第一實施例,該驗證處理單元32隨機選取該影片的該等目標影像,並判定是否可從該影片的該等目標影像獲得至少二待比對數位浮水印,再判定所獲得該至少二待比對數位浮水印是否皆相同,以確定所獲得的數位浮水印為正確的,提高數位浮水印驗證的正確率,接著,從該目標數位浮水印獲得該驗證碼,並根據該文檔資料的該文檔摘要及該數學函數,獲得該驗證用訊息摘要,再判定步驟所獲得的該驗證碼與該驗證用訊息摘要是否相同,以驗證該待驗證電子簽章是否有效,藉此,提高電子簽章的不可否認性。In the first embodiment of the electronic signature verification method of the present invention with a digital watermark, the verification processing unit 32 randomly selects the target images of the film and determines whether at least two can be obtained from the target images of the film. After comparing the digital watermarks, it is determined whether the obtained at least two compared digital watermarks are the same, to determine that the obtained digital watermarks are correct, to improve the accuracy of the digital watermark verification, and then, from the target, The digital watermark obtains the verification code, and obtains the verification message digest according to the document abstract and the mathematical function of the document material, and then determines whether the verification code obtained in the step is the same as the verification message digest to verify the verification. The validity of the electronic signature is to be verified, thereby improving the non-repudiation of the electronic signature.

本發明驗證電子裝置300的一第二實施例,類似於本發明驗證電子裝置300的該第一實施例(如圖8),其不同之處僅在於:該儲存單元31所儲存的該待驗證電子簽章還包含一驗證資料,該驗證資料具有一時間,在其他實施例中,該驗證資料可具有該時間、一文檔編號、一裝置識別碼,及一網際網路協定位址之其中至少一者。參閱圖8及圖10,本發明具有數位浮水印的電子簽章驗證方法的一第二實施例類似於該第一實施例,由本發明驗證電子裝置300的該第二實施例來實施,並包含步驟601~611,其中步驟601~607、611分別相同於步驟501~507、509(如圖9),以下說明其不同之處。A second embodiment of the verification electronic device 300 of the present invention is similar to the first embodiment of the verification electronic device 300 of the present invention (as shown in FIG. 8). The only difference is that the to-be-verified stored in the storage unit 31 is The electronic signature also includes a verification data, which has a time. In other embodiments, the verification data may have at least one of the time, a document number, a device identification code, and an Internet Protocol address. One. Referring to FIG. 8 and FIG. 10, a second embodiment of an electronic signature verification method with a digital watermark according to the present invention is similar to the first embodiment, and is implemented by the second embodiment of the verification electronic device 300 of the present invention, and includes Steps 601 to 611, where steps 601 to 607 and 611 are respectively the same as steps 501 to 507 and 509 (see FIG. 9), and the differences are described below.

在步驟608中,該驗證處理單元32根據該文檔資料的該文檔摘要及該數學函數,獲得一相關於該文檔資料的文檔訊息摘要。In step 608, the verification processing unit 32 obtains a document message digest related to the document material according to the document abstract and the mathematical function of the document material.

在步驟609中,該驗證處理單元32根據該驗證資料的該時間、該文檔訊息摘要,及該數學函數,獲得一相關於該時間及該文檔訊息摘要的驗證用訊息摘要。值得注意的是,在其他該驗證資料具有該時間、該文檔編號、該裝置識別碼,及該網際網路協定位址之其中至少一者的實施例中,該驗證處理單元32係根據該驗證資料的該至少一者、該文檔訊息摘要,及該數學函數,獲得該驗證用訊息摘要。In step 609, the verification processing unit 32 obtains a verification message digest related to the time and the document message summary according to the time of the verification information, the document message summary, and the mathematical function. It is worth noting that in other embodiments in which the verification data has at least one of the time, the document number, the device identification code, and the Internet Protocol address, the verification processing unit 32 is based on the verification The at least one of the data, the document message digest, and the mathematical function obtain the message digest for verification.

在步驟610中,該驗證處理單元32判定所獲得的該驗證碼與該驗證用訊息摘要是否相同。當該驗證處理單元32判定出該驗證碼與該驗證用訊息摘要不相同時,進行步驟605;而當該驗證處理單元32判定出該驗證碼與該驗證用訊息摘要相同時,進行步驟611。In step 610, the verification processing unit 32 determines whether the obtained verification code is the same as the message digest for verification. When the verification processing unit 32 determines that the verification code is different from the verification message digest, step 605 is performed; and when the verification processing unit 32 determines that the verification code is the same as the verification message digest, step 611 is performed.

上述本發明具有數位浮水印的電子簽章驗證方法的該第二實施例,將該數位浮水印轉換成該驗證碼,並根據該文檔資料的該文檔摘要及該數學函數,獲得該文檔訊息摘要,再根據該驗證資料的該時間、該文檔訊息摘要,及該數學函數,獲得該驗證用訊息摘要,然後判定步驟所獲得的該驗證碼與該驗證用訊息摘要是否相同,以驗證該待驗證電子簽章是否有效,藉此,提高電子簽章的不可否認性。In the second embodiment of the electronic signature verification method of the present invention with a digital watermark, the digital watermark is converted into the verification code, and the document message summary is obtained according to the document abstract and the mathematical function of the document. , And then obtain the verification message summary based on the time of the verification data, the document message summary, and the mathematical function, and then determine whether the verification code obtained in the step is the same as the verification message summary to verify the pending verification Whether the electronic signature is effective, thereby improving the non-repudiation of the electronic signature.

本發明驗證電子裝置300的一第三實施例,類似於本發明驗證電子裝置300的該第二實施例(如圖8),其不同之處僅在於:該儲存單元31所儲存的該待驗證電子簽章包括的該影片還具有一音訊,該音訊有一影片音訊及一音訊浮水印,該音訊浮水印包括一驗證碼。A third embodiment of the verification electronic device 300 according to the present invention is similar to the second embodiment of the verification electronic device 300 according to the present invention (see FIG. 8), except that the difference is that the to-be-verified stored in the storage unit 31 The electronic signature includes that the video also has an audio, the audio has a video audio and an audio watermark, and the audio watermark includes a verification code.

參閱圖8及圖11,本發明具有數位浮水印的電子簽章驗證方法的一第三實施例,類似於該第二實施例,由本發明驗證電子裝置300的該第三實施例來實施,並包含步驟801~807,其中步驟802、804、805、807分別相同於步驟605、608、609、611(如圖10),以下說明其不同之處。Referring to FIG. 8 and FIG. 11, a third embodiment of an electronic signature verification method with a digital watermark according to the present invention is similar to the second embodiment, and is implemented by the third embodiment of the verification electronic device 300 of the present invention, and It includes steps 801 to 807, where steps 802, 804, 805, and 807 are respectively the same as steps 605, 608, 609, and 611 (see FIG. 10). The differences are described below.

在步驟801中,該驗證處理單元32判定是否能從該影片的該音訊分離出該音訊浮水印,即判定是否可從該影片獲得一目標數位浮水印。當該驗證處理單元32判定出不能從該影片的該音訊分離出該音訊浮水印時,即判定不可從該影片獲得該目標數位浮水印時,進行步驟802;而當該驗證處理單元32判定出能從該影片的該音訊分離出該音訊浮水印時,即判定可從該影片獲得該目標數位浮水印時,進行步驟803。In step 801, the verification processing unit 32 determines whether the audio watermark can be separated from the audio of the movie, that is, determines whether a target digital watermark can be obtained from the movie. When the verification processing unit 32 determines that the audio watermark cannot be separated from the audio of the movie, that is, when it is determined that the target digital watermark cannot be obtained from the movie, step 802 is performed; and when the verification processing unit 32 determines that When the audio watermark can be separated from the audio of the movie, that is, when it is determined that the target digital watermark can be obtained from the movie, step 803 is performed.

在步驟803中,該驗證處理單元32從該影片的該音訊分離出該音訊浮水印,以作為該目標數位浮水印,並將該目標數位浮水印轉換成該驗證碼。In step 803, the verification processing unit 32 separates the audio watermark from the audio of the movie as the target digital watermark, and converts the target digital watermark into the verification code.

在步驟806中,該驗證處理單元32判定所獲得的該驗證碼與該驗證用訊息摘要是否相同。當該驗證處理單元32判定出該驗證碼與該驗證用訊息摘要不相同時,進行步驟802;而當該驗證處理單元32判定出該驗證碼與該驗證用訊息摘要相同時,進行步驟807。In step 806, the verification processing unit 32 determines whether the obtained verification code is the same as the message digest for verification. When the verification processing unit 32 determines that the verification code is different from the verification message digest, step 802 is performed; and when the verification processing unit 32 determines that the verification code is the same as the verification message digest, step 807 is performed.

上述本發明具有數位浮水印的電子簽章驗證方法的該第一實施例,該驗證處理單元32從該影片的該音訊分離出該音訊浮水印,並將該音訊浮水印轉換成該驗證碼,並根據該文檔資料的該文檔摘要及該數學函數,獲得該文檔訊息摘要,再根據該驗證資料的該時間、該文檔訊息摘要,及該數學函數,獲得該驗證用訊息摘要,然後判定步驟所獲得的該驗證碼與該驗證用訊息摘要是否相同,以驗證該待驗證電子簽章是否有效,藉此,提高電子簽章的不可否認性。In the first embodiment of the electronic signature verification method of the present invention with a digital watermark, the verification processing unit 32 separates the audio watermark from the audio of the film, and converts the audio watermark into the verification code. The document message summary is obtained according to the document summary and the mathematical function of the document information, and then the verification message summary is obtained according to the time of the verification information, the document message summary, and the mathematical function, and then the step is determined. Whether the obtained verification code is the same as the message digest for verification to verify whether the electronic signature to be verified is valid, thereby improving the non-repudiation of the electronic signature.

綜上所述,本發明具有數位浮水印的電子簽章產生及驗證方法及電子裝置,在產生電子簽章時,該簽章處理單元14獲得相關於該文檔資料的該驗證碼,再將包括該簽章訊息摘要的該數位浮水印加入獲得該簽章訊息摘要後所接收到的該影片,以產生該電子簽章,並在驗證電子簽章時,該驗證處理單元32以該待驗證電子簽章的數位浮水印驗證該待驗證電子簽章是否有效,藉此,強化電子簽章的該等影像與該文檔資料之唯一性綁定關係,以提高電子簽章的不可否認性,故確實能達成本發明的目的。To sum up, the method and device for generating and verifying an electronic signature with a digital watermark according to the present invention. When generating an electronic signature, the signature processing unit 14 obtains the verification code related to the document data, and then includes the verification code. The digital watermark of the signature message digest is added to the video received after obtaining the signature message digest to generate the electronic signature, and when verifying the electronic signature, the verification processing unit 32 uses the to-be-verified electronic The digital watermark of the signature verifies whether the electronic signature to be verified is valid, thereby strengthening the unique binding relationship between the images of the electronic signature and the document, so as to improve the non-repudiation of the electronic signature. Can achieve the purpose of the invention.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above are only examples of the present invention. When the scope of implementation of the present invention cannot be limited by this, any simple equivalent changes and modifications made according to the scope of the patent application and the contents of the patent specification of the present invention are still Within the scope of the invention patent.

100‧‧‧簽章電子裝置100‧‧‧Signed electronic device

91‧‧‧數位浮水印91‧‧‧digital watermark

11‧‧‧拍攝單元11‧‧‧ shooting unit

92‧‧‧簽名軌跡資料92‧‧‧Signed track data

12‧‧‧輸入單元12‧‧‧ input unit

93‧‧‧簽署者93‧‧‧ signatories

13‧‧‧通訊單元13‧‧‧Communication Unit

94‧‧‧影片94‧‧‧ Video

14‧‧‧簽章處理單元14‧‧‧Signature processing unit

95‧‧‧電子簽章95‧‧‧Electronic signature

300‧‧‧驗證電子裝置300‧‧‧ Verification electronics

201~204‧‧‧步驟201 ~ 204‧‧‧step

31‧‧‧儲存單元31‧‧‧Storage unit

401~405‧‧‧步驟401 ~ 405‧‧‧ steps

32‧‧‧驗證處理單元32‧‧‧ Verification Processing Unit

501~510‧‧‧步驟501 ~ 510‧‧‧step

5‧‧‧通訊網路5‧‧‧Communication Network

601~611‧‧‧步驟601 ~ 611‧‧‧step

6‧‧‧時戳伺服器6‧‧‧time stamp server

801~807‧‧‧步驟801 ~ 807‧‧‧step

90‧‧‧文檔 90‧‧‧Documents

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:  圖1是一方塊圖,說明本發明用以產生一電子簽章的電子裝置的一第一實施例;  圖2是一示意圖,說明該電子裝置的該第一實施例的一文檔資料;  圖3是一示意圖,說明該電子裝置的該第一實施例將一包括該簽章訊息摘要的數位浮水印加入一影片;  圖4是一示意圖,說明該電子裝置的該第一實施例將一電子簽章及一簽名軌跡資料加入該文檔資料;  圖5是一流程圖,說明本發明具有數位浮水印的電子簽章產生方法的一第一實施例;  圖6是一方塊圖,說明本發明用以產生一電子簽章的電子裝置的一第二實施例;  圖7是一流程圖,說明本發明具有數位浮水印的電子簽章產生方法的一第二實施例;  圖8是一方塊圖,說明本發明用以驗證一電子簽章的電子裝置的一第一實施例;  圖9是一流程圖,說明本發明具有數位浮水印的電子簽章驗證方法的一第一實施例;  圖10是一流程圖,說明本發明具有數位浮水印的電子簽章驗證方法的一第二實施例;及  圖11是一流程圖,說明本發明具有數位浮水印的電子簽章驗證方法的一第三實施例。Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: FIG. 1 is a block diagram illustrating a first embodiment of an electronic device for generating an electronic signature of the present invention FIG. 2 is a schematic diagram illustrating a document of the first embodiment of the electronic device; FIG. 3 is a schematic diagram illustrating that the first embodiment of the electronic device will include a digital watermark including a summary of the signature message Add a video; FIG. 4 is a schematic diagram illustrating the first embodiment of the electronic device adding an electronic signature and a signature track data to the document; FIG. 5 is a flowchart illustrating the present invention having a digital watermark A first embodiment of a method for generating an electronic signature; FIG. 6 is a block diagram illustrating a second embodiment of an electronic device for generating an electronic signature according to the present invention; FIG. 7 is a flowchart illustrating that the present invention has A second embodiment of a method for generating an electronic signature of a digital watermark; FIG. 8 is a block diagram illustrating a first embodiment of an electronic device for verifying an electronic signature of the present invention. ; FIG. 9 is a flowchart illustrating a first embodiment of the electronic signature verification method with a digital watermark according to the present invention; FIG. 10 is a flowchart illustrating an electronic signature verification method with a digital watermark according to the present invention; A second embodiment; and FIG. 11 is a flowchart illustrating a third embodiment of the electronic signature verification method with a digital watermark according to the present invention.

Claims (34)

一種具有數位浮水印的電子簽章產生方法,由一處理單元來實施,該處理單元電連接一拍攝單元及一輸入單元,該拍攝單元用以在一拍攝期間拍攝在簽署一文檔資料的一簽署者,以產生一包括多幀影像的影片,該文檔資料相關於一文檔,並傳送該影片至該處理單元,該輸入單元用以於該拍攝期間內,產生並傳送多筆相關於該簽署者之簽署軌跡的軌跡訊息至該處理單元,該方法包含以下步驟: (A)在該拍攝期間內,根據該文檔資料及一數學函數獲得一相關於該文檔資料的簽章訊息摘要; (B)在該拍攝期間內,對於該影片在獲得該簽章訊息摘要後所接收到的每一影像,在接收到該影像後,根據自接收到該影像的影像接收時間前所接收到的所有軌跡訊息產生一簽名軌跡資料,並將該簽名軌跡資料加入至該影像中; (C)在該拍攝期間內,當獲得該簽章訊息摘要時,將一包括該簽章訊息摘要的數位浮水印加入該影片中;及 (D)產生包括經步驟(B)及步驟(C)之處理的該影片的電子簽章,並將該電子簽章加入該文檔資料。A method for generating an electronic signature with a digital watermark is implemented by a processing unit. The processing unit is electrically connected to a photographing unit and an input unit. The photographing unit is used to photograph a signature that is used to sign a document during a photographing period. To generate a movie including multiple frames of images, the document data is related to a document, and the movie is transmitted to the processing unit, and the input unit is used to generate and transmit multiple related to the signatory during the shooting period The track information of the signed track is sent to the processing unit, and the method includes the following steps: (A) during the shooting period, obtaining a summary of the signature message related to the file according to the file and a mathematical function; (B) During the shooting period, for each image received by the movie after obtaining the summary of the signature message, after receiving the image, according to all track information received before the time when the image received the image was received Generate a signature track data and add the signature track data to the image; (C) During the shooting period, when the summary of the signature message is obtained , Adding a digital watermark including the summary of the signature message to the film; and (D) generating an electronic signature including the film processed in steps (B) and (C), and applying the electronic signature Add the documentation. 如請求項1所述的具有數位浮水印的電子簽章產生方法,其中,在步驟(A)中,還根據一當前時間、該文檔資料的一文檔編號、一相關於一包括該處理單元的電子裝置的裝置識別碼,及一相關於該電子裝置的網際網路協定位址之其中至少一者,獲得該簽章訊息摘要,在步驟(D)中,該電子簽章還包括該至少一者。The method for generating an electronic signature with a digital watermark as described in claim 1, wherein, in step (A), the method is further based on a current time, a document number of the document material, and an associated one including the processing unit. A device identification code of the electronic device and at least one of Internet protocol addresses related to the electronic device to obtain the signature message summary. In step (D), the electronic signature further includes the at least one By. 如請求項1所述的具有數位浮水印的電子簽章產生方法,該處理單元還電連接一通訊單元,該通訊單元經由一通訊網路連接一時戳伺服器,其中,在步驟(A)中,經由該通訊單元將該文檔資料傳送至該時戳伺服器,以致於該時戳伺服器根據一當前時間、該文檔資料,及該數學函數,產生並經由該通訊單元傳送該簽章訊息摘要至該處理單元,進而使該處理單元獲得該簽章訊息摘要,在步驟(D)中,該電子簽章還包括該當前時間。According to the method for generating an electronic signature with a digital watermark according to claim 1, the processing unit is further electrically connected to a communication unit, and the communication unit is connected to a time stamp server via a communication network, wherein, in step (A), The document is transmitted to the time stamp server via the communication unit, so that the time stamp server generates and transmits the signature message summary to the communication unit via the communication unit to the current time, the document data, and the mathematical function. The processing unit further enables the processing unit to obtain the signature message summary. In step (D), the electronic signature further includes the current time. 如請求項1所述的具有數位浮水印的電子簽章產生方法,該處理單元還電連接一通訊單元,該通訊單元經由一通訊網路連接一時戳伺服器,其中,步驟(A)包含以下子步驟: (A-1)在拍攝期間內,根據該文檔資料及該數學函數獲得一相關於該文檔資料的文檔訊息摘要;及 (A-2)經由該通訊單元將該文檔訊息摘要傳送至該時戳伺服器,以致於該時戳伺服器根據該當前時間、該文檔訊息摘要,及該數學函數,產生並經由該通訊單元傳送該簽章訊息摘要至該處理單元,進而使該處理單元獲得該簽章訊息摘要; 在步驟(D)中,該電子簽章還包括該當前時間。The method for generating an electronic signature with a digital watermark according to claim 1, the processing unit is also electrically connected to a communication unit, and the communication unit is connected to a time stamp server via a communication network, wherein step (A) includes the following Steps: (A-1) during the shooting period, obtain a document message summary related to the document material according to the document material and the mathematical function; and (A-2) transmit the document message summary to the document unit via the communication unit Timestamp server, so that the timestamp server generates and sends the signature message summary to the processing unit via the communication unit based on the current time, the document message summary, and the mathematical function, so that the processing unit obtains The signature message summary; in step (D), the electronic signature also includes the current time. 如請求項1所述的具有數位浮水印的電子簽章產生方法,其中,在步驟(A)中,該數學函數為一雜湊函數。The method for generating an electronic signature with a digital watermark according to claim 1, wherein, in step (A), the mathematical function is a hash function. 如請求項1所述的具有數位浮水印的電子簽章產生方法,其中,在步驟(C)中,對於該影片在獲得該簽章訊息摘要後所接收到的每一影像,在接收到該影像後,該處理單元係將可見的且包括該簽章訊息摘要的文字作為該數位浮水印加入該影像,以將該數位浮水印加入至該影片中。The method for generating an electronic signature with a digital watermark according to claim 1, wherein, in step (C), for each image received by the movie after obtaining the signature message summary, the image is received. After the image, the processing unit adds the visible text including the signature message summary as the digital watermark to the image to add the digital watermark to the film. 如請求項1所述的具有數位浮水印的電子簽章產生方法,其中,在步驟(C)中,對於該影片在獲得該簽章訊息摘要後所接收到的每一影像,在接收到該影像後,該處理單元將該簽章訊息摘要轉換成一(二進位編碼)以作為該數位浮水印,並對於每一影像,隨機選取該影像的多個目標像素,且將該二進位編碼的每一位元,依序取代該等目標像素的部分位元,以將該數位浮水印加入至該影片中,在步驟(D)中,該電子簽章還包括每一影像之該等目標像素的位置資訊及相關於該等目標像素的部分位元組合成該二進位編碼的組合順序資訊。The method for generating an electronic signature with a digital watermark according to claim 1, wherein, in step (C), for each image received by the movie after obtaining the signature message summary, the image is received. After the image, the processing unit converts the signature message digest into a (binary code) as the digital watermark, and for each image, randomly selects multiple target pixels of the image, and each of the binary coded One bit, sequentially replacing some bits of the target pixels to add the digital watermark to the movie. In step (D), the electronic signature also includes the target pixel of each image. The position information and some bits related to the target pixels are combined into the combined sequence information of the binary code. 如請求項1所述的具有數位浮水印的電子簽章產生方法,該拍攝單元所產生的影片還包括一影片音訊,其中,在步驟(C)中,該處理單元將該簽章訊息摘要轉換成一音訊浮水印以作為該數位浮水印,並將該音訊浮水印疊加至該影片音訊,以將該數位浮水印加入至該影片中。According to the method for generating an electronic signature with a digital watermark according to claim 1, the film generated by the shooting unit further includes a video audio, wherein in step (C), the processing unit converts the signature message digest into a digest An audio watermark is formed as the digital watermark, and the audio watermark is superimposed on the video audio to add the digital watermark to the video. 一種具有數位浮水印的電子簽章驗證方法,由一處理單元來實施,該處理單元電連接一儲存單元,該儲存單元儲存一相關於一文檔且包括一電子簽章的文檔資料,該電子簽章包括一影片,該影片包括具有多幀相關於一簽署者與該簽署者的一簽名軌跡資料的影像,及多個數位浮水印,每一數位浮水印具有一驗證碼,該方法包含以下步驟: (A) 判定是否可從該影片獲得一目標數位浮水印; (B) 當判定出可從該影片獲得該目標數位浮水印時,根據該目標數位浮水印獲得該驗證碼; (C) 根據該文檔資料及該數學函數,獲得一相關於該文檔資料的驗證用訊息摘要; (D) 判定步驟(B)所獲得的該驗證碼與該驗證用訊息摘要是否相同;及 (E) 當判定出該驗證碼與該驗證用訊息摘要相同時,產生指示出該電子簽章有效的電子簽章有效訊息。An electronic signature verification method with a digital watermark is implemented by a processing unit. The processing unit is electrically connected to a storage unit. The storage unit stores a document related to a document and including an electronic signature. The electronic signature The chapter includes a video, which includes multiple frames of images related to a signer and a signature track data of the signer, and a plurality of digital watermarks. Each digital watermark has a verification code. The method includes the following steps: : (A) determine whether a target digital watermark can be obtained from the film; (B) when it is determined that the target digital watermark can be obtained from the film, obtain the verification code based on the target digital watermark; (C) according to The document data and the mathematical function obtain a verification message summary related to the document data; (D) determine whether the verification code obtained in step (B) is the same as the verification message summary; and (E) when it is judged When the verification code is the same as the verification message digest, an electronic signature valid message indicating that the electronic signature is valid is generated. 如請求項9所述的具有數位浮水印的電子簽章驗證方法,該電子簽章還包括一時間、一文檔編號、一裝置識別碼,及一網際網路協定位址之其中至少一者的驗證資料,其中,在步驟(C)中,還根據該驗證資料的獲得該驗證用訊息摘要。The method for verifying an electronic signature with a digital watermark according to claim 9, the electronic signature further comprising a time, a document number, a device identification code, and at least one of an Internet Protocol address The verification data, wherein, in step (C), the verification message digest is also obtained based on the verification data. 請求項10所述的具有數位浮水印的電子簽章驗證方法,步驟(C)包括以下子步驟: (C-1)根據該文檔資料及該數學函數獲得一文檔訊息摘要;及 (C-2)根據該驗證資料、該文檔訊息摘要,及該數學函數獲得該驗證用訊息摘要。The method for verifying an electronic signature with a digital watermark according to claim 10, step (C) includes the following sub-steps: (C-1) obtaining a document message summary according to the document data and the mathematical function; and (C-2 ) Obtain the verification message summary based on the verification information, the document message summary, and the mathematical function. 如請求項9所述的具有數位浮水印的電子簽章驗證方法,該等影像還具有多幀各別地具有一數位浮水印的第一影像及多幀不具有該數位浮水印的第二影像,其中,步驟(A)包括以下子步驟: (A-1)自該影片的該等影像隨機選取多幀目標影像;及 (A-2)判定是否可從該等目標影像獲得該目標數位浮水印,以判定是否可從該影片獲得該目標數位浮水印。According to the electronic signature verification method with a digital watermark as described in claim 9, the images also have a plurality of frames of a first image each having a digital watermark and a plurality of frames of a second image not having the digital watermark. Among them, step (A) includes the following sub-steps: (A-1) randomly selecting multiple frames of the target image from the images of the film; and (A-2) determining whether the target digital float can be obtained from the target images Watermark to determine if the target digital watermark is available from the movie. 如請求項12所述的具有數位浮水印的電子簽章驗證方法,每一第一影像的數位浮水印為一具有該驗證碼的文字,其中,在步驟(B)中,該處理單元係利用一字元辨識技術根據該目標數位浮水印獲得該驗證碼。According to the electronic signature verification method with a digital watermark as described in claim 12, the digital watermark of each first image is a text with the verification code, wherein in step (B), the processing unit uses A character recognition technology obtains the verification code according to the target digital watermark. 如請求項12所述的具有數位浮水印的電子簽章驗證方法,該電子簽章還包括相關於每一第一影像的多個目標像素的位置資訊及相關於該等目標像素的部分位元的組合順序資訊,其中,步驟(B)包括以下子步驟: (B-1)根據具有該目標數位浮水印的目標影像及所對應的該位置資訊獲得該目標影像的目標像素;及 (B-2)根據具有該目標數位浮水印的目標影像及所對應的該組合順序資訊,組合該目標像素中的部分位元,以獲得該驗證碼。The method for verifying an electronic signature with a digital watermark according to claim 12, the electronic signature further includes position information of a plurality of target pixels related to each first image and a part of bits related to the target pixels Step (B) includes the following sub-steps: (B-1) obtaining a target pixel of the target image according to the target image having the target digital watermark and the corresponding position information; and (B- 2) According to the target image with the target digital watermark and the corresponding combination sequence information, combining some bits in the target pixel to obtain the verification code. 如請求項12所述的具有數位浮水印的電子簽章驗證方法,該儲存單元還儲存一計數值及一門檻值,在步驟(A)後還包含以下步驟: (F)當判定出不可從該等目標影像獲得該目標數位浮水印時,判定該計數值是否大於該門檻值; (G)當判定出該計數值大於該門檻值時,產生一指示出該電子簽章無效的電子簽章無效訊息;及 (H)當判定出該計數值不大於該門檻值時,將該計數值加一,並重複步驟(A)。According to the electronic signature verification method with a digital watermark as described in claim 12, the storage unit further stores a count value and a threshold value, and further includes the following steps after step (A): (F) When it is determined that the When the target images obtain the target digital watermark, determine whether the count value is greater than the threshold value; (G) When it is determined that the count value is greater than the threshold value, an electronic signature indicating that the electronic signature is invalid is generated Invalid message; and (H) when it is determined that the count value is not greater than the threshold value, increase the count value by one, and repeat step (A). 如請求項9所述的具有數位浮水印的電子簽章驗證方法,該電子簽章的該影片還包括一音訊,該音訊包括一影片音訊及一音訊浮水印,其中,步驟(B)包括以下步驟: (B-1)將該音訊分離出一音訊浮水印;及 (B-2)將該音訊浮水印轉換成該驗證碼。The method for verifying an electronic signature with a digital watermark as described in claim 9, the video of the electronic signature further includes an audio, the audio includes a video audio and an audio watermark, wherein step (B) includes the following Steps: (B-1) separating the audio into an audio watermark; and (B-2) converting the audio watermark into the verification code. 如請求項9所述的具有數位浮水印的電子簽章驗證方法,該等影像還具有多幀各別地具有一數位浮水印的第一影像及多幀不具有該數位浮水印的第二影像,其中,步驟(A)包括以下子步驟: (A-1)自該等影像隨機選取多幀目標影像,判定是否可從該等目標影像獲得至少二待比對數位浮水印;及 (A-2)當判定出可從該等目標影像獲得該至少二待比對數位浮水印時,判定該至少二待比對數位浮水印是否皆相同,以判定是否可從該影片獲得該目標數位浮水印; 在步驟(B)中,當判定出該至少二待比對數位浮水印皆相同時,判定可從該影片獲得該目標數位浮水印,將該等目標影像的數位浮水印作為該目標數位浮水印。According to the electronic signature verification method with a digital watermark as described in claim 9, the images also have a plurality of frames of a first image each having a digital watermark and a plurality of frames of a second image not having the digital watermark. Among them, step (A) includes the following sub-steps: (A-1) randomly selecting multiple frames of target images from the images to determine whether at least two digital watermarks to be compared can be obtained from the target images; and (A- 2) When it is determined that the at least two comparative digital watermarks can be obtained from the target images, determine whether the at least two comparative digital watermarks are the same to determine whether the target digital watermark can be obtained from the movie In step (B), when it is determined that the at least two comparative digital watermarks to be compared are the same, it is determined that the target digital watermark can be obtained from the movie, and the digital watermarks of the target images are used as the target digital watermarks. Watermark. 一種電子裝置,用以產生一電子簽章,包含: 一拍攝單元,用以在一拍攝期間拍攝在簽署一文檔資料的簽署者,以產生一包括多幀影像的影片,該文檔資料相關於一文檔; 一輸入單元,用以於該拍攝期間內產生並傳送多筆相關於該簽署者之簽署軌跡的軌跡訊息; 一處理單元,電連接該拍攝單元及該輸入單元; 其中,在該拍攝期間內,該處理單元根據該文檔資料及一數學函數獲得一相關於該文檔資料的簽章訊息摘要,並在該拍攝期間內,對於該影片在獲得該簽章訊息摘要後從該拍攝單元所接收到的每一影像,在接收到該影像後,根據自接收到該影像的影像接收時間前從該輸入單元所接收到的所有軌跡訊息產生一簽名軌跡資料,並將該簽名軌跡資料加入至該影像中,且在該拍攝期間內,當獲得該簽章訊息摘要時,將一包括該簽章訊息摘要的數位浮水印加入該影片中,最後,該處理單元產生包括經該處理單元處理的該影片的該電子簽章,並將該電子簽章加入該文檔資料。An electronic device for generating an electronic signature includes: a photographing unit for photographing a signer who is signing a document during a photograph to generate a movie including multiple frames of image, the document is related to a A document; an input unit for generating and transmitting a plurality of trajectory messages related to the signing trajectory of the signatory during the shooting period; a processing unit electrically connecting the shooting unit and the input unit; wherein, during the shooting period Within the processing unit, a signature message summary related to the document is obtained according to the document material and a mathematical function, and during the shooting period, the movie is received from the shooting unit after obtaining the signature message summary. After receiving the image, after receiving the image, a signature track data is generated according to all the track information received from the input unit before the image receiving time of the received image, and the signature track data is added to the In the image, and during the shooting period, when the summary of the signature message is obtained, a digital floating water including the summary of the signature message It is added to the film, and finally, the processing unit generates the electronic signature including the film processed by the processing unit, and adds the electronic signature to the document. 如請求項18所述的電子裝置,其中,該處理單元還根據一當前時間、該文檔資料的一文檔編號、一相關於該電子裝置的裝置識別碼,及一相關於該電子裝置的網際網路協定位址之其中至少一者,獲得該簽章訊息摘要,該電子簽章還包括該至少一者。The electronic device according to claim 18, wherein the processing unit is further based on a current time, a document number of the file, a device identification code related to the electronic device, and an Internet network related to the electronic device. At least one of the road agreement addresses obtains the signature message summary, and the electronic signature also includes the at least one. 如請求項18所述的電子裝置,還包含一電連接該處理單元的通訊單元,該通訊單元經由一通訊網路連接一時戳伺服器,其中,該處理單元經由該通訊單元將該文檔資料傳送至該時戳伺服器,以致於該時戳伺服器根據一當前時間、該文檔資料,及該數學函數,產生並經由該通訊單元傳送該簽章訊息摘要至該處理單元,進而使該處理單元獲得該簽章訊息摘要,該電子簽章還包括該當前時間。The electronic device according to claim 18, further comprising a communication unit electrically connected to the processing unit, the communication unit is connected to a time stamp server via a communication network, wherein the processing unit transmits the document data to the communication unit via the communication unit The time stamp server, so that the time stamp server generates and sends the signature message summary to the processing unit via the communication unit according to a current time, the document data, and the mathematical function, so that the processing unit obtains The signature message summary, the electronic signature also includes the current time. 如請求項18所述的電子裝置,還包含一電連接該處理單元的通訊單元,該通訊單元經由一通訊網路連接一時戳伺服器,其中,在拍攝期間內,該處理單元根據該文檔資料及該數學函數獲得一相關於該文檔資料的文檔訊息摘要,並經由該通訊單元將該文檔訊息摘要傳送至該時戳伺服器,以致於該時戳伺服器根據該當前時間、該文檔訊息摘要,及該數學函數,產生並經由該通訊單元傳送該簽章訊息摘要至該處理單元,進而使該處理單元獲得該簽章訊息摘要,該電子簽章還包括該當前時間。The electronic device according to claim 18, further comprising a communication unit electrically connected to the processing unit, and the communication unit is connected to a time stamp server via a communication network, wherein during the shooting period, the processing unit is based on the documents and The mathematical function obtains a document message summary related to the document data, and transmits the document message summary to the time stamp server via the communication unit, so that the time stamp server is based on the current time, the document message summary, And the mathematical function, the signature message digest is generated and transmitted to the processing unit via the communication unit, so that the processing unit obtains the signature message digest, and the electronic signature also includes the current time. 如請求項18所述的電子裝置,其中,該數學函數為一雜湊函數。The electronic device according to claim 18, wherein the mathematical function is a hash function. 如請求項18所述的電子裝置,其中,對於該影片在獲得該簽章訊息摘要後所接收到的每一影像,在接收到該影像後,該處理單元係將可見的且包括該簽章訊息摘要的文字作為該數位浮水印加入該等影像,以將該數位浮水印加入至該影片中。The electronic device according to claim 18, wherein, for each image received by the movie after obtaining the summary of the signature message, after receiving the image, the processing unit will be visible and include the signature The text of the message summary is added to the images as the digital watermark to add the digital watermark to the video. 如請求項18所述的電子裝置,其中,對於該影片在獲得該簽章訊息摘要後所接收到的每一影像,在接收到該影像後,該處理單元將該簽章訊息摘要轉換成一(二進位編碼)以作為該數位浮水印,並對於每一影像,隨機選取該影像的多個目標像素,且將該二進位編碼的每一位元,依序取代該等目標像素的部分位元,以將該數位浮水印加入至該影片中,該電子簽章還包括每一影像之該等目標像素的位置資訊及相關於該等目標像素的部分位元組合成該二進位編碼的組合順序資訊。The electronic device according to claim 18, wherein, for each image received after the movie obtains the signature message summary, after receiving the image, the processing unit converts the signature message summary into a ( Binary encoding) as the digital watermark, and for each image, randomly select multiple target pixels of the image, and replace each bit of the target pixel in order by each bit of the binary encoding. To add the digital watermark to the movie, the electronic signature also includes the position information of the target pixels of each image and some bits related to the target pixels are combined into the combination order of the binary code Information. 如請求項18所述的電子裝置,該拍攝單元所產生的影片還包括一影片音訊,其中,該處理單元將該簽章訊息摘要轉換成一音訊浮水印以作為該數位浮水印,並將該音訊浮水印疊加至該影片音訊,以將該數位浮水印加入至該影片中。According to the electronic device of claim 18, the video generated by the shooting unit further includes a video audio, wherein the processing unit converts the signature message digest into an audio watermark as the digital watermark, and converts the audio A watermark is superimposed on the video audio to add the digital watermark to the video. 一種電子裝置,用以驗證一電子簽章,包含: 一儲存單元,儲存一相關於一文檔且一電子簽章的文檔資料,該電子簽章包括一影片,該影片包括具有多幀相關於一簽署者與該簽署者的一簽名軌跡資料的影像,及多個數位浮水印,每一數位浮水印具有一驗證碼; 一處理單元,電連接該儲存單元; 其中,該處理單元判定是否可從該影片獲得一目標數位浮水印,當該處理單元判定出可從該影片獲得該目標數位浮水印時,該處理單元根據該目標數位浮水印獲得該驗證碼,並根據該文檔資料及該數學函數,獲得一相關於該文檔資料的驗證用訊息摘要,再判定所獲得的該驗證碼與該驗證用訊息摘要是否相同,當該處理單元判定出該驗證碼與該驗證用訊息摘要相同時,該處理單元產生指示出該電子簽章有效的電子簽章有效訊息。An electronic device for verifying an electronic signature includes: a storage unit that stores a document related to a document and an electronic signature, the electronic signature includes a movie, and the movie includes a plurality of frames related to one An image of a signed trajectory data of the signer and the signer, and a plurality of digital watermarks, each digital watermark has a verification code; a processing unit electrically connected to the storage unit; wherein the processing unit determines whether the The film obtains a target digital watermark. When the processing unit determines that the target digital watermark can be obtained from the film, the processing unit obtains the verification code according to the target digital watermark, and according to the documentation and the mathematical function To obtain a verification message summary related to the document, and then determine whether the verification code obtained is the same as the verification message summary. When the processing unit determines that the verification code is the same as the verification message summary, the The processing unit generates an electronic signature valid message indicating that the electronic signature is valid. 請求項26所述的具有數位浮水印的電子簽章驗證方法,其中,該電子簽章還包括一時間、一文檔編號、一裝置識別碼,及一網際網路協定位址之其中至少一者的驗證資料,該處理單元還根據該驗證資料的獲得該驗證用訊息摘要。The digital signature verification method with a digital watermark according to claim 26, wherein the electronic signature further includes at least one of a time, a document number, a device identification code, and an Internet Protocol address The processing unit also obtains the verification message summary based on the verification data. 如請求項27所述的電子裝置,其中,該處理單元根據該文檔資料及該數學函數獲得一文檔訊息摘要,並根據該驗證資料、該文檔訊息摘要,及該數學函數獲得該驗證用訊息摘要。The electronic device according to claim 27, wherein the processing unit obtains a document message summary according to the document data and the mathematical function, and obtains the message summary for verification according to the verification data, the document message summary, and the mathematical function. . 如請求項26所述的電子裝置,其中,該等影像還具有多幀各別地具有一數位浮水印的第一影像及多幀不具有該數位浮水印的第二影像,該處理單元自該等影像隨機選取多幀目標影像,並判定是否可從該等目標影像獲得該目標數位浮水印,以判定是否可從該影片獲得該目標數位浮水印。The electronic device according to claim 26, wherein the images further include a plurality of frames of a first image each having a digital watermark and a plurality of frames of a second image not having the digital watermark. The target image randomly selects multiple frames of target images, and determines whether the target digital watermark can be obtained from the target images, to determine whether the target digital watermark can be obtained from the movie. 如請求項29所述的電子裝置,其中,該儲存單元儲存的每一第一影像的數位浮水印為一具有該驗證碼的文字,該處理單元係利用一字元辨識技術根據該目標數位浮水印獲得該驗證碼。The electronic device according to claim 29, wherein the digital watermark of each first image stored in the storage unit is a text with the verification code, and the processing unit uses a character recognition technology to identify the digital float according to the target digital The watermark obtains the verification code. 如請求項29所述的電子裝置,其中,該儲存單元儲存的該電子簽章還包括相關於每一第一影像的多個目標像素的位置資訊及相關於該等目標像素的部分位元的組合順序資訊,該處理單元根據具有該目標數位浮水印的目標影像及所對應的該位置資訊獲得該目標影像的目標像素,並根據具有該目標數位浮水印的目標影像及所對應的該組合順序資訊,組合該目標像素中的部分位元,以獲得該驗證碼。The electronic device according to claim 29, wherein the electronic signature stored in the storage unit further includes position information of a plurality of target pixels related to each first image and a portion of bits of the target pixels Combination order information, the processing unit obtains target pixels of the target image according to the target image with the target digital watermark and the corresponding position information, and according to the target image with the target digital watermark and the corresponding combination order Information to combine some bits in the target pixel to obtain the verification code. 如請求項29所述的電子裝置,其中,該儲存單元還儲存一計數值及一門檻值,當該處理單元判定出不可從該等目標影像獲得該目標數位浮水印時,該處理單元判定該計數值是否大於該門檻值,當該處理單元判定出該計數值大於該門檻值時,該處理單元產生一指示出該電子簽章無效的電子簽章無效訊息,當該處理單元判定出該計數值不大於該門檻值時,該處理單元將該計數值加一,並重新自該儲存單元儲存的該等影像隨機選取多幀目標影像,再判定是否可從該等目標影像獲得一目標數位浮水印。The electronic device according to claim 29, wherein the storage unit further stores a count value and a threshold value, and when the processing unit determines that the target digital watermark cannot be obtained from the target images, the processing unit determines the Whether the count value is greater than the threshold value. When the processing unit determines that the count value is greater than the threshold value, the processing unit generates an electronic signature invalidation message indicating that the electronic signature is invalid. When the processing unit determines the count When the value is not greater than the threshold value, the processing unit adds one to the count value, and then randomly selects multiple frames of target images from the images stored in the storage unit, and then determines whether a target digital float can be obtained from the target images. Watermark. 如請求項26所述的電子裝置,該電子簽章的該影片還包括一音訊,該音訊包括一影片音訊及一音訊浮水印,其中,該處理單元將該音訊分離出一音訊浮水印,且將該音訊浮水印轉換成該驗證碼。According to the electronic device of claim 26, the video of the electronic signature further includes an audio, the audio includes a video audio and an audio watermark, wherein the processing unit separates the audio into an audio watermark, and The audio watermark is converted into the verification code. 如請求項26所述的電子裝置,該等影像還具有多幀各別地具有一數位浮水印的第一影像及多幀不具有該數位浮水印的第二影像,其中,該處理單元自儲存單元儲存的該等影像隨機選取多幀目標影像,並判定是否可從該等目標影像獲得至少二待比對數位浮水印,當該處理單元判定出可從該等目標影像獲得該至少二待比對數位浮水印時,該處理單元判定該至少二待比對數位浮水印是否皆相同,以判定是否可從該影片獲得該目標數位浮水印,當該處理單元判定出該至少二待比對數位浮水印皆相同時,即判定可從該影片獲得該目標數位浮水印,該處理單元將該等目標影像的數位浮水印作為該目標數位浮水印。According to the electronic device according to claim 26, the images further include a plurality of frames of a first image each having a digital watermark and a plurality of frames of a second image not having the digital watermark, wherein the processing unit self-stores The images stored by the unit randomly select multiple target images, and determine whether at least two comparative digital watermarks can be obtained from the target images. When the processing unit determines that the at least two comparative images can be obtained from the target images When the logarithmic digital watermark is used, the processing unit determines whether the at least two logarithmic digital watermarks to be compared are all the same to determine whether the target digital watermark can be obtained from the movie. When the watermarks are the same, it is determined that the target digital watermark can be obtained from the movie, and the processing unit uses the digital watermarks of the target images as the target digital watermark.
TW107116101A 2018-05-11 2018-05-11 Electronic signature generation and verification method with digital watermark and electronic device TWI668594B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW107116101A TWI668594B (en) 2018-05-11 2018-05-11 Electronic signature generation and verification method with digital watermark and electronic device
CN201810812416.1A CN110474773B (en) 2018-05-11 2018-07-23 Electronic signature generation and verification method with digital watermark and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107116101A TWI668594B (en) 2018-05-11 2018-05-11 Electronic signature generation and verification method with digital watermark and electronic device

Publications (2)

Publication Number Publication Date
TWI668594B TWI668594B (en) 2019-08-11
TW201947448A true TW201947448A (en) 2019-12-16

Family

ID=68316512

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107116101A TWI668594B (en) 2018-05-11 2018-05-11 Electronic signature generation and verification method with digital watermark and electronic device

Country Status (2)

Country Link
CN (1) CN110474773B (en)
TW (1) TWI668594B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI831646B (en) * 2023-03-15 2024-02-01 臺灣網路認證股份有限公司 Certificate issuance and document signing system and method thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125646A (en) * 2019-12-04 2020-05-08 智慧神州(北京)科技有限公司 Electronic certificate generation method and device, storage medium and processor
CN113961905B (en) * 2021-12-20 2022-03-11 四川特号商盟科技有限公司 Storage method of on-line agreement signing data

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000152148A (en) * 1998-11-13 2000-05-30 Hitachi Ltd Electronic camera
TW531713B (en) * 2001-05-31 2003-05-11 Jung-Sing Jwo Hand-writing digital signature system and method
US7187780B2 (en) * 2001-12-13 2007-03-06 Digimarc Corporation Image processing methods using reversible watermarking
US7515730B2 (en) * 2001-12-13 2009-04-07 Digimarc Corporation Progressive image quality control using watermarking
TW201040778A (en) * 2009-05-15 2010-11-16 Ji Jun Information Service Co Ltd Safety transmission system for portable electronic document
CN101908957A (en) * 2009-06-04 2010-12-08 机骏电脑有限公司 System for safely transmitting mobile electronic document
KR101301733B1 (en) * 2013-03-27 2013-09-10 주식회사 시큐에프엔 Method for providing digital signature on the basis of biometrics and method for verifying the digitally signed electronic document, and terminal, server, and computer-readable recording medium using the same
CN103310403B (en) * 2013-05-14 2016-03-09 深圳市威富多媒体有限公司 Hand-written feature and digital document visible watermark fusion method
TW201502851A (en) * 2013-07-05 2015-01-16 Think Cloud Digital Technology Co Ltd Digital signature method
TWI592825B (en) * 2016-10-14 2017-07-21 Anti-counterfeiting features electronic signature method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI831646B (en) * 2023-03-15 2024-02-01 臺灣網路認證股份有限公司 Certificate issuance and document signing system and method thereof

Also Published As

Publication number Publication date
CN110474773B (en) 2022-07-05
CN110474773A (en) 2019-11-19
TWI668594B (en) 2019-08-11

Similar Documents

Publication Publication Date Title
TWI624795B (en) Electronic signature generation method and system
US11010855B2 (en) Method and apparatus for protecting digital photos from alteration
US11418677B2 (en) Method for preventing image modification, image capturing device and image verification method
US11121879B2 (en) Computer implemented method for automatically certifying documents with integrity and authenticity guarantees and computer programs thereof
CN1741449B (en) Data-processing system and method for controlling same, computer program, and computer-readable recording medium
CN111628868A (en) Digital signature generation method and device, computer equipment and storage medium
MX2019010865A (en) Systems and methods for providing digital identity records to verify identities of users.
TWI668594B (en) Electronic signature generation and verification method with digital watermark and electronic device
US20040017926A1 (en) Steganographic image encoding
JP2002542523A (en) Method and apparatus for inserting a digital signature into digital data and authenticating the digital signature in the digital data
Sun et al. A new semi-fragile image authentication framework combining ECC and PKI infrastructures
US20090190189A1 (en) Information processing apparatus, control method therefor, information processing system, and program
CN112422751B (en) Calling method and system for displaying calling party multimedia identity based on called party
CN103902925A (en) Method and equipment for digital document signature
KR20190005346A (en) Encryption and decryption method for steganography data based on moving picture
JP2022174726A (en) Device and method for signing video segment including at least one picture group
US20070253592A1 (en) Method and System for Protecting and Authenticating a Digital Image
US12010320B2 (en) Encoding of modified video
Jansirani et al. Hi-tech authentication for pslette images using digital signature and data hiding.
CN116702172A (en) Data processing method and device
KR102280505B1 (en) System and method for providing authenticity and integrity of electronic document
Angulo Image Authentication Scheme with Tamper Localization using Reversible Watermarking
RU2792876C1 (en) Method for linking digital representation of actual event to its real time
CN112287399B (en) Digital signature method, system and device
US20230188732A1 (en) Methods of adding and validating a digital signature in a video data segment