CN110569132A - Electronic signature printing method, device and computer readable storage medium - Google Patents

Electronic signature printing method, device and computer readable storage medium Download PDF

Info

Publication number
CN110569132A
CN110569132A CN201910806984.5A CN201910806984A CN110569132A CN 110569132 A CN110569132 A CN 110569132A CN 201910806984 A CN201910806984 A CN 201910806984A CN 110569132 A CN110569132 A CN 110569132A
Authority
CN
China
Prior art keywords
data
signed
client
signature
service
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.)
Granted
Application number
CN201910806984.5A
Other languages
Chinese (zh)
Other versions
CN110569132B (en
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.)
Gosuncn Technology Group Co Ltd
Original Assignee
Gosuncn Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gosuncn Technology Group Co Ltd filed Critical Gosuncn Technology Group Co Ltd
Priority to CN201910806984.5A priority Critical patent/CN110569132B/en
Publication of CN110569132A publication Critical patent/CN110569132A/en
Application granted granted Critical
Publication of CN110569132B publication Critical patent/CN110569132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses an electronic signature printing method, a device and a computer readable storage medium, which are characterized in that signature printing management service is deployed on a client; the signature printing management service comprises: IP management service, data transfer service and electronic signature printing service; acquiring address information of data to be signed sent by a client through an IP management service, and judging whether the data to be signed is valid data or not according to the address information; when the data to be signed is valid data, the data to be signed is forwarded to the electronic signature printing service through the data transfer service; sending the data to be signed to a signature board through an electronic signature printing service; the signed data sent by the signing board is obtained and returned to the client, and the signed data is data generated by the signing board after receiving the data to be signed and obtaining the signature pressing data of the user; according to the invention, the signature printing management service realizes that one client side is in butt joint with different signature boards, so that the workload of client side development is reduced, and the client side can perform loose decoupling.

Description

