CN108762761A - Generation method, device, server and the storage medium of target channel packet - Google Patents

Generation method, device, server and the storage medium of target channel packet Download PDF

Info

Publication number
CN108762761A
CN108762761A CN201810472134.1A CN201810472134A CN108762761A CN 108762761 A CN108762761 A CN 108762761A CN 201810472134 A CN201810472134 A CN 201810472134A CN 108762761 A CN108762761 A CN 108762761A
Authority
CN
China
Prior art keywords
version name
configuration file
version
target channel
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810472134.1A
Other languages
Chinese (zh)
Inventor
李敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Fenqile Network Technology Co Ltd
Original Assignee
Shenzhen Fenqile Network 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 Shenzhen Fenqile Network Technology Co Ltd filed Critical Shenzhen Fenqile Network Technology Co Ltd
Priority to CN201810472134.1A priority Critical patent/CN108762761A/en
Publication of CN108762761A publication Critical patent/CN108762761A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of generation method, device, server and the storage medium of target channel packet, wherein this method includes:Version name configuration file is established according to the corresponding at least one version name of application program to be packaged;The configuration file acquisition version name configuration file by all kinds of means is called, reads the version name in the version name configuration file, and the version name is configured at least one target channel according to the correspondence of channel and version name;The application program to be packaged is packaged according to the version name, the target channel, generates target channel packet corresponding at least one target channel.The technical solution of the embodiment of the present invention, it realizes and directly the application program after optimization and upgrading is configured in target channel by changing the correspondence between version name configuration file and version name and channel, the technique effect for improving allocative efficiency, reducing cost of labor.

Description

