Method, system and electronic device for automatically processing non-process pop-up windows in bank counter systems

Through keyword configuration method, the automated processing of non-process pop-up windows of the bank counter system is solved, and the problems of cumbersome code intrusion and testing steps in the existing technology are improved, the accuracy and security of the test results are improved, and it is suitable for a variety of counters. Components.

CN113886259BActive Publication Date: 2024-11-26APPROVAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111216399.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-19
Publication Date
2024-11-26
Estimated Expiration
2041-10-19

AI Technical Summary

Technical Problem

The existing bank counter system is difficult to effectively deal with non-process pop-ups in automated testing, resulting in high risk of code intrusion, cumbersome steps and inaccurate test results.

Method used

The keyword configuration method is adopted, and the key content and buttons of pop-up windows are configured through the key-value structure, and the visual configuration of the automated test platform and the built-in file configuration are supported to realize the automatic pop-up window processing, and to support dynamic keyword updates to avoid modifying the transaction source code.

Benefits of technology

It improves user operation ease and code security, ensures the accuracy and traceability of test results, is suitable for a variety of counter components, and meets a variety of business needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113886259B_ABST
    Figure CN113886259B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of system management software, pop-up window processing technology and banking business, and in particular, relates to a method for automatically processing non-process pop-up windows of a bank counter system, a system and related electronic devices and storage media. The method for automatically processing non-process pop-up windows of a bank counter system of the present invention includes the steps of keyword configuration, setting keywords to take effect in real time, test platform adaptation, and generation of test records. The method of the present invention automatically processes the pop-up window containing the keyword on the current page by reading the pop-up window keyword configured by the user. The pop-up window keyword configuration simplifies the operation and greatly improves the user experience, so that the non-process pop-up window that could only be manually tested or the source code of the counter transaction can be modified without intrusion. Automatic testing is realized, which greatly improves the security of the system code, and ensures the accuracy of the test results, so that the test records can be traced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of system management software, pop-up window processing technology and banking business, and in particular relates to a bank counter system non-process pop-up window automatic processing method, system and related electronic devices and storage media. Background Art

[0002] With the continuous improvement of the automation of banking business, higher requirements are also put forward for the convenience, stability and security of counter management systems. At present, there are two main counter system components used in the banking industry: Zancheng counter components (independently developed by Zancheng Technology's automated testing department, such as Zancheng Counter 4.0) and Vue components.

[0003] At various stages of bank counter system development and testing, various pop-up windows containing log information and other information will frequently appear during the transaction execution process. The irregularity of these pop-up windows makes it difficult to perform automated testing and automated processing of the counter systems of various banks.

[0004] In the current automated testing products for bank counter systems, banks generally adopt the method of modifying the counter transaction source code when automatically testing non-process pop-up windows (i.e., irregular pop-up windows). This testing method has many defects and deficiencies:

[0005] 1. It is very easy to cause code intrusion into the counter system and introduce security risks.

[0006] 2. The steps are cumbersome, affecting the progress of transactions and testing.

[0007] 3. The accuracy of test results cannot be guaranteed.

[0008] In view of this, a new method for automatic processing and testing of non-process pop-up windows in counter systems is urgently needed. Summary of the invention

[0009] In order to overcome the above-mentioned defects and shortcomings of the existing bank counter system non-process pop-up automatic processing and testing technology, the present invention provides a set of solutions: starting from simplifying user operations and ensuring the security of bank counter codes, we have redesigned a counter non-process pop-up automatic processing method, which reads the pop-up keyword configured by the user and automatically processes the pop-up containing the keyword in the current page. The keyword configuration in the method of the present invention supports both visual configuration of the counter automation test platform and built-in file configuration. Therefore, it is not only applicable to the Agree counter component (such as Agree Counter 4.0), but also to the Vue pop-up component. It has good scalability and practicality, and can meet the various business needs of various users.

[0010] In a first aspect, the present invention provides a method for automatically processing non-process pop-up windows in a bank counter system, the method comprising:

[0011] Step 1: Keyword configuration

[0012] Keywords use a key-value structure, which not only supports configuring the key content in the pop-up window, but also supports configuring the button that the user specifies to click. At the same time, the button configuration supports array subscripts and button labels; (This design allows the system to perform automated testing on non-process pop-ups without modifying the transaction source code)

[0013] Step 2: Set keywords to take effect immediately

[0014] The keywords will automatically take effect when the counter system is started, and dynamic keyword updates are supported;

[0015] Step 3: Test platform adaptation

[0016] After obtaining the configured pop-up window keywords, users can perform personalized processing on these pop-up windows that need to be automatically clicked according to their actual needs (such as automatically taking screenshots before clicking and recording test traces after clicking). The platform can actively identify pop-up windows that need to be automatically processed and pop-up windows that do not need to be automatically processed based on the obtained keywords, return the test results, and generate test records;

[0017] Step 4: Generate test records

[0018] The automatically processed pop-up window will generate a corresponding test record in the test track. When the pop-up window is clicked, a pop-up window screenshot will be automatically generated for the user to check and verify later, so that the test results can be traced.

[0019] Furthermore, the keyword configuration described in step 1 of the method of the present invention supports the following two configuration modes of pop-up keywords:

[0020] (1) Visual configuration of the counter automation test platform (this configuration method is convenient, fast, intuitive and efficient);

[0021] (2) Built-in file configuration (the advantage of this configuration method is that it does not rely on the test platform);

[0022] When both of the above configuration methods are used at the same time, the program will obtain all and automatically deduplicate.

[0023] Furthermore, when the keyword configuration in the method of the present invention adopts the above-mentioned (2) built-in file configuration method, it is only necessary to add a .txt format document in the program root directory. The document content is arranged in the form of key:value, where key is the keyword and value is the button to be clicked. When configuring multiple keywords, multiple keywords are separated by "||".

[0024] Furthermore, when the counter system described in step 2 of the method of the present invention is started, the keyword automatically takes effect and supports dynamic updating of keywords. When the user updates the keyword, he only needs to use the shortcut key Ctrl+Shift+S on the plug-in side, and the plug-in can update the latest keyword content to the context through http request, thereby realizing real-time keyword configuration without restarting the system.

[0025] Furthermore, the test record in step 4 of the method of the present invention includes the following information: the click time of the pop-up window, the click button, and the pop-up window content.

[0026] In a second aspect, the present invention provides a bank counter system non-process pop-up window automatic processing system, comprising:

[0027] Keyword configuration module: Its function is to implement keyword configuration. Keywords use a key-value structure. It not only supports configuring key content in pop-up windows, but also supports configuring buttons that users specify to click. At the same time, button configuration supports array subscripts and button labels.

[0028] Keyword real-time effect setting module: its function is that keywords automatically take effect when the counter system is started, and supports dynamic keyword updates. When the user updates the keyword, he only needs to use the shortcut key Ctrl+Shift+S on the plug-in side, and the plug-in can update the latest keyword content to the context through http request, so that the keyword configuration takes effect in real time without restarting the system;

[0029] Test platform adaptation module: After obtaining the configured pop-up window keywords, users can personalize the pop-up windows that need to be clicked automatically according to their actual needs. The platform can actively identify the pop-up windows that need to be automatically processed and the pop-up windows that do not need to be automatically processed based on the obtained keywords, return the test results, and generate test records;

[0030] Test record generation module: Its function is to generate a corresponding test record in the automatically processed pop-up test track. The test record contains the click time, click button, and pop-up content information of the pop-up. When the pop-up is clicked, a pop-up screenshot is automatically generated for the user to check and verify later.

[0031] Furthermore, the keyword configuration in the keyword configuration module of the above-mentioned automatic processing system supports the following two configuration methods of pop-up keywords:

[0032] (1) Visual configuration of the counter automation test platform;

[0033] (2) Built-in file configuration: When this configuration method is used, you only need to add a .txt file in the root directory of the program. The document content is arranged in the form of key:value, where key is the keyword and value is the button to be clicked. When configuring multiple keywords, multiple keywords are separated by "||";

[0034] When both of the above configuration methods are used at the same time, the program will obtain all and automatically deduplicate.

[0035] In a third aspect, the present invention provides an electronic device for automated processing of non-process pop-up windows in a bank counter system, the electronic device comprising a processor and a memory, the memory being used to store programs, and the processor being used to run the programs to implement the above-mentioned method for automated processing of non-process pop-up windows in a bank counter system.

[0036] In a fourth aspect, the present invention provides a computer-readable storage medium for automated processing of non-process pop-up windows in a bank counter system. The computer-readable storage medium stores instructions which, when executed on a computer, enable the computer to execute the above-mentioned method for automated processing of non-process pop-up windows in a bank counter system.

[0037] In summary, the bank counter system non-process pop-up window automatic processing method of the present invention has the following characteristics:

[0038] (1) Pop-up keyword configuration greatly improves the user experience, making it possible to implement non-intrusive automated testing for non-process pop-ups that previously could only be tested manually or modify the source code of counter transactions, greatly improving the security of system code.

[0039] (2) The design of keyword configuration can also be used to process other uncontrollable components such as buttons and switches, and has strong scalability.

[0040] (3) It supports a variety of counter components, such as the Agree counter component and the Vue pop-up component, which have a wide range of applications and can meet the various business needs of various users.

[0041] (4) Simplified operations without affecting the transaction process.

[0042] (5) The accuracy of the test results is ensured and the test records can be traced. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0044] Figure 1 The present invention is a schematic diagram of the design architecture of the bank counter system non-process pop-up window automation processing method. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. The present invention can also be implemented or applied through other different specific implementation methods. The details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention.

[0046] At the same time, it should be understood that the protection scope of the present invention is not limited to the specific embodiments described below; it should also be understood that the terms used in the embodiments of the present invention are for describing specific embodiments rather than for limiting the protection scope of the present invention.

[0047] Example 1: A method for automatically processing non-process pop-up windows in a bank counter system (see the design architecture for details) Figure 1 ),include:

[0048] Step 1: Keyword configuration

[0049] Keywords use a key-value structure, which not only supports configuring the key content in the pop-up window, but also supports configuring the button that the user specifies to click. At the same time, the button configuration supports array subscripts and button labels (this design allows the system to perform automated testing on non-process pop-ups without modifying the transaction source code); in addition,

[0050] Keyword configuration supports the following two pop-up keyword configuration methods:

[0051] (1) Visual configuration of the counter automation test platform (this configuration method is convenient, fast, intuitive and efficient);

[0052] (2) Built-in file configuration (the advantage of this configuration method is that it does not rely on the test platform); when using this configuration method, you only need to add a .txt file in the root directory of the program. The document content is arranged in the form of key:value, where key is the keyword and value is the button to be clicked. When configuring multiple keywords, multiple keywords are separated by "||";

[0053] When both of the above configuration methods are used at the same time, the program will obtain all and automatically deduplicate.

[0054] Step 2: Set keywords to take effect immediately

[0055] Keywords automatically take effect when the counter system is started, and dynamic keyword updates are supported. When users update keywords, they only need to use the shortcut key Ctrl+Shift+S on the plug-in side, and the plug-in can update the latest keyword content to the context through http requests, realizing real-time keyword configuration without restarting the system.

[0056] Step 3: Test platform adaptation

[0057] After obtaining the configured pop-up window keywords, users can personalize the pop-up windows that need to be automatically clicked according to their actual needs (such as automatically taking screenshots before clicking and recording test tracks after clicking). The platform can actively identify the pop-up windows that need to be automatically processed and the pop-up windows that do not need to be automatically processed based on the obtained keywords, and return the test results and generate test records.

[0058] Step 4: Generate test records

[0059] The automatically processed pop-up window will generate a corresponding test record in the test track. The test record contains information such as the click time, click button, pop-up window content, etc. When the pop-up window is clicked, a pop-up window screenshot is automatically generated for users to check and verify later, so that the test results can be traced.

[0060] Embodiment 2: A bank counter system non-process pop-up window automatic processing system, comprising:

[0061] Keyword configuration module: Its function is to implement keyword configuration. Keywords use a key-value structure. It not only supports configuring key content in pop-up windows, but also supports configuring buttons that users specify to click. At the same time, button configuration supports array subscripts and button labels. Keyword configuration also supports the following two pop-up keyword configuration methods:

[0062] (1) Visual configuration of the counter automation test platform;

[0063] (2) Built-in file configuration: When this configuration method is used, you only need to add a .txt file in the root directory of the program. The document content is arranged in the form of key:value, where key is the keyword and value is the button to be clicked. When configuring multiple keywords, multiple keywords are separated by "||";

[0064] When both of the above configuration methods are used at the same time, the program will obtain all and automatically deduplicate.

[0065] Keyword real-time effectiveness setting module: its function is that keywords automatically take effect when the counter system is started, and supports dynamic update of keywords. When the user updates the keyword, he only needs to use the shortcut key Ctrl+Shift+S on the plug-in side, and the plug-in can update the latest keyword content to the context through http request, so that the keyword configuration can take effect in real time without restarting the system.

[0066] Test platform adaptation module: Its function is to obtain the configured pop-up window keywords, and then the user can personalize the pop-up windows that need to be clicked automatically according to their actual needs. The platform can actively identify the pop-up windows that need to be automatically processed and the pop-up windows that do not need to be automatically processed based on the obtained keywords, and return the test results and generate test records.

[0067] Test record generation module: Its function is to generate a corresponding test record in the automatically processed pop-up test track. The test record contains the click time, click button, and pop-up content information of the pop-up. When the pop-up is clicked, a pop-up screenshot is automatically generated for the user to check and verify later.

[0068] For the functional details of each module, please refer to the technical solution of Example 1.

[0069] Embodiment 3: An electronic device for automatic processing of non-process pop-up windows in a bank counter system, comprising:

[0070] A processor and a memory, wherein the memory is used to store a program, and the processor is used to run the program to implement the bank counter system non-process pop-up window automatic processing method described in Example 1.

[0071] Embodiment 4: A computer-readable storage medium for automatic processing of non-process pop-up windows in a bank counter system:

[0072] The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method for automatically processing non-process pop-up windows of a bank counter system as described in Example 1.

[0073] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods or computer program products. Therefore, the present invention may be implemented in the form of a complete hardware embodiment, a complete software embodiment, or a combination of software and hardware.

[0074] The various embodiments of the present invention are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0075] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, replacement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the claims of the present invention.

Claims

1. A method for automatically processing non-process pop-up windows in a bank counter system, characterized in that: The method comprises: Step 1: Keyword configuration Keywords use a key-value structure, which not only supports configuring the key content in the pop-up window, but also supports configuring the button that the user specifies to click. At the same time, button configuration supports array subscripts and button labels. In this case, the system can perform automated testing on non-process pop-ups without modifying the transaction source code. The keyword configuration supports the following two pop-up keyword configuration methods: (1) Visual configuration of the counter automation test platform; (2) Built-in file configuration, this configuration method does not rely on the test platform; When using (2) built-in file configuration method, you only need to add a .txt file in the program root directory. The document content is arranged in the form of key:value, where key is the keyword and value is the button to be clicked. When configuring multiple keywords, separate them with "||"; When both of the above configuration methods are used at the same time, the program will obtain all and automatically remove duplicates; Step 2: Set keywords to take effect immediately Keywords automatically take effect when the counter system is started, and dynamic keyword updates are supported. When users update keywords, they only need to use the shortcut keys Ctrl+Shift+S on the plug-in side, and the plug-in can update the latest keyword content to the context through http requests, realizing real-time keyword configuration without restarting the system. Step 3: Test platform adaptation After obtaining the configured pop-up window keywords, users can personalize the pop-up windows that need to be automatically clicked according to their actual needs. The platform can actively identify the pop-up windows that need to be automatically processed and the pop-up windows that do not need to be automatically processed based on the obtained keywords, and return the test results and generate test records; Step 4: Generate test records The automatically processed pop-up window will generate a corresponding test record in the test track, which contains the click time, click button, and pop-up window content information of the pop-up window. When the pop-up window is clicked, a pop-up window screenshot is automatically generated for the user to check and verify later.

2. A bank counter system non-process pop-up window automatic processing system, characterized in that: When the system is running, the method for automatically processing non-process pop-up windows of a bank counter system according to claim 1 is implemented, and the system comprises: Keyword configuration module: Its function is to implement keyword configuration. Keywords use a key-value structure. It not only supports configuring key content in pop-up windows, but also supports configuring buttons that users specify to click. At the same time, button configuration supports array subscripts and button labels. Keyword real-time effect setting module: its function is that keywords automatically take effect when the counter system is started, and supports dynamic keyword updates. When the user updates the keyword, he only needs to use the shortcut key Ctrl+Shift+S on the plug-in side, and the plug-in can update the latest keyword content to the context through http request, so that the keyword configuration takes effect in real time without restarting the system; Test platform adaptation module: After obtaining the configured pop-up window keywords, users can personalize the pop-up windows that need to be clicked automatically according to their actual needs. The platform can actively identify the pop-up windows that need to be automatically processed and the pop-up windows that do not need to be automatically processed based on the obtained keywords, return the test results, and generate test records; Test record generation module: Its function is to generate a corresponding test record in the automatically processed pop-up test track. The test record contains the click time, click button, and pop-up content information of the pop-up. When the pop-up is clicked, a pop-up screenshot is automatically generated for the user to check and verify later.

3. The automated processing system according to claim 2, characterized in that: The keyword configuration in its keyword configuration module supports the following two pop-up keyword configuration methods: (1) Visual configuration of the counter automation test platform; (2) Built-in file configuration: When this configuration method is used, you only need to add a .txt file in the root directory of the program. The document content is arranged in the form of key:value, where key is the keyword and value is the button to be clicked. When configuring multiple keywords, separate them with "||"; When both of the above configuration methods are used at the same time, the program will obtain all and automatically deduplicate.

4. An electronic device for automatic processing of non-process pop-up windows in a bank counter system, characterized in that: The electronic device includes a processor and a memory, the memory is used to store programs, and the processor is used to run the programs to implement the bank counter system non-process pop-up window automation processing method described in claim 1.

5. A computer-readable storage medium for automatic processing of non-process pop-up windows in a bank counter system, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method for automatically processing non-process pop-up windows of a bank counter system as described in claim 1.