Data processing method, device, electronic device and computer-readable medium

By acquiring and automating the sequence of page element information, the problem of low efficiency in business processes with fixed and repetitive executions is solved, thus achieving efficient business processing.

CN113722634BActive Publication Date: 2025-10-21BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011287173.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-17
Publication Date
2025-10-21
Estimated Expiration
2040-11-17

AI Technical Summary

Technical Problem

In existing technologies, business processes with fixed procedures that need to be repeated many times often consume a lot of human and material resources, reducing business processing efficiency.

Method used

By acquiring the sequence of page element information, the system automatically selects page element information and performs corresponding operations, monitors the number of requests and the amount of returned information, determines the timing of execution, and achieves automated business processing.

Benefits of technology

It reduces the consumption of human and material resources, improves business processing efficiency, and ensures that operation steps are executed in the order of business processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113722634B_ABST
    Figure CN113722634B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure disclose a data processing method and device, electronic equipment and a computer readable medium. A specific embodiment of the method comprises: obtaining a sequence of page element information; selecting page element information from the sequence of page element information; and performing the following automated operation steps: in response to determining that a target page contains a page element corresponding to the selected page element information, performing a target operation corresponding to the selected page element information; determining a request number corresponding to the target operation within a preset time period; and in response to determining that the return request quantity and the request number satisfy a preset condition and there is unselected page element information in the sequence of page element information, grouping the unselected page element information in the sequence of page element information into a new sequence of page element information, selecting page element information from the newly formed sequence of page element information, and performing the automated operation steps. This embodiment reduces the waste of resources such as manpower and material resources, and improves the efficiency of business processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and more particularly, to a data processing method, apparatus, electronic device, and computer-readable medium. Background Art

[0002] Data processing in business scenarios is a technique for processing data according to certain rules. Currently, manual data processing is a common method, such as manual data review.

[0003] However, when using the above method for data processing, the following technical problems often arise:

[0004] For businesses with fixed processing procedures that need to be repeated multiple times, it often consumes a lot of manpower and material resources, reducing the efficiency of business processing. Summary of the Invention

[0005] The content of this disclosure is used to briefly introduce concepts that will be described in detail in the detailed description section below. The content of this disclosure is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0006] Some embodiments of the present disclosure provide data processing methods, devices, electronic devices, and computer-readable media to solve one or more of the technical problems mentioned in the above background technology section.

[0007] In a first aspect, some embodiments of the present disclosure provide a data processing method, the method comprising: obtaining a page element information sequence. Selecting page element information from the above-mentioned page element information sequence, and performing the following automated operation steps: in response to determining that a target page contains a page element corresponding to the selected page element information, performing a target operation corresponding to the selected page element information; determining the number of requests corresponding to the above-mentioned target operation within a preset time period; in response to determining that the number of returned requests and the above-mentioned number of requests meet a preset condition and that the above-mentioned page element information sequence contains unselected page element information, forming a new page element information sequence with the page element information not taken out from the above-mentioned page element information sequence, selecting page element information from the re-formed page element information sequence, and performing the above-mentioned automated operation steps.

[0008] Optionally, the method further includes: in response to the absence of unselected page element information in the page element information sequence, ending the above-mentioned automated operation step.

[0009] Optionally, obtaining the page element information sequence includes: in response to detecting a user operation on a control corresponding to the automation operation, obtaining the page element information sequence corresponding to the automation operation from the target storage device.

[0010] Optionally, executing the target operation corresponding to the selected page element information includes: determining the page element type corresponding to the above page element information; and executing the target operation corresponding to the above page element information based on the above page element type.

[0011] Optionally, based on the above-mentioned page element type, the target operation corresponding to the above-mentioned page element information is executed, including: in response to determining that the above-mentioned page element information type is a preset type, creating an event corresponding to the above-mentioned preset type; and sending the event corresponding to the above-mentioned preset type to the page element corresponding to the above-mentioned page element information.

[0012] Optionally, the page element information is generated through the following steps: in response to determining that the target user performs the target operation and determining that the communication connection with the page opened by the above target user is successful, monitoring the operation of the above target user; in response to monitoring the user operation of the above target user, determining the number of the page element operated by the above user; and determining the page element information corresponding to the above number.

