CN109298869A - A kind of generation method and relevant apparatus of target channel packet - Google Patents

A kind of generation method and relevant apparatus of target channel packet Download PDF

Info

Publication number
CN109298869A
CN109298869A CN201810966522.5A CN201810966522A CN109298869A CN 109298869 A CN109298869 A CN 109298869A CN 201810966522 A CN201810966522 A CN 201810966522A CN 109298869 A CN109298869 A CN 109298869A
Authority
CN
China
Prior art keywords
channel information
application program
path
signature
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810966522.5A
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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201810966522.5A priority Critical patent/CN109298869A/en
Publication of CN109298869A publication Critical patent/CN109298869A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

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

Abstract

The embodiment of the present application discloses the generation method and relevant apparatus of a kind of target channel packet, easy to operate, saves manpower and material resources.The embodiment of the present application method includes: the entrance for generating application program;Based on the entrance of the application program, fxml file is generated;The interface of the application program is established according to the fxml file;Based on the interface of the application program, channel information set is added;At the interface of the application program, target channel information is inputted, the channel information set includes the target channel information;Target channel packet is exported according to the target channel information.

Description

A kind of generation method and relevant apparatus of target channel packet
Technical field
This application involves software technology field more particularly to a kind of generation methods and relevant apparatus of target channel packet.
Background technique
With the continuous development of smart phone, all types of application programs (Application, the APP) on Android platform It emerging one after another, all kinds of APP are frequently necessary to the data information of counting user, such as obtain version number, version name, system version, Type, the various information such as area.
Nowadays, Android application shop is also more and more numerous, for example, 360, Baidu, the Androids application shop such as millet, often One Android application shop can be referred to as a channel, corresponding different channel, and APP developer is also required to statistics channel information, Which channel the APP can have been downloaded from counting user in this way, so that the operating habit for preferably grasping user is specifically opened Hair personnel will add different channel informations in installation kit and generate multiple support channels packet, and channel information is transferred to backstage, after Platform can count the download of each channel according to channel information.
However since channel is numerous, every time before test, developer requires the installation kit in Android In (AndroidPackage, APK) after the different channel informations of addition, then test to tester, it is complicated for operation, and take When it is laborious.
Summary of the invention
The embodiment of the present application provides the generation method and relevant apparatus of a kind of target channel packet, easy to operate, saves Manpower and material resources.
The embodiment of the present application first aspect provides a kind of generation method of target channel packet, comprising:
Generate the entrance of application program;
Based on the entrance of the application program, fxml file is generated;
The interface of the application program is established according to the fxml file;
Based on the interface of the application program, channel information set is added;
At the interface of the application program, target channel information is inputted, the channel information set includes the target canal Road information;
Target channel packet is exported according to the target channel information.
Optionally, after establishing the interface of the application program according to the fxml file, based on the application program Interface, before adding channel information set, the method also includes:
Signing messages set is added, the signing messages set includes V1 signature and V2 signature.
Optionally, if before addition channel information set, the corresponding application program is the V2 signature, then will be described V2 signature is revised as the V1 signature.
Optionally, after adding channel information set, the V2 signature is reconfigured, and verifies the V2 signature.
Optionally, addition channel information set includes:
Generate Android installation kit APK file set, the first path set and digital certificate of the channel information set Second set of paths of set;
Based on the first path set and second set of paths, channel is added in the APK file set Information aggregate, so that each channel information in the channel information set has corresponding APK file, first path and second Path, the APK file set include the APK file, and the first path set includes the first path, and described second Set of paths includes second path.
The embodiment of the present application second aspect provides a kind of generating means of target channel packet, comprising:
Generation unit, for generating the entrance of application program;
Based on the entrance of the application program, fxml file is generated;
Unit is established, for establishing the interface of the application program according to the fxml file;
Adding unit adds channel information set for the interface based on the application program;
Input unit, for inputting target channel information, the channel information set packet at the interface of the application program Include the target channel information;
Output unit, for exporting target channel packet according to the target channel information.
Optionally, the adding unit is also used to:
Signing messages set is added, the signing messages set includes V1 signature and V2 signature.
Optionally, the adding unit is specifically used for:
Generate Android installation kit APK file set, the first path set and digital certificate of the channel information set Second set of paths of set;
Based on the first path set and second set of paths, channel is added in the APK file set Information aggregate, so that each channel information in the channel information set has corresponding APK file, first path and second Path, the APK file set include the APK file, and the first path set includes the first path, and described second Set of paths includes second path.
The embodiment of the present application third party provides a kind of computer readable storage medium, including instruction, when described instruction exists When being run on computer, so that computer executes the described in any item methods of first aspect.
The embodiment of the present application fourth aspect provides a kind of computer program product comprising instruction, when its on computers When operation, so that computer executes the described in any item methods of first aspect.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
The entrance for firstly generating application program generates fxml file, further according to described based on the entrance of the application program Fxml file establishes the interface of the application program, the interface later based on the application program, adds channel information set, The interface of the application program inputs target channel information, and the channel information set includes the target channel information, in turn Target channel packet is exported according to the target channel information.By the above-mentioned means, providing a kind of generation side of target channel packet Method, target channel information required for inputting at the interface of application program, i.e., exportable target channel packet, tester can root It needs to operate application program according to oneself to obtain corresponding target channel packet, and is tested, it is each without developer All go out to wrap to tester, it is easy to operate, save manpower and material resources.
Detailed description of the invention
Fig. 1 is generation method one embodiment schematic diagram of target channel packet provided by the embodiments of the present application;
Fig. 2 is the interface schematic diagram of application program in the embodiment of the present application;
Fig. 3 is generating means one embodiment schematic diagram of target channel packet provided by the embodiments of the present application;
Fig. 4 is the hardware structural diagram of the generating means of target channel packet provided by the embodiments of the present application;
Fig. 5 is the embodiment schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 6 is a kind of embodiment schematic diagram of computer readable storage medium provided by the embodiments of the present application.
Specific embodiment
The embodiment of the present application provides the generation method and relevant apparatus of a kind of target channel packet, easy to operate, saves Manpower and material resources.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Similar object, without being used to describe a particular order or precedence order.It should be understood that the data used in this way are in appropriate feelings It can be interchanged under condition, so that the embodiments described herein can be real with the sequence other than the content for illustrating or describing herein It applies.In addition, term " includes " and " having " and their any side shape, it is intended that cover it is non-exclusive include, for example, packet The process, method, system, product or equipment for having contained series of steps or module those of be not necessarily limited to be clearly listed step or Module, but may include other steps being not clearly listed or intrinsic for these process, methods, product or equipment or Module, the division of module appeared in the present invention, only a kind of division in logic can have when realizing in practical application Other division mode, such as multiple modules can be combined into or are integrated in another system, or some features can be ignored, Or do not execute, in addition, shown or discussion mutual coupling, direct-coupling or communication connection can be by one A little interfaces, the indirect coupling or communication connection between module can be electrical or other similar form, do not make in the present invention It limits.Also, module or submodule can be the separation that may not be physically as illustrated by the separation member, can be It can not be physical module, or can be distributed in multiple circuit modules, portion therein can be selected according to the actual needs Point or whole module realize the purpose of the present invention program.
Referring to Fig. 1, one embodiment of the generation method of target channel packet includes: in the embodiment of the present application
101, the entrance of application program is generated.
Since each application program must create an entrance, for some information of storage system, mentioned for developer Template is supplied to mitigate the repeated work of developer, the entrance of the application program specifically can be Application class, Android The object of one Application class of creation and only creation one when system can run for each application program, so Application can be described as a class of singleton (singleton) mode, and the life cycle of application class is whole Longest in a program, its life cycle is equal to the life cycle of this program.Because it is global and singleton, institute It is all the same object with the object obtained in different Activity, Service.One is carried out by Application A bit, data are transmitted, data sharing, the operation such as data buffer storage.
It should be noted that this programme is realized based on JavaFX, JavaFX is established in its widely applied Java programming language On the basis of speech, it is intended to establish the network program that can largely run on computer and mobile phone, current JavaFX includes JavaFX Script and JavaFX Mobile (a kind of to run in the operating system of running gear), JavaFX technology has good prospect, packet Include the ability that can call directly Java API.Because JavaFX Script is static types, it equally has structuring generation Code, reusability and encapsulation, such as packet, class, succession and independent compiling and release unit, these characteristics make using JavaFX technology Creation and management large program become possible.
102, based on the entrance of application program, fxml file is generated.
After the entrance for generating application program, fxml file can be generated, as filling out based on the entrance of the application program Fill visual control.Wherein, fxml is the new technology that JavaFX 2.0 is provided, and fxml is that one kind is fixed in JavaFX application program Adopted user interface, the declarative markup language based on XML.Fxml is very suitable to for static topology, such as list, control and table Lattice.
The advantage of fxml first is that be based on XML, be known to most of developers, especially web developer and Use the developer of other RIA platforms.Another advantage is that fxml is compiler language, does not need to recompilate code It can be seen that the change done.The third advantage of fxml is the scene structure figure it is easy to see that application program, this is easier Complete the user interface cooperated between development teams member.
103, the interface of application program is established according to fxml file.
After creating fxml file, the interface of building application program will be started.After import statement, it is inserted into frame type window Lattice layout, specifically, the interface can be as shown in Fig. 2, the interface provide multiple option windows, including apk installation for user Path, channel file path, file identification prefix, the path keystore, keystore alias and keystore password etc. are wrapped, User can select or be manually entered the information of needs in corresponding option window.
It should be noted that all types of option window shown in Fig. 2 is only a kind of example, in practical applications, There can also be the combination of other kinds of option window and option window, specifically herein without limitation.
104, based on the interface of application program, channel information set is added.
In the present embodiment, the interface based on application program will create Controller, and bind with fxml file, later The second set of paths for adding APK file set, the first path set of channel information set and digital certificate set, is writing Before entering a certain specific channel information, need by Controller successively accordingly set in select APK file, channel letter Path and digital certificate path (for example, the path keystore) are ceased, and channel information is written in APK file, it specifically, will The channel information is written in META-INF/ catalogue.It is understood that the channel information of each write-in have it is corresponding APK file, channel information path and digital certificate path.
Bright, digital certificate is the digital signature of an entity, and also the public key value comprising this entity needs, Wherein, entity can be the application program;Public key is the number association of a detailed entity, and allow intentionally it is all think it is same Other entities that trusting relationship occurs for this entity know that public key is used to examine signature;Digital signature is that entity information is used Data after the privately owned key signature (encryption) of entity, this data can examine signature with the public key of this entity (decryption) goes out entity information to identify the identity of entity;Signature is to use the certain message of the privately owned key encryption of entity, to be added Ciphertext data;Privately owned key is some numbers, and private and public key has the key pair for the system that the useful public key of institute encrypts In, public key is used to encryption data, and privately owned key is used to calculate the signature, and the message of public key encryption can only be decrypted with private key, private The message of key signature can only be examined with public key and be signed.
In addition, include two kinds of data in keystore, one is key entity, including key or private key and pairing public affairs Key, the other is certification entities trusty, only include public key.
Optionally, the choosing of signature version (Signature Versions) can be related to accordingly when carrying out signature and being packaged It selects, specifically, signature version may include V1 signature and V2 signature, wherein V1 signature is that file is decompressed in archive file Content is signed to jar;V2 signature is calculated and is verified on the binary content of entire APK file, is to entire Apk signature.
Only unpressed file content is verified in v1 signature, so can be carried out very after APK signature More modifications, for example, file can move, it might even be possible to re-compress, it can handle the file after signature.
All bytes in v2 signature verification filing, rather than individually ZIP entry, appoint if had in building process What customized task, including distort or handle APK file, it is to be ensured that them are disabled, otherwise may make v2 signature failure, to make APKs and Android 7.0 and the above incompatible version.
It should be noted that it is high due to changing the risk that any file causes APK to fail under V2 signature scheme, so In the present solution, text is written again then needing that first apk signature is reduced to after V1 signature if current signature version is V2 signature Part is guaranteed the feasibility that file is written with this, while also achieving the compatibility of V1, V2 signature, and specific implementation can pass through v1- Two parameters of signing-enabled and v2-signing-enabled realize the modification of signature scheme.It is written in channel information After APK, V2 signature is being re-started, v1-signing-enabled and v2-signing-enabled can also be specifically passed through Two parameters realize the modification of signature scheme.
It should be noted that APK signature can use two tools of jarsigner or signapk, Android Studio Default is signapk, and for the two main difference is that the format difference that certificate and code key store, the former is to pass through Java KeyStore (.jks file or .keystore file) format, the latter respectively with .pem and .pk8 format come Store Credentials and Key.
Optionally, after signing in the write-in for completing channel information and again, signature can also be verified, specifically Ground can order the signing messages obtained in apk by verify-v, and verify to it.
105, at the interface of application program, target channel information is inputted.
In the present embodiment, after the write-in for completing channel information set and signing messages set, user can be at this The interface of application program inputs target channel information, it is to be understood that and the target channel information belongs to channel information set, User can according to need, and target channel information is selected or input in the Option Box on Application Program Interface, specifically, the mesh Mark channel information can correspond to option information as shown in Figure 2, specifically herein without limitation.
106, target channel packet is exported according to target channel information.
In the present embodiment, after the interface of the application program inputs target channel information, it can export and believe with target channel Cease corresponding target channel packet for users to use.
In the embodiment of the present application, the entrance of application program is firstly generated, based on the entrance of the application program, generates fxml File establishes the interface of the application program, the interface later based on the application program, addition further according to the fxml file Channel information set inputs target channel information, the channel information set includes the mesh at the interface of the application program Channel information is marked, and then target channel packet is exported according to the target channel information.By the above-mentioned means, providing a kind of target The generation method of channel packet, target channel information required for being inputted at the interface of application program, i.e., exportable target channel packet, Tester can operate application program according to their own needs to obtain corresponding target channel packet, and be tested, nothing Developer is needed to go out to wrap to tester every time, it is easy to operate, save manpower and material resources.
The generation method of target channel packet in the embodiment of the present application is described above, below to the embodiment of the present application The generating means of middle target channel packet are described:
Referring to Fig. 3, one embodiment of the generating means of target channel packet includes: in the embodiment of the present application
Generation unit 301, for generating the entrance of application program;
The generation unit 301 generates fxml file for the entrance based on the application program;
Unit 302 is established, for establishing the interface of the application program according to the fxml file;
Adding unit 303 adds channel information set for the interface based on the application program;
Input unit 304, for inputting target channel information, the channel information collection at the interface of the application program Closing includes the target channel information;
Output unit 305, for exporting target channel packet according to the target channel information.
Optionally, adding unit 303 is also used to:
Signing messages set is added, the signing messages set includes V1 signature and V2 signature.
Optionally, adding unit 303 is specifically used for:
Generate Android installation kit APK file set, the first path set and digital certificate of the channel information set Second set of paths of set;
Based on the first path set and second set of paths, channel is added in the APK file set Information aggregate, so that each channel information in the channel information set has corresponding APK file, first path and second Path, the APK file set include the APK file, and the first path set includes the first path, and described second Set of paths includes second path.
In the embodiment of the present application, each unit of the generating means of target channel packet can specifically execute embodiment illustrated in fig. 1 In performed all or part of movement, it is specific that details are not described herein again.
In the embodiment of the present application, generation unit 301 firstly generates the entrance of application program, based on entering for the application program Mouthful, fxml file is generated, the interface that unit 302 establishes the application program further according to the fxml file is established, adds later Channel information set, at the interface of the application program, input unit are added in interface of the unit 303 based on the application program 304 input target channel informations, the channel information set includes the target channel information, and then 305 basis of output unit The target channel information exports target channel packet.By the above-mentioned means, a kind of generation method of target channel packet is provided, Target channel information required for the interface of application program inputs, i.e., exportable target channel packet, tester can be according to certainly Oneself needs to operate application program to obtain corresponding target channel packet, and is tested, and gives every time without developer Tester goes out to wrap, easy to operate, saves manpower and material resources.
It is carried out above from generating means of the angle of modular functionality entity to the target channel packet in the embodiment of the present application Description, the generating means of applying the target channel packet in example to the application from the angle of hardware handles below are described:
Referring to Fig. 4, the embodiment of the present application provides a kind of 400 one embodiment of generating means of target channel packet, packet It includes:
(wherein the quantity of processor 403 can be with for input unit 401, output device 402, processor 403 and memory 404 One or more, in Fig. 4 by taking a processor 403 as an example).In some embodiments of the invention, input unit 401, output Device 402, processor 403 and memory 404 can be connected by bus or other means, wherein to be connected by bus in Fig. 4 For, wherein the operational order stored by calling memory 404, processor 403, for executing following steps:
Generate the entrance of application program;
Based on the entrance of the application program, fxml file is generated;
The interface of the application program is established according to the fxml file;
Based on the interface of the application program, channel information set is added;
At the interface of the application program, target channel information is inputted, the channel information set includes the target canal Road information;
Target channel packet is exported according to the target channel information.
Optionally, after establishing the interface of the application program according to the fxml file, based on the application program Interface, before adding channel information set, the method also includes:
Signing messages set is added, the signing messages set includes V1 signature and V2 signature.
Optionally, if before addition channel information set, the corresponding application program is the V2 signature, then will be described V2 signature is revised as the V1 signature.
Optionally, after adding channel information set, the V2 signature is reconfigured, and verifies the V2 signature.
Optionally, addition channel information set includes:
Generate Android installation kit APK file set, the first path set and digital certificate of the channel information set Second set of paths of set;
Based on the first path set and second set of paths, channel is added in the APK file set Information aggregate, so that each channel information in the channel information set has corresponding APK file, first path and second Path, the APK file set include the APK file, and the first path set includes the first path, and described second Set of paths includes second path.
In the present embodiment, it is dynamic that processor 403 can specifically execute all or part performed in embodiment illustrated in fig. 1 Make, specific details are not described herein again.
In the present embodiment, the specific functional modules division in processor 403 can be with foundation list described in earlier figures 3 The functional module division mode of the units such as member, generation unit, adding unit, input unit and output unit is similar, herein not It repeats again.
Referring to Fig. 5, the embodiment of the present application provides a kind of electronic equipment, including memory 510, processor 520 and deposit The computer program 511 that can be run on memory 510 and on processor 520 is stored up, processor 520 executes computer program It is performed the steps of when 511
Generate the entrance of application program;
Based on the entrance of the application program, fxml file is generated;
The interface of the application program is established according to the fxml file;
Based on the interface of the application program, channel information set is added;
At the interface of the application program, target channel information is inputted, the channel information set includes the target canal Road information;
Target channel packet is exported according to the target channel information.
Optionally, after establishing the interface of the application program according to the fxml file, based on the application program Interface, before adding channel information set, the method also includes:
Signing messages set is added, the signing messages set includes V1 signature and V2 signature.
Optionally, if before addition channel information set, the corresponding application program is the V2 signature, then will be described V2 signature is revised as the V1 signature.
Optionally, after adding channel information set, the V2 signature is reconfigured, and verifies the V2 signature.
Optionally, addition channel information set includes:
Generate Android installation kit APK file set, the first path set and digital certificate of the channel information set Second set of paths of set;
Based on the first path set and second set of paths, channel is added in the APK file set Information aggregate, so that each channel information in the channel information set has corresponding APK file, first path and second Path, the APK file set include the APK file, and the first path set includes the first path, and described second Set of paths includes second path.
In the present embodiment, it is dynamic that processor 520 can specifically execute all or part performed in embodiment illustrated in fig. 1 Make, specific details are not described herein again.
In the present embodiment, the specific functional modules division in processor 520 can be with foundation list described in earlier figures 3 The functional module division mode of the units such as member, generation unit, adding unit, input unit and output unit is similar, herein not It repeats again.
Referring to Fig. 6, Fig. 6 is a kind of embodiment signal of computer readable storage medium provided by the embodiments of the present application Figure.
As shown in fig. 6, present embodiments providing a kind of computer readable storage medium 600, it is stored thereon with computer journey Sequence 611, the computer program 611 realize following steps when being executed by processor:
Generate the entrance of application program;
Based on the entrance of the application program, fxml file is generated;
The interface of the application program is established according to the fxml file;
Based on the interface of the application program, channel information set is added;
At the interface of the application program, target channel information is inputted, the channel information set includes the target canal Road information;
Target channel packet is exported according to the target channel information.
Optionally, after establishing the interface of the application program according to the fxml file, based on the application program Interface, before adding channel information set, the method also includes:
Signing messages set is added, the signing messages set includes V1 signature and V2 signature.
Optionally, if before addition channel information set, the corresponding application program is the V2 signature, then will be described V2 signature is revised as the V1 signature.
Optionally, after adding channel information set, the V2 signature is reconfigured, and verifies the V2 signature.
Optionally, addition channel information set includes:
Generate Android installation kit APK file set, the first path set and digital certificate of the channel information set Second set of paths of set;
Based on the first path set and second set of paths, channel is added in the APK file set Information aggregate, so that each channel information in the channel information set has corresponding APK file, first path and second Path, the APK file set include the APK file, and the first path set includes the first path, and described second Set of paths includes second path.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, read-only Memory), random access memory (RAM, random access memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of generation method of target channel packet characterized by comprising
Generate the entrance of application program;
Based on the entrance of the application program, fxml file is generated;
The interface of the application program is established according to the fxml file;
Based on the interface of the application program, channel information set is added;
At the interface of the application program, target channel information is inputted, the channel information set includes the target channel letter Breath;
Target channel packet is exported according to the target channel information.
2. the method according to claim 1, wherein establishing the boundary of the application program according to the fxml file After face, based on the interface of the application program, before adding channel information set, the method also includes:
Signing messages set is added, the signing messages set includes V1 signature and V2 signature.
3. according to the method described in claim 2, it is characterized in that, if addition channel information set before, the application program Corresponding is the V2 signature, then V2 signature is revised as the V1 and signed.
4. according to the method described in claim 3, it is characterized in that, being reconfigured described after adding channel information set V2 signature, and verify the V2 signature.
5. method according to claim 1 to 4, which is characterized in that adding channel information set includes:
Generate Android installation kit APK file set, the first path set and digital certificate set of the channel information set The second set of paths;
Based on the first path set and second set of paths, channel information is added in the APK file set Set, so that each channel information in the channel information set has corresponding APK file, first path and the second tunnel Diameter, the APK file set include the APK file, and the first path set includes the first path, second tunnel Diameter set includes second path.
6. a kind of generating means of target channel packet characterized by comprising
Generation unit, for generating the entrance of application program;
Based on the entrance of the application program, fxml file is generated;
Unit is established, for establishing the interface of the application program according to the fxml file;
Adding unit adds channel information set for the interface based on the application program;
Input unit, for inputting target channel information, the channel information set includes institute at the interface of the application program State target channel information;
Output unit, for exporting target channel packet according to the target channel information.
7. device according to claim 6, which is characterized in that the adding unit is also used to:
Signing messages set is added, the signing messages set includes V1 signature and V2 signature.
8. device according to claim 6 or 7, which is characterized in that the adding unit is specifically used for:
Generate Android installation kit APK file set, the first path set and digital certificate set of the channel information set The second set of paths;
Based on the first path set and second set of paths, channel information is added in the APK file set Set, so that each channel information in the channel information set has corresponding APK file, first path and the second tunnel Diameter, the APK file set include the APK file, and the first path set includes the first path, second tunnel Diameter set includes second path.
9. a kind of computer readable storage medium, including instruction, when described instruction is run on computers, so that computer is held Method of the row as described in any one of claim 1 to 5.
10. a kind of computer program product comprising instruction, when run on a computer, so that computer executes such as right It is required that method described in any one of 1 to 5.
CN201810966522.5A 2018-08-23 2018-08-23 A kind of generation method and relevant apparatus of target channel packet Pending CN109298869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810966522.5A CN109298869A (en) 2018-08-23 2018-08-23 A kind of generation method and relevant apparatus of target channel packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810966522.5A CN109298869A (en) 2018-08-23 2018-08-23 A kind of generation method and relevant apparatus of target channel packet

Publications (1)

Publication Number Publication Date
CN109298869A true CN109298869A (en) 2019-02-01

Family

ID=65165530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810966522.5A Pending CN109298869A (en) 2018-08-23 2018-08-23 A kind of generation method and relevant apparatus of target channel packet

Country Status (1)

Country Link
CN (1) CN109298869A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401717A (en) * 2019-07-26 2019-11-01 上海优扬新媒信息技术有限公司 A kind of application program installation kit generation method and device
CN111596931A (en) * 2020-05-27 2020-08-28 北京学之途网络科技有限公司 Application program packaging method and device, electronic equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5682553A (en) * 1995-04-14 1997-10-28 Mitsubishi Electric Information Technology Center America, Inc. Host computer and network interface using a two-dimensional per-application list of application level free buffers
CN104899025A (en) * 2015-05-18 2015-09-09 北京奇虎科技有限公司 Method and device for generating channel package
CN105700867A (en) * 2014-12-11 2016-06-22 海德堡印刷机械股份公司 Method for generating executable applications with dynamic scalable vector graphics
CN106126205A (en) * 2016-06-14 2016-11-16 武汉斗鱼网络科技有限公司 The rapid batch of a kind of Android program installation kit generates method and system
CN106648643A (en) * 2016-12-12 2017-05-10 北京三快在线科技有限公司 Method and device for generating channel package, terminal and server
CN108363578A (en) * 2018-01-29 2018-08-03 深圳前海有电物联科技有限公司 Application program packaging method, electronic device and computer storage media

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5682553A (en) * 1995-04-14 1997-10-28 Mitsubishi Electric Information Technology Center America, Inc. Host computer and network interface using a two-dimensional per-application list of application level free buffers
CN105700867A (en) * 2014-12-11 2016-06-22 海德堡印刷机械股份公司 Method for generating executable applications with dynamic scalable vector graphics
CN104899025A (en) * 2015-05-18 2015-09-09 北京奇虎科技有限公司 Method and device for generating channel package
CN106126205A (en) * 2016-06-14 2016-11-16 武汉斗鱼网络科技有限公司 The rapid batch of a kind of Android program installation kit generates method and system
CN106648643A (en) * 2016-12-12 2017-05-10 北京三快在线科技有限公司 Method and device for generating channel package, terminal and server
CN108363578A (en) * 2018-01-29 2018-08-03 深圳前海有电物联科技有限公司 Application program packaging method, electronic device and computer storage media

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401717A (en) * 2019-07-26 2019-11-01 上海优扬新媒信息技术有限公司 A kind of application program installation kit generation method and device
CN111596931A (en) * 2020-05-27 2020-08-28 北京学之途网络科技有限公司 Application program packaging method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN108197891B (en) Electronic signing device and method based on block chain
Samaila et al. IoT-HarPSecA: a framework and roadmap for secure design and development of devices and applications in the IoT space
US8417640B2 (en) Secure license key method and system
US20160026462A1 (en) Application wrapping for application management framework
CN104363264A (en) Multi-channel SDK (software development kit) access system and multi-channel SDK access system for mobile terminal software
CN109189379A (en) code generating method and device
CN104219198B (en) A kind of tamper resistant method of WebApp
CN105227545B (en) Realize that user and developer divide the system and method for control in intelligent operating platform
CA2565508C (en) Secure license key method and system
White et al. Procedurally provisioned access control for robotic systems
CN110120970A (en) Data processing method, device and gateway system based on car networking
Mosser et al. Sensapp as a reference platform to support cloud experiments: From the internet of things to the internet of services
US20150254740A1 (en) Non-Intrusive Cloud Services Billing
Zhao et al. Verification and validation framework for 5G network services and apps
CN109298869A (en) A kind of generation method and relevant apparatus of target channel packet
WO2015179012A1 (en) Methods, systems, and computer readable mediums for providing supply chain validation
CN108228197A (en) A kind of method and apparatus for installing software in the cluster
CN103177211A (en) Software user terminal registration method and software user terminal registration system
CN112100073A (en) Online development method and device of application program, electronic equipment and storage medium
CN111443976A (en) Application program generation method and device, electronic equipment and storage medium
CN110363572A (en) A kind of program channel promotion method, apparatus that closing ecological terminal, electronic equipment
CN105978849A (en) Client updating method and system, client and server
CN115190064A (en) Method, device, system and storage medium for implementing client dynamic routing
CN115052053A (en) Message processing method and simulator for bank system test
CN115118520A (en) Data processing method and device and server

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

RJ01 Rejection of invention patent application after publication