WO2019154235A1 - 实现电子签章的方法、装置、签署终端及签署服务器 - Google Patents

实现电子签章的方法、装置、签署终端及签署服务器 Download PDF

Info

Publication number
WO2019154235A1
WO2019154235A1 PCT/CN2019/074055 CN2019074055W WO2019154235A1 WO 2019154235 A1 WO2019154235 A1 WO 2019154235A1 CN 2019074055 W CN2019074055 W CN 2019074055W WO 2019154235 A1 WO2019154235 A1 WO 2019154235A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
signed
signature
style picture
display
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.)
Ceased
Application number
PCT/CN2019/074055
Other languages
English (en)
French (fr)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Publication of WO2019154235A1 publication Critical patent/WO2019154235A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Definitions

  • the embodiments of the present invention relate to the field of computer application technologies, and in particular, to a method for implementing an electronic signature, an information display method, a device for implementing an electronic signature, an information display device, a signing terminal, and a signature. server.
  • Electronic signature is a form of electronic signature. It uses image processing technology to transform electronic signature operation into the same visual effect as paper document stamping. At the same time, electronic signature technology is used to guarantee the authenticity and integrity of electronic information. Sex and the non-repudiation of the signer. As a form of signature for replacing traditional paper signatures, electronic signatures have been widely used.
  • the signing end first sends the file to be signed uploaded by the user to the signing server, and the signing server loads the signature style image into the file to be signed for electronic signature, and signs the server based on the signature file.
  • a download link is generated and fed back to the signing end; the signing end downloads and saves the file after the signature from the download link based on the user's download request, and the user can view and use the file after the signature.
  • the embodiment of the present invention provides a method, a device, and a signing terminal for implementing an electronic signature, which are used to solve the technical problem that the stamping position in the prior art is inaccurate and the electronic signature is inaccurate.
  • a method for implementing an electronic signature including:
  • a method for implementing an electronic signature including:
  • an information display method including:
  • the zoom position coordinate of the target position is used to generate the signature style picture at the to-be-signed Location information in the file.
  • an apparatus for implementing an electronic signature including:
  • a parsing module configured to parse the file to be signed to display the file content
  • a loading module configured to load a signature style picture to a display area of the file content
  • a location determining module configured to determine location information of the signature style picture in the to-be-signed file based on an adjustment request for the signature style picture
  • the signature triggering module is configured to send the location information to the signing server, so that the signing server performs electronic signature on the to-be-signed file according to the location information.
  • an apparatus for implementing an electronic signature including:
  • a location obtaining module configured to obtain location information of the signature style picture in the file to be signed; wherein the location information is parsed by the signing end to identify the file to be displayed to display the file content, and load the signature style picture to the file content After the area is displayed, determined based on an adjustment request for the signature style picture;
  • the signature module is configured to perform electronic signature on the to-be-signed file according to the location information.
  • an information display device in the embodiment of the present application, and provides a display interface for displaying a file content of a file to be signed.
  • the file content in the display interface corresponds to an arbitrary position of the display area for displaying a sign.
  • the display interface supports position adjustment for the signature style picture to display the signature style picture at a target position of the display area based on an adjustment request for the signature style picture;
  • the zoom position coordinates are used to generate position information of the signature style picture in the to-be-signed file.
  • a signing terminal including a display component, a storage component, and a processing component;
  • the storage component stores one or more computer instructions, wherein the one or more computer instructions are for execution by the processing component;
  • the processing component is used to:
  • a signing server including a storage component and a processing component;
  • the storage component stores one or more computer instructions, wherein the one or more computer instructions are for execution by the processing component;
  • the processing component is used to:
  • the file to be signed is parsed to display the file content, and the signature style image is loaded to the display area of the file content, so as to preview the stamping effect of the file to be signed; the user may request the signature style image to be performed. Adjusting, so that the position information of the signature style picture after the adjustment in the file to be signed can be determined, and the location information is transmitted to the signing server, and the signing server performs the electronic signature based on the location information, thereby ensuring that the stamping position is not There will be deviations and meet user requirements, thus improving the accuracy of the electronic signature.
  • FIG. 1 shows a flow chart of an embodiment of a method for implementing an electronic signature
  • FIG. 2 shows a flow chart of still another embodiment of a method for implementing an electronic signature
  • FIG. 3a is a schematic diagram showing the file to be signed displayed on the signing end in the embodiment of the present application.
  • FIG. 3b is a schematic diagram showing the real file to be signed shown in FIG. 3a in the embodiment of the present application;
  • FIG. 4a is a schematic diagram showing a file to be signed displayed in a browser in the embodiment of the present application.
  • FIG. 4b is a schematic diagram showing another file to be signed in a browser in the embodiment of the present application.
  • FIG. 5 is a flow chart showing an embodiment of an information display method provided by the present application.
  • FIG. 6 is a schematic structural diagram of an embodiment of an apparatus for implementing an electronic signature provided by the present application.
  • FIG. 7 is a schematic structural diagram of still another embodiment of an apparatus for implementing an electronic signature provided by the present application.
  • FIG. 8 is a schematic structural diagram of an embodiment of a signing terminal provided by the present application.
  • FIG. 9 is a schematic structural diagram of still another embodiment of an apparatus for implementing an electronic signature provided by the present application.
  • FIG. 10 is a schematic structural diagram of an embodiment of a signing server provided by the present application.
  • FIG. 11 is a schematic structural diagram of an embodiment of a system for implementing an electronic signature provided by the present application.
  • FIG. 12 is a schematic structural diagram of still another embodiment of a system for implementing an electronic signature provided by the present application.
  • the technical solution of the embodiment of the present application is applied to an electronic signature scene, and the electronic signature can provide the same visual effect as the paper stamping document, and the electronic signature technology is used to ensure the true integrity of the electronic information and the non-repudiation of the predecessor. Therefore, the use is becoming more widespread.
  • the signing server often uses the fixed position as the stamping position for electronic signature, and for different documents, the same position is prone to stamp deviation;
  • the stamping position is predetermined for each file, which needs to be pre-configured, and the stamping deviation is still prone to occur once the contents of the file change.
  • the user needs to download the document after the stamping, so that the stamping effect can be known, and even if the stamp position is deviated, it cannot be compensated.
  • the file to be signed can be parsed to display the file content on the signing end, and the signature style image is loaded to the file.
  • the content is in the area, and the preview of the stamping effect of the file to be signed is realized;
  • the user can request the position adjustment of the signature style image, thereby determining the position information of the signature style image in the to-be-signed file after the adjustment, the position
  • the information is transmitted to the signing server, and the signing server performs the electronic signature based on the location information, which can ensure that the stamping position does not deviate and meet the user requirements, thereby improving the accuracy of the electronic signature.
  • FIG. 1 is a flowchart of an embodiment of a method for implementing an electronic signature according to an embodiment of the present application.
  • the technical solution of the embodiment is applied to a signing end.
  • the signing end may be a browser or a client. Terminal (Client) and so on.
  • the method can include the following steps:
  • the file to be signed is uploaded by the user.
  • the signing end may parse the file to display the file content of the file to be signed.
  • the signing end after receiving the file to be signed uploaded by the user, the signing end sends the file to the storage device for storage, and the storage device generates a file address of the file to be signed, and feeds back Signing end.
  • the storage device may be a cloud storage device that provides a cloud storage service for a network disk or the like.
  • the cloud storage service may be, for example, an OSS (Object Storage Service), and of course, the storage device may also be a file server located on the side of the signing server.
  • the displaying the file content of the file to be signed may further include:
  • the parsing the file to be signed to display the file content of the to-be-signed file is specifically parsing the to-be-signed file acquired from the storage device to display the file content of the to-be-signed file.
  • the signing end When the signing end is a browser, the signing end establishes a connection with the storage device based on the http protocol, so the file to be signed returned by the storage device through the http protocol can be obtained.
  • the file to be signed can support multiple document formats, such as PDF, WORD, TXT, and the like.
  • the signing end converts the file to be signed into a file format that can be displayed by the signing end, so that the file content of the file to be signed can be displayed on the signing end.
  • the file content of the file to be signed may include multiple pages.
  • the page content of the multiple pages may be displayed by sliding display or page turning in the display area of the file content, so as to facilitate the user to determine.
  • Stamp the page The display area of the file content is used to completely display the page content of any page of the file to be signed.
  • the document to be signed can be a layout document, which itself has a length and a width, such as A4, A3, 8in (inch) * 6in, and the like.
  • the signature style picture may be loaded to any position in the display area.
  • the arbitrary position may be preset.
  • the user can request to adjust the display position.
  • step 103 can include:
  • the signature style picture may be overlaid on the display area in a floating layer form to support a drag operation.
  • the user can adjust the display position of the signature style picture in the display area by dragging the signature style picture.
  • the adjustment request for the signature style picture may be triggered in response to an input operation of the user input adjustment parameter.
  • the input operation may be a voice input operation or a text input operation, and the corresponding adjustment control may be output to collect the adjustment parameters input by the user.
  • the adjustment parameter can include target location coordinates.
  • the adjustment parameter input by the user can be determined, and the display position of the signature style picture can be adjusted according to the adjustment parameter.
  • the corresponding location information of the signature style picture in the to-be-signed file may also be determined.
  • location selection prompt information may also be output, where the location information prompt information may include multiple positions to be adjusted to prompt the user to select, so the adjustment request for the signature style picture may be in response to The selection operation of the plurality of positions to be adjusted is triggered to be generated.
  • the location information may include a stamp position coordinate of the signature style picture in the file to be signed; and may further include a page number corresponding to the signature style picture in the to-be-signed file.
  • the preview of the signature effect is implemented, and the location information is obtained based on the adjustment operation of the signature style picture by the user, so that the accuracy of the stamp position can be ensured.
  • the resolution of the display area may be different from the resolution of the file to be signed, in order to display the file to be signed normally, the file to be signed needs to be scaled before being displayed.
  • the loading the signature style picture to the display area of the file content may include:
  • the signature style picture after the adjustment is loaded to the display area.
  • the scaling of the file to be signed may be calculated based on the resolution of the file to be signed and the resolution of the display area of the file content.
  • the position coordinates of the signature style image in the display area also need to be restored according to the scaling ratio, so that the signature style image can be obtained for signature.
  • the position coordinates in the file are adjusted according to the scaling ratio, so that the signature style image can be obtained for signature.
  • determining the location information of the signature style picture in the to-be-signed file in response to the adjustment operation for the signature style picture comprises:
  • Position information is generated based on the stamp position coordinates.
  • the position coordinates of the signature style picture after the adjustment in the display area are: (X: 200px, Y: 300px), wherein px represents a pixel, and if the scaling ratio is 2, the signature style image is
  • the signing end is a browser or a client embedded with a browser framework
  • the file to be signed needs to be rendered into a webpage page in the form of html for display.
  • the parsing the file to be signed to display the file content of the file to be signed may include:
  • the file content of the file to be signed is drawn into the canvas.
  • a canvas is an element in html that draws the contents of a file on the canvas to display the contents of the file.
  • the PDF document is composed of bytecodes and describes various forms of content information.
  • the bytecode in the PDF document can be parsed, and the elements corresponding to the bytecode are drawn one by one onto the canvas of the browser. Since the canvas can only be used for displaying content, the content cannot be selected, so it can be overwritten.
  • the layer page floating layer, the page floating layer is also the html floating layer by drawing the file content in the canvas, that is, forming a display area of the file content in the browser display interface. The size of the display area can be determined based on the size of the canvas.
  • the canvas size may be first set. Therefore, the resolution of the display area can be determined based on the size of the canvas, and according to the resolution of the display area and the resolution of the file to be signed, the scaling of the file to be signed can be determined, and the file to be signed is adjusted according to the scaling ratio. Thereby, the file content of the file to be signed after the adjustment can be drawn in the canvas.
  • FIG. 2 is a flowchart of still another embodiment of a method for implementing an electronic signature according to the present application.
  • the technical solution of the embodiment is applied to a signing end.
  • the signing end may be a browser, or may be installed. Clients in mobile terminals, etc.
  • the method can include the following steps:
  • the display ratio of the file to be signed remains unchanged; the display ratio is also the aspect ratio of the file to be signed.
  • the display ratio and resolution of the file to be signed may specifically refer to the display scale and resolution of any page of the file to be signed, and the display ratio and resolution of each page are the same.
  • the zoom ratio is 2, and it is necessary to reduce the size of the file to be signed by 2 times.
  • the canvas size may be set by calling a rendering component, and the resolution of the display area may be determined based on the canvas size.
  • Step 203 is to invoke the rendering component to draw the file content of the to-be-signed file after the adjustment into the canvas, and overlay the page floating layer to be converted into a webpage page for display.
  • 206 Determine, according to the adjustment request for the signature style picture, a zoom position coordinate of the signature style picture in the display area after the adjustment.
  • 207 Obtain a stamp position coordinate of the signature style picture in the to-be-signed file based on the zoom position coordinate and the zoom ratio.
  • the stamping position coordinate of the signature style picture in the to-be-signed file may be: based on the zoom position coordinate and the zoom ratio.
  • the stamp position coordinates of the signature style picture in the to-be-signed file are obtained.
  • the location information includes the stamp location coordinates.
  • the location information may further include a page number of the signature style picture in the to-be-signed file.
  • the signing server can find the stamp page from the file to be signed based on the page number of the signature style picture in the file to be signed, and perform electronic signature on the stamp page based on the stamp position coordinates.
  • the display area may be different from the coordinate axis of the file to be signed, for example, in the browser, the coordinate origin of the display area is in the lower left corner, and for the file to be signed in PDF format, the coordinate origin is usually located in the upper left corner.
  • the position information of the signature style picture in the to-be-signed file may be obtained based on the position coordinate, the scaling ratio, and the coordinate axis conversion relationship.
  • FIG. 3a a display diagram of the file to be signed is displayed on the signing end. It can be seen that the coordinate origin (0, 0) of the display area 301 is located at the lower left corner of the display area 301.
  • the display area 301 is used to display the file content 302 of the file to be signed, and the file content 302 is rendered into a web page in the form of an html for display. If the file to be signed includes multiple pages, it displays the page content of any page of the file to be signed, and can display the page content of other pages based on the user request.
  • the resolution of the display area is X a *Y a , that is, the length is X a and the width is Y a .
  • the position coordinates of the four apex angles of the display area are (0, 0), (X a , 0), ( X a , Y a ), (0, Y a ), the resolution of the signature pattern picture after adjustment is a*b, that is, the length is a and the width is b.
  • the zoom position coordinates of the signature style picture in the display area can be represented by the position coordinates of the two diagonal points.
  • the zoom position coordinate of the C point of the signature style picture 303 is (X c , Y c ), D
  • the zoom position coordinates of the point are (X d , Y d ).
  • Figure 3b shows the real schematic diagram of the file to be signed.
  • the origin of the coordinate to be signed (0,0) is located in the lower left corner of the file to be signed.
  • the resolution of the file to be signed is X ⁇ a *Y ⁇ a , which is the length.
  • the width is Y ⁇ a
  • the position coordinates of the four apex angles are (0,0), (X ⁇ a , 0), (X ⁇ a , Y ⁇ a ), (0, Y ⁇ a ) .
  • the C-point zoom position coordinates (X c , Y c ) and the D-point zoom position coordinates (X d , Y d ) can be coordinate-axis-converted to obtain the signature style image in the file to be signed.
  • Y ⁇ d Y ⁇ a -Y c * 2 + b * 2.
  • the signing server can determine the stamp position based on the stamp position coordinates (X ⁇ c , Y ⁇ c ) and (X ⁇ d , Y ⁇ d ), so that the electronic signature can be made based on the stamp position.
  • the signing end can be a browser installed on an electronic device such as a personal computer (computer) or a mobile terminal, and the file to be signed can be rendered into an html format for display in a browser.
  • 4a to 4b are schematic diagrams showing the display of the file contents of the file to be signed in the browser.
  • the browser 400 parses the file to be signed to display the file content 403 of the file to be signed in a webpage page in the form of an html in the display area 402 of the display interface 401 of the browser 400.
  • the signature style picture 404 is loaded into the display area 402, which can be loaded to any location of the display area 402, as described in Figure 4a.
  • the signature style picture 404 is loaded into the display area 402 in a html-formed page floating layer to support the drag operation.
  • the user can drag the signature style picture 404 to change the position of the signature style picture 404 in the display area.
  • the file content 402 of the file to be signed and the signature style picture 404 are all displayed after being adjusted according to the scaling.
  • the zoom position coordinates of the signature style picture 404 after the drag in the display area can be recorded.
  • the confirmation request may be triggered.
  • the confirmation prompt information may be output in the display interface, and the confirmation prompt information may be, for example, as shown in FIG. 4a or
  • the confirmation control 405 in 4b can trigger a confirmation request by triggering the confirmation control 405.
  • the browser 401 can obtain the stamped coordinate position of the signature style picture 404 in the file to be signed based on the last recorded zoom position coordinate and the zoom ratio.
  • the location information including the stamp position coordinates can be transmitted to the signing server, and the signing server electronically signs the signature file based on the location information.
  • the signing end receives the file to be signed uploaded by the user, and the file to be signed is generated by the storage device.
  • the method may further include:
  • the preview effect of the stamping effect is realized, and the display position of the signature style image can be The adjustment can be combined with the user's needs to determine the stamp position, thereby improving the accuracy of the electronic signature.
  • the embodiment of the present application further provides an information display method.
  • the technical solution of the embodiment is specifically applied to the signing end, and the method may include the following steps:
  • the file content can be displayed by resolving the file to be signed.
  • the parsing operation can be referred to in the foregoing embodiment, and details are not described herein again.
  • the target location is also the position of the signature style picture after adjustment in the display area.
  • the zoom position coordinates of the target position are used to generate position information of the signature style picture in the to-be-signed file.
  • This location information is used to provide to the signing server.
  • the signing server can electronically sign the to-be-signed file according to the location information.
  • FIG. 6 is a schematic structural diagram of an apparatus for implementing an electronic signature according to the present application.
  • the device may be configured as a signing end, and the signing end may be a browser or a client.
  • the device can include:
  • the parsing module 601 is configured to parse the file to be signed to display the file content.
  • the file to be signed is uploaded by the user.
  • the loading module 602 is configured to load the signature style picture to the display area of the file content.
  • the loading module may be configured to load the signature style picture to any position or predetermined position in the display area.
  • the location determining module 603 is configured to determine location information of the signature style picture in the to-be-signed file based on an adjustment request for the signature style picture.
  • the signature style picture may be overlaid on the display area in a floating layer form to support a drag operation.
  • the user can adjust the display position of the signature style picture in the display area by dragging the signature style picture. Therefore, the location determining module may be specifically configured to generate an adjustment request in response to the drag operation for the signature style picture; and determine, according to the adjustment request, the signature style picture The location information in the signature file.
  • the zoom position coordinates of the signature style picture in the display area can be determined, and then the signature style picture can be determined to be included in the to-be-signed file. Chapter position coordinates.
  • the location information may include stamp location coordinates of the signature style picture in the file to be signed; and may further include a page number of the signature style picture in the to-be-signed file, and the like.
  • the signature triggering module 604 is configured to send the location information to the signing server, so that the signing server performs electronic signature on the to-be-signed file according to the location information.
  • the preview of the signature effect is implemented, and the location information is obtained based on the adjustment operation of the signature style picture by the user, so that the accuracy of the stamp position can be ensured.
  • the loading module 602 can include:
  • the adjusting unit 701 is configured to adjust the signature style picture according to the scaling ratio of the file to be signed;
  • the loading unit 702 is configured to load the signature style picture after the adjustment to the display area.
  • the scaling of the file to be signed may be calculated based on the resolution of the file to be signed and the resolution of the display area of the file content.
  • the apparatus may further include:
  • a ratio determining module 605 configured to determine a scaling ratio of the file to be signed based on a resolution of the display area and a resolution of the file to be signed; wherein a display ratio of the file to be signed remains unchanged;
  • the parsing module 601 is specifically configured to adjust the to-be-signed file according to the scaling ratio; and display the file content of the to-be-signed file after the adjustment.
  • the position coordinates of the signature style image in the display area also need to be restored according to the scaling ratio, so that the signature style image can be obtained for signature.
  • the position coordinates in the file are adjusted according to the scaling ratio, so that the signature style image can be obtained for signature.
  • the location determining module 603 can include:
  • a position recording unit 703 configured to record, in response to the drag operation for the signature style picture, a zoom position coordinate of the signature style picture after the drag in the display area;
  • a position calculation unit 704 configured to obtain, according to the zoom position coordinates and the zoom ratio, a stamp position coordinate of the signature style picture in the to-be-signed file;
  • the information generating unit 705 is configured to generate position information based on the stamp position coordinates.
  • the signing end is a browser or a client embedded with a browser framework
  • the file to be signed needs to be rendered into a webpage page in the form of html for display.
  • the parsing module may be specifically used
  • the parsing module may first set the canvas size before drawing the file content of the file to be signed in the canvas. Therefore, the resolution of the display area can be determined based on the canvas size, and the scaling module can determine the scaling of the file to be signed according to the resolution of the display area and the resolution of the file to be signed, and the parsing module according to the file to be signed After the scaling is adjusted, the adjusted file content of the file to be signed is drawn in the canvas.
  • the file that the signing end receives from the user to be signed may be saved to the storage device, and the file address of the file to be signed is generated by the storage device.
  • the device may further include:
  • a file saving module configured to receive a file to be signed uploaded by a user, and upload the file to be signed to a storage device;
  • An address sending module configured to send the file address of the file to be signed to the signing server, so that the signing server downloads the to-be-signed file from the storage device based on the file address;
  • the parsing module is specifically configured to parse the to-be-signed file acquired from the storage device and display the file content of the to-be-signed file.
  • the device for implementing the electronic signature described in FIG. 5 or FIG. 6 can perform the method for implementing the electronic signature according to the embodiment shown in FIG. 1 or FIG. 2, and the implementation principle and technical effects are not described again.
  • the apparatus for implementing the electronic signature in the above embodiments the specific manner in which the operations are performed by the respective modules and units has been described in detail in the embodiments related to the method, and will not be described in detail herein.
  • the embodiment of the present application further provides an information display device, where the information display device can be configured in a signing end, and the signing end can be a browser or a client.
  • the information display device provides a display interface for displaying the file content of the file to be signed; wherein the file content in the display interface corresponds to an arbitrary position of the display area for displaying the signature style picture;
  • the display interface supports position adjustment for the signature style picture to display the signature style picture at a target position of the display area based on an adjustment request for the signature style picture;
  • the zoom position coordinates are used to generate position information of the signature style picture in the to-be-signed file.
  • the schematic diagram of the display interface can be as shown in FIG. 4a or 4b.
  • the device for implementing the electronic signature in the embodiment shown in FIG. 6 or FIG. 7 can be implemented as a signing terminal.
  • the signing terminal can be a computer or various mobile terminals.
  • the signing terminal can include a display component 801, a storage component 802, and a processing component 803;
  • the storage component 802 stores one or more computer instructions, wherein the one or more computer instructions are for execution by the processing component 803.
  • the processing component 803 is configured to:
  • Parsing the file to be signed to trigger the display component 801 to display the file content of the file to be signed;
  • processing component 703 can be used to implement the method for implementing an electronic signature according to any of the foregoing embodiments.
  • the processing component 703 can include one or more processors to execute computer instructions to perform all or part of the steps described above.
  • the processing component can also be one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs).
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGAs field programmable gate arrays
  • the storage component 701 is configured to store various types of data to support the operation of the signing terminal.
  • the memory can be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), and erasable programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • the display component 702 can provide a display interface for displaying the file content of the file to be signed.
  • the file content in the display interface corresponds to an arbitrary position of the display area for displaying the signature style picture.
  • the display interface can support position adjustment for the signature style picture, and the display component can generate an adjustment request accordingly; so that the processing component can determine the signature style picture based on the adjustment request for the signature style picture.
  • the display interface may further display the signature style picture at a target location of the display area; the target location is also a display position after the signature style picture is adjusted based on the adjustment request.
  • the information display device described in the foregoing embodiment may also be implemented as the display component 702 in one possible design.
  • the signing terminal must also include other components, such as an input/output interface, a communication component, and the like.
  • the input/output interface provides an interface between the processing component and the peripheral interface module, and the peripheral interface module may be an output device, an input device, or the like.
  • the communication component is configured to facilitate signing of wired or wireless communication between the terminal and other devices, such as transmitting the location information to the signing server, in particular via the communication component.
  • the embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and when the computer program is executed by the computer, the method for implementing the electronic signature of the embodiment shown in FIG. 1 or FIG. 2 can be implemented.
  • FIG. 9 is a schematic structural diagram of still another embodiment of an apparatus for implementing an electronic signature according to the present application.
  • the apparatus may be configured in a signing server.
  • the device can include:
  • the location obtaining module 901 is configured to obtain location information of the signature style picture in the to-be-signed file, where the location information is parsed by the signing end to display the file content, and the signature style picture is loaded to the file content. After the display area is determined based on the adjustment request for the signature style picture;
  • the signature module 902 is configured to perform electronic signature on the to-be-signed file according to the location information.
  • the device may further include:
  • An address obtaining module configured to obtain a file address of the to-be-signed file sent by the signing end
  • a file obtaining module configured to download the to-be-signed file from the storage device based on the file address.
  • the signature module specifically performs an electronic signature on the to-be-signed file obtained by downloading the file acquisition module.
  • the apparatus for implementing an electronic signature of the embodiment of FIG. 9 can be implemented as a signing server.
  • the signing server can include a storage component 1001 and a processing component 1002;
  • the storage component 1001 stores one or more computer instructions, wherein the one or more computer instructions are for execution by the processing component;
  • the processing component 1002 is configured to:
  • the processing component 1002 can include one or more processors to execute computer instructions to perform all or part of the steps described above.
  • the processing component can also be one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs).
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGAs field programmable gate arrays
  • the storage component 1001 is configured to store various types of data to support the operation of the signing server.
  • the memory can be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), and erasable programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • the signing server must also include other components, such as input/output interfaces, communication components, and the like.
  • the input/output interface provides an interface between the processing component and the peripheral interface module, and the peripheral interface module may be an output device, an input device, or the like.
  • the communication component is configured to facilitate wired or wireless communication between the signing server and other devices, such as obtaining location information sent by the signing terminal, etc., through the communication component.
  • the embodiment of the present application further provides a system for implementing an electronic signature, as shown in FIG. 11, including a signing terminal 1101 and a signing server 1102;
  • the specific structure of the signing terminal 1101 can be seen in FIG. 7.
  • the specific structure of the signing server 1102 can be seen in FIG.
  • the signing terminal 1101 is configured to parse the file to be signed to display the file content of the file to be signed; load the signature style picture to the display area of the file content; and determine the location based on the adjustment request for the signature style picture Determining location information of the signature style picture in the to-be-signed file; sending the location information to the signing server;
  • the signing server 1102 is configured to perform electronic signature on the to-be-signed file according to the location information.
  • the file to be signed is uploaded by the user.
  • the system may further include a storage device 1103.
  • the storage device may be a cloud storage device that implements a cloud storage service, and the cloud storage service may be, for example, an OSS.
  • the storage device may also be a file server or the like located on the side of the signing server.
  • the signing terminal 1101 is further configured to receive a file to be signed uploaded by the user, and upload the file to be signed to the storage device 1103.
  • the storage device 1103 saves the file to be signed, and generates a file address feedback to the signing terminal 801;
  • the signing terminal 1101 specifically displays the file content of the to-be-signed file acquired from the storage device.
  • the storage device 1103 establishes a connection with the signing terminal based on the http protocol. After the storage device 1103 obtains the file to be signed, it can be sent to the signing terminal for display by the signing terminal based on the http protocol.
  • the signing terminal 1101 sends the location information to the signing server, and is also used to send the file address of the file to be signed to the signing server 1102.
  • the signing server 1102 specifically downloads and obtains the to-be-signed file from the storage device 1103 based on the file address.
  • the signature server 1102 After the signature server 1102 performs electronic signature on the to-be-signed file according to the location information, the signature server 1102 is further configured to send the to-be-signed signature file to the storage device 1103 for storage, and obtain the to-be-signed file after the signature. The address is downloaded and the download address is fed back to the signing terminal 1101.
  • the signing terminal 1101 can output the download address; after receiving the download request of the user, the file to be signed after the signature can be downloaded from the download address, so that the user can obtain the file to be signed after the signature.
  • the electronic signature of the signature server for the signature file may include stamping the signature style picture and performing digital signature, which is the same as the prior art, and details are not described herein again.
  • the legal efficiency of an electronic signature is equivalent to a handwritten signature; the process of electronic signature can be repeated multiple times, so it can be applied to a multi-party stamped scene.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种实现电子签章的方法、装置、签署终端及签署服务器。其中,所述方法包括:解析待签名文件以显示文件内容(101);加载签章样式图片至所述文件内容的显示区域(102);基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件中的位置信息(103);发送所述位置信息至签署服务器,以供所述签署服务器按照所述位置信息对所述待签名文件进行电子签章(104)。所述方法实现了盖章效果预览,避免了盖章位置偏差,提高了电子签章的准确度。

Description

实现电子签章的方法、装置、签署终端及签署服务器
本申请要求2018年02月07日递交的申请号为201810124528.8、发明名称为“实现电子签章的方法、装置、签署终端及签署服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及计算机应用技术领域,尤其涉及一种实现电子签章的方法、一种信息显示方法、一种实现电子签章的装置、一种信息显示装置、一种签署终端及一种签署服务器。
背景技术
电子签章是电子签名的一种表现形式,其是利用图像处理技术将电子签名操作转化为与纸质文件盖章操作相同的可视效果,同时利用电子签名技术保障电子信息的真实性和完整性以及签名人的不可否认性。电子签章作为替代传统纸质签章的一种签章形式,得到了广泛使用。
目前实现电子签章的过程,首先由签署端将用户上传的待签名文件发送至签署服务器,签署服务器将签章样式图片加载至待签名文件中进行电子签章,签署服务器基于签章之后的文件生成下载链接,并反馈给签署端;签署端基于用户的下载请求,从该下载链接下载并保存签章之后的文件,用户即可以查看并使用该签章之后的文件。
但是这种实现电子签章的方案,需要预先约定在文件中的签章位置,通常采用固定位置,例如文件的右下角区域等。一旦文件内容发生变化,盖章位置就会发生偏差,导致盖章位置不够准确。
发明内容
本申请实施例提供一种实现电子签章的方法、装置及签署终端,用以解决现有技术中盖章位置不准确,导致电子签章不准确的技术问题。
第一方面,本申请实施例中提供了一种实现电子签章的方法,包括:
解析待签名文件以显示文件内容;
加载签章样式图片至所述文件内容的显示区域;
基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件 中的位置信息;
发送所述位置信息至签署服务器,以供所述签署服务器按照所述位置信息对所述待签名文件进行电子签章。
第二方面,本申请实施例中提供了一种实现电子签章的方法,包括:
获取签章样式图片在待签名文件中的位置信息;其中,所述位置信息由签署端解析待签名文件以显示文件内容,并加载签章样式图片至所述文件内容的显示区域之后,基于针对所述签章样式图片的调整请求而确定的;
按照所述位置信息对所述待签名文件进行电子签章。
第三方面,本申请实施例中提供了一种信息显示方法,包括:
显示待签名文件的文件内容;
在所述文件内容对应显示区域的任意位置,显示签章样式图片;
基于针对所述签章样式图片的调整请求,在所述显示区域的目标位置显示所述签章样式图片;所述目标位置的缩放位置坐标用于生成所述签章样式图片在所述待签名文件中的位置信息。
第四方面,本申请实施例中提供了一种实现电子签章的装置,包括:
解析模块,用于解析待签名文件以显示文件内容;
加载模块,用于加载签章样式图片至所述文件内容的显示区域;
位置确定模块,用于基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件中的位置信息;
签章触发模块,用于发送所述位置信息至签署服务器,以供所述签署服务器按照所述位置信息对所述待签名文件进行电子签章。
第五方面,本申请实施例中提供了一种实现电子签章的装置,包括:
位置获取模块,用于获取签章样式图片在待签名文件中的位置信息;其中,所述位置信息由签署端解析待签名文件以显示文件内容,并加载签章样式图片至所述文件内容的显示区域之后,基于针对所述签章样式图片的调整请求而确定的;
签章模块,用于按照所述位置信息对所述待签名文件进行电子签章。
第六方面,本申请实施例中提供了一种信息显示装置,提供显示待签名文件的文件内容的显示界面;其中,所述显示界面中所述文件内容对应显示区域的任意位置用以显示签章样式图片;
所述显示界面支持针对所述签章样式图片的位置调整,以基于针对所述签章样式图 片的调整请求,在所述显示区域的目标位置显示所述签章样式图片;所述目标位置的缩放位置坐标用于生成所述签章样式图片在所述待签名文件中的位置信息。
第七方面,本申请实施例中提供了一种签署终端,包括显示组件、存储组件以及处理组件;
所述存储组件存储一条或多条计算机指令,其中,所述一条或多条计算机指令供所述处理组件调用执行;
所述处理组件用于:
解析待签名文件以触发显示组件显示所述待签名文件的文件内容;
加载签章样式图片至所述文件内容的显示区域;
基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件中的位置信息;
发送所述位置信息至签署服务器,以供所述签署服务器按照所述位置信息对所述待签名文件进行电子签章。
第八方面,本申请实施例中提供了一种签署服务器,包括存储组件以及处理组件;
所述存储组件存储一条或多条计算机指令,其中,所述一条或多条计算机指令供所述处理组件调用执行;
所述处理组件用于:
获取签章样式图片在待签名文件中的位置信息;其中,所述位置信息由签署端解析待签名文件以显示文件内容,并加载签章样式图片至所述文件内容的显示区域之后,基于针对所述签章样式图片的调整请求而确定的;
按照所述位置信息对所述待签名文件进行电子签章。
本申请实施例中,将待签名文件解析以可以显示文件内容,并加载签章样式图片至文件内容的显示区域,实现待签名文件盖章效果的预览;用户可以请求对该签章样式图片进行调整,从而可以确定进行调整之后的签章样式图片在待签名文件中的位置信息,将该位置信息传输至签署服务器,由签署服务器基于该位置信息进行电子签章,可以保证盖章位置的不会出现偏差且符合用户要求,因此提高了电子签章的准确度。
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有 技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本申请提供一种实现电子签章的方法一个实施例的流程图;
图2示出了本申请提供一种实现电子签章的方法又一个实施例的流程图;
图3a示出了本申请实施例中待签名文件在签署端显示的一种示意图;
图3b示出了本申请实施例中图3a所示的待签名文件的真实示意图;
图4a示出了本申请实施例中待签名文件在浏览器显示的一种示意图;
图4b示出了本申请实施例中待签名文件在浏览器显示的另一种示意图;
图5示出了本申请提供的一种信息显示方法一个实施例的流程图;
图6示出了本申请提供的一种实现电子签章的装置一个实施例的结构示意图;
图7示出了本申请提供的一种实现电子签章的装置又一个实施例的结构示意图;
图8示出了本申请提供的一种签署终端一个实施例的结构示意图;
图9示出了本申请提供的一种实现电子签章的装置又一个实施例的结构示意图;
图10示出了本申请提供的一种签署服务器一个实施例的结构示意图;
图11示出了本申请提供的一种实现电子签章的系统一个实施例的结构示意图;
图12示出了本申请提供的一种实现电子签章的系统又一个实施例的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
在本申请的说明书和权利要求书及上述附图中的描述的一些流程中,包含了按照特定顺序出现的多个操作,但是应该清楚了解,这些操作可以不按照其在本文中出现的顺序来执行或并行执行,操作的序号如101、102等,仅仅是用于区分开各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。
本申请实施例的技术方案应用于电子签章场景中,通过电子签章可以提供与纸质盖章文件相同的可视觉效果,并利用电子签名技术保证电子信息的真实完整和前任的不可 抵赖,因此使用日渐广泛。
正如背景技术中所述,目前实现电子签章的过程存在一些问题,签署服务器往往采用固定位置作为盖章位置进行电子签章,而对于不同文件来说,采用相同位置容易出现盖章偏差;如果针对每个文件均事先预定盖章位置,需要预先配置,且一旦文件内容发生变化,仍然容易出现盖章偏差。而且现有技术中用户需要下载盖章之后的文件之后,才能获知盖章效果,即便盖章位置出现偏差也无法弥补。
为了提高盖章准确度,发明人经过一系列研究提出了本申请的技术方案,在本申请实施例中,可以将待签名文件解析以在签署端显示文件内容,并加载签章样式图片至文件内容所在区域,实现待签名文件盖章效果的预览;用户可以请求对该签章样式图片进行位置调整,从而可以确定进行调整之后的签章样式图片在待签名文件中的位置信息,将该位置信息传输至签署服务器,由签署服务器基于该位置信息进行电子签章,可以保证盖章位置的不会出现偏差且符合用户要求,提高了电子签章的准确度。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
图1为本申请实施例提供的一种实现电子签章的方法一个实施例的流程图,本实施例技术方案应用于签署端,在实际应用中该签署端可以为浏览器(Browser)或者客户端(Client)等。
该方法可以包括以下几个步骤:
101:解析待签名文件以显示文件内容。
其中,待签名文件由用户上传获得。
作为一种可选方式,签署端接收到用户上传的所述待签名文件之后,即可以对其进行解析以显示待签名文件的文件内容。
作为另一种可选方式,为了方便文件传输,签署端接收到用户上传的所述待签名文件之后,会发送至存储设备进行存储,存储设备会生成该待签名文件的文件地址,并反馈给签署端。存储设备可以为网盘等提供云存储服务的云存储设备,云存储服务例如可以是OSS(Object Storage Service,对象存储服务)等,当然存储设备也可以是位于签署服务器一侧的文件服务器。此时,所述显示待签名文件的文件内容之前还可以包括:
接收用户上传的待签名文件;
将所述待签名文件上传至存储设备;
所述解析待签名文件以显示所述待签名文件的文件内容具体是解析从所述存储设备获取的所述待签名文件以显示所述待签名文件的文件内容。
签署端为浏览器时,签署端与存储设备基于http协议建立连接,因此可以是获取存储设备通过http协议返回的待签名文件。
其中,待签名文件可以支持多种文档格式,例如PDF、WORD、TXT等。
签署端通过解析待签名文件,可以将待签名文件转换为签署端可以显示的文件格式,从而即可以在签署端显示所述待签名文件的文件内容。
其中,待签名文件的文件内容可以包括多页,通过响应于针对所述文件内容的滑动操作,可以在文件内容的显示区域滑动显示或翻页显示该多页中的页面内容,以方便用户确定盖章页面。该文件内容的显示区域用来完整显示待签名文件的任一页的页面内容。
待签名文件可以为版式文书,本身记录有长度以及宽度,例如A4、A3、8in(英寸)*6in等。
102:加载签章样式图片至所述文件内容的显示区域。
103:基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件中的位置信息。
可选地,该签章样式图片可以加载至所述显示区域中的任意位置,当前,该任意位置可以为预先设置的。
签章样式图片在文件内容的显示区域进行显示之后,用户可以请求对其显示位置进行调整。
作为一种可选方式,签章样式图片在该显示区域中可以支持拖动,也即针对所述签章样式图片的调整请求可以是响应于针对该签章样式图片的拖动操作而触发的。因此步骤103可以包括:
响应于针对所述签章样式图片的拖动操作,生成调整请求;
基于所述调整请求,确定所述签章样式图片在所述待签名文件中的位置信息。
其中,该签章样式图片可以以页面浮层形式覆盖在所述显示区域上,以支持拖动操作。用户可以通过拖动签章样式图片而调整签章样式图片在显示区域中的显示位置。
作为又一种可选方式,针对所述签章样式图片的调整请求可以是响应于用户输入调整参数的输入操作而触发的。
其中,该输入操作可以是语音输入操作或者文字输入操作等,可以输出相应的调整控件,以采集用户输入的调整参数。该调整参数可以包括目标位置坐标。
因此,基于调整请求即可以确定用户输入的调整参数,可以按照该调整参数,调整签章样式图片的显示位置。基于该调整参数也即可以确定签章样式图片在所述待签名文件中对应的位置信息。
作为一种可选方式,还可以输出位置选择提示信息,该位置信息提示信息可以包括多个待调整位置,以提示用户进行选择,因此针对所述签章样式图片的调整请求可以是响应于针对所述多个待调整位置的选择操作而触发生成的。
其中,基于针对所述签章样式图片的调整请求,可以确定调整之后的所述签章样式图片在所述显示区域中的缩放位置坐标,进而可以确定签章样式图片在所述待签名文件中盖章位置坐标。
该位置信息可以包括签章样式图片在待签名文件中的盖章位置坐标;还可以包括签章样式图片在所述待签名文件中对应的页码等。
104:发送所述位置信息至签署服务器,以供所述签署服务器按照所述位置信息对所述待签名文件进行电子签章。
本申请实施例中,实现了对签章效果的预览,位置信息基于用户对签章样式图片的调整操作而获得,从而可以保证盖章位置的准确度。
签署服务器对签名文件进行电子签章的过程与现有技术相同,在此不再一一赘述。
由于显示区域的分辨率与待签名文件的分辨率可能不同,为了正常显示待签名文件,需要将待签名文件进行缩放之后再显示。
因此,在某些实施例中,所述加载签章样式图片至所述文件内容的显示区域可以包括:
按照所述待签名文件的缩放比例,调整签章样式图片;
加载调整之后的所述签章样式图片至所述显示区域。
其中,待签名文件的缩放比例可以基于待签名文件的分辨率以及文件内容的显示区域的分辨率计算获得。
其中,如果待签名文件以及签章样式图片按照缩放比例进行了调整,签章样式图片在显示区域中的位置坐标,也需要按照所述缩放比例进行还原,才可以获得签章样式图片在待签名文件中的位置坐标。
因此,在某些实施例中,所述响应于针对所述签章样式图片的调整操作,确定所述签章样式图片在所述待签名文件中的位置信息包括:
响应于针对所述签章样式图片的调整操作,记录调整之后的所述签章样式图片在所述显示区域中的位置坐标;
基于所述位置坐标以及所述缩放比例,获得所述签章样式图片在所述待签名文件中的盖章位置坐标;
基于所述盖章位置坐标,生成位置信息。
例如,调整之后的所述签章样式图片在所述显示区域中的位置坐标为:(X:200px,Y:300px),其中,px表示像素,假设缩放比例为2,则签章样式图像在待签名文件中的位置坐标即为(X^:200px*2=400px,Y^:300px*2=600px)。
其中,签署端为浏览器或者内嵌浏览器框架的客户端时,为了显示待签名文件的文件内容,需要将待签名文件渲染成html形式的网页页面进行展示。
因此,在某些实施例中,所述解析待签名文件以显示待签名文件的文件内容可以包括:
调用渲染组件解析所述待签名文件;
将所述待签名文件的文件内容绘制到画布中。
画布(canvas)为html中的一种元素,将文件内容绘制在画布中,即可以显示文件内容。
此外,还可以在所述画布上覆盖页面浮层。通过覆盖页面浮层,可以用来支持高亮、选择、复制等辅助功能。
以待签名文件为PDF文档为例,PDF文档由字节码组成,描述了其中各种形式的内容信息。
通过调用渲染组件可以解析PDF文档中的字节码,将字节码对应的元素逐一绘制到浏览器的画布(canvas)上,由于画布只能用于显示内容,无法选中内容,因此可以覆盖一层页面浮层,该页面浮层也即是html浮层通过在画布中绘制文件内容,即在浏览器的显示界面中形成文件内容的显示区域。该显示区域的大小可以基于画布尺寸确定。
其中,在所述画布中绘制所述待签名文件的文件内容之前,可以首先设置画布尺寸。从而基于该画布尺寸可以确定显示区域的分辨率,进而根据显示区域的分辨率以及待签名文件的分辨率,即可以确定待签名文件的缩放比例,将待签名文件按照所述缩放比例 进行调整,从而可以在所述画布中绘制调整之后的所述待签名文件的文件内容。
图2为本申请提供的一种实现电子签章的方法又一个实施例的流程图,本实施例技术方案应用于签署端,在实际应用中该签署端可以为浏览器、当然也可以是安装在移动终端中的客户端等。
该方法可以包括以下几个步骤:
201:基于显示区域的分辨率以及待签名文件的分辨率,确定所述待签名文件的缩放比例。
其中,为了保证显示不失真,所述待签名文件的显示比例保持不变;显示比例也即待签名文件的长宽比。
如果待签名文件包括多页,待签名文件的显示比例以及分辨率具体可以是指待签名文件的任一页的显示比例以及分辨率,各页的显示比例以及分辨率相同。
例如显示区域的分辨率为600*800,待签名文件的分辨率为1200*1600,则缩放比例即为2,需要将待签名文件保持显示比例不变的前提下缩小2倍。
202:按照所述缩放比例调整所述待签名文件。
203:解析调整之后的所述待签名文件以显示文件内容。
可选地,可以是通过调用渲染组件来设置画布尺寸,基于所述画布尺寸可以确定所述显示区域的分辨率。
步骤203可以是调用所述渲染组件将调整之后的所述待签名文件的文件内容绘制到所述画布中,并覆盖页面浮层,以转换为网页页面进行显示。
204:按照所述缩放比例调整签章样式图片。
205:加载调整之后的所述签章样式图片至所述显示区域。
206:基于针对所述签章样式图片的调整请求,确定调整之后的所述签章样式图片在所述显示区域中的缩放位置坐标。207:基于所述缩放位置坐标以及所述缩放比例,获得所述签章样式图片在所述待签名文件中的盖章位置坐标。
其中,由于拖动操作可以执行多次,所述基于所述缩放位置坐标以及所述缩放比例,获得所述签章样式图片在所述待签名文件中的盖章位置坐标可以是:
接收到用户确认请求时,基于最近一次记录的缩放位置坐标以及所述缩放比例,获得所述签章样式图片在所述待签名文件中的盖章位置坐标。
208:基于盖章位置坐标生成位置信息。
208:发送所述位置信息至签署服务器,以供所述签署服务器按照所述位置信息对所述待签名文件进行电子签章。
该位置信息包括所述盖章位置坐标。
此外,该位置信息还可以包括所述签章样式图片在所述待签名文件中所在的页码。
从而签署服务器基于签章样式图片在所述待签名文件中所在的页码,可以从待签名文件中找到盖章页面,并基于所述盖章位置坐标,在该盖章页面进行电子签章。
此外,由于显示区域与待签名文件的坐标轴可能不同,例如在浏览器中,显示区域的坐标原点在左下角,而对于PDF格式的待签名文件,坐标原点通常位于左上角。
因此具体可以是基于所述位置坐标、所述缩放比例以及坐标轴转换关系,获得所述签章样式图片在所述待签名文件中的位置信息。
例如图3a中为待签名文件在签署端进行显示的一种显示示意图,可知显示区域301的坐标原点(0,0)位于显示区域301的左下角。显示区域301用来显示待签名文件的文件内容302,该文件内容302渲染成html形式的网页页面进行展示。如果待签名文件包括多页,其显示的即为待签名文件的任一页的页面内容,并可以基于用户请求,显示其它页的页面内容。
该显示区域的分辨率为X a*Y a,也即长度为X a,宽度为Y a,显示区域四个顶角的位置坐标分别为(0,0),(X a,0),(X a,Y a),(0,Y a),调整之后的签章样式图片的分辨率为a*b,也即长度为a,宽度为b。
签章样式图片在显示区域的缩放位置坐标可以以两个对角点的位置坐标表示,例如图3a中,签章样式图片303的C点的缩放位置坐标为(X c,Y c),D点的缩放位置坐标为(X d,Y d)。如图3b为待签名文件的真实示意图,该待签名文件的坐标原点(0,0)位于待签名文件的左下角,该待签名文件的分辨率为X^ a*Y^ a,也即长度为X^ a,宽度为Y^ a,四个顶角的位置坐标为(0,0),(X^ a,0),(X^ a,Y^ a),(0,Y^ a)。
因此基于缩放比例,可以将C点缩放位置坐标(X c,Y c)以及D点缩放位置坐标(X d,Y d)进行坐标轴转换,以映射获得签章样式图片在待签名文件中的C^点的盖章位置坐标(X^ c,Y^ c)以及D^点的盖章位置坐标(X^ d,Y^ d)。
假设缩放比例为2,其中,X^ a=X a*2,Y^ a=Y a*2;
据此,可知。
X^ c=X c*2;
Y^ c=Y^ a-Y c*2;
X^ d=X c*2+a*2;
Y^ d=Y^ a-Y c*2+b*2。
签署服务器基于盖章位置坐标(X^ c,Y^ c)以及(X^ d,Y^ d)即可以确定盖章位置,从而可以基于盖章位置进行电子签章。
需要说明的是,上述仅是举例说明,并不限定本申请的待签名文件与显示区域具有上述的坐标轴转换关系。
在实际应用中,签署端可以为安装于PC(personal computer,个人计算机)或者移动终端等电子设备上的浏览器,待签名文件可以渲染成html形式在浏览器中显示。如图4a~图4b分别为在浏览器中显示待签名文件的文件内容的显示示意图。
浏览器400解析待签名文件以在所述浏览器400的显示界面401的显示区域402以html形式的网页页面展示所述待签名文件的文件内容403。
签章样式图片404加载至该显示区域402中,其可以加载至显示区域402的任意位置,如图4a中所述。
该签章样式图片404以html形式的页面浮层加载至显示区域402,从而支持拖动操作。用户可以拖动签章样式图片404,以更改签章样式图片404在显示区域中的位置。
其中,待签名文件的文件内容402以及签章样式图片404均是按照缩放比例调整之后进行的显示。
因此,通过响应于针对该签章样式图片404的拖动操作,可以记录拖动之后的签章样式图片404在显示区域中的缩放位置坐标。
用户拖动所述签章样式图片404至显示区域中的目标位置之后,可以触发确认请求,可选地,在显示界面中可以输出确认提示信息,该确认提示信息例如可以是如图4a或图4b中的确认控件405,通过触发该确认控件405可以触发确认请求。
浏览器401接收到该确认请求之后,基于最后一次记录的缩放位置坐标以及缩放比例,即可以获得签章样式图片404在待签名文件中的盖章坐标位置。
从而可以将包括盖章位置坐标的位置信息发送至签署服务器,由签署服务器基于该位置信息对待签名文件进行电子签章。
其中,本申请实施例中,签署端接收到用户上传的待签名文件可以保存至存储设备中,由存储设备生成该待签名文件的文件地址。
因此在某些实施例中,所述将所述位置信息发送至签署服务器的同时,所述方法还可以包括:
将所述待签名文件的文件地址发送至所述签署服务器,以供所述签署服务器基于所述文件地址,从所述存储设备下载所述待签名文件。
由上述描述可知,本申请实施例中,通过显示待签名文件的文件内容,并将签章样式图片加载至文件内容的显示区域,实现盖章效果的预览,且签章样式图片的显示位置可以调整,从而可以结合用户需求确定盖章位置,以此提高了电子签章的准确度。
因此,如图5所示,本申请实施例还提供了一种信息显示方法,本实施例技术方案具体应用于签署端,该方法可以包括以下几个步骤:
501:显示待签名文件的文件内容。
通过解决该待签名文件即可以显示其文件内容,解析操作可以参见上述实施例中所述,在此不再赘述。
502:在所述文件内容对应显示区域的任意位置,显示签章样式图片。
503:基于针对所述签章样式图片的调整请求,在所述显示区域的目标位置显示所述签章样式图片。
其中,该目标位置也即是调整之后的签章样式图片在显示区域中的位置。
该目标位置的缩放位置坐标用于生成所述签章样式图片在所述待签名文件中的位置信息。
该位置信息用于提供至签署服务器。签署服务器即可以按照所述位置信息对所述待签名文件进行电子签章。
图6为本申请提供的一种实现电子签章的装置一个实施例的结构示意图,在实际应用中,该装置可以配置为签署端,该签署端可以是浏览器或者客户端等。
该装置可以包括:
解析模块601,用于解析待签名文件以显示文件内容。
其中,待签名文件由用户上传获得。
加载模块602,用于加载签章样式图片至所述文件内容的显示区域。
可选地,该加载模块可以用于加载所述签章样式图片至所述显示区域中的任意位置或者预定位置。
位置确定模块603,用于基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件中的位置信息。
其中,该签章样式图片可以以页面浮层形式覆盖在所述显示区域上,以支持拖动操作。用户可以通过拖动签章样式图片而调整签章样式图片在显示区域中的显示位置。因此,可选地,所述位置确定模块可以具体用于响应于针对所述签章样式图片的拖动操作,生成调整请求;基于所述调整请求,确定所述签章样式图片在所述待签名文件中的位置信息。
因此,基于针对所述签章样式图片的拖动操作,即可以确定所述签章样式图片在所述显示区域中的缩放位置坐标,进而可以确定签章样式图片在所述待签名文件中盖章位置坐标。
该位置信息可以包括签章样式图片在待签名文件中的盖章位置坐标;还可以包括签章样式图片在所述待签名文件中的页码等。
签章触发模块604,用于发送所述位置信息至签署服务器,以供所述签署服务器按照所述位置信息对所述待签名文件进行电子签章。
本申请实施例中,实现了对签章效果的预览,位置信息基于用户对签章样式图片的调整操作而获得,从而可以保证盖章位置的准确度。
签署服务器对签名文件进行电子签章的过程与现有技术相同,在此不再一一赘述。
由于显示区域的分辨率与待签名文件的分辨率可能不同,为了正常显示待签名文件,需要将待签名文件进行缩放之后再显示。因此,作为又一个实施例,如图7中所示,与图6所示实施例不同之处在于,所述加载模块602可以包括:
调整单元701,用于按照所述待签名文件的缩放比例,调整签章样式图片;
加载单元702,用于加载调整之后的所述签章样式图片至所述显示区域。
其中,待签名文件的缩放比例可以基于待签名文件的分辨率以及文件内容的显示区域的分辨率计算获得。
因此,在某些实施例中,如图7中所示,该装置还可以包括:
比例确定模块605,用于基于所述显示区域的分辨率以及所述待签名文件的分辨率,确定所述待签名文件的缩放比例;其中,所述待签名文件的显示比例保持不变;
所述解析模块601具体用于按照所述缩放比例调整所述待签名文件;显示调整之后的所述待签名文件的文件内容。
其中,如果待签名文件以及签章样式图片按照缩放比例进行了调整,签章样式图片在显示区域中的位置坐标,也需要按照所述缩放比例进行还原,才可以获得签章样式图片在待签名文件中的位置坐标。
因此,在某些实施例中,如图7中所示,所述位置确定模块603可以包括:
位置记录单元703,用于响应于针对所述签章样式图片的拖动操作,记录拖动之后的所述签章样式图片在所述显示区域中的缩放位置坐标;
位置计算单元704,用于基于所述缩放位置坐标以及所述缩放比例,获得所述签章样式图片在所述待签名文件中的盖章位置坐标;
信息生成单元705,用于基于所述盖章位置坐标,生成位置信息。
其中,签署端为浏览器或者内嵌浏览器框架的客户端时,为了显示待签名文件的文件内容,需要将待签名文件渲染成html形式的网页页面进行展示。
因此,在某些实施例中,所述解析模块可以具体用于;
调用渲染组件解析所述待签名文件;
将所述待签名文件的文件内容绘制到画布中;并在所述画布上覆盖页面浮层。
其中,所述解析模块在所述画布中绘制所述待签名文件的文件内容之前,可以首先设置画布尺寸。从而基于该画布尺寸可以确定显示区域的分辨率,进而比例确定模块即可以根据显示区域的分辨率以及待签名文件的分辨率,确定待签名文件的缩放比例,解析模块将待签名文件按照所述缩放比例进行调整之后,再在所述画布中绘制调整之后的所述待签名文件的文件内容。
在某些实施例中,签署端接收到用户上传的待签名文件可以保存至存储设备中,由存储设备生成该待签名文件的文件地址。
因此,所述装置还可以包括:
文件保存模块,用于接收用户上传的待签名文件,并将所述待签名文件上传至存储设备;
地址发送模块,用于将所述待签名文件的文件地址发送至所述签署服务器,以供所述签署服务器基于所述文件地址,从所述存储设备下载所述待签名文件;
所述解析模块具体用于解析从所述存储设备获取的所述待签名文件并显示所述待 签名文件的文件内容。
图5或图6所述的实现电子签章的装置可以执行图1或图2所示实施例所述的实现电子签章的方法,其实现原理和技术效果不再赘述。对于上述实施例中的实现电子签章的装置其中各个模块、单元执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
此外,与图5所示的信息显示方法对应,本申请实施例还提供了一种信息显示装置,该信息显示装置可以配置于签署端中,该签署端可以是浏览器或者客户端等。
该信息显示装置提供一显示待签名文件的文件内容的显示界面;其中,所述显示界面中所述文件内容对应显示区域的任意位置用以显示签章样式图片;
所述显示界面支持针对所述签章样式图片的位置调整,以基于针对所述签章样式图片的调整请求,在所述显示区域的目标位置显示所述签章样式图片;所述目标位置的缩放位置坐标用于生成所述签章样式图片在所述待签名文件中的位置信息。
其中,该显示界面的示意图可以如图4a或者图4b中所示。
在一个可能的设计中,图6或图7所示实施例的实现电子签章的装置可以实现为一签署终端,在实际应用中,该签署终端可以为计算机或者各种移动终端等。
如图8所示,该签署终端可以包括显示组件801、存储组件802以及处理组件803;
所述存储组件802存储一条或多条计算机指令,其中,所述一条或多条计算机指令供所述处理组件803调用执行。
所述处理组件803用于:
解析待签名文件以触发显示组件801显示所述待签名文件的文件内容;
加载签章样式图片至所述文件内容的显示区域;
基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件中的位置信息;
发送所述位置信息至签署服务器,以供所述签署服务器按照所述位置信息对所述待签名文件进行电子签章。
可选地,所述处理组件703可以用于实现上述任一实施例所述的实现电子签章的方法。
其中,处理组件703可以包括一个或多个处理器来执行计算机指令,以完成上述的 方法中的全部或部分步骤。当然处理组件也可以为一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
存储组件701被配置为存储各种类型的数据以支持签署终端的操作。存储器可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
其中,该显示组件702可以提供一显示界面,以用于显示待签名文件的文件内容。该显示界面中所述文件内容对应显示区域的任意位置用以显示签章样式图片。
该显示界面可以支持针对所述签章样式图片的位置调整,显示组件可以相应的生成调整请求;从而处理组件基于针对所述签章样式图片的调整请求,即可以确定所述签章样式图片在所述待签名文件中的位置信息。
该显示界面还可以在所述显示区域的目标位置显示所述签章样式图片;该目标位置也就基于调整请求,将签章样式图片调整之后的显示位置。
可选地,上述实施例中所述的信息显示装置在一个可能的设计中还可以实现为该显示组件702。
当然,签署终端必然还可以包括其他部件,例如输入/输出接口、通信组件等。
输入/输出接口为处理组件和外围接口模块之间提供接口,上述外围接口模块可以是输出设备、输入设备等。
通信组件被配置为便于签署终端和其他设备之间有线或无线方式的通信,例如具体通过通信组件发送所述位置信息至签署服务器。
本申请实施例还提供了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被计算机执行时可以实现上述图1或图2所示实施例的实现电子签章的方法。
图9为本申请提供的一种实现电子签章的装置又一个实施例的结构示意图,在实际应用中,该装置可以配置在签署服务器中。
该装置可以包括:
位置获取模块901,用于获取签章样式图片在待签名文件中的位置信息;其中,所 述位置信息由签署端解析待签名文件以显示文件内容,并加载签章样式图片至所述文件内容的显示区域之后,基于针对所述签章样式图片的调整请求而确定的;
签章模块902,用于按照所述位置信息对所述待签名文件进行电子签章。
此外,如果待签名文件存储至存储设备,该装置还可以包括:
地址获取模块,用于获取签署端发送的所述待签名文件的文件地址;
文件获取模块,用于基于所述文件地址,从所述存储设备下载所述待签名文件。
则签章模块具体是对文件获取模块下载获得的所述待签名文件进行电子签章。
在一个可能的设计中,图9所示实施例的实现电子签章的装置可以实现为一签署服务器。如图10所示,该签署服务器可以包括存储组件1001以及处理组件1002;
所述存储组件1001存储一条或多条计算机指令,其中,所述一条或多条计算机指令供所述处理组件调用执行;
所述处理组件1002用于:
获取签章样式图片在待签名文件中的位置信息;其中,所述位置信息由签署端解析待签名文件以显示文件内容,并加载签章样式图片至所述文件内容的显示区域之后,基于针对所述签章样式图片的调整请求而确定的;
按照所述位置信息对所述待签名文件进行电子签章。
其中,处理组件1002可以包括一个或多个处理器来执行计算机指令,以完成上述的方法中的全部或部分步骤。当然处理组件也可以为一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
存储组件1001被配置为存储各种类型的数据以支持签署服务器的操作。存储器可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
当然,签署服务器必然还可以包括其他部件,例如输入/输出接口、通信组件等。
输入/输出接口为处理组件和外围接口模块之间提供接口,上述外围接口模块可以是输出设备、输入设备等。
通信组件被配置为便于签署服务器和其他设备之间有线或无线方式的通信,例如具 体通过通信组件获取签署终端发送的位置信息等。
本申请实施例还提供了一种实现电子签章的系统,如图11所示,包括签署终端1101以及签署服务器1102;
其中,签署终端1101的具体结构可以参见图7中所示,签署服务器1102的具体结构可以参见图9中所示。
所述签署终端1101用于解析待签名文件以显示所述待签名文件的文件内容;加载签章样式图片至所述文件内容的显示区域;基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件中的位置信息;发送所述位置信息至签署服务器;
所述签署服务器1102用于按照所述位置信息对所述待签名文件进行电子签章。
其中,待签名文件由用户上传获得,为了方便文件传输,该系统还可以包括存储设备1103,其中,该存储设备可以是实现云存储服务的云存储设备,云存储服务例如可以是OSS等,当然存储设备也可以是位于签署服务器一侧的文件服务器等。
如图12中所示。
签署终端1101还用于接收用户上传的待签名文件;将所述待签名文件上传至存储设备1103。
存储设备1103保存所述待签名文件,并生成文件地址反馈给签署终端801;
签署终端1101具体是显示从所述存储设备获取的所述待签名文件的文件内容。存储设备1103与签署终端基于http协议建立连接,存储设备1103获得待签名文件之后,可以基于http协议发送至签署终端以供签署终端显示。
签署终端1101所述将所述位置信息发送至签署服务器的同时,还用于将所述待签名文件的文件地址发送至所述签署服务器1102。
签署服务器1102具体是基于所述文件地址,从所述存储设备1103下载获得所述待签名文件。
签署服务器1102按照所述位置信息对所述待签名文件进行电子签章之后,还用于将签章之后的待签名文件发送至存储设备1103进行保存,获得所述签章之后的待签名文件的下载地址,并将所述下载地址反馈给签署终端1101。
签署终端1101可以输出该下载地址;接收到用户的下载请求之后,即可以从该下载地址下载签章之后的待签名文件,从而用户即可以获得签章之后的待签名文件。
其中,签署服务器对待签名文件进行电子签章可以包括加盖签章样式图片以及进行 数字签名,与现有技术相同,在此不再赘述。电子签章的法律效率等同于手写签名;电子签章的过程可以重复多次,因此可以用来应用于多方盖章的场景。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (14)

  1. 一种实现电子签章的方法,其特征在于,包括:
    解析待签名文件以显示文件内容;
    加载签章样式图片至所述文件内容的显示区域;
    基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件中的位置信息;
    发送所述位置信息至签署服务器,以供所述签署服务器按照所述位置信息对所述待签名文件进行电子签章。
  2. 根据权利要求1所述的方法,其特征在于,所述加载签章样式图片至所述文件内容的显示区域包括:
    按照所述待签名文件的缩放比例,调整签章样式图片;
    加载调整之后的所述签章样式图片至所述显示区域。
  3. 根据权利要求2所述的方法,其特征在于,所述基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件中的位置信息包括:
    基于针对所述签章样式图片的调整请求,确定调整之后的所述签章样式图片在所述显示区域中的缩放位置坐标;
    基于所述缩放位置坐标以及所述缩放比例,获得所述签章样式图片在所述待签名文件中的盖章位置坐标;
    基于所述盖章位置坐标,生成位置信息。
  4. 根据权利要求1所述的方法,其特征在于,所述解析待签名文件以显示文件内容包括:
    调用渲染组件解析所述待签名文件;
    将所述待签名文件的文件内容绘制到画布中。
  5. 根据权利要求2所述的方法,其特征在于,还包括:
    基于所述显示区域的分辨率以及所述待签名文件的分辨率,确定所述待签名文件的缩放比例;其中,所述待签名文件的显示比例保持不变;
    所述解析待签名文件以显示文件内容包括:
    按照所述缩放比例调整所述待签名文件;
    解析待调整之后的所述待签名文件以显示文件内容。
  6. 根据权利要求1所述的方法,其特征在于,所述解析待签名文件以显示所述待 签名文件的文件内容之前,所述方法还包括:
    接收用户上传的待签名文件;
    将所述待签名文件上传至存储设备;
    所述解析待签名文件以显示文件内容包括:
    解析从所述存储设备获取的所述待签名文件以显示文件内容;
    所述将所述位置信息发送至签署服务器的同时,所述方法还包括:
    将所述待签名文件的文件地址发送至所述签署服务器,以供所述签署服务器基于所述文件地址,从所述存储设备下载所述待签名文件。
  7. 根据权利要求1~6任一项所述的方法,其特征在于,所述基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件中的位置信息包括:
    响应于针对所述签章样式图片的拖动操作,生成调整请求;
    基于所述调整请求,确定所述签章样式图片在所述待签名文件中的位置信息。
  8. 一种实现电子签章的方法,其特征在于,包括:
    获取签章样式图片在待签名文件中的位置信息;其中,所述位置信息由签署端解析待签名文件以显示文件内容,并加载签章样式图片至所述文件内容的显示区域之后,基于针对所述签章样式图片的调整请求而确定的;
    按照所述位置信息对所述待签名文件进行电子签章。
  9. 一种信息显示方法,其特征在于,包括:
    显示待签名文件的文件内容;
    在所述文件内容对应显示区域的任意位置,显示签章样式图片;
    基于针对所述签章样式图片的调整请求,在所述显示区域的目标位置显示所述签章样式图片;所述目标位置的缩放位置坐标用于生成所述签章样式图片在所述待签名文件中的位置信息。
  10. 一种实现电子签章的装置,其特征在于,包括:
    解析模块,用于解析待签名文件以显示文件内容;
    加载模块,用于加载签章样式图片至所述文件内容的显示区域;
    位置确定模块,用于基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件中的位置信息;
    签章触发模块,用于发送所述位置信息至签署服务器,以供所述签署服务器按照所述位置信息对所述待签名文件进行电子签章。
  11. 一种实现电子签章的装置,其特征在于,包括:
    位置获取模块,用于获取签章样式图片在待签名文件中的位置信息;其中,所述位置信息由签署端解析待签名文件以显示文件内容,并加载签章样式图片至所述文件内容的显示区域之后,基于针对所述签章样式图片的调整请求而确定的;
    签章模块,用于按照所述位置信息对所述待签名文件进行电子签章。
  12. 一种信息显示装置,其特征在于,提供显示待签名文件的文件内容的显示界面;其中,所述显示界面中所述文件内容对应显示区域的任意位置用以显示签章样式图片;
    所述显示界面支持针对所述签章样式图片的位置调整,以基于针对所述签章样式图片的调整请求,在所述显示区域的目标位置显示所述签章样式图片;所述目标位置的缩放位置坐标用于生成所述签章样式图片在所述待签名文件中的位置信息。
  13. 一种签署终端,其特征在于,包括显示组件、存储组件以及处理组件;
    所述存储组件存储一条或多条计算机指令,其中,所述一条或多条计算机指令供所述处理组件调用执行;
    所述处理组件用于:
    解析待签名文件以触发显示组件显示所述待签名文件的文件内容;
    加载签章样式图片至所述文件内容的显示区域;
    基于针对所述签章样式图片的调整请求,确定所述签章样式图片在所述待签名文件中的位置信息;
    发送所述位置信息至签署服务器,以供所述签署服务器按照所述位置信息对所述待签名文件进行电子签章。
  14. 一种签署服务器,其特征在于,包括存储组件以及处理组件;
    所述存储组件存储一条或多条计算机指令,其中,所述一条或多条计算机指令供所述处理组件调用执行;
    所述处理组件用于:
    获取签章样式图片在待签名文件中的位置信息;其中,所述位置信息由签署端解析待签名文件以显示文件内容,并加载签章样式图片至所述文件内容的显示区域之后,基于针对所述签章样式图片的调整请求而确定的;
    按照所述位置信息对所述待签名文件进行电子签章。