[0013] Optionally, determining the page element information corresponding to the number includes: determining the page element of the number in the document object model corresponding to the page opened by the target user to generate the page element information.

[0014] In a second aspect, some embodiments of the present disclosure provide a data processing device, comprising: an acquisition unit configured to acquire a page element information sequence; a selection and automation operation unit configured to select page element information from the above-mentioned page element information sequence and perform the following automation operation steps: in response to determining that the target page contains the page element corresponding to the selected page element information, perform the target operation corresponding to the selected page element information; determine the number of requests corresponding to the above-mentioned target operation within a preset time length; in response to determining that the number of returned requests and the above-mentioned number of requests meet a preset condition and that the above-mentioned page element information sequence contains unselected page element information, form a new page element information sequence with the page element information not taken out from the above-mentioned page element information sequence, select page element information from the re-formed page element information sequence, and perform the above-mentioned automation operation steps.

[0015] Optionally, the device further includes: in response to the absence of unselected page element information in the above-mentioned page element information sequence, ending the above-mentioned automatic operation step.

[0016] Optionally, the acquiring unit is further configured to: in response to detecting a user operation on a control corresponding to the automation operation, acquire a page element information sequence corresponding to the automation operation from the target storage device.

[0017] Optionally, the selection and automation operation unit is further configured to: determine the page element type corresponding to the above-mentioned page element information; and based on the above-mentioned page element type, execute the target operation corresponding to the above-mentioned page element information.

[0018] Optionally, the selection and automation operation unit is further configured to: in response to determining that the above-mentioned page element information type is a preset type, create an event corresponding to the above-mentioned preset type; and send the event corresponding to the above-mentioned preset type to the page element corresponding to the above-mentioned page element information.

[0019] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by one or more processors, the one or more processors implement the method described in any implementation of the first aspect above.

[0020] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation of the first aspect is implemented.

[0021] The above-described embodiments of the present disclosure have the following beneficial effects: Through the data processing methods of some embodiments of the present disclosure, the consumption of human and material resources is reduced and the efficiency of business processing is improved. Specifically, the inventors discovered that the reason for low data processing efficiency is that some businesses with fixed processing flows that require repeated execution contain a large number of repetitive operation steps, and such businesses are often completed manually. Based on this, the data processing methods of some embodiments of the present disclosure first obtain a page element information sequence. By obtaining the page element information sequence, the operation content corresponding to the business is determined. Secondly, by continuously extracting page element information from the page element information sequence and automatically executing the corresponding operation, the business is automated. Because the time intervals between different operations often vary, the number of requests and the amount of returned information are monitored. By determining the relationship between the number of requests and the amount of returned information, the timing issue of executing the operation steps is resolved, thereby ensuring that the automated processing is executed according to the business process sequence. This method can effectively automatically process businesses with fixed business processing flows that require repeated execution, thereby improving business processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0023] Figure 1 is a schematic diagram of an application scenario of the data processing method according to some embodiments of the present disclosure;

[0024] Figure 2 is a flow chart of some embodiments of the data processing method according to the present disclosure;

[0025] Figure 3 is a schematic diagram of a target page in some embodiments of the data processing method according to the present disclosure;

[0026] Figure 4 are flowcharts of other embodiments of the data processing method according to the present disclosure;

[0027] Figure 5 is a schematic structural diagram of some embodiments of a data processing device according to the present disclosure;

[0028] Figure 6 is a schematic structural diagram of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0029] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0030] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.

[0031] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0032] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0033] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0034] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0035] Figure 1 It is a schematic diagram of an application scenario of the data processing method of some embodiments of the present disclosure.

[0036] exist Figure 1 In the application scenario, first, the computing device 101 can obtain a page element information sequence 102. Then, the computing device 101 can select page element information from the above-mentioned page element information sequence 102 and perform the following automated operation steps 103: in response to determining that the target page 104 contains the selected page element information, perform a target operation 105 corresponding to the selected page element information; determine the number of requests 106 corresponding to the above-mentioned target operation 105 within a preset time length; in response to determining that the number of returned requests 107 and the above-mentioned number of requests 105 meet the preset conditions and that the above-mentioned page element information sequence 102 contains unselected page element information, form a new page element information sequence with the page element information that has not been taken out from the above-mentioned page element information sequence 102, select page element information from the re-formed page element information sequence, and perform the above-mentioned automated operation steps 103.

