CN107861877A - The encryption method and device of banking system automatic test message - Google Patents
The encryption method and device of banking system automatic test message Download PDFInfo
- Publication number
- CN107861877A CN107861877A CN201711161923.5A CN201711161923A CN107861877A CN 107861877 A CN107861877 A CN 107861877A CN 201711161923 A CN201711161923 A CN 201711161923A CN 107861877 A CN107861877 A CN 107861877A
- Authority
- CN
- China
- Prior art keywords
- message
- automatic test
- encryption
- test message
- banking system
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Abstract
The embodiments of the invention provide a kind of encryption method and device of banking system automatic test message, this method includes:Acquisition is waited to deliver to the automatic test message of tested banking system;If the automatic test message needs to encrypt, interacted with tested banking system, obtain the AES and encryption key of the automatic test message;The automatic test message is encrypted according to the AES and encryption key;By the automatic test message up sending after encryption to tested banking system.This method can meet message encryption needs during bank automation test, without shielding encrypted message or manual handle encrypted message in banking system automatic test, the coverage rate of banking system automated test frame is significantly improved, improves the efficiency and validity of test.
Description
Technical field
The present invention relates to bank information field of encryption, more particularly to a kind of encryption of banking system automatic test message
Method and device.
Background technology
For business bank, business development speed is more and more faster, and service coverage face is more and more wider, and operation system is complicated
Degree more and more higher is the development trend of a totality.And the version on-line time of bank application system, show shortening trend and
Irreconcilable tendency, for quick exploitation and the requirement more and more higher of software quality, business to software development, test, go into operation
Time requirement is shorter and shorter.Based on these features, the automated test frame of bank arises at the historic moment.
In banking system test, transmission and the reception of message are one of them important test links, and because business needs,
Message often needs to be encrypted.When being related to encrypted message in test frame, in traditional manual test, it can rely on close
The peripheral hardwares such as code key disk realize the encryption and decryption to data;But in automatic test, this part operation is not applicable generally also
Method, but in view of upgrading of the present society demand to banking system more new demand more and more higher, greatly develops automatic test
It is inevitable trend, then how to improve automatic test efficiency just turns into the important research class of banking system software people
Topic.
Although existing a variety of automated test frames in the market, message is not integrated in each automated test frame
Encryption function, cause banking system when carrying out automatic test, such as relating to the message of encryption can not include automatic test
Realize, or need to shield encryption function just achievable automatic test, so influence the coverage rate and standard of automatic test
True property, can also reduce testing efficiency and validity.
The content of the invention
The embodiments of the invention provide a kind of encryption method of banking system automatic test message, to meet bank certainly
Message encryption when dynamicization is tested needs, and the concerning security matters message processing speed in lifting test, this method includes:
Acquisition is waited to deliver to the automatic test message of tested banking system;
If the automatic test message needs to encrypt, interacted with tested banking system, obtain the automatic test
The AES and encryption key of message;
The automatic test message is encrypted according to the AES and encryption key;
By the automatic test message up sending after encryption to tested banking system.
The present invention is that embodiment additionally provides a kind of encryption device of banking system automatic test message, to meet silver
Message encryption during row automatic test needs, and the concerning security matters message processing speed in lifting test, the device includes:
Receive message module, wait to deliver to the automatic test message of tested banking system for obtaining;
Interactive module, if needing to encrypt for the automatic test message, interacted with tested banking system, obtain institute
State the AES and encryption key of automatic test message;
Encrypting module, for the automatic test message to be encrypted according to the AES and encryption key;
On send module, for by the automatic test message up sending after encryption to tested banking system.
The embodiment of the present invention additionally provides a kind of computer equipment, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, internet information wind is realized described in the computing device during computer program
Dangerous reminding method.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, the computer-readable recording medium storage
There is the computer program for performing internet information indicating risk method.
The encryption method and device of banking system automatic test message in the embodiment of the present invention, obtain wait to send first
To the automatic test message of tested banking system, interact if message needs to encrypt with system under test (SUT) acquisition AES and
Key, and then message is encrypted, the message up sending after most encrypting at last is to tested banking system, instead of original message.Should
Method message can be encrypted under bank automation test frame, the automatic encryption of message be realized, without in silver
Encrypted message or manual handle encrypted message are shielded in the test of row system automation, significantly improves banking system automation
The coverage rate of test frame, improve the efficiency and validity of test.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.In the accompanying drawings:
Fig. 1 is the schematic flow sheet of the encryption method of banking system automatic test message in the embodiment of the present invention;
Fig. 2 is to determine whether automatic test message needs the schematic flow sheet encrypted in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of a specific embodiment of the invention;
Fig. 4 is the structural representation of the encryption device of banking system automatic test message in the embodiment of the present invention.
Embodiment
For the purpose, technical scheme and advantage of the embodiment of the present invention are more clearly understood, below in conjunction with the accompanying drawings to this hair
Bright embodiment is described in further details.Here, the schematic description and description of the present invention is used to explain the present invention, but simultaneously
It is not as a limitation of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of encryption method of banking system automatic test message, to
Meet message encryption needs during bank automation test, the concerning security matters message processing speed in lifting test, this method includes:
101:Acquisition is waited to deliver to the automatic test message of tested banking system;
102:If the automatic test message needs to encrypt, interacted with tested banking system, obtain the automation
The AES and encryption key of test packet;
103:The automatic test message is encrypted according to the AES and encryption key;
104:By the automatic test message up sending after encryption to tested banking system.
In one embodiment, determine whether automatic test message needs encryption there are numerous embodiments.For example, can
To preset the message species for needing to encrypt in test frame, the species of message is then determined after message is obtained, and then
The species of the message is matched with the message species that needs are encrypted, so that it is determined that whether message needs to encrypt.The kind of message
Class can be divided into depositor's business change information, depositor's deposit information, depositor's bank card business dealing information etc., such as can silver in advance
Row card Transaction Information is set as needing to encrypt, when message is bank card business dealing information, it is determined that encryption.As shown in Fig. 2 implement
In obtain deliver to the automatic test message of tested banking system on after, may further include:
201:Determine the species of the automatic test message;
202:Message encryption rule is read, the message species of encryption in need is preset in the message encryption rule;
203:The automatic test message is matched with message encryption rule;
204:If the match is successful, it is determined that the automatic test message needs to encrypt.
In one embodiment, when to message encryption, often and the entirety of message need not be encrypted, for example,
When customer bank card Transaction Information is encrypted, only the account password of client can be encrypted.Message is carried out
Partial encryption can save encryption times on the premise of account safety is protected, and improve encryption efficiency.In force, it is right
Message, which carries out Partial encryption, can multiple embodiments, for example, can wait to deliver to the automatic of tested banking system obtaining
After changing test packet, further comprise:Determine to need the data item encrypted in the automatic test message;Add described in the basis
The automatic test message is encrypted for close algorithm and encryption key, further comprises:It is close according to AES and encryption
The data item that encryption is needed in the automatic test message is encrypted key.
In one embodiment, before message is encrypted, message can also be pre-processed, to lift message
The effect of encryption.Multiple embodiments can be had by carrying out pretreatment to message in implementation, for example, described according to the AES
And the automatic test message is encrypted encryption key, may further include:The automatic test message is entered
The processing of row XOR;The automatic test message after XOR processing is added according to the AES and encryption key
It is close.
In one embodiment, message is encrypted and can be selected in multiple encryption algorithms.For example, it can select
DES algorithms (data encryption standards, DATE ENCRYPTION STANDARD), it is also optional when requiring higher to cipher round results
The commercial encryption algorithm SM4 algorithms issued with 3DES algorithms (triple DEAs) or State Commercial Cryptography Administration.
Fig. 3 is a specific embodiment of the invention, and automated test frame detects in banking system automatic test course
To when needing to send automatic test message, then following processing is performed:Firstly the need of determination, whether the message needs to be encrypted,
Such as be not required to encrypt, then directly on deliver newspaper text;If necessary to encrypt, then determine that the message needs the data item encrypted;It is determined that need
After the message data item of encryption, automated test frame interacts with tested banking system, obtains what this encryption needed
AES and encryption key, while automated test frame also needs to carry out XOR processing to message;At to message XOR
After reason, then message is encrypted according to AES and encryption key, and replaces the original message of unencryption, most at last
Message up sending after encryption is to tested banking system.
The present invention is that embodiment additionally provides a kind of encryption device of banking system automatic test message, to meet silver
Message encryption during row automatic test needs, and the concerning security matters message processing speed in lifting test, the device includes:
Receive message module 401, wait to deliver to the automatic test message of tested banking system for obtaining;
Interactive module 402, if needing to encrypt for the automatic test message, interact, obtain with tested banking system
Take the AES and encryption key of the automatic test message;
Encrypting module 403, for being added according to the AES and encryption key to the automatic test message
It is close;
On send module 404, for by the automatic test message up sending after encryption to tested banking system.
In one embodiment, the Receive message module 401 waits that the automation for delivering to tested banking system is surveyed in acquisition
After trying message, it is further used for:
Determine the species of the automatic test message;
Message encryption rule is read, the message species of encryption in need is preset in the message encryption rule;
The automatic test message is matched with message encryption rule;
If the match is successful, it is determined that the automatic test message needs to encrypt.
In one embodiment, the Receive message module 401 waits that the automation for delivering to tested banking system is surveyed in acquisition
After trying message, it is further used for:
Determine to need the data item encrypted in the automatic test message;
The encrypting module 403 is further used for:
The data item that encryption is needed in the automatic test message is encrypted according to AES and encryption key.
In one embodiment, the encrypting module 403 is further used for:
XOR processing is carried out to the automatic test message;
The automatic test message after XOR processing is encrypted according to the AES and encryption key.
In one embodiment, the AES is DES algorithms, 3DES algorithms or SM4 algorithms.
The embodiment of the present invention additionally provides a kind of computer equipment, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, internet information wind is realized described in the computing device during computer program
Dangerous reminding method.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, the computer-readable recording medium storage
There is the computer program for performing internet information indicating risk method.
In summary, the encryption method and device of the banking system automatic test message in the embodiment of the present invention, first
Obtain and wait to deliver to the automatic test message of tested banking system, acquisition is interacted with system under test (SUT) if message needs to encrypt
AES and key, and then message is encrypted, the message up sending after most encrypting at last is to tested banking system, instead of original
Beginning message.This method message can be encrypted under bank automation test frame, realize the automatic encryption of message,
Without shielding encrypted message or manual handle encrypted message in banking system automatic test, department of banking is significantly improved
The coverage rate of system automated test frame, improve the efficiency and validity of test.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Particular embodiments described above, the purpose of the present invention, technical scheme and beneficial effect are carried out further in detail
Describe in detail it is bright, should be understood that the foregoing is only the present invention specific embodiment, the guarantor being not intended to limit the present invention
Scope is protected, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc., should be included in this
Within the protection domain of invention.
Claims (12)
- A kind of 1. encryption method of banking system automatic test message, it is characterised in that including:Acquisition is waited to deliver to the automatic test message of tested banking system;If the automatic test message needs to encrypt, interacted with tested banking system, obtain the automatic test message AES and encryption key;The automatic test message is encrypted according to the AES and encryption key;By the automatic test message up sending after encryption to tested banking system.
- 2. the method as described in claim 1, it is characterised in that wait to deliver to the automatic test of tested banking system obtaining After message, further comprise:Determine the species of the automatic test message;Message encryption rule is read, the message species of encryption in need is preset in the message encryption rule;The automatic test message is matched with message encryption rule;If the match is successful, it is determined that the automatic test message needs to encrypt.
- 3. the method as described in claim 1, it is characterised in that wait to deliver to the automatic test of tested banking system obtaining After message, further comprise:Determine to need the data item encrypted in the automatic test message;It is described that the automatic test message is encrypted according to the AES and encryption key, further comprise:The data item that encryption is needed in the automatic test message is encrypted according to AES and encryption key.
- 4. the method as described in any one of claims 1 to 3, it is characterised in that described close according to the AES and encryption The automatic test message is encrypted key, further comprises:XOR processing is carried out to the automatic test message;The automatic test message after XOR processing is encrypted according to the AES and encryption key.
- 5. the method as described in any one of claims 1 to 3, it is characterised in that the AES is DES algorithms, 3DES calculations Method or SM4 algorithms.
- A kind of 6. encryption device of banking system automatic test message, it is characterised in that including:Receive message module, wait to deliver to the automatic test message of tested banking system for obtaining;Interactive module, if needing to encrypt for the automatic test message, interacted with tested banking system, acquisition is described certainly The AES and encryption key of dynamicization test packet;Encrypting module, for the automatic test message to be encrypted according to the AES and encryption key;On send module, for by the automatic test message up sending after encryption to tested banking system.
- 7. device as claimed in claim 6, it is characterised in that the Receive message module delivers to tested bank on acquisition is treated After the automatic test message of system, it is further used for:Determine the species of the automatic test message;Message encryption rule is read, the message species of encryption in need is preset in the message encryption rule;The automatic test message is matched with message encryption rule;If the match is successful, it is determined that the automatic test message needs to encrypt.
- 8. device as claimed in claim 6, it is characterised in that the Receive message module delivers to tested bank on acquisition is treated After the automatic test message of system, it is further used for:Determine to need the data item encrypted in the automatic test message;The encrypting module is further used for:The data item that encryption is needed in the automatic test message is encrypted according to AES and encryption key.
- 9. the device as described in any one of claim 6 to 8, it is characterised in that the encrypting module is further used for:XOR processing is carried out to the automatic test message;The automatic test message after XOR processing is encrypted according to the AES and encryption key.
- 10. the device as described in any one of claim 6 to 8, it is characterised in that the AES is DES algorithms, 3DES calculations Method or SM4 algorithms.
- 11. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that realize any side of claim 1 to 5 described in the computing device during computer program Method.
- 12. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage has perform claim It is required that the computer program of 1 to 5 any methods described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711161923.5A CN107861877A (en) | 2017-11-21 | 2017-11-21 | The encryption method and device of banking system automatic test message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711161923.5A CN107861877A (en) | 2017-11-21 | 2017-11-21 | The encryption method and device of banking system automatic test message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107861877A true CN107861877A (en) | 2018-03-30 |
Family
ID=61702266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711161923.5A Pending CN107861877A (en) | 2017-11-21 | 2017-11-21 | The encryption method and device of banking system automatic test message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107861877A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109327436A (en) * | 2018-09-27 | 2019-02-12 | 中国平安人寿保险股份有限公司 | Safety detecting method, device, computer equipment and storage medium |
CN111159053A (en) * | 2020-01-02 | 2020-05-15 | 中国银行股份有限公司 | Test method, test device and storage medium |
CN113065150A (en) * | 2021-05-06 | 2021-07-02 | 中国工商银行股份有限公司 | Method and device for testing encryption algorithm module |
CN113438083A (en) * | 2021-06-22 | 2021-09-24 | 中国工商银行股份有限公司 | Signature adding and checking method and device based on interface automatic test |
CN115277478A (en) * | 2022-07-27 | 2022-11-01 | 阿里云计算有限公司 | Pressure measurement method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1975694A (en) * | 2006-12-22 | 2007-06-06 | 中国建设银行股份有限公司 | Bank main machine pressure testing method and tester |
CN102332981A (en) * | 2011-10-12 | 2012-01-25 | 深圳市沃达通实业有限公司 | Three-layer key encryption method and bank transaction system |
US20140032932A1 (en) * | 2012-07-24 | 2014-01-30 | Google Inc. | Method, manufacture, and apparatus for secure debug and crash logging of obfuscated libraries |
CN107113196A (en) * | 2017-04-12 | 2017-08-29 | 深圳怡化电脑股份有限公司 | ATM business softwares exploitation adjustment method, system and a kind of simulation ATMP systems |
-
2017
- 2017-11-21 CN CN201711161923.5A patent/CN107861877A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1975694A (en) * | 2006-12-22 | 2007-06-06 | 中国建设银行股份有限公司 | Bank main machine pressure testing method and tester |
CN102332981A (en) * | 2011-10-12 | 2012-01-25 | 深圳市沃达通实业有限公司 | Three-layer key encryption method and bank transaction system |
US20140032932A1 (en) * | 2012-07-24 | 2014-01-30 | Google Inc. | Method, manufacture, and apparatus for secure debug and crash logging of obfuscated libraries |
CN107113196A (en) * | 2017-04-12 | 2017-08-29 | 深圳怡化电脑股份有限公司 | ATM business softwares exploitation adjustment method, system and a kind of simulation ATMP systems |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109327436A (en) * | 2018-09-27 | 2019-02-12 | 中国平安人寿保险股份有限公司 | Safety detecting method, device, computer equipment and storage medium |
CN111159053A (en) * | 2020-01-02 | 2020-05-15 | 中国银行股份有限公司 | Test method, test device and storage medium |
CN113065150A (en) * | 2021-05-06 | 2021-07-02 | 中国工商银行股份有限公司 | Method and device for testing encryption algorithm module |
CN113065150B (en) * | 2021-05-06 | 2024-03-01 | 中国工商银行股份有限公司 | Encryption algorithm module testing method and device |
CN113438083A (en) * | 2021-06-22 | 2021-09-24 | 中国工商银行股份有限公司 | Signature adding and checking method and device based on interface automatic test |
CN113438083B (en) * | 2021-06-22 | 2023-04-07 | 中国工商银行股份有限公司 | Signature adding and checking method and device based on interface automatic test |
CN115277478A (en) * | 2022-07-27 | 2022-11-01 | 阿里云计算有限公司 | Pressure measurement method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107861877A (en) | The encryption method and device of banking system automatic test message | |
US10956901B2 (en) | Methods, apparatus and computer program products for securely accessing account data | |
US11861605B2 (en) | Secured account provisioning and payments for NFC-enabled devices | |
CA2766491C (en) | A method and system for securely and automatically downloading a master key in a bank card payment system | |
US10007805B2 (en) | Forming a protected data field entry | |
CN103942896B (en) | System for realizing cardless withdrawal on ATM | |
CN110458559B (en) | Transaction data processing method, device, server and storage medium | |
CA2917190C (en) | Financial account authentication | |
CN101340294A (en) | Cipher keyboard apparatus and implementing method thereof | |
EP3718249A1 (en) | Decoupling and updating pinned certificates on a mobile device | |
CN103942678A (en) | Mobile payment system and method based on trusted execution environment | |
CN105827582B (en) | A kind of communication encrypting method, device and system | |
CN103150837A (en) | System and method for achieving cardless withdrawal on automatic teller machine (ATM) | |
CN107730775A (en) | Self-service dealing method, apparatus, system and electronic equipment | |
CN107483199A (en) | Information Authentication method and device | |
CN101221641A (en) | On-line trading method and its safety affirmation equipment | |
CN103903140A (en) | O2O safety payment method, system and safety payment background | |
CN112513902A (en) | Remote EMV payment application | |
CN113191892A (en) | Account risk prevention and control method, device, system and medium based on equipment fingerprint | |
CN109242661A (en) | A kind of financial account tune account implementation method | |
CN108650214A (en) | The anti-method and device of going beyond one's commission of dynamic page encryption | |
US11133926B2 (en) | Attribute-based key management system | |
CN107911220B (en) | Signature method, signature device and terminal equipment | |
CN112995160B (en) | Data decryption system and method, terminal, server and non-transient storage medium | |
CN109191116B (en) | Resource management method and system and payment management method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180330 |
|
RJ01 | Rejection of invention patent application after publication |