PCT/CN2019/074055 2018-02-07 2019-01-31 实现电子签章的方法、装置、签署终端及签署服务器 Ceased WO2019154235A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810124528.8 2018-02-07
CN201810124528.8A CN110119235A (zh) 2018-02-07 2018-02-07 实现电子签章的方法、装置、签署终端及签署服务器

Publications (1)

Publication Number Publication Date
WO2019154235A1 true WO2019154235A1 (zh) 2019-08-15

Family

ID=67519625

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/074055 Ceased WO2019154235A1 (zh) 2018-02-07 2019-01-31 实现电子签章的方法、装置、签署终端及签署服务器

Country Status (3)

Country Link
CN (1) CN110119235A (zh)
TW (1) TW201935302A (zh)
WO (1) WO2019154235A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115718914A (zh) * 2021-08-24 2023-02-28 北京有限元科技有限公司 电子印章认证授权方法及系统、计算设备、存储介质
CN121118015A (zh) * 2025-09-04 2025-12-12 药兜(北京)国际医药有限公司 一种电子签章的信息处理方法、装置及设备

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078630A (zh) * 2019-12-20 2020-04-28 方正国际软件(北京)有限公司 一种签章系统及方法
CN112306977A (zh) * 2020-10-30 2021-02-02 中国平安人寿保险股份有限公司 基于异步处理的文件签章方法、装置、计算机设备
CN112559938A (zh) * 2020-12-21 2021-03-26 深圳云之家网络有限公司 电子印章文件生成方法、装置、计算机设备和存储介质
JP2022148738A (ja) * 2021-03-24 2022-10-06 東芝テック株式会社 画像形成装置、および制御方法
CN113239408B (zh) * 2021-05-10 2022-07-08 万翼科技有限公司 电子签章系统、方法、装置、设备及存储介质
CN113656766B (zh) * 2021-08-02 2024-04-12 中金金融认证中心有限公司 向电子文档签署骑缝章的方法、系统及存储介质
CN114241504A (zh) * 2021-10-11 2022-03-25 上海中通吉网络技术有限公司 一种在线指定电子签章签署位置的方法和系统
CN113918059B (zh) * 2021-10-26 2023-11-28 国电南瑞科技股份有限公司 一种电子云签章的签章位置定位方法及装置
CN114066425A (zh) * 2021-11-25 2022-02-18 中国建设银行股份有限公司 电子审批方法、装置、设备及介质
CN114187385A (zh) * 2021-12-20 2022-03-15 平安付科技服务有限公司 一种电子账单无纸化方法、装置、计算机设备及存储介质
CN114549702A (zh) * 2022-02-25 2022-05-27 中国建设银行股份有限公司 一种盖章文件生成方法、装置、设备及介质
CN116188630A (zh) * 2023-02-09 2023-05-30 北京五八信息技术有限公司 电子印章生成方法、装置、设备及存储介质
TWI908035B (zh) * 2023-04-20 2025-12-11 凱鈿行動科技股份有限公司 在電子文件上嵌入憑證的系統、裝置和方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162513A (zh) * 2006-10-11 2008-04-16 中国民生银行股份有限公司 电子签章系统与签署电子签章的方法
CN103065234A (zh) * 2011-10-21 2013-04-24 上海中信信息发展股份有限公司 电子签批系统
CN104346581A (zh) * 2014-10-28 2015-02-11 国家电网公司 在设计图上添加电子印章的方法及其装置
CN107346399A (zh) * 2017-06-14 2017-11-14 山东同智伟业软件股份有限公司 电子签章方法及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655946B (zh) * 2009-09-24 2012-08-01 青岛海信移动通信技术股份有限公司 一种实现电子印章的方法、系统和设备
US9986080B2 (en) * 2016-06-24 2018-05-29 Sandisk Technologies Llc Mobile device and method for displaying information about files stored in a plurality of storage devices
CN106127456A (zh) * 2016-06-30 2016-11-16 昆山百润科技股份有限公司 具有盖章位置记忆功能的电子印章签盖方法
CN106446192B (zh) * 2016-09-29 2020-02-21 恒大智慧科技有限公司 签核文件管理方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162513A (zh) * 2006-10-11 2008-04-16 中国民生银行股份有限公司 电子签章系统与签署电子签章的方法
CN103065234A (zh) * 2011-10-21 2013-04-24 上海中信信息发展股份有限公司 电子签批系统
CN104346581A (zh) * 2014-10-28 2015-02-11 国家电网公司 在设计图上添加电子印章的方法及其装置
CN107346399A (zh) * 2017-06-14 2017-11-14 山东同智伟业软件股份有限公司 电子签章方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115718914A (zh) * 2021-08-24 2023-02-28 北京有限元科技有限公司 电子印章认证授权方法及系统、计算设备、存储介质
CN121118015A (zh) * 2025-09-04 2025-12-12 药兜(北京)国际医药有限公司 一种电子签章的信息处理方法、装置及设备