electronic signature printing method, device and computer readable storage medium
Technical Field
the invention relates to the technical field of electronic signatures, in particular to an electronic signature printing method, an electronic signature printing device and a computer readable storage medium.
background
The electronic signature is an electronic signature of an electronic document in an electronic form by a cryptographic technique, is an electronic seal, and is widely applied to the internet and electronic commerce. At present, the existing electronic signature printing mainly depends on a signature board and a client terminal needing the electronic signature printing function, and the signature flow is as follows: the client is connected with the signing board, the client converts a picture to be signed into a PDF file and sends the PDF file to the signing board, after the signing board acquires the file, a user signs on the signing board, after the signature is completed, the signature is pressed, and finally the signing board sends the signed and pressed PDF file to the client for storage and display.
however, the existing electronic signature imprinting requires that a client is directly connected with a signature board, the client needs to be developed according to the types of different signature boards, one set of programs cannot be connected with different signature boards, the development workload of the client is large, and decoupling cannot be achieved.
disclosure of Invention
In view of the above problems, an object of the present invention is to provide an electronic signature printing method, an electronic signature printing device, and a computer-readable storage medium, which can realize that one client interfaces with different signature boards, reduce the workload of client development, and solve the problem of client decoupling.
In a first aspect, an embodiment of the present invention provides an electronic signature printing method, including:
a signature printing management service is deployed on a client in advance; wherein the signature right-falling printing management service comprises: IP management service, data transfer service and electronic signature printing service;
acquiring address information of data to be signed sent by the client through the IP management service, and judging whether the data to be signed is valid data or not according to the address information of the data to be signed;
When the data to be signed is valid data, forwarding the data to be signed to the electronic signature printing service through the data transfer service;
sending the data to be signed to a signature board through the electronic signature printing service;
and obtaining signed data sent by the signing board and returning the signed data to the client, wherein the signed data is generated by obtaining signature pressing data of a user after the signing board receives the data to be signed.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
Through deploying signature and pressing down the seal management service on the client, whether the data of waiting to sign that send the client pass through IP management service authentication earlier is valid data, then forward the sign board through data transfer service and electronic signature and press down the seal service for the loose decoupling is accomplished to client and sign board, presses down the seal management service through the signature and can make the client compatible different sign boards simultaneously, has guaranteed data transmission's security simultaneously.
as a preferred scheme, the address information of the data to be signed includes an IP address and an MAC address of the data to be signed;
the method includes the steps of obtaining address information of data to be signed sent by a client through the IP management service, and judging whether the data to be signed is valid data according to the address information of the data to be signed, and specifically includes the following steps:
acquiring the IP and MAC address of the data to be signed sent by the client through the IP management service;
judging whether the IP and MAC addresses of the data to be signed are on a preset white list or not; wherein the white list is pre-configured on the IP management service;
And when the IP and MAC addresses of the data to be signed are on the white list, confirming that the data to be signed is valid data.
compared with the prior art, the embodiment of the invention has the beneficial effects that:
The method comprises the steps of setting a white list in an IP management service, detecting whether IP and MAC addresses of data to be signed are on the white list, judging whether the data to be signed are valid data, transmitting the data to be signed into a data transfer service only when the data to be signed are detected to be valid data, transmitting the data to be signed to a signature board, preventing useless and invalid data from being transmitted into a signature right-pressing management service, and ensuring the safety of data transmission.
As a preferable scheme, after the signature right-falling management service is deployed on the client in advance, the method further comprises the following steps:
after the data transfer service is started, a websocket port of the client is opened, and the data transfer service is configured at the websocket port, so that communication connection between the client and the data transfer service is established; wherein the websocket port is an idle port;
establishing communication connection between the data transfer service and the electronic signature printing service through a TCP (Transmission control protocol);
Detecting a USB port of the client according to a preset first time interval through the electronic signature printing service;
and when the USB port is detected to be connected with the signature board, establishing communication connection between the electronic signature printing service and the signature board.
compared with the prior art, the embodiment of the invention has the beneficial effects that:
after the signature printing management service is deployed and started at the client, automatically calling a websocket port of the client, and establishing communication connection between the client and the data transfer service; calling a TCP protocol to establish communication connection between the data transfer service and the electronic signature printing service; simultaneously detecting whether a USB port of the client is connected with the sign board or not; the communication connection of the signature printing management service, the client and the signature board is ensured, so that the normal use of the signature printing function of the client is ensured.
As a preferable aspect, the method further includes:
Sending a preset heartbeat protocol to the client according to a preset second time interval;
judging whether response information of the client is received or not; wherein the response information is information generated by the client in response to the heartbeat protocol;
when the response information of the client is judged to be received, the signature printing management service is confirmed to be normally connected with the client;
And when the response information of the client is judged not to be received, confirming that the signature printing management service is disconnected with the client.
As a preferable aspect, the method further includes:
when the signature printing management service is disconnected with the client, the signature printing management service sends a first connection request to the client so as to reestablish the connection between the signature printing management service and the client;
or when the signature printing management service is disconnected with the client, the signature printing management service responds to a second connection request sent by the client and reestablishes the connection between the signature printing management service and the client.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
and in the running process of the signature printing management service, heartbeat detection is carried out on the client according to a second time interval, and when no response is detected at the client, the client actively requests to connect the signature printing management service or the signature printing management service to connect the client, and the connection between the client and the signature printing management service is reestablished, so that the connection between the client and the signature printing management service is prevented from being interrupted in the data transmission process.
As a preferable aspect, the method further includes:
Recording the data to be signed sent by the IP management service through the data transfer service, and generating a first record identifier; the first record identifier comprises a failure record identifier of the data to be signed which is failed to be sent and a success record identifier of the data to be signed which is successfully sent;
and sending the first record identification to the client.
As a preferable aspect, the method further includes:
recording the data to be signed sent by the data transfer service through the electronic signature printing service, and generating a second record identifier; the second record identifier comprises a failure record identifier for failed sending of the data to be signed and a success record identifier for successful sending of the data to be signed;
and sending the second record identification to the client.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
the effective data to be signed is recorded and forwarded through the data transfer service and the electronic signature printing service, and the orderly management of the transmitted data is realized.
as a preferable aspect, the method further includes:
Acquiring address information of signature canceling data sent by the client through the IP management service, and judging whether the signature canceling data is valid data or not according to the address information of the signature canceling data;
when the signature canceling data is valid data, forwarding the signature canceling data to the electronic signature printing service through the data transfer service;
Transmitting, by the electronic signature pressing service, the cancellation signature data to the signature pad to cause the signature pad to cancel a signature pressing operation according to the cancellation signature data.
in a second aspect, an embodiment of the present invention provides an electronic signature printing apparatus, including:
The program deployment module is used for deploying signature printing management service on the client in advance; wherein the signature right-falling printing management service comprises: IP management service, data transfer service and electronic signature printing service;
the IP management module is used for acquiring the address information of the data to be signed sent by the client through the IP management service and judging whether the data to be signed is valid data or not according to the address information of the data to be signed;
the data transfer module is used for forwarding the data to be signed to the electronic signature printing service through the data transfer service when the data to be signed is valid data;
The electronic signature printing module is used for sending the data to be signed to a signature board through the electronic signature printing service;
and the data acquisition module is used for acquiring signed data sent by the signing board and returning the signed data to the client, wherein the signed data is generated by acquiring signature pressing data of a user after the signing board receives the data to be signed.
in a third aspect, the present invention provides a computer-readable storage medium including a stored computer program, wherein when the computer program runs, a device in which the computer-readable storage medium is located is controlled to execute the electronic signature imprinting method according to any one of the first aspect.
drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for applying an electronic signature according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a data transmission framework for electronic signature imprinting provided by an embodiment of the invention;
fig. 3 is a schematic diagram of a label display apparatus according to a second embodiment of the present invention.
Detailed Description
the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
referring to fig. 1, a first embodiment of the present invention provides an electronic signature printing method, which can be executed by a client, where the client may be a computing device such as a computer, a mobile phone, a tablet computer, a notebook computer, or a server, and the electronic signature printing method can be integrated with the client as one of the functional modules and executed by the client. Preferably, the client is a BS-architected system or a CS client.
The electronic signature printing method comprises the following steps:
S11: a signature printing management service is deployed on a client in advance; wherein the signature right-falling printing management service comprises: IP management service, data transfer service and electronic signature printing service.
S12: and acquiring the address information of the data to be signed sent by the client through the IP management service, and judging whether the data to be signed is valid data or not according to the address information of the data to be signed.
it should be noted that, the client packages the data to be signed according to a preset heartbeat protocol, and sends the data to the IP management service. In the embodiment of the invention, the data to be signed is encoded into UTF-8, and is packaged into a data packet in JSON format through a heartbeat protocol and is transmitted through TCP. The problem of connection interruption is prevented by the heartbeat protocol.
S13: and when the data to be signed is valid data, forwarding the data to be signed to the electronic signature printing service through the data transfer service.
the IP management service sends the data to be signed which is identified as valid data to the data transfer service according to a preset signature and right-pressing protocol, wherein the data to be signed is sent to the data transfer service in a JSON (Java Server object notation), data format and UTF-8 coding format, and the electronic signature right-pressing management service client is informed to start signing and right-pressing through the signature and right-pressing protocol.
S14: and sending the data to be signed to a signature board through the electronic signature printing service.
S15: and obtaining signed data sent by the signing board and returning the signed data to the client, wherein the signed data is generated by obtaining signature pressing data of a user after the signing board receives the data to be signed.
it should be noted that, after receiving the data to be signed transmitted from the data transfer service, the electronic signature printing service sends the data to be signed to the signing board, and after receiving the data to be signed, the signing board performs signature printing, converts the signed data to be signed into signed data in base64 format, and returns the signed data to the client through the signature printing management service, so that the client can obtain the signed data in base64 format after signature printing, and the client can convert the signed data into a picture or pdf for display according to its own service requirements.
as shown in fig. 2, through installing signature and pressing down seal management service on the client, the data transmission of client and signature board needs management and the transfer through signature and pressing down seal management service, specifically, whether the data of waiting to sign that send the client pass through the authentication of IP management service earlier is valid data, then pass through data transfer service and electronic signature and press down seal the service and forward the signature board, make the client and signature board do the pine decoupling zero, provide unified input and output for the client, the security of data transmission has been guaranteed, can make the client compatible different signature boards simultaneously through signature and pressing down seal management service simultaneously.
in an optional implementation, the address information of the data to be signed includes an IP address and a MAC address of the data to be signed;
The method includes the steps of obtaining address information of data to be signed sent by a client through the IP management service, and judging whether the data to be signed is valid data according to the address information of the data to be signed, and specifically includes the following steps:
acquiring the IP and MAC address of the data to be signed sent by the client through the IP management service;
judging whether the IP and MAC addresses of the data to be signed are on a preset white list or not; wherein the white list is pre-configured on the IP management service;
and when the IP and MAC addresses of the data to be signed are on the white list, confirming that the data to be signed is valid data.
In the embodiment of the invention, before the signature pressing management service forwards the data to be signed sent by the client to the signature board, the data to be signed needs to be identified through an IP management service, specifically, a white list is set in the IP management service, whether the IP and MAC addresses of the data to be signed are on the white list is detected to judge whether the data to be signed are valid data, the data to be signed are transmitted into a data transfer service to be forwarded to the signature board only when the data to be signed are detected to be valid data, meanwhile, when the IP and MAC addresses of the data to be signed do not exist on the white list of the IP management service, an invalid data identifier is generated and sent to the data transfer service, the data transfer service responds to the invalid data identifier to not transfer the data to be signed, and after other clients are effectively prevented from being connected to the signature pressing management, And some other useless data and invalid data are sent out in a mess, so that the safety of data transmission is ensured. One or more white list IP and MAC addresses are set in the IP management service, so that white list management can be performed on the client.
in an optional implementation, after the pre-deployment of the signature printing management service on the client, the method further includes:
after the data transfer service is started, a websocket port of the client is opened, and the data transfer service is configured at the websocket port, so that communication connection between the client and the data transfer service is established; wherein the websocket port is an idle port;
establishing communication connection between the data transfer service and the electronic signature printing service through a TCP (Transmission control protocol);
detecting a USB port of the client according to a preset first time interval through the electronic signature printing service;
And when the USB port is detected to be connected with the signature board, establishing communication connection between the electronic signature printing service and the signature board.
after the application program of the signature printing management service is successfully installed on the client, the communication connection between the IP management service, the data transfer service and the electronic signature printing service and between the client and the signature board is established, and the specific communication connection establishment process is as follows:
The method comprises the steps that a client is connected with a port configured by a data transfer service, a default websocket port, such as 9901, is opened after the data transfer service is started, if the situation that other programs run at the 9901 port of the client is detected in the configuration process, namely, port conflict exists, a popup prompt is generated, and meanwhile, the default websocket port of the data transfer service can be modified by modifying a port of a configuration file of a signature printing management service, so that communication connection between the client and the data transfer service is established; and after the communication connection between the client and the data transfer service is established, the IP and MAC addresses of the white list of the signature printing management service can be configured and connected through the visual interface of the IP management service.
the signing board is connected with a USB port of the client, the electronic signature printing service detects all the USB ports of the client according to a preset first time interval, for example, 5 seconds, and when the signing board is connected with the USB port of the client, the electronic signature printing service establishes communication connection with the signing board.
it should be noted that the sign board has a sign board SDK service, and the electronic signature printing service has a sign board SDK service, where the sign board SDK service of the electronic signature printing service is actually the sign board SDK service of the sign board; the SDK service of the signing board acquires the state of a USB port of a client in the process of establishing connection between the SDK service and the signing board, the SDK service of the electronic signature printing service detects the state of the USB port, the electronic signature printing service calls the SDK service of the signing board every 5 seconds to acquire the state of the USB port, if the state returns successfully, the signing board is proved to be connected with the client, and the electronic signature printing service is connected with the signing board after the client is connected; if the return fails, the sign-on board is not connected with the client.
the data transfer service and the electronic signature printing service are internally connected, and the data transfer service and the electronic signature printing service are in communication connection through a TCP protocol.
after the signature printing management service is deployed and started at the client, automatically calling a websocket port of the client, and establishing communication connection between the client and the data transfer service; calling a TCP protocol to establish communication connection between the data transfer service and the electronic signature printing service; simultaneously detecting whether a USB port of the client is connected with the sign board or not; the communication connection of the signature printing management service, the client and the signature board is ensured, so that the normal use of the signature printing function of the client is ensured.
in an optional implementation, the method further comprises:
Sending a preset heartbeat protocol to the client according to a preset second time interval;
Judging whether response information of the client is received or not; wherein the response information is information generated by the client in response to the heartbeat protocol;
when the response information of the client is judged to be received, the signature printing management service is confirmed to be normally connected with the client;
and when the response information of the client is judged not to be received, confirming that the signature printing management service is disconnected with the client.
in an optional implementation, the method further comprises:
when the signature printing management service is disconnected with the client, the signature printing management service sends a first connection request to the client so as to reestablish the connection between the signature printing management service and the client;
or when the signature printing management service is disconnected with the client, the signature printing management service responds to a second connection request sent by the client and reestablishes the connection between the signature printing management service and the client.
In the embodiment of the invention, in the process of data transmission between a client and a signature printing service, in order to prevent the problem of connection interruption, the signature printing service provides a heartbeat protocol and performs heartbeat detection on the client, and the specific process is as follows: the signature printing management service sends the heartbeat protocol to the client according to a preset second time interval, such as 10 seconds; if the response information of the client is not available, the signature printing management service is disconnected with the client, at the moment, the client continuously sends a first connection request to the signature printing management service until the connection is successful, and meanwhile, the signature printing management service actively sends a second connection request to the client to prevent the interruption from occurring.
And in the running process of the signature printing management service, heartbeat detection is carried out on the client according to a second time interval, and when no response is detected at the client, the client actively requests to connect the signature printing management service or the signature printing management service to connect the client, and the connection between the client and the signature printing management service is reestablished, so that the connection between the client and the signature printing management service is prevented from being interrupted in the data transmission process.
In an optional implementation, the method further comprises:
recording the data to be signed sent by the IP management service through the data transfer service, and generating a first record identifier; the first record identifier comprises a failure record identifier of the data to be signed which is failed to be sent and a success record identifier of the data to be signed which is successfully sent;
And sending the first record identification to the client.
In an optional implementation, the method further comprises:
recording the data to be signed sent by the data transfer service through the electronic signature printing service, and generating a second record identifier; the second record identifier comprises a failure record identifier for failed sending of the data to be signed and a success record identifier for successful sending of the data to be signed;
and sending the second record identification to the client.
In the embodiment of the invention, the data transfer service and the electronic signature printing service both record the data to be signed in the form of log files or databases. Therefore, the data transfer service records the data to be signed, and generates a first record identifier to return to the client no matter whether the data is successfully sent or not; meanwhile, whether the data to be signed is successfully sent or not can be checked through the log file of the data transfer service, or the recorded data in the database of the data transfer service can be inquired through a visual interface so as to check whether the data to be signed is successfully sent or not. After receiving the data to be signed, the electronic signature pressing and printing service records the data to be signed firstly, and generates a first record identifier to return to the client no matter whether the data to be signed is successfully sent or not; similarly, whether the data to be signed is successfully sent or not can be checked through the log file of the electronic signature printing service, or the recorded data in the database of the electronic signature printing service is inquired through a visual interface so as to check whether the data to be signed is successfully sent or not. Further, the electronic signature printing service stores device information of a sign-on board connected to the client. The effective data to be signed is recorded and forwarded through the data transfer service and the electronic signature printing service, and the orderly management of the transmitted data is realized.
In an optional implementation, the method further comprises:
acquiring address information of signature canceling data sent by the client through the IP management service, and judging whether the signature canceling data is valid data or not according to the address information of the signature canceling data;
when the signature canceling data is valid data, forwarding the signature canceling data to the electronic signature printing service through the data transfer service;
Transmitting, by the electronic signature pressing service, the cancellation signature data to the signature pad to cause the signature pad to cancel a signature pressing operation according to the cancellation signature data.
in the embodiment of the invention, after the client sends the data to be signed, when the client wants to cancel the data to be signed, the same as the data transmission flow of the IP management service, the data transfer service and the electronic signature printing service, the client sends the signature canceling data to the signature printing management service, the signature canceling data carries out white list detection of IP and MAC addresses through the IP management service, if the signature canceling data passes the detection, the signature canceling data is sent to the data transfer service for recording and forwarding, and meanwhile, an identifier which is successful or failed in sending is returned to the client; similarly, the electronic signature printing service records the signature canceling data sent by the data transfer service and sends the data to the signature board, and meanwhile, an identifier of successful or failed sending is returned to the client; and after the signature board receives the signature canceling data, canceling the signature pressing and generating signature canceling information, and sending the signature canceling information to the client to inform the client that the signature and the pressing and printing are canceled.
for the sake of an understanding, the following illustrates the signature stamping process:
an example of heartbeat protocol transmission between a client and an IP management service is as follows:
example returned results for client:
The transmission example of the signature and printing protocol between the IP management service and the data transfer service is as follows:
the transmission example of the signature and printing protocol between the IP management service and the data transfer service is as follows:
The client transmits data according to the signature canceling and printing protocol as follows:
the example of the transmission data of the signing board according to the file protocol after signature and printing is as follows:
compared with the prior art, the embodiment of the invention can realize loose coupling of the client and the signature board by introducing IP management service, data transfer service and electronic signature printing service, one set of programs can be compatible with different signature boards to record and manage data, the client for data transmission is limited by setting a white list, the data can be transmitted only in the client in a set range, and the safety of data transmission is ensured; the electronic signature stamping function is integrated and complete.
referring to fig. 3, a second embodiment of the present invention provides an electronic signature printing apparatus, including:
the program deployment module 1 is used for deploying signature printing management service on a client in advance; wherein the signature right-falling printing management service comprises: IP management service, data transfer service and electronic signature printing service;
The IP management module 2 is used for acquiring the address information of the data to be signed sent by the client through the IP management service and judging whether the data to be signed is valid data or not according to the address information of the data to be signed;
the data transfer module 3 is used for forwarding the data to be signed to the electronic signature printing service through the data transfer service when the data to be signed is valid data;
The electronic signature printing module 4 is used for sending the data to be signed to a signature board through the electronic signature printing service;
And the data acquisition module 5 is configured to acquire signed data sent by the signing board and return the signed data to the client, where the signed data is generated by acquiring, by the signing board, signature data of a user after receiving the data to be signed.
In an optional embodiment, the address information of the data to be signed includes an IP address and a MAC address of the data to be signed;
The IP management module 2 includes:
The identification information acquisition unit is used for acquiring the IP and MAC addresses of the data to be signed sent by the client through the IP management service;
the list judging unit is used for judging whether the IP and the MAC address of the data to be signed are on a preset white list or not; wherein the white list is pre-configured on the IP management service;
And the valid data confirmation unit is used for confirming that the data to be signed is valid data when the IP and the MAC address of the data to be signed are on the white list.
In an alternative embodiment, the electronic signature printing device further includes:
the first connection establishing module is used for opening a websocket port of the client after the data transfer service is started, and configuring the data transfer service at the websocket port so as to establish communication connection between the client and the data transfer service; wherein the websocket port is an idle port;
the second connection establishing module is used for establishing communication connection between the data transfer service and the electronic signature printing service through a TCP (transmission control protocol);
the port detection module is used for detecting a USB port of the client according to a preset first time interval by the electronic signature printing service;
And the third connection establishing module is used for establishing communication connection between the electronic signature printing service and the signature board when detecting that the USB port is connected with the signature board.
In an alternative embodiment, the electronic signature printing device further includes:
The heartbeat protocol sending module is used for sending a preset heartbeat protocol to the client according to a preset second time interval;
the response judging module is used for judging whether response information of the client is received or not; wherein the response information is information generated by the client in response to the heartbeat protocol;
the connection confirmation module is used for confirming that the signature printing management service is normally connected with the client when the response information of the client is received;
and the connection interruption confirmation module is used for confirming that the signature printing management service is in interrupted connection with the client when judging that the response information of the client is not received.
in an alternative embodiment, the electronic signature printing device further includes:
The request connection module is used for sending a first connection request to the client through the signature printing management service when the signature printing management service is disconnected with the client so as to reestablish the connection between the signature printing management service and the client;
Or when the signature printing management service is disconnected with the client, the signature printing management service responds to a second connection request sent by the client, and the connection between the signature printing management service and the client is reestablished.
in an alternative embodiment, the electronic signature printing device further includes:
the first data recording module is used for recording the data to be signed sent by the IP management service through the data transfer service and generating a first record identifier; the first record identifier comprises a failure record identifier of the data to be signed which is failed to be sent and a success record identifier of the data to be signed which is successfully sent;
And the first identifier sending module is used for sending the first record identifier to the client.
in an alternative embodiment, the electronic signature printing device further includes:
the second data recording module is used for recording the data to be signed sent by the data transfer service through the electronic signature printing service and generating a second record identifier; the second record identifier comprises a failure record identifier for failed sending of the data to be signed and a success record identifier for successful sending of the data to be signed;
And the second identifier sending module is used for sending the second record identifier to the client.
In an alternative embodiment of the method according to the invention,
The IP management module 2 is further configured to obtain address information of signature cancellation data sent by the client through the IP management service, and determine whether the signature cancellation data is valid data according to the address information of the signature cancellation data;
The data transfer service 3 is further configured to forward the signature canceling data to the electronic signature printing service through the data transfer service when the signature canceling data is valid data;
the electronic signature pressing service 4 is further configured to transmit the cancellation signature data to the signature pad by the electronic signature pressing service, so that the signature pad cancels a signature pressing operation according to the cancellation signature data.
a third embodiment of the present invention provides a computer-readable storage medium including a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to execute the electronic signature imprinting method according to any one of the first embodiment.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the tag display apparatus.
wherein, the integrated module/unit of the electronic signature printing device can be stored in a computer readable storage medium if the module/unit is realized in the form of a software functional unit and is sold or used as an independent product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. an electronic signature printing method, comprising:
a signature printing management service is deployed on a client in advance; wherein the signature right-falling printing management service comprises: IP management service, data transfer service and electronic signature printing service;
Acquiring address information of data to be signed sent by the client through the IP management service, and judging whether the data to be signed is valid data or not according to the address information of the data to be signed;
when the data to be signed is valid data, forwarding the data to be signed to the electronic signature printing service through the data transfer service;
sending the data to be signed to a signature board through the electronic signature printing service;
and obtaining signed data sent by the signing board and returning the signed data to the client, wherein the signed data is generated by obtaining signature pressing data of a user after the signing board receives the data to be signed.
2. the electronic signature printing method as claimed in claim 1, wherein the address information of the data to be signed includes an IP, MAC address of the data to be signed;
The method includes the steps of obtaining address information of data to be signed sent by a client through the IP management service, and judging whether the data to be signed is valid data according to the address information of the data to be signed, and specifically includes the following steps:
Acquiring the IP and MAC address of the data to be signed sent by the client through the IP management service;
judging whether the IP and MAC addresses of the data to be signed are on a preset white list or not; wherein the white list is pre-configured on the IP management service;
And when the IP and MAC addresses of the data to be signed are on the white list, confirming that the data to be signed is valid data.
3. the electronic signature printing method as claimed in claim 1, further comprising, after said pre-deployment of a signature printing management service on a client:
after the data transfer service is started, a websocket port of the client is opened, and the data transfer service is configured at the websocket port, so that communication connection between the client and the data transfer service is established; wherein the websocket port is an idle port;
establishing communication connection between the data transfer service and the electronic signature printing service through a TCP (Transmission control protocol);
detecting a USB port of the client according to a preset first time interval through the electronic signature printing service;
And when the USB port is detected to be connected with the signature board, establishing communication connection between the electronic signature printing service and the signature board.
4. The electronic signature printing method as described in claim 3, said method further comprising:
Sending a preset heartbeat protocol to the client according to a preset second time interval;
judging whether response information of the client is received or not; wherein the response information is information generated by the client in response to the heartbeat protocol;
when the response information of the client is judged to be received, the signature printing management service is confirmed to be normally connected with the client;
and when the response information of the client is judged not to be received, confirming that the signature printing management service is disconnected with the client.
5. the electronic signature printing method as described in claim 4, said method further comprising:
When the signature printing management service is disconnected with the client, the signature printing management service sends a first connection request to the client so as to reestablish the connection between the signature printing management service and the client;
or when the signature printing management service is disconnected with the client, the signature printing management service responds to a second connection request sent by the client and reestablishes the connection between the signature printing management service and the client.
6. the electronic signature printing method as described in claim 1, said method further comprising:
recording the data to be signed sent by the IP management service through the data transfer service, and generating a first record identifier; the first record identifier comprises a failure record identifier of the data to be signed which is failed to be sent and a success record identifier of the data to be signed which is successfully sent;
and sending the first record identification to the client.
7. The electronic signature printing method as described in claim 1, said method further comprising:
recording the data to be signed sent by the data transfer service through the electronic signature printing service, and generating a second record identifier; the second record identifier comprises a failure record identifier for failed sending of the data to be signed and a success record identifier for successful sending of the data to be signed;
and sending the second record identification to the client.
8. the electronic signature printing method as described in claim 1, said method further comprising:
Acquiring address information of signature canceling data sent by the client through the IP management service, and judging whether the signature canceling data is valid data or not according to the address information of the signature canceling data;
When the signature canceling data is valid data, forwarding the signature canceling data to the electronic signature printing service through the data transfer service;
transmitting, by the electronic signature pressing service, the cancellation signature data to the signature pad to cause the signature pad to cancel a signature pressing operation according to the cancellation signature data.
9. an electronic signature imprinting apparatus, comprising:
the program deployment module is used for deploying signature printing management service on the client in advance; wherein the signature right-falling printing management service comprises: IP management service, data transfer service and electronic signature printing service;
the IP management module is used for acquiring the address information of the data to be signed sent by the client through the IP management service and judging whether the data to be signed is valid data or not according to the address information of the data to be signed;
the data transfer module is used for forwarding the data to be signed to the electronic signature printing service through the data transfer service when the data to be signed is valid data;
The electronic signature printing module is used for sending the data to be signed to a signature board through the electronic signature printing service;
And the data acquisition module is used for acquiring signed data sent by the signing board and returning the signed data to the client, wherein the signed data is generated by acquiring signature pressing data of a user after the signing board receives the data to be signed.
10. a computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program, wherein the computer program, when executed, controls an apparatus on which the computer-readable storage medium is located to execute the electronic signature imprinting method according to any one of claims 1 to 8.
CN201910806984.5A 2019-08-29 2019-08-29 Electronic signature printing method, device and computer readable storage medium Active CN110569132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910806984.5A CN110569132B (en) 2019-08-29 2019-08-29 Electronic signature printing method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910806984.5A CN110569132B (en) 2019-08-29 2019-08-29 Electronic signature printing method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110569132A true CN110569132A (en) 2019-12-13
CN110569132B CN110569132B (en) 2022-07-12

