A system and method for automatically collecting information and issuing corresponding commands
The system, which automatically collects information and issues commands, solves the problems of high manpower requirements and untimely notifications in the banking system, and achieves efficient and accurate command issuance and execution.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA CONSTR BANK CORP (DALIAN BRANCH)
- Filing Date
- 2022-10-27
- Publication Date
- 2026-07-03
Smart Images

Figure CN115545666B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of financial technology, and in particular to a system and method for automatically collecting information and issuing corresponding commands. Background Technology
[0002] The existing bank work system handles the same task in a semi-manual manner. Specifically, it first obtains all the data through multiple programs provided by the head office and exports it to an Excel spreadsheet. Then, it manually filters the Excel spreadsheet to select the data that does not meet the requirements. Finally, it notifies the relevant personnel via email, etc. This process requires a lot of manpower, and there is no guarantee that every employee will be notified. Summary of the Invention
[0003] To address the issues in existing technologies that require additional manpower and cannot guarantee timely and accurate reminders to employees who do not meet performance targets for upgrades and improvements, the technical solution adopted in this invention is: a system that automatically collects information and issues corresponding commands, including a client and a server;
[0004] The client automatically and periodically obtains software and security information via AU3 scripts.
[0005] The server receives software information and security information transmitted by the client, and generates general commands, special commands, and daily rotation information commands.
[0006] Based on pre-defined conditions, the server combines the general commands, special commands, and daily rotation information commands and sends them to the client.
[0007] The client executes the combined commands issued by the server.
[0008] Furthermore, it also includes a database for storing, updating, and adding software information, security information, and timely reminder information obtained by the client.
[0009] Furthermore: the software information includes the authentication module version, browser installation path, security client installation path, list of installed software, security client main program version, security client login username and ID, login user's organization name and ID, and virus database version;
[0010] The security information includes virus scan time, login IP, and device MAC address.
[0011] Furthermore, the AU3 script on the client side uses JSON format data packets to achieve data transfer between PHP web pages on the server.
[0012] Furthermore: When the server generates PHP web page commands, it relies on AU3 to call the computer's cmd command, decomposes the desired effect into "executable program" and "executable parameters" and adds them to the JSON data packet to be returned.
[0013] A method for automatically collecting information and issuing corresponding commands includes the following steps:
[0014] Retrieve software information, security information, last executed command, and execution count;
[0015] Create a new command variable with empty content. Based on the preset conditions and the indicators required by the head office, automatically determine and compare the uploaded information with the required indicators to generate general commands.
[0016] Find commands whose execution time is today, check if there is a corresponding ID in the table of reminded users, and generate daily rotating information commands.
[0017] Find the corresponding MAC address in the special command table and the command whose execution status is not executed, and generate the special command.
[0018] The generated general commands, daily rotating information commands, and special commands are combined and transformed, and then combined commands are issued.
[0019] Furthermore: the client automatically and periodically obtains software information, security information, and timely alerts via an AU3 script. The process by which the server receives the software information and security information transmitted by the client is as follows:
[0020] Using an AU3 script, the regread method is used to retrieve the software name, software version, and software installation path information from the local terminal's registry.
[0021] The fileopen method is used to read some of the software's locally stored data, as well as the last executed command and execution count. This data is then sent to the server's PHP page in JSON format via AU3 using the CMD curl command.
[0022] Furthermore: the process of finding commands with today's execution time, checking if there is a corresponding ID in the already reminded user table, and generating daily rotating information commands is as follows:
[0023] First, in the corresponding database, the database contains a table of daily information security tips. The command with the execution time of today is searched in the daily information security tips table. If it is found, the ID of the employee corresponding to the client is searched in the reminded user table. If it is found, it means that today's reminder command is set to empty. If not, today's information reminder command is added to the command and the employee ID of the client is added to the reminded user table.
[0024] If there is no command with an execution time of today, find the command with the earliest execution time and change its time to today. At the same time, clear the table of reminded users and add the employee ID of the client to it, thus completing the generation of the daily rotation information command.
[0025] An apparatus for automatically collecting information and issuing corresponding commands, comprising:
[0026] Information acquisition module: used to acquire software information, security information, the last executed command, and the number of executions;
[0027] General command generation module: Used to create a new command variable with empty content. Based on preset conditions and the required indicators, such as the main program version, it automatically judges and compares the uploaded information with the required indicators to generate a general command.
[0028] Daily Rotation Information Command Generation Module: Used to find commands whose execution time is today, check if there is a corresponding ID in the table of reminded users, and generate daily rotation information commands;
[0029] Special command generation module: used to find commands with corresponding MAC addresses and whose execution status is not executed in the special command table, and generate special commands;
[0030] Combined command issuance module: This module is used to combine and transform generated general commands, daily rotating information commands, and special commands, and then issue combined commands.
[0031] A computer-readable medium having a computer program stored thereon, on which any method for automatically collecting information and issuing corresponding commands is executed.
[0032] This invention provides a system and method for automatically collecting information and issuing corresponding commands. The system automatically and periodically retrieves necessary data such as software information, security information, last executed commands, and execution counts from the registry and local files. This data is then uploaded to a server. The server uses pre-defined conditions to determine the head office's required indicators, such as the main program version. It compares the uploaded information with the required indicators to determine the program the terminal needs to execute. The data and instructions are then saved, and the corresponding instructions are sent to the client. This automated process of information saving, conditional judgment, and command issuance significantly reduces manpower used in repetitive and mechanical processes, while also greatly improving efficiency. Furthermore, if the standards (head office required indicators) change or are added or removed, the conditional judgments in the general command module can be modified or added / removed directly in the PHP page, allowing for rapid operation. Additionally, a reserved special command module can be added directly to the database when specific commands need to be issued to the client.
[0033] This system has been put into practical use and has played a significant role in improving the installation rate of the latest version of the branch's security client and the full disk scan rate, as well as in promoting security knowledge. Attached Figure Description
[0034] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1 This is a schematic diagram of the system of this method;
[0036] Figure 2 This is a flowchart illustrating the method of the present invention. Detailed Implementation
[0037] It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of the present invention can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
[0038] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the present invention or its application or use. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0039] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0040] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps described in these embodiments do not limit the scope of the invention. It should also be understood that, for ease of description, the dimensions of the various parts shown in the drawings are not drawn to actual scale. Techniques, methods, and devices known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and devices should be considered part of the specification. In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters in the following drawings denote similar items; therefore, once an item is defined in one drawing, it need not be further discussed in subsequent drawings.
[0041] In the description of this invention, it should be understood that the orientation or positional relationship indicated by directional terms such as "front, back, up, down, left, right", "horizontal, vertical, horizontal" and "top, bottom" is generally based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing this invention and simplifying the description. Unless otherwise stated, these directional terms do not indicate or imply that the device or element referred to must have a specific orientation or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the scope of protection of this invention. The directional terms "inner" and "outer" refer to the inner and outer contours relative to the outline of each component itself.
[0042] For ease of description, spatial relative terms such as "above," "over," "on the upper surface of," "above," etc., are used herein to describe the spatial positional relationship of a device or feature as shown in the figures to other devices or features. It should be understood that spatial relative terms are intended to encompass different orientations in use or operation besides the orientation of the device as described in the figures. For example, if the device in the figures is inverted, a device described as "above" or "above" other devices or structures would subsequently be positioned as "below" or "under" other devices or structures. Thus, the exemplary term "above" can include both "above" and "below." The device may also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatial relative descriptions used herein will be interpreted accordingly.
[0043] Furthermore, it should be noted that the use of terms such as "first" and "second" to define components is merely for the purpose of distinguishing the corresponding components. Unless otherwise stated, the above terms have no special meaning and therefore should not be construed as limiting the scope of protection of this invention.
[0044] Figure 1 This is a schematic diagram of the system of this method;
[0045] A system for automatically collecting information and issuing corresponding commands includes a client, a server, and a database;
[0046] The client automatically and periodically obtains software information, security information, and timely reminders via an AU3 script; the client obtains information from the registry and local files.
[0047] The server receives software information, security information, and timely reminder information transmitted by the client, and generates general commands, special commands, and daily rotating information commands. Based on pre-set conditions, the server combines the general commands, special commands, and daily rotating information commands and sends them to the client.
[0048] The client executes the combined commands issued by the server.
[0049] The database stores, updates, and adds software information, security information, and timely reminder information obtained by the client. At the same time, the database is also connected to the server and provides data to the server.
[0050] The software information includes the application version; the security information includes the virus scan time; and the timely alert information includes the authentication module version, browser installation path, security client installation path, list of installed software, security client main program version, security client login username and ID, login user's organization name and ID, and virus database version.
[0051] The security information includes virus scan time, login IP, and device MAC address.
[0052] The server includes PHP web pages;
[0053] The AU3 script on the client side uses JSON format data packets to transfer data between PHP web pages on the server.
[0054] When the server generates PHP web page commands, it relies on au3 to call the computer's cmd command, breaking down the desired effect into "executable program" and "executable parameters" and adding them to the JSON data packet to be returned.
[0055] Furthermore, the client automatically and periodically obtains software information, security information, and timely alerts via an AU3 script. The process by which the server receives the software information, security information, and timely alerts transmitted by the client is as follows:
[0056] Using an AU3 script, the regread method is used to retrieve the software name, software version, and software installation path information from the client's registry.
[0057] The fileopen method is used to read the security client of a portion of the software, various data stored locally (including virus database version, login username and ID, login user's organization name and ID, login IP, local MAC address, full scan time), as well as the last executed command and execution count. This data is then sent to the server's PHP page in JSON format via AU3 using the CMD curl command.
[0058] Furthermore, after receiving the JSON data packet sent by the client, the PHP page on the server uses the rcvjsonobj method to read and temporarily store the data in the corresponding variable. Then, using the MAC address as the primary key, it saves the required data, such as software information including authentication module version, browser installation path, security client installation path, list of installed software, security client main program version, security client login username and ID, login user's organization name and ID, and virus database version, as well as security information including virus scan time, login IP, and device MAC address, into the database. The presence or absence of the MAC address in the database determines whether to add or update the database data.
[0059] Figure 2 This is a flowchart illustrating the method of the present invention.
[0060] A method for automatically collecting information and issuing corresponding commands includes the following steps:
[0061] S1: Obtain software information, security information, timely alerts, last executed command, and execution count;
[0062] S2: Create a new command variable with empty content. Based on preset conditions and required indicators such as the main program version, automatically determine (IF judgment) the uploaded information and compare it with the required indicators to generate general commands.
[0063] S3: Find commands whose execution time is today, check if there is a corresponding ID in the table of reminded users, and generate daily rotating information commands;
[0064] S4: Search the special command table for the corresponding MAC address and the command whose execution status is not executed, and generate the special command;
[0065] S5: Combine and transform the generated general commands, daily rotation information commands, and special commands, and issue the combined commands.
[0066] First execute step S1, then execute steps S2, S3, and S4 in parallel; then execute S5.
[0067] The general commands, daily rotation information commands, and special commands are combined, converted into UTF8 format, and returned to the client in JSON format. After receiving the returned JSON commands, the client reads the command ID and executes them sequentially according to the command content, while recording the command execution status to a local file.
[0068] Furthermore, a new command variable with empty content is created. Based on preset conditions, the head office's required indicators, such as the main program version, are automatically determined. The uploaded information is compared with the required indicators, and general commands are generated accordingly.
[0069] Example: If the collected security client version is lower than the specified version, a prompt to upgrade the client will be added to the commands for that client, and the user will be redirected to the corresponding help page. All conditions are judged based on all indicators required by the head office, currently including: security client authentication module version, security client main program version, virus database version, and full scan time. After completion, the obtained command will be compared with the last executed command uploaded by the client. If they are the same, no changes will be made, and the original command will be maintained. If they are different and the obtained command is not empty, the original command will be found in the database and its status will be changed to terminated, and then the current command will be saved to the database. If they are different but the obtained command is empty, the execution status of the original command will be changed, but no new command will be created in the database, and no command will be issued.
[0070] Furthermore, the process of finding commands with today's execution time, checking if there is a corresponding ID in the already reminded user table, and generating daily rotating information commands is as follows:
[0071] First, search for commands with today's execution time in the corresponding database. The database contains a table of daily information security reminders. If it exists, search for the ID of the employee corresponding to the client in another table of reminded users. If it exists, it means that the command of this module has been reminded today and is set to empty. If it does not exist, add today's information reminder command to the command and add the employee ID of the client to the table of reminded users.
[0072] If there is no command with an execution time of today, find the command with the earliest execution time and change its time to today. At the same time, clear the table of reminded users and add the employee ID of the client to it, thus completing the generation of the daily rotation information command.
[0073] Furthermore, the generation of the special command involves searching for the client's MAC address and the command whose execution status is not executed in the special command table that stores special commands for individual users in the database. If such a command is found, it is retrieved and its execution status in the table is changed to executed; otherwise, the command in this module is empty.
[0074] An apparatus for automatically collecting information and issuing corresponding commands, comprising:
[0075] Information Acquisition Module: Used to acquire software information, security information, timely reminders, the last executed command, and the execution count;
[0076] General command generation module: Used to create a new command variable with empty content. Based on preset conditions and required indicators such as the main program version, it automatically judges (IF judgment) and compares the uploaded information with the required indicators to generate a general command.
[0077] Daily Rotation Information Command Generation Module: Used to find commands whose execution time is today, check if there is a corresponding ID in the table of reminded users, and generate daily rotation information commands;
[0078] Special command generation module: used to find commands with corresponding MAC addresses and whose execution status is not executed in the special command table, and generate special commands;
[0079] Combined command issuance module: This module is used to combine and transform generated general commands, daily rotating information commands, and special commands, and then issue combined commands.
[0080] A computer-readable medium having a computer program stored thereon, on which any method for automatically collecting information and issuing corresponding commands is executed.
[0081] Example:
[0082] Before using this system, an employee's computer did not meet the head office's requirements for the security client main program, authentication module, and virus database. The last full system scan was also a long time ago. Normally, the IT department would compile statistics and send the employee's non-compliance information to the organization managing that employee, who would then notify the employee to upgrade as soon as possible. After using the system, when the user turns on their computer, after a period of time (approximately half an hour), a data packet containing information such as the full system scan and program version is sent to the server for evaluation. Because the main program version, authentication module version, and virus database version are all outdated, and the last full system scan was older than the head office's required time, the commands returned to the employee will include four general commands: a reminder to upgrade the main program (pop-up + automatic redirection to a help webpage), a reminder to upgrade the authentication module (pop-up + automatic redirection to a help webpage), a reminder to upgrade the virus database (pop-up + automatic redirection to a help webpage), and a reminder to perform a full system scan (pop-up + automatic redirection to a help webpage). Afterward, a security information reminder command based on today's date will be added (redirecting to today's security tips webpage). Since there are no specific commands for this employee in the database, no special commands will be added. These five commands will then be returned to the employee's computer in JSON format for execution in sequence.
[0083] After that, the process of collecting and sending information to the server and receiving commands from the server would repeat approximately every half hour. The employee completed the required upgrades shortly after activating the system, so although data was uploaded every half hour thereafter, the returned commands were only the daily rotating information reminders, and there were no commands requiring the employee to upgrade the main program or otherwise fulfill the employee's requirements.
[0084] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A system for automatically collecting information and issuing corresponding commands, characterized in that: Including client and server; The client automatically and periodically obtains software and security information via AU3 scripts. The server receives software information and security information transmitted by the client, and generates general commands, special commands, and daily rotation information commands. Based on pre-defined conditions, the server combines the general commands, special commands, and daily rotation information commands and sends them to the client. The client executes the combined commands issued by the server; It also includes a database for storing, updating, and adding software information, security information, and timely reminder information obtained by the client; The software information includes the authentication module version, browser installation path, security client installation path, list of installed software, security client main program version, security client login username and ID, login user's organization name and ID, and virus database version. The security information includes virus scan time, login IP, and device MAC address; The AU3 script on the client side uses JSON format data packets to transmit data between PHP web pages on the server. The server's PHP webpage generates commands by using AU3 scripts to call computer cmd commands, breaking down the desired effect into executable programs and execution parameters, and adding them to the JSON data packet to be returned. The client automatically and periodically obtains software information, security information, and timely alerts via an AU3 script. The process by which the server receives the software information and security information transmitted by the client is as follows: Using an AU3 script, the regread method is used to retrieve the software name, software version, and software installation path information from the local terminal's registry. The fileopen method is used to read some of the software's locally stored data, as well as the last executed command and execution count. This data is then sent to the server's PHP page in JSON format via the AU3 script's cmd curl command.
2. A method for automatically collecting information and issuing corresponding commands, characterized in that: Includes the following steps: Retrieve software information, security information, last executed command, and execution count; Create a new command variable with empty content. Based on preset conditions and the indicators required by the head office, automatically determine and compare the uploaded information with the required indicators to generate general commands. Find commands whose execution time is today, check if there is a corresponding ID in the table of reminded users, and generate daily rotating information commands. Find the corresponding MAC address in the special command table and the command whose execution status is not executed, and generate the special command. The generated general commands, daily rotation information commands, and special commands are combined and transformed, and then combined commands are issued. The process of finding commands with today's execution time, checking if a corresponding ID exists in the already reminded user table, and generating daily rotating information commands is as follows: First, in the corresponding database, which contains a table of daily information security alerts, search for commands with today's execution time in the daily information security alerts table. If found, search for the ID of the corresponding employee in the already reminded user table. If found, it means that today's reminder command is set to null. If not, add today's information reminder command to the command and add the employee ID of the client in the already reminded user table. If no command is executed today, find the command with the earliest execution time and change its time to today. At the same time, clear the table of reminded users and add the client's employee ID to it, thus completing the generation of the daily rotation information command.
3. The apparatus for automatically collecting information and issuing corresponding commands according to claim 2, characterized in that: include: Information acquisition module: used to acquire software information, security information, the last executed command, and the number of executions; General command generation module: Used to create a new command variable with empty content. Based on preset conditions and the required indicators, it automatically judges and compares the uploaded information with the required indicators to generate a general command. Daily Rotation Information Command Generation Module: Used to find commands whose execution time is today, check if there is a corresponding ID in the table of reminded users, and generate daily rotation information commands; Special command generation module: used to find commands with corresponding MAC addresses and whose execution status is not executed in the special command table, and generate special commands; Combined command issuance module: This module is used to combine and transform generated general commands, daily rotating information commands, and special commands, and then issue combined commands.
4. A computer-readable medium having a computer program stored thereon, characterized in that: The computer program executes the method for automatically collecting information and issuing corresponding commands as described in claim 2.