CN110888709A - Intelligent operation method and device of monitoring screen, computer equipment and storage medium - Google Patents

Intelligent operation method and device of monitoring screen, computer equipment and storage medium Download PDF

Info

Publication number
CN110888709A
CN110888709A CN201911226298.7A CN201911226298A CN110888709A CN 110888709 A CN110888709 A CN 110888709A CN 201911226298 A CN201911226298 A CN 201911226298A CN 110888709 A CN110888709 A CN 110888709A
Authority
CN
China
Prior art keywords
webpage
data
target
acquiring
preset operation
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
CN201911226298.7A
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.)
Zhongshan Kaineng Group Co Ltd
Original Assignee
Zhongshan Kaineng Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongshan Kaineng Group Co Ltd filed Critical Zhongshan Kaineng Group Co Ltd
Priority to CN201911226298.7A priority Critical patent/CN110888709A/en
Publication of CN110888709A publication Critical patent/CN110888709A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to an intelligent operation method and device of a monitoring screen, computer equipment and a storage medium. The method comprises the following steps: acquiring a preset operation script; running a preset operation script by driving a specific application; running a preset operation script to access a specified webpage on a monitoring screen, and acquiring webpage data of the specified webpage; running a preset operation script to analyze the webpage data and positioning the webpage data to a target element; acquiring a login account and a login password of a specified webpage; automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation; acquiring and storing webpage data of a target webpage; by the aid of the operation mode, inconvenience of operation on a large monitoring screen is avoided, related operation processes such as data acquisition are simplified due to automatic operation, the process is more convenient, work efficiency is greatly improved, and labor cost of data acquisition is saved.

Description

