CN108415827B - Application automation processing method, device, client and system - Google Patents

Application automation processing method, device, client and system Download PDF

Info

Publication number
CN108415827B
CN108415827B CN201810063168.5A CN201810063168A CN108415827B CN 108415827 B CN108415827 B CN 108415827B CN 201810063168 A CN201810063168 A CN 201810063168A CN 108415827 B CN108415827 B CN 108415827B
Authority
CN
China
Prior art keywords
debugging
message
application
operation instruction
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810063168.5A
Other languages
Chinese (zh)
Other versions
CN108415827A (en
Inventor
乔瑞凯
吕浩军
郭小溪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201810063168.5A priority Critical patent/CN108415827B/en
Publication of CN108415827A publication Critical patent/CN108415827A/en
Application granted granted Critical
Publication of CN108415827B publication Critical patent/CN108415827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Abstract

The embodiment of the specification provides an application automation processing method, an application automation processing device, a client and an application automation processing system. The method comprises the following steps: a debugging client running on a terminal device sends an authority application request message to a debugging server running on the terminal device; the debugging service end sends the authorization message fed back by the user to the debugging client end, and establishes connection with the debugging client end; the debugging client sends an application automation operation instruction message to a debugging server; the debugging service end executes the operation corresponding to the application automation operation instruction message; and the debugging service end sends the execution result message of the operation to the debugging client end to finish the current application automation processing flow.

Description

Application automation processing method, device, client and system
Technical Field
The embodiment of the specification relates to the technical field of communication processing, in particular to an application automation processing method, device, client and system.
Background
With the development of communication technology and the popularization of computer technology, various APPs (applications) have come into daily life. In some application automation scenarios, for example, acquiring data with high permission or performing an application automation test, it is often necessary to acquire certain permission to ensure that an automation operation of an application can be performed.
In the prior art, for example, when application automation processing is performed on a terminal device of an Android system, a PC (personal computer) end and the terminal device may be connected through a data line or a network, and then an Adb (Android Debug Bridge) is used as a communication Bridge between the PC end and the terminal device, specifically, the PC end may request an authority from an Adb server end on the terminal device based on the Adb; after obtaining the rights, application automation processing can be performed on the application program on the terminal device. However, in the foregoing solution based on Adb, it is necessary for the terminal device and the PC end to constantly maintain stable connection, but the terminal device and the PC end located on the two devices need to establish connection through a data line or a network, and the connection is unstable. Therefore, there is a need to provide a more stable or reliable solution.
Disclosure of Invention
An object of the embodiments of the present specification is to provide an application automation processing method, apparatus, client, and system, which can implement application automation processing in the same terminal device, and improve stability of communication connection in the application automation processing process.
The embodiment of the specification is realized by the following steps:
an application automation processing method, comprising:
a debugging client running on a terminal device sends an authority application request message to a debugging server running on the terminal device;
the debugging service end sends an authorization message fed back by a user to the debugging client end;
the debugging client sends an application automation operation instruction message to the debugging server;
the debugging service end executes the operation corresponding to the application automation operation instruction message;
and the debugging service end sends the execution result message of the operation to the debugging client end.
An application automation processing method, comprising:
sending an authority application request message to a debugging server running on local terminal equipment;
receiving an authorization message fed back by a user and sent by the debugging service terminal;
sending an application automation operation instruction message to the debugging service terminal;
and receiving an execution result message corresponding to the application automation operation instruction message sent by the debugging service terminal.
An application automation processing device comprising:
the permission application request message sending module is used for sending a permission application request message to a debugging service end running on the local terminal equipment;
the authorization message receiving module is used for receiving an authorization message fed back by the user and sent by the debugging service terminal;
the application automation operation instruction message sending module is used for sending an application automation operation instruction message to the debugging service terminal;
an execution result message receiving module, configured to receive the application automation operation instruction message sent by the debugging service end
Corresponding execution result message.
An application automation processing system comprising:
the debugging client is used for sending an authority application request message to a local debugging server; the application automation operation instruction message is sent to the debugging service end;
the debugging server is used for sending the authorization message fed back by the user to the debugging client; the application automation operation instruction message is used for executing the operation corresponding to the application automation operation instruction message; and the message of the execution result of the operation is sent to the debugging client.
An application automation processing client comprising a processor and a memory, the memory storing computer program instructions executed by the processor, the computer program instructions comprising:
sending an authority application request message to a debugging server running on local terminal equipment;
receiving an authorization message fed back by a user and sent by the debugging service terminal;
sending an application automation operation instruction message to the debugging service terminal;
and receiving an execution result message corresponding to the application automation operation instruction message sent by the debugging service terminal.
As can be seen from the above, in one or more embodiments of the present disclosure, when a debugging client is operated on a terminal device that needs to perform application automation processing, the application automation processing can be implemented in the same terminal device, the problems of limitation and unstable connection caused by the need of establishing communication connection via a data line or a network during the application automation processing performed on different devices are solved, and the stability of communication connection during the application automation processing can be greatly improved.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings can be obtained by those skilled in the art without inventive efforts.
FIG. 1 is a block diagram illustrating one embodiment of an application automation system provided in the present specification;
FIG. 2 is a schematic flow chart diagram illustrating one embodiment of a method for automated processing of an application provided herein;
FIG. 3 is a flow diagram of one exemplary embodiment of an application automation process methodology provided herein;
FIG. 4 is a schematic flow chart diagram illustrating another embodiment of an application automation process provided herein;
FIG. 5 is a schematic diagram of an embodiment of an application automation processing device provided in the present specification;
FIG. 6 is a schematic block diagram of an application automation process client in accordance with an exemplary embodiment of the present description.
Detailed Description
The embodiment of the specification provides an application automation processing method, an application automation processing device, a client and an application automation processing system.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without any creative effort shall fall within the protection scope of the present specification.
Please refer to fig. 1. The present specification provides one embodiment of an application automation processing system. Specifically, the application automation processing system 100 may include: a debug client 110 and a debug server 120.
In the embodiments of the present description, the application automation system may be a desktop computer, a tablet computer, a notebook computer, a smart phone, a digital assistant, a smart wearable device, and the like. Wherein, wearable equipment of intelligence can include intelligent bracelet, intelligent wrist-watch, intelligent glasses, intelligent helmet etc.. Of course, the application automation system is not limited to the electronic device having a certain entity, and may be software running in the electronic device. In addition, the application automation system runs with a first system, which may include, but is not limited to, operating systems such as Android, Macos, Linux, Windows, and Solaris.
In the embodiments of the present disclosure, the debugging client and the debugging server may be software running in the application automation processing system, for example, an application running in the application automation processing system. The application automation processing system can be provided with a communication port socket for data interaction between the debugging client and the debugging server. In addition, the debugging client is provided with a debugging connection tool corresponding to an operating system operated by the application automation system; the debugging client can establish connection with the debugging server based on the debugging connection tool.
Based on the application automation processing system, a specific embodiment of an application automation processing method in the present specification is described below. FIG. 2 is a schematic flow chart diagram of one embodiment of an application automation process provided herein, which provides the method operation steps as described in the embodiments or flowcharts, but may include more or less operation steps based on routine or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In actual implementation, the system or client product may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 2, the method may include:
s202: and the debugging client running on the terminal equipment sends the permission application request message to the debugging server running on the terminal equipment.
In this embodiment of the present description, a debugging client is run on a terminal device, and when application automation processing needs to be performed on an application on the terminal device, the debugging client running on the terminal device may send an authority application request message to a debugging server running on the terminal device. Specifically, the method may include:
the debugging client transmits a preset secret key to a debugging connection tool corresponding to an operating system running on the local terminal equipment;
the debugging client generates an authority application request message by using the debugging connection tool, wherein the authority request message comprises the preset secret key;
and the debugging client sends the permission application request message to the debugging server by using the debugging connection tool.
In practical application, different operating systems have different corresponding debugging connection tools. For example, the debugging connection tool corresponding to the Android operating system may be Abdlib. In this embodiment, the debugging client may be provided with a debugging connection tool corresponding to an operating system running on the local terminal device. The debugging connection tool is used as a communication bridge between the corresponding debugging client and the corresponding debugging server.
Specifically, the preset key may be identification information of the debugging client, and is a credential for establishing connection with the debugging server, so as to ensure that communication can be performed with each other after the connection with the debugging server is established.
In addition, it should be noted that the preset key in the embodiment of the present specification may be determined by a preset encryption Algorithm, which may include, but is not limited to, an Md5(Message Digest Algorithm5, fifth version of Message Digest Algorithm) encryption Algorithm.
S204: and the debugging service end sends the authorization message fed back by the user to the debugging client end.
In the embodiment of the specification, after the debugging service end receives the permission application request sent by the user, the permission application request can be fed back to the user to obtain the authorization of the user; and then, sending the authorization message fed back by the user to the debugging client. Correspondingly, the debugging client can receive the authorization message fed back by the user sent by the debugging server by using a debugging connection tool corresponding to the operating system running on the local terminal device, and further can establish the connection between the debugging client and the debugging server.
Specifically, after the debug client receives the authorization message, the debug client obtains the authority to perform application automation processing on the application on the local terminal device.
S206: and the debugging client sends an application automation operation instruction message to the debugging server.
In an embodiment of this specification, the sending, by the debug client, an application automation operation instruction message to the debug server may specifically include:
the debugging client transmits an application automation operation instruction to a debugging connection tool corresponding to an operating system running on the local terminal equipment;
the debugging client converts the application automation operation instruction into an application automation operation instruction message by using the debugging connection tool;
and the debugging client sends the application automation operation instruction message to the debugging server by using the debugging connection tool.
In addition, in some embodiments, there is a case that the application automation operation instruction message transmitted by the debugging client cannot be identified by the debugging connection tool, and accordingly, a program instruction tool may be set in the debugging client, and based on the program instruction tool, the application automation operation instruction message may be converted into a format that can be identified by the debugging connection tool.
S208: and the debugging service end executes the operation corresponding to the application automation operation instruction message.
In this embodiment of the present description, after receiving the application automation operation instruction message, the debugging service may execute an operation corresponding to the application automation operation instruction message. Specifically, the operation corresponding to the application automation operation instruction may be parsed and executed based on a command parser on the debugging service end side.
S210: and the debugging service end sends the execution result message of the operation to the debugging client end.
In this embodiment of the present specification, the debugging service side may send an execution result message of the operation to the debugging client side; correspondingly, the debugging client can receive the execution result message corresponding to the application automation operation instruction message sent by the debugging server by using a debugging connection tool corresponding to an operating system running on the local terminal device, so as to complete the current application automation processing.
In addition, in some embodiments, after the debugging service sends the execution result message corresponding to the application automation operation instruction message, the debugging service may feed back an application automation end message to prompt the debugging client that the current application automation operation is completed. Correspondingly, the debugging service end sends an application automation finishing message to the debugging client end;
after sending the application automation operation instruction message, the debugging client waits for the application automation end message fed back by the debugging server; specifically, the debugging connection tool is used for receiving an application automation end message, then the debugging connection tool is used for counting the received execution result message, the counted execution result is used as the current application automation processing result data, and the current application automation processing is completed.
In addition, it should be noted that, in the embodiment of the present specification, a format of a message in a communication process between the debug client and the debug server corresponds to a corresponding debug connection tool, for example, when the debug connection tool is Adblib, the format of the message may be Adb format.
As shown in table 1, table 1 is an example of the Adb format provided in the present application:
Command Int
Arg0 Int
Arg1 Int
Payload Array
PayloadLength Int
Checksum Int
Magic Int
TABLE 1
Wherein, Command represents the type of the message, the data type is integer; arg0 and Arg1 indicate parameters of messages, where the types of parameters corresponding to different messages may be different, and the data type is integer; payload represents transmitted effective data, and the data type is an array; the PayloadLength represents the length of the transmitted effective data, and the data type is integer; checksum represents a check code, and the data type is integer; magic represents negation of Command, and the data type is integer; here, PayloadLength, Checksum, and Magic may be used to verify the validity of the message. In practical applications, the Command, Arg0, Arg1, Magic, PayloadLength, and Checksum are header information of a message, and are typically 4 bytes.
Therefore, in one or more embodiments of the application automation processing method in the present specification, the debugging client is operated on the terminal device that needs to perform the application automation processing, so that the application automation processing can be implemented in the same terminal device, the problems of limitation and unstable connection caused by the need of establishing a communication connection by means of a data line or a network in the process of performing the application automation processing on different devices are solved, and the stability of the communication connection in the process of performing the application automation processing can be greatly improved.
In a specific embodiment, when the operating system running on the application automation system is Android, correspondingly, the debugging server may be an Adb server, and the debugging client may be an Adb client. Please refer to fig. 3. In a specific scenario example, taking an application automation processing system running an Android operating system to perform application automation processing as an example, an Adb client may apply for an authority to an Adb server, and after the authority is obtained, a connection between the Adb client and the Adb server may be established, so that the application automation processing may be realized.
Specifically, the Adb client may generate a preset key, where the preset key may be identification information of the Adb client and is a credential for establishing a connection with a local Adb server, so as to ensure that communication can be performed with each other after the connection is established with the local Adb server.
Specifically, the Adb client may be provided with Adblib (a debug connection tool corresponding to the android system), and connection between the Adb client and the Adb server is established based on the Adblib. Specifically, an authority application request message in an Adb format may be generated based on the Adblib, where the authority application request may include the preset key; then, the Adblib may be used to send the permission application request message to the Adb server.
Further, after receiving the permission application request message, the Adb server may feed back the permission application request message of the Adb client to the user, and after receiving the authorization message of the user, send an authorization message to the Adb client through the Adblib, thereby establishing a connection between the Adb client and the Adb server.
Further, after the connection is established between the Adb client and the Adb server, the Adb client may send an application automation operation instruction message to the Adb server based on the Adblib. Specifically, the Adb client may transmit the application automation operation instruction to the Adblib, generate an application automation operation instruction message in an Adb format from the application automation operation instruction by using the Adblib, send the application automation operation instruction message to the Adb server by using the Adblib, and wait for an execution result message of the operation request and an application automation end message.
In addition, it should be noted that in some embodiments, there is a case where Adblib cannot identify an application automation operation instruction message transmitted by an Adb client, and accordingly, a program instruction tool may be set in the Adb client, and based on the program instruction tool, the application automation operation instruction message may be converted into a format that the Adblib can identify.
In a specific embodiment, assuming that the application automation operation instruction message is to acquire frame rate data of the payment instrument, in combination with the Adb format shown in table 1, the application automation operation instruction message may include data:
the command may be a type of acquiring frame rate data expressed in 4 bytes of integer data.
The arg0 may be a local stream identifier expressed in integer data.
arg1 may be a remotely transmitted message identifier represented with integer data.
Payload may be executable code that acquires frame rate data represented in arrays of data.
The payloadLength may be a length of an execution code of the acquisition frame rate data expressed with the integer data.
checksum may be a check code represented with integer data.
magic may be the inverse of the type of frame rate data acquired in the integer data representation.
Further, after receiving an application automation operation instruction message sent by Adblib, the Adb server may parse and execute an operation corresponding to the application automation operation instruction based on a shell (command parser), and feed back an execution result to the Adb client through Adblib.
In addition, after the Adb server sends the execution result message corresponding to the application automation operation instruction message, the Adb server may feed back an application automation end message to prompt the Adb client that the current application automation operation is completed, and accordingly, after the Adb client sends the application automation operation instruction message, the Adb server may wait for the Adb server to feed back the application automation end message; and after receiving the application automation end message, counting the received execution result message by using the Adblib, and completing the current application automation processing.
In addition, it should be noted that, in the embodiment of the present disclosure, the Adb client and the Adb server run in the same terminal device, so that the Adb client and the Adb server can communicate with each other through a local communication port, and the connection is more stable without being limited by time and space during the communication process.
Another embodiment of the present invention is described below in which an automated processing method is applied. FIG. 4 is a schematic flow chart diagram of another embodiment of an application automation process provided herein, which provides the method operation steps as described in the embodiments or flowcharts, but may include more or less operation steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In actual implementation, the system or client product may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 3, the method may include:
s402: and sending the permission application request message to a debugging service terminal running on the local terminal equipment.
In this embodiment of the present description, when application automation processing needs to be performed on an application on a terminal device, a debugging client running on the terminal device may send an authority application request message to a debugging server running on the terminal device. Specifically, the method may include:
transmitting the preset key to a debugging connection tool corresponding to an operating system running on the local terminal equipment;
generating an authority application request message by using the debugging connection tool, wherein the authority request message comprises the preset secret key;
and sending the permission application request message to the debugging service terminal by using the debugging connection tool.
In this embodiment, the debugging client may be provided with a debugging connection tool corresponding to an operating system running on the local terminal device. The debugging client can utilize the debugging connection tool as a communication bridge with the debugging server.
Specifically, the preset key may be identification information of the debugging client, and is a credential for establishing connection with the debugging server, so as to ensure that communication can be performed with each other after the connection with the debugging server is established.
In addition, it should be noted that the preset key in the embodiment of the present specification may be determined by a preset encryption Algorithm, which may include, but is not limited to, an Md5(Message Digest Algorithm5, fifth version of Message Digest Algorithm) encryption Algorithm.
S404: and receiving an authorization message fed back by the user and sent by the debugging service terminal.
In this embodiment of the present specification, after the user is authorized, the debugging service may feed back an authorization message of the user to the debugging client. Specifically, the debugging client may receive, by using a debugging connection tool corresponding to an operating system running on the local terminal device, an authorization message sent by the debugging server and fed back by the user, and may further establish a connection between the debugging client and the debugging server.
S406: and sending an application automation operation instruction message to the debugging service terminal.
In this embodiment of the present description, after the connection between the debugging client and the debugging server is established, an application automation operation instruction message may be sent to the debugging server, and specifically, the method may include:
transmitting an application automation operation instruction to a debugging connection tool corresponding to an operating system running on the local terminal equipment;
converting the application automation operation instruction into an application automation operation instruction message by using the debugging connection tool;
and sending the application automation operation instruction message to the debugging service terminal by using the debugging connection tool.
In addition, in some embodiments, there is a case that the application automation operation instruction message transmitted by the debugging client cannot be identified by the debugging connection tool, and accordingly, a program instruction tool may be set in the debugging client, and based on the program instruction tool, the application automation operation instruction message may be converted into a format that can be identified by the debugging connection tool.
Further, after receiving the application automation operation instruction message, the debugging service end may analyze and execute an operation corresponding to the application automation operation instruction based on a command parser on the debugging service end side, and feed back an execution result to the debugging client through a corresponding debugging connection tool.
S408: and receiving an execution result message corresponding to the application automation operation instruction message sent by the debugging service terminal.
In this embodiment of the present description, the debugging client may receive, by using a debugging connection tool corresponding to an operating system running on the local terminal device, an execution result message corresponding to the application automation operation instruction message sent by the debugging server, and complete current application automation processing.
In addition, in some embodiments, after the debugging service sends the execution result message corresponding to the application automation operation instruction message, the debugging service may feed back an application automation end message to prompt the debugging client that the current application automation operation is completed. Correspondingly, the method may further include:
receiving an application automation end message sent by the debugging service terminal by using the debugging connection tool;
and counting received execution result messages by utilizing the debugging connection tool.
After sending the application automation operation instruction message, the debugging client waits for the application automation end message fed back by the debugging server; and after the application automation finishing message, counting the received execution result message by using the debugging connection tool, and taking the counted execution result as the current application automation processing result data to finish the current application automation processing.
In addition, it should be noted that, in the embodiment of the present specification, a format of a message in a communication process between the debug client and the debug server corresponds to a corresponding debug connection tool, and is not limited to the above Adb format.
Therefore, in one or more embodiments of the application automation processing method in the present specification, the debugging client is operated on the terminal device that needs to perform the application automation processing, so that the application automation processing can be implemented in the same terminal device, the problems of limitation and unstable connection caused by the need of establishing a communication connection by means of a data line or a network in the process of performing the application automation processing on different devices are solved, and the stability of the communication connection in the process of performing the application automation processing can be greatly improved.
In another aspect of the present specification, an application automation processing apparatus is further provided, and fig. 5 is a schematic structural diagram of an embodiment of the application automation processing apparatus provided in the present specification, and as shown in fig. 5, the apparatus 500 may include:
an authority application request message sending module 510, configured to send an authority application request message to a debugging service running on a local terminal device;
an authorization message receiving module 520, configured to receive an authorization message sent by the debugging service end and fed back by the user;
an application automation operation instruction message sending module 530, configured to send an application automation operation instruction message to the debugging service end;
the execution result message receiving module 540 may be configured to receive an execution result message corresponding to the application automation operation instruction message sent by the debugging service end.
In another embodiment, the apparatus 500 may further include:
and the local communication port can be used for communicating with the debugging service terminal.
In another embodiment, the permission application request message sending module 510 may include:
the key transmission unit can be used for transmitting the preset key to a debugging connection tool corresponding to an operating system running on the local terminal equipment;
the permission application request message production unit may be configured to generate a permission application request message using the debug connection tool, where the permission request message includes the preset key;
and the permission application request message sending unit can be used for sending the permission application request message to the debugging service terminal by utilizing the debugging connection tool.
In another embodiment, the application automation operation instruction message sending module 530 may include:
the application automation operation instruction transmission unit can be used for transmitting the application automation operation instruction to a debugging connection tool corresponding to an operating system running on the local terminal equipment;
an application automation operation instruction message generating unit, configured to convert the application automation operation instruction into an application automation operation instruction message by using the debug connection tool;
and the application automation operation instruction message sending unit can be used for sending the application automation operation instruction message to the debugging service terminal by using the debugging connection tool.
In another embodiment, the authorization message receiving module 520 may include:
and the authorization message receiving unit can be used for receiving the authorization message fed back by the user and sent by the debugging service terminal by using the debugging connection tool corresponding to the operating system running on the local terminal equipment.
In another embodiment, the execution result message receiving module 540 may include:
and the execution result message receiving unit may be configured to receive, by using a debugging connection tool corresponding to an operating system running on the local terminal device, an execution result message corresponding to the application automation operation instruction message sent by the debugging service end.
In another embodiment, the apparatus 500 may further include:
the application automation end message receiving module can be used for receiving an application automation end message sent by the debugging service terminal by using the debugging connection tool;
and the execution result message counting module can be used for counting the received execution result messages by utilizing the debugging connection tool.
The application automation processing method or apparatus provided in the embodiments of the present specification may be implemented in a computer by a processor executing corresponding program instructions, for example, implemented at a PC end using a c + + language of a windows operating system, or implemented at an intelligent terminal using android, iOS system programming languages, or implemented based on processing logic of a quantum computer. As shown in fig. 6, fig. 6 is a schematic block diagram of an application automation process client according to an exemplary embodiment of the present description. On the hardware level, the client may include a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include hardware required for other services. The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the word string recognition device on the logic level. Of course, besides the software implementation, the present application does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
Specifically, another aspect of the present specification further provides an application automation processing client, including a processor and a memory, where the memory stores computer program instructions executed by the processor, and the computer program instructions may include:
sending an authority application request message to a debugging server running on local terminal equipment;
receiving an authorization message fed back by a user and sent by the debugging service terminal;
sending an application automation operation instruction message to the debugging service terminal;
and receiving an execution result message corresponding to the application automation operation instruction message sent by the debugging service terminal.
In the embodiment of the present disclosure, the processor may include a Central Processing Unit (CPU) or a Graphics Processing Unit (GPU), and may also include other single-chip microcomputers, logic gates, integrated circuits, and the like with logic processing capability, or a suitable combination thereof. The memory according to the embodiment of the present application may be a memory device for storing information. In a digital system, the device capable of storing binary data may be a memory; in an integrated circuit, a circuit without an actual form and with a storage function can also be a memory, such as a RAM, a FIFO and the like; in the system, the storage device in physical form may also be called a memory or the like. When the method is implemented, the memory can also be implemented in a cloud memory mode, and the specific implementation mode is not limited in this specification.
Therefore, in the embodiments of the application automation processing method, apparatus, client, or system in this specification, the debugging client is run on the terminal device that needs to perform the application automation processing, and the application automation processing can be implemented in the same terminal device, so that the problems of limitation and unstable connection caused by the need of establishing communication connection by means of a data line or a network in the process of performing the application automation processing on different devices are solved, and the stability of communication connection in the process of performing the application automation processing can be greatly improved.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The apparatuses, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or implemented by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware implementations of the present description.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage, graphene storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, apparatus or computer program product. Accordingly, the description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. Especially, for the device and server embodiments, since they are substantially similar to the method embodiments, the description is simple, and the relevant points can be referred to the partial description of the method embodiments.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present specification should be included in the scope of the claims.

Claims (15)

1. An application automation processing method, comprising:
a debugging client running on a terminal device sends an authority application request message to a debugging server running on the terminal device; the method comprises the following steps: the debugging client transmits a preset secret key to a debugging connection tool corresponding to an operating system running on the local terminal equipment; the debugging client generates an authority application request message by using the debugging connection tool, wherein the authority application request message comprises the preset secret key; the debugging client sends the permission application request message to the debugging server by using the debugging connection tool; the preset key is used as identification information of a debugging client and is a certificate for establishing connection between the debugging client and the debugging server;
the debugging service end sends an authorization message fed back by a user to the debugging client end;
the debugging client sends an application automation operation instruction message to the debugging server;
the debugging service end executes the operation corresponding to the application automation operation instruction message;
and the debugging service end sends the execution result message of the operation to the debugging client end.
2. An application automation processing method, comprising:
sending an authority application request message to a debugging server running on local terminal equipment; the method comprises the following steps: transmitting the preset key to a debugging connection tool corresponding to an operating system running on the local terminal equipment; generating an authority application request message by using the debugging connection tool, wherein the authority application request message comprises the preset secret key; sending the permission application request message to the debugging server by using the debugging connection tool; the preset key is used as identification information of a debugging client and is a certificate for establishing connection between the debugging client and the debugging server;
receiving an authorization message fed back by a user and sent by the debugging service terminal;
sending an application automation operation instruction message to the debugging service terminal;
and receiving an execution result message corresponding to the application automation operation instruction message sent by the debugging service terminal.
3. The method of claim 2, wherein the method further comprises:
and communicating with the debugging service terminal based on a local communication port on the local terminal equipment.
4. The method of claim 2 or 3, wherein the sending an application automation operation instruction message to the debugging service comprises:
transmitting an application automation operation instruction to a debugging connection tool corresponding to an operating system running on the local terminal equipment;
converting the application automation operation instruction into an application automation operation instruction message by using the debugging connection tool;
and sending the application automation operation instruction message to the debugging service terminal by using the debugging connection tool.
5. The method according to claim 2 or 3, wherein the receiving the authorization message of the user feedback sent by the debugging service terminal comprises:
and receiving the authorization message fed back by the user sent by the debugging service terminal by utilizing a debugging connection tool corresponding to an operating system running on the local terminal equipment.
6. The method according to claim 2 or 3, wherein the receiving of the execution result message corresponding to the application automation operation instruction message sent by the debugging service end comprises:
and receiving an execution result message corresponding to the application automation operation instruction message sent by the debugging service terminal by using a debugging connection tool corresponding to an operating system running on local terminal equipment.
7. The method of claim 6, wherein the method further comprises:
receiving an application automation end message sent by the debugging service terminal by using the debugging connection tool;
and counting received execution result messages by utilizing the debugging connection tool.
8. An application automation processing device comprising:
the permission application request message sending module is used for sending a permission application request message to a debugging service end running on the local terminal equipment; the permission application request message sending module comprises: the key transmission unit is used for transmitting a preset key to a debugging connection tool corresponding to an operating system running on the local terminal equipment; the authority application request message production unit is used for generating an authority application request message by using the debugging connection tool, and the authority application request message comprises the preset secret key; the permission application request message sending unit is used for sending the permission application request message to the debugging service terminal by utilizing the debugging connection tool; the preset key is used as identification information of a debugging client and is a certificate for establishing connection between the debugging client and the debugging server;
the authorization message receiving module is used for receiving an authorization message fed back by the user and sent by the debugging service terminal;
the application automation operation instruction message sending module is used for sending an application automation operation instruction message to the debugging service terminal;
and the execution result message receiving module is used for receiving the execution result message corresponding to the application automation operation instruction message sent by the debugging service terminal.
9. The apparatus of claim 8, wherein the apparatus further comprises:
and the local communication port is used for communicating with the debugging service end.
10. The apparatus of claim 8 or 9, wherein the application automation operation instruction messaging module comprises:
the application automation operation instruction transmission unit is used for transmitting the application automation operation instruction to a debugging connection tool corresponding to an operating system running on the local terminal equipment;
the application automation operation instruction message generating unit is used for converting the application automation operation instruction into an application automation operation instruction message by using the debugging connection tool;
and the application automation operation instruction message sending unit is used for sending the application automation operation instruction message to the debugging service terminal by using the debugging connection tool.
11. The apparatus of claim 8 or 9, wherein the authorization message receiving module comprises:
and the authorization message receiving unit is used for receiving the authorization message fed back by the user and sent by the debugging service terminal by using the debugging connection tool corresponding to the operating system running on the local terminal equipment.
12. The apparatus of claim 8 or 9, wherein the execution result message receiving module comprises:
and the execution result message receiving unit is used for receiving the execution result message corresponding to the application automation operation instruction message sent by the debugging service terminal by using a debugging connection tool corresponding to an operating system running on local terminal equipment.
13. The apparatus of claim 12, wherein the apparatus further comprises:
the application automation end message receiving module is used for receiving an application automation end message sent by the debugging service terminal by using the debugging connection tool;
and the execution result message counting module is used for counting the received execution result messages by utilizing the debugging connection tool.
14. An application automation processing system comprising:
the debugging client is used for sending an authority application request message to a local debugging server; the method comprises the following steps: transmitting the preset key to a debugging connection tool corresponding to an operating system running on the local terminal equipment; generating an authority application request message by using the debugging connection tool, wherein the authority application request message comprises the preset secret key; sending the permission application request message to the debugging server by using the debugging connection tool; the preset key is used as identification information of a debugging client and is a certificate for establishing connection between the debugging client and the debugging server; the application automation operation instruction message is sent to the debugging service end;
the debugging server is used for sending the authorization message fed back by the user to the debugging client; the application automation operation instruction message is used for executing the operation corresponding to the application automation operation instruction message; and the message of the execution result of the operation is sent to the debugging client.
15. An application automation processing client comprising a processor and a memory, the memory storing computer program instructions executed by the processor, the computer program instructions comprising:
sending an authority application request message to a debugging server running on local terminal equipment; the method comprises the following steps: transmitting the preset key to a debugging connection tool corresponding to an operating system running on the local terminal equipment; generating an authority application request message by using the debugging connection tool, wherein the authority application request message comprises the preset secret key; sending the permission application request message to the debugging server by using the debugging connection tool; the preset key is used as identification information of a debugging client and is a certificate for establishing connection between the debugging client and the debugging server;
receiving an authorization message fed back by a user and sent by the debugging service terminal;
sending an application automation operation instruction message to the debugging service terminal;
and receiving an execution result message corresponding to the application automation operation instruction message sent by the debugging service terminal.
CN201810063168.5A 2018-01-23 2018-01-23 Application automation processing method, device, client and system Active CN108415827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810063168.5A CN108415827B (en) 2018-01-23 2018-01-23 Application automation processing method, device, client and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810063168.5A CN108415827B (en) 2018-01-23 2018-01-23 Application automation processing method, device, client and system

Publications (2)

Publication Number Publication Date
CN108415827A CN108415827A (en) 2018-08-17
CN108415827B true CN108415827B (en) 2021-07-09

Family

ID=63126232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810063168.5A Active CN108415827B (en) 2018-01-23 2018-01-23 Application automation processing method, device, client and system

Country Status (1)

Country Link
CN (1) CN108415827B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269701A (en) * 2020-11-11 2021-01-26 深圳创维-Rgb电子有限公司 User side debugging method, user side and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512031A (en) * 2015-11-30 2016-04-20 惠州Tcl移动通信有限公司 Mobile terminal and automatic test method
CN106708488A (en) * 2015-11-17 2017-05-24 中兴通讯股份有限公司 Multi-application debugging system and method
CN107491669A (en) * 2017-02-16 2017-12-19 东软集团股份有限公司 The acquisition methods and device of superuser right

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150370680A1 (en) * 2014-06-20 2015-12-24 Halo-Digi Technology Co., Ltd. Method for transmitting human input event and electrical device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708488A (en) * 2015-11-17 2017-05-24 中兴通讯股份有限公司 Multi-application debugging system and method
CN105512031A (en) * 2015-11-30 2016-04-20 惠州Tcl移动通信有限公司 Mobile terminal and automatic test method
CN107491669A (en) * 2017-02-16 2017-12-19 东软集团股份有限公司 The acquisition methods and device of superuser right

Also Published As

Publication number Publication date
CN108415827A (en) 2018-08-17

Similar Documents

Publication Publication Date Title
TWI710916B (en) Database status determination method, consistency verification method and device
CN106970820B (en) Code storage method and code storage device
CN109214196B (en) Data interaction method, device and equipment
CN109815107B (en) Method and device for automatic testing
CN108334340B (en) Cross-environment data communication method, device and system
CN113079200A (en) Data processing method, device and system
CN110443457B (en) Data processing method and device
CN107404418B (en) Internet product testing method, device, equipment and storage medium
CN108564363B (en) Transaction processing method, server, client and system
CN111629063A (en) Block chain based distributed file downloading method and electronic equipment
CN114020272A (en) Serialized encoding and decoding methods and devices and electronic equipment
CN108415827B (en) Application automation processing method, device, client and system
CN116257303B (en) Data security processing method and device, storage medium and electronic equipment
CN111240801A (en) Method, device, medium and electronic equipment for generating heap memory snapshot file
CN108920144B (en) Message processing method and device
CN113452735B (en) Narrow-band transmission method and equipment based on block chain
CN113781126A (en) Electricity business information processing method and system
CN113626524A (en) Data processing method and device and data checking system
CN114185318A (en) Production line information processing method and system based on artificial intelligence
CN107395486B (en) Data communication method, device and system and message middleware
CN111796864A (en) Data verification method and device
CN110727646A (en) Format conversion method and device for system log, electronic equipment and computer medium
CN113239394B (en) Firmware protection method, device and equipment
CN116049837B (en) Trusted computing system and method, electronic equipment and storage medium
CN111475138B (en) Routing method and device based on weex framework, electronic equipment 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
TA01 Transfer of patent application right

Effective date of registration: 20201021

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201021

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: Greater Cayman, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant