CN108459867A - A kind of cloud terminal staging method - Google Patents
A kind of cloud terminal staging method Download PDFInfo
- Publication number
- CN108459867A CN108459867A CN201810164761.9A CN201810164761A CN108459867A CN 108459867 A CN108459867 A CN 108459867A CN 201810164761 A CN201810164761 A CN 201810164761A CN 108459867 A CN108459867 A CN 108459867A
- Authority
- CN
- China
- Prior art keywords
- test
- cloud terminal
- upgrading
- sample
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1433—Saving, restoring, recovering or retrying at system level during software upgrading
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to desktop cloud technical field, especially a kind of cloud terminal staging method.The method of the present invention includes:Updating and management module receives upgrade package, sample terminal list and default test function list;Updating and management module carries out upgrading test to sample cloud terminal;Updating and management module carries out functional test according to default test function, to sample cloud terminal;Updating and management module upgrades the cloud terminal other than sample terminal list.The present invention can be before the cloud terminal of production environment carries out complete upgrading, the functional test after upgrading test and upgrading is carried out to sample cloud terminal in advance, the exception generated in intelligent measurement and arrangement test process, existing compatibility issue is had found that it is likely that in advance, so that it is guaranteed that the upgrading in production environment can settle at one go.
Description
Technical field
The present invention relates to desktop cloud technical field, especially a kind of cloud terminal staging method.
Background technology
With the continuous development of desktop cloud, the use of cloud terminal is more and more extensive, while user operates and manages to it
How preferably the convenience of reason is put forward higher requirements, maintenance and upgrade cloud terminal, is that desktop cloud primarily solves the problems, such as.
In the related art, detection in all directions is all ignored for the upgrading of cloud terminal, does not account for the same version
This upgrade package compatibility issue that may be present in actual production environment, may result in the cloud terminal upgrade of entire environment
Occur situations such as abnormal afterwards, operation maintenance personnel is needed to investigate, restore one by one, expends a large amount of time and efforts of operation maintenance personnel, and
It can influence the normal use of client.
Invention content
Present invention solves the technical problem that being to provide a kind of cloud terminal staging method;It solves above-mentioned of the existing technology
Problem.
The present invention solve above-mentioned technical problem technical solution be:
The method includes:
Updating and management module receives upgrade package, sample terminal list and default test function list;
Updating and management module carries out upgrading test to sample cloud terminal;
Updating and management module carries out functional test according to default test function, to sample cloud terminal;
Updating and management module upgrades the cloud terminal other than sample terminal list.
The sample cloud terminal refers to the cloud terminal that operation maintenance personnel selects upgrading test and functional test;The default survey
Examination feature list refers to the feature list that operation maintenance personnel is presetting, is tested the cloud terminal after upgrading.
The upgrading test is that updating and management module sends upgrade command to the sample cloud terminal;The sample cloud terminal
Instruction is received, upgrade package is downloaded and is upgraded;
If upgrading failure, the version being rolled back to before upgrading, and the step of leading to upgrading failure and failure cause are reported
Give updating and management module;
If upgrading all successes carry out the preset function test of next step;If there are one or multiple cloud terminal upgrades lose
It loses, then interrupts and operate in next step, and the sample cloud terminal number and failure cause of feeding back unsuccessful.
The functional test is that updating and management module establishes survey respectively for each cloud terminal in the sample terminal list
Thread is tried, the test thread traverses are preset test function list, tested cloud terminal;
The test thread, if there is a functional test not pass through, still will continue to when testing the cloud terminal
Subsequent functional test is carried out, until having traversed default test function list, and feeds back the test result of each function;
If whole sample cloud terminals are carried out in next step by test to the cloud terminal upgrade other than sample terminal list;
If functional test does not pass through, interrupt operation, and feedback test not by cloud terminal number and test crash reason.
The updating and management module upgrades the cloud terminal other than sample terminal list, is closed if there is cloud terminal to be in
State, then described updating and management module Remote Wake Up cloud terminal, completes upgrading.
It is additionally provided with upgrading proxy module to operate in cloud terminal, be managed for upgrading to place cloud terminal, and to upgrading
It manages module and reports updating result.
The beneficial effects of the present invention are:
The present invention can carry out upgrading survey to sample cloud terminal in advance before the cloud terminal of production environment carries out complete upgrading
The exception generated in functional test after examination and upgrading, intelligent measurement and arrangement test process has found that it is likely that existing simultaneous in advance
Capacitive problem, so that it is guaranteed that the upgrading in production environment can settle at one go.
Description of the drawings
The following further describes the present invention with reference to the drawings:
Fig. 1 is the method for the present invention flow chart.
Fig. 2 is the method for the present invention sample terminal test flow chart.
Specific implementation mode
In order to make the purpose of the present invention, technical characteristic and method obtain clearer description, below in conjunction with attached drawing 1 and attached drawing
2, the present invention is described in detail, and specific implementation step is as follows:
The first step, the selected cloud terminal upgrade packet of operation maintenance personnel, sample terminal list, default test function list upload to liter
Grade management module.
Second step, updating and management module carry out upgrading test to sample cloud terminal.
Further, upgrading proxy module receives the upgrade request of updating and management module, obtains the liter of current latest edition
Grade is wrapped and is upgraded to sample cloud terminal.
Further, if if the upgrading of sample cloud terminal fails, the version being rolled back to before upgrading, and upgrading will be caused to fail
The step of and failure cause be reported to updating and management module.
Then Macro or mass analysis is carried out according to the upgrade case that updating and management module obtains, if upgrading all successes, carry out
The default test function of next step;If there are one or multiple cloud terminal upgrades fail, and interrupt and operate in next step, and feeding back unsuccessful
Sample cloud terminal number and failure cause.
Third walks, and updating and management module tests sample cloud terminal, include mainly to sample according to default test function
Each cloud terminal in this terminal list establishes test thread respectively, and test function list is preset according to test thread traverses, right
Cloud terminal is tested.
During the test, it if there is a functional test does not pass through, still will continue to carry out subsequent functional test, until
All functional tests are completed, and feed back whole test results.
After the completion of whole sample cloud terminal tests, if functional test does not pass through, interrupt operation, and feedback test is obstructed
The cloud terminal number and test crash reason crossed;Otherwise it carries out in next step to the cloud terminal upgrade other than sample terminal list.
4th step, the sample cloud terminal for excluding upgrading, being successfully tested, rises the terminal other than sample cloud terminal
Grade.If during upgrading have cloud terminal to be closed, updating and management module completes upgrading by the Remote Wake Up cloud terminal.
The updating and management module of the present invention is mainly responsible for the upgrading for managing all cloud terminals, including is carried out to sample cloud terminal
Upgrading test, functional test etc.;Upgrading proxy module is mainly used for upgrading place cloud terminal, and to updating and management module
Report updating result.
Embodiments described above is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, those of ordinary skill in the art are not making the obtained scheme of substantive creation, are belonging to the present invention
The range of protection.
Claims (6)
1. a kind of cloud terminal staging method, which is characterized in that the method includes:
Updating and management module receives upgrade package, sample terminal list and default test function list;
Updating and management module carries out upgrading test to sample cloud terminal;
Updating and management module carries out functional test according to default test function, to sample cloud terminal;
Updating and management module upgrades the cloud terminal other than sample terminal list.
2. according to the method described in claim 1, it is characterized in that, the sample cloud terminal refers to operation maintenance personnel to upgrading test
And the cloud terminal that functional test is selected;The default test function list refer to operation maintenance personnel it is presetting, to the cloud after upgrading
The feature list that terminal is tested.
3. according to the method described in claim 1, it is characterized in that, the upgrading test be updating and management module send upgrading refer to
It enables to the sample cloud terminal;The sample cloud terminal receives instruction, downloads upgrade package and is upgraded;
If upgrading failure, the version being rolled back to before upgrading, and the step of leading to upgrading failure and failure cause are reported to liter
Grade management module;
If upgrading all successes carry out the preset function test of next step;If there are one or multiple cloud terminal upgrades fail,
It interrupts and operates in next step, and the sample cloud terminal number and failure cause of feeding back unsuccessful.
4. according to the method described in claim 1, it is characterized in that:The functional test is that updating and management module is the sample
Each cloud terminal in terminal list establishes test thread respectively, and the test thread traverses preset test function list, to cloud
Terminal is tested;
The test thread is when testing the cloud terminal, if there is a functional test not pass through, still will continue to carry out
Subsequent functional test until having traversed default test function list, and feeds back the test result of each function;
If whole sample cloud terminals are carried out in next step by test to the cloud terminal upgrade other than sample terminal list;If having
Functional test does not pass through, then interrupt operation, and feedback test not by cloud terminal number and test crash reason.
5. according to the method described in claim 1, it is characterized in that, the updating and management module to sample terminal list other than
Cloud terminal is upgraded, if there is cloud terminal to be closed, described updating and management module Remote Wake Up cloud terminal is completed
Upgrading.
6. according to the method described in claim 1, being operated in cloud terminal it is characterized in that, being additionally provided with upgrading proxy module, use
Upgrade in place cloud terminal, and updating result is reported to updating and management module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810164761.9A CN108459867A (en) | 2018-02-28 | 2018-02-28 | A kind of cloud terminal staging method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810164761.9A CN108459867A (en) | 2018-02-28 | 2018-02-28 | A kind of cloud terminal staging method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108459867A true CN108459867A (en) | 2018-08-28 |
Family
ID=63216616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810164761.9A Withdrawn CN108459867A (en) | 2018-02-28 | 2018-02-28 | A kind of cloud terminal staging method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108459867A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112199238A (en) * | 2020-10-16 | 2021-01-08 | 深圳佰维存储科技股份有限公司 | Memory firmware updating method and device, storage medium and electronic equipment |
CN114025037A (en) * | 2021-10-28 | 2022-02-08 | 北京百度网讯科技有限公司 | Cloud mobile phone overhauling method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140189677A1 (en) * | 2013-01-02 | 2014-07-03 | International Business Machines Corporation | Effective Migration and Upgrade of Virtual Machines in Cloud Environments |
CN104461858A (en) * | 2013-09-23 | 2015-03-25 | 财团法人资讯工业策进会 | Software Compatibility Pre-testing Method and System |
CN105653338A (en) * | 2015-12-30 | 2016-06-08 | 广东欧珀移动通信有限公司 | Application updating method and device |
CN107193618A (en) * | 2017-07-20 | 2017-09-22 | 山东浪潮商用***有限公司 | A kind of solving device, method and the application of device end upgrading test |
CN107524562A (en) * | 2016-06-22 | 2017-12-29 | 北京天诚同创电气有限公司 | program upgrading method and device for wind generating set |
-
2018
- 2018-02-28 CN CN201810164761.9A patent/CN108459867A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140189677A1 (en) * | 2013-01-02 | 2014-07-03 | International Business Machines Corporation | Effective Migration and Upgrade of Virtual Machines in Cloud Environments |
CN104461858A (en) * | 2013-09-23 | 2015-03-25 | 财团法人资讯工业策进会 | Software Compatibility Pre-testing Method and System |
CN105653338A (en) * | 2015-12-30 | 2016-06-08 | 广东欧珀移动通信有限公司 | Application updating method and device |
CN107524562A (en) * | 2016-06-22 | 2017-12-29 | 北京天诚同创电气有限公司 | program upgrading method and device for wind generating set |
CN107193618A (en) * | 2017-07-20 | 2017-09-22 | 山东浪潮商用***有限公司 | A kind of solving device, method and the application of device end upgrading test |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112199238A (en) * | 2020-10-16 | 2021-01-08 | 深圳佰维存储科技股份有限公司 | Memory firmware updating method and device, storage medium and electronic equipment |
CN112199238B (en) * | 2020-10-16 | 2024-05-28 | 深圳佰维存储科技股份有限公司 | Memory firmware updating method and device, storage medium and electronic equipment |
CN114025037A (en) * | 2021-10-28 | 2022-02-08 | 北京百度网讯科技有限公司 | Cloud mobile phone overhauling method and device, electronic equipment and storage medium |
CN114025037B (en) * | 2021-10-28 | 2024-04-30 | 北京百度网讯科技有限公司 | Cloud mobile phone overhaul method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105354140B (en) | A kind of method and system of automatic test | |
CN103336696B (en) | The Oftware updating method of test instrunment and system | |
CN102609326B (en) | Data downloading processing method and data downloading processing device | |
CN109062817B (en) | Automatic testing method and system | |
CN107844343B (en) | Upgrading system and method for complex server application system | |
CN102622298B (en) | Software testing system and method | |
CN110209405B (en) | Automatic upgrading method and device for distributed system | |
CN105094783A (en) | Method and device for testing Android application stability | |
US20140149966A1 (en) | Application, build, integration, and release management system and method | |
CN104125504B (en) | Deployment method, device and system based on continuous integration | |
CN105550004B (en) | A kind of update device and method of multisystem | |
CN107666179B (en) | Method and system for updating information of power distribution automation graph-model interaction point table | |
CN103678130A (en) | Automated performance test method and platform | |
CN108459867A (en) | A kind of cloud terminal staging method | |
CN108681507A (en) | Method for realizing automatic testing of RESTful API and web service | |
CN104360952A (en) | Software test system and software test method | |
CN109918103A (en) | A kind of acquisition terminal remote update system and its working method based on whole process supervision | |
CN109194535A (en) | A kind of terminal test system and method | |
CN113535202B (en) | Charging pile upgrading method, upgrading device and charging pile system | |
CN117608761A (en) | Kubernetes cluster deployment method, device, equipment and storage medium | |
CN109347694A (en) | A kind of Novel cloud terminal staging method | |
CN110069405A (en) | A kind of LCD test method | |
CN111078476A (en) | Network card drive firmware stability test method, system, terminal and storage medium | |
CN108600345B (en) | Self-learning method of power concentrator | |
CN102812616B (en) | For running method and the power automation system of power automation 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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180828 |
|
WW01 | Invention patent application withdrawn after publication |