CN109656616A - A kind of packaging method, system and electronic equipment based on transaction process optimization - Google Patents

A kind of packaging method, system and electronic equipment based on transaction process optimization Download PDF

Info

Publication number
CN109656616A
CN109656616A CN201811419486.7A CN201811419486A CN109656616A CN 109656616 A CN109656616 A CN 109656616A CN 201811419486 A CN201811419486 A CN 201811419486A CN 109656616 A CN109656616 A CN 109656616A
Authority
CN
China
Prior art keywords
configuration file
packaged
data packet
packet
priority
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
CN201811419486.7A
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811419486.7A priority Critical patent/CN109656616A/en
Publication of CN109656616A publication Critical patent/CN109656616A/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/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing

Abstract

Present invention discloses a kind of packaging method, system and electronic equipments based on transaction process optimization.The described method includes: obtaining at least one corresponding packing configuration file of software project engineering;It is configured in software project engineering from the target packing configuration file determined in configuration file is packaged, to obtain to software packaging projects;It treats software packaging projects to be compiled and be packaged, to obtain the first data packet;Using the first data packet as foundation, the current packing configuration file being packaged in configuration file in addition to target is packaged configuration file is configured in order, to obtain the second data packet corresponding with configuration file is currently packaged.Under the method, based on the transaction process optimisation technique in the R&D process optimization for researching and developing the exploitation managed, can be improved the efficiency that multiple data packets are beaten the same software project engineering.

Description