Family

ID=68776681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910806984.5A Active CN110569132B (en) 2019-08-29 2019-08-29 Electronic signature printing method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110569132B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988412A (en) * 2021-02-07 2021-06-18 中国联合网络通信集团有限公司 Edge caching method, base station and system based on block chain network
CN113282963A (en) * 2020-02-20 2021-08-20 中国移动通信集团重庆有限公司 Electronic signature verification method, device and equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2643881A1 (en) * 2007-11-15 2009-05-15 T-Mobile International Ag A method and a system for the delivery of short messages
EP2582115A1 (en) * 2011-10-10 2013-04-17 Itside S.r.l. A qualified electronic signature system, associated method and mobile phone device for a qualified electronic signature
FI20135687A (en) * 2013-06-24 2014-12-25 Cassidian Finland Oy Mobile terminal management
CN105704145A (en) * 2016-03-22 2016-06-22 英赛克科技(北京)有限公司 Safety protection method and system for OPC protocol
CN105787741A (en) * 2016-02-17 2016-07-20 林慕新 Electronic contract signing system based on mobile phone client, and application method thereof
CN106096434A (en) * 2016-05-30 2016-11-09 武汉开目信息技术有限责任公司 A kind of e-file signature method
CN106407065A (en) * 2016-08-31 2017-02-15 福建联迪商用设备有限公司 Password keyboard USB communication abnormality recovery method and system
CN106789033A (en) * 2017-01-17 2017-05-31 江苏慧世联网络科技有限公司 It is a kind of based on signing method without the close electronic contract of certificate label
CN109472167A (en) * 2018-11-14 2019-03-15 北京天威诚信电子商务服务有限公司 A kind of digital signature method and device
CN109492358A (en) * 2018-09-25 2019-03-19 国网浙江省电力有限公司信息通信分公司 A kind of open interface uniform authentication method
CN109815022A (en) * 2017-11-21 2019-05-28 北京握奇智能科技有限公司 A kind of internet banking system signature control solution and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2643881A1 (en) * 2007-11-15 2009-05-15 T-Mobile International Ag A method and a system for the delivery of short messages
EP2582115A1 (en) * 2011-10-10 2013-04-17 Itside S.r.l. A qualified electronic signature system, associated method and mobile phone device for a qualified electronic signature
FI20135687A (en) * 2013-06-24 2014-12-25 Cassidian Finland Oy Mobile terminal management
CN105787741A (en) * 2016-02-17 2016-07-20 林慕新 Electronic contract signing system based on mobile phone client, and application method thereof
CN105704145A (en) * 2016-03-22 2016-06-22 英赛克科技(北京)有限公司 Safety protection method and system for OPC protocol
CN106096434A (en) * 2016-05-30 2016-11-09 武汉开目信息技术有限责任公司 A kind of e-file signature method
CN106407065A (en) * 2016-08-31 2017-02-15 福建联迪商用设备有限公司 Password keyboard USB communication abnormality recovery method and system
CN106789033A (en) * 2017-01-17 2017-05-31 江苏慧世联网络科技有限公司 It is a kind of based on signing method without the close electronic contract of certificate label
CN109815022A (en) * 2017-11-21 2019-05-28 北京握奇智能科技有限公司 A kind of internet banking system signature control solution and system
CN109492358A (en) * 2018-09-25 2019-03-19 国网浙江省电力有限公司信息通信分公司 A kind of open interface uniform authentication method
CN109472167A (en) * 2018-11-14 2019-03-15 北京天威诚信电子商务服务有限公司 A kind of digital signature method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
KRISTIN F. KOCAN等: "A novel software approach for service brokering in advanced service architectures", 《 BELL LABS TECHNICAL JOURNAL》 *
仲镜学: "移动签名技术研究与设计", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *
闫春荣等: "基于电子签名技术的营业厅工单电子化方案研究", 《邮电设计技术》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282963A (en) * 2020-02-20 2021-08-20 中国移动通信集团重庆有限公司 Electronic signature verification method, device and equipment
CN113282963B (en) * 2020-02-20 2023-04-07 中国移动通信集团重庆有限公司 Electronic signature verification method, device and equipment
CN112988412A (en) * 2021-02-07 2021-06-18 中国联合网络通信集团有限公司 Edge caching method, base station and system based on block chain network
CN112988412B (en) * 2021-02-07 2023-06-27 中国联合网络通信集团有限公司 Edge caching method, base station and system based on block chain network

Also Published As

Publication number Publication date
CN110569132B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
CN112769834B (en) Identity verification system, method and platform
US9749143B2 (en) Web real-time communication call transferring method and apparatus
CN110569132B (en) Electronic signature printing method, device and computer readable storage medium
US20120168494A1 (en) Smart card-based browsing system and smart card-based browsing method and smart card for the same
JP2002539656A5 (en)
JP2014032659A (en) Information processing system, information processing apparatus, equipment, and information processing method and program
CN111314452B (en) Shell access method, device, equipment and storage medium of cloud mobile phone
EP2695047A1 (en) Document management system using printer emulation
CA2528459A1 (en) Network telephone system
CN107239308A (en) A kind of calling function realization method and system of browser
US7475147B2 (en) Information processing apparatus and method, computer storage medium, and program
US9148404B2 (en) System for accessing data of cloud database using transparent technology
US20060250642A1 (en) Method and System for Printing Data Using a Message Signaling Service, and a Corresponding Computer Program and a Corresponding Computer-Readable Storage Medium
CN102624724B (en) Security gateway and method for securely logging in server by gateway
CN112769757A (en) Data pushing method, device and system
CN112395242A (en) Multi-chip control method, device, electronic equipment and computer readable storage medium
CN111884841A (en) Firmware upgrading method, device, equipment and readable storage medium
CN101778117B (en) Network storing and processing method, device and wireless terminal
CN113938518B (en) Remote connection service method, device and equipment
WO2023070834A1 (en) Method and system for communication between applet and webpage, and related device
CN101131641B (en) User interface manager and method for reacting to a change in system status
CN109492375B (en) SAP ERP single sign-on system based on JAVA middleware integration mode
WO2016095740A1 (en) Data communication method and device
JP2016024640A (en) Information processing system, information processing method, and program
CN110401659B (en) Equipment access method, equipment access device and system of service system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant