Control method and device of warranty system and storage medium

By achieving automated guarantee verification processes in the guarantee system, obtaining and checking the guarantee information, the problem of low guarantee verification efficiency is solved, and a more efficient and accurate verification process is achieved.

CN119357250APending Publication Date: 2025-01-24SHENZHEN BUILDING MATERIALS TRADING GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411294168.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

The verification efficiency of letters of guarantee is low, mainly due to the reliance on traditional paper documents and manual review, which leads to the inefficiency of the verification process.

Method used

By obtaining the registered target guarantee, identifying the guarantee elements and numbers, query the matched guarantee information, and save the target guarantee based on the verification results. This method uses modules in the guarantee system to automate verification to improve efficiency.

Benefits of technology

Through the automated letter of guarantee verification process, the verification efficiency of the letter of guarantee is significantly improved, the manual error rate is reduced, and the accuracy of the verification process is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119357250A_ABST
    Figure CN119357250A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device of a warranty system and a storage medium, and relates to the technical field of digital warrantments, and the method comprises the steps: obtaining a registered target warranty, and recognizing a warranty element and a warranty number in the target warranty; querying matched warranty information according to the warranty number; and if the matched warranty information exists, checking the warranty element according to the warranty information, and storing the target warranty after successful checking. The warranty verification module in the warranty system is used for checking the warranty, so that the warranty verification efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of digital guarantee technology, and in particular to a control method, device and storage medium for a guarantee system. Background Art

[0002] A letter of guarantee, also known as a guarantee, is a written credit guarantee certificate issued by a bank, insurance company, guarantee company or individual to a third party at the request of an applicant. At present, the management of letters of guarantee mainly relies on traditional paper documents and manual review. When conducting procurement and subcontracting, the owner unit usually requires suppliers to provide paper letters of guarantee, such as performance bonds and advance payment bonds, to avoid contract risks. After receiving these paper letters of guarantee, the staff directly communicates with the issuing institution to verify the authenticity of the letter of guarantee, which results in low verification efficiency of the letter of guarantee.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The present application provides a control method, device and storage medium of a letter of guarantee system, aiming to solve the problem of low efficiency in verification of letters of guarantee.

[0005] To achieve the above-mentioned purpose, the present application provides a control method for a letter of guarantee system, and the control method for the letter of guarantee system comprises the following steps:

[0006] Obtain a registered target letter of guarantee and identify the guarantee elements and the letter of guarantee number in the target letter of guarantee;

[0007] Query the matching letter of guarantee information according to the letter of guarantee number;

[0008] If there is matching letter of guarantee information, the letter of guarantee elements are checked according to the letter of guarantee information, and the target letter of guarantee is saved after successful verification.

[0009] In one embodiment, a guarantee registration module is provided in the guarantee system, and before the step of obtaining a registered target guarantee and identifying the guarantee elements and the guarantee number in the target guarantee, the step further includes:

[0010] Controlling the client to output a registration interface, and obtaining registration information based on the registration interface;

[0011] Obtain a randomly generated filing number, and associate the filing number with the registration information to generate the target letter of guarantee.

[0012] In one embodiment, a guarantee account query module is provided in the guarantee system, and after the step of verifying the guarantee elements according to the guarantee information if there is a match, and saving the target guarantee after successful verification, the method further includes:

[0013] When it is detected that the query control is triggered, the filter condition entered by the user is obtained;

[0014] The matching target letter of guarantee information is queried based on the screening conditions, and the target letter of guarantee information is fed back to the client.

[0015] In one embodiment, the guarantee system is provided with an institution verification module, and if there is matching guarantee information, after the step of verifying the guarantee elements according to the guarantee information, it further includes:

[0016] If the elements of the letter of guarantee fail to be verified, the elements of the letter of guarantee are fed back to the corresponding review interface through the institution verification module, so that the reviewer can verify the elements of the letter of guarantee;

[0017] Receiving a review result based on the review interface, and saving the target letter of guarantee corresponding to the letter of guarantee element after the review result is passed;

[0018] When the target letter of guarantee fails to pass the review and / or the target letter of guarantee expires, the target letter of guarantee is returned to the corresponding user terminal through the return management module.

[0019] In one embodiment, before the step of verifying the elements of the letter of guarantee according to the letter of guarantee information and saving the target letter of guarantee after successful verification, the step further includes:

[0020] When a request to save the target letter of guarantee is detected, obtaining a digital certificate corresponding to the target letter of guarantee;

[0021] Verifying the digital certificate according to the signature of the digital certificate;

[0022] When the digital certificate is verified, the negotiated key is obtained, and the target letter of guarantee is encrypted according to the key;

[0023] The encrypted target letter of guarantee is stored in the database.

[0024] In one embodiment, the method further comprises:

[0025] Obtain test data, test cases and test scripts, wherein the test cases include guarantee registration test, guarantee query test, guarantee verification test, review function test and corresponding expected results;

[0026] executing the test script based on the test data and determining a test result of the test script;

[0027] The test result is compared with the expected result in the test case, and a record log is generated according to the comparison result.

[0028] In one embodiment, before the step of obtaining test data, test cases and test scripts, the method further includes:

[0029] Obtaining functional information of each module, and building a Docker image according to the functional information, wherein the Docker image is a simulated image of the letter of guarantee system;

[0030] Acquire test requirements, create a test environment according to the test requirements, and deploy the test environment in the Docker image, wherein the test requirements include service, network, and data volume configuration.

[0031] In one embodiment, after the step of comparing the test result with the expected result in the test case and generating a record log according to the comparison result, the method further includes:

[0032] When the comparison result is that the test result is different from the expected result, obtaining abnormal information in the record log;

[0033] Modify the test data according to the abnormal information, and obtain the modified target test data;

[0034] Execute the target test case corresponding to the exception information according to the target test data, and generate a test report according to the target test result and the exception information.

[0035] In addition, to achieve the above-mentioned purpose, the present application also provides a control device of a letter of guarantee system, the control device of the letter of guarantee system comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the control method of the letter of guarantee system as described above.

[0036] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, which is a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the control method of the letter of guarantee system as described above are implemented.

[0037] The present application provides a control method for a letter of guarantee system, a control device for a letter of guarantee system, and a storage medium. The method obtains a registered target letter of guarantee, identifies the letter of guarantee elements and the letter of guarantee number in the target letter of guarantee, and then searches for matching letter of guarantee information according to the letter of guarantee number. Finally, if there is matching letter of guarantee information, the letter of guarantee elements are checked according to the letter of guarantee information, and the target letter of guarantee is saved after successful verification. This improves the verification efficiency of the letter of guarantee. The letter of guarantee is verified by the letter of guarantee verification module in the letter of guarantee system, thereby improving the verification efficiency of the letter of guarantee. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0040] Figure 1 This is a flow chart of the first embodiment of the control method of the application guarantee system;

[0041] Figure 2 This is a schematic diagram of a guarantee system involved in an embodiment of the present application;

[0042] Figure 3 This is a schematic diagram of the mechanism verification involved in the embodiment of this application;

[0043] Figure 4 This is a functional flow chart of the guarantee system involved in the embodiment of this application;

[0044] Figure 5 This is a schematic diagram of the interface for checking the elements of a letter of guarantee involved in this embodiment;

[0045] Figure 6 This is a flow chart of a second embodiment of the control method of the application guarantee system;

[0046] Figure 7 This is a schematic diagram of the architecture of the hardware operating environment of the control device of the guarantee system involved in the embodiment of the present application.

[0047] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0048] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0049] In order to better understand the above technical solution, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0050] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0051] The main solution of this application is: obtain the registered target letter of guarantee, and identify the letter of guarantee elements and the letter of guarantee number in the target letter of guarantee; query the matching letter of guarantee information according to the letter of guarantee number; if there is matching letter of guarantee information, verify the letter of guarantee elements according to the letter of guarantee information, and save the target letter of guarantee after successful verification.

[0052] At present, the management of letters of guarantee mainly relies on traditional paper documents and manual review. When conducting procurement and subcontracting, the owner unit usually requires suppliers to provide paper letters of guarantee, such as performance bonds and advance payment bonds, to avoid contract risks. After receiving these paper letters of guarantee, the staff directly communicates with the issuing institution to verify the authenticity of the letter of guarantee, which leads to low efficiency in the verification of the letter of guarantee.

[0053] This application obtains a registered target letter of guarantee, identifies the letter of guarantee elements and the letter of guarantee number in the target letter of guarantee, then queries the matching letter of guarantee information based on the letter of guarantee number, and finally, if there is matching letter of guarantee information, verifies the letter of guarantee elements based on the letter of guarantee information, and saves the target letter of guarantee after successful verification, so as to improve the verification efficiency of the letter of guarantee.

[0054] Embodiment 1

[0055] Please refer to Figure 1 In a first embodiment, the control method of the letter of guarantee system comprises the following steps:

[0056] Step S10: Obtain a registered target letter of guarantee, and identify the letter of guarantee elements and the letter of guarantee number in the target letter of guarantee.

[0057] In this embodiment, the guarantee system performs processing actions, such as Figure 2 As shown, Figure 2 This is a schematic diagram of the guarantee system involved in the embodiment of this application. Figure 2 In the letter of guarantee system, a letter of guarantee registration module, a letter of guarantee verification module, a letter of guarantee ledger query module, a return management module, an institution verification module and a letter of guarantee testing module are provided. The letter of guarantee verification module in the letter of guarantee system obtains the target letter of guarantee registered in the letter of guarantee registration module. This may be when the user uploads the target letter of guarantee through the front end, and the letter of guarantee registration module detects the upload action and passes the target letter of guarantee to the letter of guarantee verification module. Alternatively, when the verification control is triggered, the letter of guarantee verification module obtains the registered target letter of guarantee. After obtaining the target letter of guarantee, the letter of guarantee elements and the unique letter of guarantee number in the target letter of guarantee are identified, wherein the letter of guarantee elements include fields such as the guarantor, beneficiary, contract number, contract name, letter of guarantee amount, opening date, and expiration date.

[0058] Specifically, the letter of guarantee system adopts a layered architecture design, including the front-end display layer, the back-end logic layer, the data access layer and the database layer. The front-end uses the Vue.js framework in the JavaScript framework to provide a dynamic and responsive user interface. The back-end adopts a microservice architecture and communicates with the front-end through the RESTful API. Among them, the JavaScript framework refers to a series of pre-written JavaScript code libraries that can provide a structured way to build Web (World Wide Web) applications; the Vue.js framework is a progressive JavaScript framework for building user interfaces, which can be applied layer by layer from the bottom up. Its goal is to achieve responsive and reusable UI (User Interface) components through the simplest API (Application Programming Interface) possible. RESTful API is a design style and architecture for building network applications and services. It is based on the HTTP (Hypertext Transfer Protocol) protocol and follows the REST (Representational State Transfer) principle. It can provide a simple, consistent, scalable and stateless way to interact between clients and servers.

[0059] As an optional implementation method, the method of identifying the guarantee elements and the guarantee number in the target letter of guarantee is to first convert the target letter of guarantee into an image format, use a text detection algorithm to determine the area containing text in the image, and further segment the detected text area into individual characters or words. The key to identifying the letter of guarantee number and the letter of guarantee elements is to locate the area containing the keywords "letter of guarantee number" and "letter of guarantee elements", where the keywords here are preset. For the area corresponding to the located keyword, analyze the surrounding area to find the number or letter sequence and character area associated with it, and use the OCR engine to identify the segmented characters or words. And check and correct the recognition results, such as correcting common spelling errors or format inconsistencies. Finally, verify the recognition results according to the known format of the letter of guarantee number and the letter of guarantee elements, and output the identified letter of guarantee number and letter of guarantee elements to improve the accuracy of the letter of guarantee number and the letter of guarantee elements.

[0060] As another optional implementation method, the method of identifying the guarantee elements and the guarantee number in the target guarantee can also be to create one or more templates to match the structure and format of the guarantee, and then extract the required data from the template. Set corresponding templates for different guarantee formats, and after obtaining the target guarantee, fill the content in the document of the target guarantee into the corresponding template, and then query the corresponding field value based on the keywords of the guarantee elements such as guarantor, beneficiary, contract number, contract name, guarantee amount, opening date, expiration date, etc., so as to improve the efficiency of extracting the guarantee number and guarantee elements.

[0061] Optionally, in this embodiment, a guarantee registration module is provided in the guarantee system, and before the step of obtaining a registered target guarantee and identifying the guarantee elements and the guarantee number in the target guarantee, the following steps are further included:

[0062] Control the client to output a registration interface, and obtain registration information based on the registration interface; obtain a randomly generated archive number, and associate the archive number with the registration information to generate the target letter of guarantee.

[0063] Specifically, the guarantee registration module in the guarantee system performs the processing action. When the user enters the registration information in the registration interface, the guarantee registration module will obtain the registration information fed back by the front end. At this time, the guarantee system generates a random filing number, which is unique, and then associates the filing number with the registration information to generate the target guarantee. It can be understood that the guarantee registration module allows the user to enter the detailed information of the guarantee and generates a unique filing number. The guarantee registration module will automatically check the uniqueness of the filing number to avoid repeated submission.

[0064] Step S20: Query matching letter of guarantee information according to the letter of guarantee number.

[0065] In this embodiment, after identifying the letter of guarantee elements and the letter of guarantee number, the letter of guarantee verification module will query the corresponding API of the issuing institution in the database according to the issuing institution of the target letter of guarantee, and then call the external API service with the letter of guarantee number as the keyword to query the matching letter of guarantee information from the corresponding issuing institution.

[0066] Step S30: If there is matching letter of guarantee information, check the letter of guarantee elements according to the letter of guarantee information, and save the target letter of guarantee after successful verification.

[0067] In this embodiment, if the guarantee information matching the guarantee number is found in the opening institution corresponding to the target guarantee, the guarantee elements of the target guarantee are checked one by one according to the queried guarantee information, including checking the guarantor, beneficiary, contract number, contract name, guarantee amount, opening date, expiration date and other field values. If all guarantee elements are successfully checked, the guarantee elements are deemed to be successfully checked and the target guarantee is saved in the database. In addition, the method of checking the guarantee elements is to extract all target guarantee elements in the guarantee information, and then compare the field values ​​of the guarantee elements with the field values ​​in the target guarantee elements. When all guarantee elements are successfully matched, it is determined that the guarantee elements are successfully checked.

[0068] Specifically, by directly connecting with the API interfaces of multiple financial institutions, a fast and automated process for verifying the authenticity of letters of guarantee is achieved. This mechanism not only improves the verification efficiency, but also reduces the error rate caused by manual operation. In addition, the database design in the letter of guarantee system adopts the relational database management system MySQL, and the database design will follow the principle of normalization to reduce data redundancy and improve data integrity. The letter of guarantee system also implements fine-grained control of roles and permissions, ensuring that users of different roles can access corresponding functions and data according to authorization, thereby enhancing the security of the system. It also adopts a user-friendly interface design, provides intuitive operation instructions and feedback information, improves the user experience, and reduces the user's learning cost.

[0069] Optionally, in this embodiment, a guarantee account query module is provided in the guarantee system, and if there is matching guarantee information, after the step of verifying the guarantee elements according to the guarantee information and saving the target guarantee after successful verification, the method further includes:

[0070] When it is detected that the query control is triggered, the filter conditions input by the user are obtained; the matching target letter of guarantee information is queried based on the filter conditions, and the target letter of guarantee information is fed back to the client.

[0071] Specifically, after the query control in the front-end interface is triggered, the guarantee ledger query module will obtain the filter conditions input by the user based on the interface, and then query the target guarantee information that the user wants to query through the filter conditions. After the query, the target guarantee information will be fed back to the client and displayed on the corresponding interface of the guarantee system of the client. The guarantee ledger query module allows users to query registered guarantee information, thereby providing advanced search and filtering functions so that users can quickly find the required guarantee records.