[0037] It should be noted that the computing device 101 can be either hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device. When the computing device is software, it can be installed in the hardware devices listed above. It can be implemented as multiple software or software modules for providing distributed services, or as a single software or software module. No specific limitations are given here.

[0038] It should be understood that Figure 1 The number of computing devices in the embodiment is merely illustrative. Any number of computing devices may be provided according to implementation requirements.

[0039] Continue to refer Figure 2 , shows a flowchart 200 of some embodiments of the data processing method according to the present disclosure. The data processing method comprises the following steps:

[0040] Step 201: Obtain a page element information sequence.

[0041] In some embodiments, the execution subject of the data processing method (such as Figure 1The computing device 101 shown may obtain the above-mentioned page element information sequence via a wired connection or a wireless connection. The above-mentioned page element information may include, but is not limited to, page element coordinates, page element content, and page element name. The above-mentioned page element coordinates may be coordinates in a web page coordinate system. The above-mentioned web page coordinate system may be a coordinate system established with the upper left corner of the web page as the origin, a line parallel to the horizontal direction as the horizontal axis, and a line parallel to the vertical direction as the vertical axis. The above-mentioned page element coordinates may be in pixels.

[0042] As an example, the above page element information may be [(12, 20), "Login", "Button 1"].

[0043] Step 202: Select page element information from the page element information sequence and perform the following automated operation steps:

[0044] Step 2021 : In response to determining that the target page includes the page element corresponding to the selected page element information, executing the target operation corresponding to the selected page element information.

[0045] In some embodiments, the execution entity may execute the target operation corresponding to the selected page element information in response to determining that the target page contains the page element corresponding to the selected page element information. Among them, whether the target page contains the page element corresponding to the above-mentioned page element information can be determined by judging whether the target page contains a page element with the same name as the page element included in the above-mentioned page element information. Whether the target page contains the page element corresponding to the above-mentioned page element information can also be determined by judging whether the type of the page element at the same position as the page element included in the above-mentioned page element information in the target page is the same as the page element content included in the above-mentioned page element information. The target operation corresponding to the above-mentioned page element information can be pre-set.

[0046] As an example, the above page element information may be [(12, 20), "Login", "Button 1"]. The page elements corresponding to the above page element information may be as follows: Figure 3 The page element 301 is shown. The target operation corresponding to the above page element information may be "double-click the mouse".

[0047] As another example, the page element information may be [(20, 20), "Exit", "Button 2"]. The page element corresponding to the above page element information may be as follows: Figure 3 The page element 302 is shown. The target operation corresponding to the above page element information may be "click the mouse".

[0048] Step 2022: Determine the number of requests corresponding to the target operation within a preset time period.

[0049] In some embodiments, the execution entity may determine the number of requests corresponding to the target operation within a preset time period by setting a listener and a counter. The listener is configured to listen for requests corresponding to the target operation. The counter is configured to accumulate the number of requests. The counter is initially set to 0. In response to determining that the listener has listened to a request corresponding to the target operation, the counter is incremented by 1.

[0050] Step 2023, in response to determining that the number of returned requests and the number of requests meet the preset conditions and there is unselected page element information in the above-mentioned page element information sequence, the page element information that has not been taken out of the page element information sequence is formed into a new page element information sequence, and the page element information is selected from the re-formed page element information sequence to execute the automated operation steps.

[0051] In some embodiments, the execution subject may, in response to determining that the number of returned requests and the number of requests meet a preset condition and that there is unselected page element information in the page element information sequence, form a new page element information sequence with the page element information that has not been taken out of the page element information sequence, select page element information from the reconstituted page element information sequence, and execute the automated operation steps. The number of returned requests is used to represent the number of times the request corresponding to the target operation is successfully executed. The preset condition may be that the number of returned requests is the same as the number of requests.

[0052] The above-described embodiments of the present disclosure have the following beneficial effects: Through the data processing methods of some embodiments of the present disclosure, the consumption of human and material resources is reduced and the efficiency of business processing is improved. Specifically, the inventors discovered that the reason for low data processing efficiency is that some businesses with fixed processing flows that require repeated execution contain a large number of repetitive operation steps, and such businesses are often completed manually. Based on this, the data processing methods of some embodiments of the present disclosure first obtain a page element information sequence. By obtaining the page element information sequence, the operation content corresponding to the business is determined. Secondly, by continuously extracting page element information from the page element information sequence and automatically executing the corresponding operation, the business is automated. Because the time intervals between different operations often vary, the number of requests and the amount of returned information are monitored. By determining the relationship between the number of requests and the amount of returned information, the timing issue of executing the operation steps is resolved, thereby ensuring that the automated processing is executed according to the business process sequence. This method can effectively automatically process businesses with fixed business processing flows that require repeated execution, thereby improving business processing efficiency.

[0053] Further references Figure 4, which shows a process 400 of another embodiment of a data processing method. The process 400 of the data processing method includes the following steps:

[0054] Step 401 : in response to detecting a user operation on a control corresponding to an automation operation, obtaining a page element information sequence corresponding to the automation operation from a target storage device.

[0055] In some embodiments, the execution entity may obtain a sequence of page element information corresponding to an automated operation from a target storage device in response to detecting a user operation on a control corresponding to the automated operation. The control may be used to control the state of the automated operation. The control may be a button. The target storage device is used to store a sequence of page element information. The target device may be a distributed server or a NAS (Network Attached Storage). The page element information may include: a page element tag name and a page element number. The page element information may be generated by the following steps:

[0056] In the first step, in response to determining that the target user performs the target operation and determining that the communication connection with the page opened by the target user is successful, the target user's operation is monitored. Wherein, whether the communication connection is successful can be determined by determining the status code returned by the communication connection request sent to the above page.

[0057] As an example, the status code can be "200" or "408." "200" may indicate that the communication connection with the page opened by the target user is successful. "408" may indicate that the communication connection with the page opened by the target user has timed out.

[0058] The second step is to determine the page element number of the user-operated element in response to monitoring the user operation of the target user. First, a mouse listener or keyboard listener can be created to monitor the user's click operation or input operation, thereby determining the page element operated by the user. Second, the number value corresponding to the number attribute of the page element can be used as the page element number.

[0059] The third step is to determine the page element information corresponding to the number, wherein the page element information can be generated by determining the page element in the document object model corresponding to the page opened by the target user.

[0060] As an example, the page element information may be [“input box”, id1]. The page element information may also be [“button”, id2].

[0061] Step 402: Select page element information from the page element information sequence and perform the following automated operation steps:

[0062] Step 4021 : In response to determining that the target page includes the page element corresponding to the selected page element information, determine the page element type corresponding to the page element information.

[0063] In some embodiments, the execution entity may first determine whether the target page contains a page element with the same page element number as the page element information. Then, it may determine whether the page element type with the same page element number as the page element information is the same as the page element tag name included in the page element information. This can then be used to determine whether the target page contains the page element corresponding to the selected page element information.

[0064] Step 4022 : In response to determining that the target page includes the page element corresponding to the selected page element information, based on the page element type, executing the target operation corresponding to the page element information.

[0065] In some embodiments, the execution entity may, in response to determining that the target page contains the page element corresponding to the selected page element information, execute the target operation corresponding to the page element information based on the page element type.

[0066] As an example, the page element type may be an "input box." Therefore, pre-prepared data, such as "Name: XXX," may be injected into the page element "input box" corresponding to the page element information.

[0067] In some optional implementations of some embodiments, in response to determining that the target page includes the page element corresponding to the selected page element information, the execution entity performs the target operation corresponding to the page element information based on the page element type, which may include the following steps:

[0068] In the first step, in response to determining that the page element information type is a preset type, an event corresponding to the preset type is created. The preset type may be a "button" or a "check box." The event corresponding to the preset type may be a "mouse event."

[0069] The second step is to send the event corresponding to the preset type to the page element corresponding to the page element information.

[0070] As an example, the page element type may be a "button," so a "mouse event" may be created to perform a click operation on the page element corresponding to the page element information.

[0071] Step 4023: Determine the number of requests corresponding to the target operation within a preset time period.

[0072] Step 4024, in response to determining that the number of returned requests and the number of requests meet the preset conditions and there is unselected page element information in the page element information sequence, the page element information that has not been taken out of the page element information sequence is formed into a new page element information sequence, and the page element information is selected from the re-formed page element information sequence, and the above-mentioned automated operation steps are executed.

[0073] In some embodiments, the specific implementation of step 4023 and step 4024 and the technical effects thereof can be referred to Figure 2 Steps 2022 and 2023 in the corresponding embodiments are not described in detail here.

[0074] Step 4025 , in response to determining that there is unselected page element information in the page element information sequence, the automated operation steps are terminated.

[0075] In some embodiments, the execution entity may terminate the automated operation step in response to determining that there is unselected page element information in the page element information sequence. The length of the page element information sequence may be determined to determine whether there is unselected page element information in the page element information sequence. When the length of the page element information sequence is 0, it may be determined that there is no unselected page element information in the page element information sequence. An empty page element information sequence may also be compared with the page element information sequence. If the two are the same, it may be determined that there is no unselected page element information in the page element information sequence.

[0076] The above-described embodiments of the present disclosure have the following beneficial effects: First, by detecting the status of the control corresponding to the automated operation, the timing for starting the automated operation is determined. Second, during the automated operation step, the present disclosure determines the page element type corresponding to the page element information. Then, based on the page element type, the target operation corresponding to the page element information is executed, thereby solving the problem of data injection timing. In practice, an automated process often includes multiple input operations and click operations, and the input operations and click operations are often not sequential. For example, an automated process may include an input operation, a click operation, and an input operation. When executing the second operation (click operation) of the automated process, it is unclear whether data injection is required. By determining the element type corresponding to the page element information, the above-mentioned problem is effectively solved, thereby ensuring the smooth execution of the automated operation step. In addition, the present disclosure introduces the determination of the status of the page element information sequence. In practice, when there is no unselected page element information in the page element information sequence, it indicates that the corresponding automated operation step has been completed. By incorporating the determination of the page element information sequence status, the automated operation step can be terminated in a timely manner, ensuring the robustness of the operation process.

[0077] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a data processing device. These device embodiments are similar to Figure 2 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.

[0078] like Figure 5 As shown, the data processing device 500 of some embodiments includes: an acquisition unit 501 and a selection and automation operation unit 502. Among them, the acquisition unit 501 is configured to acquire a page element information sequence. The selection and automation operation unit 502 is configured to select page element information from the above-mentioned page element information sequence and perform the following automation operation steps: in response to determining that the target page contains the page element corresponding to the selected page element information, perform the target operation corresponding to the selected page element information; determine the number of requests corresponding to the above-mentioned target operation within a preset time length; in response to determining that the number of returned requests and the above-mentioned number of requests meet the preset conditions and there is unselected page element information in the above-mentioned page element information sequence, form a new page element information sequence with the page element information that has not been taken out of the above-mentioned page element information sequence, select page element information from the re-formed page element information sequence, and perform the above-mentioned automation operation steps.

[0079] In an optional implementation of some embodiments, the apparatus 500 further includes: an automated operation step ending unit configured to end the automated operation step in response to the presence of unselected page element information in the page element information sequence.

[0080] In an optional implementation of some embodiments, the acquisition unit 501 is further configured to: in response to detecting a user operation on a control corresponding to an automation operation, acquire a page element information sequence corresponding to the automation operation from a target storage device.

[0081] In an optional implementation of some embodiments, the selection and automation operation unit 502 is further configured to: determine the page element type corresponding to the above-mentioned page element information; and based on the above-mentioned page element type, execute the target operation corresponding to the above-mentioned page element information.

[0082] In an optional implementation of some embodiments, the selection and automation operation unit 502 is further configured to: in response to determining that the above-mentioned page element information type is a preset type, create an event corresponding to the above-mentioned preset type; and send the event corresponding to the above-mentioned preset type to the page element corresponding to the above-mentioned page element information.

[0083] Reference below Figure 6 , which shows an electronic device suitable for implementing some embodiments of the present disclosure (such as Figure 1 The structural diagram of the computing device 101)600 is shown. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0084] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0085] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead. Figure 6 Each block shown in the figure may represent one device, or may represent multiple devices as needed.