Also Published As

Publication number Publication date
TW201935302A (zh) 2019-09-01
CN110119235A (zh) 2019-08-13

Similar Documents

Publication Publication Date Title
WO2019154235A1 (zh) 实现电子签章的方法、装置、签署终端及签署服务器
US20200092430A1 (en) Mobile Solution for Importing and Signing Third-Party Electronic Signature Documents
US9454798B2 (en) Systems and methods of automatic image sizing
US10572546B2 (en) Information processing apparatus, document display method, document display system, and medium
CN105589836A (zh) 文档预览方法、终端及服务器
CN107256259B (zh) 页面显示方法、装置、电子设备以及存储介质
US9256919B2 (en) Systems and methods for image processing using a resizing template
US11676316B1 (en) Shareable settings for modifying images
US20230050263A1 (en) Systems and Methods of Generating a Website
WO2016066147A2 (zh) 一种用于处理图像的方法与设备
CN102436484A (zh) 网页图片放大处理方法及网页图片放大处理系统
CN110471656A (zh) 组件层级的调整方法和装置
CN114969611B (zh) 网页打印方法、装置、设备及介质
CN110895481A (zh) 桌面应用的渲染方法、装置和系统
CN111078630A (zh) 一种签章系统及方法
CN118331520A (zh) 一种ofd电子发票的打印方法和装置
US20190180489A1 (en) Systems and methods for digital content delivery over a network
CN112445394B (zh) 一种截图方法和装置
US20250298492A1 (en) Multiple aspect ratio image system
WO2020015162A1 (zh) 混合应用的图片处理方法、装置、计算机设备及存储介质
US9667724B2 (en) Cloud off-ramp management
US11379653B2 (en) Rendering method for on-demand loading of PDF file on network
CN112783382B (zh) 一种文档图标的设置方法、装置、终端及存储介质
CN116204741A (zh) 网页适配的方法、装置、电子设备及介质
JP2015019316A (ja) 画像処理装置、画像処理方法、及びプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19750306

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19750306

Country of ref document: EP

Kind code of ref document: A1