A kind of packaging method, system and electronic equipment based on transaction process optimization
Technical field
The present invention relates to transaction process optimisation technique field, in particular to it is a kind of based on transaction process optimization Packaging method, system and electronic equipment.
Background technique
During software project development, it usually needs debugged, tested and the operation such as online to software, therefore Software developer is frequently necessary to for the engineering of software project being packaged, and will be on the data packet that accomplished fluently (Data Packet) It reaches in corresponding exploitation environment, so that software developer completes to debug software, test and the operation such as online.
In the realization of the prior art, the mode that the engineering of software project is packaged is usual are as follows: obtains the work of software project The configuration file that journey needs in this packing process, by being configured in the engineering with the software project for the configuration file, and The engineering of the software project is compiled and is packaged, data packet corresponding with the engineering of the software project is ultimately generated.
Drawback of the prior art is that the operation executed for the engineering of software project is different, in the work to software project The configuration file that journey needs during being packaged is also different, and software developer usually requires the engineering of the same software project Multiple and different data packets is broken into according to different configuration files.Since above-mentioned packing manner can only make a call to a data packet every time, Therefore, every dozen of data packets of soft project personnel require completely to execute primary above-mentioned packing manner.As it can be seen that using above-mentioned It is cumbersome that packing manner beats the engineering of the same software project the step of data packet of multiple and different configurations, so as to cause packing Efficiency is lower.
Summary of the invention
The lower technical problem of efficiency in order to solve packing present in the relevant technologies, the present invention provides one kind to be based on Packaging method, system and the electronic equipment of transaction process optimization.
A kind of packaging method based on transaction process optimization, which comprises
Obtain at least one corresponding packing configuration file of software project engineering;
The target determined from the packing configuration file is configured in the software project engineering is packaged configuration file, with It obtains to software packaging projects;
It is compiled and is packaged to software packaging projects to described, to obtain the first data packet;
Using first data packet as foundation, configure in order in the packing configuration file except the target is packaged configuration text Current packing configuration file except part, to obtain the second data packet corresponding with the current packing configuration file, In, corresponding second data packet of current packing configuration file.
A kind of packaging system based on transaction process optimization, the system comprises:
Acquiring unit, for obtaining at least one corresponding packing configuration file of software project engineering;
Determination unit is beaten for configuring the target determined from the packing configuration file in the software project engineering Packet configuration file, to obtain to software packaging projects;
Packaged unit, for being compiled and being packaged to software packaging projects to described, to obtain the first data packet;
Configuration unit, for using first data packet as foundation, configuring in order in the packing configuration file except described Target is packaged the current packing configuration file except configuration file, corresponding with the current packing configuration file to obtain Second data packet, wherein corresponding second data packet of current packing configuration file.
A kind of electronic equipment, the electronic equipment include:
Processor;
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is by the processing When device executes, foregoing method is realized.
A kind of computer readable storage medium, which is characterized in that it stores computer program, and the computer program makes Computer perform claim requires 1~7 described in any item methods.
The technical solution that the embodiment of the present invention provides can include the following benefits:
Packaging method provided by the present invention based on transaction process optimization includes the following steps, obtains software project At least one corresponding packing configuration file of engineering;The target determined from packing configuration file is configured in software project engineering It is packaged configuration file, to obtain to software packaging projects;It treats software packaging projects to be compiled and be packaged, to obtain Obtain the first data packet;Using the first data packet as foundation, configures in order and be packaged in configuration file in addition to target is packaged configuration file Current packing configuration file, to obtain and currently be packaged corresponding second data packet of configuration file.
Under the method, based on research and development management exploitation R&D process optimization in transaction process optimisation technique, Need to only the operation that configuration file is compiled and is packaged be packaged to target in software project engineering, so that it may generate target packing and match Corresponding first data packet of file is set, and remaining current packing configuration file need to only be matched on the basis of the first data packet It sets, so that it may several the second data packets are obtained, it is not necessary that the operation of compiling and packing is performed a plurality of times.To sum up, it can be improved to same One software project engineering beats the efficiency of multiple data packets.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited Invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and in specification together principle for explaining the present invention.
Fig. 1 is a kind of signal of packaging system based on transaction process optimization shown according to an exemplary embodiment Figure;
Fig. 2 is a kind of process of packaging method based on transaction process optimization shown according to an exemplary embodiment Figure;
Fig. 3 is a kind of stream of the packaging method based on transaction process optimization shown according to another exemplary embodiment Cheng Tu;
Fig. 4 is a kind of frame of packaging system based on transaction process optimization shown according to an exemplary embodiment Figure;
Fig. 5 is a kind of frame of the packaging system based on transaction process optimization shown according to another exemplary embodiment Figure.
Specific embodiment
Here will the description is performed on the exemplary embodiment in detail, the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Implementation environment of the invention can be portable mobile equipment, such as tablet computer, desktop computer, laptop.
Fig. 1 is a kind of signal of packaging system based on transaction process optimization shown according to an exemplary embodiment Figure.System 100 can be above-mentioned portable mobile equipment.As shown in Figure 1, system 100 may include following one or more components: Processing component 102, memory 104, power supply module 106, multimedia component 108, audio component 110, sensor module 114 and Communication component 116.
The integrated operation of the usual control system 100 of processing component 102, such as with display, telephone call, data communication, phase Machine operation and the associated operation of record operation etc..Processing component 102 may include one or more processors 118 to execute Instruction, to complete all or part of the steps of following methods.In addition, processing component 102 may include one or more modules, For convenient for the interaction between processing component 102 and other assemblies.For example, processing component 102 may include multi-media module, use In to facilitate the interaction between multimedia component 108 and processing component 102.
Memory 104 is configured as storing various types of data to support the operation in system 100.These data are shown Example includes the instruction of any application or method for operating on the system 100.Memory 104 can be by any kind of Volatibility or non-volatile memory device or their combination are realized, such as static random access memory (Static Random Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, abbreviation EPROM), programmable read only memory (Programmable Red- Only Memory, abbreviation PROM), read-only memory (Read-Only Memory, abbreviation ROM), magnetic memory, flash Device, disk or CD.It is also stored with one or more modules in memory 104, is configured to for the one or more module It is executed by the one or more processors 118, to complete all or part of step in method as follows.
Power supply module 106 provides electric power for the various assemblies of system 100.Power supply module 106 may include power management system System, one or more power supplys and other with for system 100 generate, manage, and distribute the associated component of electric power.
Multimedia component 108 includes the screen of one output interface of offer between the system 100 and user.One In a little embodiments, screen may include liquid crystal display (Liquid Crystal Display, abbreviation LCD) and touch panel. If screen includes touch panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel Including one or more touch sensors to sense the gesture on touch, slide, and touch panel.The touch sensor can be with The boundary of a touch or slide action is not only sensed, but also detects duration associated with the touch or slide operation and pressure Power.Screen can also include display of organic electroluminescence (Organic Light Emitting Display, abbreviation OLED).
Audio component 110 is configured as output and/or input audio signal.For example, audio component 110 includes a Mike Wind (Microphone, abbreviation MIC), when system 100 is in operation mode, such as call model, logging mode and speech recognition mould When formula, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 104 or via communication component 116 send.In some embodiments, audio component 110 further includes a loudspeaker, for exporting Audio signal.
Sensor module 114 includes one or more sensors, and the state for providing various aspects for system 100 is commented Estimate.For example, sensor module 114 can detecte the state that opens/closes of system 100, the relative positioning of component, sensor group Part 114 can be with the position change of 100 1 components of detection system 100 or system and the temperature change of system 100.Some In embodiment, which can also include Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 116 is configured to facilitate the communication of wired or wireless way between system 100 and other equipment.System 100 can access the wireless network based on communication standard, such as WiFi (Wireless-Fidelity, Wireless Fidelity).Show at one In example property embodiment, communication component 116 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 116 further includes near-field communication (Near Field Communication, abbreviation NFC) module, for promote short range communication.For example, radio frequency identification can be based in NFC module (Radio Frequency Identification, abbreviation RFID) technology, Infrared Data Association (Infrared Data Association, abbreviation IrDA) technology, ultra wide band (Ultra Wideband, abbreviation UWB) technology, Bluetooth technology and other skills Art is realized.
In the exemplary embodiment, system 100 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), it is digital signal processor, digital signal processing appts, programmable Logical device, field programmable gate array, controller, microcontroller, microprocessor or other electronic components are realized, for executing Following methods.
Fig. 2 is a kind of process of packaging method based on transaction process optimization shown according to an exemplary embodiment Figure.As shown in Fig. 2, the method includes the following steps.
Step 201, at least one corresponding packing configuration file of software project engineering is obtained.
In the embodiment of the present invention, due to can be applied to exploitation ring according to the data packet for being packaged configuration file packing generation In border, interior survey environment, restocking environment and enterprise's packet environment, because being packaged the application that may include in configuration file with data packet Environment it is corresponding go out Packet type, wherein go out Packet type may include exploitation Packet type, test Packet type, restocking Packet type and Enterprise's Packet type, the corresponding data packet of exploitation Packet type can be applied in exploitation environment;Test the corresponding data packet of Packet type It can apply in test environment;The corresponding data packet of restocking Packet type can be applied in restocking environment;Enterprise's Packet type pair The data packet answered can be applied in enterprise's packet environment.In addition, also need to know is that restocking packet cannot be signed again.
Step 202, the target determined from packing configuration file is configured in software project engineering is packaged configuration file, with It obtains to software packaging projects.
Step 203, it treats software packaging projects to be compiled and be packaged, to obtain the first data packet.
Step 204, using the first data packet as foundation, configure in order be packaged configuration file in except target be packaged configuration file it Outer current packing configuration file, to obtain the second data packet corresponding with configuration file is currently packaged, wherein one is worked as Corresponding second data packet of preceding packing configuration file.
It, can be by the caching generated in packing process text when detecting that data packet packing finishes in the embodiment of the present invention Part is purged, so as to can clean out more memory spaces in system.
In the embodiment of the present invention, altool tool can be used, the legitimacy of each data packet is verified, for example, can Whether signed again with the data packet using altool tool detection restocking Packet type, if so, it is considered that the data It wraps illegal;Further, it is also possible to using altool tool detection signed again data packet go out Packet type whether with again The certificate file of signature matches, if mismatched, it is believed that the data packet is illegal.And the data got using this method It is consistent that the volume of packet is packaged the volume of data packet of acquisition with software developer manually on IDE, and is got using this method Data packet can be compatible with each version of Xcode6 to Xcode9.And the data packet for compiling and generating obtained in above scheme Type can be IPA.
In the method depicted in fig. 2, can be improved the efficiency that multiple data packets are beaten the same software project engineering.This Outside, implement method described in Fig. 2, more memory spaces can be cleaned out.
Fig. 3 is a kind of stream of the packaging method based on transaction process optimization shown according to another exemplary embodiment Cheng Tu.As shown in figure 3, the method includes the following steps.
Step 301, at least one corresponding packing configuration file of software project engineering is obtained.
Step 302, the priority for being packaged configuration file is determined.
As an alternative embodiment, the mode for determining the priority for being packaged configuration file may include following step It is rapid:
When detecting in Packet type comprising restocking Packet type, restocking Packet type corresponding first is packaged configuration file Priority is set as highest priority, wherein going out Packet type is the type for being packaged the corresponding data packet of configuration file;
Obtained out Packet type not and be the second of the restocking Packet type application time for being packaged configuration file, wherein one second It is packaged a configuration file corresponding application time;
The priority of the second packing configuration file is determined according to the sequencing of application time, wherein the application time is more early Second be packaged configuration file priority it is higher.
Wherein, implement this embodiment, be packaged the data packet generated according to application environment according to configuration file is packaged There may be different to go out Packet type (such as exploitation Packet type, test Packet type, restocking Packet type and enterprise's Packet type for difference Deng), and highest priority can be set by the priority for the packing configuration file that Packet type out is restocking Packet type, and will remain Priority is arranged according to the sequencing of application time in the priority of remaining packing configuration file, so that the set-up mode of priority It is more clear.
As an alternative embodiment, the mode for determining the priority for being packaged configuration file may include following step It is rapid:
When detecting in Packet type comprising restocking Packet type, the corresponding third of restocking Packet type is packaged configuration file Priority is set as highest priority, wherein going out Packet type is the type for being packaged the corresponding data packet of configuration file;
Obtain out Packet type not and be the urgency that the 4th packing configuration file of restocking Packet type includes, wherein one the Four are packaged the corresponding urgency of configuration file;
The priority of the 4th packing configuration file is determined according to the size of urgency, wherein higher the 4th dozen of urgency The priority of packet configuration file is higher.
Wherein, implement this embodiment, the corresponding priority for being packaged configuration file of restocking Packet type can be arranged For highest priority, and priority is arranged according to the size of urgency in the remaining priority for being packaged configuration file, this is urgent Degree can be inputted by software developer, so that software developer more flexible can control according to packing configuration file The sequence of packing.
Optionally, when the urgency that the 4th different packing configuration files includes is identical, available 4th packing is matched The version number information for including in file is set, and is ranked up according to priority of the version number information to the 4th packing configuration file, The priority of the 4th smaller packing configuration file of version number is higher.
Step 303, it is ranked up according to the sequence of priority from high to low to configuration file is packaged.
Step 304, determine that the packing configuration file that priority is highest priority is that target is packaged configuration file.
Step 305, target is configured in software project engineering and be packaged configuration file, to obtain to software packaging project work Journey.
In the embodiment of the present invention, implement above-mentioned step 302~step 305, it can be according to the preferential of packing configuration file The target of highest priority is packaged configuration file and configured into software project engineering by grade, so that subsequent packing configuration file is only It need to be configured on the basis of target configuration file, simplify the configuration process for being packaged configuration file.
Step 306, it treats software packaging projects to be compiled and be packaged, to obtain the first data packet.
Step 307, the first data packet is replicated, to obtain duplicate packet.
Step 308, the current packing configuration file being packaged in configuration file in addition to target is packaged configuration file is determined.
Step 309, be currently packaged configuration file priority from high to low sequence, successively match in duplicate packet Current packing configuration file of signing of laying equal stress on is set, to obtain the second data packet corresponding with configuration file is currently packaged, wherein One current configuration file that is packaged corresponds to second data packet.
In the embodiment of the present invention, implement above-mentioned step 307~step 309, the first data packet can be replicated, and It ensure that the first data packet will not by carrying out configuration packing configuration file in duplicate packet to obtain the second data packet It is packaged configuration file because being configured to this and the situation of content mistake occurs, while also being provided to remaining packing configuration file It is packaged the basic data packet of configuration.
It in the embodiment of the present invention, is packaged in configuration file and may include signature, signature may include corresponding with Packet type out Certificate file.The certificate file can control the type of data packet for being packaged and generating.If current packing configuration file is excellent The packing configuration file of first grade sequence second, the card for including of signing in the packing configuration file of available priority ranking second Written matter, and private key corresponding with Current software projects is obtained, and using codesign weight signature technology, according to the card Written matter simultaneously signs again to duplicate packet with the private key, and the duplicate packet sign again after is combined sequence second It is packaged configuration file and generates second data packet corresponding with the packing configuration file of priority ranking second, wherein private key is only One, and the packing configuration file of the mode of the packing configuration file after priority ranking second signed again and sequence second The mode signed again it is identical, this will not be repeated here.
As an alternative embodiment, following steps can also be performed after step 309:
Identify corresponding first mounting platform of the first data packet and corresponding second mounting platform of the second data packet;
Detect the communication state of the first mounting platform and the communication state of the second mounting platform;
By communication state be can corresponding first data packet of the first mounting platform of communication state be sent to the first installation and put down Platform, and by communication state be can corresponding second data packet of the second mounting platform of communication state be sent to the second installation and put down Platform;
By communication state be can not communication state corresponding first data packet of the first mounting platform and communication state be Can not corresponding second data packet of the second mounting platform of communication state stored.
Wherein, implement this embodiment, can detecte the communication state of system mounting platform corresponding with data packet, If communication state is good, corresponding data packet can be sent to the mounting platform, it, can will be right if communication state is bad The data packet answered is stored in advance into system, when detecting good with the communication state of mounting platform, then sends the packet within To the mounting platform, to ensure that the safety of data packet.
For example, the corresponding mounting platform of restocking packet can be iTunes Connect, first to iTunes Connect carries out communication test, after communication test success, sends restocking packet to iTunes Connect, and will be packaged The change full recovery that software project engineering is made in journey, so that this packing process will not have an impact Version Control, And all cache files generated during packing generates restocking packet are removed, mitigation server hard disc significantly stores pressure.
As an alternative embodiment, following steps can also be performed after step 309:
Generate the first symbol table file of the first data packet and the second symbol table file of the second data packet, the first symbol List file is asked for positioning the position that the first data packet goes wrong, the second symbol table file for positioning the second data packet The position of topic.
Wherein, implement this embodiment, symbol table file corresponding with data packet can be generated, so that subsequent software is opened When hair personnel have found mistake present in data packet, which can quickly be positioned by the corresponding symbol table file of the data packet The position accidentally generated accelerates the speed that software developer solves mistake.
In the method depicted in fig. 3, can be improved the efficiency that multiple data packets are beaten the same software project engineering.This Outside, method described in implementing Fig. 3 can be such that the set-up mode of priority is more clear.In addition, side described in implementing Fig. 3 Method, the sequence that the more flexible control of software developer can be allow to be packaged according to configuration file is packaged.In addition, implementing figure Method described in 3 simplifies the configuration process for being packaged configuration file.In addition, method described in implementing Fig. 3, ensure that One data packet the situation of content mistake will not occur because of packing configuration file is configured to this, while also match to remaining packing It sets file and provides the basic data packet for being packaged configuration.In addition, method described in implementing Fig. 3, ensure that the safety of data packet Property.In addition, method described in implementing Fig. 3, can quickly position the mistake by the corresponding symbol table file of the data packet The position of generation accelerates the speed that software developer solves mistake.
It is system embodiment of the invention below.
Fig. 4 is a kind of frame of packaging system based on transaction process optimization shown according to an exemplary embodiment Figure.As shown in figure 4, the system includes:
Acquiring unit 401, for obtaining at least one corresponding packing configuration file of software project engineering.
Determination unit 402, for being configured from the packing configuration file that acquiring unit 401 obtains in software project engineering Determining target is packaged configuration file, to obtain to software packaging projects.
Packaged unit 403 is compiled and is packaged to software packaging projects for what is determined to determination unit 402, To obtain the first data packet.
Configuration unit 404, the first data packet for being obtained using packaged unit 403 configure in order packing configuration as foundation Current packing configuration file in file in addition to target is packaged configuration file, it is right respectively with currently packing configuration file to obtain The second data packet answered, wherein a current configuration file that is packaged corresponds to second data packet.
As an alternative embodiment, configuration unit 404 can be also used for:
Identify corresponding first mounting platform of the first data packet and corresponding second mounting platform of the second data packet;
Detect the communication state of the first mounting platform and the communication state of the second mounting platform;
By communication state be can corresponding first data packet of the first mounting platform of communication state be sent to the first installation and put down Platform, and by communication state be can corresponding second data packet of the second mounting platform of communication state be sent to the second installation and put down Platform;
By communication state be can not communication state corresponding first data packet of the first mounting platform and communication state be Can not corresponding second data packet of the second mounting platform of communication state stored.
Wherein, implement this embodiment, can detecte the communication state of system mounting platform corresponding with data packet, If communication state is good, corresponding data packet can be sent to the mounting platform, it, can will be right if communication state is bad The data packet answered is stored in advance into system, when detecting good with the communication state of mounting platform, then sends the packet within To the mounting platform, to ensure that the safety of data packet.
As an alternative embodiment, configuration unit 404 can be also used for:
Generate the first symbol table file of the first data packet and the second symbol table file of the second data packet, the first symbol List file is asked for positioning the position that the first data packet goes wrong, the second symbol table file for positioning the second data packet The position of topic.
Wherein, implement this embodiment, symbol table file corresponding with data packet can be generated, so that subsequent software is opened When hair personnel have found mistake present in data packet, which can quickly be positioned by the corresponding symbol table file of the data packet The position accidentally generated accelerates the speed that software developer solves mistake.
In packaging system shown in Fig. 4 based on transaction process optimization, it can be improved to the same software project Engineering beats the efficiency of multiple data packets.In addition, guaranteeing in the packaging system shown in Fig. 4 based on transaction process optimization The safety of data packet.In addition, in the packaging system shown in Fig. 4 based on transaction process optimization, it can be by this The corresponding symbol table file of data packet quickly positions the position of mistake generation, accelerates software developer and solves mistake Speed.
Fig. 5 is a kind of frame of the packaging system based on transaction process optimization shown according to another exemplary embodiment Figure.Wherein, the packaging system shown in fig. 5 based on transaction process optimization is as shown in Figure 4 based on transaction process What the packaging system of optimization optimized.Compared with the packaging system shown in Fig. 4 optimized based on transaction process, figure The determination unit 402 of packaging system based on transaction process optimization shown in 5 may include:
First determines subelement 4021, for determining the priority for being packaged configuration file.
As an alternative embodiment, first determines that subelement 4021 determines the side for being packaged the priority of configuration file Formula is specifically as follows:
When detecting in Packet type comprising restocking Packet type, restocking Packet type corresponding first is packaged configuration file Priority is set as highest priority, wherein going out Packet type is the type for being packaged the corresponding data packet of configuration file;
Obtained out Packet type not and be the second of the restocking Packet type application time for being packaged configuration file, wherein one second It is packaged a configuration file corresponding application time;
The priority of the second packing configuration file is determined according to the sequencing of application time, wherein the application time is more early Second be packaged configuration file priority it is higher.
Wherein, implement this embodiment, be packaged the data packet generated according to application environment according to configuration file is packaged There may be different to go out Packet type (such as exploitation Packet type, test Packet type, restocking Packet type and enterprise's Packet type for difference Deng), and highest priority can be set by the priority for the packing configuration file that Packet type out is restocking Packet type, and will remain Priority is arranged according to the sequencing of application time in the priority of remaining packing configuration file, so that the set-up mode of priority It is more clear.
As an alternative embodiment, first determines that subelement 4021 determines the side for being packaged the priority of configuration file Formula is specifically as follows:
When detecting in Packet type comprising restocking Packet type, the corresponding third of restocking Packet type is packaged configuration file Priority is set as highest priority, wherein going out Packet type is the type for being packaged the corresponding data packet of configuration file;
Obtain out Packet type not and be the urgency that the 4th packing configuration file of restocking Packet type includes, wherein one the Four are packaged the corresponding urgency of configuration file;
The priority of the 4th packing configuration file is determined according to the size of urgency, wherein higher the 4th dozen of urgency The priority of packet configuration file is higher.
Wherein, implement this embodiment, the corresponding priority for being packaged configuration file of restocking Packet type can be arranged For highest priority, and priority is arranged according to the size of urgency in the remaining priority for being packaged configuration file, this is urgent Degree can be inputted by software developer, so that software developer more flexible can control according to packing configuration file The sequence of packing.
Sorting subunit 4022, for determining that the sequence of the determining priority of subelement 4021 from high to low is right according to first Configuration file is packaged to be ranked up.
Second determines subelement 4023, for determining that the priority that the sequence of sorting subunit 4022 obtains is highest priority Packing configuration file be target be packaged configuration file.
Subelement 4024 is configured, is beaten for the target that configuration second determines that subelement 4023 determines in software project engineering Packet configuration file, to obtain to software packaging projects.
In the embodiment of the present invention, the target of highest priority can be packaged by configuration according to the priority for being packaged configuration file File configuration is into software project engineering, so that subsequent packing configuration file need to only carry out on the basis of target configuration file Configuration simplifies the configuration process for being packaged configuration file.
As an alternative embodiment, the configuration of the packaging system shown in fig. 5 based on transaction process optimization Unit 404 may include:
Subelement 4041 is replicated, for replicating the first data packet, to obtain duplicate packet;
Third determines subelement 4042, current in addition to target is packaged configuration file in packing configuration file for determining It is packaged configuration file;
It is packaged subelement 4043, for determining the priority of the determining current packing configuration file of subelement 4042 with third From high to low sequence, current packing configuration of signing of laying equal stress on successively is configured in the duplicate packet that duplication subelement 4041 replicates File, to obtain the second data packet corresponding with configuration file is currently packaged.
Wherein, implement this embodiment, the first data packet can be replicated, and by enterprising in duplicate packet Row configuration is packaged configuration file, to obtain the second data packet, ensure that the first data packet will not be packaged configuration because of configuring to this File and the situation for content mistake occur, while the basic data for being packaged configuration is also provided to remaining packing configuration file Packet.
In packaging system based on transaction process optimization shown in Fig. 5, it can be improved to the same software project Engineering beats the efficiency of multiple data packets.In addition, in the packaging system shown in Fig. 5 based on transaction process optimization, it can be with It is more clear the set-up mode of priority.In addition, in the packaging system shown in Fig. 5 based on transaction process optimization, The sequence that the more flexible control of software developer can be allow to be packaged according to configuration file is packaged.In addition, shown in Fig. 5 Based on transaction process optimization packaging system in, simplify be packaged configuration file configuration process.In addition, in Fig. 5 institute In the packaging system based on transaction process optimization shown, it ensure that the first data packet will not be packaged configuration because of configuring to this File and the situation for content mistake occur, while the basic data for being packaged configuration is also provided to remaining packing configuration file Packet.
The present invention also provides a kind of electronic equipment, which includes:
Processor;
Memory is stored with computer-readable instruction on the memory, when which is executed by processor, Realize the packaging method based on transaction process optimization as previously shown.
The electronic equipment can be system shown in Figure 1 100.
In one exemplary embodiment, the present invention also provides a kind of computer readable storage mediums, are stored thereon with calculating Machine program when the computer program is executed by processor, realizes the packing side as previously shown based on transaction process optimization Method.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and change can executed without departing from the scope.The scope of the present invention is limited only by the attached claims.

Claims (10)

1. a kind of packaging method based on transaction process optimization, which is characterized in that the described method includes:
Obtain at least one corresponding packing configuration file of software project engineering;
The target determined from the packing configuration file is configured in the software project engineering and is packaged configuration file, to obtain To software packaging projects;
It is compiled and is packaged to software packaging projects to described, to obtain the first data packet;
Using first data packet as foundation, configure in order in the packing configuration file except the target be packaged configuration file it Outer current packing configuration file, to obtain the second data packet corresponding with the current packing configuration file, wherein one A corresponding second data packet of the current packing configuration file.
2. the method according to claim 1, wherein described configure in the software project engineering is beaten from described The target determined in packet configuration file is packaged configuration file, to obtain to software packaging projects, comprising:
Determine the priority for being packaged configuration file;
The packing configuration file is ranked up according to the sequence of the priority from high to low;
Determine the priority be the packing configuration file of highest priority be target be packaged configuration file;
The target is configured in the software project engineering and is packaged configuration file, to obtain to software packaging projects.
3. according to the method described in claim 2, it is characterized in that, the determination priority for being packaged configuration file, packet It includes:
When detecting in Packet type comprising restocking Packet type, the restocking Packet type corresponding first is packaged configuration file Priority is set as highest priority, wherein the Packet type out is the type of the corresponding data packet of the packing configuration file;
Obtain the application time that the Packet type out is not the second packing configuration file of the restocking Packet type, wherein one Described second is packaged a configuration file corresponding application time;
The described second priority for being packaged configuration file is determined according to the sequencing of the application time, wherein the application Time it is more early it is described second be packaged configuration file priority it is higher.
4. according to the method described in claim 2, it is characterized in that, the determination priority for being packaged configuration file, packet It includes:
When detecting in Packet type comprising restocking Packet type, the corresponding third of the restocking Packet type is packaged configuration file Priority is set as highest priority, wherein the Packet type out is the type of the corresponding data packet of the packing configuration file;
Obtain the urgency that the 4th packing configuration file that the Packet type out is not the restocking Packet type includes, wherein one A described 4th is packaged the corresponding urgency of configuration file;
The described 4th priority for being packaged configuration file is determined according to the size of the urgency, wherein the urgency is higher It is described 4th be packaged configuration file priority it is higher.
5. method according to any one of claims 1 to 4, which is characterized in that it is described using first data packet as foundation, The current packing configuration file in the packing configuration file in addition to the target is packaged configuration file is configured in order, to obtain The second data packet corresponding with the current packing configuration file, comprising:
First data packet is replicated, to obtain duplicate packet;
Determine the current packing configuration file in the packing configuration file in addition to the target is packaged configuration file;
With the current priority for being packaged configuration file from high to low sequence, successively configured simultaneously in the duplicate packet It signs again the current packing configuration file, to obtain the second data packet corresponding with the current packing configuration file.
6. according to the method described in claim 5, it is characterized in that, it is described with it is described it is current be packaged configuration file priority from High to low sequence, successively configuration is laid equal stress on the current packing configuration file of signing in the duplicate packet, with obtain with After corresponding second data packet of the current packing configuration file, the method also includes:
Identify corresponding first mounting platform of first data packet and corresponding second mounting platform of second data packet;
Detect the communication state of first mounting platform and the communication state of second mounting platform;
By the communication state for can corresponding first data packet of first mounting platform of communication state be sent to institute State the first mounting platform, and by the communication state be can communication state second mounting platform corresponding described second Data packet is sent to second mounting platform;
By the communication state for can not communication state corresponding first data packet of first mounting platform and institute State communication state be can not corresponding second data packet of second mounting platform of communication state stored.
7. according to the method described in claim 6, it is characterized in that, it is described with it is described it is current be packaged configuration file priority from High to low sequence, successively configuration is laid equal stress on the current packing configuration file of signing in the duplicate packet, with obtain with After corresponding second data packet of the current packing configuration file, the method also includes:
The first symbol table file of first data packet and the second symbol table file of second data packet are generated, it is described First symbol table file is for positioning the position that first data packet goes wrong, and second symbol table file is for positioning The position that second data packet goes wrong.
8. a kind of packaging system based on transaction process optimization, which is characterized in that the system comprises:
Acquiring unit, for obtaining at least one corresponding packing configuration file of software project engineering;
Determination unit is matched for configuring the target packing determined from the packing configuration file in the software project engineering File is set, to obtain to software packaging projects;
Packaged unit, for being compiled and being packaged to software packaging projects to described, to obtain the first data packet;
Configuration unit, for using first data packet as foundation, configuring in order in the packing configuration file except the target The current packing configuration file being packaged except configuration file, to obtain and the current packing configuration file corresponding second Data packet, wherein corresponding second data packet of current packing configuration file.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is held by the processor When row, method as described in any one of claim 1 to 7 is realized.
10. a kind of computer readable storage medium, which is characterized in that it stores computer program, and the computer program makes Computer perform claim requires 1~7 described in any item methods.
CN201811419486.7A 2018-11-26 2018-11-26 A kind of packaging method, system and electronic equipment based on transaction process optimization Pending CN109656616A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811419486.7A CN109656616A (en) 2018-11-26 2018-11-26 A kind of packaging method, system and electronic equipment based on transaction process optimization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811419486.7A CN109656616A (en) 2018-11-26 2018-11-26 A kind of packaging method, system and electronic equipment based on transaction process optimization

Publications (1)

Publication Number Publication Date
CN109656616A true CN109656616A (en) 2019-04-19

Family

ID=66111732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811419486.7A Pending CN109656616A (en) 2018-11-26 2018-11-26 A kind of packaging method, system and electronic equipment based on transaction process optimization

Country Status (1)

Country Link
CN (1) CN109656616A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110648125A (en) * 2019-09-10 2020-01-03 杭州秘猿科技有限公司 Packaging transaction method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140331213A1 (en) * 2008-10-03 2014-11-06 Microsoft Corporation Packaging system to facilitate declarative model-driven development
CN106569869A (en) * 2016-11-14 2017-04-19 平安科技(深圳)有限公司 Plug-in packaging method and device
CN107908403A (en) * 2017-11-10 2018-04-13 北京搜狐新动力信息技术有限公司 A kind of collocation method and system of the modularization of mobile terminal business module
CN108037927A (en) * 2017-12-29 2018-05-15 有米科技股份有限公司 Kit packaging method, system, readable storage medium storing program for executing and computer equipment
CN108469957A (en) * 2018-03-08 2018-08-31 平安科技(深圳)有限公司 Using packing method for uploading, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140331213A1 (en) * 2008-10-03 2014-11-06 Microsoft Corporation Packaging system to facilitate declarative model-driven development
CN106569869A (en) * 2016-11-14 2017-04-19 平安科技(深圳)有限公司 Plug-in packaging method and device
CN107908403A (en) * 2017-11-10 2018-04-13 北京搜狐新动力信息技术有限公司 A kind of collocation method and system of the modularization of mobile terminal business module
CN108037927A (en) * 2017-12-29 2018-05-15 有米科技股份有限公司 Kit packaging method, system, readable storage medium storing program for executing and computer equipment
CN108469957A (en) * 2018-03-08 2018-08-31 平安科技(深圳)有限公司 Using packing method for uploading, device, computer equipment and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
FIONAWEI: "Jenkins 命令行自动打包上传 testflight/App Store 步骤", 《HTTPS://TESTERHOME.COM/TOPICS/10507 1/》 *
JAMALPING: "altool", 《HTTPS://WWW.JIANSHU.COM/P/DAFA659A5B5A》 *
毅个天亮: "使用altool上传IPA", 《HTTPS://WWW.JIANSHU.COM/P/38CAE160CB92 1/》 *
赵哥窟: "ios 多渠道打包+自动化", 《HTTPS://WWW.JIANSHU.COM/P/ACB0B139FD52》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110648125A (en) * 2019-09-10 2020-01-03 杭州秘猿科技有限公司 Packaging transaction method and device and electronic equipment

Similar Documents

Publication Publication Date Title
TWI679578B (en) Plug-in packaging method, device, terminal and storage media
US10184882B2 (en) System and method for providing user guidance for electronic device processing
CN105630685A (en) Method and device for testing program interface
CN104731637B (en) Radio device arranges the method and information processing system of radio device
CN106133826A (en) For the self-defining flexible modes of language model
CN110334007A (en) A kind of functional interface calls verification method and device, electronic equipment and storage medium
CN110058990A (en) Performance test methods and device, computer equipment, storage medium
CN106796633B (en) Equipment authentication method, device, electronic equipment and from equipment
CN106792637B (en) International mobile equipment identification number wiring method, device and mobile terminal
CN103384369A (en) Method, device and system for building data connection
CN106789202A (en) service management device and method
CN106406952B (en) Electric terminal and application program management apparatus and method
CN107480518A (en) A kind of white list updating method and device
CN103123605A (en) Android platform automation integration testing method and device
CN104346195B (en) Software installation method and system
CN109325364A (en) A kind of authority configuring method and electronic equipment
CN110119354A (en) Method for testing software, device and electronic equipment based on Test cases technology
CN108363578A (en) Application program packaging method, electronic device and computer storage media
CN103823703B (en) A kind of method and device of same firmware compatibility distinct device
CN107798255B (en) Signature method and device for flash system mirror image
CN109656616A (en) A kind of packaging method, system and electronic equipment based on transaction process optimization
CN108834126B (en) Card changing equipment and method
CN103338320A (en) Recharging data processing method and device for mobile user
CN107609422B (en) A kind of file management method and mobile terminal
CN110276443A (en) Model conversion consistency checking and analysis method, device and storage 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190419