Generation method, device, server and the storage medium of target channel packet
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of generation method version names of target channel packet Definition method, apparatus, server and the storage medium of title.
Background technology
There are one processes from researching and developing to promoting for the application program installed in Android mobile phone, i.e., ask what is occurred in application program Topic will optimize upgrading, will have version name corresponding thereto to distinguish different editions after every suboptimization.Normal conditions Under, after software developer researches and develops application program, need first to push the application program, that is, interior survey stage to certain customers (interior survey channel), and upgrading is optimized to the feedback of the application program according to certain customers, then application program after optimization is pushed away It send to interior survey user, if interior survey user does not have feedback problem, pushes the application program to most of user, and be exactly on line Version (channel on line).
Wherein, as long as being optimized to application program, all there is version name corresponding with the program after optimization, version Title is to maintain consistent in each channel, wherein each channel be primarily referred to as the interior survey channel pushed to certain customers and Channel on the line promoted to most of user.Due to some business or other, different channel, it would be desirable to difference Version name distinguish to be configured in different user's channels, such as:The interior version number for surveying version is 4.9.0, just The version of version is 4.9.1 on formula line.However, in the developing instrument of Android application program, only there are one local configuration versions Title (VersionName).Therefore it when the user of different channels uses updated application program, needs manually to change, this Be easy for causing manually changing every time it is time-consuming and laborious, and the technical issues of be easy error.
Invention content
The present invention provides a kind of generation method, device, server and the storage medium of target channel packet, will be optimized with realizing Updated difference waits for that packaging file is respectively configured in corresponding channel, the technology for improving allocative efficiency, reducing cost of labor Effect.
In a first aspect, an embodiment of the present invention provides a kind of generation method of target channel packet, the method includes:
Version name configuration file is established according to the corresponding at least one version name of application program to be packaged;
The configuration file acquisition version name configuration file by all kinds of means is called, is read in the version name configuration file Version name, and the version name is configured to by least one target channel according to the correspondence of channel and version name In;
The application program to be packaged is packaged according to the version name, the target channel, generate with it is described The corresponding target channel packet of at least one target channel.
Second aspect, the embodiment of the present invention additionally provide a kind of generating means of target channel packet, which includes:
File module is established, for establishing version name according to the corresponding at least one version name of application program to be packaged Configuration file;
Configuration module reads the version for calling the configuration file acquisition version name configuration file by all kinds of means Version name in title configuration file, and according to the correspondence of channel and version name by the version name be configured to In a few target channel;
Generation module, for being beaten the application program to be packaged according to the version name, the target channel Packet generates target channel packet corresponding at least one target channel.
The third aspect, the embodiment of the present invention additionally provide a kind of server, which is characterized in that the server includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processing Device realizes the generation method of the target channel packet as described in any in the embodiment of the present invention.
Fourth aspect, the embodiment of the present invention additionally provides a kind of storage medium including computer executable instructions, described Computer executable instructions by computer processor when being executed for executing the target as described in any in the embodiment of the present invention The generation method of channel packet.
The technical solution of the embodiment of the present invention, by being built according to the corresponding at least one version name of application program to be packaged Vertical version name configuration file recalls configuration file by all kinds of means and obtains the version name configuration file, reads the version Version name in title configuration file, and according to the correspondence of channel and version name by the version name be configured to In a few target channel, the application program to be packaged is packaged according to the version name, the target channel, it is raw At target channel packet corresponding at least one target channel, needed after solving application program optimization and upgrading in the prior art It wants artificial revision name title and sends different packaging files to the user of different channels, the technology of cumbersome complexity is asked Topic realizes and is directly risen optimization by changing the correspondence between version name configuration file and version name and channel Application program after grade is configured in target channel, the technique effect for improving allocative efficiency, reducing cost of labor.
Description of the drawings
In order to clearly illustrate the technical solution of exemplary embodiment of the present, below to required in description embodiment The attached drawing to be used does a simple introduction.Obviously, the attached drawing introduced is a part of the embodiment of the invention to be described Attached drawing, rather than whole attached drawings without creative efforts, may be used also for those of ordinary skill in the art To obtain other attached drawings according to these attached drawings.
A kind of generation method flow diagram for target channel packet that Fig. 1 is provided by the embodiment of the present invention one;
A kind of flow of the preferred embodiment of the generation method for target channel packet that Fig. 2 is provided by the embodiment of the present invention one is shown It is intended to;
A kind of generating means structural schematic diagram for target channel packet that Fig. 3 is provided by the embodiment of the present invention two;
A kind of structural schematic diagram for server that Fig. 4 is provided by the embodiment of the present invention three.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Before introducing technical solution provided by the present invention, it should be noted that develop one in software engineer and answer With after program, there are many modes of push, for example, the application program of exploitation is first extended to certain customers, that is to say, that by interior It surveys channel and application program is sent to interior survey user, interior survey user can be experienced not during using the application program Good problem is fed back, so that engineer carries out upgrading optimization according to the problem of feedback to application program, can be carried out to this Cycle, by the application program (being without problem or the less application program of problem) after final optimization pass by canal on line Road is sent to most of user, i.e. user on line;Either, company directly promotes the application program of exploitation to seize market To whole users, during use only in survey user the problems in the program can be fed back, engineer according to The problem of feedback, optimizes update to application program, and repeatedly cycle promotes updated application program.Wherein, interior survey User can be optimized with Real-time Feedback problem, engineer for the problem of feedback during using application program, and will Program after optimization is sent to interior survey user again, occurs until there is no problem, the application program of final version is sent to line Upper user.
In order to make it easy to understand, the embodiment of the present invention will be situated between to technical scheme of the present invention by taking above-mentioned scene as an example It continues, it should be noted that technical scheme of the present invention is not limited only to such application.
Embodiment one
A kind of generation method flow diagram for target channel packet that Fig. 1 is provided by the embodiment of the present invention one, this implementation Example is applicable in the situation for generating packaging file corresponding thereto to the user of different channels, and this method can be by target channel The generating means of packet execute, which can be realized by the form of software and/or hardware.
As described in Figure 1, the method for the present embodiment includes:
S110, version name configuration file is established according to the corresponding at least one version name of application program to be packaged.
Wherein, application program to be packaged, Ke Yishi, software engineer is newly developed will to be transmitted to the application of user The application program of lowest version is already installed in program or user terminal, software engineer is for interior survey user feedback Problem needs the packaging file for being sent to installation lowest version user terminal after optimizing.If surveying asking for user feedback according to interior The program optimized is inscribed, then the version of application program has at least one, also has accordingly corresponding at least one version Version name, it should be noted that the user version of different channels be also different.Illustratively, first by the application of exploitation Program extends to interior survey user, optionally, inwardly surveys the version name that user promotes for the first time and is denoted as 4.9.0, when engineer's root After the problem of being fed back during use according to interior survey user optimizes update, updated version name can be denoted as 4.9.2,4.9.4 ..., and so on version updating when and update corresponding with version version name, version can on corresponding line It is updated to version name 4.9.1,4.9.3 ... corresponding with interior survey version.
The technical solution of the embodiment of the present invention also needs to the application program of updated different editions being respectively sent to interior It surveys user and is continuing with or is sent directly to user on interior survey user and line, that is to say, that needing will by different channels The program of updated different editions title is respectively sent to different user.
In order to it is quick, automatically transfer can also be established from the different corresponding version names of channel user it is at least one Configuration file can be named the file of at least one version in the configuration file and be transmitted to correspondence to be transferred Channel in.Wherein, which can be corresponded to based on property file Properties classes and application program to be packaged At least one version name establish version name configuration file.Illustratively, establishing a configuration file is Version.properties, this file can be used for configuring the version name of at least one different editions, that is, The application program of final version after update can be sent to the version name of user on line and be denoted as 4.9.1 by versionName, It is sent to the interior version name for surveying user, that is, grayscale version title is denoted as 4.9.0.
S120, the configuration file acquisition version name configuration file by all kinds of means is called, reads the version name configuration Version name in file, and the version name is configured to by least one mesh according to the correspondence of channel and version name It marks in channel.
Wherein, call by all kinds of means configuration file obtain version name configuration file be based on Android developing instrument by all kinds of means Version name configuration file described in configuration file build.gradle file acquisitions, build.gradle files are Android exploitation works Configuration file in tool, there are one productFlavors config options for the configuration file, may be implemented using this config option The customization of some application characteristics optionally may be implemented to be packaged by all kinds of means.It is specifically to pass through more canals in Android developing instrument Road configuration file build.gradl files read version name configuration file, further obtain in version name configuration file Version name, optionally, obtain line on version name 4.9.1 and interior survey version name 4.9.0.
It should be noted that there are one productFlavors config options, software development works in configuration file by all kinds of means The correspondence between version name and channel can be arranged in Cheng Shi by certain program code, pass through the version got before Version name in this title configuration file, it will be able to be deployed into application program corresponding with version name, wherein obtain at this time The application program got is program corresponding with channel, i.e., the interior program surveyed channel and correspond to interior survey version, channel correspondence on line Version program on line.
S130, the application program to be packaged is packaged according to the version name, the target channel, generate with The corresponding target channel packet of at least one target channel.
The version name for waiting for packaging file corresponding at least one target channel, example can be obtained by aforesaid operations Such as, version waits for that packaging file and version name are 4.9.1 on the corresponding line of channel on line, the corresponding interior survey version of interior survey channel and Version name is 4.9.0.It should be noted that is obtained at this time waits for that packaging file is updated and final version application journey Sequence treats packaging file and carries out being packaged generation target channel packet corresponding at least one target channel.Wherein, target channel Packet is Android installation kit apk files.During practical application, it is also necessary to treat packaging file and be packaged and be sent to not With in the user of channel, packing program at this time is an installation kit, such as can be the apk formats suitable for Android system File.It is, of course, also possible to be the file of the different-format suitable for other installation environments.If having installed the application on user terminal The dialog box whether being updated can be popped up when user triggers the application program for program, and user can be according to actual demand It is selected.It should be noted that if when user is fitted without the application program, this can be downloaded by application shop and applies journey Sequence, and program on the line that application program at this time is latest edition.
A kind of flow of the preferred embodiment of the generation method for target channel packet that Fig. 2 is provided by the embodiment of the present invention one is shown Be intended to, as it is above-mentioned be embodiment a preferred embodiment, as described in Figure 2, the method for the embodiment of the present invention includes:
S201, newly-built versionName files.
The file that a newly-built format is version.properties, this file are mainly used for configuring at least one version This title, this is because software engineer's exploitation application program there may be problem, can be asked according to what certain customers fed back Topic optimizes update to application program, and updated application program corresponds to new version, may be repeatedly during newer Go wrong needs repeatedly updated, therefore version name have it is at least one, illustratively, will be in updated application program The name code for surveying version is set as 4.9.0, and the name code of version is set as 4.9.1 on line.
S202, multi version versionName files are obtained before packing.
The build.gradle files of configuration file by all kinds of means based on Android developing instrument, can first obtain the version in S201 This title configuration file, then version name in version name configuration file is obtained successively, wherein in version name configuration file Engineer can be named version name according to actual demand, using configuration file can be direct by all kinds of means after name Obtain the version name in version name configuration file.
Corresponding version number is arranged in S203, basis by all kinds of means.
It is configured in gradle by all kinds of means based on the recommendation in Android developing instrument, there is corresponding productFlavors programs Code, that is to say, that can by the version name in the version name configuration file that is got in the program code and S202 Being arranged corresponding version into corresponding channel, that is to say, that version name is configured to for 4.9.0 in interior survey channel, it will Version name is that 4.9.1 is configured on line in channel.
S204, packaging file simultaneously export.
Based on the above technical solution, it may be implemented the title of version being configured at least one target channel. During practical application, it is also necessary to treat packaging file and be packaged and be sent in the user of different channels, at this time Packing program is an installation kit, therefore can be the file of apk formats,.If having installed the application program on user terminal, when When user triggers the application program, the dialog box whether being updated can be popped up, user can select according to actual demand It selects.It should be noted that if when user is fitted without the application program, this application program can be downloaded by application shop, and And program on the line that application program at this time is latest edition.
The technical solution of the embodiment of the present invention according to the corresponding at least one version name of application program to be packaged by building Vertical version name configuration file recalls configuration file by all kinds of means and obtains the version name configuration file, reads the version Version name in title configuration file, and according to the correspondence of channel and version name by the version name be configured to In a few target channel, the application program to be packaged is packaged according to the version name, the target channel, it is raw At target channel packet corresponding at least one target channel, needed after solving application program optimization and upgrading in the prior art It wants artificial revision name title and sends different packaging files to the user of different channels, the technology of cumbersome complexity is asked Topic realizes and is directly risen optimization by changing the correspondence between version name configuration file and version name and channel Application program after grade is configured in target channel, the technique effect for improving allocative efficiency, reducing cost of labor.
Embodiment two
Fig. 3 is a kind of generating means structural schematic diagram of target channel packet provided by Embodiment 2 of the present invention, the device packet It includes:Establish file module 310, configuration module 320, generation module 330, wherein establish file module 310, wait beating for basis The corresponding at least one version name of packet application program establishes version name configuration file;Configuration module 320, for calling more canals Road configuration file obtains the version name configuration file, reads the version name in the version name configuration file, and root The version name is configured at least one target channel according to the correspondence of channel and version name;Generation module 330, For being packaged to the application program to be packaged according to the version name, the target channel, generate with it is described at least The corresponding target channel packet of one target channel.
The technical solution of the embodiment of the present invention according to the corresponding at least one version name of application program to be packaged by building Vertical version name configuration file;The configuration file acquisition version name configuration file by all kinds of means is called, the version name is read Claim the version name in configuration file, and is configured to the version name at least according to the correspondence of channel and version name In one target channel, the application program to be packaged is packaged according to the version name, the target channel, is generated Target channel packet corresponding at least one target channel, after solving application program updating in the prior art or optimization It needs manual amendment's version name number and sends different packaging files, the technology of cumbersome complexity to the user of different channels Problem, realizing directly will optimization by changing the correspondence between version name configuration file and version name and channel Application program after upgrading is configured in target channel, the technique effect for improving allocative efficiency, reducing cost of labor.
Based on the above technical solution, the file module 310 of establishing is additionally operable to:Based on property file Properties classes and the corresponding at least one version name of application program to be packaged establish version name configuration file.
On the basis of above-mentioned each technical solution, the configuration module 320 is additionally operable to:More canals based on Android developing instrument Version name configuration file described in road configuration file build.gradle file acquisitions.
On the basis of above-mentioned each technical solution, the target channel packet is Android installation kit apk files.
The generation assembling device for the target channel packet that the embodiment of the present invention is provided can perform any embodiment of the present invention and be carried The generation of the target channel packet of confession fills method, has the corresponding function module of execution method and advantageous effect.
It is worth noting that, each unit and module included by above-mentioned apparatus are only divided according to function logic , but it is not limited to above-mentioned division, as long as corresponding function can be realized;In addition, the specific name of each functional unit Claim also only to facilitate mutually differentiation, is not intended to restrict the invention the protection domain of embodiment.
Embodiment three
Fig. 4 is a kind of structural schematic diagram for server that the embodiment of the present invention three provides.Fig. 4 is shown suitable for being used for realizing The block diagram of the exemplary servers 40 of embodiment of the embodiment of the present invention.The server 40 that Fig. 4 is shown is only an example, no The function and use scope for coping with the embodiment of the present invention bring any restrictions.
As shown in figure 4, server 40 is showed in the form of universal computing device.The component of server 40 may include but not It is limited to:One or more processor or processing unit 401, system storage 402, connection different system component (including be Unite memory 402 and processing unit 401) bus 403.
Bus 403 indicates one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using the arbitrary bus structures in a variety of bus structures.It lifts For example, these architectures include but not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Server 40 typically comprises a variety of computer system readable media.These media can any can be serviced The usable medium that device 40 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 402 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 404 and/or cache memory 405.Server 40 may further include it is other it is removable/can not Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 406 can be used for reading and writing not Movably, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").It although not shown in fig 4, can be with It provides for the disc driver to moving non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving Device can be connected by one or more data media interfaces with bus 403.Memory 402 may include at least one program There is one group of (for example, at least one) program module, these program modules to be configured to perform the present invention for product, the program product The function of each embodiment.
Program/utility 408 with one group of (at least one) program module 407, can be stored in such as memory In 402, such program module 407 includes but not limited to operating system, one or more application program, other program modules And program data, the realization of network environment may be included in each or certain combination in these examples.Program module 407 Usually execute the function and/or method in embodiment described in the invention.
Server 40 can also be with one or more external equipments 409 (such as keyboard, sensing equipment, display 410 etc.) Communication, can also be enabled a user to one or more equipment interact with the server 40 communicate, and/or with make the service Any equipment (such as network interface card, modem etc.) that device 40 can be communicated with one or more of the other computing device is logical Letter.This communication can be carried out by input/output (I/O) interface 411.Also, server 40 can also pass through Network adaptation Device 412 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) Communication.As shown, network adapter 412 is communicated by bus 403 with other modules of server 40.Although should be understood that It is not shown in Fig. 4, other hardware and/or software module can be used in conjunction with server 40, including but not limited to:Microcode is set Standby driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system System etc..
Processing unit 401 is stored in program in system storage 402 by operation, to perform various functions using with And data processing, such as realize the generation method for the target channel packet that the embodiment of the present invention is provided.
Example IV
The embodiment of the present invention four also provides a kind of storage medium including computer executable instructions, and the computer can be held Generation method of the row instruction when being executed by computer processor for performance objective channel packet.
The arbitrary of one or more computer-readable media may be used in the computer storage media of the embodiment of the present invention Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or the arbitrary above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Tool There are one or the electrical connection of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium, which can be any, includes or the tangible medium of storage program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated, Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By instruction execution system, device either device use or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the embodiment of the present invention operation Computer program code, described program design language include object oriented program language-such as Java, Smalltalk, C++ further include conventional procedural programming language --- such as " C " language or similar program design language Speech.Program code can be executed fully, partly be executed on the user computer, as an independence on the user computer Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet It includes LAN (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as profit It is connected by internet with ISP).
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of generation method of target channel packet, which is characterized in that including:
Version name configuration file is established according to the corresponding at least one version name of application program to be packaged;
The configuration file acquisition version name configuration file by all kinds of means is called, the version in the version name configuration file is read This title, and the version name is configured at least one target channel according to the correspondence of channel and version name;
The application program to be packaged is packaged according to the version name, the target channel, generate with it is described at least The corresponding target channel packet of one target channel.
2. according to the method described in claim 1, it is characterized in that, basis application program to be packaged is corresponding at least one Version name establishes version name configuration file, including:
Version is established based on property file Properties classes and the corresponding at least one version name of application program to be packaged Title configuration file.
3. according to the method described in claim 1, it is characterized in that, described call the configuration file acquisition version name by all kinds of means Claim configuration file, including:
Version name configuration file described in the build.gradle file acquisitions of configuration file by all kinds of means based on Android developing instrument.
4. according to the method described in claim 3, it is characterized in that, the target channel packet is Android installation kit apk files.
5. a kind of generating means of target channel packet, which is characterized in that including:
File module is established, for establishing version name configuration according to the corresponding at least one version name of application program to be packaged File;
Configuration module reads the version name for calling the configuration file acquisition version name configuration file by all kinds of means Version name in configuration file, and the version name is configured at least one according to the correspondence of channel and version name In a target channel;
Generation module, it is raw for being packaged to the application program to be packaged according to the version name, the target channel At target channel packet corresponding at least one target channel.
6. device according to claim 5, which is characterized in that the file module of establishing is additionally operable to:
Version is established based on property file Properties classes and the corresponding at least one version name of application program to be packaged Title configuration file.
7. device according to claim 5, which is characterized in that the configuration module is additionally operable to:
Version name configuration file described in the build.gradle file acquisitions of configuration file by all kinds of means based on Android developing instrument.
8. device according to claim 5, which is characterized in that the target channel packet is Android installation kit apk files.
9. a kind of server, which is characterized in that the server includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processors are real The now generation method of the target channel packet as described in any in claim 1-4.
10. a kind of storage medium including computer executable instructions, the computer executable instructions are by computer disposal Generation method when device executes for executing the target channel packet as described in any in claim 1-4.
CN201810472134.1A 2018-05-17 2018-05-17 Generation method, device, server and the storage medium of target channel packet Pending CN108762761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810472134.1A CN108762761A (en) 2018-05-17 2018-05-17 Generation method, device, server and the storage medium of target channel packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810472134.1A CN108762761A (en) 2018-05-17 2018-05-17 Generation method, device, server and the storage medium of target channel packet