[0086] In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from a network via the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of some embodiments of the present disclosure are performed.

[0087] It should be noted that the computer-readable medium described in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or device. In some embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0088] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0089] The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist independently and not be assembled into the electronic device. The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device is enabled to: obtain a page element information sequence. Select page element information from the above-mentioned page element information sequence and perform the following automated operation steps: in response to determining that the target page contains the page element corresponding to the selected page element information, perform the target operation corresponding to the selected page element information; determine the number of requests corresponding to the above-mentioned target operation within a preset time length; in response to determining that the number of returned requests and the above-mentioned number of requests meet the preset conditions and there is unselected page element information in the above-mentioned page element information sequence, form a new page element information sequence with the page element information that has not been taken out of the above-mentioned page element information sequence, select page element information from the re-formed page element information sequence, and perform the above-mentioned automated operation steps.

[0090] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0091] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0092] The units described in some embodiments of the present disclosure may be implemented in software or hardware. The units described may also be provided in a processor. For example, they may be described as follows: a processor including an extraction unit, an acquisition unit, and a selection and automation operation unit. The names of these units do not, in some cases, constitute limitations on the units themselves. For example, the acquisition unit may also be described as a "unit for acquiring a sequence of page element information."

[0093] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0094] The above description is only an illustration of some preferred embodiments of the present disclosure and the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.

