CN107133166A - A kind of Remote configuration and management method of Android test systems - Google Patents
A kind of Remote configuration and management method of Android test systems Download PDFInfo
- Publication number
- CN107133166A CN107133166A CN201710181057.XA CN201710181057A CN107133166A CN 107133166 A CN107133166 A CN 107133166A CN 201710181057 A CN201710181057 A CN 201710181057A CN 107133166 A CN107133166 A CN 107133166A
- Authority
- CN
- China
- Prior art keywords
- test
- agent
- management service
- mobile
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- 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/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of Remote configuration and management method of Android test systems:Step 1, in Android mobile terminal configurating terminal act on behalf of agent;Step 2, in test and management service register mobile terminal act on behalf of agent, after the completion of registration, test and management service is initialized to terminal agent agent;Step 3, in test and management service register Mobile solution;Step 4, in test and management service configure Mobile solution;Step 5, test and management service are sent to terminal agent agent installs application instruction, and terminal agent agent is received after instruction, is downloaded newest mobile applications from test and management service and is performed silent installation;Newest service data is sent to test and management service by step 6, terminal agent agent monitoring Mobile solution service data output directories, periodic test document change, and test and management service is received and storage running data.Effectively solve the problems such as Large-scale Mobile is using the Mobile solution configuration in test, deployment, control and operation monitoring.
Description
Technical field
The present invention relates to a kind of Remote configuration and management method of Android test systems.
Background technology
Due to Android(Android)Mobile phone brand and species are various, and manufacturer terminal can be released and largely included on the market every year
The mobile terminal of various characteristics, these mobile terminal difference in version are larger, for various Mobile solutions compatibility also it is each not
It is identical, only need to consider several same brand and models that existing market is present, and pin for the product of the iOS versions of apple equipment
The system update that apple is issued is adapted to.But in face of Android device, the adaptation of product just becomes extremely complex:According to
The number that Google provides only just has hundreds of money different shapeds it is said that there is nearly 20,000 sections of Android mobile phones in world market at present under Samsung
Number mobile phone, therefore, carry out adaptation and the test of Android device, be the factor that mobile Development person must take into consideration, be also one
The product important dimension observed when receiving to assess.
In traditional mobile test, the deployment of Mobile solution is typically by mode direct-connected usb, and main method is logical
Cross adb(Debug bridge)The mode remotely connected is installed application program on mobile phone, and this mode is easily grasped by terminal
Make the influence of system, and many mobile phone acquiescences do not support the unlatching of adb patterns, install and apply additionally by adb patterns, application
Associated profile and automatized script also by control of authority, be only placed into sdcard, using deployment, test effect
Rate and quality are all than relatively low, and the possibility of error is big.
The content of the invention
In view of the above-mentioned problems, the present invention provides a kind of Remote configuration and management method of Android test systems, effectively solution
The problems such as certainly Large-scale Mobile is using the Mobile solution configuration in test, deployment, control and operation monitoring, reduction remote handle behaviour
Make link, improve configuration and deployment efficiency, reduce operating mistake rate.
To realize above-mentioned technical purpose and the technique effect, the present invention is achieved through the following technical solutions:
A kind of Remote configuration and management method of Android test systems, comprise the following steps:
Step 1, in Android mobile terminal configurating terminal act on behalf of agent;
Step 2, in test and management service register mobile terminal act on behalf of agent, after the completion of registration, test and management service is to terminal
Agent is acted on behalf of to be initialized;
Step 3, in test and management service register Mobile solution;
Step 4, in test and management service configure Mobile solution;
Step 5, test and management service are sent to terminal agent agent installs application instruction, and terminal agent agent receives instruction
Afterwards, newest mobile applications are downloaded from test and management service and performs silent installation;
Step 6, terminal agent agent monitoring Mobile solution service data output directories, periodic test document change will be newest
Service data be sent to test and management service, test and management service is received and storage running data.
It is preferred that, Android mobile terminal, Android Mobile solutions and server are collected using test and management service
Middle management.
It is preferred that, registration mobile terminal acts on behalf of agent, including terminal name, IP, mobile terminal generation in test and management service
Manage listening port.
It is preferred that, Mobile solution is registered in test and management service, Mobile solution attribute includes Apply Names, application version
Number, using issue date, deployment context, APK file.
It is preferred that, when Mobile solution is registered, corresponding program file is uploaded in test and management service, and record Mobile solution
With associating for APK file.
It is preferred that, Mobile solution configuration includes, using APK, using ID, file type, file content, being stored in database.
It is preferred that, in step 5, terminal agent agent is received after instruction, stops the Mobile solution being currently running first, is backed up
The application program disposed, backup file is stored in backup directory, secondly deletes the current application program disposed, then
Newest mobile applications are downloaded from test and management service and silent installation is performed, and download configuration file is simultaneously fixed by configuration file
Justice is stored in relevant position in catalogue.
The beneficial effects of the invention are as follows:
The terminal agent agent that the present invention is disposed by independent operating provides application deployment, control and service data in terminal
Acquisition capacity, avoids the problem of traditional adb modes install frequent error in terminating card mode, significantly reduces mobile survey
Test system is disposed for Mobile solution, managed, the difficulty of data collection, substantially increases testing efficiency.Effectively solve extensive
Mobile solution configuration, deployment, control in Mobile solution test and the problems such as operation monitoring, reduce remote handle operation link,
Configuration and deployment efficiency are improved, operating mistake rate is reduced.
Brief description of the drawings
Fig. 1 is a kind of Remote configuration of Android test systems of the invention and the schematic diagram of management method.
Embodiment
Technical solution of the present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings, so that ability
The technical staff in domain can be better understood from the present invention and can be practiced, but illustrated embodiment is not as the limit to the present invention
It is fixed.
As shown in figure 1, a kind of Remote configuration and management method of Android test systems, comprise the following steps:
Step 1, in Android mobile terminal configurating terminal act on behalf of agent.
Step 2, in test and management service register mobile terminal act on behalf of agent.This method manages clothes using independent test
Business is to Android mobile terminal, Android Mobile solutions, server(Refer to physical server, its IP address or machine need to be recorded
Name, terminal agent listening port)Managed concentratedly, support the various configurations modes such as xml, json file.Taken by test and management
Business is received, stored, analysis mobile terminal, the service data of Mobile solution.
The listening port of terminal agent is defined in configuration file, such as uses default port without definition.Agent start-up courses
In first with TCP methods of service expose listening port, register instruction reception processing Handler.Register mobile terminal, including terminal
Title, IP, management port (mobile terminal acts on behalf of listening port).Terminal agent program needs to install first in the terminal,
And listening port is configurable, communication protocol uses TCP.
After the completion of registration, test and management service is initialized to terminal agent agent, and initialization data is sent to pair
The mobile terminal agency answered, completes the parameter initialization of Agent.Installation and deployment terminal agent program, is supervised in the terminal
Designated port is listened to receive the management instruction that management server is issued.
Step 3, in test and management service register Mobile solution:Mobile solution underlying attribute includes Apply Names, application
Version number, using issue date, deployment context, APK file etc., when Mobile solution is registered, uploaded in test and management service
Corresponding program file(APK), and record associating for Mobile solution and APK file(1 pair 1).
Step 4, in test and management service configure Mobile solution:
Mobile solution configuration includes, using APK, using ID, file type, file content, being stored in database.For specifying
Mobile solution, can create, multiple different types of configuration files in parallel.The configuration file of Xml, Json form, there is form
Verifying function, checks the legitimacy of file content form.The configuration file of extended formatting does not provide verifying function.
Apply batch configuration furthermore it is possible to move, i.e., multiple Mobile solutions can constitute a deployment unit in order to
Batch deployment management, the application in deployment unit should have different application program ID.
When configuring application, it is necessary to upload Mobile solution with ZIP compressed packages or APK forms, united by test and management service
One management.
Step 5, test and management service are sent to terminal agent agent installs application instruction, and terminal agent agent, which is received, to be referred to
After order, download newest mobile applications from test and management service and perform silent installation.
Test and management services to terminal agent and sends Disposition Instructions, and instruction includes application program ID, application program and downloaded
Path, the profile list etc..Terminal agent agent is received after instruction, stops the Mobile solution being currently running first, backup is
The application program of deployment, backup file is stored in backup directory.Secondly the current application program disposed is deleted(Catalogue),
Then newest mobile applications are downloaded from test and management service and performs silent installation, download configuration file is simultaneously literary by configuration
Part definition is stored in relevant position in catalogue.
Step 6, terminal agent agent(Terminal agent plug-in unit plug-in unit)Monitor Mobile solution service data output directory, week
Phase property checks document change, newest service data is sent into test and management service, test and management service receives and stores fortune
Row data.
Terminal agent disposes Mobile solution on mobile terminals, using timing acquiring service data after starting and with file
Form is stored in fixed catalogue.Terminal agent timing collect current mobile terminal service data, timing scan Mobile solution with
And the ephemeral data file that Mobile solution is generated, by the service data asynchronous transmission collected to test and management service.
The application that the terminal agent agent that the present invention is disposed by independent operating is provided in terminal is disposed, controls and run
Data acquisition ability, avoids the problem of traditional adb modes install frequent error in terminating card mode, significantly reduces shifting
Dynamic test system is disposed for Mobile solution, managed, the difficulty of data collection, substantially increases testing efficiency.Effectively solve big
Mobile solution configuration, deployment, control in the test of scale Mobile solution and the problems such as operation monitoring, reduce remote handle operation ring
Section, improves configuration and deployment efficiency, reduces operating mistake rate.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure that bright specification and accompanying drawing content are made either equivalent flow conversion or to be directly or indirectly used in other related
Technical field, be included within the scope of the present invention.
Claims (7)
1. a kind of Remote configuration and management method of Android test systems, it is characterised in that comprise the following steps:
Step 1, in Android mobile terminal configurating terminal act on behalf of agent;
Step 2, in test and management service register mobile terminal act on behalf of agent, after the completion of registration, test and management service is to terminal
Agent is acted on behalf of to be initialized;
Step 3, in test and management service register Mobile solution;
Step 4, in test and management service configure Mobile solution;
Step 5, test and management service are sent to terminal agent agent installs application instruction, and terminal agent agent receives instruction
Afterwards, newest mobile applications are downloaded from test and management service and performs silent installation;
Step 6, terminal agent agent monitoring Mobile solution service data output directories, periodic test document change will be newest
Service data be sent to test and management service, test and management service is received and storage running data.
2. the Remote configuration and management method of a kind of Android test systems according to claim 1, it is characterised in that
Android mobile terminal, Android Mobile solutions and server are managed concentratedly using test and management service.
3. the Remote configuration and management method of a kind of Android test systems according to claim 1, it is characterised in that
Mobile terminal is registered in test and management service and acts on behalf of agent, including terminal name, IP, mobile terminal act on behalf of listening port.
4. the Remote configuration and management method of a kind of Android test systems according to claim 3, it is characterised in that
Mobile solution is registered in test and management service, Mobile solution attribute includes Apply Names, application version number, using date of issue
Phase, deployment context, APK file.
5. the Remote configuration and management method of a kind of Android test systems according to claim 4, it is characterised in that
When Mobile solution is registered, corresponding program file is uploaded in test and management service, and record the pass of Mobile solution and APK file
Connection.
6. the Remote configuration and management method of a kind of Android test systems according to claim 5, it is characterised in that
Mobile solution configuration includes, using APK, using ID, file type, file content, being stored in database.
7. the Remote configuration and management method of a kind of Android test systems according to claim 1, it is characterised in that
In step 5, terminal agent agent is received after instruction, stops the Mobile solution being currently running first, backs up the application journey disposed
Sequence, backup file is stored in backup directory, the current application program disposed secondly is deleted, then from test and management service
Download newest mobile applications and perform silent installation, download configuration file is simultaneously stored in catalogue by configuration file definition
Relevant position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710181057.XA CN107133166A (en) | 2017-03-24 | 2017-03-24 | A kind of Remote configuration and management method of Android test systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710181057.XA CN107133166A (en) | 2017-03-24 | 2017-03-24 | A kind of Remote configuration and management method of Android test systems |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107133166A true CN107133166A (en) | 2017-09-05 |
Family
ID=59721838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710181057.XA Pending CN107133166A (en) | 2017-03-24 | 2017-03-24 | A kind of Remote configuration and management method of Android test systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107133166A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109891385A (en) * | 2019-01-10 | 2019-06-14 | 福建联迪商用设备有限公司 | A kind of method and terminal for installing POS machine initial configuration information |
CN112583893A (en) * | 2020-11-19 | 2021-03-30 | 福建联迪商用设备有限公司 | Android terminal unified channel communication method and terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103942063A (en) * | 2013-11-08 | 2014-07-23 | 国家电网公司 | Centralized configuration and remote deployment method for Java Web application |
CN105653329A (en) * | 2015-12-30 | 2016-06-08 | 国网信息通信产业集团有限公司 | Application management method, apparatus and system |
CN105975298A (en) * | 2016-04-29 | 2016-09-28 | 福建联迪商用设备有限公司 | Method and system for remotely controlling applications of Android terminal |
-
2017
- 2017-03-24 CN CN201710181057.XA patent/CN107133166A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103942063A (en) * | 2013-11-08 | 2014-07-23 | 国家电网公司 | Centralized configuration and remote deployment method for Java Web application |
CN105653329A (en) * | 2015-12-30 | 2016-06-08 | 国网信息通信产业集团有限公司 | Application management method, apparatus and system |
CN105975298A (en) * | 2016-04-29 | 2016-09-28 | 福建联迪商用设备有限公司 | Method and system for remotely controlling applications of Android terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109891385A (en) * | 2019-01-10 | 2019-06-14 | 福建联迪商用设备有限公司 | A kind of method and terminal for installing POS machine initial configuration information |
CN112583893A (en) * | 2020-11-19 | 2021-03-30 | 福建联迪商用设备有限公司 | Android terminal unified channel communication method and terminal |
CN112583893B (en) * | 2020-11-19 | 2024-04-30 | 银捷尼科(福建)科技有限公司 | Unified channel communication method for Android terminal and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11652918B2 (en) | Using automatically collected device problem information to route and guide users' requests | |
US11507450B2 (en) | Systems and methods to reprogram mobile devices via a cross-matrix controller to port connection | |
CN103942063B (en) | Centralized configuration and remote deployment method for Java Web application | |
CN102880535B (en) | A kind of wireless automatic proving installation for mobile device and method | |
US20200012488A1 (en) | Devices, systems and methods for tracking and upgrading firmware in intelligent electronic devices | |
TWI493465B (en) | Method and system for distributed application stack deployment | |
CN105653329A (en) | Application management method, apparatus and system | |
CN106339273A (en) | Application program restoration method, terminal and server | |
CN104252342A (en) | Method and device for realizing embedding type application with configurable parameters | |
CN105099739A (en) | Plug-in type software deployment method and apparatus, and application server | |
CN107395747B (en) | High-expansion method based on STF platform | |
CN102571860A (en) | Method, device and system for managing plug-in module | |
CN106452937A (en) | Router automatic test method and test apparatus | |
US20190034325A1 (en) | Evidence gathering system and method | |
CN107133166A (en) | A kind of Remote configuration and management method of Android test systems | |
CN103026337B (en) | The extraction of dispensing assembly and reconstruct | |
US8670441B2 (en) | System and method for migrating a large scale batch of customer accounts from one VoIP system to another VoIP system | |
CN102143222B (en) | Application resource downloading adaptation method and downloading adaptation device | |
US20130165099A1 (en) | Enhanced System and Method for Custom Programming of Large Groups of Phones Without Requiring Additional Equipment | |
CN107015831A (en) | A kind of client updating management method upgraded based on server end and system | |
CN111045689B (en) | Operation platform automatic installation and deployment system | |
CN104283846A (en) | Method, system and server for diagnosing tampering of terminal application | |
US20240126538A1 (en) | Devices, systems and methods for tracking and upgrading firmware in intelligent electronic devices | |
CN105808439A (en) | Remote test system of smart card application programs | |
CN116846879A (en) | Method and system for upgrading remote program of edge node device based on MQTT |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170905 |