CN115952376B - Webpage access method and device, electronic equipment and storage medium - Google Patents

Webpage access method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115952376B
CN115952376B CN202211740593.6A CN202211740593A CN115952376B CN 115952376 B CN115952376 B CN 115952376B CN 202211740593 A CN202211740593 A CN 202211740593A CN 115952376 B CN115952376 B CN 115952376B
Authority
CN
China
Prior art keywords
procedure
information
access
automation
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211740593.6A
Other languages
Chinese (zh)
Other versions
CN115952376A (en
Inventor
蒋红宇
刘雪梅
胡伯良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Haitai Fangyuan High Technology Co Ltd
Original Assignee
Beijing Haitai Fangyuan High Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Haitai Fangyuan High Technology Co Ltd filed Critical Beijing Haitai Fangyuan High Technology Co Ltd
Priority to CN202211740593.6A priority Critical patent/CN115952376B/en
Publication of CN115952376A publication Critical patent/CN115952376A/en
Application granted granted Critical
Publication of CN115952376B publication Critical patent/CN115952376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a webpage access method, a webpage access device, electronic equipment and a storage medium, wherein the method comprises the following steps: establishing a basic access procedure according to the user access information and the global environment information; acquiring an access procedure name and access procedure configuration information corresponding to the access procedure name; according to the basic access procedure, establishing a robot procedure automation procedure corresponding to the access procedure name and the access procedure configuration information; executing the robot flow automation procedure, processing the virtual user input stream, and acquiring an automation execution result. According to the technical scheme, the access of an external program to the webpage level through the browser drive can be reduced, the access efficiency is improved, and the user experience of the browser is improved; by establishing the robot flow automatic procedure, the workload of user participation is reduced, and meanwhile, the reliability is improved.

Description

Webpage access method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for accessing a web page, an electronic device, and a storage medium.
Background
At present, RPA (Robotic process automation, RPA robot flow automation) access of a browser is an external mode, and establishment of an RPA script is realized through RPA program and user interaction. The RPA script is used for completing access through a browser driver, and the specific method is that the RPA script program accesses webpage resources through an RPA interface and then through the browser driver, user preset input is executed, webpage elements are positioned, webpage data are extracted, and automation of browser access is realized.
However, access by browser drivers is relatively inefficient; the RPA script has single function, the branch coverage is imperfect, and the risk of invalidation of the access result still exists; the RPA script establishment of the interactive mode requires a great deal of participation of the user, and increases the burden of the user.
Disclosure of Invention
The invention provides a webpage access method, a webpage access device, electronic equipment and a storage medium, and aims to solve the problems that webpage access efficiency is low and a large amount of human resources are required to be consumed in the establishment of an RPA script in an interactive mode through browser driving.
In a first aspect, an embodiment of the present invention provides a web page access method, including:
establishing a basic access procedure according to user access information and global environment information, wherein the user access information comprises webpage information, user input information and an execution result, and the basic access procedure is a code template for obtaining various user operations;
Acquiring an access procedure name and access procedure configuration information corresponding to the procedure name, wherein the access procedure configuration information is configuration information of a robot flow automation procedure to be established;
according to the basic access procedure, establishing a robot flow automation procedure corresponding to the access procedure name and the access procedure configuration information, wherein the robot flow automation procedure comprises a virtual user input stream;
executing the robot flow automation procedure, processing the virtual user input stream, and acquiring an automation execution result.
According to the technical scheme, the access of the external program to the webpage level through the browser drive is reduced, the access efficiency is improved, and the user experience of the browser is improved; by establishing the robot flow automatic procedure, the workload of user participation is reduced, and meanwhile, the reliability is improved.
In some embodiments, after establishing a robot flow automation procedure corresponding to the access procedure name and the access procedure configuration information according to the base access procedure, further comprising:
saving the robot program automation procedure to a procedure file, and saving the access procedure name to a procedure name list file;
When a target procedure name exists in the procedure name list file, acquiring a target robot procedure automation procedure corresponding to the target procedure name from the procedure file;
executing the target robot flow automation procedure, processing a target virtual user input stream in the target robot flow automation procedure, and acquiring an automation execution result of the target robot flow automation procedure.
According to the technical scheme, after the robot flow automatic procedure corresponding to the access procedure name and the access procedure configuration information is established according to the basic access procedure, the robot flow automatic procedure can be stored in the procedure file, and the follow-up call when the target procedure is executed is convenient.
In some embodiments, the executing the target robotic process automation procedure, processing a target virtual user input stream in the target robotic process automation procedure, and obtaining an automated execution result of the target robotic process automation procedure comprises:
responding to a robot flow automation procedure adjustment request, and acquiring adjustment information when the target robot flow automation procedure is executed;
And processing a target virtual user input stream in the target robot flow automation procedure according to the adjustment information, and acquiring an automation execution result of the target robot flow automation procedure.
According to the technical scheme provided by the embodiment of the invention, when the automatic execution result of the target robot flow automatic procedure fails to meet the user requirement, the information can be adjusted according to the user requirement, the adjusted target robot flow automatic procedure can be executed, and the execution of temporary tasks is facilitated.
In some implementations, the method further comprises:
receiving the procedure name adjustment request in the process of executing the target robot procedure automation procedure, wherein the procedure name adjustment request comprises a procedure name to be switched;
acquiring a robot flow automation procedure corresponding to the procedure name to be switched from the procedure file as a new target robot flow automation procedure;
executing the new target robot flow automation procedure, processing a target virtual user input stream in the new target robot flow automation procedure, and acquiring an automation execution result of the new target robot flow automation procedure.
According to the technical scheme provided by the embodiment of the invention, in the process of executing the target robot flow automatic procedure, the robot flow automatic procedure corresponding to the adjusted procedure name can be acquired from the procedure file and executed according to the procedure name adjustment request input by the user, so that the task can be conveniently switched and executed.
In some embodiments, before establishing the base access procedure according to the user access information and the global environment information, the method further comprises:
acquiring the global environment information and storing the global environment information into a user application access log database, wherein the global environment information comprises at least one of browser opening time information, an operating system version, a browser version, user identity information, user permission, browser window size and position information;
and when the procedure name list file is empty, acquiring the user access information under the global environment information, and storing the user access information into the user application access log database.
In some embodiments, the method further comprises:
and acquiring user evaluation information of the robot flow automation procedure, and storing the user evaluation information into the user application access log database.
According to the technical scheme, the user evaluation information of the robot flow automation procedure is used as the identification to be stored in the user application access log database for the browser artificial intelligent module to learn and utilize, and the robot flow automation procedure is continuously improved. The user evaluation information mainly includes format change information of the structured data.
In some embodiments, the method further comprises:
receiving procedure access session start information and procedure access session end information input by a user, and storing the procedure access session start information and the procedure access session end information into the user application access log database.
In some embodiments, after establishing a robot flow automation procedure corresponding to the access procedure name and the access procedure configuration information according to the base access procedure, further comprising:
generating a protocol report corresponding to the robot flow automation protocol;
and receiving manual approval information reported by the procedure, and adjusting the robot flow automation procedure according to the manual approval information.
According to the technical scheme, after the robot flow automatic procedure is generated, a procedure report corresponding to the robot flow automatic procedure is further generated, and the procedure report is a manual approval material. And after receiving the manual approval information feedback information reported by the procedure, adjusting the robot flow automation procedure so as to continuously improve the robot flow automation procedure.
In a second aspect, the present invention provides a web page access apparatus, the apparatus comprising:
the first establishing module is used for establishing a basic access procedure according to user access information and global environment information, wherein the user access information comprises webpage information, user input information and an execution result, and the basic access procedure is a code template for obtaining various user operations;
the access procedure configuration information is the configuration information of the robot flow automation procedure to be established;
the second establishing module is used for establishing a robot flow automation procedure corresponding to the access procedure name and the access procedure configuration information according to the basic access procedure, wherein the robot flow automation procedure comprises a virtual user input stream;
the first execution module is used for executing the robot flow automation procedure, processing the virtual user input stream and acquiring an automation execution result.
In some embodiments, the apparatus further comprises:
the first storage module is used for storing the robot program automation procedure into a procedure file and storing the access procedure name into a procedure name list file;
The second acquisition module is used for acquiring a target robot procedure automation procedure corresponding to the target procedure name from the procedure file;
the second execution module is used for executing the target robot flow automation procedure, processing the target virtual user input stream in the target robot flow automation procedure, and acquiring an automation execution result of the target robot flow automation procedure.
In some embodiments, the second execution module includes:
an adjustment information acquisition unit configured to acquire adjustment information when the target robot procedure automation procedure is executed in response to a robot procedure automation procedure adjustment request;
and the result acquisition module is used for processing the target virtual user input stream in the target robot flow automation procedure according to the adjustment information and acquiring an automation execution result of the target robot flow automation procedure.
In some embodiments, the apparatus further comprises:
a procedure name adjustment request module, configured to receive the procedure name adjustment request in a process of executing the target robot procedure automation procedure, where the procedure name adjustment request includes a procedure name to be switched;
A third obtaining module, configured to obtain, from the procedure file, a robot procedure automation procedure corresponding to the procedure name to be switched, as a new target robot procedure automation procedure;
and the third execution module is used for executing the new target robot flow automation procedure, processing the target virtual user input stream in the new target robot flow automation procedure and acquiring an automation execution result of the new target robot flow automation procedure.
In some embodiments, the apparatus further comprises:
a fourth obtaining module, configured to obtain the global environment information, and store the global environment information in a user application access log database, where the global environment information includes at least one of browser opening time information, an operating system version, a browser version, user identity information, user rights, a browser window size, and location information;
and the second storage module is used for acquiring the user access information under the global environment information when the procedure name list file is empty, and storing the user access information into the user application access log database.
In some embodiments, the apparatus further comprises:
and a fifth acquisition module, configured to acquire user evaluation information of the robot flow automation procedure, and store the user evaluation information in the user application access log database.
In some embodiments, the apparatus further comprises:
the first acquisition module is used for receiving the procedure access session starting information and the procedure access session ending information input by a user, and storing the procedure access session starting information and the procedure access session ending information into the user application access log database.
In some embodiments, the apparatus further comprises:
the generation module is used for generating a procedure report corresponding to the robot flow automatic procedure;
and the second receiving module is used for receiving the manual approval information reported by the procedure and adjusting the automatic procedure of the robot flow according to the manual approval information.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor and a memory;
the processor is configured to invoke a program stored in the memory, which when executed causes the processor to perform the method according to any of the first aspects above.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium storing a computer program comprising instructions for performing the method of any one of the first aspects above.
According to the embodiment of the invention, a basic access procedure is established according to the user access information and the global environment information, and a robot flow automation procedure corresponding to the access procedure name and the access procedure configuration information is established through the basic access procedure; executing the robot flow automation procedure, processing the virtual user input stream, and acquiring an automation execution result. According to the technical scheme, the access of the external program to the webpage level through the browser drive can be reduced, the access efficiency is improved, and the user experience of the browser is improved; by establishing the robot flow automatic procedure, the workload of user participation is reduced, and meanwhile, the reliability is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for accessing a web page according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for accessing a web page according to an embodiment of the present application;
FIG. 3 is a schematic block diagram of a web page access device according to an embodiment of the present application;
fig. 4 is a schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be appreciated that in the description of embodiments of the application, the words "first," "second," and the like are used merely for distinguishing between the descriptions and not for indicating or implying any relative importance or order.
The character "/" in the present application generally indicates that the related objects are an or relationship.
The embodiment of the application provides a webpage access method which can be applied to various electronic devices such as various terminals, for example, mobile phones, tablet computers, wearable devices (e.g., watches, bracelets and the like), vehicle-mounted devices, notebook computers, personal Computers (PC), desktop computers, netbooks, personal digital assistants (persona l d i gi ta l ass i stant, PDA), intelligent household devices (e.g., intelligent televisions, intelligent sound boxes, intelligent cameras and the like) and the like. It will be appreciated that embodiments of the present application do not impose any limitation on the specific types of electronic devices that may be employed.
Before explaining the present invention in detail, the nouns relevant to the present invention will be explained first.
(1)RPA
RPA (Robot i c Process Automat i on) robot process automation, also called digital staff, can simulate the manual operation on a computer and automatically process a large number of repeated and regular workflow tasks.
(2)AI
AI (Art i f i c i a l I nte l l i gence) artificial intelligence. It is a new technical science for researching, developing theory, method, technology and application system for simulating, extending and expanding human intelligence.
(3) Browser AI:
the browser AI (Art i f i c i a l I nte l l i gence) is a browser artificial intelligence module.
The embodiment of the invention provides a webpage access method, which comprises the following steps:
establishing a basic access procedure according to user access information and global environment information, wherein the user access information comprises webpage information, user input information and an execution result, and the basic access procedure is a code template for obtaining various user operations;
acquiring access procedure names and access procedure configuration information corresponding to the procedure names, wherein the access procedure configuration information is configuration information of a robot flow automation procedure to be established;
According to the basic access procedure, establishing a robot flow automation procedure corresponding to the access procedure name and the access procedure configuration information, wherein the robot flow automation procedure comprises a virtual user input stream;
executing the robot flow automation procedure, processing the virtual user input stream, and acquiring an automation execution result.
In the following, description will be given by way of specific embodiments, and fig. 1 is a flowchart of a web page access method according to an embodiment of the present invention. The method can be executed by the terminal, or can be executed by the cooperation of the terminal and the server, and the method can be executed based on a browser in the terminal, or can be executed based on the browser in the terminal and a browser artificial intelligence module in the server, or can be executed based on the browser in the terminal and the browser artificial intelligence module in the server, the browser can realize data interaction with the server through a user, and the browser artificial intelligence module discovers a webpage access mode by learning user access information and global environment information in a user application access log database.
S101: and establishing a basic access procedure according to the user access information and the global environment information. The user access information comprises webpage information, user input information and execution results, and the basic access procedure is a code template for operation of various users to be obtained.
User access information is obtained through user input devices such as a keyboard, a mouse, gestures, a touch pad, a microphone and the like, and the user access information comprises, but is not limited to, webpage information, user input information, execution results and the like; the global environment information is obtained through a browser driving file, such as: chromadriver. Exe files, etc. Global context information includes, but is not limited to, browser opening time information, browser ending time information, operating system version, browser version, user identity, user permissions, browser window size and location information, and the like. Generally, under a specific browser page, code templates of various user operations are obtained according to the actual operation positions and execution results of the users.
In addition, in the automatic learning mode of the robot flow, the browser receives the website information and interacts with the user to finish the access of the user to the webpage application. And meanwhile, the browser executes the updating operation of the user application access log database, and the data object of the user application access log database updating operation is user access information. The user access information comprises website information, webpage codes, execution results, input information, process active elements, script code information, rendering results and the like. The input information comprises information acquired through devices such as a keyboard, a mouse, gestures, a touch pad, a microphone and the like.
S102: and acquiring the access procedure name and access procedure configuration information corresponding to the procedure name, wherein the access procedure configuration information is the configuration information of the robot flow automation procedure to be established.
The code name can be named by the self-definition according to the generation time, the generation type and the generation mode of the automatically executed code template, the implementation function of the automatically executed code template and the size of the automatically executed code template.
The access procedure configuration information comprises web page access timeout information, an input stream adjustment list, input data timeout information, output data format, output file name, output file naming rule, automatic execution time information and the like. Meanwhile, the access procedure configuration information is used for ensuring that the webpage layout of the browser is consistent in a robot flow automatic learning mode or a robot flow automatic execution mode.
When the browser checks the procedure name list file, if the procedure name list file is empty, automatically entering a robot procedure automatic learning mode, receiving website information by the browser, interacting with a user, completing access of the user to the webpage application, and simultaneously, executing update operation of the user application access log database by the browser; if the procedure name list file is not empty, entering a robot procedure automatic execution mode, and finding a user access mode by the browser artificial intelligent module through learning user access information and global environment information in the user application access log database, and establishing a basic access procedure.
S103: according to the basic access procedure, a robot flow automation procedure corresponding to the access procedure name and the access procedure configuration information is established, and the robot flow automation procedure comprises a virtual user input stream.
The browser artificial intelligence module takes a basic access procedure as a template, and establishes a robot flow automation procedure according to specific access procedure names and access procedure configuration information. For example, when the robot process automation procedure for opening the computer needs to be executed, a basic access procedure for opening the computer is first established to open the computer as a specific access procedure name, and relevant configuration information for forming the access procedure is moved and input by a keyboard according to the click of a mouse to form a code capable of being executed automatically. Therefore, the robot flow automation procedure is a code which can be automatically executed by the browser, and forms a virtual user input stream and submits the browser in the execution process. The same basic access procedure can generate a plurality of different robot flow automation procedures according to different access procedure configuration information and access procedure names.
In addition, in the process of establishing the robot flow automation procedure, user input information may be converted into a virtual user input stream by the browser artificial intelligence module.
S104: executing the robot flow automation procedure, processing the virtual user input stream, and acquiring an automation execution result.
The browser processes the virtual user input stream to complete web page access and generates an output data file, which may be stored in text form in a file, or in a database. For example: a browser with a browser artificial intelligent module fills out ten thousand user forms, obtains an automatically filled-in result after executing a robot flow automatic procedure, and displays the automatically filled-in result on a browser foreground page for a user to reference or adjust; and simultaneously, the data file generated after the automatic execution can be stored in a file or a background database in a text form.
According to the user access information and the global environment information, a basic access procedure is established, and a robot procedure automation procedure corresponding to the access procedure name and the access procedure configuration information is established through the basic access procedure; executing the robot flow automation procedure, processing the virtual user input stream, and acquiring an automation execution result. According to the technical scheme, the access of the external program to the webpage level through the browser drive can be reduced, the access efficiency is improved, and the user experience of the browser is improved; by establishing the robot flow automatic procedure, the workload of user participation is reduced, and meanwhile, the reliability is improved.
Optionally, as one embodiment, after establishing the robot flow automation procedure corresponding to the access procedure name and the access procedure configuration information according to the basic access procedure, the method further includes:
saving the robot program automation procedure into a procedure file, and saving the access procedure name into a procedure name list file;
when a target procedure name exists in the procedure name list file, acquiring a target robot procedure automation procedure corresponding to the target procedure name from the procedure file;
executing the target robot flow automation procedure, processing a target virtual user input stream in the target robot flow automation procedure, and acquiring an automation execution result of the target robot flow automation procedure.
Typically, the protocol files and protocol name list files may be stored in a database in the form of files or in a non-volatile memory, such as disk memory, CD-ROM, optical memory, etc. The list file of the procedure names stores a plurality of procedure names, such as the procedure names corresponding to the procedure of filling the form, the procedure names corresponding to the procedure of login verification, and the like. For example, a procedure for filling out a user form needs to be executed, and the browser artificial intelligence module needs to query whether a corresponding procedure name exists in the procedure name list file, and if so, obtains the target robot procedure automation procedure from the procedure file. Then, the browser artificial intelligence module executes the robot flow automation procedure for filling in the user form, obtains the filling result of the user form, and displays the filling result on the front page of the browser for the user to use.
According to the technical scheme, after the robot flow automatic procedure corresponding to the access procedure name and the access procedure configuration information is established according to the basic access procedure, the robot flow automatic procedure can be stored in the procedure file, and the subsequent call when the target procedure is executed is convenient.
Optionally, as one embodiment, executing the target robot flow automation procedure, processing the target virtual user input stream in the target robot flow automation procedure, and obtaining an automation execution result of the target robot flow automation procedure, including:
responding to a robot flow automatic procedure adjustment request, and acquiring adjustment information when a target robot flow automatic procedure is executed;
and processing a target virtual user input stream in the target robot flow automation procedure according to the adjustment information, and acquiring an automation execution result of the target robot flow automation procedure.
In the process of executing the target robot flow automation procedure, according to the adjustment request of the user, executing the adjusted target virtual user input stream so as to obtain an automation execution result of the target robot flow automation procedure. For example, when executing the robot flow automation procedure of printing the work log, if the printed work log is not the work log of the same day, the browser artificial intelligence module needs to manually adjust to the date of the same day and then execute the corresponding robot flow automation procedure. According to the date input by the user, the browser artificial intelligence module executes the robot flow automation procedure for printing the work logs, obtains the work log printing results, and displays the work log printing results on the front page of the browser for the user to use.
According to the technical scheme provided by the embodiment of the invention, when the automatic execution result of the target robot flow automatic procedure fails to meet the user requirement, the adjusted target robot flow automatic procedure can be executed according to the adjustment information of the user, so that the execution of a temporary task is facilitated.
Optionally, as one embodiment, the method further includes:
receiving a procedure name adjustment request in the process of executing the target robot procedure automation procedure, wherein the procedure name adjustment request comprises a procedure name to be switched;
acquiring a robot flow automatic procedure corresponding to the procedure name to be switched from the procedure file as a new target robot flow automatic procedure;
executing the new target robot flow automation procedure, processing the target virtual user input stream in the new target robot flow automation procedure, and acquiring an automation execution result of the new target robot flow automation procedure.
In the process of executing the target robot flow automation procedure, the robot flow automation procedure corresponding to the adjusted procedure name can be acquired from the procedure file and executed according to the procedure name adjustment request input by the user. Illustratively, in performing a target robotic process automation procedure, there may be multiple procedures in the procedure file, such as: filling out a form, logging in authentication, printing a work log and the like. According to the user demand, different procedure names are input, and the browser artificial intelligence module is switched to the corresponding procedure name to execute the corresponding procedure. When a user switches from a procedure name corresponding to a filling form to a procedure name to be switched corresponding to login authentication, the browser artificial intelligent module obtains a robot flow automation procedure corresponding to the procedure name corresponding to the login authentication from a procedure file, and the robot flow automation procedure is used as a new target robot flow automation procedure, a login authentication result is obtained and displayed on a front-end page of the browser for the user to refer to.
According to the technical scheme, different target robot flow automatic processes are obtained by switching different procedure names, so that task switching execution is facilitated.
Optionally, as one embodiment, before establishing the basic access procedure according to the user access information and the global environment information, the method further includes:
acquiring global environment information and storing the global environment information into a user application access log database, wherein the global environment information comprises at least one of browser opening time information, an operating system version, a browser version, user identity information, user permission, browser window size and position information;
and when the procedure name list file is empty, acquiring user access information under the global environment information, and storing the user access information into a user application access log database.
Before the basic access procedure is established, global environment information needs to be acquired and stored in a user application access log database, and meanwhile, the user application access log database is updated.
According to the technical scheme, the user application access log database is updated continuously by acquiring different global environment information, so that different robot flow automation procedures can be conveniently established.
Optionally, as one embodiment, the method further includes:
acquiring user evaluation information of a robot flow automation procedure, and storing the user evaluation information into a user application access log database;
according to the technical scheme provided by the embodiment of the invention, the user evaluation information can be acquired through user input, and is stored in the user application access log database as the identification, so that the user evaluation information can be used for learning and utilizing by the browser artificial intelligent module, and the robot flow automation procedure can be improved. The user evaluation information mainly includes format change information of the structured data.
Optionally, as one embodiment, the method further includes:
receiving the procedure access session start information and the procedure access session end information input by a user, and storing the procedure access session start information and the procedure access session end information into a user application access log database.
The procedure access session start information and the procedure access session end information input by the user can be marked by the identification to identify the access session start information and the procedure access session end information of the same procedure.
According to the technical scheme, the procedure access session start information and the procedure access session end information are stored in the user application access log database, so that the browser artificial intelligent module can conveniently divide user input stream information, learning and utilization of the user access log database are facilitated, and the robot procedure automation procedure is improved. The value of the procedure access session start information is based on the user input of a unique identifier generated according to rules or randomly generated; the procedure access session end information occurs in pairs with the procedure access session start information and is located behind the procedure access session start information. The procedure access session end information value may be the same as the corresponding procedure access session start information value.
Optionally, as one embodiment, after establishing the robot flow automation procedure corresponding to the access procedure name and the access procedure configuration information according to the basic access procedure, the method further includes:
generating a protocol report corresponding to the robot procedure automation protocol;
and receiving manual approval information reported by the procedure, and adjusting the robot flow automation procedure by the manual approval information.
After the robot flow automatic procedure is generated, the browser further generates a procedure report corresponding to the robot flow automatic procedure, wherein the procedure report is a manual approval material and can be represented in a graphical and tabular form. And after receiving the manual approval information feedback information reported by the procedure, the browser adjusts the automatic procedure of the robot flow.
The technical scheme of the embodiment of the invention can adaptively adjust the procedure report so as to continuously improve the automatic procedure of the robot.
Fig. 2 is a flowchart of another web page access method according to an embodiment of the present invention.
S201: the browser collects global environment information and stores the global environment information in a user application access log database.
The global environment information comprises at least one of browser opening time information, an operating system, a browser version, a user identity, user permission, a browser window size and position information. .
S202: the browser checks whether the procedure name list file is empty, if so, the robot flow automatic learning mode is entered, and if not, the robot flow automatic execution mode is entered.
S203, robot flow automatic learning mode: and the browser receives the website information and completes the access of the user to the webpage application. Meanwhile, the browser executes the update operation of the user application access log database. The user application accesses the data object of the log database update operation as user access information. The user access information comprises website information, webpage codes, execution results, input information, process active elements, script code information, rendering results and the like. Wherein the input information may include information obtained through a keyboard, mouse, gesture, touch pad, microphone, etc. When the browser receives the website information, the website information and the access time information are stored in the user application access log database.
S204, robot flow automatic execution mode: the browser establishes a basic access procedure by finding a user access pattern through learning of user access information and global environment information in the user application access log database.
The user access information comprises webpage information, user input information and execution results, and the basic access procedure is a code template for various user operations to be acquired.
S205, the browser receives the procedure name and the procedure configuration information from the user, and establishes a robot procedure automation procedure corresponding to the access procedure and the access procedure configuration information according to the basic access procedure.
The robot flow automation procedure is a code which can be automatically executed by the browser, and forms a virtual user input stream and submits the browser in the execution process. The access procedure configuration information comprises information such as webpage access timeout information, an input stream adjustment list, input data timeout information, an output data format, an output file name, an output file naming rule, automatic execution time information and the like.
S206, the browser processes the virtual user input stream to complete webpage access and generates an output data object or data file.
Optionally, as one embodiment, an embodiment of the present invention provides a web page access device, as shown in fig. 3, the device 300 includes:
the first establishing module 301 is configured to establish a basic access procedure according to user access information and global environment information, where the user access information includes web page information, user input information, and an execution result, and the basic access procedure is a code template for obtaining various operations;
A first obtaining module 302, configured to obtain an access procedure name and access procedure configuration information corresponding to the procedure name, where the access procedure configuration information is configuration information of a robot flow automation procedure to be established;
a second establishing module 303, configured to establish a robot flow automation procedure corresponding to the access procedure name and the access procedure configuration information according to the basic access procedure, where the robot flow automation procedure includes a virtual user input stream;
the first execution module 304 is configured to execute a robot flow automation procedure, process a virtual user input stream, and obtain an automation execution result.
Optionally, as an embodiment thereof, the apparatus 300 further includes:
the first storage module is used for storing the robot flow automation procedure into a procedure file and storing the access procedure name into a procedure name list file;
the second acquisition module is used for acquiring a target robot procedure automation procedure corresponding to the target procedure name from the procedure file;
the second execution module is used for executing the target robot flow automation procedure, processing the target virtual user input stream in the target robot flow automation procedure and obtaining the automation execution result of the target robot flow automation procedure.
Optionally, as an embodiment, the second execution module includes:
an adjustment information acquisition unit configured to acquire adjustment information when the target robot flow automation procedure is executed in response to the robot flow automation procedure adjustment request;
the result acquisition unit is used for processing the target virtual user input stream in the target robot flow automation procedure according to the adjustment information and acquiring an automation execution result of the target robot flow automation procedure.
Optionally, as an embodiment thereof, the apparatus 300 further includes:
the procedure name adjustment request module is used for receiving a procedure name adjustment request in the process of executing the target robot procedure automation procedure, wherein the procedure name adjustment request comprises a procedure name to be switched;
the third acquisition module is used for acquiring a robot flow automation procedure corresponding to the procedure name to be switched from the procedure file as a new target robot flow automation procedure;
and the third execution module is used for executing a new target robot flow automation procedure, processing a target virtual user input stream in the new target robot flow automation procedure and acquiring an automation execution result of the new target robot flow automation procedure.
Optionally, as an embodiment thereof, the apparatus 300 further includes:
the fourth acquisition module is used for acquiring global environment information and storing the global environment information into a user application access log database, wherein the global environment information comprises at least one of browser opening time information, an operating system version, a browser version, user identity information, user permission, browser window size and position information;
and the second storage module is used for acquiring the user access information under the global environment information when the procedure name list file is empty, and storing the user access information into a user application access log database.
Optionally, as an embodiment thereof, the apparatus 300 further includes:
and the fifth acquisition module is used for acquiring the user evaluation information of the robot flow automation procedure and storing the user evaluation information into the user application access log database.
Optionally, as an embodiment thereof, the apparatus 300 further includes:
the first receiving module is used for receiving the procedure access session starting information and the procedure access session ending information input by the user and storing the procedure access session starting information and the procedure access session ending information into the user application access log database.
Optionally, as an embodiment thereof, the apparatus 300 further includes:
the generation module is used for generating a procedure report corresponding to the robot procedure automation procedure;
the second receiving module is used for receiving manual approval information reported by the procedure and adjusting the automatic procedure of the robot flow according to the manual approval information.
Optionally, as one embodiment thereof, there is also provided an electronic device 400, including: a processor 401 and a memory 402;
the processor 401 is configured to invoke a program stored in the memory 402, which when executed causes the processor 401 to perform the method according to any of the embodiments described above.
Optionally, as one embodiment, there is also provided a computer storage medium, wherein a computer program is stored, the computer program including means for performing any of the above embodiments.
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 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.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (18)

1. A method of web page access, the method comprising:
establishing a basic access procedure according to user access information and global environment information, wherein the user access information comprises webpage information, user input information and an execution result, and the basic access procedure is a code template for obtaining various user operations;
acquiring an access procedure name and access procedure configuration information corresponding to the procedure name, wherein the access procedure configuration information is configuration information of a robot flow automation procedure to be established;
The basic access procedure is taken as a template, a robot flow automatic procedure is established according to specific access procedure names and access procedure configuration information, the robot flow automatic procedure is a code which can be automatically executed by a browser, a virtual user input stream is formed in the execution process, and the browser is submitted;
executing the robot flow automation procedure, processing the virtual user input stream, and acquiring an automation execution result.
2. The method of claim 1, wherein after establishing the robot flow automation procedure based on the specific access procedure name and access procedure configuration information using the base access procedure as a template, further comprising:
saving the robot program automation procedure to a procedure file, and saving the access procedure name to a procedure name list file;
when a target procedure name exists in the procedure name list file, acquiring a target robot procedure automation procedure corresponding to the target procedure name from the procedure file;
executing the target robot flow automation procedure, processing a target virtual user input stream in the target robot flow automation procedure, and acquiring an automation execution result of the target robot flow automation procedure.
3. The method of claim 2, wherein the executing the target robotic flow automation procedure, processing a target virtual user input stream in the target robotic flow automation procedure, and obtaining an automated execution result of the target robotic flow automation procedure, comprises:
responding to a robot flow automation procedure adjustment request, and acquiring adjustment information when the target robot flow automation procedure is executed;
and processing a target virtual user input stream in the target robot flow automation procedure according to the adjustment information, and acquiring an automation execution result of the target robot flow automation procedure.
4. The method according to claim 2, wherein the method further comprises:
receiving the procedure name adjustment request in the process of executing the target robot procedure automation procedure, wherein the procedure name adjustment request comprises a procedure name to be switched;
acquiring a robot flow automation procedure corresponding to the procedure name to be switched from the procedure file as a new target robot flow automation procedure;
executing the new target robot flow automation procedure, processing a target virtual user input stream in the new target robot flow automation procedure, and acquiring an automation execution result of the new target robot flow automation procedure.
5. The method according to any of claims 2-4, wherein prior to establishing the base access procedure based on user access information and global context information, the method further comprises:
acquiring the global environment information and storing the global environment information into a user application access log database, wherein the global environment information comprises at least one of browser opening time information, an operating system version, a browser version, user identity information, user permission, browser window size and position information;
and when the procedure name list file is empty, acquiring the user access information under the global environment information, and storing the user access information into the user application access log database.
6. The method of claim 5, wherein the method further comprises:
and acquiring user evaluation information of the robot flow automation procedure, and storing the user evaluation information into the user application access log database.
7. The method of claim 5, wherein the method further comprises:
receiving procedure access session start information and procedure access session end information input by a user, and storing the procedure access session start information and the procedure access session end information into the user application access log database.
8. The method of any of claims 1-4, wherein after establishing a robotic process automation procedure based on the specific access procedure name and access procedure configuration information using the base access procedure as a template, the method further comprises:
generating a protocol report corresponding to the robot flow automation protocol;
and receiving manual approval information reported by the procedure, and adjusting the robot flow automation procedure according to the manual approval information.
9. A web page access device, the device comprising:
the first establishing module is used for establishing a basic access procedure according to user access information and global environment information, wherein the user access information comprises webpage information, user input information and an execution result, and the basic access procedure is a code template for obtaining various user operations;
the access procedure configuration information is the configuration information of the robot flow automation procedure to be established;
the second building module is used for building a robot flow automatic procedure which is a code which can be automatically executed by a browser according to specific access procedure names and access procedure configuration information by taking the basic access procedure as a template, forming a virtual user input stream in the execution process and submitting the browser;
The first execution module is used for executing the robot flow automation procedure, processing the virtual user input stream and acquiring an automation execution result.
10. The apparatus of claim 9, wherein the apparatus further comprises:
the first storage module is used for storing the robot program automation procedure into a procedure file and storing the access procedure name into a procedure name list file;
the second acquisition module is used for acquiring a target robot procedure automation procedure corresponding to the target procedure name from the procedure file when the target procedure name exists in the procedure name list file;
the second execution module is used for executing the target robot flow automation procedure, processing the target virtual user input stream in the target robot flow automation procedure, and acquiring an automation execution result of the target robot flow automation procedure.
11. The apparatus of claim 10, wherein the second execution module comprises:
an adjustment information acquisition unit configured to acquire adjustment information when the target robot procedure automation procedure is executed in response to a robot procedure automation procedure adjustment request;
And the result acquisition unit is used for processing the target virtual user input stream in the target robot flow automation procedure according to the adjustment information and acquiring an automation execution result of the target robot flow automation procedure.
12. The apparatus of claim 10, wherein the apparatus further comprises:
a procedure name adjustment request module, configured to receive the procedure name adjustment request in a process of executing the target robot procedure automation procedure, where the procedure name adjustment request includes a procedure name to be switched;
a third obtaining module, configured to obtain, from the procedure file, a robot procedure automation procedure corresponding to the procedure name to be switched, as a new target robot procedure automation procedure;
and the third execution module is used for executing the new target robot flow automation procedure, processing the target virtual user input stream in the new target robot flow automation procedure and acquiring an automation execution result of the new target robot flow automation procedure.
13. The apparatus according to any one of claims 10-12, wherein the apparatus further comprises:
A fourth obtaining module, configured to obtain the global environment information, and store the global environment information in a user application access log database, where the global environment information includes at least one of browser opening time information, an operating system version, a browser version, user identity information, user rights, a browser window size, and location information;
and the second storage module is used for acquiring the user access information under the global environment information when the procedure name list file is empty, and storing the user access information into the user application access log database.
14. The apparatus of claim 13, wherein the apparatus further comprises:
and a fifth acquisition module, configured to acquire user evaluation information of the robot flow automation procedure, and store the user evaluation information in the user application access log database.
15. The apparatus of claim 13, wherein the apparatus further comprises:
the first receiving module is used for receiving the procedure access session starting information and the procedure access session ending information input by a user, and storing the procedure access session starting information and the procedure access session ending information into the user application access log database.
16. The apparatus according to any one of claims 9-12, wherein the apparatus further comprises:
the generation module is used for generating a procedure report corresponding to the robot flow automatic procedure;
and the second receiving module is used for receiving the manual approval information reported by the procedure and adjusting the automatic procedure of the robot flow according to the manual approval information.
17. An electronic device, comprising: a processor and a memory;
the processor is configured to invoke a program stored in the memory, which when executed causes the processor to perform the method of any of the preceding claims 1-8.
18. A computer storage medium, characterized in that a computer program is stored, which computer program is adapted to perform the method of any of the preceding claims 1-8.
CN202211740593.6A 2022-12-30 2022-12-30 Webpage access method and device, electronic equipment and storage medium Active CN115952376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211740593.6A CN115952376B (en) 2022-12-30 2022-12-30 Webpage access method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211740593.6A CN115952376B (en) 2022-12-30 2022-12-30 Webpage access method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115952376A CN115952376A (en) 2023-04-11
CN115952376B true CN115952376B (en) 2023-11-14

Family

ID=87287464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211740593.6A Active CN115952376B (en) 2022-12-30 2022-12-30 Webpage access method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115952376B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111242577A (en) * 2020-01-13 2020-06-05 中国建设银行股份有限公司 RPA process automation robot deployment method and device and electronic equipment
CN113761367A (en) * 2021-09-06 2021-12-07 海通证券股份有限公司 System, method and device for pushing robot process automation program and computing equipment
WO2022078345A1 (en) * 2020-10-13 2022-04-21 深圳壹账通智能科技有限公司 Method for data interaction between multiple devices, and related device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111242577A (en) * 2020-01-13 2020-06-05 中国建设银行股份有限公司 RPA process automation robot deployment method and device and electronic equipment
WO2022078345A1 (en) * 2020-10-13 2022-04-21 深圳壹账通智能科技有限公司 Method for data interaction between multiple devices, and related device
CN113761367A (en) * 2021-09-06 2021-12-07 海通证券股份有限公司 System, method and device for pushing robot process automation program and computing equipment

Also Published As

Publication number Publication date
CN115952376A (en) 2023-04-11

Similar Documents

Publication Publication Date Title
JP2021197137A (en) Method, device, electronic apparatus, storage medium, and computer program for training model
CN110727431A (en) Applet generation method and apparatus
WO2023279715A1 (en) Information processing method for online classroom, apparatus, device, storage medium, and program
CN114036439A (en) Website building method, device, medium and electronic equipment
CN115712422A (en) Form page generation method and device, computer equipment and storage medium
CN114281707A (en) Number making method, service application testing method and related equipment thereof
CN112148276A (en) Visual programming for deep learning
CN111626021B (en) Presentation generation method and device
CN113094125A (en) Business process processing method, device, server and storage medium
CN115952376B (en) Webpage access method and device, electronic equipment and storage medium
CN111784202A (en) Standard operation system, management method thereof, terminal and storage medium
CN116383787A (en) Page creation method, page creation device, computer equipment and storage medium
CN115756692A (en) Method for automatically combining and displaying pages based on style attributes and related equipment thereof
CN116483425A (en) Micro-service gray level edition issuing method, device, equipment and storage medium thereof
CN115185625A (en) Self-recommendation type interface updating method based on configurable card and related equipment thereof
CN115061916A (en) Method for automatically generating interface test case and related equipment thereof
CN112308440A (en) Work order processing method and device, computer equipment and computer readable storage medium
US20190318652A1 (en) Use of intelligent scaffolding to teach gesture-based ink interactions
US20220198301A1 (en) Method and apparatus for update processing of question answering system
CN114969482A (en) Method for automatically completing request by online configuration interface and related equipment thereof
CN113448927A (en) File naming method and device, electronic equipment and storage medium
CN117908736A (en) Interaction method, device, equipment and storage medium
CN116701512A (en) Inter-server data call acceleration method, inter-server data call acceleration device, inter-server data call acceleration equipment and storage medium of inter-server data call acceleration equipment
CN116627416A (en) Page configuration method, page configuration device, computer equipment and storage medium
CN115222545A (en) Message modular processing method and 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
GR01 Patent grant
GR01 Patent grant