[0072] Furthermore, in this embodiment, the guarantee system is provided with an institution verification module and a return management module. If there is a matching guarantee information, after the step of verifying the guarantee elements according to the guarantee information, it also includes:

[0073] If the elements of the letter of guarantee fail to be verified, the elements of the letter of guarantee will be fed back to the corresponding review interface through the institution verification module, so that the reviewer can verify the elements of the letter of guarantee; the review result is received based on the review interface, and after the review result is passed, the target letter of guarantee corresponding to the elements of the letter of guarantee will be saved; when the review of the target letter of guarantee fails and / or the target letter of guarantee expires, the target letter of guarantee will be returned to the corresponding user end through the return management module.

[0074] Specifically, the guarantee system is provided with an institution verification module. If at least one guarantee element fails to be verified during the guarantee element verification process in step S30, the guarantee verification module will send the target guarantee to the institution verification module. The institution verification module then reviews the guarantee elements of the target guarantee. After the institution verification module passes the review, the target guarantee corresponding to the guarantee elements is saved in the database. Otherwise, the target guarantee is returned. The review of guarantee elements is specially designed for bank account managers, allowing them to upload and record guarantee verification results. The guarantee system also provides file upload, status update and result notification functions. Figure 3 As shown, Figure 3 This is a schematic diagram of the institution verification involved in the embodiment of the present application. After the manager connected to the institution verification module reviews the target letter of guarantee, the review result will be uploaded to Figure 3 As shown in the page, the guarantee system will save the target letter of guarantee after detecting that the review is successful. After the target letter of guarantee is fed back to the back-end service of the guarantee system, the return management module monitors the process of the target letter of guarantee in real time. If the letter of guarantee verification fails or expires, the target letter of guarantee will be returned to the corresponding user end. In addition, the guarantee system will record the details of all return operations and provide batch operation functions to improve efficiency. It also provides a multi-dimensional display of the guarantee verification results, including basic information, element matching status, institution return details, etc., so that users can fully understand the verification status of the letter of guarantee.

[0075] Optionally, in this embodiment, before the step of saving the target letter of guarantee after successful verification, the following steps are further included:

[0076] When a request to save the target letter of guarantee is detected, the digital certificate corresponding to the target letter of guarantee is obtained; the digital certificate is verified according to the signature of the digital certificate; when the digital certificate verification passes, the negotiated key is obtained, and the target letter of guarantee is encrypting according to the key; the encrypted target letter of guarantee is saved in a database.

[0077] Specifically, after the target letter of guarantee is successfully checked, or after the target check fails and the review is successful, a save request will be sent to the database. At this time, the letter of guarantee system first obtains the digital certificate carried in the target letter of guarantee. The digital certificate is sent by the letter of guarantee system to the user end. When the target letter of guarantee is generated according to the registration information, the digital certificate is carried in the target letter of guarantee. Each digital certificate has a signature of a certificate issuing authority. The letter of guarantee system has a built-in trusted signature list. By comparing the signature of the digital certificate with the target signature in the signature list, the verification of the digital certificate is completed. When there is a target signature matching the signature in the signature list, the verification is passed, otherwise it fails. When the digital certificate is verified, the negotiated key is obtained, wherein the key is the key negotiated and determined by the letter of guarantee system and the user end with the permission to read and write the database. The target letter of guarantee is encrypted by the key and based on the preset encryption algorithm, and then the encrypted target letter of guarantee is saved in the database to improve the security of data storage.

[0078] For example, Figure 4 As shown, Figure 4 This is a functional flow chart of the guarantee system involved in the embodiment of this application. After the guarantee is successfully registered, the guarantee number and guarantee elements of the registered guarantee are obtained, and the matching bank is queried according to the guarantee number to save the corresponding guarantee information. Then the guarantee elements are checked according to the guarantee information, such as Figure 5 As shown, Figure 5 This is a schematic diagram of the interface for checking the elements of the letter of guarantee involved in this embodiment. If there is a mismatch, it will be manually reviewed by the institution verification module and saved in the database after passing. The letter of guarantee ledger query module can be used to query at any time. The saved letter of guarantee is monitored in real time. If the letter of guarantee expires or fails to pass the verification, the letter of guarantee will be returned.

[0079] In the technical solution provided in this embodiment, a registered target letter of guarantee is obtained, and the letter of guarantee elements and the letter of guarantee number in the target letter of guarantee are identified, and then the matching letter of guarantee information is queried according to the letter of guarantee number. Finally, if there is matching letter of guarantee information, the letter of guarantee elements are checked according to the letter of guarantee information, and the target letter of guarantee is saved after the verification is successful, so as to improve the verification efficiency of the letter of guarantee.

[0080] Embodiment 2

[0081] Please refer to Figure 6 In a second embodiment, the method further comprises the following steps:

[0082] Step S40: Acquire test data, test cases and test scripts, wherein the test cases include a guarantee registration test, a guarantee query test, a guarantee verification test, a review function test and corresponding expected results.

[0083] In this embodiment, the processing action is performed by the test module, and the functions of each module in the letter of guarantee system are simulated in the test module through Docker technology. Before obtaining the test data, test cases and test scripts, the letter of guarantee data for testing is generated according to the test requirements, and saved in the database after generation, wherein the letter of guarantee data includes test data and test cases, and the test cases include letter of guarantee registration test, letter of guarantee query test, letter of guarantee verification test, review function test and corresponding expected results. The test script is pre-written, and there is a corresponding test script for each different test case. By determining the test case, the test script associated with it can be queried. In addition, the test environment of the letter of guarantee test module needs to be started.

[0084] Optionally, in this embodiment, before step S40, the following steps are further included:

[0085] Obtain functional information of each module, and build a Docker image based on the functional information, wherein the Docker image is a simulation image of the letter of guarantee system; obtain test requirements, wherein the test requirements include service, network and data volume configuration, create a test environment according to the test requirements, and deploy the test environment in the Docker image.

[0086] Specifically, the functional information of each module in the guarantee system is obtained, wherein each module includes a guarantee registration module, a guarantee verification module, a guarantee ledger query module, a return management module and an institution verification module, and the functional information includes the configuration parameters and connection relationships of each module. Build the Docker image of each module according to the functional information, and the Docker image is a simulated image of the guarantee system. Connect the built Docker image with the corresponding connection relationship and deploy it in the test module. Then obtain the test requirements, and define the dependencies between the network, data volume or other containers, and then create a test environment according to the above-defined test requirements, and deploy it in each Docker image in the test module.

[0087] Step S50: Execute the test script based on the test data, and determine the test result of the test script.

[0088] In this embodiment, a corresponding test script is determined based on the test data, and the test script is executed, the corresponding Docker image in the test module is called to run, and the running result of the Docker image is obtained, and the running result is determined as the test result of the test script.

[0089] Exemplarily, the process of executing the test script includes a letter of guarantee registration test, which verifies that the user can successfully submit the letter of guarantee registration information, and checks whether the system correctly generates a unique filing number, and completes the verification by testing the required items of the letter of guarantee information. The letter of guarantee query test tests the return logic of different return_code values, including system error (-1), business error (1), success and return element (0), and no matching result (5001), and the return logic is the test result. The letter of guarantee verification test verifies the letter of guarantee elements, such as the letter of guarantee number, the full name of the guaranteed enterprise, the guarantee amount of the letter of guarantee, etc., and compares and verifies with the system database or third-party data source, and then outputs the verification result, and tests the letter of guarantee status update logic to ensure that the status correctly reflects the verification result. The manual review function test tests the manual review process for the letter of guarantee that fails the system verification, and verifies whether the submission and update of the review result are in line with expectations. The above is the specific execution process of various test scripts, and each process has a corresponding output result, which is the test result.

[0090] Step S60: Compare the test result with the expected result in the test case, and generate a record log according to the comparison result.

[0091] In this embodiment, after the test script is executed, the test result of the test script and the expected result of the test case corresponding to the test script are obtained, the test result is compared with the expected result, and it is verified whether the expected result of each test case is consistent with the test result. Key information in the test process, including success, failure and abnormal conditions, is recorded, and a record log is generated.

[0092] Optionally, in this embodiment, after the step of comparing the test result with the expected result in the test case and generating a record log according to the comparison result, the step further includes:

[0093] When the comparison result is that the test result is different from the expected result, obtain the exception information in the record log; modify the test data according to the exception information, and obtain the modified target test data; execute the target test case corresponding to the exception information according to the target test data, and generate a test report according to the target test result and the exception information.

[0094] Specifically, when the comparison result shows that the test result is different from the expected result, the exception information in the record log is obtained, and the exception information is tracked, the exception information found in the test is recorded in the test module, and then a detailed defect report including reproduction steps and record logs is fed back to the management terminal. The test data is modified according to the exception information, and the affected test cases are re-executed after the problem is fixed, and a detailed test report is generated, including test coverage and result analysis. In addition, after the test is completed, the test container is stopped and removed, and the data volume used in the test process is cleaned up to prepare for the next test.

[0095] In the technical solution provided in this embodiment, by obtaining test data, test cases and test scripts, wherein the test cases include a guarantee registration test, a guarantee query test, a guarantee verification test, a review function test and corresponding expected results, and then executing the test script based on the test data, and determining the test result of the test script, and finally comparing the test result with the expected result in the test case, and generating a record log based on the comparison result, the guarantee system is tested by adopting the containerization technology Docker to facilitate the deployment and expansion of the test module, thereby improving the testing efficiency.

[0096] Since the system introduced in the embodiment of the present application is a system used to implement the method of the embodiment of the present application, based on the method introduced in the embodiment of the present application, the person skilled in the art can understand the specific structure and deformation of the system, so it is not repeated here. All systems used in the method of the embodiment of the present application belong to the scope of protection of this application.

[0097] The present application provides a control device for a letter of guarantee system, the control device for the letter of guarantee system comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method for the letter of guarantee system in the above-mentioned embodiment one.

[0098] Reference below Figure 7, which shows a schematic diagram of the structure of a control device of the guarantee system suitable for implementing the embodiment of the present application. The control device of the guarantee system in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The control device of the guarantee system shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0099] like Figure 7 As shown, the control device of the guarantee system may include a processing device 1001 (e.g., a core processor, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the control device of the guarantee system are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the control device of the guarantee system to communicate with other devices wirelessly or by wire to exchange data. Although the control device of the guarantee system with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0100] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0101] The control device of the guarantee system provided by the present application adopts the control method of the guarantee system in the above embodiment, which can solve the technical problem of low verification efficiency of the guarantee in the related scheme. Compared with the prior art, the beneficial effects of the control device of the guarantee system provided by the present application are the same as the beneficial effects of the control method of the guarantee system provided by the above embodiment, and the other technical features in the control device of the guarantee system are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0102] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0103] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0104] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the control method of the letter of guarantee system in the above-mentioned embodiment.

[0105] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0106] The above-mentioned computer-readable storage medium may be included in the control device of the letter of guarantee system; or it may exist independently without being assembled into the control device of the letter of guarantee system.

[0107] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the control device of the letter of guarantee system, the control device of the letter of guarantee system: obtains a registered target letter of guarantee, and identifies the letter of guarantee elements and the letter of guarantee number in the target letter of guarantee; queries the matching letter of guarantee information according to the letter of guarantee number; if there is matching letter of guarantee information, verifies the letter of guarantee elements according to the letter of guarantee information, and saves the target letter of guarantee after successful verification.

[0108] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0109] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0110] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0111] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the control method of the above-mentioned letter of guarantee system, and can solve the technical problem of low verification efficiency of the letter of guarantee in the related scheme. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the control method of the letter of guarantee system provided in the above-mentioned embodiment, and will not be repeated here.

[0112] An embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the control method of the letter of guarantee system as described above.

[0113] The computer program product provided in this application can solve the technical problem of low verification efficiency of the guarantee in the related scheme. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiment of this application are the same as the beneficial effects of the control method of the guarantee system provided in the above embodiment, which will not be repeated here.

[0114] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A method for controlling a letter of guarantee system, characterized in that: The method comprises the following steps: Obtain a registered target letter of guarantee and identify the guarantee elements and the letter of guarantee number in the target letter of guarantee; Query the matching letter of guarantee information according to the letter of guarantee number; If there is matching letter of guarantee information, the letter of guarantee elements are checked according to the letter of guarantee information, and the target letter of guarantee is saved after successful verification.

2. The method according to claim 1, characterized in that The guarantee system is provided with a guarantee registration module. Before the step of obtaining the registered target guarantee and identifying the guarantee elements and the guarantee number in the target guarantee, the following steps are also included: Controlling the client to output a registration interface, and obtaining registration information based on the registration interface; Obtain a randomly generated filing number, and associate the filing number with the registration information to generate the target letter of guarantee.

3. The method according to claim 1, characterized in that The guarantee system is provided with a guarantee account query module. If there is matching guarantee information, after checking the guarantee elements according to the guarantee information and saving the target guarantee after successful checking, it also includes: When it is detected that the query control is triggered, the filter condition entered by the user is obtained; The matching target letter of guarantee information is queried based on the screening conditions, and the target letter of guarantee information is fed back to the client.

4. The method according to claim 1, characterized in that The guarantee system is provided with an institution verification module and a return management module. If there is a matching guarantee information, after the step of verifying the guarantee elements according to the guarantee information, it also includes: If the elements of the letter of guarantee fail to be verified, the elements of the letter of guarantee are fed back to the corresponding review interface through the institution verification module, so that the reviewer can verify the elements of the letter of guarantee; Receiving a review result based on the review interface, and saving the target letter of guarantee corresponding to the letter of guarantee element after the review result is passed; When the target letter of guarantee fails to pass the review and / or the target letter of guarantee expires, the target letter of guarantee is returned to the corresponding user terminal through the return management module.

5. The method according to claim 1, characterized in that Before the step of saving the target letter of guarantee after successful verification, the method further comprises: When a request to save the target letter of guarantee is detected, obtaining a digital certificate corresponding to the target letter of guarantee; Verifying the digital certificate according to the signature of the digital certificate; When the digital certificate is verified, the negotiated key is obtained, and the target letter of guarantee is encrypted according to the key; The encrypted target letter of guarantee is stored in the database.

6. The method according to claim 1, characterized in that The method further comprises: Obtain test data, test cases and test scripts, wherein the test cases include guarantee registration test, guarantee query test, guarantee verification test, review function test and corresponding expected results; executing the test script based on the test data and determining a test result of the test script; The test result is compared with the expected result in the test case, and a record log is generated according to the comparison result.

7. The method according to claim 6, characterized in that Before the step of obtaining test data, test cases and test scripts, the method further includes: Obtaining functional information of each module, and building a Docker image according to the functional information, wherein the Docker image is a simulated image of the letter of guarantee system; Acquire test requirements, create a test environment according to the test requirements, and deploy the test environment in the Docker image, wherein the test requirements include service, network, and data volume configuration.

8. The method according to claim 6, characterized in that After the step of comparing the test result with the expected result in the test case and generating a record log according to the comparison result, the method further includes: When the comparison result is that the test result is different from the expected result, obtaining abnormal information in the record log; Modify the test data according to the abnormal information, and obtain the modified target test data; Execute the target test case corresponding to the exception information according to the target test data, and generate a test report according to the target test result and the exception information.

9. A control device for a letter of guarantee system, characterized in that: The control device of the letter of guarantee system includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the control method of the letter of guarantee system as described in any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for controlling the letter of guarantee system according to any one of claims 1 to 8 are implemented.