CN113343254A - Insurance function encryption and decryption method, device, medium and electronic equipment based on OFD format - Google Patents

Insurance function encryption and decryption method, device, medium and electronic equipment based on OFD format Download PDF

Info

Publication number
CN113343254A
CN113343254A CN202110599077.5A CN202110599077A CN113343254A CN 113343254 A CN113343254 A CN 113343254A CN 202110599077 A CN202110599077 A CN 202110599077A CN 113343254 A CN113343254 A CN 113343254A
Authority
CN
China
Prior art keywords
insurance
ofd
format
ciphertext
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110599077.5A
Other languages
Chinese (zh)
Other versions
CN113343254B (en
Inventor
陈洲
李强
朱斌
何永龙
沈云
张志恒
陆卫东
朱佳伟
王誉轩
戴文峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guotai Epoint Software Co Ltd
Original Assignee
Guotai Epoint Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guotai Epoint Software Co Ltd filed Critical Guotai Epoint Software Co Ltd
Priority to CN202110599077.5A priority Critical patent/CN113343254B/en
Publication of CN113343254A publication Critical patent/CN113343254A/en
Application granted granted Critical
Publication of CN113343254B publication Critical patent/CN113343254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/08Auctions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • H04L9/3066Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy involving algebraic varieties, e.g. elliptic or hyper-elliptic curves

Abstract

The embodiment of the application discloses a method, a device, a medium and an electronic device for encrypting and decrypting a insurance policy based on an OFD format. The method is applied to an electronic trading bidding system and comprises the following steps: acquiring an insurance application file; encrypting the insurance application file by using a preset encryption algorithm to generate an OFD format ciphertext insurance; if the opening operation is detected, acquiring a security letter decryption request to obtain a decryption key; decrypting the OFD format ciphertext insurance function according to the decryption key to obtain an OFD format plaintext insurance function; and combining the OFD format ciphertext insurance function and the OFD format plaintext insurance function through the OFD encryption component to generate a target insurance function. According to the technical scheme, the OFD format ciphertext insurance and the OFD format plaintext insurance are combined to generate the target insurance, so that the working efficiency of workers can be improved, and the safety of insurance files can be improved.

Description

Insurance function encryption and decryption method, device, medium and electronic equipment based on OFD format
Technical Field
The embodiment of the application relates to the technical field of electronic bidding, in particular to a method, a device, a medium and an electronic device for encrypting and decrypting an insurance policy based on an OFD format.
Background
The file format currently used in the electronic trading bidding system and the financial service support platform generally uses a PDF format file.
In the application process of the electronic bidding insurance letter, a PDF ciphertext insurance letter is generated before opening the bid, namely, the project information and the information of the tenderer are encrypted. After the bidding is opened, a PDF plaintext letter is generated, so that sensitive information such as tenderers and projects is prevented from being leaked before the bidding is opened.
The proposal is equivalent to that two insurance letters are generated in the bidding process, the workload is large, and the working efficiency of the bidding personnel is low. And the insurance policy is based on a PDF format file, and has potential safety hazard on the confidentiality of information resources.
Disclosure of Invention
The embodiment of the application provides an OFD format-based insurance encryption and decryption method, device, medium and electronic equipment, wherein an OFD format ciphertext insurance and an OFD format plaintext insurance are combined to generate a target insurance, so that the working efficiency of workers can be improved, and the security of insurance files can be improved.
In a first aspect, an embodiment of the present application provides a method for encrypting and decrypting an insurance policy based on an OFD format, where the method includes:
acquiring an insurance application file;
encrypting the insurance application file by using a preset encryption algorithm to generate an OFD format ciphertext insurance;
if the opening operation is detected, acquiring a security letter decryption request to obtain a decryption key;
decrypting the OFD format ciphertext insurance function according to the decryption key to obtain an OFD format plaintext insurance function;
and combining the OFD format ciphertext insurance function and the OFD format plaintext insurance function through the OFD encryption component to generate a target insurance function.
In a second aspect, an embodiment of the present application provides an apparatus for encrypting and decrypting a insurance policy based on an OFD format, where the apparatus includes:
the insurance application file acquisition module is used for acquiring an insurance application file;
the OFD format ciphertext insurance generation module is used for encrypting the insurance application file by using a preset encryption algorithm to generate the OFD format ciphertext insurance;
the decryption key obtaining module is used for obtaining a insurance letter decryption request to obtain a decryption key if the open label operation is detected;
the OFD format plaintext insurance obtaining module is used for decrypting the OFD format ciphertext insurance according to the decryption key to obtain the OFD format plaintext insurance;
and the target insurance function generation module is used for combining the OFD format ciphertext insurance function and the OFD format plaintext insurance function through the OFD encryption component to generate the target insurance function.
In a third aspect, an embodiment of the present application provides a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a processor, implements an OFD format-based insurance encryption and decryption method according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable by the processor, where the processor executes the computer program to implement the method for encrypting and decrypting a insurance policy based on an OFD format according to the embodiment of the present application.
According to the technical scheme, the insurance application file is obtained, the insurance application file is encrypted by using a preset encryption algorithm, an OFD format ciphertext insurance is generated, if the open label operation is detected, an insurance decryption request is obtained to obtain a decryption key, the OFD format ciphertext insurance is decrypted according to the decryption key, an OFD format plaintext insurance is obtained, and the OFD format ciphertext insurance and the OFD format plaintext insurance are combined through an OFD encryption component to generate the target insurance. According to the technical scheme, the OFD format ciphertext insurance and the OFD format plaintext insurance are combined to generate the target insurance, so that the working efficiency of workers can be improved, and the safety of insurance files can be improved.
Drawings
Fig. 1 is a flowchart of an OFD format-based insurance encryption and decryption method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a process of encrypting and decrypting an insurance function based on an OFD format according to the second embodiment of the present application;
fig. 3 is a flowchart of a process for encrypting and decrypting a insurance function based on an OFD format according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of an OFD format-based insurance encryption/decryption apparatus according to a third embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of an OFD format-based insurance encryption and decryption method according to an embodiment of the present application, where the embodiment is applicable to a case of encrypting and decrypting an OFD format-based insurance function, and the method can be executed by an OFD format-based insurance encryption and decryption apparatus provided in an embodiment of the present application, and the apparatus can be implemented by software and/or hardware, and can be integrated in an intelligent terminal or other device for insurance encryption and decryption.
The method is applied to an electronic transaction bidding system, the system comprises an OFD encryption component, and as shown in FIG. 1, the insurance letter encryption and decryption method based on the OFD format comprises the following steps:
s110, acquiring an insurance application file;
the insurance letter is also called a guarantee certificate, and is a written credit guarantee certificate issued by a bank, an insurance company, a guarantee company or an individual to a third party at the request of an applicant. The insurance application file may refer to an information file in the process of electronic transaction bidding. The insurance application file may include project information, bidder information, and the like. The insurance policy application file can be obtained from a trading center server side in the electronic trading bidding system.
S120, encrypting the insurance application file by using a preset encryption algorithm to generate an OFD format ciphertext insurance;
in this embodiment, the OFD format is a format document national standard established by a format compiling group established by the ministry of industry and informatization department software, which is held by the institute of standardization of electronic technology in china, and belongs to an independent format, and the storage, reading and editing of electronic documents are conveniently performed.
The OFD-format ciphertext insurance policy may refer to a generated file in which part of content in an insurance application file is encrypted. The insurance function format is an OFD format. For example, the item information and bidder information in the insurance application file are encrypted to generate an OFD-format ciphertext insurance.
In the scheme, a conventional encryption algorithm can be adopted to encrypt the insurance application file. For example, the conventional encryption algorithm may be a symmetric encryption algorithm or an asymmetric encryption algorithm. Wherein, the symmetric encryption is that the same key is used for encryption and decryption; asymmetric encryption is that encryption and decryption use different keys, and usually there are two keys, called public key and private key, which must be used in pair, otherwise the encrypted file cannot be opened.
In this technical solution, optionally, encrypting the insurance application file by using a preset encryption algorithm to generate an OFD format ciphertext insurance includes:
encrypting the insurance application file by using a SM2 algorithm to generate a PDF format ciphertext insurance;
extracting the encrypted content of the PDF format ciphertext insurance letter according to a preset extraction rule;
and splicing the encrypted contents according to an OFD format to generate an OFD format ciphertext insurance.
The national cipher SM2 is an elliptic curve public key cryptographic algorithm issued by the national cryptology authority. SM2 key generation refers to the process of generating a key pair for the SM2 algorithm that includes a private key and a corresponding public key.
In this embodiment, the encrypted content may refer to a content that needs to be kept secret during the electronic transaction bidding process. For example, the encrypted content may be item information, bidder information, or the like.
In the scheme, a financial institution in the electronic trading bidding system encrypts the insurance application file by using a state secret SM2 algorithm to generate a PDF format ciphertext insurance policy, extracts the encrypted content of the PDF format ciphertext insurance policy, splices the encrypted content according to an OFD format and generates the OFD format ciphertext insurance policy.
The insurance application file is encrypted into the OFD format ciphertext insurance, so that the content of the insurance can be prevented from being tampered, and the confidentiality of information resources is improved.
In this technical solution, optionally, after the encrypted content is spliced according to the OFD format to generate an OFD format ciphertext insurance, the method further includes:
and responding to the signature click operation, and signing the OFD format ciphertext insurance function through the OFD encryption component to obtain the signed OFD format ciphertext insurance function.
Wherein, the signature can refer to signature and seal operation. Wherein, the signature content can be set according to the security requirement. For example, the signature content may be set based on the identification information of the financial institution, or may be set based on the secret information in the process of bidding for the electronic transaction.
It can be understood that after the OFD format ciphertext insurance is obtained, the signature clicking button is displayed on the page, and the system can respond to signature clicking operation of a worker to complete signature of the OFD format ciphertext insurance.
The OFD format ciphertext insurance function is signed, so that the content of the ciphertext insurance function can be prevented from being tampered, and the confidentiality of information resources is improved.
S130, if the mark opening operation is detected, acquiring a insurance letter decryption request to obtain a decryption key;
the decryption key may refer to a key for performing a decryption operation by a decryption algorithm.
It can be understood that before the mark is opened, the system acquires the insurance application file, encrypts the insurance application file, generates the encrypted insurance of the OFD format and stores the encrypted insurance in the database. And after the mark is opened, acquiring a decryption request of the insurance function to obtain a decryption key for decrypting the OFD format ciphertext insurance function. Namely, when the electronic transaction bidding system performs bid opening operation, the insurance policy decryption request can be obtained based on the transaction center server in the electronic transaction bidding system to obtain the decryption key.
S140, decrypting the OFD format ciphertext insurance function according to the decryption key to obtain an OFD format plaintext insurance function;
wherein, the OFD format plaintext insurance policy may refer to insurance policy without encrypted text. The plaintext insurance format is an OFD format.
In this embodiment, the OFD format ciphertext insurance can be decrypted according to a specific decryption rule to obtain an OFD format plaintext insurance.
In this technical solution, optionally, decrypting the OFD format ciphertext insurance policy according to the decryption key to obtain an OFD format plaintext insurance policy includes:
decrypting the OFD format ciphertext insurance function by using the decryption key to generate a PDF format plaintext insurance function;
and converting the PDF format plaintext insurance function into an OFD format plaintext insurance function through the OFD encryption component.
In the scheme, the financial institution in the transaction bidding system decrypts the OFD format ciphertext insurance policy by using a decryption key in the SM2 algorithm to generate a PDF format plaintext insurance policy. And extracting the contents of the PDF format plaintext insurance letter by using a preset extraction algorithm, and splicing according to an OFD format to generate the OFD format plaintext insurance letter.
The encrypted content is decrypted through the decryption key, so that the clear text insurance letter in the OFD format can be obtained, and the smooth implementation of the bidding process of electronic transaction is facilitated.
S150, combining the OFD format ciphertext insurance function and the OFD format plaintext insurance function through the OFD encryption component to generate a target insurance function.
In the scheme, an OFD encryption component decompresses the OFD format plaintext insurance, and each part is respectively plugged into the corresponding catalogue of the OFD format ciphertext insurance. And after the operation is finished, the document is compressed again to form a new target insurance letter. The target insurance is also in OFD format and can be opened through an OFD reader.
According to the technical scheme, the insurance application file is obtained, the insurance application file is encrypted by using a preset encryption algorithm, an OFD format ciphertext insurance is generated, if the open label operation is detected, an insurance decryption request is obtained to obtain a decryption key, the OFD format ciphertext insurance is decrypted according to the decryption key, an OFD format plaintext insurance is obtained, and the OFD format ciphertext insurance and the OFD format plaintext insurance are combined through an OFD encryption component to generate the target insurance. By executing the technical scheme, the OFD format ciphertext insurance and the OFD format plaintext insurance are combined to generate the target insurance, so that the working efficiency of workers can be improved, and the confidentiality of the insurance file can be improved.
Example two
Fig. 2 is a schematic diagram of a security encryption and decryption process based on the OFD format according to a second embodiment of the present application, and the second embodiment is further optimized based on the first embodiment. The concrete optimization is as follows: after the OFD-format ciphertext insurance and the OFD-format plaintext insurance are combined by the OFD encryption component to generate a target insurance, the method further comprises: and responding to the signature clicking operation, and signing the target insurance through the OFD encryption component to obtain the signed target insurance. The details which are not described in detail in this embodiment are shown in the first embodiment. As shown in fig. 2, the method comprises the steps of:
s210, acquiring an insurance application file;
s220, encrypting the insurance application file by using a preset encryption algorithm to generate an OFD format ciphertext insurance;
s230, if the mark opening operation is detected, acquiring a insurance letter decryption request to obtain a decryption key;
s240, decrypting the OFD format ciphertext insurance function according to the decryption key to obtain an OFD format plaintext insurance function;
s250, combining the OFD format ciphertext insurance function and the OFD format plaintext insurance function through the OFD encryption component to generate a target insurance function;
and S260, responding to the signature clicking operation, and signing the target insurance function through the OFD encryption component to obtain the signed target insurance function.
Wherein, the signature can refer to signature and seal operation. Wherein, the signature content can be set according to the security requirement. For example, the signature content may be set based on the identification information of the financial institution, or may be set based on the secret information in the process of bidding for the electronic transaction.
It can be understood that after the target insurance letter is obtained, a signature and click button is displayed on the page, and the system responds to signature and click operation of a worker and carries out signature on the target insurance letter through the OFD encryption component.
Fig. 3 is a flowchart of a process for encrypting and decrypting an insurance function based on an OFD format according to a second embodiment of the present application. As shown in fig. 3, the electronic trading bidding system includes a trading center server, a financial institution and an OFD encryption component. The electronic transaction bidding comprises two stages before bid opening and after bid opening. Before opening the standard, the system acquires the insurance application file, encrypts the insurance application file, generates an OFD format ciphertext insurance, and stores the OFD format ciphertext in a database. And after the mark is opened, acquiring a decryption request of the insurance function to obtain a decryption key for decrypting the OFD format ciphertext insurance function. And after decryption, combining the OFD format ciphertext insurance function and the OFD format plaintext insurance function to generate a target insurance function, and signing the target insurance function.
In this technical solution, optionally, before signing the target deposit by the OFD encryption component in response to a signature click operation and obtaining a signed target deposit, the method further includes:
acquiring signature information;
and determining the signature content according to the signature information.
The signature information may be information for customizing signature content. For example, the signature information may refer to identity information, company information, or encryption information, etc. And the signature content can be customized according to the signature information, so that the signature of the target insurance is realized.
By customizing the signature, the key part in the target insurance can be protected, the content of the ciphertext insurance can be prevented from being tampered, and the confidentiality of information resources is improved.
According to the technical scheme, the insurance application file is obtained, the insurance application file is encrypted by using a preset encryption algorithm, an OFD format ciphertext insurance is generated, if the open label operation is detected, an insurance decryption request is obtained to obtain a decryption key, the OFD format ciphertext insurance is decrypted according to the decryption key, an OFD format plaintext insurance is obtained, and the OFD format ciphertext insurance and the OFD format plaintext insurance are combined through an OFD encryption component to generate the target insurance. And responding to the signature clicking operation, and signing the target insurance letter through the OFD encryption component to obtain the signed target insurance letter. By executing the technical scheme, the OFD format ciphertext insurance function and the OFD format plaintext insurance function are combined to obtain the target insurance function, and signature is carried out. The target insurance content can be prevented from being tampered, and the confidentiality of information resources is improved. And the working efficiency of workers is improved.
EXAMPLE III
Fig. 4 is a schematic structural diagram of an OFD format-based insurance function encryption and decryption apparatus according to a third embodiment of the present application, the apparatus is configured in an electronic transaction bidding system, the system includes an OFD encryption component, and as shown in fig. 4, the OFD format-based insurance function encryption and decryption apparatus includes:
an insurance application file obtaining module 410, configured to obtain an insurance application file;
an OFD format ciphertext insurance generation module 420, configured to encrypt the insurance application file by using a preset encryption algorithm, and generate an OFD format ciphertext insurance;
a decryption key obtaining module 430, configured to obtain a request for decrypting the insurance envelope to obtain a decryption key if an open label operation is detected;
an OFD format plaintext insurance obtaining module 440, configured to decrypt the OFD format ciphertext insurance according to the decryption key to obtain an OFD format plaintext insurance;
and a target insurance function generating module 450, configured to combine the OFD-format ciphertext insurance function and the OFD-format plaintext insurance function through the OFD encryption component, so as to generate a target insurance function.
In this technical solution, optionally, the apparatus further includes:
and the signature module is used for responding to signature click operation, signing the target insurance function through the OFD encryption component and obtaining the signed target insurance function.
In this technical solution, optionally, the apparatus further includes:
the signature information acquisition module is used for acquiring signature information;
and the signature content determining module is used for determining the signature content according to the signature information.
In this technical solution, optionally, the OFD format ciphertext insurance function generating module 420 includes:
the PDF format ciphertext insurance generation unit is used for encrypting the insurance application file by using a national secret SM2 algorithm to generate a PDF format ciphertext insurance;
the encrypted content extraction unit is used for extracting the encrypted content of the PDF format ciphertext insurance according to a preset extraction rule;
and the OFD format ciphertext insurance function generating unit is used for splicing the encrypted contents according to the OFD format to generate the OFD format ciphertext insurance function.
In this technical solution, optionally, the OFD format ciphertext insurance function generating module 420 further includes:
and the OFD format ciphertext function signing unit is used for responding to signature clicking operation and signing the OFD format ciphertext function through the OFD encryption component to obtain the signed OFD format ciphertext function.
In this technical solution, optionally, the module 440 for obtaining the plaintext insurance policy in the OFD format includes:
a PDF format plaintext insurance generation unit, configured to decrypt the OFD format ciphertext insurance by using the decryption key to generate a PDF format plaintext insurance;
and the OFD format plaintext insurance generation unit is used for converting the PDF format plaintext insurance into OFD format plaintext insurance through the OFD encryption component.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Embodiments of the present application further provide a medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for encrypting and decrypting a insurance policy based on an OFD format, where the method includes:
acquiring an insurance application file;
encrypting the insurance application file by using a preset encryption algorithm to generate an OFD format ciphertext insurance;
if the opening operation is detected, acquiring a security letter decryption request to obtain a decryption key;
decrypting the OFD format ciphertext insurance function according to the decryption key to obtain an OFD format plaintext insurance function;
and combining the OFD format ciphertext insurance function and the OFD format plaintext insurance function through the OFD encryption component to generate a target insurance function.
Media-any of various types of memory devices or storage devices. The term "media" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The medium may also include other types of memory or combinations thereof. In addition, the medium may be located in the computer system in which the program is executed, or may be located in a different second computer system, which is connected to the computer system through a network (such as the internet). The second computer system may provide the program instructions to the computer for execution. The term "media" may include two or more media that may reside in different locations, such as in different computer systems that are connected by a network. The media may store program instructions (e.g., embodied as computer programs) that are executable by one or more processors.
Of course, the medium provided by the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the above-described insurance encryption and decryption operations based on the OFD format, and may also perform related operations in the insurance encryption and decryption method based on the OFD format provided by any embodiment of the present application.
EXAMPLE five
The embodiment of the application provides electronic equipment, and the insurance function encryption and decryption device based on the OFD format provided by the embodiment of the application can be integrated in the electronic equipment. Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application. As shown in fig. 5, the present embodiment provides an electronic device 500, which includes: one or more processors 520; the storage device 510 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 520, the one or more processors 520 implement the method for encrypting and decrypting the insurance policy based on the OFD format according to the embodiment of the present application, the method includes:
acquiring an insurance application file;
encrypting the insurance application file by using a preset encryption algorithm to generate an OFD format ciphertext insurance;
if the opening operation is detected, acquiring a security letter decryption request to obtain a decryption key;
decrypting the OFD format ciphertext insurance function according to the decryption key to obtain an OFD format plaintext insurance function;
and combining the OFD format ciphertext insurance function and the OFD format plaintext insurance function through the OFD encryption component to generate a target insurance function.
Of course, those skilled in the art can understand that the processor 520 also implements the technical solution of the insurance encryption and decryption method based on the OFD format provided in any embodiment of the present application.
The electronic device 500 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 5, the electronic device 500 includes a processor 520, a storage 510, an input 530, and an output 540; the number of the processors 520 in the electronic device may be one or more, and one processor 520 is taken as an example in fig. 5; the processor 520, the storage 510, the input device 530, and the output device 540 in the electronic apparatus may be connected by a bus or other means, and are exemplified by a bus 550 in fig. 5.
The storage device 510 is a computer-readable medium, and can be used to store software programs, computer-executable programs, and module units, such as program instructions corresponding to the insurance encryption and decryption method based on the OFD format in the embodiment of the present application.
The storage device 510 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 510 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 510 may further include memory located remotely from processor 520, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input numbers, character information, or voice information, and to generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 540 may include a display screen, speakers, etc. of electronic equipment.
The electronic equipment provided by the embodiment of the application can achieve the purposes of combining the OFD format ciphertext insurance and the OFD format plaintext insurance, improving the confidentiality of information resources and improving the working efficiency of workers.
The insurance function encryption and decryption device, medium and electronic device based on the OFD format provided in the above embodiments can execute the insurance function encryption and decryption method based on the OFD format provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. Technical details that are not described in detail in the above embodiments may be referred to a method for encrypting and decrypting a insurance policy based on an OFD format provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. An insurance letter encryption and decryption method based on OFD format is applied to an electronic transaction bidding system, the system comprises an OFD encryption component, and the method comprises the following steps:
acquiring an insurance application file;
encrypting the insurance application file by using a preset encryption algorithm to generate an OFD format ciphertext insurance;
if the opening operation is detected, acquiring a security letter decryption request to obtain a decryption key;
decrypting the OFD format ciphertext insurance function according to the decryption key to obtain an OFD format plaintext insurance function;
and combining the OFD format ciphertext insurance function and the OFD format plaintext insurance function through the OFD encryption component to generate a target insurance function.
2. The method of claim 1, wherein after combining the OFD format ciphertext insurance and OFD format plaintext insurance by the OFD encryption component to generate a target insurance, the method further comprises:
and responding to the signature clicking operation, and signing the target insurance through the OFD encryption component to obtain the signed target insurance.
3. The method of claim 2, wherein prior to signing the target deposit function by the OFD encryption component in response to a signing click operation to obtain a signed target deposit function, the method further comprises:
acquiring signature information;
and determining the signature content according to the signature information.
4. The method of claim 1, wherein encrypting the insurance application file by using a preset encryption algorithm to generate an OFD-format ciphertext insurance comprises:
encrypting the insurance application file by using a SM2 algorithm to generate a PDF format ciphertext insurance;
extracting the encrypted content of the PDF format ciphertext insurance letter according to a preset extraction rule;
and splicing the encrypted contents according to an OFD format to generate an OFD format ciphertext insurance.
5. The method of claim 4, wherein after concatenating the encrypted content according to the OFD format to generate an OFD-format ciphertext insurance, the method further comprises:
and responding to the signature click operation, and signing the OFD format ciphertext insurance function through the OFD encryption component to obtain the signed OFD format ciphertext insurance function.
6. The method of claim 1, wherein decrypting the OFD format ciphertext insurance based on the decryption key to obtain an OFD format plaintext insurance comprises:
decrypting the OFD format ciphertext insurance function by using the decryption key to generate a PDF format plaintext insurance function;
and converting the PDF format plaintext insurance function into an OFD format plaintext insurance function through the OFD encryption component.
7. An OFD format-based insurance function encryption and decryption device, wherein the device is configured in an electronic transaction bidding system, the system comprises an OFD encryption component, and the device comprises:
the insurance application file acquisition module is used for acquiring an insurance application file;
the OFD format ciphertext insurance generation module is used for encrypting the insurance application file by using a preset encryption algorithm to generate the OFD format ciphertext insurance;
the decryption key obtaining module is used for obtaining a insurance letter decryption request to obtain a decryption key if the open label operation is detected;
the OFD format plaintext insurance obtaining module is used for decrypting the OFD format ciphertext insurance according to the decryption key to obtain the OFD format plaintext insurance;
and the target insurance function generation module is used for combining the OFD format ciphertext insurance function and the OFD format plaintext insurance function through the OFD encryption component to generate the target insurance function.
8. The apparatus of claim 7, further comprising:
and the signature module is used for responding to signature click operation, signing the target insurance function through the OFD encryption component and obtaining the signed target insurance function.
9. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, implements the OFD format-based insurance encryption/decryption method according to any one of claims 1 to 6.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the OFD format-based insurance encryption and decryption method according to any one of claims 1 to 6 when executing the computer program.
CN202110599077.5A 2021-05-31 2021-05-31 Method, device, medium and electronic equipment for encrypting and decrypting warranty based on OFD format Active CN113343254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110599077.5A CN113343254B (en) 2021-05-31 2021-05-31 Method, device, medium and electronic equipment for encrypting and decrypting warranty based on OFD format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110599077.5A CN113343254B (en) 2021-05-31 2021-05-31 Method, device, medium and electronic equipment for encrypting and decrypting warranty based on OFD format

Publications (2)

Publication Number Publication Date
CN113343254A true CN113343254A (en) 2021-09-03
CN113343254B CN113343254B (en) 2023-09-19

Family

ID=77472450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110599077.5A Active CN113343254B (en) 2021-05-31 2021-05-31 Method, device, medium and electronic equipment for encrypting and decrypting warranty based on OFD format

Country Status (1)

Country Link
CN (1) CN113343254B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114492355A (en) * 2021-12-30 2022-05-13 博思数采科技发展有限公司 Method and system for generating electronic bidding invitation letter and response receipt letter in OFD format

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100114760A1 (en) * 2008-08-04 2010-05-06 Raj Sundarasen Online interactive issued account acquired transaction information management
US20110082798A1 (en) * 2009-10-05 2011-04-07 Sap Ag System and method for securely transmitting data across a system landscape
CN111753501A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 Method for merging OFD (office file format) files and displaying quick reading
CN111753500A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 Method for merging and displaying formatted electronic form and OFD (office file format) and generating catalog
CN111753502A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 OFD file merging display and directory generation method
CN111897777A (en) * 2020-06-22 2020-11-06 百望股份有限公司 Method, device and equipment for processing electronic invoice layout file and storage medium
CN112257085A (en) * 2020-10-22 2021-01-22 政采云有限公司 Bidding processing method, system, equipment and medium based on block chain
CN112347493A (en) * 2020-11-04 2021-02-09 杭州天谷信息科技有限公司 Encryption, decryption and graying method for OFD (office file)
CN112464270A (en) * 2020-12-30 2021-03-09 广汽本田汽车有限公司 Bidding file encryption and decryption method, equipment and storage medium
CN112580306A (en) * 2020-11-25 2021-03-30 江西丰哲科技有限公司 Method and device for generating insurance letter

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100114760A1 (en) * 2008-08-04 2010-05-06 Raj Sundarasen Online interactive issued account acquired transaction information management
US20110082798A1 (en) * 2009-10-05 2011-04-07 Sap Ag System and method for securely transmitting data across a system landscape
CN111897777A (en) * 2020-06-22 2020-11-06 百望股份有限公司 Method, device and equipment for processing electronic invoice layout file and storage medium
CN111753501A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 Method for merging OFD (office file format) files and displaying quick reading
CN111753500A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 Method for merging and displaying formatted electronic form and OFD (office file format) and generating catalog
CN111753502A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 OFD file merging display and directory generation method
CN112257085A (en) * 2020-10-22 2021-01-22 政采云有限公司 Bidding processing method, system, equipment and medium based on block chain
CN112347493A (en) * 2020-11-04 2021-02-09 杭州天谷信息科技有限公司 Encryption, decryption and graying method for OFD (office file)
CN112580306A (en) * 2020-11-25 2021-03-30 江西丰哲科技有限公司 Method and device for generating insurance letter
CN112464270A (en) * 2020-12-30 2021-03-09 广汽本田汽车有限公司 Bidding file encryption and decryption method, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
甘熹;: "工程建设招标投标电子系统多CA及多印章兼容对策研究", 福建建设科技, no. 04, pages 87 - 89 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114492355A (en) * 2021-12-30 2022-05-13 博思数采科技发展有限公司 Method and system for generating electronic bidding invitation letter and response receipt letter in OFD format

Also Published As

Publication number Publication date
CN113343254B (en) 2023-09-19

Similar Documents

Publication Publication Date Title
US10547444B2 (en) Cloud encryption key broker apparatuses, methods and systems
CN111080295B (en) Electronic contract processing method and device based on blockchain
EP3962020B1 (en) Information sharing methods and systems
CN110100422B (en) Data writing method and device based on block chain intelligent contract and storage medium
CN111835511A (en) Data security transmission method and device, computer equipment and storage medium
CN110688662A (en) Sensitive data desensitization and inverse desensitization method and electronic equipment
CN111047313B (en) Code scanning payment, information sending and key management method, device and equipment
EP3962135B1 (en) Information sharing methods, apparatuses, and devices
CN113015991A (en) Secure digital wallet processing system
WO2023142440A1 (en) Image encryption method and apparatus, image processing method and apparatus, and device and medium
CN110740136A (en) Network security control method for open bank and open bank platform
WO2021088659A1 (en) Electronic signature loading method and device
CN112435026A (en) Method and device for protecting file transaction information by using zero-knowledge proof and electronic equipment
CN110569672A (en) efficient credible electronic signature system and method based on mobile equipment
CN113961956A (en) Method, device, equipment and medium for generating and applying tagged network information service
CN110417557B (en) Intelligent terminal peripheral data security control method and device
CN112000978B (en) Private data output method, data processing system and storage medium
CN113343254A (en) Insurance function encryption and decryption method, device, medium and electronic equipment based on OFD format
US20230041862A1 (en) Cloud-side collaborative multi-mode private data circulation method based on smart contract
CN115599959A (en) Data sharing method, device, equipment and storage medium
CN115085934A (en) Contract management method based on block chain and combined key and related equipment
WO2020077626A1 (en) Method and device for recognizing finger vein information
Banasode et al. Protecting and Securing Sensitive Data in a Big Data Using Encryption
CN102426635A (en) Display device for file information, display method and system
CN116647413B (en) Application login method, device, computer equipment and storage medium

Legal Events

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