CN113722634A - Data processing method and device, electronic equipment and computer readable medium - Google Patents

Data processing method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN113722634A
CN113722634A CN202011287173.8A CN202011287173A CN113722634A CN 113722634 A CN113722634 A CN 113722634A CN 202011287173 A CN202011287173 A CN 202011287173A CN 113722634 A CN113722634 A CN 113722634A
Authority
CN
China
Prior art keywords
page element
element information
page
target
sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011287173.8A
Other languages
Chinese (zh)
Inventor
吴远
贾林江
周伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information 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 Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202011287173.8A priority Critical patent/CN113722634A/en
Publication of CN113722634A publication Critical patent/CN113722634A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure discloses a data processing method, a data processing device, an electronic device and a computer readable medium. One embodiment of the method comprises: acquiring a page element information sequence; selecting page element information from the page element information sequence, and executing the following automatic operation steps: in response to determining that the target page contains the page element corresponding to the selected page element information, performing target operation corresponding to the selected page element information; determining the number of times of requests corresponding to target operation within a preset time length; and in response to the fact that the number of the returned requests and the number of the requests meet preset conditions and the page element information sequence has unselected page element information, combining the page element information which is not taken out of the page element information sequence into a new page element information sequence, selecting the page element information from the recombined page element information sequence, and executing an automatic operation step. The implementation mode reduces waste of resources such as manpower and material resources and improves the efficiency of business processing.

Description

Data processing method and device, electronic equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a data processing method and apparatus, an electronic device, and a computer-readable medium.
Background
Data processing in a business scenario is a technology for processing data through a certain rule. The currently common method is to perform data processing by manual means, for example, to perform data review manually.
However, when data processing is performed in the above manner, there are often technical problems as follows:
for the business with fixed processing flow and needing to be executed repeatedly, a large amount of manpower and material resources are consumed, and the business processing efficiency is reduced.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose data processing methods, apparatuses, electronic devices and computer readable media to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a data processing method, including: and acquiring a page element information sequence. Selecting page element information from the page element information sequence, and executing the following automatic operation steps: in response to determining that the target page contains the page element corresponding to the selected page element information, performing target operation corresponding to the selected page element information; determining the number of times of requests corresponding to the target operation within a preset time length; and in response to the fact that the number of the returned requests and the number of the requests meet preset conditions and the page element information sequence has unselected page element information, combining the page element information which is not taken out of the page element information sequence into a new page element information sequence, selecting the page element information from the re-combined page element information sequence, and executing the automatic operation step.
Optionally, the method further comprises: and responding to the page element information sequence without unselected page element information, and ending the automatic operation step.
Optionally, obtaining the page element information sequence includes: and responding to the detected user operation of the control corresponding to the automatic operation, and acquiring the page element information sequence corresponding to the automatic operation from the target storage device.
Optionally, executing a target operation corresponding to the selected page element information, including: determining a page element type corresponding to the page element information; and executing the target operation corresponding to the page element information based on the page element type.
Optionally, based on the page element type, executing a target operation corresponding to the page element information, where the target operation includes: in response to the fact that the type of the page element information is determined to be a preset type, creating an event corresponding to the preset type; and sending the event corresponding to the preset type to the page element corresponding to the page element information.
Optionally, the page element information is generated by the following steps: monitoring the operation of a target user in response to the fact that the target user executes the target operation and the fact that the page communication connection opened by the target user is successful; responding to the monitored user operation of the target user, and determining the number of the page element of the user operation; and determining the page element information corresponding to the number.
Optionally, determining the page element information corresponding to the number includes: and determining the page elements of the numbers in the document object model corresponding to the page opened by the target user to generate the page element information.
In a second aspect, some embodiments of the present disclosure provide a data processing apparatus comprising: an acquisition unit configured to acquire a page element information sequence. A selecting and automation operation unit configured to select page element information from the sequence of page element information, performing the following automation operation steps: in response to determining that the target page contains the page element corresponding to the selected page element information, performing target operation corresponding to the selected page element information; determining the number of times of requests corresponding to the target operation within a preset time length; and in response to the fact that the number of the returned requests and the number of the requests meet preset conditions and the page element information sequence has unselected page element information, combining the page element information which is not taken out of the page element information sequence into a new page element information sequence, selecting the page element information from the re-combined page element information sequence, and executing the automatic operation step.
Optionally, the apparatus further comprises: and responding to the page element information sequence without unselected page element information, and ending the automatic operation step.
Optionally, the obtaining unit is further configured to: and responding to the detected user operation of the control corresponding to the automatic operation, and acquiring the page element information sequence corresponding to the automatic operation from the target storage device.
Optionally, the selection and automation unit is further configured to: determining a page element type corresponding to the page element information; and executing the target operation corresponding to the page element information based on the page element type.
Optionally, the selection and automation unit is further configured to: in response to the fact that the type of the page element information is determined to be a preset type, creating an event corresponding to the preset type; and sending the event corresponding to the preset type to the page element corresponding to the page element information.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following advantages: by the data processing method of some embodiments of the present disclosure, consumption of manpower and material resources is reduced and efficiency of business processing is improved. Specifically, the inventors found that the reason for the low data processing efficiency is that: some businesses that have a fixed process flow and need to be repeated multiple times include a large number of repetitive operation steps, and such businesses are often done manually. Based on this, the data processing method of some embodiments of the present disclosure, first, obtains a page element information sequence. And determining the operation content corresponding to the service by acquiring the page element information sequence. And secondly, continuously taking out the page element information from the page element information sequence and automatically executing corresponding operation, thereby realizing the automatic processing of the service. Since the time intervals between different operations often differ, the number of requests and the amount of returned information are snooped. By judging the relation between the request times and the number of the returned information, the time problem of the execution of the operation steps is solved, and further, the automatic processing can be executed according to the sequence of the business process. The method can better and automatically process the business which has a fixed business processing flow and needs to be executed repeatedly, thereby improving the efficiency of business processing.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of one application scenario of a data processing method according to some embodiments of the present disclosure;
FIG. 2 is a flow diagram of some embodiments of a data processing method according to the present disclosure;
FIG. 3 is a schematic illustration of a target page in some embodiments of a data processing method according to the present disclosure;
FIG. 4 is a flow diagram of further embodiments of a data processing method according to the present disclosure;
FIG. 5 is a schematic block diagram of some embodiments of a data processing apparatus according to the present disclosure;
FIG. 6 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram of an application scenario of a data processing method of some embodiments of the present disclosure.
In the application scenario of fig. 1, first, the computing device 101 may obtain a sequence of page element information 102. The computing device 101 may then extract page element information from the sequence of page element information 102, performing the following automated operation steps 103: in response to determining that the target page 104 includes the selected page element information, performing a target operation 105 corresponding to the selected page element information; determining the number 106 of corresponding requests of the target operation 105 in a preset time length; in response to determining that the number of return requests 107 and the number of requests 105 satisfy a preset condition and the page element information sequence 102 has unselected page element information, forming a new page element information sequence from the unselected page element information in the page element information sequence 102, selecting page element information from the newly formed page element information sequence, and executing the automatic operation step 103.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices enumerated above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices in FIG. 1 is merely illustrative. There may be any number of computing devices, as implementation needs dictate.
With continued reference to fig. 2, a flow diagram 200 of some embodiments of a data processing method according to the present disclosure is shown. The data processing method comprises the following steps:
step 201, a page element information sequence is obtained.
In some embodiments, the execution subject of the data processing method (e.g., the computing device 101 shown in fig. 1) may obtain the above-mentioned page element information sequence by means of a wired connection or a wireless connection. The page element information may include, but is not limited to: page element coordinates, page element content, page element name. The page element coordinates may be coordinates in a web page coordinate system, and the web page coordinate system may be a coordinate system established with an upper left corner of the web page as an origin, a line parallel to the horizontal direction as a horizontal axis, and a line parallel to the vertical direction as a vertical axis. The page element coordinates may be in units of pixels.
As an example, the above page element information may be [ (12, 20), "login", "button 1" ].
Step 202, selecting page element information from the page element information sequence, and executing the following automated operation steps:
step 2021, in response to determining that the target page includes the page element corresponding to the selected page element information, performing a target operation corresponding to the selected page element information.
In some embodiments, the executing body may execute the target operation corresponding to the information of the selected page element in response to determining that the target page includes the page element corresponding to the information of the selected page element. And determining whether the target page contains the page element corresponding to the page element information by judging whether the target page contains the page element with the same name as the page element contained in the page element information. Whether the target page includes the page element corresponding to the page element information may also be determined by determining whether the type of the page element in the target page at the same position as the page element coordinate included in the page element information is the same as the page element content included in the page element information. The target operation corresponding to the page element information may be preset.
As an example, the above page element information may be [ (12, 20), "login", "button 1" ]. The page element corresponding to the page element information may be the page element 301 shown in fig. 3. The target operation corresponding to the page element information may be "double-click mouse".
As yet another example, the above page element information may be [ (20, 20), "exit", "button 2" ]. The page element corresponding to the page element information may be the page element 302 shown in fig. 3. The target operation corresponding to the page element information may be "mouse click".
Step 2022, determining the number of times of requests corresponding to the target operation within the preset time length.
In some embodiments, the execution subject 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 used for monitoring a request corresponding to a target operation. The counter is used for accumulating the number of requests. The counter is initially 0. And in response to determining that the listener listens to the request corresponding to the target operation, the counter is incremented by 1.
Step 2023, in response to determining that the number of the return requests and the number of the requests satisfy the preset condition and that the page element information sequence has unselected page element information, forming the unselected page element information in the page element information sequence into a new page element information sequence, selecting page element information from the newly formed page element information sequence, and executing the automated operation step.
In some embodiments, the execution main body may, in response to determining that the number of return requests and the number of requests satisfy a preset condition and that the page element information sequence has unselected page element information, combine the page element information that is not taken out of the page element information sequence into a new page element information sequence, select page element information from the re-combined page element information sequence, and execute the automation operation step. And the number of the returned requests is used for representing the number of times of successful execution of the request corresponding to the target operation. The preset condition may be that the number of the return requests is the same as the number of the requests.
The above embodiments of the present disclosure have the following advantages: by the data processing method of some embodiments of the present disclosure, consumption of manpower and material resources is reduced and efficiency of business processing is improved. Specifically, the inventors found that the reason for the low data processing efficiency is that: some businesses that have a fixed process flow and need to be repeated multiple times include a large number of repetitive operation steps, and such businesses are often done manually. Based on this, the data processing method of some embodiments of the present disclosure, first, obtains a page element information sequence. And determining the operation content corresponding to the service by acquiring the page element information sequence. And secondly, continuously taking out the page element information from the page element information sequence and automatically executing corresponding operation, thereby realizing the automatic processing of the service. Since the time intervals between different operations often differ, the number of requests and the amount of returned information are snooped. By judging the relation between the request times and the number of the returned information, the time problem of the execution of the operation steps is solved, and further, the automatic processing can be executed according to the sequence of the business process. The method can better and automatically process the business which has a fixed business processing flow and needs to be executed repeatedly, thereby improving the efficiency of business processing.
With further reference to FIG. 4, a flow 400 of further embodiments of a data processing method is shown. The flow 400 of the data processing method includes the following steps:
step 401, in response to detecting a user operation for a control corresponding to an automation operation, acquiring a page element information sequence corresponding to the automation operation from a target storage device.
In some embodiments, the execution subject may obtain, from the target storage device, a sequence of page element information corresponding to the automation operation in response to detecting the user operation for the control corresponding to the automation operation. The control can be used for controlling the state of the automatic operation. The control may be a button. The target storage device is used for storing the page element information sequence. The target device may be a distributed server or a NAS (Network Attached Storage). The page element information may include: page element tag name, page element number. The page element information may be generated by:
the method comprises the steps of responding to the fact that a target user executes target operation and the fact that page communication connection opened by the target user is successful, and monitoring operation of the target user. Wherein, whether the communication connection is successful can be judged by determining the status code returned by the communication connection request sent to the page.
As an example, the status code may be "200" or "408". "200" may characterize a successful communication connection with the page opened by the target user. "408" may characterize a timeout of a communication connection with the page opened by the target user.
And secondly, responding to the monitored user operation of the target user, and determining the number of the page element of the user operation. Firstly, a mouse listener or a keyboard listener can be created to monitor the click operation or input operation of a user, so as to determine the page elements operated by the user. Next, the number value corresponding to the number attribute of the page element may be used as the number of the page element.
And thirdly, determining page element information corresponding to the serial numbers. The page element information may be generated by determining a page element of the number in the document object model corresponding to the page opened by the target user.
As an example, the above-mentioned page element information may be [ "input box", id1 ]. The above page element information may also be [ "button", id2 ].
Step 402, selecting page element information from the page element information sequence, and executing the following automated operation steps:
step 4021, in response to determining that the target page includes the page element corresponding to the selected page element information, determining the page element type corresponding to the page element information.
In some embodiments, the execution main body may first determine whether the target page includes a page element having a same page element number as a page element included in the page element information. Then, it is determined whether the page element type having 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. And determining whether the target page comprises the page elements corresponding to the selected page element information.
Step 4022, in response to determining that the target page includes the page element corresponding to the selected page element information, executing a target operation corresponding to the page element information based on the page element type.
In some embodiments, the execution subject may execute the target operation corresponding to the page element information based on the page element type in response to determining that the target page includes the page element corresponding to the selected page element information.
As an example, the above page element type may be "input box". Therefore, the page element "input box" corresponding to the page element information can be injected with data prepared in advance, for example, "name: XXX ".
In some optional implementations of some embodiments, in response to determining that the target page includes a page element corresponding to the selected page element information, the executing body may execute a target operation corresponding to the page element information based on the page element type, and may include the following steps:
the first step, in response to the fact that the type of the page element information is determined to be a preset type, an event corresponding to the preset type is created. Wherein, the preset type can be a "button" or a "check box". The event corresponding to the preset type may be a "mouse event".
And secondly, sending the event corresponding to the preset type to the page element corresponding to the page element information.
By way of example, the page element type described above may be a "button". Therefore, a 'mouse event' can be created, and the page element corresponding to the page element information is clicked.
Step 4023, determining the number of times of requests corresponding to the target operation within a preset time.
Step 4024, in response to the fact that the number of the return requests and the number of the requests meet the preset conditions and the page element information sequence has unselected page element information, combining the page element information which is not taken out of the page element information sequence into a new page element information sequence, selecting the page element information from the re-combined page element information sequence, and executing the automatic operation step.
In some embodiments, specific implementation and technical effects of step 4023 and step 4024 may refer to step 2022 and step 2023 in those embodiments corresponding to fig. 2, which are not described herein again.
Step 4025, in response to determining that the page element information sequence has unselected page element information, ending the automated operation step.
In some embodiments, the execution body may end the automation step in response to determining that the sequence of page element information includes page element information that has not been selected. The length of the page element information sequence can be determined to determine whether the page element information sequence has unselected page element information. When the length of the page element information sequence is 0, it may be determined that the page element information sequence does not have unselected page element information. The comparison with the page element information sequence may also be performed by a sequence of empty page element information. If the two are the same, it can be determined that the page element information sequence does not have unselected page element information.
The above embodiments of the present disclosure have the following advantages: firstly, the state of the control corresponding to the automatic operation is detected. Thus, the timing for starting the automation operation is determined. Secondly, in the automatic operation step, the method determines the page element type corresponding to the page element information. And then, executing target operation corresponding to the page element information according to the page element type, thereby solving the problem of data injection opportunity. In practical situations, an automation process often includes multiple input operations and click operations, and there is often no order between the input operations and the click operations. For example, an automated process may include an input operation, a click operation, an enter operation. When the second operation (click operation) of the above-described automation flow is performed, it is not possible to determine whether or not data needs to be injected. The problem is solved well by a mode of determining the element type corresponding to the page element information. Thereby ensuring smooth execution of the automation operation steps. In addition, the present disclosure also introduces the determination of the state of the page element information sequence. In practical cases, when the page element information sequence does not have unselected page element information, it indicates that the corresponding automation operation step has been executed. By adding the judgment on the state of the page element information sequence, the automatic operation steps are ended in time, and the robustness of the operation flow is ensured.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a data processing apparatus, which correspond to those shown in fig. 2, and which may be applied in particular to various electronic devices.
As shown in fig. 5, the data processing apparatus 500 of some embodiments includes: an acquisition unit 501 and a selection and automation operation unit 502. Wherein, the obtaining unit 501 is configured to obtain the page element information sequence. A selecting and automation operation unit 502 configured to select page element information from the sequence of page element information, 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, performing target operation corresponding to the selected page element information; determining the number of times of requests corresponding to the target operation within a preset time length; and in response to the fact that the number of the returned requests and the number of the requests meet preset conditions and the page element information sequence has unselected page element information, combining the page element information which is not taken out of the page element information sequence into a new page element information sequence, selecting the page element information from the re-combined page element information sequence, and executing the automatic operation step.
In an optional implementation of some embodiments, the apparatus 500 further comprises: and the automatic operation step ending unit is configured to respond to the page element information sequence that has unselected page element information, and end the automatic operation step.
In an optional implementation of some embodiments, the obtaining unit 501 is further configured to: and responding to the detected user operation of the control corresponding to the automatic operation, and acquiring the page element information sequence corresponding to the automatic operation from the target storage device.
In an optional implementation of some embodiments, the selecting and automation operation unit 502 is further configured to: determining a page element type corresponding to the page element information; and executing the target operation corresponding to the page element information based on the page element type.
In an optional implementation of some embodiments, the selecting and automation operation unit 502 is further configured to: in response to the fact that the type of the page element information is determined to be a preset type, creating an event corresponding to the preset type; and sending the event corresponding to the preset type to the page element corresponding to the page element information.
Referring now to FIG. 6, a block diagram of an electronic device (such as computing device 101 shown in FIG. 1)600 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
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. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: and acquiring a page element information sequence. Selecting page element information from the page element information sequence, and executing the following automatic operation steps: in response to determining that the target page contains the page element corresponding to the selected page element information, performing target operation corresponding to the selected page element information; determining the number of times of requests corresponding to the target operation within a preset time length; and in response to the fact that the number of the returned requests and the number of the requests meet preset conditions and the page element information sequence has unselected page element information, combining the page element information which is not taken out of the page element information sequence into a new page element information sequence, selecting the page element information from the re-combined page element information sequence, and executing the automatic operation step.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of 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 the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a calibration extraction unit, an acquisition unit, and a selection and automation operation unit. Where the names of these units do not in some cases constitute a limitation on the unit itself, for example, the acquisition unit may also be described as a "unit that acquires a page element information sequence".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, 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 a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A method of data processing, comprising:
acquiring a page element information sequence;
selecting page element information from the page element information sequence, and executing the following automatic operation steps:
in response to determining that the target page contains the page element corresponding to the selected page element information, performing target operation corresponding to the selected page element information;
determining the number of times of requests corresponding to the target operation within a preset time length;
and in response to the fact that the number of returned requests and the number of times of requests meet preset conditions and the page element information sequence has unselected page element information, combining the page element information which is not taken out of the page element information sequence into a new page element information sequence, selecting the page element information from the re-combined page element information sequence, and executing the automatic operation step.
2. The method of claim 1, wherein the method further comprises:
and ending the automated operation step in response to determining that the sequence of page element information does not have unselected page element information.
3. The method of claim 1, wherein said obtaining a sequence of page element information comprises:
and in response to detecting the user operation of the control corresponding to the automatic operation, acquiring a page element information sequence corresponding to the automatic operation from a target storage device.
4. The method of claim 1, wherein the performing of the target operation corresponding to the selected page element information comprises:
determining a page element type corresponding to the page element information;
and executing target operation corresponding to the page element information based on the page element type.
5. The method of claim 4, wherein the performing a target operation corresponding to the page element information based on the page element type comprises:
in response to the fact that the page element information type is determined to be a preset type, creating an event corresponding to the preset type;
and sending the event corresponding to the preset type to the page element corresponding to the page element information.
6. The method of claim 1, wherein the page element information is generated by:
monitoring the operation of a target user in response to the fact that the target user executes the target operation and the fact that the page communication connection opened by the target user is successful;
responding to the monitored user operation of the target user, and determining the number of the page element of the user operation;
and determining page element information corresponding to the number.
7. The method of claim 6, wherein the determining page element information corresponding to the number comprises:
and determining the page elements of the numbers in the document object model corresponding to the page opened by the target user to generate the page element information.
8. A data processing apparatus comprising:
an acquisition unit configured to acquire a page element information sequence;
a selecting and automation operation unit configured to select page element information from the sequence of page element information, performing the following automation operation steps:
in response to determining that the target page contains the page element corresponding to the selected page element information, performing target operation corresponding to the selected page element information;
determining the number of times of requests corresponding to the target operation within a preset time length;
and in response to the fact that the number of returned requests and the number of times of requests meet preset conditions and the page element information sequence has unselected page element information, combining the page element information which is not taken out of the page element information sequence into a new page element information sequence, selecting the page element information from the re-combined page element information sequence, and executing the automatic operation step.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
CN202011287173.8A 2020-11-17 2020-11-17 Data processing method and device, electronic equipment and computer readable medium Pending CN113722634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011287173.8A CN113722634A (en) 2020-11-17 2020-11-17 Data processing method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011287173.8A CN113722634A (en) 2020-11-17 2020-11-17 Data processing method and device, electronic equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN113722634A true CN113722634A (en) 2021-11-30