Intelligent operation method and device of monitoring screen, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an intelligent operation method and apparatus for a monitor screen, a computer device, and a storage medium.
Background
The production monitoring command center is used as a production monitoring and emergency command center specially created for large-scale national power systems and mainly comprises a monitoring large screen and an operation console. The 'monitoring large screen' displays the production and operation states of the power grid in a multi-webpage assembly mode, and can log in a personal account to obtain data information or input batch data information to obtain some information of a plurality of webpages through the 'operation desk'. In order to ensure the safety of information transmission in a power grid and ensure that information cannot be acquired by other personnel, authentication is required when the information is acquired, but the operation of filling relevant identity information for authentication each time becomes very complicated, and especially when the information needs to be acquired repeatedly for many times, the work efficiency is seriously influenced by performing authentication login one by one.
In the prior art, a manual entry mode or a mode of saving user name and password information by using cookies through a browser is adopted for logging in, however, a large amount of labor cost is required for manually entering batch data and acquiring webpage information, and the processing efficiency is low. In the actual environment of monitoring a large screen, the ratio of the moving distance of the cursor to the moving distance of the mouse in the screen is too large, the accuracy of controlling the cursor is reduced, the click on a small form input box is difficult, and great interference can be caused in the daily operation and demonstration process. And only user names and passwords can be stored by using browser cookies, and automatic skip cannot be realized after completion of filling. The operation cannot be customized, and the requirements cannot be met when personalized operations such as filling of specified content, inputting of batch data and the like are required. The operation before the browser cookies also needs manual triggering, and cannot be actively operated, so that certain defects exist in the aspect of realizing automatic operation. In addition, browser cookies can only store information to be input, and cannot help to acquire webpage information.
Disclosure of Invention
In view of the foregoing, there is a need to provide an intelligent operation method, apparatus, computer device and storage medium for a monitor screen capable of fast and automatically filling in forms.
A method of intelligent operation of a monitor screen, the method comprising:
acquiring a preset operation script;
running the preset operation script by driving a specific application;
running the preset operation script to access a specified webpage on a monitoring screen, and acquiring webpage data of the specified webpage;
running the preset operation script to analyze the webpage data and positioning the webpage data to a target element;
acquiring a login account and a login password of the specified webpage;
automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation;
and acquiring and storing the webpage data of the target webpage.
An intelligent operation device of a monitor screen, the device comprising:
the script driving module is used for acquiring a preset operation script; running the preset operation script by driving a specific application;
the target element positioning module is used for operating the preset operation script to access a specified webpage on the monitoring screen and acquiring webpage data of the specified webpage; running the preset operation script to analyze the webpage data and positioning the webpage data to a target element;
the target webpage acquisition module is used for acquiring a login account and a login password of the specified webpage; automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation; and acquiring and storing the webpage data of the target webpage.
A computer device comprising a memory, the memory storing a computer program, a processor implementing the following steps when the processor executes the computer program:
acquiring a preset operation script;
running the preset operation script by driving a specific application;
running the preset operation script to access a specified webpage on a monitoring screen, and acquiring webpage data of the specified webpage;
running the preset operation script to analyze the webpage data and positioning the webpage data to a target element;
acquiring a login account and a login password of the specified webpage;
automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation;
and acquiring and storing the webpage data of the target webpage.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a preset operation script;
running the preset operation script by driving a specific application;
running the preset operation script to access a specified webpage on a monitoring screen, and acquiring webpage data of the specified webpage;
running the preset operation script to analyze the webpage data and positioning the webpage data to a target element;
acquiring a login account and a login password of the specified webpage;
automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation;
and acquiring and storing the webpage data of the target webpage.
The intelligent operation method, the device, the computer equipment and the storage medium of the monitoring screen can be used for editing and storing the preset operation script to the local terminal according to the business requirements in advance, operating the preset operation script by driving the specific application to access the specified webpage on the monitoring screen by operating the preset operation script, acquiring the webpage data of the specified webpage, acquiring the login account and the login password of the specified webpage, automatically filling the login account and the login password into the target element by operating the preset operation script, triggering the login operation, then jumping to the target webpage, acquiring and storing the webpage data of the target webpage, avoiding the input interference of the browser cache on the login account and the login password, ensuring the reliability of the related operation, simultaneously, using python to carry out the customized operation, automatically filling the user name and the password, and jumping to log in, can directly carry out subsequent operation, when typing in batch data, also can directly use python to trigger, can be automatic one by one read data and type system, so can acquire relevant information fast, the rule of arrangement data is set up, can directly acquire final result, this kind of operating method, the inconvenience of operation on the big screen of control has been avoided, and automatic operation also makes relevant operation processes such as data acquisition obtain and simplifies, the flow is more convenient, work efficiency has been promoted by a wide margin, the cost of labor of data acquisition has been saved.
Drawings
FIG. 1 is a diagram of an application environment for a method for intelligent operation of a monitor screen in one embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a method for intelligent operation of a monitor screen in one embodiment;
FIG. 3 is a block diagram of an intelligent operation device of a monitor screen in one embodiment;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The intelligent operation method of the monitoring screen can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, an intelligent operation method of a monitor screen is provided, which is described by taking the method as an example applied to the terminal in fig. 1, and includes the following steps:
step 201, acquiring a preset operation script.
Step 202, running a preset operation script by driving a specific application.
The preset operation script is an operation script which is edited by a technician in advance, and the script contains function codes. The preset operation script can be edited in advance according to requirements and stored in a local database of the terminal. The preset operation script can be a Python script which is a pure text-saving program written by using a Python language, and the Python language is an object-oriented dynamic type language, has good conciseness, readability and expandability, and is applied to various fields of computers. The method can obtain a preset Python script and drive a specific application to run the preset Python script, the specific application can be an automation tool, the Selenium is a tool for Web application program testing and directly runs in a browser, and the browser can be driven to automatically realize operations such as clicking, inputting, opening, verifying and the like according to a preset Python script code, just like the operation of a real user.
Step 203, running a preset operation script to access the specified webpage on the monitoring screen, and acquiring webpage data of the specified webpage.
In the actual environment of monitoring the large screen, the ratio of the moving distance of the cursor to the moving distance of the mouse in the screen is too large, the accuracy of controlling the cursor is reduced, and clicking a small form input box is difficult, so that a preset operation script can be operated to access a specified webpage on the large monitoring screen, and webpage data of the specified webpage can be acquired. When the preset operation script is acquired, the data processing rule data in the local database can be acquired at the same time, the data processing rule data contain the website of the specified webpage, the preset operation script can be operated to acquire the website of the specified webpage, and then the website of the specified webpage is directly accessed on the large monitoring screen so as to display the specified webpage on the large monitoring screen.
And 204, running a preset operation script to analyze the webpage data and positioning the webpage data to a target element.
The website of the specified webpage can be accessed on the large monitoring screen directly by running the preset operation script, so that the specified webpage is displayed on the monitoring screen, and the webpage data can be analyzed and positioned to the target element by running the preset operation script.
In one embodiment, running a preset operation script to analyze and locate the webpage data to the target element includes: running a preset operation script to obtain webpage data; converting the webpage data into a tree structure, and acquiring each tree node contained in the tree structure; determining a hierarchy corresponding to the target element according to the tree node; and narrowing the positioning range according to the hierarchy, and positioning the target element according to the element attribute and the label.
After the designated webpage can be accessed on the large monitoring screen by running the preset operation script, the webpage data of the designated webpage, namely the webpage document of the designated webpage, can be obtained by running the preset operation script, and then the webpage document can be converted into a tree structure, so that one webpage element in the webpage document corresponds to one tree node, and each tree node contained in the tree structure can be obtained, and the hierarchical relationship among the tree nodes can be determined. Then, the node hierarchy corresponding to the target element can be obtained, so that the range of the target element can be narrowed. Further, the target element can be positioned within the reduced range according to the element attribute and the label of the target element.
Step 205, obtaining a login account and a login password of the specified webpage.
And step 206, automatically filling the login account and the login password into the target element, triggering the login operation and then jumping to the target webpage.
After the target element is determined, it may be considered that the webpage button to be automatically operated has been determined. Then the login account and the login password of the specified webpage can be further acquired, and the login account and the login password are automatically filled in the target element.
In one embodiment, obtaining a login account number and a login password for a specified web page includes: determining a designated system corresponding to the designated webpage according to the website of the designated webpage; and acquiring a login account and a login password corresponding to the specified system.
Data processing rule data are also stored in a local database of the terminal, and the data processing rule data comprise the website of the specified webpage, and the login account and the login password corresponding to each specified webpage, so that the website of the specified webpage can be acquired from the database of the terminal, the specified system corresponding to the specified webpage is determined according to the website of the specified webpage, and the login account and the login password corresponding to the specified system are acquired according to the specified system. That is, each designated web page corresponds to one designated system, and each designated system corresponds to one login account and one login password, so that the corresponding login account and login password can be determined according to the web page of the designated web page. Certainly, the configuration can be changed according to requirements, that is, a designated system can be configured with a plurality of login accounts and login passwords, and when a preset operation script is run to perform automatic login, a plurality of corresponding groups of accounts and passwords which are logged in the designated system can be continuously switched to perform switching login so as to obtain webpage data corresponding to a target webpage which is jumped after logging in different accounts.
In one embodiment, the preset operation script comprises timing task data; automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation, wherein the steps comprise: and according to the timed task data, automatically filling the login account and the login password into the target element within a preset time, triggering login operation and then jumping to a target webpage.
The preset operation script also comprises timing task data. When the login account and the login password are automatically filled into the target element and the target webpage is jumped to after the login operation is triggered, the login account and the login password are automatically filled into the target element within a preset time according to the timing task data contained in the preset operation script. The time and the period for triggering the login operation are automatically started according to the timing data configured in the timing task data, the triggering operation does not need manual participation, a technician only needs to configure the timing data according to needs in advance, a preset operation script can automatically fill a login account and a login password into a target element within a preset time, and the target element is skipped to a target webpage after the login operation is triggered, so that the target data corresponding to the target webpage is obtained.
In one embodiment, after the preset operation script is run to automatically fill the login account and the login password into the target element, a step of verification through the verification code is required, and the preset operation script also comprises a code with a picture recognition function, so that the code with the picture recognition function in the preset operation script can be run to automatically recognize the picture verification code in the appointed webpage, the whole login operation is completed, the process does not need manual participation, and the verification process is accurate and efficient.
Step 207, acquiring and storing the webpage data of the target webpage.
After the login account and the login password of the specified webpage are acquired, the required target webpage can be accessed, and therefore webpage data of the target webpage can be acquired and stored.
In one embodiment, acquiring and storing web page data of a target web page includes: acquiring webpage data of a target webpage; and after the webpage data are processed, storing the webpage data of the target webpage according to a preset format.
After the webpage data of the target webpage are acquired, the webpage data can be processed first, and then the webpage data of the target webpage are stored according to a preset format. The preset format can be in the form of a text file or a database, so that the webpage data of the target webpage can be stored locally in the form of the text file or the database in the terminal, and if necessary, the webpage data stored locally can be uploaded to the server for backup storage.
In one embodiment, storing the web page data of the target web page according to a preset format includes: determining the data type of the webpage data; determining a storage format according to the data type; and storing the webpage data according to the storage format corresponding to each data type.
When the webpage data of the target webpage are stored according to the preset format, the webpage data can be further stored according to the data type of the webpage data. Specifically, after the web page data of the target web page is acquired, the data type of the web page data may be determined first, and the storage format of the web page data may be determined according to the data type. For example, the web page data of the target web page may include web page data of multiple data types, the image data may be separately stored in one folder, and part of the designated information may be stored in a fixed format, such as a list name, related people, time, and the like, and may be stored in a fixed text format or an Excel format, which is convenient for subsequent searching and use.
In one embodiment, the obtaining of the preset operation script comprises: acquiring a preset operation script and data processing rule data, wherein the data processing rule data comprises an execution period of the preset operation script and a storage address of a target webpage; the execution period of the preset operation script is used for controlling the execution duration and the execution period of the preset operation script; acquiring and storing webpage data of a target webpage, wherein the method comprises the following steps: and acquiring webpage data of the target webpage, and storing the webpage data to a storage address of the target webpage.
The data processing rule data includes an execution period of a preset operation script and a storage address of a target webpage, the execution period of the preset operation script is used for controlling an execution duration and the execution period of the preset operation script, that is, controlling a time required for executing the preset operation script and an execution time period, and the storage address of the target webpage can be correspondingly stored according to the storage address of the target webpage included in the data processing rule data after the webpage data of the target webpage are acquired.
In the intelligent operation method of the monitoring screen, the preset operation script is edited and stored to the local terminal according to the business requirement in advance, the preset operation script is operated by driving the specific application to operate the preset operation script, the specified webpage is accessed on the monitoring screen by operating the preset operation script, the webpage data of the specified webpage is obtained, the login account and the login password of the specified webpage are obtained, the login account and the login password are automatically filled into the target element by operating the preset operation script, the login operation is triggered and then the target webpage is jumped to, the webpage data of the target webpage is obtained and stored, the input interference of the login account and the login password by a browser cache is avoided, the reliability of the related operation is ensured, meanwhile, the python is used for customizing operation, the user name and the password are automatically filled in, the user name and the password are jumped in, the user can be directly operated subsequently, when data in batches are typed, python can be directly used for triggering, data can be automatically read one by one and the system is typed, so that the related information can be quickly acquired, the rule for arranging the data is set, the final result can be directly acquired, the inconvenience of operation on a large monitoring screen is avoided by the operation mode, the automatic operation also simplifies the related operation processes of acquiring the data and the like, the flow is more convenient, the working efficiency is greatly improved, and the labor cost for acquiring the data is saved.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 3, there is provided an intelligent operation device of a monitor screen, including: script drive module, target element orientation module and target webpage obtain the module, wherein:
the script driving module 301 is configured to obtain a preset operation script; and running a preset operation script by driving a specific application.
The target element positioning module 302 is configured to run a preset operation script to access a specified webpage on the monitoring screen, and acquire webpage data of the specified webpage; and running a preset operation script to analyze the webpage data and positioning the webpage data to a target element.
A target web page obtaining module 303, configured to obtain a login account and a login password of a specified web page; automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation; and acquiring and storing the webpage data of the target webpage.
In one embodiment, the script driving module 301 is further configured to obtain a preset operation script and data processing rule data, where the data processing rule data includes an execution period of the preset operation script and a storage address of a target web page; the execution period of the preset operation script is used for controlling the execution duration and the execution period of the preset operation script. The target webpage obtaining module 303 is further configured to obtain webpage data of the target webpage and store the webpage data to a storage address of the target webpage.
In one embodiment, the target web page obtaining module 303 is further configured to obtain web page data of the target web page; and after the webpage data are processed, storing the webpage data of the target webpage according to a preset format.
In one embodiment, the target web page obtaining module 303 is further configured to determine a data type of the web page data; determining a storage format according to the data type; and storing the webpage data according to the storage format corresponding to each data type.
In one embodiment, the preset operation script comprises timed task data. The target web page obtaining module 303 is further configured to automatically fill the login account and the login password into the target element within a predetermined time according to the timing task data, and jump to the target web page after triggering the login operation.
In one embodiment, the target element positioning module 302 is further configured to run a preset operation script to obtain the web page data; converting the webpage data into a tree structure, and acquiring each tree node contained in the tree structure; determining a hierarchy corresponding to the target element according to the tree node; and narrowing the positioning range according to the hierarchy, and positioning the target element according to the element attribute and the label.
In one embodiment, the target webpage obtaining module 303 is further configured to determine a designated system corresponding to the designated webpage according to the website of the designated webpage; and acquiring a login account and a login password corresponding to the specified system.
For the specific definition of the intelligent operation device of the monitoring screen, reference may be made to the above definition of the intelligent operation method of the monitoring screen, and details are not described herein again. All or part of each module in the intelligent operating device of the monitoring screen can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing data such as preset operation scripts. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of intelligent operation of a monitor screen.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: acquiring a preset operation script; running a preset operation script by driving a specific application; running a preset operation script to access a specified webpage on a monitoring screen, and acquiring webpage data of the specified webpage; running a preset operation script to analyze the webpage data and positioning the webpage data to a target element; acquiring a login account and a login password of a specified webpage; automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation; and acquiring and storing the webpage data of the target webpage.
In one embodiment, the obtaining of the preset operation script comprises: acquiring a preset operation script and data processing rule data, wherein the data processing rule data comprises an execution period of the preset operation script and a storage address of a target webpage; the execution period of the preset operation script is used for controlling the execution duration and the execution period of the preset operation script; acquiring and storing webpage data of a target webpage, wherein the method comprises the following steps: and acquiring webpage data of the target webpage, and storing the webpage data to a storage address of the target webpage.
In one embodiment, acquiring and storing web page data of a target web page includes: acquiring webpage data of a target webpage; and after the webpage data are processed, storing the webpage data of the target webpage according to a preset format.
In one embodiment, storing the web page data of the target web page according to a preset format includes: determining the data type of the webpage data; determining a storage format according to the data type; and storing the webpage data according to the storage format corresponding to each data type.
In one embodiment, the preset operation script comprises timing task data; automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation, wherein the steps comprise: and according to the timed task data, automatically filling the login account and the login password into the target element within a preset time, triggering login operation and then jumping to a target webpage.
In one embodiment, running a preset operation script to analyze and locate the webpage data to the target element includes: running a preset operation script to obtain webpage data; converting the webpage data into a tree structure, and acquiring each tree node contained in the tree structure; determining a hierarchy corresponding to the target element according to the tree node; and narrowing the positioning range according to the hierarchy, and positioning the target element according to the element attribute and the label.
In one embodiment, obtaining a login account number and a login password for a specified web page includes: determining a designated system corresponding to the designated webpage according to the website of the designated webpage; and acquiring a login account and a login password corresponding to the specified system.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a preset operation script; running a preset operation script by driving a specific application; running a preset operation script to access a specified webpage on a monitoring screen, and acquiring webpage data of the specified webpage; running a preset operation script to analyze the webpage data and positioning the webpage data to a target element; acquiring a login account and a login password of a specified webpage; automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation; and acquiring and storing the webpage data of the target webpage.
In one embodiment, the obtaining of the preset operation script comprises: acquiring a preset operation script and data processing rule data, wherein the data processing rule data comprises an execution period of the preset operation script and a storage address of a target webpage; the execution period of the preset operation script is used for controlling the execution duration and the execution period of the preset operation script; acquiring and storing webpage data of a target webpage, wherein the method comprises the following steps: and acquiring webpage data of the target webpage, and storing the webpage data to a storage address of the target webpage.
In one embodiment, acquiring and storing web page data of a target web page includes: acquiring webpage data of a target webpage; and after the webpage data are processed, storing the webpage data of the target webpage according to a preset format.
In one embodiment, storing the web page data of the target web page according to a preset format includes: determining the data type of the webpage data; determining a storage format according to the data type; and storing the webpage data according to the storage format corresponding to each data type.
In one embodiment, the preset operation script comprises timing task data; automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation, wherein the steps comprise: and according to the timed task data, automatically filling the login account and the login password into the target element within a preset time, triggering login operation and then jumping to a target webpage.
In one embodiment, running a preset operation script to analyze and locate the webpage data to the target element includes: running a preset operation script to obtain webpage data; converting the webpage data into a tree structure, and acquiring each tree node contained in the tree structure; determining a hierarchy corresponding to the target element according to the tree node; and narrowing the positioning range according to the hierarchy, and positioning the target element according to the element attribute and the label.
In one embodiment, obtaining a login account number and a login password for a specified web page includes: determining a designated system corresponding to the designated webpage according to the website of the designated webpage; and acquiring a login account and a login password corresponding to the specified system.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of intelligent operation of a monitor screen, the method comprising:
acquiring a preset operation script;
running the preset operation script by driving a specific application;
running the preset operation script to access a specified webpage on a monitoring screen, and acquiring webpage data of the specified webpage;
running the preset operation script to analyze the webpage data and positioning the webpage data to a target element;
acquiring a login account and a login password of the specified webpage;
automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation;
and acquiring and storing the webpage data of the target webpage.
2. The method of claim 1, wherein obtaining the preset operation script comprises:
acquiring a preset operation script and data processing rule data, wherein the data processing rule data comprises an execution period of the preset operation script and a storage address of the target webpage;
the execution period of the preset operation script is used for controlling the execution duration and the execution period of the preset operation script;
acquiring and storing the webpage data of the target webpage, wherein the method comprises the following steps: and acquiring the webpage data of the target webpage, and storing the webpage data to the storage address of the target webpage.
3. The method of claim 1, wherein the obtaining and storing the web page data of the target web page comprises:
acquiring webpage data of the target webpage;
and after the webpage data are processed, storing the webpage data of the target webpage according to a preset format.
4. The method according to claim 3, wherein the storing the web page data of the target web page according to a preset format comprises:
determining the data type of the webpage data;
determining a storage format according to the data type;
and storing the webpage data according to the storage format corresponding to each data type.
5. The method according to claim 1, wherein the preset operation script comprises timed task data;
automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation, wherein the steps comprise:
and according to the timed task data, automatically filling the login account and the login password into the target element within a preset time, and jumping to a target webpage after triggering login operation.
6. The method of claim 1, wherein the running the preset operation script to analyze and locate the webpage data to a target element comprises:
running the preset operation script to obtain the webpage data;
converting the webpage data into a tree structure, and acquiring each tree node contained in the tree structure;
determining a hierarchy corresponding to a target element according to the tree node;
and narrowing the positioning range according to the hierarchy, and positioning the target element according to the element attribute and the label.
7. The method of claim 1, wherein obtaining the login account and the login password of the specified webpage comprises:
determining a designated system corresponding to the designated webpage according to the website of the designated webpage;
and acquiring a login account and a login password corresponding to the specified system.
8. An intelligent operation device of a monitor screen, the device comprising:
the script driving module is used for acquiring a preset operation script; running the preset operation script by driving a specific application;
the target element positioning module is used for operating the preset operation script to access a specified webpage on the monitoring screen and acquiring webpage data of the specified webpage; running the preset operation script to analyze the webpage data and positioning the webpage data to a target element;
the target webpage acquisition module is used for acquiring a login account and a login password of the specified webpage; automatically filling the login account and the login password into the target element, and jumping to a target webpage after triggering login operation; and acquiring and storing the webpage data of the target webpage.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201911226298.7A 2019-12-04 2019-12-04 Intelligent operation method and device of monitoring screen, computer equipment and storage medium Pending CN110888709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911226298.7A CN110888709A (en) 2019-12-04 2019-12-04 Intelligent operation method and device of monitoring screen, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911226298.7A CN110888709A (en) 2019-12-04 2019-12-04 Intelligent operation method and device of monitoring screen, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110888709A true CN110888709A (en) 2020-03-17

Family

ID=69750395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911226298.7A Pending CN110888709A (en) 2019-12-04 2019-12-04 Intelligent operation method and device of monitoring screen, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110888709A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897518A (en) * 2020-07-23 2020-11-06 广东电网有限责任公司韶关供电局 Method, device, equipment and storage medium for automatically executing business
CN112910848A (en) * 2021-01-15 2021-06-04 深信服科技股份有限公司 Webpage interface access method and device, electronic equipment and storage medium
CN113010159A (en) * 2021-03-23 2021-06-22 中国建设银行股份有限公司 Script-based task processing method and device
CN114170044A (en) * 2022-02-11 2022-03-11 北京金堤科技有限公司 Automatic declaring method, device, storage medium and electronic equipment
CN115062206A (en) * 2022-05-30 2022-09-16 上海弘玑信息技术有限公司 Webpage element searching method and electronic equipment
CN115438634A (en) * 2022-08-24 2022-12-06 内蒙古龙源蒙东新能源有限公司 Information filling method and device, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150324274A1 (en) * 2014-05-09 2015-11-12 Wipro Limited System and method for creating universal test script for testing variants of software application
US20160147645A1 (en) * 2014-11-20 2016-05-26 Accenture Global Services Limited Automated testing of web-based applications
CN107454118A (en) * 2017-10-11 2017-12-08 北京安博通科技股份有限公司 Identifying code acquisition methods and device, login method and system
CN108304498A (en) * 2018-01-12 2018-07-20 深圳壹账通智能科技有限公司 Webpage data acquiring method, device, computer equipment and storage medium
CN109144542A (en) * 2018-08-07 2019-01-04 太仓市同维电子有限公司 Wireless terminal product software automatic updating system and method
CN109977389A (en) * 2019-04-10 2019-07-05 鼎信信息科技有限责任公司 List input method, device, computer equipment and storage medium
WO2019196274A1 (en) * 2018-04-10 2019-10-17 平安科技(深圳)有限公司 Web page testing method and apparatus, electronic device, and medium
CN110365776A (en) * 2019-07-17 2019-10-22 京东方科技集团股份有限公司 Picture batch method for down loading, device, electronic equipment and storage medium
CN110493219A (en) * 2019-08-16 2019-11-22 南京云帐房网络科技有限公司 The method, system and data-interface of tax system are logged in beyond the clouds

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150324274A1 (en) * 2014-05-09 2015-11-12 Wipro Limited System and method for creating universal test script for testing variants of software application
US20160147645A1 (en) * 2014-11-20 2016-05-26 Accenture Global Services Limited Automated testing of web-based applications
CN107454118A (en) * 2017-10-11 2017-12-08 北京安博通科技股份有限公司 Identifying code acquisition methods and device, login method and system
CN108304498A (en) * 2018-01-12 2018-07-20 深圳壹账通智能科技有限公司 Webpage data acquiring method, device, computer equipment and storage medium
WO2019196274A1 (en) * 2018-04-10 2019-10-17 平安科技(深圳)有限公司 Web page testing method and apparatus, electronic device, and medium
CN109144542A (en) * 2018-08-07 2019-01-04 太仓市同维电子有限公司 Wireless terminal product software automatic updating system and method
CN109977389A (en) * 2019-04-10 2019-07-05 鼎信信息科技有限责任公司 List input method, device, computer equipment and storage medium
CN110365776A (en) * 2019-07-17 2019-10-22 京东方科技集团股份有限公司 Picture batch method for down loading, device, electronic equipment and storage medium
CN110493219A (en) * 2019-08-16 2019-11-22 南京云帐房网络科技有限公司 The method, system and data-interface of tax system are logged in beyond the clouds

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897518A (en) * 2020-07-23 2020-11-06 广东电网有限责任公司韶关供电局 Method, device, equipment and storage medium for automatically executing business
CN112910848A (en) * 2021-01-15 2021-06-04 深信服科技股份有限公司 Webpage interface access method and device, electronic equipment and storage medium
CN113010159A (en) * 2021-03-23 2021-06-22 中国建设银行股份有限公司 Script-based task processing method and device
CN114170044A (en) * 2022-02-11 2022-03-11 北京金堤科技有限公司 Automatic declaring method, device, storage medium and electronic equipment
CN115062206A (en) * 2022-05-30 2022-09-16 上海弘玑信息技术有限公司 Webpage element searching method and electronic equipment
CN115062206B (en) * 2022-05-30 2023-04-07 上海弘玑信息技术有限公司 Webpage element searching method and electronic equipment
CN115438634A (en) * 2022-08-24 2022-12-06 内蒙古龙源蒙东新能源有限公司 Information filling method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN110888709A (en) Intelligent operation method and device of monitoring screen, computer equipment and storage medium
CN108304498B (en) Webpage data acquisition method and device, computer equipment and storage medium
CN108920354B (en) Embedded point management method and device, computer equipment and storage medium
CN109901834B (en) Document page generation method, device, computer equipment and storage medium
CN111061526B (en) Automatic test method, device, computer equipment and storage medium
CN109672741B (en) Micro-service monitoring method and device, computer equipment and storage medium
CN110659092B (en) Webpage screenshot method and device, computer equipment and storage medium
CN108595697B (en) Webpage integration method, device and system
CN108418797B (en) Webpage access method and device, computer equipment and storage medium
CN109783365A (en) Automated testing method, device, computer equipment and storage medium
CN111078339A (en) Interface element positioning method and device, computer equipment and storage medium
CN112612988A (en) Page processing method and device, computer equipment and storage medium
CN109783355A (en) Page elements acquisition methods, system, computer equipment and readable storage medium storing program for executing
CN111797026A (en) Test case generation method and device, computer equipment and storage medium
CN110750443A (en) Webpage testing method and device, computer equipment and storage medium
CN115712422A (en) Form page generation method and device, computer equipment and storage medium
CN109542962B (en) Data processing method, data processing device, computer equipment and storage medium
CN114461533A (en) Method, system, electronic device and storage medium for automatic testing of Web page
CN110647350A (en) Interface document generation method and device, computer equipment and storage medium
CN110659435A (en) Page data acquisition processing method and device, computer equipment and storage medium
CN112035113A (en) Navigation bar loading method, device, equipment and medium of H5 page
CN113032078A (en) Page display method and device, electronic equipment and computer readable storage medium
CN112015378A (en) Skeleton screen page generation method and device, computer equipment and storage medium
CN116661936A (en) Page data processing method and device, computer equipment and storage medium
CN116383787A (en) Page creation method, page creation device, computer equipment and storage medium

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