Claims

1. A data processing method, comprising: Get the page element information sequence; Select page element information from the page element information sequence and perform the following automated operation steps: In response to determining that the target page includes the page element corresponding to the selected page element information, executing the target operation corresponding to the selected page element information; Determine the number of requests corresponding to the target operation within a preset time period; In response to determining that the number of returned requests and the number of requests meet a preset condition and there is unselected page element information in the page element information sequence, the page element information that has not been taken out of the page element information sequence is formed into a new page element information sequence, and page element information is selected from the recomposed page element information sequence to execute the automated operation step, wherein the number of returned requests is used to represent the number of times the request corresponding to the target operation is successfully executed, and the preset condition is that the number of returned requests is the same as the number of requests.

2. The method according to claim 1, wherein The method further comprises: In response to determining that there is no unselected page element information in the page element information sequence, the automated operation step is ended.

3. The method according to claim 1, wherein The step of obtaining a page element information sequence includes: In response to detecting a user operation on a control corresponding to an automation operation, a page element information sequence corresponding to the automation operation is acquired from a target storage device.

4. The method according to claim 1, wherein The executing the target operation corresponding to the selected page element information includes: Determining the page element type corresponding to the page element information; Based on the page element type, a target operation corresponding to the page element information is executed.

5. The method according to claim 4, wherein The executing a target operation corresponding to the page element information based on the page element type includes: In response to determining that the page element information type is a preset type, creating an event corresponding to the preset type; Sending an event corresponding to the preset type to the page element corresponding to the page element information.

6. The method according to claim 1, wherein The page element information is generated by the following steps: In response to determining that the target user performs the target operation and determining that the communication connection with the page opened by the target user is successful, monitoring the operation of the target user; In response to monitoring a user operation of the target user, determining the number of the page element operated by the user; Determine the page element information corresponding to the number.

7. The method according to claim 6, wherein: The determining of the page element information corresponding to the number includes: The page element numbered in the document object model corresponding to the page opened by the target user is determined to generate the page element information.

8. A data processing device comprising: an acquiring unit, configured to acquire a page element information sequence; The selection and automation operation unit is configured to select page element information from the page element information sequence and perform the following automation operation steps: In response to determining that the target page includes the page element corresponding to the selected page element information, executing the target operation corresponding to the selected page element information; Determine the number of requests corresponding to the target operation within a preset time period; In response to determining that the number of returned requests and the number of requests meet a preset condition and there is unselected page element information in the page element information sequence, the page element information that has not been taken out of the page element information sequence is formed into a new page element information sequence, and page element information is selected from the recomposed page element information sequence to execute the automated operation step, wherein the number of returned requests is used to represent the number of times the request corresponding to the target operation is successfully executed, and the preset condition is that the number of returned requests is the same as the number of requests.

9. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer-readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Page generation method, apparatus and device

    CN109241473A

  • Data request method and device

    CN111787043A