A method and system for verifying electronic signature of work order system

By using Canvas technology and the signature database comparison method in the work order system, the problem of user account and password being unable to prevent proxy operations is solved, signature verification and authority management are realized, and the security and stability of the system are improved.

CN112597327BActive Publication Date: 2024-10-11TRAFFIC CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011552115.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-24
Publication Date
2024-10-11
Estimated Expiration
2040-12-24

AI Technical Summary

Technical Problem

The existing work order system relies on user account and password for verification, which cannot effectively prevent others from operating on behalf of others. Especially when high-authority user accounts are leaked, it poses a threat to system security and stability.

Method used

Canvas technology is used to obtain the user's signature image, and by comparing it with the original signature information in the pre-built signature database, the signature is verified using methods such as pixel point comparison method, center of gravity comparison method, projection comparison method and block comparison method. Combined with SQL data cache dependency and built-in notification delivery service technology to manage the signature database, ensure the uniqueness and accuracy of the signature.

Benefits of technology

It effectively prevents the occurrence of proxy operation events, enhances the security and stability of the system, and ensures accurate verification of user identities and reasonable allocation of operating permissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112597327B_ABST
    Figure CN112597327B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for verifying an electronic signature of a work order system, the method comprising: obtaining a current signature image input by a user on a Canvas; inputting the current signature image into a signature database to determine the original signature information corresponding to the current signature image in the signature database; comparing the current signature image with the original signature information to obtain a signature verification result. The method and system for verifying an electronic signature of a work order system provided by the present invention utilizes Canvas to implement the input and storage functions of a user's signature, and compares the acquired user signature image with the pre-stored original signature information of the user to complete the verification of the user's identity, which can effectively prevent the occurrence of events such as proxy operations, and ensure the security and stability of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a work order system electronic signature verification method and system. Background Art

[0002] With the continuous development of computer technology and the continuous growth of rail transit systems, there are many users with different permissions in the work order system, and users with different permissions also include many different personnel. Under the condition of so many different people logging in and inputting, authentication management currently mainly relies on user account passwords and permission allocation.

[0003] However, the method of relying solely on user account and password to verify work orders cannot effectively prevent the occurrence of unauthorized operations by others; the verification method that uses user account and password combined with permission allocation will pose a threat to the security and stability of the entire system if the account and password of a high-privileged user are leaked.

[0004] In order to effectively ensure the uniqueness and accuracy of work order inspection, the existing methods mainly combine multiple identification methods such as U-shield recognition, fingerprint recognition, facial recognition, iris recognition, etc. to comprehensively realize user identity verification. Summary of the invention

[0005] In view of the problem of others signing work orders on behalf of others in existing work order verification methods, an embodiment of the present invention provides a work order system electronic signature verification method and system.

[0006] The present invention provides a method for verifying an electronic signature of a work order system, comprising: obtaining a current signature image input by a user on a Canvas; inputting the current signature image into a signature database to determine original signature information corresponding to the current signature image in the signature database; comparing the current signature image with the original signature information to obtain a signature verification result; if the signature verification result is qualified, assigning a preset operation permission in the work order system to the user; wherein the signature database is based on a data cache dependency of a database SQL, and data management is performed using a built-in notification delivery service technology.

[0007] According to a work order system electronic signature verification method provided by the present invention, the inputting of the current signature image into the signature database comprises:

[0008] Obtain first pixel data of the current signature image; obtain input information related to the current signature image based on the first pixel data; input the input information related to the current signature image into the signature database; accordingly, compare the current signature image with the original signature information to obtain a signature verification result, including: extracting first pixel data from the input information related to the current signature image; extracting second pixel data from the original signature information; based on at least one of pixel comparison method, centroid comparison method, projection comparison method and block comparison method, compare the first pixel data with the second pixel data to obtain the signature verification result.

[0009] According to a work order system electronic signature verification method provided by the present invention, determining the original signature information corresponding to the current signature image in the signature database includes:

[0010] Enable the Service Broker service on the server side to generate an extensible application; in the process of implementing the service-based SQL data cache dependency, explicitly call SqlDependency.Start to start a listener that receives dependency change notifications; when the listener is used to obtain input information related to the current signature image, create a SqlCommand instance, which is a SqlCacheDependency instance; obtain the signature data of the current signature image by calling the Command object; call the Cache Insert statement to establish a Cache item related to the signature data, and the Cache item contains the original signature information.

[0011] According to a work order system electronic signature verification method provided by the present invention, before obtaining the current signature image input by the user on the canvas, it also includes pre-building the signature database; pre-building the signature database includes:

[0012] Collect the electronic signature images and user accounts of each relevant user, create handwriting verification reference data of each relevant user, and obtain user basic data related to each user account; construct the signature database based on the handwriting verification reference data and the user basic data.

[0013] According to a work order system electronic signature verification method provided by the present invention, after comparing the current signature image with the original signature information to obtain the signature verification result, the method further includes:

[0014] When the signature verification result is qualified, a user operation record is generated; the user operation record at least includes: input information related to the current signature image; the user operation record is timestamped and stored in the signature database.

[0015] The present invention also provides a work order system electronic signature verification system, comprising:

[0016] Canvas running unit, used to obtain the current signature image input by the user on Canvas;

[0017] a database calling unit, configured to input the current signature image into a signature database, so as to determine original signature information corresponding to the current signature image in the signature database;

[0018] A verification and identification unit, used to compare the current signature image with the original signature information to obtain a signature verification result;

[0019] A system management unit, configured to allocate preset operation permissions in the work order system to the user if the signature verification result is qualified;

[0020] The signature database is based on the data cache dependency of the database SQL and the built-in notification delivery service technology for data management.

[0021] According to a work order system electronic signature verification system provided by the present invention, the database calling unit is used for:

[0022] Acquire first pixel data of the current signature image; generate input information related to the current signature image according to the first pixel data; input the input information related to the current signature image into the signature database;

[0023] Accordingly, the verification and identification unit is used to: extract the first pixel point data from the input information related to the current signature image; extract the second pixel point data from the original signature information; compare the first pixel point data with the second pixel point data based on at least one of the pixel point comparison method, the center of gravity comparison method, the projection comparison method and the block comparison method to obtain the signature verification result. According to the electronic signature verification system of the work order system provided by the present invention, the database calling unit is used to:

[0024] Enable the Service Broker service on the server side to generate an extensible application; in the process of implementing the service-based SQL data cache dependency, explicitly call SqlDependency.Start to start a listener that receives dependency change notifications; when the listener is used to obtain input information related to the current signature image, create a SqlCommand instance, which is a SqlCacheDependency instance; obtain the signature data of the current signature image by calling the Command object; call the Cache Insert statement to establish a Cache item related to the signature data, and the Cache item contains the original signature information.

[0025] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned methods for verifying the electronic signature of the work order system are implemented.

[0026] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the electronic signature verification method of the work order system as described in any one of the above are implemented.

[0027] The electronic signature verification method and system for the work order system provided by the present invention utilize Canvas to implement the user signature input and saving functions, and compare the acquired user signature image with the pre-stored original signature information of the user to complete the verification of the user identity, which can effectively prevent the occurrence of events such as proxy operation and ensure the security and stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0029] Figure 1 It is a flow chart of the electronic signature verification method of the work order system provided by the present invention;

[0030] Figure 2 It is a structural diagram of the electronic signature verification system of the work order system provided by the present invention;

[0031] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] Combine the following Figure 1-Figure 3 The electronic signature verification method and system of the work order system provided by the embodiments of the present invention are described.

[0034] Figure 1 It is a flow chart of the electronic signature verification method of the work order system provided by the present invention, such as Figure 1 As shown, including but not limited to the following steps:

[0035] Step S1: Obtain the current signature image input by the user on Canvas;

[0036] Step S2: inputting the current signature image into a signature database to determine the original signature information corresponding to the current signature image in the signature database;

[0037] Step S3: Compare the current signature image with the original signature information to obtain a signature verification result;

[0038] Step S4: if the signature verification result is qualified, assigning the user a preset operation authority in the work order system;

[0039] The signature database is based on the data cache dependency of the database SQL and the built-in notification delivery service technology for data management.

[0040] Canvas is a vector drawing software that seamlessly integrates tools for painting, image editing, and Web design. It can export drawing images in a variety of formats (including animations and Web-ready files), and it also bundles many tools for bitmap editing, display, Web graphics, and vector drawing in the clip library.

[0041] The electronic signature verification method for the work order system provided by the present invention seamlessly integrates the functions for vector illustration, image editing and Web publishing based on Canvas, manages the user operations that need to provide signature verification on the signature management page of the client, and obtains the user's current signature image based on the received user's signature trajectory on the Canvas mounted on the client.

[0042] Among them, the method for obtaining the user's current signature image can be to generate an image based on the trajectory of the user's finger sliding input on the handwriting board; or to use a camera to capture the user's gesture movements, and according to the trajectory of the gesture movements, simulate the corresponding signature image on the Canvas, etc., and the present invention does not make specific limitations on this.

[0043] Furthermore, the current signature image can be set by the user, for example, it can be the user's Chinese name or English name, or a simple brushwork painting, and the applicant does not make any specific limitation on this.

[0044] In step S2, after obtaining the current signature image of the user, the image is input into a pre-built signature database, wherein the signature database is composed of original signature images pre-input by all relevant users.

[0045] For example, at least one original signature image of all relevant staff members in the train operation and maintenance system is collected respectively, each original signature image corresponds to the identity of each staff member, and all original signature images are assembled into the signature database. It can be understood that in the signature database, each user has at least one original signature image corresponding to his / her identity information.

[0046] In the actual inspection process, after obtaining the work order a of user A and reading the current signature image on the work order a, it is necessary to confirm whether the work order a is signed by user A himself. Then, the current signature image on the work order a can be input into the signature database, and the original signature information b of user A can be extracted from the signature database; the original signature information b includes the original signature image of user A and the identity information of user A.

[0047] In step S3, the current signature image on the work order a is compared with the original signature image of user A, and the signature verification result is obtained based on the comparison result.

[0048] As an optional embodiment, two images may be compared based on an image recognition network model, and a signature verification result may be determined according to a preset similarity threshold.

[0049] For example, when the similarity between the current signature image on work order a and the original signature image of user A is greater than 95%, it is considered that the two are drawn by the same user, and the signature verification result is qualified; when the similarity between the current signature image on work order a and the original signature image of user A is greater than 80%, it is considered that the two are not drawn by the same user, and the signature verification result is unqualified; when the similarity between the current signature image on work order a and the original signature image of user A is less than 95% but greater than 80%, the user is prompted to re-enter the signature until a unique signature verification result can be obtained.

[0050] Further, in step S4, after the user's current signature image is identified with the original signature information pre-stored in the signature database by the user and the signature verification result is obtained, if the signature verification result is qualified, the user's signature verification result is completed. At this time, the user's preset operation authority in the work order system can be retrieved from the signature database according to the user's signature information to be assigned to the user.

[0051] For example, after user a passes the signature verification, the user's signature information is read from the signature database. If the signature information includes job type information, or user a's job type is a software engineer, the preset operation authority corresponding to the job type is granted to user a.

[0052] Optionally, when the signature information of each user includes the type of work of the user and the preset operation authority of the user, the preset operation authority of the user can be directly granted to user a according to the signature verification result.

[0053] It should be noted that the signature database is based on the data cache dependency of the database SQL and the built-in notification delivery service technology for data management.

[0054] The electronic signature verification method for the work order system provided by the present invention is based on the handwriting comparison principle of Canvas to realize the electronic signature verification of the work order system. The method is a method for auxiliary verification of the user identity in the work order system. The current signature image input by the user and the original signature information pre-stored in the server are compared by an algorithm to assist in verifying the user identity.

[0055] SQL (Structured Query Language) is a database language with multiple functions such as data manipulation and data definition. This language is interactive and can provide great convenience for users. Database SQL makes full use of the SQL language to improve the work quality and efficiency of computer application systems. The SQL language can not only be used independently in terminals, but also can be used as a sub-language to provide effective assistance for other program designs. In the electronic signature verification method of the work order system provided by the present invention, database SQL can also be used together with other program languages ​​to optimize program functions, thereby providing users with more and more comprehensive original signature information.

[0056] Since querying data in the database is very performance-intensive, database caching becomes very important. However, in the actual caching process, the following problems often occur: the cached data is old, while the database content is updated in real time, resulting in data inconsistency. In order to solve this problem, we have a good solution, which is database cache dependency (SqlCacheDepend).

[0057] Since the cache places the resources that need to be accessed in the memory, it will occupy a certain amount of memory space. Therefore, the user's data reading process is actually the user reading the data in the memory, thereby reducing the number of direct reads of the database or resource files, thereby improving the program concurrency and return request rate.

[0058] However, the cache is not timely: during the cache period, the data is stored in the memory and it is unknown whether the data source has changed, which makes the read memory data lose timeliness.

[0059] In order to solve this problem, the present invention provides a work order system electronic signature verification method, which uses data cache dependency and built-in notification delivery service technology to manage database SQL.

[0060] The data cache dependency and built-in notification delivery service technology refers to a mechanism that notifies the cache whether it is expired by monitoring the read and write of the dependent item (file or database). For example, if the dependent item is the 123.txt file and the cached data is the data in 234.txt, then the cache mechanism can remove the data in the cached 234.txt file by monitoring whether the data in the 123.txt file has changed.

[0061] The present invention adopts data cache dependency based on database SQL and built-in notification delivery service technology to realize the management of signature database, can provide data change monitoring function with smaller granularity, monitor the current signature image generated by the user's signature handwriting, and can effectively improve the detection accuracy.

[0062] The electronic signature verification method and system for the work order system provided by the present invention utilize canvas to implement the user signature input and saving functions, and compare the acquired user signature image with the pre-stored original signature information of the user to complete the verification of the user identity, which can effectively prevent the occurrence of events such as proxy operation and ensure the security and stability of the system.

[0063] Based on the content of the above embodiment, as an optional embodiment, the step of inputting the current signature image into the signature database includes:

[0064] Acquire first pixel data of the current signature image; generate input information related to the current signature image based on the first pixel data; and input the input information related to the current signature image into the signature database.

[0065] Accordingly, the current signature image is compared with the original signature information to obtain the signature verification result, including:

[0066] Extract first pixel point data from the input information related to the current signature image; extract second pixel point data from the original signature information; compare the first pixel point data with the second pixel point data based on at least one of pixel point comparison method, center of gravity comparison method, projection comparison method and block comparison method to obtain the signature verification result.

[0067] Since computer processing of images is not as intuitive as human understanding, the current signature image in the computer can be viewed as a matrix, where the elements are color values, which are composed of three parameters, RGB, and the range of these three parameters is 0 to 255. Since the range of 0 to 255 is too large, the current signature image can be binarized and reduced in dimension. After the binarization, the current signature image becomes a binary image consisting only of black and white.

[0068] Furthermore, based on the Otsu method or the maximum between-class variance method (OTSU algorithm), black is represented by 1 and white is represented by 0, so that a matrix consisting of only the numbers 0 and 1 is obtained.

[0069] In the work order system electronic signature verification method provided by the present invention, the first pixel point data is extracted from the acquired current signature image of the user to generate a matrix that is easy for computer processing as input information related to the current signature image. Accordingly, in the signature database, each user's original signature image is also an original signature information generated based on the above method.

[0070] When the input information is substituted into the signature database, the original signature information corresponding to the input information can be matched from the signature database according to the input information.

[0071] Furthermore, the comparing the current signature image with the original signature information to obtain the signature verification result includes:

[0072] Based on at least one of a pixel comparison method, a center of gravity comparison method, a projection comparison method and a block comparison method, the current signature image is compared with the original signature information to obtain the signature verification result.

[0073] In the work order system electronic signature verification method provided by the present invention, the signature image for computer recognition can be regarded as a matrix, and its construction method includes:

[0074] Perform image dimension reduction - binarization on any signature image, which converts the image into only black and white.

[0075] Furthermore, the OTSU algorithm can be used, and black is represented by 1 and white is represented by 0, so that a matrix consisting of only the numbers 0 and 1 is obtained.

[0076] 1) Regarding the pixel comparison method, including:

[0077] Compare each pixel in the first pixel point data related to the original signature image with the second pixel point data corresponding to the current signature image. If they are equal, the similarity point is increased by 1. After scanning two pictures, we can get the number of similar points between the two. Then divide the similar points by the total number of points to get a value between 0 and 1. This is the similarity obtained based on the pixel comparison method.

[0078] 2) Regarding the centroid comparison method, it includes: some characters in the matrix corresponding to the image are very similar except for the different positions, such as [.] and [·]. Therefore, the present invention needs to compare the positions of each pixel point. For example, the centroid of all pixels is calculated, and then the black points are mainly concentrated in which area.

[0079] Optionally, the present invention cyclically scans each black point in the first pixel point data and the second pixel point data, and adds up their horizontal coordinates and vertical coordinates to obtain the sum of the horizontal coordinates and the sum of the vertical coordinates. Then divide it by the number of points to obtain the average horizontal coordinate and the average vertical coordinate. Then divide it by the total length of the horizontal and vertical coordinates to obtain two numbers in the range of 0 to 1, which represent its center of gravity. Finally, calculate the distance between the two centers of gravity to obtain the similarity.

[0080] 3) About the projection comparison method:

[0081] The number of black dots in the rows and columns of the matrix related to the first pixel data and the second pixel data is counted respectively to obtain a feature vector about the image, and then the distance between the two feature vectors is calculated to obtain the similarity.

[0082] 4) About the block comparison method:

[0083] The matrix corresponding to the entire image can be cut into several pieces, and then each piece is matched and the similarity is calculated to obtain a similarity vector; then the distance of the similarity vector is calculated to obtain the similarity.

[0084] It should be noted that the calculation method of the vector distance involved in the summary of the above embodiments may adopt the Euclidean distance algorithm.

[0085] The electronic signature verification method for the work order system provided by the present invention, on the one hand, generates a data file that is easy for a computer to read, store and process by extracting pixel points from an image, which provides a theoretical basis for later comparing the current signature image with the original signature information. A variety of image information comparison methods are provided to meet the requirements of users to make independent choices according to actual needs; on the other hand, different priority levels are set for the above-mentioned pixel comparison method, center of gravity comparison method, projection comparison method and block comparison method, so that one or more comparison methods are called in turn for comprehensive comparison during each comparison process, which can further improve the accuracy and credibility of signature verification.

[0086] Based on the content of the above embodiment, as an optional embodiment, determining the original signature information corresponding to the current signature image in the signature database includes:

[0087] Enable the Service Broker service on the server side to generate scalable applications;

[0088] In the process of implementing a service-based SQL data cache dependency, explicitly call SqlDependency.Start to start the listener that receives dependency change notifications;

[0089] When the listener is used to obtain input information related to the current signature image, a SqlCommand instance is created, where the SqlCommand instance is a SqlCacheDependency instance;

[0090] By calling the Command object, the signature data of the current signature image is obtained;

[0091] The Insert statement of Cache is called to establish a Cache item related to the signature data, wherein the Cache item includes the original signature information.

[0092] The electronic signature verification method of the work order system provided by the present invention mainly utilizes Canvas technology and provides a tool based on HTML5 to provide users with a "canvas" and a pixel-based method application programming interface (Application Programming Interface, API).

[0093] The whole method is mainly divided into three parts: signature management and signature board input on the client side, image data storage on the server side, and algorithm comparison and recognition on the server side.

[0094] The first part has been described in detail in the above embodiment. The following will describe the relevant contents of the second part in detail, including:

[0095] Step 1: Enable the Service Broker service to build a reliable and scalable application to build a platform for signature verification.

[0096] Among them, Service Broker in SQL Server can help database developers build reliable and scalable applications. Since Service Broker is an integral part of the database engine, managing these applications becomes part of the daily management of the database.

[0097] Optionally, Service Broker provides queuing and reliable messaging for SQL Server. Service Broker can be used for applications that use a single SQL Server instance or for applications that distribute work among multiple instances.

[0098] Service Broker provides a powerful asynchronous programming model within a single SQL Server instance. Applications that use signature databases often use asynchronous programming to reduce interactive response time and increase overall application throughput.

[0099] Service Broker also provides reliable messaging services between SQL Server instances. Service Broker helps developers write applications through independent, self-contained components called services. Applications that need to use the functionality contained in these services can interact with these services using messages.

[0100] Furthermore, Service Broker uses TCP / IP to exchange messages between instances. Service Broker includes features that help prevent unauthorized network access and can encrypt messages sent over the network.

[0101] Step 2: In the process of implementing the service-based SQL data cache dependency, explicitly call SqlDependency.Start to start the listener that receives dependency change notifications and implements listening for input information.

[0102] When calling a component through Intent, the component class is directly specified, which is called explicit calling.

[0103] When data in the SQL Server database changes, by enabling the SqlDependency class, a method is provided to notify the application of this change. This notification can be used to terminate the cache and reload the data in the database server.

[0104] Step 3: When the listener is used to obtain input information related to the current signature image, a SqlCommand instance is created, and the SqlCommand instance is a SqlCacheDependency instance;

[0105] Among them, the SqlCacheDependency instance can reduce the database load through caching while ensuring update synchronization.

[0106] SqlCommand instance, also known as Sql command, refers to the class name used to operate the database when programming in C#. A class in SqlClient in C# that indicates that an operation is to be performed on a SQL Server database. SqlCommand instance allows you to specify the type of operation to be performed on the database. For example, you can execute select, insert, modify, and delete commands on row data in the database. SqlCommand instance can be used to support disconnected data management. You can use SqlCommand object alone; you can also use it together with SqlDataAdapter to disconnect the data connection and implement an application that operates the database.

[0107] Step 4: Obtain the signature data of the current signature image by calling the Command object;

[0108] After step 3, call the Command object to obtain the signature data of the current signature image.

[0109] Among them, the Command object defines the specified command to be executed on the data source, and the SQL data program corresponds to the SqlCommand object.

[0110] Use the Command object to query the signature database and return the records in a Recordset object so that you can perform subsequent operations or manipulate the database structure.

[0111] Optionally, the main properties and methods of the Command object are shown in Table 1:

[0112] Table 1 Command object

[0113]

[0114] Step 5: Call the Insert statement of Cache to create a Cache item related to the signature data, wherein the Cache item contains the original signature information.

[0115] Optionally, the above-mentioned Insert statement of Cache is used to insert items into the Cache object. Three different techniques can be used to add items to the Cache object.

[0116] If you want to take advantage of the cleanup, expiration, and dependency support provided by Cache, you must use the Cache.Insert method or the Cache.Add method.

[0117] Among them, the Cache.Add and Cache.Insert methods have the same signature, but there are subtle differences between them. First, calling the Cache.Add method returns an object representing the cache item, while calling the Cache.Insert method does not. Second, if you call these methods and add an item that is already stored in the Cache, then their behavior is different.

[0118] Optionally, you can register the above steps 1 to 5 to the delegate for easy calling.

[0119] The electronic signature verification method of the work order system provided by the present invention generates a current signature image and transmits it to the server after each signature operation of the user is completed; after receiving the current signature image of the user, the server retrieves the original signature image of the user in the database, identifies the two images through a related algorithm, and returns the comparison result to the client; the client determines whether the current user is the user himself according to the information returned by the server. Among them, since the database is an SQL database, it can more effectively record, manage and call the original signature information of each user, which can effectively improve the efficiency of verification.

[0120] Based on the content of the above embodiment, as an optional embodiment, before obtaining the current signature image input by the user on the canvas, it also includes pre-building the signature database; pre-building the signature database includes:

[0121] Collect the electronic signature images and user accounts of each relevant user, create handwriting verification reference data of each relevant user, and obtain user basic data related to each of the user accounts;

[0122] The signature database is constructed according to the handwriting verification reference data and the user basic data.

[0123] The work order system electronic signature verification method provided by the present invention further needs to collect the signature image of each relevant user as comparison data before performing electronic signature verification.

[0124] Optionally, the electronic signature images of all users at all levels in the train operation and maintenance system are collected and bound to their personal user accounts as initial handwriting verification reference data. Each electronic signature image has a unique user account as an identifier.

[0125] Furthermore, basic data of each user, such as type of work, work authority, name, title, etc., is obtained and bound to the individual user account. Each user account corresponds to unique basic user data.

[0126] Finally, the handwriting verification reference data and user basic data are imported and stored in the server to create a signature database.

[0127] The electronic signature verification method for the work order system provided by the present invention can pre-store the handwriting verification reference data of relevant users and the basic data of users by constructing a signature database. It can provide the basic data related to users while realizing user signature recognition, which can effectively improve the recognition speed and provide a way for user information management.

[0128] Based on the content of the above embodiment, as an optional embodiment, after comparing the current signature image with the original signature information to obtain the signature verification result, the method further includes:

[0129] When the signature verification result is qualified, a user operation record is generated; the user operation record at least includes: input information related to the current signature image; the user operation record is timestamped and stored in the signature database.

[0130] The electronic signature verification method for the work order system provided by the present invention, when building a signature database, compares and binds the signature verification provided by an operation with a signature verification function with the initial signature image information bound by the user, thereby realizing a one-to-one comparison between the operation and the signature, and can further ensure the accuracy of the verification.

[0131] There are many users with different permissions in the work order system, and users with different permissions also include many different people. Under the conditions of so many different people logging in and inputting, in addition to conditional management such as user account password and permission allocation, user identity can also be verified through some other auxiliary methods.

[0132] Optionally, after each work order operation is executed, the signature handwriting input by the user is received to verify the identity of the operator, which can prevent phenomena such as proxy operation, enhance system security and stability, and more effectively record the operation trajectory of the personnel.

[0133] The electronic signature verification method of the work order system provided by the present invention stores the user operation history and related signature verification information and timestamp in the database for management, which is convenient for verifying the user identity and managing the user operation history record, and provides an auxiliary judgment method for backtracking and managing the user's operation record and identity.

[0134] Figure 2 The present invention provides a work order system electronic signature verification system, such as Figure 2 As shown, it mainly includes: Canvas running unit 1, database calling unit 2 and inspection and identification unit 3.

[0135] The Canvas operation unit 1 is mainly used to obtain the current signature image input by the user on the Canvas.

[0136] The database calling unit 2 is mainly used to input the current signature image into the signature database, so as to determine the original signature information corresponding to the current signature image in the signature database.

[0137] The verification and identification unit 3 is mainly used to compare the current signature image with the original signature information to obtain the signature verification result;

[0138] System management unit 4, used for allocating preset operation rights in the work order system to the user if the signature verification result is qualified;

[0139] The signature database is based on the data cache dependency of the database SQL and the built-in notification delivery service technology for data management.

[0140] The electronic signature verification system for the work order system provided by the present invention utilizes canvas to implement the functions of inputting and saving user signatures, and compares the acquired user signature image with the pre-stored original signature information of the user to complete the verification of the user's identity, which can effectively prevent the occurrence of events such as proxy operation and ensure the security and stability of the system.

[0141] Based on the content of the above embodiment, as an optional embodiment, the database calling unit 2 is used to: obtain the first pixel point data of the current signature image; generate the input information related to the current signature image according to the first pixel point data; input the input information related to the current signature image into the signature database;

[0142] Correspondingly, the verification and identification unit 3 is used to: extract the first pixel point data from the input information related to the current signature image; extract the second pixel point data from the original signature information; based on at least one of the pixel point comparison method, the center of gravity comparison method, the projection comparison method and the block comparison method, compare the first pixel point data with the second pixel point data to obtain the signature verification result.

[0143] The electronic signature verification system for the work order system provided by the present invention, on the one hand, generates a data file that is easy for a computer to read, store and process by extracting pixels from an image, which provides a theoretical basis for later comparing the current signature image with the original signature information. A variety of image information comparison methods are provided to meet the requirements of users to make independent choices according to actual needs; on the other hand, different priority levels are set for the above-mentioned pixel comparison method, center of gravity comparison method, projection comparison method and block comparison method, so that one or more comparison methods are called in turn for comprehensive comparison during each comparison process, which can further improve the accuracy and credibility of signature verification.

[0144] Based on the content of the above embodiment, as an optional embodiment, the database calling unit 2 is further used for:

[0145] Enable the Service Broker service on the server side to generate an extensible application; in the process of implementing the service-based SQL data cache dependency, explicitly call SqlDependency.Start to start a listener that receives dependency change notifications; when the listener is used to obtain input information related to the current signature image, create a SqlCommand instance, which is a SqlCacheDependency instance; obtain the signature data of the current signature image by calling the Command object; call the Cache Insert statement to establish a Cache item related to the signature data, and the Cache item contains the original signature information.

[0146] The electronic signature verification system for the work order system provided by the present invention generates a current signature image and transmits it to the server after each signature operation of the user is completed; after receiving the current signature image of the user, the server retrieves the original signature image of the user in the database, identifies the two images through a related algorithm, and returns the comparison result to the client; the client determines whether the current user is the user himself according to the information returned by the server. Among them, since the database is an SQL database, it can more effectively record, manage and call the original signature information of each user, which can effectively improve the efficiency of verification.

[0147] It should be noted that the system for improving train positioning accuracy provided by the embodiment of the present invention can be implemented based on the method for improving train positioning accuracy described in any of the above embodiments during specific execution, which will not be elaborated in this embodiment.

[0148] Figure 3 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 complete mutual communication through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the electronic signature verification method of the work order system, the method comprising: obtaining the current signature image input by the user on the Canvas; inputting the current signature image into the signature database to determine the original signature information corresponding to the current signature image in the signature database; comparing the current signature image with the original signature information to obtain the signature verification result; if the signature verification result is qualified, assigning the user a preset operation permission in the work order system; wherein the signature database is based on the data cache dependency of the database SQL and the built-in notification delivery service technology for data management.

[0149] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0150] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the work order system electronic signature verification method provided by the above methods, the method including: obtaining a current signature image input by a user on Canvas; inputting the current signature image into a signature database to determine the original signature information corresponding to the current signature image in the signature database; comparing the current signature image with the original signature information to obtain a signature verification result; if the signature verification result is qualified, assigning the user preset operation permissions in the work order system; wherein the signature database is based on the data cache dependency of the database SQL, and the built-in notification delivery service technology for data management.

