CN110308923A - A kind of test method and its system of OTA upgrading - Google Patents

A kind of test method and its system of OTA upgrading Download PDF

Info

Publication number
CN110308923A
CN110308923A CN201810259519.XA CN201810259519A CN110308923A CN 110308923 A CN110308923 A CN 110308923A CN 201810259519 A CN201810259519 A CN 201810259519A CN 110308923 A CN110308923 A CN 110308923A
Authority
CN
China
Prior art keywords
measured terminal
version information
upgrading
upgrade
upgrade package
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
Application number
CN201810259519.XA
Other languages
Chinese (zh)
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.)
Shanghai Qinggan Intelligent Technology Co Ltd
Original Assignee
Shanghai Qinggan Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Qinggan Intelligent Technology Co Ltd filed Critical Shanghai Qinggan Intelligent Technology Co Ltd
Priority to CN201810259519.XA priority Critical patent/CN110308923A/en
Publication of CN110308923A publication Critical patent/CN110308923A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of test methods of OTA upgrading, specifically include: defining the latest version information of this test oracle upgrading;Transfer the upgrade package corresponding to the latest version information;The upgrade package is sent at least one measured terminal respectively;It completes to upgrade in response to measured terminal described at least one, obtains updating result;Each described updating result is recorded, and generates test result file.The present invention also provides a kind of test macros of OTA upgrading, specifically include: processing module obtains module, sending module and logging modle;To execute the test method of above-mentioned OTA upgrading.

Description

A kind of test method and its system of OTA upgrading
Technical field
The present invention relates to a kind of test method and its system more particularly to it is a kind of for OTA upgrading test method and its System.
Background technique
OTA (Over-the-Air Technology), over the air is referred to through the aerial of mobile communication The technology that interface remotely manages application.By OTA technology, user is needing upgrade-system or is needing to update using journey When sequence, without the mode of brush machine upgrading, it is only necessary to by simple operations, pass through wifi wireless network or mobile phone mobile network Online upgrading can be completed in network, data packet needed for downloading upgrading.
The major way of OTA upgrading at present is that terminal can wrap by the way that upgrade package, upgrade package are downloaded and installed from server Full dose upgrade package and increment upgrade package are included, no matter which kind of upgrade package, requires whether verifying user terminal is correctly equipped in advance Desired more new version.Due in escalation process, needing to retain user data, it is understood that there may be due to the mismatch of upgraded version Caused by data mismatch, cause user can not normal use the case where.For specifically upgrading preceding existing version, only use Corresponding specified upgrade package upgrading is just avoided that above situation, therefore, it is necessary to carry out test early period, verifies upgrade package Data, version match, since different terminals are there are multiple and different existing versions, above-mentioned version validation test needs to spend big Time and efforts is measured, therefore, a kind of test method and its system suitable for OTA upgrading is needed, to mitigate the work of tester It measures.
Summary of the invention
A brief summary of one or more aspects is given below to provide to the basic comprehension in terms of these.This general introduction is not The extensive overview of all aspects contemplated, and be both not intended to identify critical or decisive element in all aspects also non- Attempt to define the range in terms of any or all.Its unique purpose is to provide the one of one or more aspects in simplified form A little concepts are with the sequence for more detailed description given later.
It is as described above in order to solve the problems, such as, mitigate the workload of tester, the present invention provides a kind of OTA upgradings Test method specifically includes: defining the latest version information of this test oracle upgrading;It transfers and corresponds to above-mentioned latest edition letter The upgrade package of breath;Above-mentioned upgrade package is sent at least one measured terminal respectively;It is complete in response at least one above-mentioned measured terminal At upgrading, updating result is obtained;Each above-mentioned updating result is recorded, and generates test result file.
In an embodiment of such as above method, the above-mentioned upgrade package corresponding to latest version information is full dose upgrade package.
In an embodiment of such as above method, the above-mentioned upgrade package corresponding to latest version information is increment upgrade package, Wherein, above-mentioned the step of transferring upgrade package, further comprises: obtaining the upgrade information of at least one above-mentioned measured terminal;Based on upper The upgrade information and above-mentioned latest version information for stating measured terminal are transferred increment corresponding with each above-mentioned measured terminal and are upgraded Packet.
In an embodiment of such as above method, the upgrade information of above-mentioned at least one measured terminal of acquisition includes obtaining extremely The equipment identification information and current version information of a few above-mentioned measured terminal.
In an embodiment of such as above method, multiple above-mentioned increment upgrade package are stored in the database in advance, wherein on Stating the step of transferring upgrade package further comprises: upgrade information and above-mentioned latest version information based on above-mentioned measured terminal are from upper It states and transfers increment upgrade package corresponding with each above-mentioned measured terminal in database.
In an embodiment of such as above method, obtaining above-mentioned updating result includes in response at least one measured terminal liter Grade is completed, the version information after obtaining above-mentioned measured terminal upgrading;If above-mentioned version information and expected above-mentioned latest edition are believed Manner of breathing is same, then upgrades successfully;If above-mentioned version information and expected above-mentioned latest version information be not identical, upgrade failure.
In an embodiment of such as above method, above-mentioned test result file include above-mentioned latest version information, each The end message of above-mentioned measured terminal and above-mentioned updating result, wherein above-mentioned end message includes at least above-mentioned measured terminal Equipment identification information and upgrading before version information.
The present invention also provides a kind of test devices of OTA upgrading, specifically include: processing module obtains module, sends mould Block and logging modle;Wherein, above-mentioned processing module defines the latest version information of this test oracle upgrading;Above-mentioned acquisition module Transfer the upgrade package corresponding to above-mentioned latest version information;Above-mentioned sending module sends above-mentioned upgrading at least one measured terminal Packet;Upgrading is completed in response at least one above-mentioned measured terminal, above-mentioned acquisition module obtains updating result;Above-mentioned logging modle note Each above-mentioned updating result is recorded, and generates test result file.
In an embodiment of such as above system, the above-mentioned liter corresponding to latest version information of above-mentioned acquisition module acquisition Grade packet is full dose upgrade package.
In an embodiment of such as above system, the above-mentioned liter corresponding to latest version information of above-mentioned acquisition module acquisition Grade packet is increment upgrade package, wherein above-mentioned acquisition module still further comprises, and obtains the upgrading of at least one above-mentioned measured terminal Information;Upgrade information and above-mentioned latest version information based on above-mentioned measured terminal are transferred corresponding with each above-mentioned measured terminal Increment upgrade package.
In an embodiment of such as above system, above-mentioned acquisition module obtains the upgrade information packet of at least one measured terminal Include the equipment identification information and current version information for obtaining at least one above-mentioned measured terminal.
In an embodiment of such as above system, above system further includes database, is previously stored in above-mentioned database Multiple above-mentioned increment upgrade package, wherein above-mentioned acquisition module may further comprise: upgrade information based on above-mentioned measured terminal and Above-mentioned latest version information transfers increment upgrade package corresponding with each above-mentioned measured terminal from above-mentioned database.
In an embodiment of such as above system, above-mentioned acquisition module obtains above-mentioned updating result and further comprises: response Upgrade at least one measured terminal and complete, above-mentioned acquisition module obtains the version information after above-mentioned measured terminal upgrading;It is above-mentioned Processing module judges that above-mentioned version information is identical as expected above-mentioned latest version information, then updating result is to upgrade successfully;On It states processing module and judges that above-mentioned version information and expected above-mentioned latest version information be not identical, then updating result is that upgrading is lost It loses.
In an embodiment of such as above system, the above-mentioned test result file that above-mentioned logging modle generates include it is above-mentioned most New version information, the end message of each above-mentioned measured terminal and above-mentioned updating result, wherein above-mentioned end message is at least Version information before equipment identification information and upgrading including above-mentioned measured terminal.
Via method and system provided by the present application, the test pressure of tester can reduce, verifying OTA upgrading exists Version match the problem of, save the time and efforts of tester.
Detailed description of the invention
Fig. 1 shows the flow diagram of provided test method according to the present invention.
Fig. 2 shows the flow diagrams of provided test macro according to the present invention.
Specific embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.Note that below in conjunction with attached drawing and specifically real The aspects for applying example description is merely exemplary, and is understood not to carry out any restrictions to protection scope of the present invention.
In order to mitigate the burden of tester, so that the test for OTA upgrading is more convenient, the present invention provides one kind Method and system for OTA upgrading
Fig. 1 shows the flow diagram of provided test method according to the present invention, as shown in Figure 1, the present invention is mentioned The test method of confession includes step S1, defines the latest version information of this test oracle upgrading;Step S2 is transferred and is corresponded to most The upgrade package of new version information;Step S3 sends upgrade package at least one measured terminal respectively;Step S4, in response at least one A measured terminal completes upgrading, obtains updating result;Step S5 records each updating result, and generates test result file.
In an embodiment of such as above-mentioned method, the upgrade package corresponding to latest version information that step S2 is transferred is Full dose upgrade package, full dose upgrade package generally correspond to a completely new big version, and the content of full dose upgrade package is very big, in step S3 Send full dose upgrade package at least one measured terminal and need to expend a large amount of network flow, the push time of upgrade package and by Survey terminal completion update time is longer, and the upgrade package transmission of big data and longer push time and update time are be easy to cause The error in data of upgrade package and the staging error of measured terminal, it is therefore desirable to each measured terminal via full dose upgrade package The process progress for carrying out OTA upgrading is largely tested repeatedly.
In step S4, complete to upgrade in response at least one measured terminal, that is, at least one measured terminal installs At the upgrading data in full dose upgrade package, the updating result of this test upgrading is obtained.In one embodiment, updating result is obtained The version information for obtaining the terminal that measured terminal is completed after upgrading is specifically included, also, after obtaining the version information after upgrading, The version information is compared with the latest version information of the expected upgrading defined in step sl, if the version letter after upgrading Breath is identical as expected latest version information, then determines that the updating result of measured terminal is to upgrade successfully;If the version after upgrading Information and expected latest version information be not identical, then determines the updating result of measured terminal for upgrading failure.
Further include step S5 after obtaining above-mentioned updating result, at least one measured terminal is completed into the upgrading after upgrading As a result it records one by one, and integrates each updating result, generate test result file.Recording in test result file has The latest version information of expected upgrading, the end message of each measured terminal and the liter of the measured terminal defined in step S1 Grade result, wherein the identification information and the version information before upgrading that end message includes at least the terminal device.
By the test result file of generation, tester can be more convenient and check each measured terminal at a glance Test case, specifically can be understood that each measured terminal upgrading before version information, the version information after upgrading, Whether the hardware information and measured terminal of terminal upgrade successfully.By the above method, tester is enabled to more quickly The hardware and software information of the terminal of OTA upgrading failure during upgrading are checked out, convenient for finding out problem in time and being repaired.
In another embodiment of method as shown in Figure 1, the liter corresponding to latest version information that step S2 is transferred Grade packet is increment upgrade package, the part that increment upgrade package only has differences between upgraded version, therefore the data of increment upgrade package Amount is small compared with full dose upgrade package, and the data traffic and download time that OTA expends when upgrading are shorter, and update time is also shorter, but by Upgrade in via OTA, usually can all retain user data, and the portion that increment upgrade package only has differences between upgraded version Point, it if having used unsuitable version, will lead to user data mistake, mismatch, thus the case where not being available, therefore, When using increment upgrade package, also need largely to test, test correspond to different upgradings before version, if can according to The version of imagination is upgraded to desired by family (in testing, that is, tester).
In the above-described embodiment, step S2 transfers the upgrade package corresponding to the latest version information as defined in step S1 It further comprise the upgrade information for obtaining at least one measured terminal, and upgrade information and latest edition based on measured terminal Information transfers increment upgrade package corresponding with each measured terminal.In one embodiment, the upgrade information of measured terminal is obtained Including at least the current version information for the equipment identification information and the measured terminal for obtaining the measured terminal, wherein based on tested The upgrade information and latest version information of terminal are current version information and latest version information based on measured terminal, and successively Determine increment upgrade package used by upgrading.By the above method, determined based on current version information and latest version information Increment upgrade package be it is corresponding with the measured terminal, the measured terminal using increment be upgraded to expected latest version information when, It can farthest guarantee the success rate of upgrading using the increment upgrade package.Provided method through the invention can be surveyed In executing OTA escalation process, can accurately be deployed into for different measured terminals corresponding can guarantee accurately to upgrade for examination Increment upgrade package.
In one embodiment, the incremental data packet of above-mentioned multiple and different versions is all stored in advance in the database of server In, the above-mentioned process for transferring increment upgrade package is to transfer to determine that the increment for corresponding to specific measured terminal upgrades from database Packet.
After determining and transferring the above-mentioned increment upgrade package corresponding to each measured terminal, step S3 is executed, at least One measured terminal sends corresponding increment upgrade package, and step S4, completes to upgrade in response at least one measured terminal Afterwards, that is, at least one measured terminal is installed the upgrading data in increment upgrade package, obtains the liter of this test upgrading Grade result.In one embodiment, the version letter for the terminal that updating result specifically includes after obtaining measured terminal completion upgrading is obtained Breath, also, after obtaining the version information after upgrading, which is expected the newest of upgrading with what is defined in step sl Version information is compared, if the version information after upgrading is identical as expected latest version information, determines measured terminal Updating result is to upgrade successfully;If the version information and expected latest version information after upgrading be not identical, determine tested whole The updating result at end is upgrading failure.
Further include step S5 after obtaining above-mentioned updating result, at least one measured terminal is completed into the upgrading after upgrading As a result it records one by one, and integrates each updating result, generate test result file.Recording in test result file has The latest version information of expected upgrading, the end message of each measured terminal and the liter of the measured terminal defined in step S1 Grade result, wherein the identification information and the version information before upgrading that end message includes at least the terminal device.
By the test result file of generation, tester can be more convenient and check each measured terminal at a glance Test case, specifically can be understood that each measured terminal upgrading before version information, the version information after upgrading, Whether the hardware information and measured terminal of terminal upgrade successfully.By the above method, tester is enabled to more quickly The hardware and software information of the terminal of OTA upgrading failure during upgrading are checked out, convenient for finding out problem in time and being repaired.
According to method provided herein, when research staff develops newest version and makes for newest version After full dose upgrade package and several increment upgrade package corresponding to version before different upgradings, it can according to side provided by the present application Method executes the version information that step S1 defines latest edition, and via method provided by the present application, tests the upgrading of latest edition The version match problem of data packet in order to subsequent timely reparation and supplements different upgrading data packets.
To have become apparent from explanation method provided herein, below with reference to specific example.It is mentioned according to the application The method of confession needs to terminal Z1, Z2 ... to carry out OTA upgrading test, and can verifying equipment Z1, Z2 ... correct by OTA It is upgraded to current newest version V2.0.Therefore, step S1, tester define the latest edition letter of this test oracle upgrading Breath is V2.0.These terminals of Z1, Z2 ... are separately installed with the system software of different editions, for example, Z1 is equipped with V1.3 version System software, Z2 is equipped with the system software of V1.7 version.
To preset and store transfer upgrade package in the database of several data packets when, according to full dose upgrade package Upgrading, then to Z1, Z2 ... push be V2.0 version complete upgrading data packet B0, each terminal received data packet B0 is simultaneously upgraded.Upgrading according to increment upgrade package, then step S2 needs first to obtain the current version information of different terminals, It is that V1.7 etc. is then found in the database that exactly to get the current version information of Z1, which be the current version information of V1.3, Z2, The upgrading data packet B1 of V1.3-V2.0 edition data corresponding to Z1, and propelling data packet B1 is upgraded to terminal Z1;In number According to finding the corresponding upgrading data packet B2 with the V1.7-V2.0 edition data of Z2 in library, and propelling data packet B2 to terminal Z2 into Row upgrading, and corresponding operation successively is carried out to remaining terminal.
Terminal Z1, Z2 ... receives corresponding upgrade package, and completes to upgrade, the version after expected upgrading due to Z1, Z2 ... This is V2.0, if the version after Z1 upgrading is V1.8, illustrates that Z1 upgrading failure is said if the version after Z1 upgrading is V2.0 Bright Z1 is upgraded successfully.After the updating result for obtaining Z1, Z2 ..., by the version information before Z1, Z2 ... upgrading, device identification The latest version information of version information after information, upgrading, updating result and expected upgrading be generated as test result file so as to Tester understands, which unmatched problem of the version present in OTA escalation process is directly found out.
It will be appreciated by those skilled in the art that the example above is not the restriction to method provided by the present invention, in above-mentioned test In, since there are multiple terminals, and the situation before the upgrading of multiple terminals is had nothing in common with each other, if not using side provided herein Method considerably increases the workload of tester via tester's manual setting dependence test.And it uses provided by the present application Method, can reduce the test pressure of tester, tests multiple terminals to batch but differentiation, is able to verify that OTA upgrades the problem of existing version match, saves the time and efforts of tester.
The present invention also provides a kind of test macros for OTA upgrading, survey Fig. 2 shows provided according to the present invention The flow diagram of test system.As shown in Fig. 2, test macro 200 provided by the present invention specifically includes: processing module 201 obtains Modulus block 202, sending module 203 and logging modle 204.Wherein, processing module is to define the upgrading of this test oracle most New version information;Module 202 is obtained to transfer the upgrade package for corresponding to latest version information;Sending module 203 is to respectively Upgrade package is sent at least one measured terminal;It completes to upgrade in response at least one measured terminal, obtains module 202 and obtain liter Grade result;Logging modle 204 generates test result file to record each updating result.
In an embodiment of such as above-mentioned system, the liter corresponding to latest version information that module 202 is transferred is obtained Grade packet is full dose upgrade package, and full dose upgrade package generally corresponds to a completely new big version, and the content of full dose upgrade package is very big, hair It send module 203 to send full dose upgrade package at least one measured terminal and needs to expend a large amount of network flow, the push of upgrade package Time and measured terminal completion update time are longer, when the upgrade package transmission of big data and longer push time are with upgrading Between be easy to cause the error in data of upgrade package and the staging error of measured terminal, it is therefore desirable to each measured terminal via The process progress that full dose upgrade package carries out OTA upgrading is largely tested repeatedly.
It completes to upgrade in response at least one measured terminal, that is, at least one measured terminal is installed full dose upgrading Upgrading data in packet obtain the updating result that module 202 obtains this test upgrading.In one embodiment, upgrading knot is obtained Fruit specifically includes the version information for obtaining the terminal that measured terminal is completed after upgrading, also, the version information after obtaining upgrading Afterwards, which is compared with the latest version information of the expected upgrading defined in processing module 201, if after upgrading Version information it is identical as expected latest version information, then determine measured terminal updating result be upgrade successfully;If upgrading Version information afterwards and expected latest version information be not identical, then determines the updating result of measured terminal for upgrading failure.
It further include after at least one measured terminal is completed upgrading by logging modle 204 after obtaining above-mentioned updating result Updating result is recorded one by one, and integrates each updating result, generates test result file.Remember in test result file Record has the latest version information of expected upgrading defined in processing module 201, the end message of each measured terminal and the quilt Survey the updating result of terminal, wherein the identification information and the version information before upgrading that end message includes at least the terminal device.
By the test result file of generation, tester can be more convenient and check each measured terminal at a glance Test case, specifically can be understood that each measured terminal upgrading before version information, the version information after upgrading, Whether the hardware information and measured terminal of terminal upgrade successfully.By the above method, tester is enabled to more quickly The hardware and software information of the terminal of OTA upgrading failure during upgrading are checked out, convenient for finding out problem in time and being repaired.
In another embodiment of system as shown in Figure 2, what acquisition module 202 was transferred corresponds to latest version information Upgrade package be increment upgrade package, the part that increment upgrade package only has differences between upgraded version, therefore increment upgrade package Data volume is small compared with full dose upgrade package, and the data traffic and download time that OTA expends when upgrading are shorter, and update time is also shorter, But due to upgrading via OTA, it usually can all retain user data, and increment upgrade package only has differences between upgraded version Part will lead to user data mistake if having used unsuitable version, mismatch, thus the case where not being available, therefore, It when using increment upgrade package, also needs largely to test, test corresponds to the version before different upgradings, if can be according to The version of imagination is upgraded to desired by user (in testing, that is, tester).
In the above-described embodiment, module 202 is obtained to transfer corresponding to latest version information defined in processing module 201 Upgrade package further comprise obtain at least one measured terminal upgrade information, and the upgrade information based on measured terminal and Latest version information transfers increment upgrade package corresponding with each measured terminal.In one embodiment, measured terminal is obtained Upgrade information includes at least the current version information of the equipment identification information and the measured terminal that obtain the measured terminal, wherein Upgrade information and latest version information based on measured terminal are current version information and latest edition letter based on measured terminal Breath, and successively determine and upgrade used increment upgrade package.By above system, believed based on current version information and latest edition The determining increment upgrade package of breath be it is corresponding with the measured terminal, which is being upgraded to expected latest edition using increment When information, it can farthest guarantee the success rate of upgrading using the increment upgrade package.Provided system through the invention, It can test in executing OTA escalation process, can accurately be deployed into for different measured terminals corresponding can guarantee standard The increment upgrade package really upgraded.
In one embodiment, the incremental data packet of above-mentioned multiple and different versions is all stored in advance in the database of server In, the above-mentioned process for transferring increment upgrade package is to transfer to determine that the increment for corresponding to specific measured terminal upgrades from database Packet.
After determining and transferring the above-mentioned increment upgrade package corresponding to each measured terminal, sending module 203 is at least One measured terminal sends corresponding increment upgrade package, after completing upgrading in response at least one measured terminal, that is, extremely A few measured terminal is installed the upgrading data in increment upgrade package, obtains the liter that module 202 obtains this test upgrading Grade result.In one embodiment, the version letter for the terminal that updating result specifically includes after obtaining measured terminal completion upgrading is obtained Breath, also, after obtaining the version information after upgrading, by expected upgrading defined in the version information and processing module 201 Latest version information is compared, if the version information after upgrading is identical as expected latest version information, is determined tested whole The updating result at end is to upgrade successfully;If the version information and expected latest version information after upgrading be not identical, quilt is determined The updating result for surveying terminal is upgrading failure.
It further include after at least one measured terminal is completed upgrading by logging modle 204 after obtaining above-mentioned updating result Updating result is recorded one by one, and integrates each updating result, generates test result file.Remember in test result file Record has the latest version information of expected upgrading defined in processing module 201, the end message of each measured terminal and the quilt Survey the updating result of terminal, wherein the identification information and the version information before upgrading that end message includes at least the terminal device.
By the test result file of generation, tester can be more convenient and check each measured terminal at a glance Test case, specifically can be understood that each measured terminal upgrading before version information, the version information after upgrading, Whether the hardware information and measured terminal of terminal upgrade successfully.By above system, tester is enabled to more quickly The hardware and software information of the terminal of OTA upgrading failure during upgrading are checked out, convenient for finding out problem in time and being repaired.
According to system provided herein, when research staff develops newest version and makes for newest version After full dose upgrade package and several increment upgrade package corresponding to version before different upgradings, it can according to system provided by the present application System defines the version information of latest edition using processing module 201, and via system provided by the present application, tests latest edition Upgrading data packet version match problem, in order to subsequent timely reparation and supplement different upgrading data packets.
It will be appreciated by those skilled in the art that the example above is not the restriction to system provided by the present invention, in above-mentioned test In, since there are multiple terminals, and the situation before the upgrading of multiple terminals is had nothing in common with each other, and provided herein is if not using System, via tester's manual setting dependence test, considerably increases the workload of tester.And it uses provided by the present application System, can reduce the test pressure of tester, tests multiple terminals to batch but differentiation, is able to verify that OTA upgrades the problem of existing version match, saves the time and efforts of tester.
Those skilled in the art will further appreciate that, the various illustratives described in conjunction with the embodiments described herein Logic plate, module, circuit and algorithm steps can be realized as electronic hardware, computer software or combination of the two.It is clear Explain to Chu this interchangeability of hardware and software, various illustrative components, frame, module, circuit and step be above with Its functional form makees generalization description.Such functionality be implemented as hardware or software depend on concrete application and It is applied to the design constraint of total system.Technical staff can realize every kind of specific application described with different modes Functionality, but such realization decision should not be interpreted to cause departing from the scope of the present invention.
In conjunction with presently disclosed embodiment describe various illustrative logic modules and circuit can with general processor, Digital signal processor (DSP), specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic Device, discrete door or transistor logic, discrete hardware component or its be designed to carry out any group of function described herein It closes to realize or execute.General processor can be microprocessor, but in alternative, which can be any routine Processor, controller, microcontroller or state machine.Processor is also implemented as calculating the combination of equipment, such as DSP With the combination of microprocessor, multi-microprocessor, one or more microprocessors to cooperate with DSP core or any other this Class configuration.
The step of method or algorithm for describing in conjunction with embodiment disclosed herein, can be embodied directly in hardware, in by processor It is embodied in the software module of execution or in combination of the two.Software module can reside in RAM memory, flash memory, ROM and deposit Reservoir, eprom memory, eeprom memory, register, hard disk, removable disk, CD-ROM or known in the art appoint In the storage medium of what other forms.Exemplary storage medium is coupled to processor so that the processor can be from/to the storage Medium reads and writees information.In alternative, storage medium can be integrated into processor.Pocessor and storage media can It resides in ASIC.ASIC can reside in user terminal.In alternative, pocessor and storage media can be used as discrete sets Part is resident in the user terminal.
In one or more exemplary embodiments, described function can be in hardware, software, firmware, or any combination thereof Middle realization.If being embodied as computer program product in software, each function can be used as one or more item instructions or generation Code may be stored on the computer-readable medium or be transmitted by it.Computer-readable medium includes computer storage medium and communication Both media comprising any medium for facilitating computer program to shift from one place to another.Storage medium can be can quilt Any usable medium of computer access.It is non-limiting as example, such computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disc storages, disk storage or other magnetic storage apparatus can be used to carrying or store instruction Or data structure form desirable program code and any other medium that can be accessed by a computer.Any connection is also by by rights Referred to as computer-readable medium.For example, if software is using coaxial cable, fiber optic cables, twisted pair, digital subscriber line (DSL) or the wireless technology of such as infrared, radio and microwave etc is passed from web site, server or other remote sources It send, then the coaxial cable, fiber optic cables, twisted pair, DSL or such as infrared, radio and microwave etc is wireless Technology is just included among the definition of medium.Disk (disk) and dish (disc) as used herein include compression dish (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc, which disk (disk) are often reproduced in a manner of magnetic Data, and dish (disc) with laser reproduce data optically.Combinations of the above should also be included in computer-readable medium In the range of.
Offer is to make any person skilled in the art all and can make or use this public affairs to the previous description of the disclosure It opens.The various modifications of the disclosure all will be apparent for a person skilled in the art, and as defined herein general Suitable principle can be applied to other variants without departing from the spirit or scope of the disclosure.The disclosure is not intended to be limited as a result, Due to example described herein and design, but should be awarded and principle disclosed herein and novel features phase one The widest scope of cause.

Claims (14)

1. a kind of test method of OTA upgrading, specifically includes:
Define the latest version information of this test oracle upgrading;
Transfer the upgrade package corresponding to the latest version information;
The upgrade package is sent at least one measured terminal respectively;
It completes to upgrade in response to measured terminal described at least one, obtains updating result;
Each described updating result is recorded, and generates test result file.
2. test method as described in claim 1, which is characterized in that the upgrade package corresponding to latest version information is complete Measure upgrade package.
3. test method as described in claim 1, which is characterized in that the upgrade package corresponding to latest version information is to increase Measure upgrade package, wherein described the step of transferring upgrade package further comprises:
Obtain the upgrade information of at least one measured terminal;
Upgrade information and the latest version information based on the measured terminal are transferred corresponding with measured terminal described in each Increment upgrade package.
4. test method as claimed in claim 3, which is characterized in that the upgrade information for obtaining at least one measured terminal Equipment identification information and current version information including obtaining at least one measured terminal.
5. test method as claimed in claim 3, which is characterized in that store multiple increment upgradings in the database in advance Packet, wherein described the step of transferring upgrade package further comprises:
Upgrade information and the latest version information based on the measured terminal are transferred and each institute from the database State the corresponding increment upgrade package of measured terminal.
6. test method as described in claim 1, which is characterized in that obtaining the updating result includes in response at least one Measured terminal upgrading is completed, the version information after obtaining the measured terminal upgrading;
If the version information is identical as the expected latest version information, upgrade successfully;
If the version information and the expected latest version information be not identical, upgrade failure.
7. test method as described in claim 1, which is characterized in that the test result file is believed comprising the latest edition Breath, the end message of each measured terminal and the updating result, wherein the end message includes at least described The equipment identification information and the version information before upgrading of measured terminal.
8. a kind of test macro of OTA upgrading, specifically include: processing module obtains module, sending module and logging modle;Its In,
The processing module defines the latest version information of this test oracle upgrading;
The upgrade package for obtaining module calls and corresponding to the latest version information;
The sending module sends the upgrade package at least one measured terminal;
It completes to upgrade in response to measured terminal described at least one, the acquisition module obtains updating result;
The logging modle records each described updating result, and generates test result file.
9. test macro as claimed in claim 8, which is characterized in that described to obtain the described corresponding to latest edition of module acquisition The upgrade package of this information is full dose upgrade package.
10. test macro as claimed in claim 8, which is characterized in that described to obtain the described corresponding to newest of module acquisition The upgrade package of version information is increment upgrade package, wherein the acquisition module still further comprises,
Obtain the upgrade information of at least one measured terminal;
Upgrade information and the latest version information based on the measured terminal are transferred corresponding with measured terminal described in each Increment upgrade package.
11. test macro as claimed in claim 10, which is characterized in that the acquisition module obtains at least one measured terminal Upgrade information include obtain at least one measured terminal equipment identification information and current version information.
12. test macro as claimed in claim 10, which is characterized in that the system also includes database, the database In be previously stored with multiple increment upgrade package, wherein the acquisition module may further comprise:
Upgrade information and the latest version information based on the measured terminal are transferred and each institute from the database State the corresponding increment upgrade package of measured terminal.
13. test macro as claimed in claim 8, which is characterized in that the acquisition module obtains the updating result into one Step includes:
Upgrade in response at least one measured terminal and complete, the module that obtains obtains the version letter after the measured terminal upgrading Breath;
The processing module judges that the version information is identical as the expected latest version information, then updating result is upgrading Success;
The processing module judges that the version information and the expected latest version information be not identical, then updating result is to rise Grade failure.
14. test macro as claimed in claim 8, which is characterized in that the test result text that the logging modle generates Part includes the latest version information, the end message of each measured terminal and the updating result, wherein described The equipment identification information and the version information before upgrading that end message includes at least the measured terminal.
CN201810259519.XA 2018-03-27 2018-03-27 A kind of test method and its system of OTA upgrading Pending CN110308923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810259519.XA CN110308923A (en) 2018-03-27 2018-03-27 A kind of test method and its system of OTA upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810259519.XA CN110308923A (en) 2018-03-27 2018-03-27 A kind of test method and its system of OTA upgrading

Publications (1)

Publication Number Publication Date
CN110308923A true CN110308923A (en) 2019-10-08

Family

ID=68073729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810259519.XA Pending CN110308923A (en) 2018-03-27 2018-03-27 A kind of test method and its system of OTA upgrading

Country Status (1)

Country Link
CN (1) CN110308923A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131099A (en) * 2020-08-12 2020-12-25 新华三大数据技术有限公司 Version upgrading test method and device
CN112559016A (en) * 2020-12-30 2021-03-26 杭州视洞科技有限公司 Automatic testing method and flow for batch upgrading of cameras
CN113114729A (en) * 2021-03-22 2021-07-13 一汽奔腾轿车有限公司 Verification system and method for OTA reliability
CN113360166A (en) * 2021-05-31 2021-09-07 珠海大横琴科技发展有限公司 Data processing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708050A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Method and system for testing mobile application
CN104469409A (en) * 2014-11-28 2015-03-25 四川长虹电器股份有限公司 Automatic testing method for smart television software differential upgrading
CN106250143A (en) * 2016-07-27 2016-12-21 杭州联络互动信息科技股份有限公司 The OTA upgrade method of a kind of wearable device and device
CN106502888A (en) * 2016-10-13 2017-03-15 杭州迪普科技股份有限公司 The method of testing of software and device
CN106557339A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 The upgrade method and device of equipment firmware
CN106959926A (en) * 2017-05-09 2017-07-18 山东浪潮商用系统有限公司 A kind of the software test module and method of software-oriented upgrading
CN107590064A (en) * 2016-07-08 2018-01-16 北京奇虎科技有限公司 A kind of application upgrade method of testing, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708050A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Method and system for testing mobile application
CN104469409A (en) * 2014-11-28 2015-03-25 四川长虹电器股份有限公司 Automatic testing method for smart television software differential upgrading
CN106557339A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 The upgrade method and device of equipment firmware
CN107590064A (en) * 2016-07-08 2018-01-16 北京奇虎科技有限公司 A kind of application upgrade method of testing, device and system
CN106250143A (en) * 2016-07-27 2016-12-21 杭州联络互动信息科技股份有限公司 The OTA upgrade method of a kind of wearable device and device
CN106502888A (en) * 2016-10-13 2017-03-15 杭州迪普科技股份有限公司 The method of testing of software and device
CN106959926A (en) * 2017-05-09 2017-07-18 山东浪潮商用系统有限公司 A kind of the software test module and method of software-oriented upgrading

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131099A (en) * 2020-08-12 2020-12-25 新华三大数据技术有限公司 Version upgrading test method and device
CN112559016A (en) * 2020-12-30 2021-03-26 杭州视洞科技有限公司 Automatic testing method and flow for batch upgrading of cameras
CN113114729A (en) * 2021-03-22 2021-07-13 一汽奔腾轿车有限公司 Verification system and method for OTA reliability
CN113360166A (en) * 2021-05-31 2021-09-07 珠海大横琴科技发展有限公司 Data processing method and device

Similar Documents

Publication Publication Date Title
CN110308923A (en) A kind of test method and its system of OTA upgrading
US8627311B2 (en) Systems, methods, and apparatus to deploy software
US9940225B2 (en) Automated error checking system for a software application and method therefor
CN103365770B (en) Mobile terminal software test macro and method for testing software
CN101727383B (en) Simulation test method and system of database
CN103064666B (en) One software distribution method by all kinds of means and system
BRPI0306151B1 (en) method and system for controlling the configuration of elements of a telecommunication network
WO2016061762A1 (en) Multi-channel sdk access system and method for mobile terminal software
CN108038053A (en) A kind of dynamic configuration buries method and apparatus a little
US7996818B1 (en) Method for testing using client specified references
CN104811979B (en) Method for testing pressure based on FOTA upgrading and device
CN104932973A (en) Version compatibility test method and apparatus
CN107463362A (en) The method and system of lasting deployment based on multiple Jenkins
WO2012066091A1 (en) Method and apparatus for automatic diagnosis of software failures
CN104133699B (en) Equipment system software upgrading method and system
WO2022267675A1 (en) Middleware deployment method and apparatus, and device and storage medium
CN109885480A (en) A kind of automatic interface compatibility test method and device based on debugging bridge
CN109977670A (en) Android application safety monitoring method, storage medium based on plug-in unit load
CN109445837A (en) A kind of dissemination method and equipment of application program
CN110377294A (en) A kind of multi-environment configuration system and method based on DevOps
CN109885337A (en) A kind of system version upgrade method, device, equipment and readable storage medium storing program for executing
WO2020091592A1 (en) A self-learning method and system for automatically performing application packaging and deployment for a hosting environment
CN112905437A (en) Method and device for testing case and storage medium
CN109376091A (en) A kind of generation method and device of interface testing data
CN105677394A (en) Method and apparatus for upgrading application on terminal device

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20191008