CN112732317A - Method, device and medium for accelerating package-out speed based on Unity3D project - Google Patents

Method, device and medium for accelerating package-out speed based on Unity3D project Download PDF

Info

Publication number
CN112732317A
CN112732317A CN202110033987.7A CN202110033987A CN112732317A CN 112732317 A CN112732317 A CN 112732317A CN 202110033987 A CN202110033987 A CN 202110033987A CN 112732317 A CN112732317 A CN 112732317A
Authority
CN
China
Prior art keywords
package
packaging
updating
bundle
project
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110033987.7A
Other languages
Chinese (zh)
Other versions
CN112732317B (en
Inventor
潘亚楠
李爱华
张凌彬
夏运思
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Kingsoft Online Game Technology Co Ltd
Original Assignee
Zhuhai Kingsoft Online Game 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 Zhuhai Kingsoft Online Game Technology Co Ltd filed Critical Zhuhai Kingsoft Online Game Technology Co Ltd
Priority to CN202110033987.7A priority Critical patent/CN112732317B/en
Priority claimed from CN202110033987.7A external-priority patent/CN112732317B/en
Publication of CN112732317A publication Critical patent/CN112732317A/en
Application granted granted Critical
Publication of CN112732317B publication Critical patent/CN112732317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/552Details of game data or player data management for downloading to client devices, e.g. using OS version, hardware or software profile of the client device

Abstract

The invention relates to a method, a device and a medium for accelerating the package outputting speed based on a Unity3D project, which comprises the following steps: deleting an old bundle package in the BVT test file based on the Un it 3D project, repacking the bundle package in the BVT test file, and generating a whole package; and performing incremental updating on the whole package, and performing adaptive packaging according to the condition of resource updating and/or code updating in the incremental updating. The invention has the beneficial effects that: the bundle le and the installation package are simultaneously played, so that the package output speed of the project is greatly improved, and the project development speed is accelerated; improving the bug verification efficiency and the like.

Description

Method, device and medium for accelerating package-out speed based on Unity3D project
Technical Field
The invention relates to the field of computer games, in particular to a Unity 3D-based file identifier management method, a Unity 3D-based file identifier management device and a Unity 3D-based file identifier management medium.
Background
In the Unity3D game, the packaging speed is very slow, the effect of modifying the bug is to be verified, the efficiency is very low, and if the amount of game engineering is large, the packaging needs a long time, which usually takes hours to calculate.
Disclosure of Invention
The invention aims to at least solve one of the technical problems in the prior art, and provides a method, a device and a medium for accelerating the package outputting speed of a Unity-based 3D project, so that the package outputting speed of the project is increased, the project development speed is accelerated, and the bug verification efficiency is improved.
The technical scheme of the invention comprises a method for accelerating the unpacking speed of a Unity-based 3D project, which is characterized by comprising the following steps: s100, deleting an old Bundle package in the BVT test file based on the Unity3D project, repacking the Bundle package in the BVT test file, and generating a whole package, wherein the whole package is an apk/ipa installation package; and S200, performing incremental updating on the whole package, and performing adaptive packaging according to the condition of resource updating and/or code updating in the incremental updating.
According to the method for accelerating the package-out speed of the Unity-based 3D project, the packaging comprises the following steps: synchronous packaging is carried out by sharing the directory and using multiple devices, or multiple projects are created by a single device for packaging.
According to the method for accelerating the package-out speed of the Unity-based 3D project, the synchronous packaging by sharing the directory and using the multiple devices comprises the following steps: and copying the files of all Bundle packages to other equipment in a directory sharing mode for the Bundle packages which are integrally repackaged, and performing the packaging processing again.
According to the method for accelerating the package-out speed of the Unity-based 3D project, the step of creating multiple projects through single equipment for packaging comprises the following steps: and creating a corresponding project copy based on the Unity3D project catalog in the same equipment, and synchronously packaging by starting a plurality of Unity3D processes.
According to the method for accelerating the package-out speed based on the Unity3D project, the S200 includes: only updating resources, performing incremental updating on the old Bundle package, and not updating when the resource content is unchanged; only updating codes, executing apk packaging processing on equipment which only needs apk packaging, including packaging processing according to resources needing to be packaged, and issuing an incremental apk package; and performing resource updating and code updating, performing incremental Bundle packaging on the corresponding equipment of the old Bundle package, and executing apk packaging processing on the equipment needing apk packaging.
According to the method for accelerating the package-out speed based on the Unity3D project, the S200 further includes: the plurality of devices perform synchronous packaging processing.
The technical scheme of the invention also comprises a device for accelerating the packet-out speed based on the Unity3D project, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, and is characterized in that any one of the method steps is realized when the processor executes the computer program.
The invention also relates to a computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out any of the method steps.
The invention has the beneficial effects that: the Bundle punching and the installation package punching are performed concurrently, so that the package outlet speed of the project is greatly improved, and the project development speed is accelerated; improving the bug verification efficiency and the like.
Drawings
The invention is further described below with reference to the accompanying drawings and examples;
FIG. 1 illustrates an overall flow diagram according to an embodiment of the invention;
FIGS. 2a, 2b, and 2c are schematic diagrams illustrating different packing resources according to embodiments of the present invention;
fig. 3 shows a diagram of an apparatus according to an embodiment of the invention.
Detailed Description
Reference will now be made in detail to the present preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.
In the description of the present invention, the meaning of a plurality of means is one or more, the meaning of a plurality of means is two or more, and larger, smaller, larger, etc. are understood as excluding the number, and larger, smaller, inner, etc. are understood as including the number.
In the description of the present invention, the consecutive reference numbers of the method steps are for convenience of examination and understanding, and the implementation order between the steps is adjusted without affecting the technical effect achieved by the technical solution of the present invention by combining the whole technical solution of the present invention and the logical relationship between the steps.
In the description of the present invention, unless otherwise explicitly defined, terms such as set, etc. should be broadly construed, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the detailed contents of the technical solutions.
Interpretation of terms:
daily BVTs, Build Verification Test, verify whether a Build can be tested by running a series of cases over each day's new Build before it is released to the testing team for further testing. Its point in time occurs after build is complete and before official testing is complete.
Fig. 1 shows a general flow diagram according to an embodiment of the invention, the flow comprising: s100, deleting an old Bundle package in the BVT test file based on the Unity3D project, repacking the Bundle package in the BVT test file, and generating a whole package, wherein the whole package is an apk/ipa installation package; and S200, performing incremental updating on the whole package, and performing adaptive packaging according to the condition of resource updating and/or code updating in the incremental updating.
Fig. 2a, 2b, and 2c are schematic diagrams illustrating different packing resources according to an embodiment of the present invention, including:
the u3d project package can be divided into two parts, one part is a Bundle package, the other part is an apk/IPA installation package, the two parts can be divided into two machine types to be executed in parallel, the packaging efficiency is improved,
(1) the daily BVT version is to clean all old bundles, punch all bundles (device A with bundles) and copy all the bundles to the second device (device B with installation package), and then present the whole package apk/IPA of the present day
The method of sharing the directory is adopted to copy the project into the appointed directory of the equipment B (or the copy directory of another project of the same equipment project directory can be also adopted), the main purpose is to separate two projects for packaging, because the same project only has the process of opening one u3d and cannot be operated in parallel, the parallel operation can be carried out as long as two projects open two u3d
(2) After the first whole package comes out, all increment updating is carried out in the current day, and the increment is divided into three types, namely resource updating only, code updating only, and resource and code updating:
referring to fig. 2a, only resource updating is performed, then, only Bundle resources are punched on (a device a for punching bundles), Bundle packages are punched in increments (that is, bundles are already punched and are not deleted, if the resources in the bundles are not changed, the bundles are not punched again, so that the packing speed is greatly increased), after the Bundle packages are punched in increments, a first increment version can be sent to a project group member, the project group member can quickly verify the modification effect only by updating a small amount of resources without uninstalling an installed application;
referring to fig. 2B, only the code is updated, only the apk is printed on the apk printing device B, Bundle printing is not needed, copy-good resources are directly reused to print the apk again, the increment apk of today is published, a project member needs to reinstall the newly published apk, and the repairing effect is verified;
referring to fig. 2c, when both resources and codes are updated, increasing Bundle on the Bundle-playing device a, copying the Bundle to the apk-playing device B, playing out the apk again, and publishing the current incremental apk, the project member needs to reinstall the newly published apk, and the repairing effect is verified.
(3) And the AB two devices (or two U3D processes of the same device can also work in parallel) can work in parallel, so that the package outputting speed of the project is greatly improved.
Fig. 3 shows a diagram of an apparatus according to an embodiment of the invention. The apparatus comprises a memory 100 and a processor 200, wherein the processor 200 stores a computer program for performing: deleting an old Bundle package in the BVT test file based on the Unity3D project, repacking the Bundle package in the BVT test file, and generating a whole package; and performing incremental updating on the whole package, and performing adaptive packaging according to the condition of resource updating and/or code updating in the incremental updating. Wherein the memory 100 is used for storing data.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.

Claims (8)

1. A method for accelerating the unpacking speed of a Unity-based 3D project is characterized by comprising the following steps:
s100, deleting an old Bundle package in the BVT test file based on the Unity3D project, repacking the Bundle package in the BVT test file, and generating a whole package, wherein the whole package is an apk/ipa installation package;
and S200, performing incremental updating on the whole package, and performing adaptive packaging according to the condition of resource updating and/or code updating in the incremental updating.
2. The method of claim 1, wherein the packaging comprises: synchronous packaging is carried out by sharing the directory and using multiple devices, or multiple projects are created by a single device for packaging.
3. The method of claim 2, wherein the synchronously packaging through the shared directory and using multiple devices comprises: and copying the files of all Bundle packages to other equipment in a directory sharing mode for the Bundle packages which are integrally repackaged, and performing the packaging processing again.
4. The method of claim 2, wherein creating multiple projects for packaging via a single device comprises: and creating a corresponding engineering copy in the same equipment based on the Unity3D engineering catalog, and synchronously packaging by starting a plurality of Unity3D processes.
5. The method of claim 1, wherein the S200 comprises:
only updating resources, performing incremental updating on the old Bundle package, and not updating when the resource content is unchanged;
only updating codes, executing apk packaging processing on equipment which only needs apk packaging, including packaging processing according to resources needing to be packaged, and issuing an incremental apk package;
and performing resource updating and code updating, performing incremental Bundle packaging on the corresponding equipment of the old Bundle package, and executing apk packaging processing on the equipment needing apk packaging.
6. The method of claim 1, wherein the S200 further comprises:
the plurality of devices perform synchronous packaging processing.
7. An apparatus for accelerating the speed of outsourcing a Unity-based 3D item, the apparatus comprising a memory, a processor and a computer program stored in said memory and executable on said processor, wherein said processor when executing said computer program implements the method steps of any of claims 1 to 6.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 6.
CN202110033987.7A 2021-01-11 Method, device and medium for accelerating packet discharging speed of Unity-based 3D project Active CN112732317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110033987.7A CN112732317B (en) 2021-01-11 Method, device and medium for accelerating packet discharging speed of Unity-based 3D project

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110033987.7A CN112732317B (en) 2021-01-11 Method, device and medium for accelerating packet discharging speed of Unity-based 3D project

Publications (2)

Publication Number Publication Date
CN112732317A true CN112732317A (en) 2021-04-30
CN112732317B CN112732317B (en) 2024-05-17

Family

ID=

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010150937A1 (en) * 2009-06-26 2010-12-29 주식회사 넥슨 Online game providing system through storage media and method thereof
CN108446125A (en) * 2018-03-23 2018-08-24 北京潘达互娱科技有限公司 Application program installation kit generation method, device, equipment and system
CN111045715A (en) * 2019-10-28 2020-04-21 咪咕互动娱乐有限公司 Hot updating method and system of cloud game and readable storage medium
CN111078277A (en) * 2019-12-20 2020-04-28 上海米哈游天命科技有限公司 Packaging system, packaging method and storage medium
CN111991811A (en) * 2020-07-06 2020-11-27 广州西山居世游网络科技有限公司 Deep multi-process packaging method and device based on Unity and readable medium
CN112181431A (en) * 2020-09-30 2021-01-05 完美世界(北京)软件科技发展有限公司 Distributed data packaging method and system, storage medium and computing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010150937A1 (en) * 2009-06-26 2010-12-29 주식회사 넥슨 Online game providing system through storage media and method thereof
CN108446125A (en) * 2018-03-23 2018-08-24 北京潘达互娱科技有限公司 Application program installation kit generation method, device, equipment and system
CN111045715A (en) * 2019-10-28 2020-04-21 咪咕互动娱乐有限公司 Hot updating method and system of cloud game and readable storage medium
CN111078277A (en) * 2019-12-20 2020-04-28 上海米哈游天命科技有限公司 Packaging system, packaging method and storage medium
CN111991811A (en) * 2020-07-06 2020-11-27 广州西山居世游网络科技有限公司 Deep multi-process packaging method and device based on Unity and readable medium
CN112181431A (en) * 2020-09-30 2021-01-05 完美世界(北京)软件科技发展有限公司 Distributed data packaging method and system, storage medium and computing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴迪生;: "手机游戏开发技术综述", 通讯世界, no. 05 *

Similar Documents

Publication Publication Date Title
Koh et al. From C to interaction trees: specifying, verifying, and testing a networked server
WO2017084266A1 (en) Method and device for customizing multi-channel installation package
CN103914637B (en) A kind of executable program encryption method of Android platform
CN109032631B (en) Application program patch package obtaining method and device, computer equipment and storage medium
CN109800005B (en) Client hot update method and device
Ni et al. Using XCAP to certify realistic systems code: Machine context management
CN112835975B (en) Method for deploying, updating and calling intelligent contracts in blockchain
US11474796B1 (en) Build system for distributed applications
CN108595187A (en) Method, device and the storage medium of Android installation kit integrated software development kit
CN112769706B (en) Componentized routing method and system
CN108037941A (en) Application program update method, electronic equipment based on public plug-in unit, storage medium
CN110543427A (en) Test case storage method and device, electronic equipment and storage medium
CN111443901A (en) Business expansion method and device based on Java reflection
CN112451972A (en) Game engine-based resource compression package construction method, device, system and medium
CN103631971B (en) The recombination method and device of a kind of portable and executable file
CN111290996A (en) Document format conversion method, device, equipment and readable storage medium
CN112732317A (en) Method, device and medium for accelerating package-out speed based on Unity3D project
CN110750310B (en) Binary and source code switching method based on IOS system componentization development
CN110647349B (en) Method for realizing continuous delivery of iOS APP
CN110505294B (en) Method for automatically distributing test flight data files
CN112732317B (en) Method, device and medium for accelerating packet discharging speed of Unity-based 3D project
JP2014194756A (en) System and method for analyzing software application in view of entry points
CN110286936B (en) Thermal restoration method, thermal restoration device, electronic equipment and storage medium
CN108573142B (en) Method and device for realizing hook
CN112182873A (en) Method for accelerating aircraft engine model based on hardware system

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
CB02 Change of applicant information

Country or region after: China

Address after: 519000 Room 102, 202, 302 and 402, No. 325, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province, Room 102 and 202, No. 327 and Room 302, No. 329

Applicant after: Zhuhai Jinshan Digital Network Technology Co.,Ltd.

Address before: 519080 Room 102, 202, 302 and 402, No. 325, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province, Room 102 and 202, No. 327 and Room 302, No. 329

Applicant before: ZHUHAI KINGSOFT ONLINE GAME TECHNOLOGY Co.,Ltd.

Country or region before: China

GR01 Patent grant