CN106569828A - Method of realizing simulation of touch device manual operation in expandable and customized way - Google Patents
Method of realizing simulation of touch device manual operation in expandable and customized way Download PDFInfo
- Publication number
- CN106569828A CN106569828A CN201610988669.5A CN201610988669A CN106569828A CN 106569828 A CN106569828 A CN 106569828A CN 201610988669 A CN201610988669 A CN 201610988669A CN 106569828 A CN106569828 A CN 106569828A
- Authority
- CN
- China
- Prior art keywords
- android
- interface
- function
- project
- executable
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
The method provides a method of realizing simulation of touch device manual operation in an expandable and customized way. The method comprises steps of PHP server setting operation, Android NDK executable program setting operation and Android client setting operation. With cooperative operation of the PHP server setting operation, Android NDK executable program setting operation and Android client setting operation, touch device manual operation can be simulated. The method is an automatic solution scheme for replacing manual operation of a mobile touch device and a series of functions of automatic click, automatic drag, automatic data filling and automatic networking and synchronization can be achieved; resource can be synchronously interacted on the cloud; and timely updating and timely operation state control can be achieved.
Description
Technical field
The present invention relates to information network technique field, more particularly to a kind of expansible customization realizes that analog manual operation touches
The method of equipment.
Background technology
Carrying out automation mechanized operation to ANDROID applications at present can only be using instrument ready-made on the market, and such instrument cannot
Long-time automation mechanized operation, needs artificial periodically interventional operations, and such instrument to realize customizing the automation with batch
Operation.Such as current mobile phone application market quickly grows, especially ANDROID platform applications, but in the complete rear tester of application and development
Member needs to carry out the test operation of batch, if the installation that tester is applied manually being required for traditional approach and being clicked on
Test.
" one kind is based on non-tactile Android intelligent virtual mouse " is prior art discloses, Publication No. is seen:
CN105929981A, publication date is:The Chinese patent of 2016-09-07, the disclosure of the invention is a kind of to be based on non-tactile Android
Smart mobile phone virtual mouse, mouse be android system support standard input device, the event and the place of message for mouse
Reason, Android has the flow process of a set of maturation, using this ripe flow process, the message that button report comes up is converted into into mouse
Message, then transfer to Android to process mouse event and message after these conversions, so as to reach simulation finger contact action, behaviour
Work includes that mouse clicking operation, mouse length, by operation, cursor movement and cursor drag operation, above-mentioned operation, are utilized
SendPointerSync method analog mouses inside automatic test class Instrumentation inside android system
Message realizes function, and the functional realiey can greatly extend the range of application of non-tactile smart mobile phone, is allowed to install originally
Some only support that the applications for touching can also be arranged on the machine of non-touch screen and use.The invention is by mobile phone virtual mouse
Mark is operated, and not present patent application realizes that analog manual operation reduces artificial participation.
The content of the invention
The technical problem to be solved in the present invention, be provide be one substitute manual control move touch apparatus automation
Solution, realizes automatically clicking, automatically dragging, Auto-writing data, a series of functions such as synchronous of networking automatically.And to money
Source carries out the synchronous interaction in high in the clouds, realizes real-time update, controls the operation such as running status in real time.
What the present invention was realized in:A kind of method that analog manual operation's touch apparatus are realized in expansible customization, it is described
Method includes:PHP servers arrange operation, Android NDK executable programs setting operation and Android client and set
Put operation;
The PHP servers arrange operation:Using PHP Server development function interfaces;Using PHP Server developments with
The communication interface that client is interacted, the service end for realizing data is managed automatically;By the application section of the PHP servers developed
Affix one's name on line in environment;
The Android NDK executable programs arrange operation:Create an Android NDK project;To Android
Click function C source code in source code is extracted and changed, and realizes that the click function of setting, length press function;To Android source codes
In sectional drawing function C source code extracted and changed, and pixel information is converted, realize color comparison function and picture
Search comparison function;Addition Lua source codes are that the compiling of later stage executable program is used in the Android source codes of the project, are opened
Send out script function registration interface, script thread control interface and JAVA code communication interfaces;Android.mk is literary in modification project
Part, it would be desirable to which all sound code files of compiling are added in a configuration file, compiling result option is revised as into binary system can hold
Line program;Binary executable compiles generation binary executable under project directory;
The Android client arranges operation:Android client project is created, the binary system that compiling is generated
Executable file is copied in resource folder;
In Android client development logic control module, realize that control script is selected, script is loaded, server log
With exit, restart automatic running utilization, automatic running script, applying the update function;
Developing network communication module, realizes the communication function with PHP servers, while the message content after parsing is transmitted
To the Logic control module;
Script information, hot key value, running state information are passed to binary system and can be held by exploitation and bottom communication module, realization
Style of writing part;
Exploitation Service Processing Module, realizes self-defined service logic interface, locates the transmission of reason binary executable
Self-defined business;
When touch apparatus test is carried out, Android client passes through to obtain the configuration file, and by logic control
Module, network communication module and bottom communication module and Service Processing Module are simulated artificial operation.
Further, after one Android NDK project of the establishment, further include:Set the source code in project
Catalogue and config option.
Further, the function interface includes machine handing interface, task configuration interface or operation result statistical
Analysis interface.
Further, the communication interface includes that heartbeat interactive interface, task obtain interface and implementing result is submitted to and connect
Mouthful.
Further, Android device Root is realized using third party's instrument, third party's instrument includes
KingRoot or 360Root.
The invention has the advantages that:As long as the 1, user has simple programming skill to write automatized script;
2nd, once configure and be capable of achieving long-term automation mechanized operation, manual intervention is reduced as far as possible;
3rd, high-volume automation mechanized operation can be quickly realized, is saved labour turnover and time cost;
4th, it is capable of achieving extension customized development, it is adaptable to a variety of scenes.
Description of the drawings
With reference to the accompanying drawings in conjunction with the embodiments the present invention is further illustrated.
Fig. 1 is the inventive method schematic flow sheet.
Fig. 2 be the present invention realize analog manual operation's touch apparatus realize schematic flow sheet.
Specific embodiment
3rd, refer to shown in Fig. 1 and Fig. 2, analog manual operation's touch apparatus are realized in a kind of expansible customization of the present invention
Method, it is characterised in that:Methods described includes:The setting of PHP servers is operated, AndroidNDK executable programs arrange operation,
And Android client arranges operation;
The PHP servers arrange operation:1st, using PHP Server development function interfaces, including machine handing interface,
Task configuration interface, operation result statistical analysis interface;
2nd, the communication interface interacted using PHP Server developments and client, including heartbeat interactive interface, task are obtained
Taking interface, implementing result submits to interface, the service end for realizing data automatically to manage;
3rd, the application of the PHP servers developed is deployed on line in environment, and ensures normal operation.
The Android NDK executable programs arrange operation:1st, an Android NDK project is created first, if
Source code catalogue and the config option in project is put;
2nd, the click function C source code in Android source codes is extracted and changed, realize self-defining click function,
It is long to press function;
3rd, the sectional drawing function C source code in Android source codes is extracted and is changed, and pixel information is carried out to turn
Change, realize color comparison function and picture searching comparison function;
4th, add Lua source codes in project Android source code, be that the compiling of later stage executable program is used;
5th, script function registration interface, script thread control interface, with JAVA code communication interfaces are developed;
6th, Android.mk files in modification project, it would be desirable to which all sound code files of compiling are added in configuration file,
Compiling result option is revised as into binary executable;
7th, ndk-build orders are performed under project directory, compiling generates binary executable.
The Android client arranges operation:
1st, Android client project is created, the binary executable that just-ahead-of-time compilation is generated is copied to resource text
In part folder;
2nd, development logic control module, realizes control script selection, script loading, server log and exits, restarts certainly
Dynamic operation utilization, automatic running script, applying the update function;
3rd, developing network communication module, realizes the communication function with PHP servers, while the message content after parsing is passed
Pass Logic control module;
4th, exploitation and bottom communication module, realization is by script information, hot key value, running state information passes to binary system can
Perform file;
5th, Service Processing Module is developed, realizes self-defined service logic interface, place's reason binary executable transmission
Self-defined business;
6th, Android device Root, such as KingRoot, 360Root etc. are realized using third party's instrument;
7th, application is installed, chooses necessary option, operation application, using will automatically obtain task and perform task.
When touch apparatus test is carried out, Android client passes through to obtain the configuration file, and by logic control
Module, network communication module and bottom communication module and Service Processing Module are simulated artificial operation.
Although the foregoing describing the specific embodiment of the present invention, those familiar with the art should manage
Solution, the specific embodiment described by us is merely exemplary, rather than for the restriction to the scope of the present invention, is familiar with this
The technical staff in field should be covered the present invention's in the equivalent modification and change made according to the spirit of the present invention
In scope of the claimed protection.
Claims (5)
1. a kind of method that analog manual operation's touch apparatus are realized in expansible customization, it is characterised in that:Methods described includes:
PHP servers arrange operation, AndroidNDK executable programs and arrange operation and Android client setting operation;
The PHP servers arrange operation:Using PHP Server development function interfaces;Using PHP Server developments and client
The communication interface that end interacts, the service end for realizing data is managed automatically;The application of the PHP servers developed is deployed to
On line in environment;
The AndroidNDK executable programs arrange operation:Create an Android NDK project;To Android source codes
In click function C source code extracted and changed, realize the click function of setting, long press function;To in Android source codes
Sectional drawing function C source code is extracted and changed, and pixel information is converted, and realizes color comparison function and picture searching
Comparison function;Addition Lua source codes are that the compiling of later stage executable program is used in the Android source codes of the project, develop pin
This function register interface, script thread control interface and JAVA code communication interfaces;Android.mk files in modification project,
The all sound code files for needing compiling are added in a configuration file, compiling result option is revised as into the executable journey of binary system
Sequence;Binary executable compiles generation binary executable under project directory;
The Android client arranges operation:Android client project is created, the binary system that compiling is generated can be held
Style of writing part is copied in resource folder;
In Android client development logic control module, realize control script selection, script loading, server log and move back
Go out, restart automatic running utilization, automatic running script, applying the update function;
Developing network communication module, realizes the communication function with PHP servers, while the message content after parsing is passed to into institute
State Logic control module;
Exploitation and bottom communication module, realize for script information, hot key value, running state information passing to the executable text of binary system
Part;
Exploitation Service Processing Module, realizes self-defined service logic interface, locates making by oneself for reason binary executable transmission
Adopted business;
When touch apparatus test is carried out, Android client passes through to obtain the configuration file, and by logic control mould
Block, network communication module and bottom communication module and Service Processing Module are simulated artificial operation.
2. the method that analog manual operation's touch apparatus are realized in expansible customization according to claim 1, it is characterised in that:
After one AndroidNDK project of the establishment, further include:Set source code catalogue and the config option in project.
3. the method that analog manual operation's touch apparatus are realized in expansible customization according to claim 1, it is characterised in that:
The function interface includes machine handing interface, task configuration interface or operation result statistical analysis interface.
4. the method that analog manual operation's touch apparatus are realized in expansible customization according to claim 1, it is characterised in that:
The communication interface includes that heartbeat interactive interface, task obtain interface and implementing result submits interface to.
5. the method that analog manual operation's touch apparatus are realized in expansible customization according to claim 1, it is characterised in that:
Android device Root is realized using third party's instrument, third party's instrument includes KingRoot or 360Root.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610988669.5A CN106569828B (en) | 2016-11-10 | 2016-11-10 | The method that analog manual operation's touch apparatus is realized in expansible customization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610988669.5A CN106569828B (en) | 2016-11-10 | 2016-11-10 | The method that analog manual operation's touch apparatus is realized in expansible customization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106569828A true CN106569828A (en) | 2017-04-19 |
CN106569828B CN106569828B (en) | 2019-08-09 |
Family
ID=58541002
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610988669.5A Active CN106569828B (en) | 2016-11-10 | 2016-11-10 | The method that analog manual operation's touch apparatus is realized in expansible customization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106569828B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108762765A (en) * | 2018-06-05 | 2018-11-06 | 河北工业大学 | Development board program based on contiki systems compiles method for down loading |
CN112615941A (en) * | 2021-01-14 | 2021-04-06 | 哈尔滨工业大学 | Network control laboratory system based on Android operating system |
CN113326207A (en) * | 2021-06-30 | 2021-08-31 | 福建天泉教育科技有限公司 | Automatic testing system and method for Steam VR program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713902A (en) * | 2013-12-26 | 2014-04-09 | Tcl集团股份有限公司 | Method and system for BOA compiling based on Android system |
CN103777959A (en) * | 2014-02-17 | 2014-05-07 | 李海源 | Use method of virtual mouse |
CN105786664A (en) * | 2014-12-25 | 2016-07-20 | 展讯通信(上海)有限公司 | Automatic test system for simulating user operation |
CN105929981A (en) * | 2016-07-13 | 2016-09-07 | 深圳市鼎元科贸有限公司 | Virtual mouse based on touchless Android smartphone |
-
2016
- 2016-11-10 CN CN201610988669.5A patent/CN106569828B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713902A (en) * | 2013-12-26 | 2014-04-09 | Tcl集团股份有限公司 | Method and system for BOA compiling based on Android system |
CN103777959A (en) * | 2014-02-17 | 2014-05-07 | 李海源 | Use method of virtual mouse |
CN105786664A (en) * | 2014-12-25 | 2016-07-20 | 展讯通信(上海)有限公司 | Automatic test system for simulating user operation |
CN105929981A (en) * | 2016-07-13 | 2016-09-07 | 深圳市鼎元科贸有限公司 | Virtual mouse based on touchless Android smartphone |
Non-Patent Citations (1)
Title |
---|
赵耀宗: "Android应用程序GUI自动化遍历技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108762765A (en) * | 2018-06-05 | 2018-11-06 | 河北工业大学 | Development board program based on contiki systems compiles method for down loading |
CN112615941A (en) * | 2021-01-14 | 2021-04-06 | 哈尔滨工业大学 | Network control laboratory system based on Android operating system |
CN112615941B (en) * | 2021-01-14 | 2022-04-15 | 哈尔滨工业大学 | Network control laboratory system based on Android operating system |
CN113326207A (en) * | 2021-06-30 | 2021-08-31 | 福建天泉教育科技有限公司 | Automatic testing system and method for Steam VR program |
CN113326207B (en) * | 2021-06-30 | 2023-09-22 | 福建天泉教育科技有限公司 | Automatic testing system and method for stem VR program |
Also Published As
Publication number | Publication date |
---|---|
CN106569828B (en) | 2019-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140082511A1 (en) | Method and system for emulating desktop software applications in a mobile communication network | |
CN102187314B (en) | Interactive design environments to visually model, debug and execute resource oriented programs | |
CN104636139A (en) | Visualized cross-platform mobile application development and generation system | |
Hamon et al. | Formal description of multi-touch interactions | |
CN111126781A (en) | RPA service flow establishing method and system | |
CN105528418B (en) | A kind of design documentation generation method and device | |
WO2019155369A1 (en) | Tri-affinity model driven method and platform for authoring, realizing, and analyzing a cross-platform application | |
CN109144506A (en) | A kind of configurable UI interface creating method | |
US11714625B2 (en) | Generating applications for versatile platform deployment | |
Asensio et al. | Emulating home automation installations through component-based web technology | |
CN102546797B (en) | Screen shooting method for mobile equipment based on browser end/server end structure | |
Whiting et al. | Creating an iPhone application for collecting continuous ABC data | |
Raible | The JHipster mini-book | |
CN106569828A (en) | Method of realizing simulation of touch device manual operation in expandable and customized way | |
WO2007126664A2 (en) | Application prototyping | |
JP2022541986A (en) | Apparatus and method, equipment and medium for implementing a customized artificial intelligence production line | |
AU2014100798A4 (en) | A visual role and transition based method and system for developing complex web applications | |
CN112068879B (en) | Method and device for constructing client application program development framework based on configuration | |
Kumpulainen | Web application development with Vue. js | |
Luhana et al. | Streamlining mobile app deployment with Jenkins and Fastlane in the case of Catrobat's pocket code | |
Gill | Using React Native for mobile software development | |
Uluca | Angular 6 for Enterprise-Ready Web Applications: Deliver production-ready and cloud-scale Angular web apps | |
CN106126213A (en) | A kind of Android based on IFML develops modeling method | |
WO2023143746A1 (en) | System and method for managing artifacts related to apps | |
CN113869949A (en) | Page data generation method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 350028 Jinshan Juyuan Industrial Park project a, No.18, West Third Ring Road, Jianxin Town, Cangshan District, Fuzhou City, Fujian Province Patentee after: Baobao Bus Co.,Ltd. Address before: 350000 room 320, building 11, block B, Fuzhou Software Park, No. 89, software Avenue, Gulou District, Fuzhou City, Fujian Province Patentee before: FUZHOU ZHIYONG INFORMATION TECHNOLOGY Co.,Ltd. |
|
CP03 | Change of name, title or address |