CN116166912A - Information processing method, information processing device, storage medium and electronic equipment - Google Patents

Information processing method, information processing device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116166912A
CN116166912A CN202310188825.XA CN202310188825A CN116166912A CN 116166912 A CN116166912 A CN 116166912A CN 202310188825 A CN202310188825 A CN 202310188825A CN 116166912 A CN116166912 A CN 116166912A
Authority
CN
China
Prior art keywords
information
login
page
page address
candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310188825.XA
Other languages
Chinese (zh)
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202310188825.XA priority Critical patent/CN116166912A/en
Publication of CN116166912A publication Critical patent/CN116166912A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • 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)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Software Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Human Computer Interaction (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an information processing method, an information processing device, a storage medium and electronic equipment. Relates to the field of automation. The method comprises the following steps: acquiring information to be queried through an application program, and acquiring basic information associated with the information to be queried from a database, wherein the basic information comprises a login page address and attribute information; loading a login page address in a display interface to obtain a login page, acquiring a login component in the login page, and inputting attribute information into the login component in a simulation manner to perform login operation to obtain a candidate page; identifying the position information of a preset key in the candidate page, and simulating clicking the preset key to obtain an information input column; and simulating the information to be queried into an information input field to obtain return information, and displaying the return information in a display interface. By the method and the device, the problem that the efficiency and the accuracy of the mode of manually inquiring the user information in the related technology are low is solved.

Description

Information processing method, information processing device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of automation, and in particular, to an information processing method, an information processing apparatus, a storage medium, and an electronic device.
Background
At present, with the increase of the types of financial services, the financial institutions conduct admission qualification auditing on clients, which is a primary auditing program for the clients to apply for the credit services of the financial institutions, and only if the application conditions are met, the services of the parts needing auditing can be transacted.
Currently, the customer access monitoring work mainly uses manual input of query information, obtains query result data in a database and downloads the data, thereby providing conditions for later model prediction. The manual inquiry consumes a great deal of manpower resource investment, and similar work is repeatedly completed, the existing timing task inquiry function of the system can not meet the requirements of daily monitoring and updating date variables in real time, and the targets can be completed only by manual submission and downloading modes.
The manual operation mode adopted in the prior art mainly has the following defects: firstly, the accuracy of the client information cannot be ensured by manually inputting the query information; secondly, the number of clients is large, a large amount of manpower resources are required to be invested in daily data query, and the working intensity of staff is also increased to a certain extent.
Aiming at the problem of low efficiency and accuracy of the mode of manually inquiring the user information in the related technology, no effective solution is proposed at present.
Disclosure of Invention
The application provides an information processing method, an information processing device, a storage medium and electronic equipment, and aims to solve the problem that efficiency and accuracy of a mode of manually inquiring user information in the related technology are low.
According to one aspect of the present application, there is provided an information processing method, which is executed by an application program for simulating a user operation. The method comprises the following steps: acquiring information to be queried through an application program, and acquiring basic information associated with the information to be queried from a database, wherein the basic information comprises a login page address and attribute information; loading a login page address in a display interface to obtain a login page, acquiring a login component in the login page, and inputting attribute information into the login component in a simulation manner to perform login operation to obtain a candidate page; identifying the position information of a preset key in the candidate page, and simulating clicking the preset key to obtain an information input column; and simulating the information to be queried into an information input field to obtain return information, and displaying the return information in a display interface.
Optionally, loading the login page address in the display interface includes: determining address information of a page which is already loaded in a display interface to obtain a plurality of current page addresses; judging whether a login page address exists in a plurality of current page addresses; initializing a login page address under the condition that a plurality of current page addresses exist in the login page address; and closing the plurality of current page addresses and loading the login page address under the condition that the login page address does not exist in the plurality of current page addresses.
Optionally, identifying the location information of the preset key in the candidate page includes: program information of a candidate page is obtained, a preset position code is identified from the program information, and the position information of a preset key in the candidate page is determined according to the preset position code, wherein the preset position code is used for setting the position information of the preset key; and/or acquiring image information of the candidate page, and identifying position information of the preset key from the image information according to the preset pattern of the preset key.
Optionally, the information to be queried includes a query condition, and the step of simulating clicking a preset key to obtain the information input field includes: clicking a preset key in a simulation manner, and judging whether an option page is generated or not; under the condition of generating an option page, simulating the query condition to be input into the option page to obtain an information input column; judging whether to generate an information input field under the condition that the option page is not generated; and under the condition that the information input field is not generated, displaying first alarm information in a display interface, wherein the first alarm information characterizes that the information to be queried cannot be searched.
Optionally, after displaying the return information in the display interface, the method further comprises: downloading the return information, and acquiring the name of the return information to obtain a target name; judging whether a target file with the same name as the target name exists in the database; under the condition that the target file with the same name as the target name exists in the database, replacing the target file by using the return information; under the condition that no target file with the same name as the target name exists in the database, generating an initial file, adding return information into the initial file to obtain the target file, and storing the target file into the database.
Optionally, the step of performing the login operation by simulating the attribute information into the login component includes: acquiring preset information from the login component, and judging whether the attribute information is the same as the preset information; judging whether the attribute information has login rights corresponding to the login component or not under the condition that the attribute information is correct; displaying a candidate page under the condition that the attribute information has the login authority corresponding to the login component; and sending out second alarm information under the condition that the attribute information is wrong or the attribute information does not have the login authority corresponding to the login component, wherein the second alarm information represents that the attribute information is abnormal.
Optionally, the basic information further includes a query page address, and after the attribute information is input into the login component in a simulation manner to perform login operation, the method further includes: determining address information of the candidate page to obtain a candidate page address; judging whether the candidate page address is the same as the query page address; under the condition that the candidate page address is different from the query page address, re-executing the steps of loading the login page address in the display interface, obtaining a login component in the login page address, and simulating and inputting attribute information into the login component to perform login operation until the candidate page address is the same as the query page address; and executing the step of identifying the position information of the preset key in the candidate page and simulating clicking the preset key under the condition that the candidate page address is the same as the query page address to obtain an information input field.
According to another aspect of the present application, there is provided an information processing apparatus. The device comprises: the first acquisition unit is used for acquiring information to be queried through an application program and acquiring basic information related to the information to be queried from a database, wherein the basic information comprises a login page address and attribute information; the first input unit is used for loading the login page address in a display interface to obtain a login page, acquiring a login component in the login page, and performing login operation by simulating and inputting the attribute information into the login component to obtain a candidate page; the identification unit is used for identifying the position information of the preset key in the candidate page and simulating clicking the preset key to obtain an information input field; and the second input unit is used for inputting the information to be queried into the information input field in a simulation way to obtain return information, and displaying the return information in the display interface.
According to another aspect of the embodiments of the present invention, there is also provided a computer storage medium for storing a program, wherein the program when run controls a device in which the computer storage medium is located to execute an information processing method.
According to another aspect of embodiments of the present invention, there is also provided an electronic device including one or more processors and a memory; the memory has stored therein computer readable instructions, and the processor is configured to execute the computer readable instructions, wherein the computer readable instructions when executed perform a method of information processing.
Through the application, the following steps are adopted: acquiring information to be queried through an application program, and acquiring basic information associated with the information to be queried from a database, wherein the basic information comprises a login page address and attribute information; loading a login page address in a display interface to obtain a login page, acquiring a login component in the login page, and inputting attribute information into the login component in a simulation manner to perform login operation to obtain a candidate page; identifying the position information of a preset key in the candidate page, and simulating clicking the preset key to obtain an information input column; and simulating the information to be queried into an information input field to obtain return information, and displaying the return information in a display interface. The method solves the problem that the efficiency and the accuracy of the mode of manually inquiring the user information in the related art are low. Basic information used for inquiring data is obtained from a database through starting an application program, page loading is carried out according to the basic information, key positions in pages are automatically identified, subsequent processes are executed in a mode of automatically clicking keys, and after clicking the keys, inquiry information is input according to a popped information input column, so that user data inquiry is automatically carried out through an automatic application program, and the effect of improving accuracy and efficiency of data inquiry is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application, illustrate and explain the application and are not to be construed as limiting the application. In the drawings:
FIG. 1 is a flow chart of an information processing method provided according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an alternative candidate page provided in accordance with an embodiment of the present application;
FIG. 3 is a schematic diagram of an information processing apparatus provided according to an embodiment of the present application;
fig. 4 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the present application described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, related information (including, but not limited to, user equipment information, user personal information, etc.) and data (including, but not limited to, data for presentation, analyzed data, etc.) related to the present disclosure are information and data authorized by a user or sufficiently authorized by each party. For example, an interface is provided between the system and the relevant user or institution, before acquiring the relevant information, the system needs to send an acquisition request to the user or institution through the interface, and acquire the relevant information after receiving the consent information fed back by the user or institution.
It should be noted that the information processing method, apparatus, storage medium, and electronic device determined in the present disclosure may be used in the automation field, and may also be used in any field other than the automation field, and the application fields of the information processing method, apparatus, storage medium, and electronic device determined in the present disclosure are not limited.
For convenience of description, the following will describe some terms or terms related to the embodiments of the present application:
RPA: robotic Process Automation robot process automation, which can also be called as digital labor force, is a software solution for simulating and enhancing interaction process of people and computers and executing repeatable tasks based on certain rules by using intelligent software, and can improve enterprise automation efficiency and reduce labor cost and operation risk.
According to an embodiment of the present application, there is provided an information processing method.
Fig. 1 is a flowchart of an information processing method provided according to an embodiment of the present application. As shown in fig. 1, the method is performed by an application program for simulating a user operation. The application program can be a PRA program, can identify the currently displayed page and the information in the page, and automatically execute the query operation according to the information to be queried through the PRA program after the identification, so that the effect of efficiently querying a large amount of data is achieved.
The method comprises the following steps:
step S101, obtaining information to be queried through an application program, and obtaining basic information associated with the information to be queried from a database, wherein the basic information comprises a login page address and attribute information.
Specifically, when the query is performed, the information to be queried needs to be acquired firstly, wherein the information to be queried can be all transaction information of a certain user group on a certain day, and at this time, a plurality of user names, query dates and other information can be acquired from the information to be queried.
Further, after the information to be queried is obtained, a system which needs to be logged in for querying the information to be queried and login information which is needed when the system is logged in, namely a login page address and attribute information, can be determined according to the category or the service type to which the information to be queried belongs.
Step S102, loading a login page address in a display interface to obtain a login page, acquiring a login component in the login page, and inputting attribute information into the login component in a simulation manner to perform login operation to obtain a candidate page.
Specifically, after the login page address and the attribute information are obtained, the login page address can be input into the display interface, so that the address is loaded to obtain the login page, at this time, a login component is present in the login page and used for inputting the login information, at this time, an application program can identify the position of the login component first and input the attribute information into the login component, thereby completing login, and obtaining a candidate interface displayed in the display interface after login.
For example, after the website login page is opened, a tool for acquiring a webpage in the RPA system can be used to locate a unique tag element value of a user name and password input box, input the value of the user name and password, and click an element to operate a login button. If the link fails, the corresponding business personnel is notified in a mail mode, the business personnel is reminded to check the failure, and the corresponding user name and password parameter information is modified.
Step S103, identifying the position information of the preset key in the candidate page, and simulating clicking the preset key to obtain an information input field.
Specifically, a plurality of keys can exist in the candidate interface, corresponding to different service query functions, a preset key corresponding to the information to be queried can be selected from the plurality of keys, the position of the key is identified, the preset key is clicked, and therefore an information input field is obtained, and further the information to be queried can be queried in a mode of automatically adding the information to be queried to the information input field.
Step S104, the information to be queried is simulated and input into an information input field to obtain return information, and the return information is displayed in a display interface.
Specifically, after the information input field is obtained, the information to be queried is required to be simulated and input into the information input field through an application program, so that return information can be obtained, and further the query operation of the information to be queried is completed.
According to the information processing method provided by the embodiment of the application program, the information to be queried is obtained through the application program, and basic information related to the information to be queried is obtained from the database, wherein the basic information comprises a login page address and attribute information; loading a login page address in a display interface to obtain a login page, acquiring a login component in the login page, and inputting attribute information into the login component in a simulation manner to perform login operation to obtain a candidate page; identifying the position information of a preset key in the candidate page, and simulating clicking the preset key to obtain an information input column; and simulating the information to be queried into an information input field to obtain return information, and displaying the return information in a display interface. The method solves the problem that the efficiency and the accuracy of the mode of manually inquiring the user information in the related art are low. Basic information used for inquiring data is obtained from a database through starting an application program, page loading is carried out according to the basic information, key positions in pages are automatically identified, subsequent processes are executed in a mode of automatically clicking keys, and after clicking the keys, inquiry information is input according to a popped information input column, so that user data inquiry is automatically carried out through an automatic application program, and the effect of improving accuracy and efficiency of data inquiry is achieved.
In order to ensure that a login page corresponding to information to be queried is accurately opened, optionally, in the information processing method provided in the embodiment of the present application, loading a login page address in a display interface includes: determining address information of a page which is already loaded in a display interface to obtain a plurality of current page addresses; judging whether a login page address exists in a plurality of current page addresses; initializing a login page address under the condition that a plurality of current page addresses exist in the login page address; and closing the plurality of current page addresses and loading the login page address under the condition that the login page address does not exist in the plurality of current page addresses.
Specifically, after the login page address and the attribute information are obtained, whether the login page address which is completely loaded exists in the display interface or not can be determined, and if so, the login page address which is completely loaded is directly initialized, so that the attribute information is directly input in the initialized login page.
Furthermore, in the case that no login page address exists in the plurality of current page addresses, in order to avoid that other opened webpages are in a display interface of the device operated by the RPA robot, the webpages are disordered too much, so that the plurality of opened current pages can be closed, and the login page addresses can be reloaded after the browser is re-opened, thereby ensuring that the login page is correctly opened.
Optionally, in the information processing method provided in the embodiment of the present application, identifying the position information of the preset key in the candidate page includes: program information of a candidate page is obtained, a preset position code is identified from the program information, and the position information of a preset key in the candidate page is determined according to the preset position code, wherein the preset position code is used for setting the position information of the preset key; and/or acquiring image information of the candidate page, and identifying position information of the preset key from the image information according to the preset pattern of the preset key.
Specifically, when the positions of preset keys in the candidate pages are identified, firstly, the service of which the information to be queried needs to be queried is determined according to the basic information of the information to be queried, the preset keys corresponding to the service are determined in the candidate pages according to the queried service, and the positions of the preset keys can be identified in the following two modes: 1. and determining code information corresponding to the preset key by identifying the source code of the candidate page, determining the position information of the preset key in the candidate page according to the code information, and clicking the preset key. 2. By means of an image recognition method, positions of keys corresponding to preset keys are recognized from a plurality of keys, fig. 2 is a schematic diagram of an alternative candidate page provided according to an embodiment of the present application, as shown in fig. 2, 3 keys may exist in the candidate page, where the positions and styles of each key may be different, the preset key may be determined from three keys by means of a recognition style, or colors of the three keys or information such as fonts therein may be different, which is not shown in the figure, so that key recognition may be performed by adopting different recognition manners.
Optionally, in the information processing method provided in the embodiment of the present application, the information to be queried includes a query condition, and the step of simulating clicking a preset key to obtain the information input field includes: clicking a preset key in a simulation manner, and judging whether an option page is generated or not; under the condition of generating an option page, simulating the query condition to be input into the option page to obtain an information input column; judging whether to generate an information input field under the condition that the option page is not generated; and under the condition that the information input field is not generated, displaying first alarm information in a display interface, wherein the first alarm information characterizes that the information to be queried cannot be searched.
Specifically, after clicking a preset button, whether to accurately generate a corresponding option page is required to be judged, wherein the option page can be a date selection page, and different date values can be calculated according to the current date mainly through a date function in an RPA system, for example: the current day, the previous day, the last month, the first month, etc. And filling the set date value into the corresponding Input box by setting the value of the Input, so that the data of the Input date on the same day is queried.
Further, under the condition of generating the option page, the query condition can be directly input into the option page, so as to obtain an information input field, and further, the information input field such as a user name, age and the like in the information to be queried can be input, so that the returned information is obtained.
It should be noted that, in the case that the option page is not generated, it may be that the preset key of the query does not have a corresponding option page, and the information input field may be directly generated without selecting, at this time, it is required to determine whether to generate the information input field, in the case of generating, the information to be queried may be input, in the case that the option page is not generated, the current existence of the option page is represented, but the option page is not loaded, at this time, the first alarm information needs to be displayed in the display interface, so as to inform the staff that there is an abnormality here.
Optionally, in the information processing method provided in the embodiment of the present application, after displaying the return information in the display interface, the method further includes: downloading the return information, and acquiring the name of the return information to obtain a target name; judging whether a target file with the same name as the target name exists in the database; under the condition that the target file with the same name as the target name exists in the database, replacing the target file by using the return information; under the condition that no target file with the same name as the target name exists in the database, generating an initial file, adding return information into the initial file to obtain the target file, and storing the target file into the database.
Specifically, after the data corresponding to the information to be queried is queried, the data needs to be downloaded, at this time, after the return information is downloaded, whether a target file with the same name as the target name exists in the database is judged, if so, the target file is deleted, the file in the current return information is used as the latest target file, and under the condition that the target file does not exist, the same-name file with the same name as the return information can be directly generated in the database, and the return information is stored in the same-name file, so that the target file is obtained.
An alternative download flow is provided below:
1. logging in the system.
2. Entering the download page, needing to search the web page again and obtain the index string of the menu element, clicking to enter the result download menu.
3. The names of the queries set in the submitted queries are input, the corresponding result files are queried and are arranged in reverse order according to the sequence of time submission, the latest data are arranged in the first row, and the user can click to download the latest data. The method mainly comprises the steps of searching a webpage, assigning values to Input boxes, clicking elements and the like to finish the operation, and popping up a popup frame needing to select a storage path after clicking a download button. Here we adopt the default saving path downloaded to the browser, before downloading, it will judge if there is a file with the same name in the catalog, if there is, delete the file, then download, and judge if the download pop-up box has a word of "successful download" in a cyclic way, finally successfully download the file into the default catalog.
Finish moving the file and decompress the compressed package. In the process, a folder special for storing the access information of the clients of the company needs to be built in the local disk, and the data queried by the systems in different dates are distinguished by creating a folder according to the date of each day. After the catalog is created, file movement is carried out, whether the file exists in a new catalog is judged, if the file does not exist, the file is moved, if the file exists, decompression operation is carried out, decompression is completed by using the decompression zip file, and finally an excel file of customer access information required by service is obtained.
Optionally, in the information processing method provided in the embodiment of the present application, performing the login operation by analog inputting attribute information into the login component includes: acquiring preset information from the login component, and judging whether the attribute information is the same as the preset information; judging whether the attribute information has login rights corresponding to the login component or not under the condition that the attribute information is correct; displaying a candidate page under the condition that the attribute information has the login authority corresponding to the login component; and sending out second alarm information under the condition that the attribute information is wrong or the attribute information does not have the login authority corresponding to the login component, wherein the second alarm information represents that the attribute information is abnormal.
Specifically, when the candidate page is logged in, attribute information needs to be input into the login page, at this time, whether the attribute information meets the requirement of preset information needs to be determined, for example, a A, B department is required in the preset information, and the business department in the attribute information can only be an a or B department, so that the accuracy of the attribute information is ensured. When the attribute information is wrong or the attribute information does not have the login authority corresponding to the login component, the attribute information is characterized to have abnormality, so that alarming information needs to be sent to inform staff to process.
Optionally, in the information processing method provided in the embodiment of the present application, the basic information further includes a query page address, and after the attribute information is input in a login component in a simulation manner to perform a login operation, the method further includes: determining address information of the candidate page to obtain a candidate page address; judging whether the candidate page address is the same as the query page address; under the condition that the candidate page address is different from the query page address, re-executing the steps of loading the login page address in the display interface, obtaining a login component in the login page address, and simulating and inputting attribute information into the login component to perform login operation until the candidate page address is the same as the query page address; and executing the step of identifying the position information of the preset key in the candidate page and simulating clicking the preset key under the condition that the candidate page address is the same as the query page address to obtain an information input field.
Specifically, after the login component in the login page logs in, the loaded candidate interface may have an abnormal or incorrect loading, so that whether the candidate page address is the same as the query page address needs to be judged, if not, the login page needs to be loaded again, and logging in again, so as to obtain a correct candidate page address, and if so, the preset key is identified again.
It should be noted that, after clicking the preset button in the candidate page, there may be multiple candidate pages at the next stage, so it needs to determine, in sequence, according to the business handling process, whether the candidate page obtained by each loading is the candidate page that should be obtained under the current process, thereby ensuring normal execution of the whole query process.
For example, after clicking a preset button in the candidate page a, a candidate page B is loaded, after clicking the preset button in the candidate page B, a candidate page C is loaded, after clicking the preset button in the candidate page C, an option page appears, at this time, whether the currently opened page is correct or not needs to be determined in sequence according to the sequence of the candidate page a-the candidate page C, so that the normal execution of the whole query flow is ensured.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
The embodiment of the application also provides an information processing device, and it should be noted that the information processing device of the embodiment of the application can be used for executing the information processing method provided by the embodiment of the application. The information processing apparatus provided in the embodiment of the present application is described below.
Fig. 3 is a schematic diagram of an information processing apparatus provided according to an embodiment of the present application. As shown in fig. 3, the apparatus includes: a first acquisition unit 31, a first input unit 32, a recognition unit 33, and a second input unit 34.
The first obtaining unit 31 is configured to obtain information to be queried through an application program, and obtain basic information associated with the information to be queried from a database, where the basic information includes a login page address and attribute information.
The first input unit 32 is configured to load the login page address in a display interface, obtain a login page, obtain a login component in the login page, and input the attribute information in a simulation manner into the login component to perform a login operation, so as to obtain a candidate page.
And the identifying unit 33 is configured to identify the position information of the preset key in the candidate page, and simulate clicking the preset key to obtain an information input field.
And the second input unit 34 is configured to input the information to be queried in the information input field in a simulation manner, obtain return information, and display the return information in the display interface.
According to the information processing device provided by the embodiment of the application program, the information to be queried is acquired through the first acquisition unit 31 through the application program, and basic information related to the information to be queried is acquired from the database, wherein the basic information comprises a login page address and attribute information; the first input unit 32 loads the login page address in a display interface to obtain a login page, acquires a login component in the login page, and inputs the attribute information in a simulation manner into the login component to perform login operation to obtain a candidate page; the identifying unit 33 identifies the position information of the preset key in the candidate page, and simulates clicking the preset key to obtain an information input field; the second input unit 34 inputs the information to be queried in the information input field in a simulation manner to obtain return information, and displays the return information in the display interface. The method solves the problem that the efficiency and the accuracy of the mode of manually inquiring the user information in the related art are low. Basic information used for inquiring data is obtained from a database through starting an application program, page loading is carried out according to the basic information, key positions in pages are automatically identified, subsequent processes are executed in a mode of automatically clicking keys, and after clicking the keys, inquiry information is input according to a popped information input column, so that user data inquiry is automatically carried out through an automatic application program, and the effect of improving accuracy and efficiency of data inquiry is achieved.
Alternatively, in the information processing apparatus provided in the embodiment of the present application, the first input unit 32 includes: the determining module is used for determining address information of the pages which are already loaded in the display interface to obtain a plurality of current page addresses; the first judging module is used for judging whether a login page address exists in the plurality of current page addresses; the initialization module is used for initializing the login page address under the condition that a plurality of current page addresses exist in the login page address; and the closing module is used for closing the plurality of current page addresses and loading the login page addresses under the condition that the login page addresses do not exist in the plurality of current page addresses.
Alternatively, in the information processing apparatus provided in the embodiment of the present application, the identifying unit 33 includes: the first acquisition module is used for acquiring program information of the candidate page, identifying a preset position code from the program information, and determining the position information of the preset key in the candidate page according to the preset position code, wherein the preset position code is used for setting the position information of the preset key; and/or a second acquisition module, configured to acquire image information of the candidate page, and identify position information of the preset key from the image information according to a preset pattern of the preset key.
Optionally, in the information processing apparatus provided in the embodiment of the present application, the information to be queried includes a query condition, and the identifying unit 33 includes: the second judging module is used for simulating clicking a preset key and judging whether an option page is generated or not; the input module is used for simulating the query condition to be input into the option page under the condition of generating the option page so as to obtain an information input column; the third judging module is used for judging whether an information input column is generated or not under the condition that the option page is not generated; the first display module is used for displaying first alarm information in a display interface under the condition that the information input field is not generated, wherein the first alarm information represents that the information to be queried cannot be searched.
Optionally, in the information processing apparatus provided in the embodiment of the present application, the apparatus further includes: the second acquisition unit is used for downloading the return information and acquiring the name of the return information to obtain the target name; the first judging unit is used for judging whether a target file with the same name as the target name exists in the database; a replacement unit for replacing the target file with the return information in the case that the target file with the same name as the target name exists in the database; and the generating unit is used for generating an initial file, adding return information into the initial file to obtain the target file and storing the target file into the database under the condition that the target file with the same name as the target name does not exist in the database.
Alternatively, in the information processing apparatus provided in the embodiment of the present application, the first input unit 32 includes: the fourth judging module is used for acquiring preset information from the login component and judging whether the attribute information is the same as the preset information; the fifth judging module is used for judging whether the attribute information has the login permission corresponding to the login component or not under the condition that the attribute information is correct; the second display module is used for displaying candidate pages under the condition that the attribute information has the login authority corresponding to the login component; and the alarm module is used for sending out second alarm information under the condition that the attribute information is wrong or the attribute information does not have the login authority corresponding to the login component, wherein the second alarm information represents that the attribute information is abnormal.
Optionally, in the information processing apparatus provided in the embodiment of the present application, the basic information further includes a query page address, and the apparatus further includes: the determining unit is used for determining address information of the candidate page to obtain a candidate page address; the second judging unit is used for judging whether the candidate page address is the same as the query page address; the first execution unit is used for re-executing the steps of loading the login page address in the display interface, obtaining the login component in the login page address, and simulating and inputting the attribute information into the login component to perform login operation until the candidate page address is the same as the query page address under the condition that the candidate page address is different from the query page address; and the second execution unit is used for executing the steps of identifying the position information of the preset key in the candidate page and simulating clicking the preset key to obtain the information input field under the condition that the candidate page address is the same as the query page address.
The information processing apparatus includes a processor and a memory, and the first acquisition unit 31, the first input unit 32, the identification unit 33, the second input unit 34, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize the corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one kernel, and the problem of low efficiency and accuracy of the mode of manually inquiring the user information in the related technology is solved by adjusting the kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
An embodiment of the present invention provides a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the information processing method.
The embodiment of the invention provides a processor for running a program, wherein the information processing method is executed when the program runs.
As shown in fig. 4, an embodiment of the present invention provides an electronic device, where the electronic device 40 includes a processor, a memory, and a program stored on the memory and executable on the processor, and when the processor executes the program, the following steps are implemented: acquiring information to be queried through an application program, and acquiring basic information associated with the information to be queried from a database, wherein the basic information comprises a login page address and attribute information; loading a login page address in a display interface to obtain a login page, acquiring a login component in the login page, and inputting attribute information into the login component in a simulation manner to perform login operation to obtain a candidate page; identifying the position information of a preset key in the candidate page, and simulating clicking the preset key to obtain an information input column; and simulating the information to be queried into an information input field to obtain return information, and displaying the return information in a display interface. The device herein may be a server, PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of: acquiring information to be queried through an application program, and acquiring basic information associated with the information to be queried from a database, wherein the basic information comprises a login page address and attribute information; loading a login page address in a display interface to obtain a login page, acquiring a login component in the login page, and inputting attribute information into the login component in a simulation manner to perform login operation to obtain a candidate page; identifying the position information of a preset key in the candidate page, and simulating clicking the preset key to obtain an information input column; and simulating the information to be queried into an information input field to obtain return information, and displaying the return information in a display interface.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (10)

1. An information processing method, the method being executed by an application program for simulating a user operation, comprising:
acquiring information to be queried through the application program, and acquiring basic information associated with the information to be queried from a database, wherein the basic information comprises a login page address and attribute information;
loading the login page address in a display interface to obtain a login page, acquiring a login component in the login page, and performing login operation by simulating and inputting the attribute information into the login component to obtain a candidate page;
identifying the position information of a preset key in the candidate page, and simulating clicking the preset key to obtain an information input field;
and simulating and inputting the information to be queried into the information input field to obtain return information, and displaying the return information in the display interface.
2. The method of claim 1, wherein loading the landing page address in a display interface comprises:
determining address information of a page which is already loaded in the display interface to obtain a plurality of current page addresses;
judging whether the login page address exists in the current page addresses or not;
initializing the login page address under the condition that the login page addresses exist in the current page addresses;
and closing the current page addresses and loading the login page address under the condition that the login page address does not exist in the current page addresses.
3. The method of claim 1, wherein identifying location information for a preset key in the candidate page comprises:
program information of a candidate page is obtained, a preset position code is identified from the program information, and the position information of the preset key in the candidate page is determined according to the preset position code, wherein the preset position code is used for setting the position information of the preset key; and/or
And acquiring the image information of the candidate page, and identifying the position information of the preset key from the image information according to the preset pattern of the preset key.
4. The method of claim 1, wherein the information to be queried includes a query condition, and simulating clicking the preset key to obtain an information input field includes:
clicking the preset key in a simulation mode, and judging whether an option page is generated or not;
under the condition of generating the option page, the query condition is simulated and input into the option page to obtain the information input field;
judging whether to generate an information input field under the condition that the option page is not generated;
and under the condition that the information input field is not generated, displaying first alarm information in the display interface, wherein the first alarm information represents that the information to be queried cannot be searched.
5. The method of claim 1, wherein after displaying the return information in the display interface, the method further comprises:
downloading the return information, and acquiring the name of the return information to obtain a target name;
judging whether a target file with the same name as the target name exists in the database;
replacing the target file with the return information when the target file with the same name as the target name exists in the database;
And under the condition that no target file with the same name as the target name exists in the database, generating an initial file, adding the return information into the initial file to obtain the target file, and storing the target file into the database.
6. The method of claim 1, wherein the step of entering the attribute information simulation into the login component for a login operation comprises:
acquiring preset information from the login component, and judging whether the attribute information is the same as the preset information;
judging whether the attribute information has login permission corresponding to the login component or not under the condition that the attribute information is correct;
displaying the candidate page under the condition that the attribute information has the login authority corresponding to the login component;
and sending second alarm information under the condition that the attribute information is wrong or the attribute information does not have the login authority corresponding to the login component, wherein the second alarm information characterizes the attribute information to be abnormal.
7. The method of claim 1, wherein the base information further comprises a query page address,
After the attribute information is input into the login component in a simulation mode to perform login operation to obtain a candidate page, the method further comprises the following steps:
determining address information of the candidate page to obtain a candidate page address;
judging whether the candidate page address is the same as the query page address;
under the condition that the candidate page address is different from the query page address, re-executing the step of loading the login page address in a display interface to obtain a login component in the login page address, and simulating and inputting the attribute information into the login component to perform login operation until the candidate page address is the same as the query page address;
and executing the step of identifying the position information of the preset key in the candidate page and simulating clicking the preset key under the condition that the candidate page address is the same as the query page address to obtain an information input field.
8. An information processing apparatus, characterized by comprising:
the first acquisition unit is used for acquiring information to be queried through an application program and acquiring basic information related to the information to be queried from a database, wherein the basic information comprises a login page address and attribute information;
The first input unit is used for loading the login page address in a display interface to obtain a login page, acquiring a login component in the login page, and performing login operation by simulating and inputting the attribute information into the login component to obtain a candidate page;
the identification unit is used for identifying the position information of the preset key in the candidate page and simulating clicking the preset key to obtain an information input field;
and the second input unit is used for inputting the information to be queried into the information input field in a simulation way to obtain return information, and displaying the return information in the display interface.
9. A computer storage medium for storing a program, wherein the program when run controls a device in which the computer storage medium is located to execute the information processing method according to any one of claims 1 to 7.
10. An electronic device comprising one or more processors and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the information processing method of any of claims 1-7.
CN202310188825.XA 2023-02-21 2023-02-21 Information processing method, information processing device, storage medium and electronic equipment Pending CN116166912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310188825.XA CN116166912A (en) 2023-02-21 2023-02-21 Information processing method, information processing device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310188825.XA CN116166912A (en) 2023-02-21 2023-02-21 Information processing method, information processing device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116166912A true CN116166912A (en) 2023-05-26

Family

ID=86419851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310188825.XA Pending CN116166912A (en) 2023-02-21 2023-02-21 Information processing method, information processing device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116166912A (en)

Similar Documents

Publication Publication Date Title
US11327935B2 (en) Intelligent data quality
US8340995B2 (en) Method and system of using artifacts to identify elements of a component business model
US20130166515A1 (en) Generating validation rules for a data report based on profiling the data report in a data processing tool
CN110442417A (en) Feature Extraction Method, machine learning method and its device
US9953331B2 (en) Extensibility for sales predictor (SPE)
US10152405B2 (en) Application testing system and method
Nachawati et al. Unity decision guidance management system: Analytics engine and reusable model repository
CN111061733A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN111984882A (en) Data processing method, system and equipment
US8494886B2 (en) Embedding planning components in transactional applications
US11841837B2 (en) Computer-based systems and methods for risk detection, visualization, and resolution using modular chainable algorithms
US8396847B2 (en) System and method to retrieve and analyze data for decision making
CN110457010B (en) Method and device for batch changing task list based on collaboration platform
Uvidia Fassler et al. Moving towards a methodology employing knowledge discovery in databases to assist in decision making regarding academic placement and student admissions for universities
CN116719735A (en) Test case generation method and device
CN116166912A (en) Information processing method, information processing device, storage medium and electronic equipment
CN111699472A (en) Method and computer program product for determining measures for developing, designing and/or deploying complex embedded or cyber-physical systems of different technical areas, in particular complex software architectures used therein
US20140149186A1 (en) Method and system of using artifacts to identify elements of a component business model
Buchgeher et al. A platform for the automated provisioning of architecture information for large-scale service-oriented software systems
Stubarev et al. Development of the analytical platform for CRM-system
CN112381509A (en) Management system for major special topic of national science and technology for creating major new drug
KR101843092B1 (en) Method for verifying multiple insurance computer system
CN112418260A (en) Model training method, information prompting method, device, equipment and medium
CN113641644B (en) Data pushing system
US20230011102A1 (en) Systems and methods for collaborative filtering-based audit test scoping

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