[0151] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the electronic signature verification method of the work order system provided in the above-mentioned embodiments, the method comprising: obtaining a current signature image input by a user on Canvas; inputting the current signature image into a signature database to determine the original signature information corresponding to the current signature image in the signature database; comparing the current signature image with the original signature information to obtain a signature verification result; if the signature verification result is qualified, assigning the user preset operation permissions in the work order system; wherein the signature database is based on the data cache dependency of the database SQL, and data management is performed based on the built-in notification delivery service technology.

[0152] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0153] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0154] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for verifying an electronic signature of a work order system, characterized in that: include: Get the current signature image entered by the user on the Canvas; Inputting the current signature image into a signature database to determine original signature information corresponding to the current signature image in the signature database; Compare the current signature image with the original signature information to obtain a signature verification result; If the signature verification result is qualified, assigning the user a preset operation authority in the work order system; Wherein, the signature database is based on the data cache dependency of the database SQL and the built-in notification delivery service technology for data management; The data cache dependency and the built-in notification delivery service technology are mechanisms for notifying whether the cache is expired by monitoring the read and write of the database; The step of inputting the current signature image into the signature database comprises: Acquire first pixel data of the current signature image; generate input information related to the current signature image according to the first pixel data; input the input information related to the current signature image into the signature database; Accordingly, the comparing the current signature image with the original signature information to obtain the signature verification result includes: extracting first pixel data from the input information related to the current signature image; extracting second pixel data from the original signature information; comparing the first pixel data with the second pixel data based on at least one of a pixel comparison method, a centroid comparison method, a projection comparison method, and a block comparison method to obtain the signature verification result; Determining the original signature information corresponding to the current signature image in the signature database includes: Enable the Service Broker service on the server side to generate an extensible application; in the process of implementing the service-based SQL data cache dependency, explicitly call SqlDependency.Start to start a listener that receives dependency change notifications; when the listener is used to obtain input information related to the current signature image, create a SqlCommand instance, which is a SqlCacheDependency instance; obtain the signature data of the current signature image by calling the Command object; call the Cache Insert statement to establish a Cache item related to the signature data, and the Cache item contains the original signature information.

2. The electronic signature verification method of the work order system according to claim 1, characterized in that: Before obtaining the current signature image input by the user on the Canvas, it also includes pre-building the signature database; The pre-building of the signature database comprises: Collect the electronic signature images and user accounts of each relevant user, create handwriting verification reference data of each relevant user, and obtain user basic data related to each of the user accounts; The signature database is constructed according to the handwriting verification reference data and the user basic data.

3. The electronic signature verification method of the work order system according to claim 1, characterized in that: After comparing the current signature image with the original signature information to obtain the signature verification result, the method further includes: If the signature verification result is qualified, a user operation record is generated; the user operation record at least includes: input information related to the current signature image; The user operation record is timestamped and stored in the signature database.

4. A work order system electronic signature verification system, characterized in that: include: Canvas running unit, used to obtain the current signature image input by the user on Canvas; a database calling unit, configured to input the current signature image into a signature database, so as to determine original signature information corresponding to the current signature image in the signature database; A verification and identification unit, used to compare the current signature image with the original signature information to obtain a signature verification result; A system management unit, configured to allocate preset operation permissions in the work order system to the user if the signature verification result is qualified; Wherein, the signature database is based on the data cache dependency of the database SQL and the built-in notification delivery service technology for data management; The data cache dependency and the built-in notification delivery service technology are mechanisms for notifying whether the cache is expired by monitoring the read and write of the database; The database calling unit is further used for: Acquire first pixel data of the current signature image; generate input information related to the current signature image according to the first pixel data; input the input information related to the current signature image into the signature database; Correspondingly, the verification and identification unit is further used to: extract the first pixel point data in the input information related to the current signature image; extract the second pixel point data in the original signature information; Based on at least one of a pixel comparison method, a center of gravity comparison method, a projection comparison method, and a block comparison method, the first pixel point data is compared with the second pixel point data to obtain the signature verification result; The database calling unit is further used for: Enable the Service Broker service on the server side to generate an extensible application; in the process of implementing the service-based SQL data cache dependency, explicitly call SqlDependency.Start to start a listener that receives dependency change notifications; when the listener is used to obtain input information related to the current signature image, create a SqlCommand instance, which is a SqlCacheDependency instance; obtain the signature data of the current signature image by calling the Command object; call the Cache Insert statement to establish a Cache item related to the signature data, and the Cache item contains the original signature information.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the work order system electronic signature verification method as described in any one of claims 1 to 3 are implemented.

6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the work order system electronic signature verification method as described in any one of claims 1 to 3 are implemented.