CN108415827A - Using automatic processing method, device, client and system - Google Patents

Using automatic processing method, device, client and system Download PDF

Info

Publication number
CN108415827A
CN108415827A CN201810063168.5A CN201810063168A CN108415827A CN 108415827 A CN108415827 A CN 108415827A CN 201810063168 A CN201810063168 A CN 201810063168A CN 108415827 A CN108415827 A CN 108415827A
Authority
CN
China
Prior art keywords
debugging
message
services end
operation instruction
automation mechanized
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.)
Granted
Application number
CN201810063168.5A
Other languages
Chinese (zh)
Other versions
CN108415827B (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
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding 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

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

A kind of application automatic processing method of this specification embodiment offer, device, client and system.This method includes:The debugging services end sending permission application request message that the debugging client run on the terminal device is run on the terminal device;The authorization messages of user feedback are sent to debugging client by debugging services end, establish the connection between debugging client;Client is debugged to debugging services end sending application automation mechanized operation instruction message;Debugging services end is executed using the operation corresponding to automation mechanized operation instruction message;The executing result message of the operation is sent to debugging client by debugging services end, completes current application automated process flow.

Description

Using automatic processing method, device, client and system
Technical field
This specification embodiment is related to communications processing field, more particularly to a kind of application automatic processing method, dress It sets, client and system.
Background technology
With the development of the communication technology and popularizing for computer technology, various APP (Application, application program) are walked Into in people's daily life.In the scene of some application automations, for example, obtaining the data of high permission or being applied Programming automation test etc., it is often necessary to certain permission is obtained, to ensure to may be employed the automation mechanized operation of program.
In the prior art, such as when being carried out on the terminal device of Android system using automatic business processing, number can be passed through According to line or the ends network connection PC (personal computer, personal computer) and terminal device, then with Adb (Android Debug Bridge debug bridge) make communication bridge between the ends PC and terminal device, specifically, the ends PC can be based on Adb Adb server-side request permissions on terminal device;After obtaining permission, the application program on terminal device can be carried out Using automatic business processing.But in the above-mentioned scheme based on Adb, terminal device is needed to keep being stably connected with the ends the PC moment, but position It needs to establish by data line or network with the ends PC in the terminal device in two equipment and connect, exist and connect unstable feelings Condition.Accordingly, it is desirable to provide more stable or more reliable scheme.
Invention content
The purpose of this specification embodiment is to provide a kind of application automatic processing method, device, client and system, can Automatic business processing is applied to be realized in same terminal device, improves the stabilization using the communication connection in automation process Property.
This specification embodiment is realized in:
It is a kind of apply automatic processing method, including:
The debugging services end sending permission that the debugging client run on the terminal device is run on the terminal device Apply for request message;
The authorization messages of user feedback are sent to the debugging client by the debugging services end;
The debugging client is to the debugging services end sending application automation mechanized operation instruction message;
The debugging services end executes the operation using corresponding to automation mechanized operation instruction message;
The executing result message of the operation is sent to the debugging client by the debugging services end.
It is a kind of apply automatic processing method, including:
To the debugging services end sending permission application request message run on local terminal;
Receive the authorization messages for the user feedback that the debugging services end is sent;
To the debugging services end sending application automation mechanized operation instruction message;
The implementing result using corresponding to automation mechanized operation instruction message that the debugging services end is sent is received to disappear Breath.
It is a kind of apply automatic processing device, including:
Authority application request message sending module, for the debugging services end transmission route run on local terminal Limit application request message;
Authorization messages receiving module, the authorization messages for receiving the user feedback that the debugging services end is sent;
Using automation mechanized operation instruction message sending module, it is used for the debugging services end sending application automation mechanized operation Instruction message;
Executing result message receiving module refers to for receiving the application automation mechanized operation that the debugging services end is sent Enable message
Corresponding executing result message.
It is a kind of apply automated programming system, including:
Client is debugged, for the debugging services end sending permission application request message to local;And it is used for described Debugging services end sending application automation mechanized operation instruction message;
Debugging services end, for the authorization messages of user feedback to be sent to the debugging client;And for executing The operation using corresponding to automation mechanized operation instruction message;And for the executing result message of the operation to be sent to The debugging client.
A kind of application automatic business processing client, including processor and memory, the memory storage is by the processing The computer program instructions that device executes, the computer program instructions include:
To the debugging services end sending permission application request message run on local terminal;
Receive the authorization messages for the user feedback that the debugging services end is sent;
To the debugging services end sending application automation mechanized operation instruction message;
The implementing result using corresponding to automation mechanized operation instruction message that the debugging services end is sent is received to disappear Breath.
As seen from the above, this specification one or more embodiment is carrying out the terminal device using automatic business processing Client is debugged in upper operation, can be realized in same terminal device using automatic business processing, solve on different devices into Row, which is applied, to be needed to establish limitation caused by communication connection by data line or network in automation process and connect unstable Fixed problem can greatly improve the stability using the communication connection in automation process.
Description of the drawings
In order to illustrate more clearly of this specification one or more embodiment or technical solution in the prior art, below will A brief introduction will be made to the drawings that need to be used in the embodiment or the description of the prior art, it should be apparent that, in being described below Attached drawing is only some embodiments described in this specification, for those of ordinary skill in the art, is not paying creation Property labour under the premise of, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of structural schematic diagram for embodiment that this specification is provided using automated programming system;
Fig. 2 is a kind of flow diagram for embodiment using automatic processing method that this specification provides;
Fig. 3 is a kind of flow diagram for example embodiment using automatic processing method that this specification provides;
Fig. 4 is the flow diagram for another embodiment using automatic processing method that this specification provides;
Fig. 5 is a kind of structural schematic diagram for embodiment using automatic processing device that this specification provides;
Fig. 6 is the schematic configuration diagram using automatic business processing client according to an exemplary embodiment of this specification.
Specific implementation mode
A kind of application automatic processing method of this specification embodiment offer, device, client and system.
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual, Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, should all belong to The range of this specification protection.
It please refers to Fig.1.This specification provides a kind of embodiment using automated programming system.Specifically, the application Automated programming system 100 may include:Debug client 110 and debugging services end 120.
In this specification embodiment, the application automated system can be desktop computer, tablet computer, notebook Computer, smart mobile phone, digital assistants, intelligent wearable device etc..Wherein, intelligent wearable device may include Intelligent bracelet, Smartwatch, intelligent glasses, intelligent helmet etc..Certainly, the application automated system is not limited to above-mentioned with certain entity Electronic equipment, can also be the software run in above-mentioned electronic equipment.In addition, the application automated system operation has The first system, the first system can include but is not limited to the behaviour such as Android, Macos, Linux, Windows and Solaris Make system.
In this specification embodiment, the debugging client and the debugging services end can be to run on described answer With the software in automated programming system, for example, running on the application program using in automated programming system.It is described to answer With automated programming system can be arranged a communication port socket for the debugging client and the debugging services end into Row data interaction.In addition, the debugging client be provided with it is described opposite using the operating system that has of automated system operation The debugging fastening means answered;The debugging client can be based on the debugging fastening means establish and the debugging services end it Between connection.
Based on above application automated programming system, this specification introduced below is a kind of using the one of automatic processing method Kind specific embodiment.Fig. 2 is a kind of flow diagram for embodiment using automatic processing method that this specification provides, this Specification provides the method operating procedure as described in embodiment or flow chart, but based on conventional or can without performing creative labour To include more or less operating procedure.The step of being enumerated in embodiment sequence is only in numerous step execution sequences A kind of mode does not represent and unique executes sequence.It, can be according to embodiment when system or client production in practice executes Either method sequence shown in the drawings executes or executes (such as environment of parallel processor or multiple threads) parallel.Tool Body as shown in Fig. 2, the method may include:
S202:The debugging services end that the debugging client run on the terminal device is run on the terminal device is sent Authority application request message.
In this specification embodiment, operation debugging client on the terminal device, when needing to the application on terminal device When carrying out using automatic business processing, the debugging client that runs on the terminal device can be to running on the terminal device On debugging services end sending permission application request message.Specifically, may include:
Preset-key is transmitted to tune corresponding with the operating system run on local terminal by the debugging client Try fastening means;
The debugging client generates authority application request message using the debugging fastening means, and the authority request disappears Breath includes the preset-key;
The debugging client sends the authority application to the debugging services end using the debugging fastening means and asks Seek message.
In practical applications, the debugging fastening means corresponding to different operating system is different.Such as the operation of Android Debugging fastening means corresponding to system can be Abdlib.In this specification embodiment, the debugging client can be arranged There is debugging fastening means corresponding with the operating system run on local terminal.The debugging fastening means is as corresponding Debug the communication bridge between client and debugging services end.
Specifically, the preset-key as the identification information of debugging client is built with the debugging services end The voucher of vertical connection can be communicated with each other with ensureing after establishing connection with the debugging services end.
Furthermore, it is necessary to which explanation, preset-key described in this specification embodiment can pass through preset Encryption Algorithm It determines, can include but is not limited to Md5 (Message Digest Algorithm5, Message Digest Algorithm 5) encryptions and calculate Method.
S204:The authorization messages of user feedback are sent to the debugging client by the debugging services end.
In this specification embodiment, after debugging services termination receives the authority application request of user's transmission, it can incite somebody to action Authority application request feeds back to user, to obtain the mandate of user;Then, the authorization messages of user feedback are sent to the tune Try client.Correspondingly, the debugging client can utilize tune corresponding with the operating system run on local terminal Examination fastening means receives the authorization messages for the user feedback that the debugging services end is sent, so can establish debugging client with Connection between debugging services end.
Specifically, after debugging client receives authorization messages, the debugging client is obtained to local terminal Application in equipment carries out the permission using automatic business processing.
S206:The debugging client is to the debugging services end sending application automation mechanized operation instruction message.
In this specification embodiment, the debugging client is instructed to the debugging services end sending application automation mechanized operation Message, specifically, may include:
Application automation mechanized operation is instructed the operation system for being transmitted to and being run on local terminal by the debugging client It unites corresponding debugging fastening means;
Application automation mechanized operation instruction is converted into applying by the debugging client using the debugging fastening means Automation mechanized operation instruction message;
The debugging client sends the application to the debugging services end using the debugging fastening means and automates Operational order message.
In addition, in some embodiments, the application that there are debugging fastening means None- identified debugging client transmissions is automatic The case where changing operational order message is based on the program instruction correspondingly, program instruction tool can be arranged in debugging client Tool can will be converted to the format that debugging fastening means can identify using automation mechanized operation instruction message.
S208:The debugging services end executes the operation using corresponding to automation mechanized operation instruction message.
In this specification embodiment, the debugging services end is being received using after automation mechanized operation instruction message, can be with Execute the operation using corresponding to automation mechanized operation instruction message.Specifically, can be based on the order of debugging services end side Resolver parses and executes the operation corresponding using automation mechanized operation instruction.
S210:The executing result message of the operation is sent to the debugging client by the debugging services end.
In this specification embodiment, the executing result message of the operation can be sent to described by the debugging services end Debug client;Correspondingly, debugging client can utilize debugging corresponding with the operating system run on local terminal Fastening means receives the implementing result using corresponding to automation mechanized operation instruction message that the debugging services end is sent and disappears Breath completes current application automatic business processing.
In addition, in some embodiments, holding corresponding to the sending application automation mechanized operation instruction message of debugging services end After row results messages, debugging services end can be fed back using automation end message to prompt debugging client current application automatic Change operation to complete.Correspondingly, the debugging services end will apply automation end message to be sent to the debugging client;
Here debugging client waits for the feedback application of debugging services end after sending application automation mechanized operation instruction message Automate end message;Specifically, then receiving application automation end message using the debugging fastening means utilizes institute It states debugging fastening means statistics and receives executing result message, using the implementing result counted on as current using at automation Result data is managed, current application automatic business processing is completed.
In addition, it is necessary to illustrate, in this specification embodiment, communication process between client and debugging services end is debugged In message format and corresponding debugging fastening means it is corresponding, for example, when debug fastening means be Adblib when, message Format can be Adb formats.
As shown in table 1, table 1 is a kind of example of Adb formats provided by the present application:
Command Int
Arg0 Int
Arg1 Int
Payload Array
PayloadLength Int
Checksum Int
Magic Int
Table 1
Wherein, Command table shows that the type of message, data type are integer;Arg0 and Arg1 indicates the parameter of message, this In the type of parameter corresponding to different message can be different, data type is integer;Payload indicates the significant figure of transmission According to data type is array;PayloadLength indicates the length of the valid data of transmission, and data type is integer; Checksum indicates check code, and data type is integer;Magic indicates negating for Command, and data type is integer;Here PayloadLength, Checksum and Magic can be used for verifying card message validity.In addition, in practical applications, Command, Arg0, Arg1, Magic, PayloadLength, Checksum are the header of message, generally 4 bytes.
It can be seen that needing to carry out in a kind of one or more embodiments using automatic processing method of this specification Using operation debugging client on the terminal device of automatic business processing, can be realized in same terminal device using at automation Reason is solved and is carried out on different devices using needing in automation process to establish communication connection by data line or network It is caused to limit and connect unstable problem, it can greatly improve using the steady of the communication connection in automation process It is qualitative.
In a specific embodiment, when it is described using the operating system run in automated system be Android, accordingly , the debugging services end can be Adb server-sides, and the debugging client can be Adb clients.Please refer to Fig. 3.One In a specific Sample Scenario, there is being carried out using automation using automated programming system for Android operation system with operation For processing, Adb clients can to Adb server-side application permissions, after obtaining permission, can establish Adb clients in Connection between Adb server-sides, and then may be implemented to apply automatic business processing.
Specifically, Adb clients can generate preset-key, the preset-key can be as the Adb clients Identification information is the voucher that connection is established with local Adb server-sides, to ensure establishing connection with local Adb server-sides Afterwards, it can communicate with each other.
Specifically, the Adb clients can be provided with Adblib (debugging fastening means corresponding with Android system), The connection between the Adb server-sides is established based on the Adblib.Specifically, can be based on the Adblib can generate The authority application request message of Adb formats, the authority application request may include the preset-key;It is then possible to utilize The authority application request message is sent to the Adb server-sides by the Adblib.
Further, Adb server-sides, can be to described in user feedback after receiving the authority application request message The authority application request message of Adb clients, and after receiving the authorization messages of user, by the Adblib to Adb Client sends authorization messages, and then establishes the connection between Adb clients and Adb server-sides.
Further, it is established after connection between Adb clients and Adb server-sides, Adb clients can be based on described Adblib is to the Adb server-sides sending application automation mechanized operation instruction message.Specifically, Adb clients can will be applied certainly Dynamicization operational order is transmitted to Adblib, this is generated the application of Adb formats certainly using automation mechanized operation instruction using Adblib Dynamicization operational order message, and serviced using this is sent to the Adb using automation mechanized operation instruction message using Adblib End, and wait for the executing result message and application automation end message of operation requests.
In addition, it is necessary to explanation, in some embodiments, there are answering for Adblib None- identified Adb client transmissions The case where with automation mechanized operation instruction message, is based on the journey correspondingly, program instruction tool can be arranged in Adb clients Sequence instruction tool can will be converted to the format that Adblib can be identified using automation mechanized operation instruction message.
In a specific embodiment, it is assumed that using the frame frequency number that automation mechanized operation instruction message is acquisition Alipay According to the Adb formats in conjunction with shown in above-mentioned table 1, the application automation mechanized operation instruction message may include data:
Command can be the type of the getting frame frequency evidence indicated using the integer data of 4 bytes.
Arg0 can be the local flow identifier indicated using integer data.
Arg1 can be the message identifier remotely transmitted indicated using integer data.
Payload can be the execution code of the getting frame frequency evidence indicated using array data.
PayloadLength can be the length of the execution code of the getting frame frequency evidence indicated using integer data.
Checksum can be the check code indicated using integer data.
Magic can be that the type of the getting frame frequency evidence indicated using integer data is negated.
Further, Adb server-sides, can be with after receiving the application automation mechanized operation instruction message of Adblib transmissions It is parsed based on shell (command analysis device) and executes the operation corresponding using automation mechanized operation instruction, and knot will be executed Fruit feeds back to Adb clients by Adblib.
In addition, here after the executing result message corresponding to Adb server-side sending application automation mechanized operation instruction messages, The Adb server-sides can be fed back using automation end message to prompt Adb client current application automation mechanized operations to complete, Correspondingly, after Adb client sending application automation mechanized operation instruction messages, the application of Adb server-sides feedback can be waited for certainly Dynamicization end message;And after receiving using automation end message, the implementing result received is counted using Adblib Message completes current application automatic business processing.
Furthermore, it is necessary to illustrate, Adb clients and Adb server-sides run on same terminal in this specification embodiment In equipment, it therefore, between Adb clients and Adb server-sides can be realized and be communicated by local communications port, in communication process It can not be limited by space-time, and connect and more stablize.
A kind of another specific embodiment using automatic processing method of this specification introduced below.Fig. 4 is this explanation The flow diagram for another embodiment using automatic processing method that book provides, present description provides such as embodiment or Method operating procedure described in flow chart, but may include either more or less behaviour without performing creative labour based on routine Make step.The step of being enumerated in embodiment sequence is only a kind of mode in numerous step execution sequences, is not represented unique Execute sequence.It, can be suitable according to embodiment or method shown in the drawings when system or client production in practice executes Sequence executes either executes (such as environment of parallel processor or multiple threads) parallel.Specifically as shown in figure 3, the side Method may include:
S402:To the debugging services end sending permission application request message run on local terminal.
In this specification embodiment, when needing to carry out using automatic business processing the application on terminal device, run on Debugging client on the terminal device can be to the debugging services end sending permission application run on the terminal device Request message.Specifically, may include:
Preset-key is transmitted to debugging fastening means corresponding with the operating system run on local terminal;
Authority application request message is generated using the debugging fastening means, the authority request message includes described default Key;
Using the debugging fastening means authority application request message is sent to the debugging services end.
In this specification embodiment, the operation system for debugging client and being provided with and being run on local terminal It unites corresponding debugging fastening means.Debugging client can be using the debugging fastening means as between debugging services end Communication bridge.
Specifically, the preset-key as the identification information of debugging client is built with the debugging services end The voucher of vertical connection can be communicated with each other with ensureing after establishing connection with the debugging services end.
Furthermore, it is necessary to which explanation, preset-key described in this specification embodiment can pass through preset Encryption Algorithm It determines, can include but is not limited to Md5 (Message Digest Algorithm5, Message Digest Algorithm 5) encryptions and calculate Method.
S404:Receive the authorization messages for the user feedback that the debugging services end is sent.
In this specification embodiment, after the user authorization, the debugging services end can be anti-by the authorization messages of user It feeds and debugs client.Specifically, the operating system phase for debugging client and can utilizing and being run on local terminal Corresponding debugging fastening means receives the authorization messages for the user feedback that the debugging services end is sent, and then can establish debugging visitor Connection between family end and debugging services end.
S406:To the debugging services end sending application automation mechanized operation instruction message.
It, can be to institute after the debugging client establishes connection with the debugging services end in this specification embodiment Debugging services end sending application automation mechanized operation instruction message is stated, specifically, may include:
Application automation mechanized operation instruction is transmitted to debugging corresponding with the operating system run on local terminal to connect Bonding tool;
Application automation mechanized operation instruction is converted into instructing using automation mechanized operation using the debugging fastening means Message;
Using the debugging fastening means application automation mechanized operation instruction message is sent to the debugging services end.
In addition, in some embodiments, the application that there are debugging fastening means None- identified debugging client transmissions is automatic The case where changing operational order message is based on the program instruction correspondingly, program instruction tool can be arranged in debugging client Tool can will be converted to the format that debugging fastening means can identify using automation mechanized operation instruction message.
Further, the debugging services end can be based on debugging after receiving using automation mechanized operation instruction message The command analysis device of service end side parse and executes the operation using corresponding to automation mechanized operation instruction, and by implementing result Debugging client is fed back to by debugging fastening means accordingly.
S408:Receive the execution knot using corresponding to automation mechanized operation instruction message that the debugging services end is sent Fruit message.
In this specification embodiment, debugging client can utilize opposite with the operating system run on local terminal Fastening means should be debugged and receive the execution using corresponding to automation mechanized operation instruction message that the debugging services end is sent Results messages complete current application automatic business processing.
In addition, in some embodiments, holding corresponding to the sending application automation mechanized operation instruction message of debugging services end After row results messages, debugging services end can be fed back using automation end message to prompt debugging client current application automatic Change operation to complete.Correspondingly, the method can also include:
The application automation end message that the debugging services end is sent is received using the debugging fastening means;
Executing result message is received using debugging fastening means statistics.
Here debugging client waits for the feedback application of debugging services end after sending application automation mechanized operation instruction message Automate end message;And after application automates end message, execution is received using debugging fastening means statistics Results messages apply automatic business processing result data using the implementing result counted on as current, complete current application certainly Dynamicization processing.
In addition, it is necessary to illustrate, in this specification embodiment, communication process between client and debugging services end is debugged In message format and corresponding debugging fastening means it is corresponding, be not limited with above-mentioned Adb formats.
It can be seen that needing to carry out in a kind of one or more embodiments using automatic processing method of this specification Using operation debugging client on the terminal device of automatic business processing, can be realized in same terminal device using at automation Reason is solved and is carried out on different devices using needing in automation process to establish communication connection by data line or network It is caused to limit and connect unstable problem, it can greatly improve using the steady of the communication connection in automation process It is qualitative.
This specification on the other hand also provide it is a kind of apply automatic processing device, Fig. 5 be this specification provide application The structural schematic diagram of a kind of embodiment of automatic processing device, as shown in figure 5, described device 500 may include:
Authority application request message sending module 510, can be used for the debugging services run on local terminal Hold sending permission application request message;
Authorization messages receiving module 520, the mandate that can be used for receiving the user feedback that the debugging services end is sent disappear Breath;
Using automation mechanized operation instruction message sending module 530, can be used for debugging services end sending application certainly Dynamicization operational order message;
It is automatic to can be used for receiving the application that the debugging services end is sent for executing result message receiving module 540 Change the executing result message corresponding to operational order message.
In another embodiment, described device 500 can also include:
Local communications port can be used for communicating with the debugging services end.
In another embodiment, the authority application request message sending module 510 may include:
Cipher key delivery unit can be used for preset-key being transmitted to and the operating system phase that runs on local terminal Corresponding debugging fastening means;
Authority application request message production unit can be used for generating authority application using the debugging fastening means and ask Message, the authority request message include the preset-key;
Authority application request message transmission unit can be used for utilizing the debugging fastening means to the debugging services end Send the authority application request message.
In another embodiment, the application automation mechanized operation instruction message sending module 530 may include:
Using automation mechanized operation instruction transmission unit, can be used for be transmitted to using automation mechanized operation instruction and local whole The corresponding debugging fastening means of operating system run in end equipment;
Using automation mechanized operation instruction message generation unit, can be used for utilizing the debugging fastening means by the application Automation mechanized operation instruction is converted into applying automation mechanized operation instruction message;
Using automation mechanized operation instruction message transmission unit, can be used for utilizing the debugging fastening means to the debugging Server-side sends the application automation mechanized operation instruction message.
In another embodiment, the authorization messages receiving module 520 may include:
Authorization messages receiving unit can be used for utilizing debugging corresponding with the operating system run on local terminal Fastening means receives the authorization messages for the user feedback that the debugging services end is sent.
In another embodiment, the executing result message receiving module 540 may include:
Executing result message receiving unit can be used for using corresponding with the operating system run on local terminal Debugging fastening means receives the execution knot using corresponding to automation mechanized operation instruction message that the debugging services end is sent Fruit message.
In another embodiment, described device 500 can also include:
Using automation end message receiving module, can be used for receiving the debugging clothes using the debugging fastening means The application automation end message that business end is sent;
Executing result message statistical module can be used for receiving implementing result using debugging fastening means statistics and disappearing Breath.
The above application automatic processing method or device that this specification embodiment provides can be in a computer by handling Device executes corresponding program instruction to realize, such as using the c++ language of windows operating systems in the realization of the ends PC or other examples Android, iOS system programming language is such as used to be realized in intelligent terminal, and the processing logic based on quantum computer Realize etc..As shown in fig. 6, Fig. 6 is the showing using automatic business processing client according to an exemplary embodiment of this specification Meaning structure chart.In hardware view, which may include processor, internal bus, network interface, memory and non-volatile Memory is also possible that the required hardware of other business certainly.Processor reads corresponding from nonvolatile memory It is then run in computer program to memory, forms word string identification device on logic level.Certainly, in addition to software realization mode Except, other realization methods, such as the mode etc. of logical device or software and hardware combining is not precluded in the application, that is to say, that The executive agent of following process flow is not limited to each logic unit, can also be hardware or logical device.
Specifically, on the other hand this specification also provides a kind of application automatic business processing client, including processor and deposit Reservoir, the memory store the computer program instructions executed by the processor, and the computer program instructions can wrap It includes:
To the debugging services end sending permission application request message run on local terminal;
Receive the authorization messages for the user feedback that the debugging services end is sent;
To the debugging services end sending application automation mechanized operation instruction message;
The implementing result using corresponding to automation mechanized operation instruction message that the debugging services end is sent is received to disappear Breath.
In this specification embodiment, the processor may include central processing unit (CPU) or graphics processor (GPU), naturally it is also possible to including other microcontroller, logic gates, integrated circuits with logic processing capability etc. or its It is appropriately combined.Memory described in the embodiment of the present application can be for protecting stored memory device.In digital display circuit, energy The equipment for preserving binary data can be memory;In integrated circuits, one not physical form have store function Circuit may be memory, such as RAM, FIFO;In systems, the storage device with physical form can also be named storage Device etc..When realization, which can also be realized by the way of cloud storage, specific implementation, and this specification is not Mistake limits.
It can be seen that a kind of embodiment using automatic processing method, device, client or system of this specification will be Operation debugging client on the terminal device using automatic business processing is carried out, application can be realized in same terminal device Automatic business processing is solved and is carried out on different devices using needing in automation process to establish by data line or network It limits caused by communication connection and connects unstable problem, can greatly improve using the communication in automation process The stability of connection.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the action recorded in detail in the claims or step can be come according to different from the sequence in embodiment It executes and desired result still may be implemented.In addition, the process described in the accompanying drawings not necessarily require show it is specific suitable Sequence or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing be also can With or it may be advantageous.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " patrols Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method flow can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but not limited to following microcontroller Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that in addition to Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic Controller is obtained in the form of logic gate, switch, application-specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. to come in fact Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions For either the software module of implementation method can be the structure in hardware component again.
Device, module or the unit that above-described embodiment illustrates can specifically be realized, Huo Zheyou by computer chip or entity Product with certain function is realized.It is a kind of typically to realize that equipment is computer.Specifically, computer for example can be a People's computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media player, navigation Any equipment in equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment Combination.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit is realized can in the same or multiple software and or hardware when specification.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, apparatus or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (device) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage, graphene stores or other Magnetic storage apparatus or any other non-transmission medium can be used for storage and can be accessed by a computing device information.According to herein In define, computer-readable medium does not include temporary computer readable media (transitory media), such as data of modulation Signal and carrier wave.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of this specification can be provided as method, apparatus or computer program production Product.Therefore, complete hardware embodiment, complete software embodiment or implementation combining software and hardware aspects can be used in this specification The form of example.Moreover, this specification can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey Sequence module.Usually, program module include routines performing specific tasks or implementing specific abstract data types, program, object, Component, data structure etc..This specification can also be put into practice in a distributed computing environment, in these distributed computing environment In, by executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module It can be located in the local and remote computer storage media including storage device.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device and For server-side embodiment, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to side The part of method embodiment illustrates.
The foregoing is merely the embodiments of this specification, are not limited to this specification.For art technology For personnel, this specification can have various modifications and variations.It is all this specification spirit and principle within made by it is any Modification, equivalent replacement, improvement etc., should be included within right.

Claims (17)

1. it is a kind of using automatic processing method, including:
The debugging services end sending permission application that the debugging client run on the terminal device is run on the terminal device Request message;
The authorization messages of user feedback are sent to the debugging client by the debugging services end;
The debugging client is to the debugging services end sending application automation mechanized operation instruction message;
The debugging services end executes the operation using corresponding to automation mechanized operation instruction message;
The executing result message of the operation is sent to the debugging client by the debugging services end.
2. it is a kind of using automatic processing method, including:
To the debugging services end sending permission application request message run on local terminal;
Receive the authorization messages for the user feedback that the debugging services end is sent;
To the debugging services end sending application automation mechanized operation instruction message;
Receive the executing result message using corresponding to automation mechanized operation instruction message that the debugging services end is sent.
3. according to the method described in claim 2, wherein, the method further includes:
It is communicated with the debugging services end based on the local communications port on the local terminal.
4. according to the method in claim 2 or 3, wherein described to running on the debugging services end on local terminal Sending permission application request message includes:
Preset-key is transmitted to debugging fastening means corresponding with the operating system run on local terminal;
Authority application request message is generated using the debugging fastening means, the authority request message includes described default close Key;
Using the debugging fastening means authority application request message is sent to the debugging services end.
5. according to the method in claim 2 or 3, wherein described to the debugging services end sending application automation mechanized operation Instruction message includes:
Application automation mechanized operation instruction is transmitted to debugging corresponding with the operating system run on local terminal and connects work Tool;
It is converted into application automation mechanized operation instruction to apply automation mechanized operation instruction message using the debugging fastening means;
Using the debugging fastening means application automation mechanized operation instruction message is sent to the debugging services end.
6. according to the method in claim 2 or 3, wherein the user feedback for receiving the debugging services end transmission Authorization messages include:
The debugging services end is received using debugging fastening means corresponding with the operating system run on local terminal to send out The authorization messages for the user feedback sent.
7. according to the method in claim 2 or 3, wherein the application for receiving the debugging services end transmission is certainly Executing result message corresponding to dynamicization operational order message includes:
The debugging services end is received using debugging fastening means corresponding with the operating system run on local terminal to send out The executing result message using corresponding to automation mechanized operation instruction message sent.
8. according to the method described in claim 7, wherein, the method further includes:
The application automation end message that the debugging services end is sent is received using the debugging fastening means;
Executing result message is received using debugging fastening means statistics.
9. it is a kind of using automatic processing device, including:
Authority application request message sending module, for running on the debugging services end sending permission Shen on local terminal It please request message;
Authorization messages receiving module, the authorization messages for receiving the user feedback that the debugging services end is sent;
Using automation mechanized operation instruction message sending module, for being instructed to the debugging services end sending application automation mechanized operation Message;
Executing result message receiving module disappears for receiving the application automation mechanized operation instruction that the debugging services end is sent The corresponding executing result message of breath.
10. device according to claim 9, wherein described device further includes:
Local communications port, for being communicated with the debugging services end.
11. device according to claim 9 or 10, wherein the authority application request message sending module includes:
Cipher key delivery unit, for preset-key to be transmitted to debugging corresponding with the operating system run on local terminal Fastening means;
Authority application request message production unit, for generating authority application request message, institute using the debugging fastening means It includes the preset-key to state authority request message;
Authority application request message transmission unit, described in being sent to the debugging services end using the debugging fastening means Authority application request message.
12. device according to claim 9 or 10, wherein the application automation mechanized operation instruction message sending module packet It includes:
Transmission unit is instructed using automation mechanized operation, for automation mechanized operation instruction will to be applied to be transmitted to and local terminal The corresponding debugging fastening means of operating system of operation;
Using automation mechanized operation instruction message generation unit, grasped for being automated the application using the debugging fastening means Make instruction to be converted into applying automation mechanized operation instruction message;
Using automation mechanized operation instruction message transmission unit, for being sent out to the debugging services end using the debugging fastening means Send the application automation mechanized operation instruction message.
13. device according to claim 9 or 10, wherein the authorization messages receiving module includes:
Authorization messages receiving unit, for utilizing debugging fastening means corresponding with the operating system run on local terminal Receive the authorization messages for the user feedback that the debugging services end is sent.
14. device according to claim 9 or 10, wherein the executing result message receiving module includes:
Executing result message receiving unit, for being connected using debugging corresponding with the operating system run on local terminal Tool receives the executing result message using corresponding to automation mechanized operation instruction message that the debugging services end is sent.
15. device according to claim 14, wherein described device further includes:
Using automation end message receiving module, sent for receiving the debugging services end using the debugging fastening means Application automation end message;
Executing result message statistical module, for receiving executing result message using debugging fastening means statistics.
16. it is a kind of using automated programming system, including:
Client is debugged, for the debugging services end sending permission application request message to local;And it is used for the debugging Server-side sending application automation mechanized operation instruction message;
Debugging services end, for the authorization messages of user feedback to be sent to the debugging client;And it is described for executing Using the operation corresponding to automation mechanized operation instruction message;And it is described for the executing result message of the operation to be sent to Debug client.
17. a kind of application automatic business processing client, including processor and memory, the memory storage is by the processor The computer program instructions of execution, the computer program instructions include:
To the debugging services end sending permission application request message run on local terminal;
Receive the authorization messages for the user feedback that the debugging services end is sent;
To the debugging services end sending application automation mechanized operation instruction message;
Receive the executing result message using corresponding to automation mechanized operation instruction message that the debugging services end is sent.
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 true CN108415827A (en) 2018-08-17
CN108415827B 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)

Cited By (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 (4)

* 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
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

Patent Citations (4)

* 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
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

Cited By (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

Also Published As

Publication number Publication date
CN108415827B (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN107196989B (en) A kind of processing method and processing device of service request
CN111555940B (en) Client test method and device, electronic equipment and computer readable storage medium
CN107679700A (en) Business flow processing method, apparatus and server
CN108418851A (en) Policy issue system, method, apparatus and equipment
CN110009336A (en) Evidence collecting method and device based on block chain
CN108334340A (en) A kind of Cross-environment data communications method, device and system
CN110753020A (en) Network request processing method and device
CN109947643A (en) A kind of configuration method, device and the equipment of the experimental program based on A/B test
CN108074024A (en) Risk Identification Method, apparatus and system
CN108400902A (en) A kind of method, apparatus and equipment of gray scale test
CN110489159A (en) Installation kit compressing method and data analysis method, device, medium and equipment
CN108282471A (en) A kind of transmission method of electronic certificate, device and equipment
CN108616361A (en) A kind of method and device of identification equipment uniqueness
CN108564363A (en) A kind of transaction processing method, server, client and system
CN110134735A (en) The storage method and device of distributed transaction log
CN110046052A (en) A kind of service calling method and device
CN108415827A (en) Using automatic processing method, device, client and system
CN109711806A (en) A kind of contracting method, equipment and computer-readable medium
CN111124541B (en) Configuration file generation method, device, equipment and medium
CN107908552A (en) A kind of test method based on link, device and equipment
CN111240801A (en) Method, device, medium and electronic equipment for generating heap memory snapshot file
CN109815116A (en) A kind of method for testing software and equipment platform and computer readable storage medium
CN109842498A (en) A kind of client terminal configuring method, server, client and electronic equipment
CN108596294A (en) A kind of method, system and server using bar code
CN113781126A (en) Electricity business information processing method and system

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
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.

GR01 Patent grant
GR01 Patent grant