Family

ID=78672360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011287173.8A Pending CN113722634A (en) 2020-11-17 2020-11-17 Data processing method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN113722634A (en)

Similar Documents

Publication Publication Date Title
CN110955640B (en) Cross-system data file processing method, device, server and storage medium
CN115145560B (en) Business orchestration method, apparatus, device, computer-readable medium, and program product
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
CN110673886B (en) Method and device for generating thermodynamic diagrams
CN108764866B (en) Method and equipment for allocating resources and drawing resources
CN112653736B (en) Parallel source returning method and device and electronic equipment
CN112256372B (en) Information processing method and device and electronic equipment
CN111813685B (en) Automatic test method and device
CN112948138A (en) Method and device for processing message
CN116302271A (en) Page display method and device and electronic equipment
CN111382039A (en) Method, device, electronic equipment and storage medium for reporting user behavior event
CN115269063A (en) Process creation method, system, device and medium
CN113722634A (en) Data processing method and device, electronic equipment and computer readable medium
CN109614137B (en) Software version control method, device, equipment and medium
CN109960659B (en) Method and device for detecting application program
CN111274104B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN111382038B (en) Method, device, electronic equipment and storage medium for reporting service data
CN112732457A (en) Image transmission method, image transmission device, electronic equipment and computer readable medium
CN111552705A (en) Data processing method and device based on chart, electronic equipment and medium
CN111831530A (en) Test method and device
CN111767447A (en) Method and device for determining user traffic path
CN115333871B (en) Firewall operation and maintenance method and device, electronic equipment and readable storage medium
CN114253520B (en) Interface code generation method and device
CN115374187B (en) Index data acquisition method and device, electronic equipment and computer readable medium
CN116360710B (en) Data storage method applied to server cluster, electronic device and readable 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