[go: up one dir, main page]

CN113885774B - Method, system and electronic device for real-time acquisition and processing of bank counter component information - Google Patents

Method, system and electronic device for real-time acquisition and processing of bank counter component information Download PDF

Info

Publication number
CN113885774B
CN113885774B CN202111216784.8A CN202111216784A CN113885774B CN 113885774 B CN113885774 B CN 113885774B CN 202111216784 A CN202111216784 A CN 202111216784A CN 113885774 B CN113885774 B CN 113885774B
Authority
CN
China
Prior art keywords
component information
real
time
information
component
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.)
Active
Application number
CN202111216784.8A
Other languages
Chinese (zh)
Other versions
CN113885774A (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.)
Agree Technology Co Ltd
Original Assignee
Agree Technology 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 Agree Technology Co Ltd filed Critical Agree Technology Co Ltd
Priority to CN202111216784.8A priority Critical patent/CN113885774B/en
Publication of CN113885774A publication Critical patent/CN113885774A/en
Application granted granted Critical
Publication of CN113885774B publication Critical patent/CN113885774B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention belongs to the fields of information processing technology, system management software and banking business, and particularly relates to a method and a system for acquiring and processing bank counter component information in real time, and an electronic device and a storage medium related to the method and the system. The method comprises the following steps: and acquiring the component information in real time, setting a switchable inscription panel, setting a shortcut copying button and the like. The method can provide almost all kinds of detailed information of the counter assembly for users in real time, an automatic test engineer can acquire the assembly information through the method for editing the recorded automatic script, great convenience is provided for secondary maintenance work of the automatic test script, the method is good in feasibility and accuracy, the operation is simple and quick, the users do not need to be familiar with transaction rules and bank counter system structures, the technical requirements on operators are reduced, and therefore the method has huge popularization and application space.

Description

银行柜面组件信息实时获取和处理方法、系统及电子装置Method, system, and electronic device for real-time acquisition and processing of bank counter component information

技术领域technical field

本发明属于信息处理技术、系统管理软件和银行业务领域,尤其涉及一种银行柜面组件信息实时获取和处理方法、系统及与之相关的电子装置和存储介质。The invention belongs to the fields of information processing technology, system management software and banking business, and in particular relates to a method and system for real-time acquisition and processing of bank counter component information, and related electronic devices and storage media.

背景技术Background technique

随着银行业务自动化程度的不断提升,对柜面管理系统的操作便利性、稳定性和安全性也提出了更高的要求。目前银行业使用最多的柜面系统组件主要有两种:赞同柜面组件(由赞同科技自主研发,如赞同柜面4.0)和Vue组件。With the continuous improvement of banking business automation, higher requirements are put forward for the operation convenience, stability and security of the counter management system. At present, there are two main types of counter system components most used in the banking industry: Approved Counter components (independently developed by Approved Technology, such as Approved Counter 4.0) and Vue components.

在银行柜面系统组件的运行和维护过程中,自动化测试已成为不可或缺的一部分,目前,大多数银行采用的柜面系统组件都具备了录制-回放的能力,但二次维护脚本时如何获取和处理新增组件却成为了新的难题,由于重新维护自动化脚本时原始录制环境已经不存在,自动化平台若想重新获取组件信息只能通过手动查找交易文件,这种操作方式具有许多缺陷和不足:In the process of operation and maintenance of bank counter system components, automated testing has become an indispensable part. At present, the counter system components adopted by most banks have the ability of recording and playback, but how to maintain scripts for the second time? Obtaining and processing new components has become a new problem. Since the original recording environment no longer exists when the automation script is re-maintained, if the automation platform wants to obtain component information again, it can only manually find the transaction file. This operation method has many defects and insufficient:

(1)对操作人员的技术要求较高,需要用户对交易规则和银行柜面系统结构非常熟悉,大多数用户操作起来极其困难,降低了用户体验。(1) The technical requirements for operators are relatively high, and users need to be very familiar with the transaction rules and the structure of the bank counter system. Most users are extremely difficult to operate, which reduces the user experience.

(2)步骤繁琐,浪费人力。(2) The steps are cumbersome and waste manpower.

(3)极为耗时,许多情况下手动查找交易文件甚至不如重新录制脚本。(3) It is extremely time-consuming. In many cases, manually searching for transaction files is not even as good as re-recording scripts.

(4)可行性差,效率低,有时二次维护脚本新增组件几乎不可行。(4) Feasibility is poor, efficiency is low, and sometimes it is almost impossible to add components to secondary maintenance scripts.

鉴于此,亟需一种新的银行柜面组件信息实时获取和处理方法。In view of this, there is an urgent need for a new method for real-time acquisition and processing of bank counter component information.

发明内容Contents of the invention

为了克服手动查找交易文件获取组件信息方法存在的上述缺陷和不足,本发明提供了一套解决方案:我们重新审视了用户痛点,另辟蹊径,设计了一种能够实时获取银行柜面组件信息的方法,并由赞同科技自动化测试部门自主研发获得了用于实时提示柜面组件详细信息的AgreeAutoTest组件信息实时提示系统,本系统具有组件信息实时提示、组件信息实时复制等能力,可以为使用者实时提供几乎全部种类的柜面组件详细信息,自动化测试工程师可以通过它获取组件信息用于编辑已经录制好的自动化脚本,为自动化测试脚本的二次维护工作提供了极大地便利。In order to overcome the above defects and deficiencies in the method of manually searching transaction files to obtain component information, the present invention provides a set of solutions: we re-examined the pain points of users, found another way, and designed a method that can obtain bank counter component information in real time. The AgreeAutoTest component information real-time prompt system for real-time prompting of detailed information of cabinet components was independently developed by the Automated Testing Department of Agree Technology. This system has the capabilities of real-time prompting of component information, real-time copying of component information, etc. Detailed information of all types of cabinet components, automated test engineers can use it to obtain component information for editing the recorded automation scripts, which provides great convenience for the secondary maintenance of automated test scripts.

第一方面,本发明提供了一种银行柜面组件信息实时获取和处理方法,该方法包括:In a first aspect, the present invention provides a method for real-time acquisition and processing of bank counter component information, the method comprising:

步骤一:组件信息实时获取Step 1: Obtain component information in real time

打开新交易时为当前交易面板内的所有注册组件添加事件监听器,并将本次新建的所有事件监听器全部缓存到上下文的一个Set中,使用Set保证了程序不会重复创建和缓存监听;When opening a new transaction, add event listeners to all registered components in the current transaction panel, and cache all event listeners created this time into a Set in the context. Using Set ensures that the program will not repeatedly create and cache listeners;

当所述事件监听器监听到了用户的鼠标事件,程序就会自动封装组件的详细信息并添加到系统缓存中,保证了获取到的组件信息的实时性与准确性;When the event listener monitors the user's mouse event, the program will automatically encapsulate the detailed information of the component and add it to the system cache, ensuring the real-time and accuracy of the obtained component information;

步骤二:可开关题词面板的设置Step 2: You can switch the settings of the inscription panel

为用户在柜面系统内创建一个题词面板,并将该题词面板设置为可开关模式,所述题词面板能够实时显示用户鼠标当前所在组件的详细信息,从而实现了组件信息的实时可视化;Create an inscription panel for the user in the counter system, and set the inscription panel to switchable mode. The inscription panel can display the detailed information of the component where the user's mouse is currently located in real time, thereby realizing real-time visualization of component information;

步骤三:快捷复制按钮的设置Step 3: Setting of the shortcut copy button

在所述题词面板中设置一键复制组件详细信息的快捷按钮,为用户提供快捷复制组件信息的功能。In the inscription panel, a shortcut button for one-click copying component detailed information is set to provide users with the function of quickly copying component information.

进一步地,本发明方法步骤一中将本次新建的所有事件监听器全部缓存到上下文的一个Set中,交易关闭时程序会移除本交易的所有监听。Further, in step 1 of the method of the present invention, all event listeners newly created this time are cached in a Set of the context, and the program will remove all listeners of this transaction when the transaction is closed.

进一步地,本发明方法步骤二中当可开关题词面板处于关闭状态时,事件监听器不再更新系统缓存中的组件信息,避免了工作资源的浪费。Further, in step 2 of the method of the present invention, when the switchable inscription panel is in the closed state, the event listener does not update the component information in the system cache, which avoids the waste of working resources.

进一步地,本发明方法步骤三中经快捷复制按钮复制后的组件信息以json格式存储在系统剪切板中供用户使用。Further, the component information copied by the shortcut copy button in step 3 of the method of the present invention is stored in the system clipboard in json format for the user to use.

优选地,本发明方法还可在所述题词面板对应的测试平台中设置具有一键粘贴功能的快捷按钮,进一步提高维护自动化脚本的效率。Preferably, the method of the present invention can also set a shortcut button with a one-key paste function in the test platform corresponding to the inscription panel, so as to further improve the efficiency of maintaining the automation script.

第二方面,本发明提供了一种银行柜面组件信息实时获取和处理系统,所述系统包括:In a second aspect, the present invention provides a system for real-time acquisition and processing of bank counter component information, said system comprising:

组件信息实时获取模块:其功能为在打开新交易时为当前交易面板内的所有注册组件添加事件监听器,并将本次新建的所有事件监听器全部缓存到上下文的一个Set中,使用Set保证了程序不会重复创建和缓存监听;当所述事件监听器监听到了用户的鼠标事件,程序就会自动封装组件的详细信息并添加到系统缓存中,保证了获取到的组件信息的实时性与准确性,交易关闭时程序会移除本交易的所有监听;Component information real-time acquisition module: its function is to add event listeners to all registered components in the current transaction panel when opening a new transaction, and cache all event listeners created this time into a Set of the context, using Set to ensure The program will not repeatedly create and cache monitoring; when the event listener monitors the user's mouse event, the program will automatically encapsulate the detailed information of the component and add it to the system cache, ensuring the real-time and Accuracy, the program will remove all monitoring of this transaction when the transaction is closed;

可开关题词面板设置模块:其功能为为用户在柜面系统内创建一个题词面板,并将该题词面板设置为可开关模式,所述题词面板能够实时显示用户鼠标当前所在组件的详细信息,从而实现了组件信息的实时可视化;当可开关题词面板处于关闭状态时,事件监听器不再更新系统缓存中的组件信息,避免了工作资源的浪费;Switchable inscription panel setting module: its function is to create an inscription panel for the user in the counter system, and set the inscription panel to switchable mode. The inscription panel can display the detailed information of the component where the user's mouse is currently located in real time, thereby Real-time visualization of component information is realized; when the switchable inscription panel is closed, the event listener will no longer update the component information in the system cache, avoiding the waste of work resources;

快捷复制按钮设置模块:其功能为在所述题词面板中设置一键复制组件详细信息的快捷按钮,为用户提供快捷复制组件信息的功能,经快捷复制按钮复制后的组件信息以json格式存储在系统剪切板中供用户使用。Quick copy button setting module: its function is to set a shortcut button for one-key copy component detailed information in the inscription panel, and provide users with the function of quick copy component information. The component information copied by the quick copy button is stored in json format. In the system clipboard for user use.

优选地,上述银行柜面组件信息实时获取和处理系统中还可包括:Preferably, the above-mentioned bank counter component information real-time acquisition and processing system may also include:

快捷粘贴按钮设置模块:其功能为在所述题词面板对应的测试平台中设置具有一键粘贴功能的快捷按钮,进一步提高维护自动化脚本的效率。Quick paste button setting module: its function is to set a shortcut button with a one-key paste function in the test platform corresponding to the inscription panel, so as to further improve the efficiency of maintaining the automation script.

第三方面,本发明提供了一种用于银行柜面组件信息实时获取和处理的电子装置,所述电子装置包括处理器和存储器,所述存储器用于存储程序,所述处理器用于运行所述程序,以实现上述银行柜面组件信息实时获取和处理方法。In a third aspect, the present invention provides an electronic device for real-time acquisition and processing of bank counter component information, the electronic device includes a processor and a memory, the memory is used to store programs, and the processor is used to run the The above program is used to realize the real-time acquisition and processing method of bank counter component information.

第四方面,本发明提供了一种用于银行柜面组件信息实时获取和处理的计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述银行柜面组件信息实时获取和处理方法。In a fourth aspect, the present invention provides a computer-readable storage medium for real-time acquisition and processing of bank counter component information. Instructions are stored in the computer-readable storage medium, and when it runs on a computer, the computer reads The method for real-time acquisition and processing of bank counter component information is implemented.

综上,本发明银行柜面组件信息实时获取和处理方法具有以下特点:To sum up, the real-time acquisition and processing method of bank counter component information of the present invention has the following characteristics:

(1)组件监听是本发明实现组件信息实时提示的基础,事件监听器的添加、缓存与移除时机是实现本发明技术的关键,在本发明方法中,当用户点击该组件时组件信息就会自动显示在题词面板上,使得本发明真正意义上实现了组件信息的“实时”提示与获取。(1) Component monitoring is the basis for the present invention to realize real-time prompting of component information, and the timing of adding, caching and removing event listeners is the key to realizing the technology of the present invention. In the method of the present invention, when the user clicks on the component, the component information will be It will be automatically displayed on the inscription panel, so that the present invention truly realizes "real-time" prompting and acquisition of component information.

(2)设置可开关题词面板实现了组件信息实时可视化,不仅自动化测试人员可以用来维护脚本,交易开发人员也可以利用获取到的组件信息快速定位问题,快捷复制按钮的设置更是显著提升了工作效率与用户体验。(2) The switchable inscription panel is set to realize real-time visualization of component information. Not only automated testers can use it to maintain scripts, but transaction developers can also use the obtained component information to quickly locate problems. The setting of the quick copy button is significantly improved. Productivity and user experience.

(3)本发明方法操作简单快捷,用户不需要熟悉交易规则和银行柜面系统结构,降低了对操作人员的技术要求,从而具有巨大的推广应用空间。(3) The method of the present invention is simple and quick to operate, and users do not need to be familiar with the transaction rules and the structure of the bank counter system, which reduces the technical requirements for operators and thus has a huge space for popularization and application.

(4)可行性和准确性好,自动化脚本二次维护效率更高。(4) Feasibility and accuracy are good, and the secondary maintenance efficiency of automated scripts is higher.

附图说明Description of drawings

为了更清楚地说明本发明技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solution of the present invention more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments recorded in the present invention. Those skilled in the art can also obtain other drawings based on these drawings without any creative work.

图1为本发明银行柜面组件信息实时获取和处理方法设计架构示意图。Fig. 1 is a schematic diagram of the design architecture of the bank counter component information real-time acquisition and processing method of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合具体实施例及相应的附图对本发明的技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例,本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。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 a part of the embodiments of the present invention, rather than all the embodiments. The present invention can also be implemented or applied through other different specific implementation modes, and the details in this specification can also be based on different viewpoints Various modifications or changes may be made without departing from the spirit of the invention.

同时,应理解,本发明的保护范围并不局限于下述特定的具体实施方案;还应当理解,本发明实施例中使用的术语是为了描述特定的具体实施方案,而不是为了限制本发明的保护范围。Simultaneously, it should be understood that the protection scope of the present invention is not limited to the following specific embodiments; protected range.

实施例1:一种银行柜面组件信息实时获取和处理方法(设计架构见图1),包括:Embodiment 1: a kind of bank counter component information real-time acquisition and processing method (design framework is shown in Fig. 1), comprising:

步骤一:组件信息实时获取Step 1: Obtain component information in real time

打开新交易时为当前交易面板内的所有注册组件添加事件监听器,并将本次新建的所有事件监听器全部缓存到上下文的一个Set中,使用Set保证了程序不会重复创建和缓存监听;交易关闭时程序会移除本交易的所有监听;When opening a new transaction, add event listeners to all registered components in the current transaction panel, and cache all event listeners created this time into a Set in the context. Using Set ensures that the program will not repeatedly create and cache listeners; When the transaction is closed, the program will remove all monitoring of this transaction;

当所述事件监听器监听到了用户的鼠标事件,程序就会自动封装组件的详细信息并添加到系统缓存中,保证了获取到的组件信息的实时性与准确性;When the event listener monitors the user's mouse event, the program will automatically encapsulate the detailed information of the component and add it to the system cache, ensuring the real-time and accuracy of the obtained component information;

步骤二:可开关题词面板的设置Step 2: You can switch the settings of the inscription panel

为用户在柜面系统内创建一个题词面板,并将该题词面板设置为可开关模式,所述题词面板能够实时显示用户鼠标当前所在组件的详细信息,从而实现了组件信息的实时可视化;当可开关题词面板处于关闭状态时,事件监听器不再更新系统缓存中的组件信息,避免了工作资源的浪费;Create an inscription panel for the user in the counter system, and set the inscription panel to switchable mode. The inscription panel can display the detailed information of the component where the user's mouse is currently located in real time, thereby realizing real-time visualization of component information; When the switch inscription panel is closed, the event listener will no longer update the component information in the system cache, avoiding the waste of work resources;

步骤三:快捷复制按钮的设置Step 3: Setting of the shortcut copy button

在所述题词面板中设置一键复制组件详细信息的快捷按钮,为用户提供快捷复制组件信息的功能,经快捷复制按钮复制后的组件信息以json格式存储在系统剪切板中供用户使用;A shortcut button for one-key copy component detailed information is set in the inscription panel to provide users with the function of quick copy component information, and the component information copied by the quick copy button is stored in the system clipboard in json format for use by the user;

步骤四:快捷粘贴按钮的设置Step 4: Setting the shortcut paste button

在所述题词面板对应的测试平台中设置具有一键粘贴功能的快捷按钮,进一步提高维护自动化脚本的效率。A shortcut button with a one-click paste function is set in the test platform corresponding to the inscription panel to further improve the efficiency of maintaining the automation script.

实施例2:一种银行柜面组件信息实时获取和处理系统,包括:Embodiment 2: A real-time acquisition and processing system of bank counter component information, comprising:

组件信息实时获取模块:其功能为在打开新交易时为当前交易面板内的所有注册组件添加事件监听器,并将本次新建的所有事件监听器全部缓存到上下文的一个Set中,使用Set保证了程序不会重复创建和缓存监听;当所述事件监听器监听到了用户的鼠标事件,程序就会自动封装组件的详细信息并添加到系统缓存中,保证了获取到的组件信息的实时性与准确性,交易关闭时程序会移除本交易的所有监听;Component information real-time acquisition module: its function is to add event listeners to all registered components in the current transaction panel when opening a new transaction, and cache all event listeners created this time into a Set of the context, using Set to ensure The program will not repeatedly create and cache monitoring; when the event listener monitors the user's mouse event, the program will automatically encapsulate the detailed information of the component and add it to the system cache, ensuring the real-time and Accuracy, the program will remove all monitoring of this transaction when the transaction is closed;

可开关题词面板设置模块:其功能为为用户在柜面系统内创建一个题词面板,并将该题词面板设置为可开关模式,所述题词面板能够实时显示用户鼠标当前所在组件的详细信息,从而实现了组件信息的实时可视化;当可开关题词面板处于关闭状态时,事件监听器不再更新系统缓存中的组件信息,避免了工作资源的浪费;Switchable inscription panel setting module: its function is to create an inscription panel for the user in the counter system, and set the inscription panel to switchable mode. The inscription panel can display the detailed information of the component where the user's mouse is currently located in real time, thereby Real-time visualization of component information is realized; when the switchable inscription panel is closed, the event listener will no longer update the component information in the system cache, avoiding the waste of work resources;

快捷复制按钮设置模块:其功能为在所述题词面板中设置一键复制组件详细信息的快捷按钮,为用户提供快捷复制组件信息的功能,经快捷复制按钮复制后的组件信息以json格式存储在系统剪切板中供用户使用;Quick copy button setting module: its function is to set a shortcut button for one-key copy component detailed information in the inscription panel, and provide users with the function of quick copy component information. The component information copied by the quick copy button is stored in json format. In the system clipboard for user use;

快捷粘贴按钮设置模块:其功能为在所述题词面板对应的测试平台中设置具有一键粘贴功能的快捷按钮,进一步提高维护自动化脚本的效率。Quick paste button setting module: its function is to set a shortcut button with a one-key paste function in the test platform corresponding to the inscription panel, so as to further improve the efficiency of maintaining the automation script.

实施例3:一种用于银行柜面组件信息实时获取和处理的电子装置,所述电子装置包括处理器和存储器,所述存储器用于存储程序,所述处理器用于运行所述程序,以实现实施例1所述的银行柜面组件信息实时获取和处理方法。Embodiment 3: An electronic device for real-time acquisition and processing of bank counter component information, the electronic device includes a processor and a memory, the memory is used to store a program, and the processor is used to run the program to Realize the real-time acquisition and processing method of bank counter component information described in Embodiment 1.

实施例4:一种用于银行柜面组件信息实时获取和处理的计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行实施例1所述的银行柜面组件信息实时获取和处理方法。Embodiment 4: A computer-readable storage medium for real-time acquisition and processing of bank counter component information, the computer-readable storage medium stores instructions, and when it runs on a computer, the computer executes Embodiment 1 The method for acquiring and processing bank counter component information in real time.

本领域技术人员应明白,本发明的实施例可提供为方法或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例,或软件和硬件相结合的形式。Those skilled in the art should understand that embodiments of the present invention may be provided as methods or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.

本发明中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment of the present invention is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, please refer to part of the description of the method embodiment.

以上所述仅为本发明的实施例而已,并不用于限制本发明。对于本领域技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原理之内所作的任何修改、替换等,均应包含在本发明的权利要求保护范围之内。The above descriptions are only examples of the present invention, and are not intended to limit the present invention. Various modifications and variations of the present invention will occur to those skilled in the art. Any modification, substitution, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the claims of the present invention.

Claims (9)

1.一种银行柜面组件信息实时获取和处理方法,其特征在于,所述方法包括:1. a bank counter component information real-time acquisition and processing method, is characterized in that, described method comprises: 步骤一:组件信息实时获取Step 1: Obtain component information in real time 打开新交易时为当前交易面板内的所有注册组件添加事件监听器,并将本次新建的所有事件监听器全部缓存到上下文的一个Set中,使用Set保证了程序不会重复创建和缓存监听;When opening a new transaction, add event listeners to all registered components in the current transaction panel, and cache all event listeners created this time into a Set in the context. Using Set ensures that the program will not repeatedly create and cache listeners; 当所述事件监听器监听到了用户的鼠标事件,程序就会自动封装组件的详细信息并添加到系统缓存中,保证了获取到的组件信息的实时性与准确性;When the event listener monitors the user's mouse event, the program will automatically encapsulate the detailed information of the component and add it to the system cache, ensuring the real-time and accuracy of the obtained component information; 步骤二:可开关题词面板的设置Step 2: You can switch the settings of the inscription panel 为用户在柜面系统内创建一个题词面板,并将该题词面板设置为可开关模式,所述题词面板能够实时显示用户鼠标当前所在组件的详细信息,从而实现了组件信息的实时可视化;Create an inscription panel for the user in the counter system, and set the inscription panel to switchable mode. The inscription panel can display the detailed information of the component where the user's mouse is currently located in real time, thereby realizing real-time visualization of component information; 步骤三:快捷复制按钮的设置Step 3: Setting of the shortcut copy button 在所述题词面板中设置一键复制组件详细信息的快捷按钮,为用户提供快捷复制组件信息的功能。In the inscription panel, a shortcut button for one-click copying component detailed information is set to provide users with the function of quickly copying component information. 2.根据权利要求1所述的方法,其特征在于,步骤一中将本次新建的所有事件监听器全部缓存到上下文的一个Set中,交易关闭时程序会移除本交易的所有监听。2. The method according to claim 1, wherein in step 1, all event listeners newly created this time are cached in a Set of the context, and the program will remove all listeners of this transaction when the transaction is closed. 3.根据权利要求1所述的方法,其特征在于,步骤二中当可开关题词面板处于关闭状态时,事件监听器不再更新系统缓存中的组件信息,避免了工作资源的浪费。3. The method according to claim 1, wherein in step 2, when the switchable inscription panel is closed, the event listener does not update the component information in the system cache, which avoids waste of working resources. 4.根据权利要求1所述的方法,其特征在于,步骤三中经快捷复制按钮复制后的组件信息以json格式存储在系统剪切板中供用户使用。4. The method according to claim 1, wherein the component information copied by the shortcut copy button in step 3 is stored in the system clipboard in json format for the user to use. 5.根据权利要求1所述的方法,其特征在于,在所述题词面板对应的测试平台中还设置有具有一键粘贴功能的快捷按钮,进一步提高维护自动化脚本的效率。5. The method according to claim 1, wherein a shortcut button with a one-key pasting function is also set in the test platform corresponding to the inscription panel, further improving the efficiency of maintaining the automation script. 6.一种银行柜面组件信息实时获取和处理系统,其特征在于,所述系统包括:6. A bank counter component information real-time acquisition and processing system, characterized in that the system includes: 组件信息实时获取模块:其功能为在打开新交易时为当前交易面板内的所有注册组件添加事件监听器,并将本次新建的所有事件监听器全部缓存到上下文的一个Set中,使用Set保证了程序不会重复创建和缓存监听;当所述事件监听器监听到了用户的鼠标事件,程序就会自动封装组件的详细信息并添加到系统缓存中,保证了获取到的组件信息的实时性与准确性,交易关闭时程序会移除本交易的所有监听;Component information real-time acquisition module: its function is to add event listeners to all registered components in the current transaction panel when opening a new transaction, and cache all event listeners created this time into a Set of the context, using Set to ensure The program will not repeatedly create and cache monitoring; when the event listener monitors the user's mouse event, the program will automatically encapsulate the detailed information of the component and add it to the system cache, ensuring the real-time and Accuracy, the program will remove all monitoring of this transaction when the transaction is closed; 可开关题词面板设置模块:其功能为为用户在柜面系统内创建一个题词面板,并将该题词面板设置为可开关模式,所述题词面板能够实时显示用户鼠标当前所在组件的详细信息,从而实现了组件信息的实时可视化;当可开关题词面板处于关闭状态时,事件监听器不再更新系统缓存中的组件信息,避免了工作资源的浪费;Switchable inscription panel setting module: its function is to create an inscription panel for the user in the counter system, and set the inscription panel to switchable mode. The inscription panel can display the detailed information of the component where the user's mouse is currently located in real time, thereby Real-time visualization of component information is realized; when the switchable inscription panel is closed, the event listener will no longer update the component information in the system cache, avoiding the waste of work resources; 快捷复制按钮设置模块:其功能为在所述题词面板中设置一键复制组件详细信息的快捷按钮,为用户提供快捷复制组件信息的功能,经快捷复制按钮复制后的组件信息以json格式存储在系统剪切板中供用户使用。Quick copy button setting module: its function is to set a shortcut button for one-key copy component detailed information in the inscription panel, and provide users with the function of quick copy component information. The component information copied by the quick copy button is stored in json format. In the system clipboard for user use. 7.根据权利要求6所述的银行柜面组件信息实时获取和处理系统,其特征在于,所述系统中还包括:7. bank counter component information real-time acquisition and processing system according to claim 6, is characterized in that, also comprises in the described system: 快捷粘贴按钮设置模块:其功能为在所述题词面板对应的测试平台中设置具有一键粘贴功能的快捷按钮,进一步提高维护自动化脚本的效率。Quick paste button setting module: its function is to set a shortcut button with a one-key paste function in the test platform corresponding to the inscription panel, so as to further improve the efficiency of maintaining the automation script. 8.一种用于银行柜面组件信息实时获取和处理的电子装置,其特征在于,所述电子装置包括处理器和存储器,所述存储器用于存储程序,所述处理器用于运行所述程序,以实现权利要求1-5任一项所述的银行柜面组件信息实时获取和处理方法。8. An electronic device for real-time acquisition and processing of bank counter component information, 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 realize the bank teller component information real-time acquisition and processing method described in any one of claims 1-5. 9.一种用于银行柜面组件信息实时获取和处理的计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行权利要求1-5任一项所述的银行柜面组件信息实时获取和处理方法。9. A computer-readable storage medium for real-time acquisition and processing of bank counter component information, characterized in that, instructions are stored in the computer-readable storage medium, and when it runs on a computer, the computer executes the right The method for acquiring and processing bank counter component information in real time according to any one of requirements 1-5.
CN202111216784.8A 2021-10-19 2021-10-19 Method, system and electronic device for real-time acquisition and processing of bank counter component information Active CN113885774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111216784.8A CN113885774B (en) 2021-10-19 2021-10-19 Method, system and electronic device for real-time acquisition and processing of bank counter component information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111216784.8A CN113885774B (en) 2021-10-19 2021-10-19 Method, system and electronic device for real-time acquisition and processing of bank counter component information

Publications (2)

Publication Number Publication Date
CN113885774A CN113885774A (en) 2022-01-04
CN113885774B true CN113885774B (en) 2023-07-18

Family

ID=79003550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111216784.8A Active CN113885774B (en) 2021-10-19 2021-10-19 Method, system and electronic device for real-time acquisition and processing of bank counter component information

Country Status (1)

Country Link
CN (1) CN113885774B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7653721B1 (en) * 2004-10-29 2010-01-26 Sun Microsystems, Inc. Mechanism for capturing high level events on user interface components
CA2742021A1 (en) * 2011-06-02 2012-12-02 Smithsonmartin Inc. User interfaces and systems and methods for user interfaces
CN104199647A (en) * 2014-08-18 2014-12-10 中国建设银行股份有限公司 Visualization system and implementation method based on IBM host
WO2015113450A1 (en) * 2014-01-29 2015-08-06 华为技术有限公司 Method and apparatus for visualized operation and maintenance of network
WO2017113730A1 (en) * 2015-12-28 2017-07-06 乐视控股(北京)有限公司 Method and system for generating and controlling composite user interface control
WO2020233053A1 (en) * 2019-05-22 2020-11-26 深圳壹账通智能科技有限公司 Method, apparatus, device, and storage medium for making test page script
CN112015401A (en) * 2020-08-17 2020-12-01 北京达佳互联信息技术有限公司 Information acquisition method, device, electronic device and readable storage medium
CN112230910A (en) * 2019-07-15 2021-01-15 腾讯科技(深圳)有限公司 Page generation method, device, equipment and storage medium of embedded program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415786B (en) * 2018-03-13 2022-05-31 联想(北京)有限公司 Information processing method and device, electronic equipment and computer readable medium
US11403313B2 (en) * 2018-07-23 2022-08-02 Jpmorgan Chase Bank, N.A. Dynamic visualization of application and infrastructure components with layers

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7653721B1 (en) * 2004-10-29 2010-01-26 Sun Microsystems, Inc. Mechanism for capturing high level events on user interface components
CA2742021A1 (en) * 2011-06-02 2012-12-02 Smithsonmartin Inc. User interfaces and systems and methods for user interfaces
WO2015113450A1 (en) * 2014-01-29 2015-08-06 华为技术有限公司 Method and apparatus for visualized operation and maintenance of network
CN104199647A (en) * 2014-08-18 2014-12-10 中国建设银行股份有限公司 Visualization system and implementation method based on IBM host
WO2017113730A1 (en) * 2015-12-28 2017-07-06 乐视控股(北京)有限公司 Method and system for generating and controlling composite user interface control
WO2020233053A1 (en) * 2019-05-22 2020-11-26 深圳壹账通智能科技有限公司 Method, apparatus, device, and storage medium for making test page script
CN112230910A (en) * 2019-07-15 2021-01-15 腾讯科技(深圳)有限公司 Page generation method, device, equipment and storage medium of embedded program
CN112015401A (en) * 2020-08-17 2020-12-01 北京达佳互联信息技术有限公司 Information acquisition method, device, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN113885774A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
WO2020233053A1 (en) Method, apparatus, device, and storage medium for making test page script
US9575871B2 (en) System and method for dynamically debugging data in a multi-tenant database environment
US20140105491A1 (en) System and method for web page rendering test automation suite
CN113076253B (en) A test method and a test device
CN107302475A (en) The method of testing and device of a kind of Based on Distributed storage cluster
CN110515795B (en) Big data component monitoring method and device and electronic equipment
US8495008B2 (en) Application-aware recording and replay
US9250774B2 (en) User interface push channel
CN114297028A (en) A microservice log link tracking method and system
CN111258563A (en) Interface document generation method and device, storage medium and electronic equipment
WO2019134287A1 (en) Version information management method, electronic device and readable storage medium
CN107644075B (en) Method and device for collecting page information
CN115145777B (en) Test method, system, device and storage medium
US10083070B2 (en) Log file reduction according to problem-space network topology
JP6238221B2 (en) Apparatus, method and program for monitoring execution of software
CN114328180A (en) Interface automated testing method, system, electronic device and storage medium
CN116756016A (en) Multi-browser testing methods, apparatus, equipment, media and program products
CN108459960A (en) Method of automatic configuration, device, equipment and the storage medium of test environment
CN113885774B (en) Method, system and electronic device for real-time acquisition and processing of bank counter component information
CN115904589A (en) Application window watermark processing method, device and electronic equipment
CN109814864A (en) A kind of data visualization method, visualization system, Web browsing system and equipment
CN113765731B (en) Information processing method, device, and computer-readable storage medium
CN115859909B (en) Collaborative document annotation display method, collaborative document annotation display device, server and storage medium
CN110717134A (en) Product description publishing method, device, storage medium and electronic equipment
CN109582318A (en) Processing method, device, terminal and the storage medium of Portobuf localization

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