CN109408076A - A kind of APP batch hair version method, apparatus and system - Google Patents
A kind of APP batch hair version method, apparatus and system Download PDFInfo
- Publication number
- CN109408076A CN109408076A CN201811230560.0A CN201811230560A CN109408076A CN 109408076 A CN109408076 A CN 109408076A CN 201811230560 A CN201811230560 A CN 201811230560A CN 109408076 A CN109408076 A CN 109408076A
- Authority
- CN
- China
- Prior art keywords
- file
- installation package
- configuration file
- configuration
- package file
- 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 OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This application discloses a kind of APP batch hair version method, apparatus and systems.This method is first according to preset file designation rule, batch, which is packaged, creates multiple installation package files, it generates and each installation package file configuration file of the same name, installation package file and configuration file are placed in same file folder later and add file, by the filename of parsing installation package file and configuration file to determine whether matching with major release, if matching, each group installation package file and configuration file are then added to upload list, it is successively uploaded to server, so that server parses configuration file;It is uploaded successfully in installation package file, and when configuration file successfully resolved of the same name with installation package file, sends confirmation hair version instruction to server, batch hair version is carried out to APP to realize;Operating process is simple, especially when a large amount of clouds in face of client trade customized App, can be obviously improved APP hair version efficiency, while being also convenient for managing and maintaining for later period.
Description
Technical field
This application involves Internet technical field more particularly to a kind of APP batch hair version method, apparatus and system.
Background technique
Development of Mobile Internet technology currently develops rapidly, user can by smart phone download types of applications (English:
Application, referred to as: APP) to meet daily use demand.After the exploitation side of APP develops a APP, usually need
The APP developed is published to specifically using distribution platform, so that APP can be downloaded and be used by user.
Have very important flow nodes in App publication process, i.e., according to version, channel, adaption system type and
The difference of partner issues corresponding version.The method that the prior art generallys use independent App version single publication is sent out
Version, detailed process are as follows: first by App developer's exploitation, packing creation App installation package file, later by each installation kit text
Part and corresponding configuration information are sent to version operator.The installation kit that hair version operator provides according to App developer
File and corresponding configuration information carry out the single version configuration and publication operation of single, configuration therein on hair version backstage
Content is more complicated, including channel type, system type, Update log, version number, more new version number and minimal version number
Deng.After the completion of APP sends out version, the App of user's smart phone installation can detect that new version is issued, to realize to after APP progress
The processing such as continuous update.
However in actual operation, above-mentioned APP hair version method has the disadvantage in that on the one hand, in face of a large amount of clouds of client
Trade customized App, carries out APP hair version by the way of the single version publication of single, process is relatively complicated, and operation is excessively mechanical
And repeat, greatly waste sends out the time of version operator and sends out version low efficiency;On the other hand, the side of the single version publication of single
Formula is easy confusion when more new content configures, and is unfavorable for the maintenance in later period.
Summary of the invention
This application provides a kind of APP batch hair version method, apparatus and system, with solve existing APP hair version method compared with
To be cumbersome, when trading customized App in face of a large amount of clouds of client, the problem of sending out version low efficiency, and be not easy to later maintenance.
In a first aspect, the application provides a kind of APP batch hair version method, which comprises
According to preset file designation rule, batch, which is packaged, creates multiple installation package files, at the same generate respectively with it is each
Installation package file configuration file of the same name;
The installation package file and the configuration file are placed in same file folder, and add the file;
Parse the filename of the installation package file and the configuration file;
Judge whether the filename of the installation package file and the configuration file matches with major release;
If the filename of the installation package file and the configuration file matches with the major release, by each group institute
It states installation package file and the configuration file is added to upload list, be successively uploaded to server, so that the server is to institute
Configuration file is stated to be parsed;
Receive the upload state of the installation package file of server feedback, and with the installation package file is of the same name matches
Set the analysis state of file;
Judge whether the installation package file uploads success, and the configuration file of the same name with the installation package file whether
Successfully resolved;
If the installation package file uploads successfully, and the configuration file of the same name with the installation package file is parsed into
Function, Xiang Suoshu server send confirmation hair version instruction, to carry out batch hair version to APP.
With reference to first aspect, the first in first aspect can be in realization mode, the installation package file and the configuration
The filename of file successively includes following information: exchange ID, system type, channel code, being packaged date and version name.
With reference to first aspect, in second of achievable mode of first aspect, the format of the installation package file is apk
Or ipa format, the format of the configuration file are txt format.
The achievable mode of second with reference to first aspect, the third in first aspect can parse institute in realization mode
In the step of stating the filename of installation package file and the configuration file, ipa, txt and apk formatted file are read.
With reference to first aspect, in the 4th kind of achievable mode of first aspect, judge the installation package file and described
After whether the filename of configuration file matches with major release, the method also includes:
If the filename of the installation package file and the configuration file and the major release mismatch, terminate institute
It states installation package file and the configuration file of the same name with the installation package file is added to upload list.
With reference to first aspect, in the 5th kind of achievable mode of first aspect, according to the upload of the installation package file
State, and the analysis state of the configuration file of the same name with the installation package file, judge whether the installation package file uploads
Success, and whether the configuration file of the same name with the installation package file after successfully resolved, the method also includes:
If the installation package file uploads failure, the installation package file is uploaded to the server again;
Fail if parsed with installation package file configuration file of the same name, matches again to described in server upload
Set file.
With reference to first aspect, in the 6th kind of achievable mode of first aspect, the server is to the configuration file
It is parsed, comprising:
Judge it is described upload list in installation package file and the configuration file of the same name with the installation package file whether on
It passes and completes;
If it is described upload list in installation package file and the configuration file of the same name with the installation package file not on
It passes and completes, then show that the analysis state of the configuration file is state to be resolved;
If the installation package file uploaded in list and the configuration file of the same name with the installation package file have uploaded
At parsing list then is added in the configuration file, shows the analysis state of the configuration file in parsing;
According to default resolution rules, configuration field is screened from the configuration file;
Judge whether to filter out configuration field from the configuration file;
If filtering out configuration field from the configuration file, show the analysis state of the configuration file for parsing
Success;
If not filtering out configuration field from the configuration file, show the analysis state of the configuration file for solution
Analysis is abnormal.
Second aspect, the application provide a kind of APP batch hair version device, and described device includes:
Creating unit, for according to preset file designation rule, batch, which is packaged, to create multiple installation package files, same to time-division
Configuration file that Sheng Cheng be not of the same name with each installation package file;
Adding unit for the installation package file and the configuration file to be placed in same file folder, and is added
The file;
Resolution unit, for parsing the filename of the installation package file and the configuration file;
First judging unit, for judge the installation package file and the configuration file filename whether with big version
Number match;
Uploading unit, if for the filename of the installation package file and the configuration file and the major release phase
Matching, is added to upload list for installation package file described in each group and the configuration file, is successively uploaded to server, so that institute
Server is stated to parse the configuration file;
Receiving unit, the upload state of the installation package file for receiving server feedback, and with the installation
The analysis state of APMB package configuration file of the same name;
Second judgment unit, for judging whether the installation package file uploads success, and with the installation package file
Configuration file of the same name whether successfully resolved;
Transmission unit, if upload successfully for the installation package file, and with the installation package file is of the same name matches
Document analysis success is set, Xiang Suoshu server sends confirmation hair version instruction, to carry out batch hair version to APP.
In conjunction with second aspect, the first in second aspect can be in realization mode, the installation package file and the configuration
The filename of file successively includes following information: exchange ID, system type, channel code, being packaged date and version name.
In conjunction with second aspect, in second of achievable mode of second aspect, the format of the installation package file is apk
Or ipa format, the format of the configuration file are txt format.
In conjunction with second of achievable mode of second aspect, the third in second aspect can be in realization mode, the solution
Unit is analysed, for reading ipa, txt and apk formatted file.
In conjunction with second aspect, in the 4th kind of achievable mode of second aspect, described device further include:
Unit is terminated, if not for the filename of the installation package file and the configuration file and the major release
Matching terminates the installation package file and the configuration file of the same name with the installation package file being added to upload list.
In conjunction with second aspect, in the 5th kind of achievable mode of second aspect, the uploading unit, if being also used to institute
It states installation package file and uploads failure, the installation package file is uploaded to the server again, if with the installation package file
Configuration file of the same name parses failure, uploads the configuration file to the server again.
The third aspect, the application provide a kind of APP batch hair edition system, the system comprises: hair version end and with the hair
The server of version end communication connection;
The hair version end, for according to preset file designation rule, batch, which is packaged, to create multiple installation package files, simultaneously
Generation and each installation package file configuration file of the same name respectively, the installation package file and the configuration file are placed
In same file folder, and the file is added, parse the filename of the installation package file and the configuration file, judged
Whether the filename of the installation package file and the configuration file matches with major release, if the installation package file and
The filename of the configuration file matches with the major release, and installation package file described in each group and the configuration file are added
Enter to list is uploaded, server is successively uploaded to, so that the server parses the configuration file;Receive server
The upload state of the installation package file of feedback, and the analysis state of the configuration file of the same name with the installation package file,
Judge whether the installation package file uploads success, and whether the configuration file of the same name with the installation package file is parsed into
Function, if the installation package file uploads successfully, and the configuration file successfully resolved of the same name with the installation package file, to institute
It states server and sends confirmation hair version instruction;
The server, for receiving the installation package file and the configuration file that the hair version end uploads, to institute
State configuration file to be parsed, feed back the upload state of the installation package file to the hair version end, and with the installation kit
The analysis state of file configuration file of the same name receives the confirmation hair version instruction that the hair version end is sent, carries out batch hair to APP
Version.
From the above technical scheme, this application provides a kind of APP batch hair version method, apparatus and system, this method
First according to preset file designation rule, batch, which is packaged, creates multiple installation package files, while generating and each installation kit respectively
Installation package file and configuration file are placed in same file folder later, and add file by file configuration file of the same name,
Again by parsing the filename of installation package file and configuration file to determine whether matching with major release, if it does, then
Each group installation package file and configuration file are added to upload list, are successively uploaded to server, so that server is to configuration text
Part is parsed;It is uploaded successfully in installation package file, and the condition of the configuration file successfully resolved of the same name with installation package file
Under, confirmation hair version instruction is sent to server, batch hair version is carried out to APP to realize, operating process is simple, especially in face of visitor
When App customized in a large amount of clouds transaction at family, it can be obviously improved APP hair version efficiency, while being also convenient for the maintenance in later period.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the application, letter will be made to attached drawing needed in the embodiment below
Singly introduce, it should be apparent that, for those of ordinary skills, without any creative labor,
It is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow chart that a kind of APP batch provided by the embodiments of the present application sends out version method.
Fig. 2 is that server parses configuration file in a kind of APP batch hair version method provided by the embodiments of the present application
Flow chart.
Fig. 3 is the structural block diagram that a kind of APP batch provided by the embodiments of the present application sends out version device.
Fig. 4 is the schematic diagram that a kind of APP batch provided by the embodiments of the present application sends out edition system.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.Below in conjunction with attached drawing,
The technical scheme provided by various embodiments of the present application will be described in detail.
Referring to Fig. 1, for a kind of APP batch hair version method provided by the embodiments of the present application, which comprises
Step 101, according to preset file designation rule, batch, which is packaged, creates multiple installation package files, while giving birth to respectively
At the configuration file of the same name with each installation package file.
Specifically, the installation package file of App is created in hair version end batch by developer, while is ordered according to preset file
Name rule generates the configuration file of each installation package file.In the present embodiment, the filename of installation package file and configuration file
Successively include following information: exchange ID, system type, channel code, being packaged date and version name, i.e. name format is
" exchange ID_ system type _ channel code _ packing date _ version name _ version number ".
Wherein, exchange ID indicates the identification id of exchange, partner, the system version that system type can be supported according to App
Originally it distinguishes.If the system supported is android system, system type corresponds to Android PRO.If supported
System is iOS system, then system type to for iOS trade version.If the system supported is mac, system type corresponds to Mac
Version.If the system supported is Windows, system type corresponds to Windows editions.Channel code is chiefly used in the throwing to App
Tracking is put, specific code character string can be identified according to the difference of release platform title, such as " wandoujia ".It is packaged
The format on date is " yyyyMMddHHmm ", i.e., " year-month-day-when-point ".Version name spliced by four int type characters and
At individual digit is no more than 9.The front three of version name is pro major release, and the 4th of version name is customized in transaction
Version number.Version number, that is, version name intization, convenient for comparing the size of version.Under android system, App installation package file
Specific format be apk format, under iOS system, the specific format of App installation package file is ipa.
The following are the name examples of the installation package file of two different App:
"1001_android_wandoujia_201808131337_3.0.0.1_3001.apk";
“1001_iosep_company_201808131337_3.0.0.1_3001.ipa”。
Specifically, the coded format of configuration file be UTF-8, the specific field that configuration file includes include " Section,
Title, condition and minvesion ".Wherein, " Section " for configuration file identify, behind plus space, and
The abbreviation of corresponding language, " title " can be sky, and for recording more new title, " condition " can be sky, for recording
More new content, " minvesion " i.e. minimal version number, is defaulted as 0, for identifying the minimal version number of current version support,
" minvesion is the configuration parameter that full-language shares.
The following are the record examples of two different configuration files, such as:
[Section zh-cn]
Title=version updating 2.0
Condition=this have updated the following contents:<br>1. having repaired the bug of XXXX<br>2. having increased XXXX function newly
Energy
Minvesion=0 ".
Or:
[Section en-us]
Title=Log
Condition=Update:<br>1.Fix xxxxxxxxxxxxx.
Step 102, installation package file and configuration file are placed in same file folder, and add file.
Step 103, the filename of installation package file and configuration file is parsed.
After adding file, hair version end will automatically parse the installation package file under same catalogue and configuration file.
Step 104, judge whether the filename of installation package file and configuration file matches with major release.
If filename mismatches major release, it will not support to upload, and the maximum hair version for supporting 50 groups of files.
Step 1041, if the filename of installation package file and configuration file and major release mismatch, terminating will installation
APMB package and the configuration file of the same name with installation package file are added to upload list.
Step 105, if the filename of installation package file and configuration file matches with major release, by each group installation kit
File and configuration file are added to upload list, are successively uploaded to server, so that server parses configuration file.
Specifically, the format of installation package file is apk or ipa format, and the format of configuration file is txt format.Parsing peace
In the step of filename of dress APMB package and configuration file, ipa, txt and apk formatted file are read.
Step 106, receive the upload state of the installation package file of server feedback, and with installation package file is of the same name matches
Set the analysis state of file.
Specifically, hair version end can show upload list, specifically include in upload list: APMB package, uploads shape at configuration file
State, configuration file analysis state and action-item etc..
Step 107, judge whether installation package file uploads success, and the configuration file of the same name with installation package file whether
Successfully resolved.
Specifically, after configuration file uploads successfully together with APMB package, server will be right according to above-mentioned file designation rule
Configuration file is automatically parsed and is saved to server.The analysis state of configuration file can specifically include: to be resolved, parsing
In, successfully resolved and parsing it is abnormal.
Referring to Fig. 2, server parses configuration file, 201~step 207 of following steps can specifically include:
Step 201, judge upload list in installation package file and the configuration file of the same name with installation package file whether on
It passes and completes.
Step 202, if upload list in installation package file and the configuration file of the same name with installation package file not on
It passes and completes, then show that the analysis state of configuration file is state to be resolved.
Step 203, if the installation package file and the configuration file of the same name with installation package file that upload in list have uploaded
At parsing list then is added in configuration file, shows the analysis state of configuration file in parsing.
Step 204, according to default resolution rules, configuration field is screened from configuration file.
Step 205, judge whether to filter out configuration field from configuration file.
Step 206, if filtering out configuration field from configuration file, show the analysis state of configuration file for parsing
Success.
Step 207, if not filtering out configuration field from configuration file, show the analysis state of configuration file for solution
Analysis is abnormal.
Step 1071, if installation package file uploads failure, installation package file is uploaded to server again, if with installation
APMB package configuration file of the same name parses failure, again to server upload configuration file.
Step 108, if installation package file uploads successfully, and the configuration file of the same name with installation package file is parsed into
Function sends confirmation hair version instruction to server, to carry out batch hair version to APP.
Specifically, installation package file uploads successfully, and configuration file, also all after successfully resolved, server will be to hair version end
Return to corresponding processing result.After relevant operation personnel confirm relevant information, it can be sent out at hair version end to server
Confirmation hair version instruction is sent, batch hair version is carried out to APP to realize.
As seen from the above embodiment, this application provides a kind of APP batch hair version methods, first according to preset file designation
Rule, batch, which is packaged, creates multiple installation package files, while generation and each installation package file configuration file of the same name respectively, it
Installation package file and configuration file are placed in same file folder afterwards, and add file, then passes through parsing installation package file
Filename with configuration file with major release to determine whether match, if it does, then by each group installation package file and matching
It sets file and is added to upload list, be successively uploaded to server, so that server parses configuration file;In installation kit text
Part uploads successfully, and under conditions of the configuration file successfully resolved of the same name with installation package file, sends confirmation hair to server
Version instruction carries out batch hair version to APP to realize;APP batch hair version method provided by the embodiments of the present application, operating process letter
It is single, especially when a large amount of clouds in face of client trade customized App, it can be obviously improved APP hair version efficiency, while being also convenient for the later period
Maintenance.
Referring to Fig. 3, for a kind of APP batch hair version device provided by the embodiments of the present application, described device includes:
Creating unit 301, for according to preset file designation rule, batch, which is packaged, to create multiple installation package files, together
When respectively generate with each installation package file configuration file of the same name.
Adding unit 302 for installation package file and configuration file to be placed in same file folder, and adds file
Folder.
Resolution unit 303, for parsing the filename of installation package file and configuration file.
First judging unit 304, for judge installation package file and configuration file filename whether with major release phase
Matching.
Uploading unit 305 will be each if matched for the filename of installation package file and configuration file and major release
Group installation package file and configuration file be added to upload list, be successively uploaded to server so that server to configuration file into
Row parsing.
Receiving unit 306, the upload state of the installation package file for receiving server feedback, and and installation package file
The analysis state of configuration file of the same name.
Second judgment unit 307, it is of the same name for judging whether installation package file uploads success, and with installation package file
Configuration file whether successfully resolved.
Transmission unit 308, if uploaded successfully for installation package file, and the configuration file of the same name with installation package file
Successfully resolved sends confirmation hair version instruction to server, to carry out batch hair version to APP.
In a kind of APP batch hair version device provided by the embodiments of the present application, the file of installation package file and configuration file
Name successively includes following information: exchange ID, system type, channel code, being packaged date and version name.Installation package file
Format is apk or ipa format, and the format of configuration file is txt format.Resolution unit, for reading ipa, txt and apk lattice
Formula file.
In a kind of APP batch hair version device provided by the embodiments of the present application, described device further include: terminate unit, use
If mismatched in the filename of installation package file and configuration file and major release, terminate by installation package file and with installation
APMB package configuration file of the same name is added to upload list.
In a kind of APP batch hair version device provided by the embodiments of the present application, uploading unit, if being also used to installation kit text
Part uploads failure, uploads installation package file to server again, fails if parsed with installation package file configuration file of the same name,
Again to server upload configuration file.
Referring to Fig. 4, the embodiment of the present application also provides a kind of APP batch hair edition system, and the system comprises: hair version end 41
With the server 42 with the communication connection of hair version end.
Version end 41 is sent out, for according to preset file designation rule, batch, which is packaged, to create multiple installation package files, same to time-division
Installation package file and configuration file are placed on same file folder by configuration file that Sheng Cheng be not of the same name with each installation package file
It is interior, and file is added, the filename of installation package file and configuration file is parsed, judges the text of installation package file and configuration file
Whether part name matches with major release, will if the filename of installation package file and configuration file matches with major release
Each group installation package file and configuration file are added to upload list, are successively uploaded to server, so that server is to configuration file
It is parsed;Receive the upload state of the installation package file of server feedback, and the configuration file of the same name with installation package file
Analysis state, judge whether installation package file uploads success, and whether the configuration file of the same name with installation package file parses
Success is sent out if installation package file uploads successfully, and the configuration file successfully resolved of the same name with installation package file to server
Send confirmation hair version instruction;
Server 42 is sent out the installation package file and configuration file that version end uploads for receiving, is parsed to configuration file,
To the upload state of hair version end feedback installation package file, and the analysis state of the configuration file of the same name with installation package file, connect
The confirmation hair version instruction that version end is sent is received and dispatched, batch hair version is carried out to APP.
In the specific implementation, the application also provides a kind of computer storage medium, wherein the computer storage medium can store
There is program, which may include some or all of in each embodiment of APP provided by the invention batch hair version method when executing
Step.The storage medium can for magnetic disk, CD, read-only memory (English: Read-Only Memory, referred to as:
ROM) or random access memory (English: Random Access Memory, referred to as: RAM) etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present invention can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present invention substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which can deposit
Storage is in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that computer equipment (can be with
It is personal computer, server or the network equipment etc.) execute certain part institutes of each embodiment of the present invention or embodiment
The method stated.
Same and similar part may refer to each other between each embodiment in this specification.It is sent out especially for APP batch
For version device and terminal embodiment, since it is substantially similar to the method embodiment, so be described relatively simple, correlation
Place is referring to the explanation in embodiment of the method.
Above-described the application embodiment does not constitute the restriction to the application protection scope.
Claims (14)
1. a kind of APP batch hair version method, which is characterized in that the described method includes:
According to preset file designation rule, batch, which is packaged, creates multiple installation package files, at the same generate respectively with it is each described
Installation package file configuration file of the same name;
The installation package file and the configuration file are placed in same file folder, and add the file;
Parse the filename of the installation package file and the configuration file;
Judge whether the filename of the installation package file and the configuration file matches with major release;
If the filename of the installation package file and the configuration file matches with the major release, will pacify described in each group
Dress APMB package and the configuration file are added to upload list, server are successively uploaded to, so that the server is matched to described
File is set to be parsed;
Receive the upload state of the installation package file of server feedback, and the configuration text of the same name with the installation package file
The analysis state of part;
Judge whether the installation package file uploads success, and whether the configuration file of the same name with the installation package file parses
Success;
If the installation package file uploads successfully, and the configuration file successfully resolved of the same name with the installation package file, to
The server sends confirmation hair version instruction, to carry out batch hair version to APP.
2. the method as described in claim 1, which is characterized in that the filename of the installation package file and the configuration file according to
Secondary includes following information: exchange ID, system type, channel code, being packaged date and version name.
3. the method as described in claim 1, which is characterized in that the format of the installation package file is apk or ipa format, institute
The format for stating configuration file is txt format.
4. method as claimed in claim 3, which is characterized in that parse the file of the installation package file and the configuration file
In the step of name, ipa, txt and apk formatted file are read.
5. the method as described in claim 1, which is characterized in that judge the file of the installation package file and the configuration file
After whether name matches with major release, the method also includes:
If the filename of the installation package file and the configuration file and the major release mismatch, terminate the peace
Dress APMB package and the configuration file of the same name with the installation package file are added to upload list.
6. the method as described in claim 1, which is characterized in that judge whether the installation package file uploads success, Yi Jiyu
Whether installation package file configuration file of the same name after successfully resolved, the method also includes:
If the installation package file uploads failure, the installation package file is uploaded to the server again;
Fail if parsed with installation package file configuration file of the same name, uploads the configuration text to the server again
Part.
7. the method as described in claim 1, which is characterized in that server parses the configuration file, comprising:
Judge whether installation package file and the configuration file of the same name with the installation package file in the upload list have uploaded
At;
If the installation package file uploaded in list and the configuration file of the same name with the installation package file have not uploaded
At, then show the configuration file analysis state be state to be resolved;
If the installation package file uploaded in list and the configuration file upload of the same name with the installation package file are completed,
Parsing list is added in the configuration file, shows the analysis state of the configuration file in parsing;
According to default resolution rules, configuration field is screened from the configuration file;
Judge whether to filter out configuration field from the configuration file;
If filtering out configuration field from the configuration file, show that the analysis state of the configuration file is to be parsed into
Function;
If not filtering out configuration field from the configuration file, it is different to parse to show the analysis state of the configuration file
Often.
8. a kind of APP batch hair version device, which is characterized in that described device includes:
Creating unit, for according to preset file designation rule, batch, which is packaged, to create multiple installation package files, while giving birth to respectively
At the configuration file of the same name with each installation package file;
Adding unit, for the installation package file and the configuration file to be placed in same file folder, and described in addition
File;
Resolution unit, for parsing the filename of the installation package file and the configuration file;
First judging unit, for judge the installation package file and the configuration file filename whether with major release phase
Matching;
Uploading unit, if for the filename of the installation package file and the configuration file and the major release phase
Match, installation package file described in each group and the configuration file are added to upload list, are successively uploaded to server, so that described
Server parses the configuration file;
Receiving unit, the upload state of the installation package file for receiving server feedback, and it is literary with the installation kit
The analysis state of part configuration file of the same name;
Second judgment unit, it is of the same name for judging whether the installation package file uploads success, and with the installation package file
Configuration file whether successfully resolved;
Transmission unit, if uploaded successfully for the installation package file, and the configuration text of the same name with the installation package file
Part successfully resolved, Xiang Suoshu server send confirmation hair version instruction, to carry out batch hair version to APP.
9. device as claimed in claim 8, which is characterized in that the filename of the installation package file and the configuration file according to
Secondary includes following information: exchange ID, system type, channel code, being packaged date and version name.
10. device as claimed in claim 8, which is characterized in that the format of the installation package file is apk or ipa format, institute
The format for stating configuration file is txt format.
11. device as claimed in claim 10, which is characterized in that the resolution unit, for reading ipa, txt and apk
Formatted file.
12. device as claimed in claim 8, which is characterized in that described device further include:
Unit is terminated, if not for the filename of the installation package file and the configuration file and the major release
Match, terminates and the installation package file and the configuration file of the same name with the installation package file are added to upload list.
13. device as claimed in claim 8, which is characterized in that the uploading unit, if being also used to the installation package file
Failure is uploaded, uploads the installation package file to the server again, if the configuration text of the same name with the installation package file
Part parsing failure, uploads the configuration file to the server again.
14. a kind of APP batch hair edition system, which is characterized in that the system comprises: hair version end and with hair version end communication link
The server connect;
The hair version end, for according to preset file designation rule, batch, which is packaged, to create multiple installation package files, simultaneously respectively
Generation and each installation package file configuration file of the same name, the installation package file and the configuration file are placed on together
In one file, and the file is added, parse the filename of the installation package file and the configuration file, described in judgement
Whether the filename of installation package file and the configuration file matches with major release, if the installation package file and described
The filename of configuration file matches with the major release, and installation package file described in each group and the configuration file are added to
List is uploaded, server is successively uploaded to, so that the server parses the configuration file;Receive server feedback
The installation package file upload state, and the analysis state of the configuration file of the same name with the installation package file, judgement
Whether the installation package file uploads success, and the configuration file of the same name with the installation package file whether successfully resolved, such as
Installation package file described in fruit uploads successfully, and the configuration file successfully resolved of the same name with the installation package file, to the clothes
Device transmission confirmation hair version of being engaged in instructs;
The server is matched for receiving the installation package file and the configuration file that the hair version end uploads to described
Set file to be parsed, feed back the upload state of the installation package file to the hair version end, and with the installation package file
The analysis state of configuration file of the same name receives the confirmation hair version instruction that the hair version end is sent, carries out batch hair version to APP.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811230560.0A CN109408076A (en) | 2018-10-22 | 2018-10-22 | A kind of APP batch hair version method, apparatus and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811230560.0A CN109408076A (en) | 2018-10-22 | 2018-10-22 | A kind of APP batch hair version method, apparatus and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN109408076A true CN109408076A (en) | 2019-03-01 |
Family
ID=65468686
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811230560.0A Pending CN109408076A (en) | 2018-10-22 | 2018-10-22 | A kind of APP batch hair version method, apparatus and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109408076A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112965744A (en) * | 2021-03-16 | 2021-06-15 | 江苏斑马软件技术有限公司 | Batch packaging method and device for RN hybrid APP |
| CN114356363A (en) * | 2021-11-30 | 2022-04-15 | 重庆长安汽车股份有限公司 | Online manufacturing method and management system of software upgrading package |
| CN115580610A (en) * | 2022-09-22 | 2023-01-06 | 广州文远知行科技有限公司 | Method, device and equipment for uploading batch files and readable storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103729186A (en) * | 2013-12-31 | 2014-04-16 | 上海网达软件股份有限公司 | Method for generating multi-channel apk file packages in batches |
| CN107566472A (en) * | 2017-08-25 | 2018-01-09 | 四川长虹电器股份有限公司 | A kind of APK safeguards implementation method automatically |
-
2018
- 2018-10-22 CN CN201811230560.0A patent/CN109408076A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103729186A (en) * | 2013-12-31 | 2014-04-16 | 上海网达软件股份有限公司 | Method for generating multi-channel apk file packages in batches |
| CN107566472A (en) * | 2017-08-25 | 2018-01-09 | 四川长虹电器股份有限公司 | A kind of APK safeguards implementation method automatically |
Non-Patent Citations (1)
| Title |
|---|
| QTB000: "《https://blog.csdn.net/qtb000/article/details/56281758》", 21 February 2017 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112965744A (en) * | 2021-03-16 | 2021-06-15 | 江苏斑马软件技术有限公司 | Batch packaging method and device for RN hybrid APP |
| CN114356363A (en) * | 2021-11-30 | 2022-04-15 | 重庆长安汽车股份有限公司 | Online manufacturing method and management system of software upgrading package |
| CN115580610A (en) * | 2022-09-22 | 2023-01-06 | 广州文远知行科技有限公司 | Method, device and equipment for uploading batch files and readable storage medium |
| CN115580610B (en) * | 2022-09-22 | 2024-03-19 | 广州文远知行科技有限公司 | Batch file uploading method, device, equipment and readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109768970B (en) | Configurable universal protocol generation method | |
| US6023586A (en) | Integrity verifying and correcting software | |
| CN105512029A (en) | Method, server and system for testing intelligent terminal | |
| US10802955B2 (en) | Test bundling and batching optimizations | |
| CN111651347B (en) | Jump verification method, device, equipment and storage medium of test system | |
| CN109391673A (en) | A kind of method, system and the terminal device of management update file | |
| CN106802859A (en) | A kind of method and device of client software test | |
| CN109582335A (en) | It is a kind of without interrupt storage cluster node online upgrading method, device and equipment | |
| CN109639630B (en) | A terminal port management and control system and management and control method | |
| CN103905258A (en) | Method and apparatus for testing data uploading function of client | |
| CN109408076A (en) | A kind of APP batch hair version method, apparatus and system | |
| US8079017B2 (en) | Automated QS interface testing framework | |
| US10958728B1 (en) | Mail server migration with message synchronization | |
| CN113760730A (en) | Automatic testing method and device | |
| CN113032245A (en) | Error positioning identification test method and device, computer equipment and storage medium | |
| CN112953983A (en) | SFTP transmission method and device | |
| CN104317601A (en) | Method and system for developing file interfaces | |
| CN105245392A (en) | Method and device for base line checking and repairing | |
| CN111158716B (en) | Version upgrade calling method and device, computer system and readable storage medium | |
| CN104899134A (en) | Automatic domain name registration server testing system and method | |
| CN109614131A (en) | A kind of broadcasting equipment upgrading control system | |
| CN115174389A (en) | Upgrading method, device, equipment and readable storage medium | |
| CN110580216B (en) | Application lifting method and device | |
| US7987455B1 (en) | System and method of command processing | |
| CN114844814A (en) | Pressure testing method and 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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190301 |
|
| RJ01 | Rejection of invention patent application after publication |