CN104035780A - Method and device for publishing APK file - Google Patents

Method and device for publishing APK file Download PDF

Info

Publication number
CN104035780A
CN104035780A CN201410298849.1A CN201410298849A CN104035780A CN 104035780 A CN104035780 A CN 104035780A CN 201410298849 A CN201410298849 A CN 201410298849A CN 104035780 A CN104035780 A CN 104035780A
Authority
CN
China
Prior art keywords
apk file
distribution platform
issue
app
apk
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.)
Granted
Application number
CN201410298849.1A
Other languages
Chinese (zh)
Other versions
CN104035780B (en
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201410298849.1A priority Critical patent/CN104035780B/en
Publication of CN104035780A publication Critical patent/CN104035780A/en
Application granted granted Critical
Publication of CN104035780B publication Critical patent/CN104035780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a device for publishing an Android installation package (APK) file. The method includes: transmitting the provider information of an APP to each publishing platform; receiving and saving the description information of the uploaded APK file; creating a JST (job scheduling task) according to the APK file, creating the sub-job of the JST, namely the publishing job; when the situation that each publishing platform passes the audit of the provider information is monitored, receiving the authorization code (Token) transmitted by the publishing platform, wherein the Token is used for communicating with the server of the publishing platform; publishing according to the scheduling details loaded according to the APP authorization information, wherein the APP authorization information includes: the APP provider information, the Token of each publishing platform and a Form attribute template. By the method, whether the audit is passed or not can be monitored automatically, and the APK file can be published automatically after the audit is passed.

Description

A kind of method and apparatus of issuing APK file
Technical field
The present invention relates to software application technology field, relate in particular to the method and apparatus of a kind of issue Android installation kit (APK, Android Package) file.
Background technology
Android is a kind of freedom based on Linux and the operating system of open source code, is mainly used in mobile device.Along with being widely used of Android intelligent terminal, corresponding software application is also more and more abundanter with it, so just produced the software distribution platform of each manufacturer (software house), for user, downloads and installs software application.Due to the user group's of each manufacturer difference, cause an Android software application need on the software distribution platform of different vendor, issue operation and version updating.
A Android software application (hereinafter to be referred as APP) is that the form with an APK file exists and offers user and downloads and installs and use.A APP want for user give download and install and, the APK file of this APP need to be uploaded and is published on the software distribution platform that each manufacturer provides (software distribution platform is commonly called as Android market); When APP upgrades or upgrades, also need again to upload and issue new APK file.
In the prior art, aforementioned upload and issuing process has all realized by operating manually, specific works comprises two parts:
The first, upload APK file and fill in relevant information.Relevant information generally comprises: provider's information of APK file to be released, minute two classes, company: register of company's title, operation license number of registration and scanned copy, Tax Registration Certificate number and scanned copy, contact details etc.; Individual: name, identification card number and scanned copy, contact details etc.Also comprise the corresponding APP title of APK file, brief introduction and version information etc.Because the requirement of each software distribution platform is different, when being uploaded to different software distribution platforms, need to fill in respectively aforementioned relevant information, cause the repetition typing of bulk information.Along with the increase of software distribution platform, also need again to repeat to submit identical information to, more loaded down with trivial details.
The second, after uploading, need provider's information of the artificial APP of concern whether by the audit of software distribution platform, if by audit, manually start this APK file of issue.
Visible, at least there are 2 shortcomings in the method for the existing APK of uploading file: 1) need a large amount of duplicate messages of manual entry, efficiency is low and easily make mistakes; 2) whether need artificial concern to examine passes through.
Summary of the invention
The invention provides a kind of method of the APK of issue file, can realize automatic monitoring audit and whether pass through, and audit by after automatically perform the issue of APK file.
The present invention also provides a kind of device of the APK of issue file, can realize automatic monitoring audit and whether pass through, and audit by after automatically perform the issue of APK file.
Technical scheme of the present invention is achieved in that
A method of issuing APK file, comprising:
To each distribution platform, send provider's information of APP;
For the APK file of uploading, the descriptor that receives and preserve this APK file;
For described APK document creation job scheduling task (JST), and create the sub-work of this JST, issue work;
When monitor distribution platform to the audit of provider's information of described APP by time, receive the authorization code (Token) that distribution platform provides, described Token is for communicating with the server of distribution platform;
The scheduling of loading described JST according to APP authorization message is detailed, adopts issue work described in the detailed scheduled for executing of described scheduling; Wherein, described APP authorization message comprises: provider's information of APP, the Token of each distribution platform and Form list attribute templates.
In said method, after APK document creation JST, may further include:
For each distribution platform, create a plurality of son work of this JST, i.e. statistical work; Each statistical work is responsible for adding up described APK file at the download of corresponding distribution platform; Adopt statistical work described in the detailed scheduled for executing of described scheduling.
The mode that receives and preserve the descriptor of this APK file can be:
Search the announced APK listed files of preserving in database, according to lookup result, judge whether described APK file belongs to new APP, if belonged to, receive and preserve the descriptor of the affiliated APP of described APK file;
If do not belonged to, judge that whether described APK file is the redaction file of affiliated APP, if so, receives and preserve the descriptor of described APK file;
If not, whether the corresponding APK file that judgement has been uploaded is issued, if issued, reclaims the APK file of uploading before deserving; If not issue, adopts this APK file to replace the corresponding APK file of having uploaded.
The published method of issue work can be: issue on time, by platform, issue, issue or directly issue on time and by platform.
Adopt the mode of the detailed scheduled for executing issue work of scheduling to be:
Described Token is uploaded to the server of corresponding distribution platform, when the server that monitors corresponding distribution platform is during to described Token verification succeeds, the descriptor of described APK file is converted to the desired form of corresponding distribution platform according to Form list attribute templates, the descriptor of the APK file after APK file and conversion is uploaded to corresponding distribution platform.
A device of issuing Android installation kit APK file, comprising:
Distribution platform authorization message administration module, for send provider's information of APP to each distribution platform, preserve and safeguard APP authorization message, described APP authorization message comprises: provider's information of APP, the authorization code Token of each distribution platform and Form list attribute templates; Described Token by distribution platform to provider's signal auditing of described APP by after provide, for communicating with the server of described distribution platform;
APK release management module, comprising: APK file matching unit, job scheduling unit and task release unit, wherein:
Described APK file matching unit, for receiving and preserve the descriptor of APK file;
Described job scheduling unit, for for described APK document creation job scheduling task JST, and creates the sub-work of this JST, issues work; After monitoring distribution platform provider's signal auditing of described APK file is passed through, the scheduling of loading described JST according to described APP authorization message is detailed;
Described task release unit, for adopting issue work described in the detailed scheduled for executing of described scheduling.
In said apparatus, job scheduling unit can also be for, creates a plurality of son work of this JST, i.e. statistical work for each distribution platform; Each statistical work is responsible for adding up described APK file at the download of corresponding distribution platform;
Said apparatus can also comprise:
Statistical information Reports module, for adopting statistical work described in the detailed scheduled for executing of described scheduling.
In said apparatus, the mode that APK file matching unit received and preserved the descriptor of this APK file can be:
Search the announced APK listed files of preserving in database, according to lookup result, judge whether described APK file belongs to new APP, if belonged to, receive and preserve the descriptor of the affiliated APP of described APK file;
If do not belonged to, judge that whether described APK file is the redaction file of affiliated APP, if so, receives and preserve the descriptor of described APK file;
If not, whether the corresponding APK file that judgement has been uploaded is issued, if issued, reclaims the APK file of uploading before deserving; If not issue, adopts this APK file to replace the corresponding APK file of having uploaded.
The published method of the issue work that job scheduling unit creates can be: issue on time, by platform, issue, issue or directly issue on time and by platform.
Task release unit can be for, described Token is uploaded to the server of corresponding distribution platform, when the server that monitors corresponding distribution platform is during to described Token verification succeeds, the descriptor of described APK file is converted to the desired form of corresponding distribution platform according to Form list attribute templates, the descriptor of the APK file after APK file and conversion is uploaded to corresponding distribution platform.
Visible, the method and apparatus of the issue APK file that the present invention proposes, by setting up JST and issue work, automatically whether provider's signal auditing of APP passes through, monitor audit by time, automatically perform the issue work of APK file, thereby realized automatic monitoring and issue APK file.
Accompanying drawing explanation
Fig. 1 is the apparatus structure schematic diagram of the issue APK file that proposes of the present invention;
Fig. 2 is the realization flow figure that receives and preserve the descriptor of APK file in embodiment bis-;
Fig. 3 creates the also realization flow figure of executive job scheduling task in embodiment tri-;
Fig. 4 is the method realization flow figure of the issue APK file that proposes of the present invention.
Embodiment
The present invention proposes a kind of device and method of the APK of issue file, and as the structural representation that Fig. 1 is this device, this device comprises:
Distribution platform authorization message administration module 110, for send provider's information of APP to each distribution platform, preserve and safeguard APP authorization message, described APP authorization message comprises: the authorization code (Token) of provider's information of APP, each distribution platform and Form list attribute templates; Described Token by distribution platform to provider's signal auditing of described APP by after provide, for communicating with the server of described distribution platform;
APK release management module 120, comprising: APK file matching unit 121, job scheduling unit 122 and task release unit 123, wherein:
Described APK file matching unit 121, for receiving and preserve the descriptor of APK file;
Described job scheduling unit 122, for for described APK document creation job scheduling task (JST, Job Scheduling Task), and creates the sub-work of this JST, issues work (PJ, Publish Job); After monitoring distribution platform provider's signal auditing of described APK file is passed through, according to described APP authorization message, load the scheduling detailed (JobDetail) of described JST;
Described task release unit 123, for adopting issue work described in the detailed scheduled for executing of described scheduling.
In said apparatus, job scheduling unit 122 can also be for, creates a plurality of son work of this JST, i.e. statistical work for each distribution platform; Each statistical work is responsible for adding up described APK file at the download of corresponding distribution platform;
Described device can also comprise:
Statistical information Reports module 130, for adopting statistical work described in the detailed scheduled for executing of described scheduling.
In said apparatus, the mode that APK file matching unit 121 received and preserved the descriptor of this APK file can be:
Search the announced APK listed files of preserving in database, according to lookup result, judge whether described APK file belongs to new APP, if belonged to, receive and preserve the descriptor of the affiliated APP of described APK file;
If do not belonged to, judge that whether described APK file is the redaction file of affiliated APP, if so, receives and preserve the descriptor of described APK file;
If not, whether the corresponding APK file that judgement has been uploaded is issued, if issued, reclaims the APK file of uploading before deserving; If not issue, adopts this APK file to replace the corresponding APK file of having uploaded.
The published method of the issue work that job scheduling unit 122 creates can be: issue on time, by platform, issue, issue or directly issue on time and by platform.
Task release unit 123 can be for, described Token is uploaded to the server of corresponding distribution platform, when the server that monitors corresponding distribution platform is during to described Token verification succeeds, the descriptor of described APK file is converted to the desired form of corresponding distribution platform according to Form list attribute templates, the descriptor of the APK file after APK file and conversion is uploaded to corresponding distribution platform.
Below lift specific embodiment and introduce respectively the function of above-mentioned modules.
Embodiment mono-:
The present embodiment is introduced distribution platform authorization message administration module 110, and this module is carried out two functions:
The first, newly-built APP authorization message.APP authorization message comprises two parts, and a part is provider's information of APP, and this information only needs typing once; Second portion is authorization code (Token) and the Form list attribute templates of each distribution platform.Wherein, the Token of distribution platform communicates for the server of apparatus of the present invention and distribution platform; Its obtain manner is: distribution platform authorization message administration module 110 is sent to each distribution platform by provider's information of APP, when distribution platform passes through provider's signal auditing of APP, provide the Token of distribution platform, and this Token is fed back to distribution platform authorization message administration module 110.The effect of Form list attribute templates is: the title of Yin Ge manufacturer distribution platform information is inconsistent, so needing the title of the distribution platform information of corresponding apparatus of the present invention unifies, the Form list attribute templates creating, can the title of Jiang Ge manufacturer and the title of apparatus of the present invention carry out mapping relations configuration, just can solve this problem.Finally, after having operated, generate the unique ID of this distribution platform, and can not revise and delete.
The second, enable forbidding, upgrade the Token of distribution platform.For newly-built first distribution platform, need not be concerned about this operation, be defaulted as initiate mode.For the follow-up modification of not wanting that the distribution platform that operates or Token change bring, can complete in this part enable, forbid, the operation such as renewal.The platform that does not comprise forbidding in the distribution platform list of note: APK.
There is APP authorization message, just can complete a key issue APK file.
Embodiment bis-:
The present embodiment is introduced the implementation that APK file matching unit 121 received and preserved APK file.
APK file matching unit 121 is responsible for the descriptor that receives and preserve APK file.Before receiving the descriptor of APK file, this APK file need to be uploaded on the server of having applied apparatus of the present invention in advance.If Fig. 2 is for receiving and preserve a kind of implementation of the descriptor of APK file, comprising:
Step 201: for the APK file after uploading successfully, automatically mate according to the title of APK file, the successful APK listed files of issue of preserving according to this locality carries out matched and searched, filters out the APP application that meets this APK.The condition of coupling is, with the name of APK file name, arranges, and need to observe " the APP letter .apk of abbreviation _ version number " such naming method, as pea pods (wangdoujia_1-1.apk).This device can be called for short and carry out matched and searched in announced APK listed files according to the letter of APP, and is automatically saved in database by task release unit.If do not had, the match is successful, performs step 202; If the match is successful, perform step 203.
Step 202: the match is successful owing to not having, thinks that this APK file belongs to new APP, cannot provide matching result, fills in the descriptor of this new APP, and for example sketch in functional description and application, can carry out a key issue of APK file afterwards.
Step 203: because the match is successful, think that this APK file of uploading is to belong to existing APP, judge whether this APK file is the redaction file of affiliated APP; If so, get this APK filename latest edition this shop below, in automatic filling auto levelizer, can enter afterwards a key issue link flow process; If not, illustrate that the APK file of the identical version of the affiliated APP of this APK file exists, perform step 204.
Step 204: whether the APK file that judges this identical version is issued, if not issue adopts this APK file to replace it the APK file of front already present identical version, the hidden danger that so just can exempt version updating rollback.If issued, reclaim this APK file, for end process operation, can not carry out file replacement.
Afterwards, can enter a key issue link.Can one the APK file status of key issue have at present three kinds: the not issue redaction after new application, redaction, replacement.
You need to add is that, for the APK file of having uploaded but the APK file that does not carry out a key issue, if proceed operation, need choose an APK file.For the APK file of choosing, can carry out and above-mentionedly upload the descriptor of this APK file and create corresponding JST, carry out afterwards the step of a key issue; Also APK file can be reclaimed, this APK file is discarded, outmoded APK file, it is invalid that all records will be set to, and directly complete end operation.
Embodiment tri-:
The present embodiment introduction creates and carries out a kind of implementation of the job scheduling task of APK file, as Fig. 3 realization flow figure that is the present embodiment.
For each APK file to be released, can adopt job scheduling unit 122 to create a job scheduling task (JST, Job Scheduing Task) for correspondence with it, as shown in the numbering 1 of Fig. 3.When producing JST, also asynchronously having created two son work, is respectively issue work (Publish Job, PJ) and statistical work (Total Job, TJ).Issue work is carried out in two steps, is first issue work, is secondly the result preservation work after issue.
For issue work (PJ), there are four kinds of work can carry out independent assortment, and issue quickly and easily, as shown in the numbering 2 of Fig. 3: 1, issue on time; 2, by platform, issue; 3, on time and press platform issue; 4, directly issue; Wherein,
Issue on time, refers to that this task can Timing Processing release tasks, as issued at a time;
Press platform issue, refer to that this task can issue according to some platform;
On time and press platform issue, comprehensive first two, can carry out timing to some platform and issue;
Directly issue, directly chooses platform to issue.
After issue work completes, mission bit stream wherein (comprising APP application message, issuing time) etc. has been recorded in database, and as issuing the Data Source of APK listed files, is below the place of using it:
1) the matched data source while uploading APK file;
2) create the Data Source of scheduler, statistics task.
For statistical work (TJ), the condition that statistical work creates is as follows:
1) statistics task existing in the APP of existing APK listed files is can not create new statistics task;
2) formula that each statistics task distributes is: appId+pId.(the unique number of appId:app application; PId: the unique number of each manufacturer's platform), that is to say, the download of each APP only can be added up according to the distribution platform of issuing the APK file that this APP is corresponding.For example, the APK file that appId is 1001, on the distribution platform that is 108, issues at pId, just can not produce statistics task.
3) statistical work creating, is not to carry out immediately work, but timing wake-up for example, automatically wakes up behind three minutes of morning, can accurately be aggregated into like this data of yesterday.
The statistical work waking up, first can obtain after new announced APK listed files, automatically distributes the subtask of each corresponding APP statistics.The data that each subtask acquires can be saved in database, are finally aggregated into form, and represent in the statistical information Reports module in this device.
After issue work and statistical work have created, whether job scheduling unit 122 can pass through audit to provider's information of APK file by monitors distribution platform, when by audit, loads the scheduling detail of JST according to APP authorization message; Task release unit 123 just can adopt this to dispatch the above-mentioned issue work of detailed scheduled for executing, as shown in the numbering 2 in Fig. 3; Statistical information Reports module 130 can adopt this to dispatch the above-mentioned statistical work of detailed scheduled for executing, as shown in the numbering 3 in Fig. 3.
Specific embodiments of the invention have more than been introduced.
In sum, summary job scheduling task, issue work (PJ), statistical work (TJ) and each distribution platform are as follows with the transmission of apparatus of the present invention data and the implementation procedure of communicating by letter:
1, job scheduling task (JST), by Spring Quartz (job scheduling framework), assist to create and complete despatching work, Spring Quartz comprises Scheduler (scheduler), Job (scheduler task), Trigger (trigger), JobDetail (scheduling is detailed).
First need to produce a scheduler, the condition of generation is: in issuing APK listed files, do not exist.The APP that is to say an APK file subordinate only may have a scheduler.After scheduler produces, just can carry out despatching work for a key issue APK.Here, the scheduler after generation, and then two son work of asynchronous establishment, issue work (PJ) and statistical work (TJ).
2, issue work (PJ), has four kinds of tasks to combine.If task type is regularly issued, can produce a Trigger who answers in contrast (trigger) and trigger each issue Task (task); This Trigger sets triggering according to Cron expression formula, and Cron expression formula comprises following 7 fields: 1, second; 2, minute; 3, hour; 4, the date in month; 5, month; 6, the date in week; 7, year (Optional Field).Note: Cron trigger utilizes a series of special characters, as follows:
Backslash (/) character representation increment size.For example, in second field, " 5/15 " representative was since the 5th second, and every 15 seconds once.
Question mark (?) character and alphabetical L character be only available in date field in date and week within the moon.Question mark represents that this field does not comprise occurrence.So, if a date in specifying month, can be within week in date field insertion "? ", represent that in week, date value is unimportant.Letter L character is the abbreviation of last.Be placed in month interior date field, represent to be arranged in and carry out of that month last day.Within week in date field, if " L " individualism just equals " 7 ", otherwise represent of that month in last example on all interior dates.So representing to be arranged in, " 0L " carry out last of that month Sun..
Letter within the moon in date field (W) character is arranged in the working day of close designated value execution." 1W " is placed in month interior date field, represents execution to be arranged in of that month first job in a few days.
Pound sign (#) character is to specify concrete example on working day given month." MON#2 " is placed in interior date field of week, represents task arrange second Monday in this month.
Asterisk (*) character is wild-character, represents that this field can accept any possible values.
For example: " 0012**? " every day, 12 noon triggered.
Utilize the above, this device can according to the expression formula of setting carry out timing issue (regularly issue all do not forbid platform, regularly issue to choose do not forbid platform).If do not set regularly issue, be by platform issue, directly issue, this device can be from Thread Pool (thread pool) one of taking-up with it the Thread (thread) of correspondence issue operation.
No matter be to set regularly, still choose or directly issue, all can come according to carrying out according to a job detailed (JobDetail).This work is detailed, is to load according to the APP authorization message in " management of distribution platform authorization message "; For new distribution platform, newly application, the issue work that needs audit to wait for, whether provider's information that this device can automatic monitoring APP by examining, and by after proceed issue work.Finally, after issuing successfully, this scheduling detailed (JobDetail) can be saved in database.
3, statistical work (TJ), has unified Trigger (trigger), and therefore work is statistical summaries task, there is time dimension character, when statistical work is carried out, only can obtain each platform data of yesterday, therefore set regularly, express and carry out work execution.After this work wakes up, first can obtain up-to-date portion and issue APK listed files as carrying out foundation, the data that finally get can be saved in database respectively, are aggregated into form.
Finally gather and become statistical information form, the dimension of report data comprises: APP numbering | title (row 1), platform numbering | and title (row 2), APP version (row 3), issuing time (row 4), download (row 5).Wherein, row 1, row 2, row 3 can screen, yet row 1 and row 2 are peer-to-peers, and the two can not remove simultaneously.
4, the data transmission of each manufacturer's distribution platform and this device and communicating by letter: first set APP authorization message in distribution platform authorization message administration module, this APP authorization message comprises: provider's information of APP, the Token of each distribution platform and Form list attribute templates, wherein, the Token of each distribution platform be by distribution platform to provider's signal auditing of APP by after provide; Afterwards, along with the execution of issue work by APP authorization message automatic loading in JobDetail (scheduling detail), form communication message, when each vendor A PI (application programming interface) is called, first can carry out verification to Token value, if verification is passed through, needs issue or the APK file upgrading can be uploaded on the server of each manufacturer, and detailed according to the message sending, find corresponding APP, thereupon lastest imformation.If not by verification, this device can receive a failure information, and this mission failure of receipt comes to an end, and state is not for issuing successfully.No matter whether issue, the information such as state that final task completes, all can be recorded in database.
Adopt said apparatus, the present invention proposes a kind of method of the APK of issue file, and as shown in Figure 4, the method comprises:
Step 401: the provider's information that sends APP to each distribution platform;
Step 402: for the APK file of uploading, the descriptor that receives and preserve this APK file;
Step 403: for described APK document creation job scheduling task JST, and create the sub-work of this JST, issue work;
Step 404: when monitor distribution platform to the audit of provider's information of described APP by time, receive the Token that distribution platform provides, described Token is for communicating with the server of distribution platform;
Step 405: the scheduling of loading described JST according to APP authorization message is detailed, adopts issue work described in the detailed scheduled for executing of described scheduling; Wherein, described APP authorization message comprises: provider's information of APP, the Token of each distribution platform and Form list attribute templates.
In above-mentioned steps 403, after APK document creation JST, may further include:
For each distribution platform, create a plurality of son work of this JST, i.e. statistical work (TJ); Each statistical work is responsible for adding up described APK file at the download of corresponding distribution platform; Adopt statistical work described in the detailed scheduled for executing of described scheduling.
In above-mentioned steps 402, the mode that receives and preserve the descriptor of this APK file can be:
Search the announced APK listed files of preserving in database, according to lookup result, judge whether described APK file belongs to new APP, if belonged to, receive and preserve the descriptor of the affiliated APP of described APK file;
If do not belonged to, judge that whether described APK file is the redaction file of affiliated APP, if so, receives and preserve the descriptor of described APK file;
If not, whether the corresponding APK file that judgement has been uploaded is issued, if issued, reclaims the APK file of uploading before deserving; If not issue, adopts this APK file to replace the corresponding APK file of having uploaded.
In above-mentioned steps 403, the published method of issue work can be: issue on time, by platform, issue, issue or directly issue on time and by platform.
In above-mentioned steps 405, adopt the mode of the detailed scheduled for executing issue work of scheduling to be:
Described Token is uploaded to the server of corresponding distribution platform, when the server that monitors corresponding distribution platform is during to described Token verification succeeds, the descriptor of described APK file is converted to the desired form of corresponding distribution platform according to Form list attribute templates, the descriptor of the APK file after APK file and conversion is uploaded to corresponding distribution platform.
In sum, the method and apparatus of the issue APK file that the present invention proposes, by preserving the Form list attribute templates of each distribution platform, can be only when uploading APK file by manually inputting descriptor, in issuing process, unified descriptor is converted to the required form of distribution platform according to Form list attribute templates afterwards, thereby avoid manually inputting a large amount of duplicate messages, solved manual issue repeat loaded down with trivial details, the process that misuse rate is high; And can in newly-increased distribution platform, bring unnecessary link to whole issuing process, improve whole efficiency for issuing.Whether the mode whether the present invention adopts automatic monitoring audit to pass through, no longer need manually to pay close attention to information and examine and pass through, and makes whole issuing process realize robotization.And, no longer need to check consolidated statement from distribution platform separately, can directly in unified position, check, make whole aggregation process simple and convenient.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (10)

1. a method of issuing Android installation kit APK file, is characterized in that, described method comprises:
To each distribution platform, send provider's information of APP;
For the APK file of uploading, the descriptor that receives and preserve this APK file;
For described APK document creation job scheduling task JST, and create the sub-work of this JST, issue work;
When monitor distribution platform to the audit of provider's information of described APP by time, receive the authorization code Token that distribution platform provides, described Token is for communicating with the server of distribution platform;
The scheduling of loading described JST according to APP authorization message is detailed, adopts issue work described in the detailed scheduled for executing of described scheduling; Wherein, described APP authorization message comprises: provider's information of APP, the Token of each distribution platform and Form list attribute templates.
2. method according to claim 1, is characterized in that, described for after APK document creation JST, further comprises:
For each distribution platform, create a plurality of son work of this JST, i.e. statistical work; Each statistical work is responsible for adding up described APK file at the download of corresponding distribution platform; Adopt statistical work described in the detailed scheduled for executing of described scheduling.
3. method according to claim 1 and 2, is characterized in that, described reception the mode of preserving the descriptor of this APK file are:
Search the announced APK listed files of preserving in database, according to lookup result, judge whether described APK file belongs to new APP, if belonged to, receive and preserve the descriptor of the affiliated APP of described APK file;
If do not belonged to, judge that whether described APK file is the redaction file of affiliated APP, if so, receives and preserve the descriptor of described APK file;
If not, whether the corresponding APK file that judgement has been uploaded is issued, if issued, reclaims the APK file of uploading before deserving; If not issue, adopts this APK file to replace the corresponding APK file of having uploaded.
4. method according to claim 1 and 2, is characterized in that, the published method of described issue work is: issue on time, by platform, issue, issue or directly issue on time and by platform.
5. method according to claim 1 and 2, is characterized in that, the mode that detailed scheduled for executing issue work is dispatched in described employing is:
Described Token is uploaded to the server of corresponding distribution platform, when the server that monitors corresponding distribution platform is during to described Token verification succeeds, the descriptor of described APK file is converted to the desired form of corresponding distribution platform according to Form list attribute templates, the descriptor of the APK file after APK file and conversion is uploaded to corresponding distribution platform.
6. a device of issuing Android installation kit APK file, is characterized in that, described device comprises:
Distribution platform authorization message administration module, for send provider's information of APP to each distribution platform, preserve and safeguard APP authorization message, described APP authorization message comprises: provider's information of APP, the authorization code Token of each distribution platform and Form list attribute templates; Described Token by distribution platform to provider's signal auditing of described APP by after provide, for communicating with the server of described distribution platform;
APK release management module, comprising: APK file matching unit, job scheduling unit and task release unit, wherein:
Described APK file matching unit, for receiving and preserve the descriptor of APK file;
Described job scheduling unit, for for described APK document creation job scheduling task JST, and creates the sub-work of this JST, issues work; After monitoring distribution platform provider's signal auditing of described APK file is passed through, the scheduling of loading described JST according to described APP authorization message is detailed;
Described task release unit, for adopting issue work described in the detailed scheduled for executing of described scheduling.
7. device according to claim 6, is characterized in that, described job scheduling unit also for, for each distribution platform, create a plurality of son work of this JST, i.e. statistical work; Each statistical work is responsible for adding up described APK file at the download of corresponding distribution platform;
Described device also comprises:
Statistical information Reports module, for adopting statistical work described in the detailed scheduled for executing of described scheduling.
8. according to the device described in claim 6 or 7, it is characterized in that, the mode that described APK file matching unit received and preserved the descriptor of this APK file is:
Search the announced APK listed files of preserving in database, according to lookup result, judge whether described APK file belongs to new APP, if belonged to, receive and preserve the descriptor of the affiliated APP of described APK file;
If do not belonged to, judge that whether described APK file is the redaction file of affiliated APP, if so, receives and preserve the descriptor of described APK file;
If not, whether the corresponding APK file that judgement has been uploaded is issued, if issued, reclaims the APK file of uploading before deserving; If not issue, adopts this APK file to replace the corresponding APK file of having uploaded.
9. according to the device described in claim 6 or 7, it is characterized in that, the published method of the issue work that described job scheduling unit creates is: issue on time, by platform, issue, issue or directly issue on time and by platform.
10. according to the device described in claim 6 or 7, it is characterized in that, described task release unit is used for, described Token is uploaded to the server of corresponding distribution platform, when the server that monitors corresponding distribution platform is during to described Token verification succeeds, the descriptor of described APK file is converted to the desired form of corresponding distribution platform according to Form list attribute templates, the descriptor of the APK file after APK file and conversion is uploaded to corresponding distribution platform.
CN201410298849.1A 2014-06-26 2014-06-26 A kind of method and apparatus for issuing APK file Active CN104035780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410298849.1A CN104035780B (en) 2014-06-26 2014-06-26 A kind of method and apparatus for issuing APK file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410298849.1A CN104035780B (en) 2014-06-26 2014-06-26 A kind of method and apparatus for issuing APK file

Publications (2)

Publication Number Publication Date
CN104035780A true CN104035780A (en) 2014-09-10
CN104035780B CN104035780B (en) 2018-01-12

Family

ID=51466555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410298849.1A Active CN104035780B (en) 2014-06-26 2014-06-26 A kind of method and apparatus for issuing APK file

Country Status (1)

Country Link
CN (1) CN104035780B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318164A (en) * 2014-10-29 2015-01-28 北京金和软件股份有限公司 Application program verification method
CN104461530A (en) * 2014-12-02 2015-03-25 北京金和软件股份有限公司 App releasing method
CN104991925A (en) * 2015-06-26 2015-10-21 北京奇虎科技有限公司 File release based detection method and apparatus
CN105574367A (en) * 2015-12-10 2016-05-11 北京奇虎科技有限公司 Mobile game based examining and verifying task processing method and apparatus, and game platform system
CN105847402A (en) * 2016-04-26 2016-08-10 乐视控股(北京)有限公司 Document publishing method and device
CN106294068A (en) * 2016-08-03 2017-01-04 福建星海通信科技有限公司 A kind of Android system APK method for managing and monitoring and device thereof
CN107862207A (en) * 2017-12-01 2018-03-30 四川精工伟达智能技术股份有限公司 Using credible management system and method
CN109040070A (en) * 2018-08-02 2018-12-18 深圳前海微众银行股份有限公司 Document sending method, equipment and computer readable storage medium
CN109683951A (en) * 2018-12-21 2019-04-26 北京量子保科技有限公司 A kind of code method for automatically releasing, system, medium and electronic equipment
CN110363005A (en) * 2019-06-21 2019-10-22 绿漫科技有限公司 A kind of expired detection method of iOS enterprise version APP
CN113726871A (en) * 2021-08-27 2021-11-30 猪八戒股份有限公司 Dispatching method and system for automatic code release
CN113741872A (en) * 2021-09-03 2021-12-03 上海新炬网络信息技术股份有限公司 Software application automatic publishing method based on job scheduling
CN113918172A (en) * 2021-09-30 2022-01-11 平安养老保险股份有限公司 Quartz-based version release method, device, equipment and medium
CN114938369A (en) * 2022-07-25 2022-08-23 北京创新乐知网络技术有限公司 Software data packet synchronization method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398811A (en) * 2008-09-26 2009-04-01 北京四方继保自动化股份有限公司 Electric network fault report template multiformat output method
US20110161912A1 (en) * 2009-12-30 2011-06-30 Qualzoom, Inc. System for creation and distribution of software applications usable on multiple mobile device platforms
CN102571755A (en) * 2011-12-12 2012-07-11 赵诩侬 Cross-site similar data publishing platform (website)
CN102737084A (en) * 2011-12-28 2012-10-17 新奥特(北京)视频技术有限公司 Media data interaction method and system
CN102915243A (en) * 2012-04-18 2013-02-06 系微股份有限公司 Method for providing automatic generation application program and shelf-loading service by single entrance
CN103064666A (en) * 2012-11-30 2013-04-24 北京奇虎科技有限公司 Multi-channel method and system for issuing software
CN103679438A (en) * 2013-12-31 2014-03-26 东信和平科技股份有限公司 Multiple-application accessing management method based on mobile payment platform

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398811A (en) * 2008-09-26 2009-04-01 北京四方继保自动化股份有限公司 Electric network fault report template multiformat output method
US20110161912A1 (en) * 2009-12-30 2011-06-30 Qualzoom, Inc. System for creation and distribution of software applications usable on multiple mobile device platforms
CN102571755A (en) * 2011-12-12 2012-07-11 赵诩侬 Cross-site similar data publishing platform (website)
CN102737084A (en) * 2011-12-28 2012-10-17 新奥特(北京)视频技术有限公司 Media data interaction method and system
CN102915243A (en) * 2012-04-18 2013-02-06 系微股份有限公司 Method for providing automatic generation application program and shelf-loading service by single entrance
CN103064666A (en) * 2012-11-30 2013-04-24 北京奇虎科技有限公司 Multi-channel method and system for issuing software
CN103679438A (en) * 2013-12-31 2014-03-26 东信和平科技股份有限公司 Multiple-application accessing management method based on mobile payment platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZXDOUDOU001: "安卓应用一键提交市场工具 一键云", 《百度文库》 *

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318164B (en) * 2014-10-29 2017-06-20 北京金和软件股份有限公司 A kind of checking method of application program
CN104318164A (en) * 2014-10-29 2015-01-28 北京金和软件股份有限公司 Application program verification method
CN104461530A (en) * 2014-12-02 2015-03-25 北京金和软件股份有限公司 App releasing method
CN104991925B (en) * 2015-06-26 2019-06-21 北京奇虎科技有限公司 A kind of detection method and device based on file distribution
CN104991925A (en) * 2015-06-26 2015-10-21 北京奇虎科技有限公司 File release based detection method and apparatus
CN105574367A (en) * 2015-12-10 2016-05-11 北京奇虎科技有限公司 Mobile game based examining and verifying task processing method and apparatus, and game platform system
CN105574367B (en) * 2015-12-10 2018-09-04 北京奇虎科技有限公司 Audit task processing method based on mobile phone games and device, game platform system
CN105847402A (en) * 2016-04-26 2016-08-10 乐视控股(北京)有限公司 Document publishing method and device
WO2017185649A1 (en) * 2016-04-26 2017-11-02 乐视控股(北京)有限公司 Document release method, device, and electronic apparatus
CN106294068A (en) * 2016-08-03 2017-01-04 福建星海通信科技有限公司 A kind of Android system APK method for managing and monitoring and device thereof
CN107862207A (en) * 2017-12-01 2018-03-30 四川精工伟达智能技术股份有限公司 Using credible management system and method
CN109040070A (en) * 2018-08-02 2018-12-18 深圳前海微众银行股份有限公司 Document sending method, equipment and computer readable storage medium
CN109040070B (en) * 2018-08-02 2020-12-15 深圳前海微众银行股份有限公司 File transmission method, device and computer readable storage medium
CN109683951A (en) * 2018-12-21 2019-04-26 北京量子保科技有限公司 A kind of code method for automatically releasing, system, medium and electronic equipment
CN110363005A (en) * 2019-06-21 2019-10-22 绿漫科技有限公司 A kind of expired detection method of iOS enterprise version APP
CN113726871A (en) * 2021-08-27 2021-11-30 猪八戒股份有限公司 Dispatching method and system for automatic code release
CN113726871B (en) * 2021-08-27 2024-02-02 猪八戒股份有限公司 Scheduling method and system for automatic code release
CN113741872A (en) * 2021-09-03 2021-12-03 上海新炬网络信息技术股份有限公司 Software application automatic publishing method based on job scheduling
CN113741872B (en) * 2021-09-03 2024-04-23 上海新炬网络信息技术股份有限公司 Automatic software application publishing method based on job scheduling
CN113918172A (en) * 2021-09-30 2022-01-11 平安养老保险股份有限公司 Quartz-based version release method, device, equipment and medium
CN114938369A (en) * 2022-07-25 2022-08-23 北京创新乐知网络技术有限公司 Software data packet synchronization method and device, computer equipment and storage medium
CN114938369B (en) * 2022-07-25 2022-10-28 北京创新乐知网络技术有限公司 Software data packet synchronization method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN104035780B (en) 2018-01-12

Similar Documents

Publication Publication Date Title
CN104035780A (en) Method and device for publishing APK file
CN101876943B (en) Systems and methods for identifying a relationship between multiple interrelated applications in a mainframe environment
CN106095408A (en) A kind of system and method for data monitoring and Code automatic build and deployment
EP2003557A2 (en) Applicable patch selecting device and applicable patch selecting method
WO2011025595A1 (en) Remote data collection systems and methods
CN102663543A (en) Scheduling system used for enterprise data unification platform
CN103995709A (en) Method for automatic software system deployment upgrading
US20080244555A1 (en) Bundling software updates
CN1866283B (en) System and method for implementing regular system triggering
CN110806907B (en) Containerized configurable database script execution management system and method
CN105808274A (en) Software upgrading method and system as well as corresponding clients and servers
CN105260248A (en) Task scheduling system with dynamic regulation function and scheduling method
CN103997506A (en) Automatic deployment upgrading system suitable for software system
CN111782534A (en) Business process monitoring method, device and system
WO2021249920A1 (en) Configuration device, update server and method for updating software of a technical installation
CN106484452B (en) unified configuration management method and device for software platform
CN112488485A (en) Business process management system
CN105589718A (en) System updating method and updating apparatus for intelligent device
CN106406884A (en) A .NET MVC mode-based fundamental development framework for WEB background management application systems
CN113157297A (en) Charging station equipment remote upgrading method and system
US20070198927A1 (en) Computer-implemented systems and methods for an automated application interface
CN107015831A (en) A kind of client updating management method upgraded based on server end and system
CN106201578A (en) A kind of software system more new frame
CN105653341A (en) Method, device and system for upgrading network invoice client
CN110515611B (en) Document number generation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant