CN107247614A - The method that application message is checked in software translating - Google Patents
The method that application message is checked in software translating Download PDFInfo
- Publication number
- CN107247614A CN107247614A CN201710343306.0A CN201710343306A CN107247614A CN 107247614 A CN107247614 A CN 107247614A CN 201710343306 A CN201710343306 A CN 201710343306A CN 107247614 A CN107247614 A CN 107247614A
- Authority
- CN
- China
- Prior art keywords
- checked
- software
- application
- application message
- software translating
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/43—Checking; Contextual analysis
Abstract
The invention discloses a kind of method that application message is checked in software translating, it the described method comprises the following steps:Step 1: obtaining the accurate information of application simultaneously in software translating;Step 2: the application message of different editions is compared, and generate comparison file.Data check and correction is carried out Step 3: file will be compared and sent by mail to precalculated position.The Wrong control that will likely can be occurred using the method for the present invention is in software translating, mail sends related personnel simultaneously, strengthens the examination & verification of software code, has effectively proofreaded the software bug that may occur, evade possible lower level error, improve software development quality.
Description
Technical field
The present invention relates to the software translating system maintenance field of intelligent digital video terminal, and in particular to a kind of to be compiled in software
The method that application message is checked when translating.
Background technology
The application that intelligent television is carried becomes increasingly abundant, and uses and operate the operation for bringing massive video comfortable to user
Sense.But at the exploitation end of tv product, the maintenance workload correspondence of application increases increasingly., there is system in different movement software
Configuration and the difference of function, the application of carrying need to coordinate different versions.The application carried on average each machine has 60-70
Individual, many application bag names and version are all variant, and which increase television application apk management difficulty;Complete machine is issued in iteration
During software, the application message change that the difference AKU sent is also related between multiple complete machine versions, it is ensured that application apk letters
What is ceased is complete correct, and management and control difficulty can increase into geometry multiple.
The problem of TV software is related to application in compiling is more, such as the application A of current version signs and upper one edition
This signature changes, and be able to can not upgrade because wrong tally signature is closed in successive iterations using A;If become using bag name
Change, when carrying out software iteration, system can be handled them according to two different applications, cause to be difficult to expect asks
Topic;Apk increase and after revising, difference bag does not follow adjustment etc..
The number of applications carried with complete machine increases, and the speed of software iteration is accelerated, and how to ensure the correct of movement software
Property and front and rear version uniformity, effectively check and correction application state turns into one of key factor of issue stability of lifting software.
Current processing method is typically two kinds:
Using artificial comparison before software translating, applying after interface personnel change for some movements is difficult clear original shape
State, the validity of data message is uncertain as the change of personnel is occurred in that;
Black-box Testing is carried out after software translating, is checked comprehensively by tester, such case can increase the survey of software issue
The examination cycle, while artifact is it is difficult to ensure that its accuracy.
The content of the invention
Instant invention overcomes the deficiencies in the prior art, there is provided a kind of method that application message is checked in software translating.
In software translating, the scheme of apk states is effectively checked, each application of this compiled version and the application of last revision is proofreaded
Otherness, including the bag name of application, versioncode, versioname and signature, any one information changing all will be front and rear
State is carried out clearly, and mail is sent to project manager, believed using director, QA Manager and using management and control personnel in time
Breath confirm, Reliable guarantee application message it is correct, lifting software translating it is effective.
To solve above-mentioned technical problem, the present invention uses following technical scheme:
A kind of method that application message is checked in software translating, the described method comprises the following steps:
Step 1: obtaining the accurate information of application simultaneously in software translating;
Step 2: the application message of different editions is compared, and generate comparison file.
Data check and correction is carried out Step 3: file will be compared and sent by mail to precalculated position.
Further technical scheme is that the step one includes:Increase a script in compiler server, should
Script calls getapkinfo, and when performing file, the APK under management and control catalogue is checked, the information generation after inspection exists
In currapkinfos.xml, after compiled code, currapkinfo.xml saves as lastapkinfos.xml files, next time
During compiling, it will be contrasted based on lastapkinfos.xml.
Further technical scheme is when volume production situation, then by the currapkinfos.xml files of a upper version
Copy as the lastapkinfos.xml files of current volume production version.
Further technical scheme is that described step two includes:By the lastapkinfos.xml files and
Currapkinfos.xml files comparative result write-in document, it is to be compiled after the completion of, generation compare file.
Further technical scheme is that described application message is the letter for calling the getapkinfo of Android primary to obtain
Breath.
Further technical scheme is that described step one includes:In software translating simultaneously, the synchronous standard for obtaining application
Firmly believe breath.
Compared with prior art, one of beneficial effect of the embodiment of the present invention is:Can will likely using the method for the present invention
The Wrong control of generation, while mail sends related personnel, strengthens the examination & verification of software code, effective school in software translating
The right software bug that may occur, has evaded possible lower level error, has improved software development quality.
Brief description of the drawings
Fig. 1 is the method flow schematic diagram of one embodiment of the invention.
Embodiment
All features disclosed in this specification, or disclosed all methods or during the step of, except mutually exclusive
Feature and/or step beyond, can combine in any way.
Any feature disclosed in this specification (including any accessory claim, summary and accompanying drawing), except non-specifically is chatted
State, can alternative features equivalent by other or with similar purpose replaced.I.e., unless specifically stated otherwise, each feature
It is an example in a series of equivalent or similar characteristics.
Below in conjunction with the accompanying drawings and embodiment to the present invention embodiment be described in detail.
In the following detailed description, many specific descriptions are described for illustrative purposes so as to thoroughly understand institute
Disclosed embodiment, it is clear, however, that one or more embodiments can be in the case of without using these specific descriptions
Implement, in other instances, known structure and device are schematically shown, to simplify accompanying drawing.
As shown in figure 1, according to one embodiment of present invention, the present embodiment discloses one kind and application is checked in software translating
The method of information, the described method comprises the following steps:
Step1, in software translating simultaneously, the synchronous accurate information for obtaining application;Specifically, in compiler server
Increase a script, the script calls getapkinfo, when performing file, the APK under management and control catalogue is checked, inspection
Information afterwards is generated in currapkinfos.xml, and after compiled code, currapkinfo.xml is saved as
Lastapkinfos.xml files, during compiling next time, will be contrasted based on lastapkinfos.xml.When volume production situation,
The currapkinfos.xml files of a upper version are then copied as to the lastapkinfos.xml files of current volume production version.
Step2, the application message of different editions is compared, and generates comparison file.Specifically, will be described
The comparative result write-in document of lastapkinfos.xml files and currapkinfos.xml files, it is to be compiled after the completion of, it is raw
Into comparison file.Wherein, the application message is the information for calling the getapkinfo of Android primary to obtain, including application bag
Name, versioncode, versionname, signature etc..
Step2, by compare file by mail send to precalculated position carry out data check and correction.
Specifically, the present embodiment further by method be applied to 938 movements complete machine exemplified by, the party is described in detail
Method.Specifically include following steps:
Step 1, increase application message extracts script:
Increase init.sh scripts in compiling system, in init.sh scripts, have invoked getapkinfo, this document is performed
When, the APK under device/changhong/ catalogues can be checked, the information after inspection is generated in device/
In changhong/apkinfos/currapkinfos.xml, after compiled code, currapkinfo.xml can be saved as
Lastapkinfos.xml files, during compiling next time, it will contrasted based on lastapkinfos.xml.
Step 2, application message comparison document is generated:
It is compared by the complete machine version output file different to former and later two:To same application name apk MD5 codes
It is compared, it can be seen which application of the complete machine version has actually occurred renewal, is contrasted according to bag name, it can be seen that newly-increased
Which application, reduces which application, and the apk of which application is changed.
Step 3, mail server is set up:
When software is successfully constructed automatically, script file starts the application that former and later two versions will be produced in compiling
Information comparison document using apkinformation.txt as annex, using apkinformation.txt as Attachment Name,
Apkinformation1.00080-79 as mail header mail;Sender in jekins files, is sent to correlation
Recipient list mailbox in, specifically, addressee related in the present embodiment include project manager, using manager, application
Director, QA Manager, applicating maintenance personnel etc., which work software translating, has the personnel positions of influence.
TV software compilation scheme more than, it would be possible to which the Wrong control of generation is in software translating, simultaneously
Mail sends related personnel, strengthens the examination & verification of software code, has effectively proofreaded the software bug that may occur, having evaded can
The lower level error of energy, improves software development quality.
" one embodiment ", " another embodiment ", " embodiment " for being spoken of in this manual etc., refers to combining
Specific features, structure or the feature of embodiment description are included at least one embodiment of the application generality description.
It is not necessarily to refer to same embodiment that statement of the same race, which occur, in multiple places in the description.Furthermore, it is understood that with reference to any
When individual embodiment describes a specific features, structure or feature, what is advocated is this to realize with reference to other embodiment
Feature, structure or feature are also fallen within the scope of the present invention.
Although reference be made herein to invention has been described for the multiple explanatory embodiments invented, however, it is to be understood that this
Art personnel can be designed that a lot of other modification and embodiment, and these modifications and embodiment will fall in the application
Within disclosed spirit and spirit.More specifically, can be to theme group in the range of disclosure claim
The building block and/or layout for closing layout carry out a variety of variations and modifications.Except the modification carried out to building block and/or layout
Outer with improving, to those skilled in the art, other purposes also will be apparent.
Claims (6)
1. a kind of method that application message is checked in software translating, it is characterised in that:Described method comprises the following steps:
Step 1: obtaining the accurate information of application simultaneously in software translating;
Step 2: the application message of different editions is compared, and generate comparison file.
Data check and correction is carried out Step 3: file will be compared and sent by mail to precalculated position.
2. the method according to claim 1 that application message is checked in software translating, it is characterised in that described step
One includes:Increase a script in compiler server, the script calls getapkinfo, when performing file, to pipe
APK under control catalogue is checked that the information after inspection is generated in currapkinfos.xml, after compiled code,
Currapkinfo.xml saves as lastapkinfos.xml files, during compiling next time, will be entered based on lastapkinfos.xml
Row contrast.
3. the method according to claim 2 that application message is checked in software translating, it is characterised in that when volume production situation
When, then the currapkinfos.xml files of a upper version are copied as to the lastapkinfos.xml texts of current volume production version
Part.
4. the method according to claim 3 that application message is checked in software translating, it is characterised in that described step
Two include:The comparative result of the lastapkinfos.xml files and currapkinfos.xml files is write into document, treated
After the completion of compiling, generation compares file.
5. the method according to claim 1 that application message is checked in software translating, it is characterised in that described application
Information is the information for calling the getapkinfo of Android primary to obtain.
6. the method according to claim 1 that application message is checked in software translating, it is characterised in that described step
One includes:In software translating simultaneously, the synchronous accurate information for obtaining application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710343306.0A CN107247614A (en) | 2017-05-16 | 2017-05-16 | The method that application message is checked in software translating |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710343306.0A CN107247614A (en) | 2017-05-16 | 2017-05-16 | The method that application message is checked in software translating |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107247614A true CN107247614A (en) | 2017-10-13 |
Family
ID=60017097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710343306.0A Pending CN107247614A (en) | 2017-05-16 | 2017-05-16 | The method that application message is checked in software translating |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107247614A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107783780A (en) * | 2017-11-21 | 2018-03-09 | 中国银行股份有限公司 | A kind of Code Review method and system |
CN108763932A (en) * | 2018-05-07 | 2018-11-06 | 深圳市沃特沃德股份有限公司 | Anti- brush machine method and system |
CN108804111A (en) * | 2018-04-02 | 2018-11-13 | 北京大学 | A kind of method and apparatus for establishing decompiling class set mapping relations between Android application program different editions |
CN109885337A (en) * | 2019-03-06 | 2019-06-14 | 苏州浪潮智能科技有限公司 | A kind of system version upgrade method, device, equipment and readable storage medium storing program for executing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103699404A (en) * | 2013-12-04 | 2014-04-02 | 四川长虹电器股份有限公司 | Method for enabling different types of equipment with same core to correspond to multiple prefabricated application programs |
CN104077217A (en) * | 2013-03-28 | 2014-10-01 | 腾讯科技(深圳)有限公司 | Method and system for compiling and issuing code file |
CN104461873A (en) * | 2014-11-19 | 2015-03-25 | 青岛海信电器股份有限公司 | Testing method and device of application programs |
CN105843662A (en) * | 2016-03-28 | 2016-08-10 | 乐视控股(北京)有限公司 | Software product compiling method and equipment |
-
2017
- 2017-05-16 CN CN201710343306.0A patent/CN107247614A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104077217A (en) * | 2013-03-28 | 2014-10-01 | 腾讯科技(深圳)有限公司 | Method and system for compiling and issuing code file |
CN103699404A (en) * | 2013-12-04 | 2014-04-02 | 四川长虹电器股份有限公司 | Method for enabling different types of equipment with same core to correspond to multiple prefabricated application programs |
CN104461873A (en) * | 2014-11-19 | 2015-03-25 | 青岛海信电器股份有限公司 | Testing method and device of application programs |
CN105843662A (en) * | 2016-03-28 | 2016-08-10 | 乐视控股(北京)有限公司 | Software product compiling method and equipment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107783780A (en) * | 2017-11-21 | 2018-03-09 | 中国银行股份有限公司 | A kind of Code Review method and system |
CN107783780B (en) * | 2017-11-21 | 2021-04-20 | 中国银行股份有限公司 | Code review method and system |
CN108804111A (en) * | 2018-04-02 | 2018-11-13 | 北京大学 | A kind of method and apparatus for establishing decompiling class set mapping relations between Android application program different editions |
CN108804111B (en) * | 2018-04-02 | 2019-07-05 | 北京大学 | A kind of method and apparatus for establishing decompiling class set mapping relations between Android application program different editions |
CN108763932A (en) * | 2018-05-07 | 2018-11-06 | 深圳市沃特沃德股份有限公司 | Anti- brush machine method and system |
CN109885337A (en) * | 2019-03-06 | 2019-06-14 | 苏州浪潮智能科技有限公司 | A kind of system version upgrade method, device, equipment and readable storage medium storing program for executing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104391934B (en) | Data verification method and device | |
CN107247614A (en) | The method that application message is checked in software translating | |
CN102591654B (en) | A kind of code generator based on SSH framework and method | |
WO2019169759A1 (en) | Apparatus and method for creating analog interface, and computer-readable storage medium | |
CN107609188B (en) | Data synchronization verification method based on golden gate | |
CN107643882A (en) | The storage and restoration methods of a kind of data reliability, system and storage device | |
WO2021212661A1 (en) | Method and apparatus for constructing running system, and electronic device and storage medium | |
CN110069279B (en) | Method, device and storage medium for checking direct current control protection program | |
CN103152365A (en) | Data validation method for validating data and server for validating data | |
US9047260B2 (en) | Model-based testing of a graphical user interface | |
CN111581920A (en) | Document conversion method, device, equipment and computer storage medium | |
US11768851B2 (en) | Systems and methods for facilitating data transformation | |
CN105956191B (en) | Data migration method and system | |
CN105117379A (en) | Automatic program text converting method and device | |
CN104090948A (en) | Method, device and system for processing mass data of nuclear power station | |
CN104536998A (en) | Data import method and device | |
CN103440460A (en) | Application system change validation method and system | |
CN113886590A (en) | Data summarizing method and device, computer equipment and storage medium | |
US11449324B2 (en) | Automatic updating of an application executing on an application server | |
CN112328231B (en) | Quick conversion method between python dictionary and structure | |
CN107092557A (en) | A kind of database schema upgrade script verification method and device | |
KR101563494B1 (en) | Real-time source code security weaknesses detection apparatus and method according to the file changes | |
CN103885875A (en) | Device and method for verifying scripts | |
CN105608006B (en) | A kind of program error detection method and system based on probabilistic model | |
CN109783477B (en) | A kind of data-updating method |
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: 20171013 |