Publications (1)

Publication Number Publication Date
CN108762761A true CN108762761A (en) 2018-11-06

Family

ID=64008167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810472134.1A Pending CN108762761A (en) 2018-05-17 2018-05-17 Generation method, device, server and the storage medium of target channel packet

Country Status (1)

Country Link
CN (1) CN108762761A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109683954A (en) * 2018-12-29 2019-04-26 北京小米移动软件有限公司 The library lib integrated approach, device and storage medium
CN111078259A (en) * 2019-12-20 2020-04-28 上海米哈游天命科技有限公司 Audio packaging method and device, electronic equipment and storage medium
CN111596931A (en) * 2020-05-27 2020-08-28 北京学之途网络科技有限公司 Application program packaging method and device, electronic equipment and readable storage medium
CN112416422A (en) * 2020-11-17 2021-02-26 上海米哈游网络科技股份有限公司 Development version file submitting method, device, equipment and storage medium
CN112698852A (en) * 2020-11-30 2021-04-23 厦门亿联网络技术股份有限公司 APP gray scale upgrading method and device, terminal equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760184A (en) * 2014-12-18 2016-07-13 深圳云之家网络有限公司 Method and device for loading component
CN105893008A (en) * 2015-11-16 2016-08-24 乐视网信息技术(北京)股份有限公司 Method and device for customizing multi-channel installation package
CN107885506A (en) * 2017-11-07 2018-04-06 深圳云步互娱网络科技有限公司 One kind configures Android game packaging method and system by all kinds of means based on cloud

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760184A (en) * 2014-12-18 2016-07-13 深圳云之家网络有限公司 Method and device for loading component
CN105893008A (en) * 2015-11-16 2016-08-24 乐视网信息技术(北京)股份有限公司 Method and device for customizing multi-channel installation package
CN107885506A (en) * 2017-11-07 2018-04-06 深圳云步互娱网络科技有限公司 One kind configures Android game packaging method and system by all kinds of means based on cloud

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
阿穆隆丶: "Android 读取properties数据,多渠道打包,apk名字及路径更改等一揽子总结", 《CSDN》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109683954A (en) * 2018-12-29 2019-04-26 北京小米移动软件有限公司 The library lib integrated approach, device and storage medium
CN111078259A (en) * 2019-12-20 2020-04-28 上海米哈游天命科技有限公司 Audio packaging method and device, electronic equipment and storage medium
CN111596931A (en) * 2020-05-27 2020-08-28 北京学之途网络科技有限公司 Application program packaging method and device, electronic equipment and readable storage medium
CN112416422A (en) * 2020-11-17 2021-02-26 上海米哈游网络科技股份有限公司 Development version file submitting method, device, equipment and storage medium
CN112698852A (en) * 2020-11-30 2021-04-23 厦门亿联网络技术股份有限公司 APP gray scale upgrading method and device, terminal equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108762761A (en) Generation method, device, server and the storage medium of target channel packet
US7146609B2 (en) Method, system and article of manufacture for a firmware image
US20030217358A1 (en) Method, system, and article of manufacture for firmware downloads
CN110324169B (en) Interface management method and device
CN103853535B (en) The method and apparatus for changing middleware
US8756407B2 (en) Configuration rule prototyping tool
CN110083381A (en) The method and device of increment upgrading
CN104765621A (en) Method and system for deploying program on cluster node
CN109062572A (en) A kind of component call method, apparatus, equipment and storage medium
CN114035879A (en) Page theme color changing method and device, electronic equipment and computer readable medium
CN110221840B (en) Function implementation method and device of application program, equipment and storage medium
CN107168738A (en) A kind of management method of application tool, device, equipment and storage medium
CN110489106A (en) A kind of generation method, device, medium and the electronic equipment of project initial code
CN113746840A (en) JSON format message generation method and device
US11222164B2 (en) Adding custom content to an existing documentation suite
CN115167874B (en) Automatic driving software mirror image deployment method and device, electronic equipment and readable medium
CN110377328A (en) A kind of data capture method, device, equipment and storage medium
CN116028062A (en) Target code generation method, NPU instruction display method and device
US11115279B2 (en) Client server model for multiple document editor
KR20220035610A (en) System and method for providing integrated machine learning platform based on pipeline
CN110609728A (en) Page generation method and device and electronic equipment
CN109710293B (en) File processing method and device, electronic equipment and storage medium
CN109960522A (en) A kind of method for upgrading software and device
US20240143618A1 (en) Method and system for dynamic exposition of manufacturing operation data from a data warehouse
WO2023162260A1 (en) Environment construction assistance device, system, and method, and computer-readable medium

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: 20181106

RJ01 Rejection of invention patent application after publication