CN111782197B - Resource release method and device - Google Patents

Resource release method and device Download PDF

Info

Publication number
CN111782197B
CN111782197B CN202010768897.8A CN202010768897A CN111782197B CN 111782197 B CN111782197 B CN 111782197B CN 202010768897 A CN202010768897 A CN 202010768897A CN 111782197 B CN111782197 B CN 111782197B
Authority
CN
China
Prior art keywords
release
resource
resources
catalog
original
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.)
Active
Application number
CN202010768897.8A
Other languages
Chinese (zh)
Other versions
CN111782197A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010768897.8A priority Critical patent/CN111782197B/en
Publication of CN111782197A publication Critical patent/CN111782197A/en
Application granted granted Critical
Publication of CN111782197B publication Critical patent/CN111782197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a method and a device for publishing resources, wherein the method comprises the following steps: reconstructing the catalogue of the file to be configured to generate an original catalogue and a release catalogue; creating a release button according to the original catalog and the release catalog; editing the resources in the original catalogue to generate edited resources; and responding to the triggering operation acted on the release button, adding the editing resource into a release catalog, and releasing the resource in the release catalog. Therefore, the resource can be released after the editing is finished, the resource is prevented from being immediately output and validated in the application program once being modified, a large number of temporary versions in validation are prevented from being generated when the resource is edited, the dependence of the synchronization of upstream and downstream works is greatly reduced, the multi-link collaborative development operation is facilitated, and the controllability and the flexibility in the development process are greatly enhanced.

Description

Resource release method and device
Technical Field
The invention relates to the technical field of software applications, in particular to a resource release method and a resource release device.
Background
The UE4 (universal Engine 4) is the most open and advanced real-time 3D authoring platform worldwide, and can be used for constructing games, simulation and visual contents, and has the functions of rendering photo sets vividly, dynamic physical and effect, life-like animation, data conversion interface of simple package, etc. With continued improvement, UE4 has not only been a real-time engine and editor, but has also provided unlimited freedom of creation and unprecedented control for professionals in various industries.
When performing development authoring, it is often involved in publishing resources to view development effects. Currently, the UE4 does not have the concept of "publishing resources" itself, but it has a set of methods for compiling resources: the resource is validated in the game once modified so that the display effect of the resource can be viewed. However, this way of immediately validating upon modification can create a large number of temporary versions in validation, which is detrimental to multi-link collaborative development.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are directed to providing a method for resource release and a corresponding apparatus for resource release that overcome or at least partially solve the foregoing problems.
The embodiment of the invention discloses a method for publishing resources, which comprises the following steps:
reconstructing the catalogue of the file to be configured to generate an original catalogue and a release catalogue;
creating a release button according to the original catalog and the release catalog;
editing the resources in the original catalogue to generate edited resources;
and responding to the triggering operation acted on the release button, adding the editing resource into a release catalog, and releasing the resource in the release catalog.
Optionally, inserting a release button in a toolbar of the interface editor includes:
reading the original catalogue and the release catalogue in the file to be configured;
monitoring the call of the resources in the original directory and/or the release directory;
and recalling the related function to generate an issue button; the related function is a function for calling the resources in the original directory and/or the release directory.
Optionally, the editing the resources in the original directory to generate edited resources includes:
displaying the resources in the original catalogue in a user interface of the interface editor;
receiving an editing operation for a resource in the original directory;
and generating an editing resource according to the editing operation.
Optionally, the generating an editing resource according to the editing operation includes:
and calling back the related function, acquiring a return value of the related function according to the editing operation, and generating editing resources.
Optionally, the editing resource has a corresponding dependent resource, and the adding the editing resource to the release catalog in response to a trigger operation acting on the release button includes:
and responding to the triggering operation acted on the release button, and adding the editing resource and the dependent resource to a release catalog.
Optionally, the publishing the resource in the publishing directory includes:
redirecting a preset file to refer to the resource in the release catalog;
and publishing the resources in the publishing catalog through the preset file.
Optionally, the preset file includes a uasset file.
The embodiment of the invention discloses a device for publishing resources, which comprises:
the catalog reconstruction module is used for reconstructing the catalog of the file to be configured to generate an original catalog and a release catalog;
the release button creation module is used for creating a release button according to the original catalogue and the release catalogue;
the resource editing module is used for editing the resources in the original catalogue to generate edited resources;
and the resource release module is used for responding to the triggering operation acted on the release button, adding the editing resource to a release catalog and releasing the resource in the release catalog.
Optionally, the release button creation module includes:
a catalog reading submodule for reading the original catalog and the release catalog in the file to be configured;
the resource monitoring submodule is used for monitoring the calling of the resources in the original catalogue and/or the release catalogue;
the release button generation sub-module is used for generating a release button by calling back the related function; the related function is a function for calling the resources in the original directory and/or the release directory.
Optionally, the resource editing module includes:
the resource display sub-module is used for displaying the resources in the original catalogue in a user interface of the interface editor;
an editing operation receiving sub-module for receiving editing operation for the resource in the original catalog;
and the editing resource generation sub-module is used for generating editing resources according to the editing operation.
Optionally, the editing resource generating sub-module includes:
and the editing resource generating unit is used for calling back the related function, acquiring a return value of the related function according to the editing operation and generating editing resources.
Optionally, the editing resource has a corresponding dependent resource, and the resource publishing module includes:
and the resource release sub-module is used for responding to the trigger operation acted on the release button and adding the editing resource and the dependent resource to a release catalog.
Optionally, the resource publishing module includes:
a catalog redirection sub-module for redirecting a preset file to a resource referencing the release catalog;
and the resource release sub-module is used for releasing the resources in the release catalog through the preset file.
Optionally, the preset file includes a uasset file.
The embodiment of the invention also discloses an electronic device, which comprises:
one or more processors; and
one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform the method of any of the embodiments of the present invention.
Embodiments of the present invention also disclose a computer-readable storage medium having instructions stored thereon, which when executed by one or more processors, cause the processors to perform a method according to any of the embodiments of the present invention.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the original catalogue and the release catalogue are generated by reconstructing the catalogue of the file to be configured, the release button is created according to the original catalogue and the release catalogue, when the resources are required to be edited, the resources in the original catalogue are edited to obtain the edited resources, when the resources are required to be released, the edited resources are added to the release catalogue, and the resources in the release catalogue are released. Therefore, the resource can be released after the editing is finished, the resource is prevented from being immediately output and validated in the application program once being modified, a large number of temporary versions in validation are prevented from being generated when the resource is edited, the dependence of the synchronization of upstream and downstream works is greatly reduced, the multi-link collaborative development operation is facilitated, and the controllability and the flexibility in the development process are greatly enhanced.
Drawings
FIG. 1 is a flow chart of steps of a method embodiment of resource publication of the present invention;
fig. 2 is a block diagram of an embodiment of an apparatus for resource publishing in accordance with the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for resource publishing according to the present invention may specifically include the following steps:
step 101, reconstructing the catalogue of the file to be configured to generate an original catalogue and a release catalogue;
the embodiment of the invention can be applied to an Interface editor, and the Interface editor can be an editor for designing a UI (User Interface). Such as a UMG (Unreal Motion Graphics UI Designer, illusive motion graphical interface designer), which is a visual UI authoring tool that can be used to author UI elements that are intended to be presented to a user, such as HUDs, menus, or other graphical elements associated with an interface within a game. The heart of the UMG is a control, a series of prefabricated functional components (such as buttons, check boxes, sliders, progress bars, etc.) that are used to compose an interface.
In the embodiment of the invention, the directory structure of the file to be configured can be reconstructed, and the file to be configured can be a resource file which is prepared for editing in a certain game application. Splitting the directory structure of the file to be configured and regenerating an original directory and a release directory. The original catalogue is used for editing by a developer, the release catalogue is used for being actually installed in the application program, the original catalogue and the release catalogue can have a common root catalogue so as to manage the original catalogue and the release catalogue, and the root catalogue of the original catalogue and the release catalogue can be a UI root catalogue.
In a specific implementation, some resources which are edited before, such as resources edited by a last version of an application program, or some resources edited by other programmers in a team, etc. may be provided in the to-be-configured file. After the directory structure of the file to be configured is reconstructed to generate an original directory and a release directory, the original directory and the release directory may also have previously edited resources, and the original directory, the release directory and the resources contained in each directory may be set according to actual needs, for example, the original directory and the release directory are the same, and the resources contained in the original directory and the release directory are the same, which is not limited by the embodiment of the present invention.
102, creating a release button according to the original catalog and the release catalog;
the release button can be a functional component integrating a series of logic programs and capable of realizing release of resources in the editor, namely, the release button is used for realizing callback of newly edited resources when editing the resources, so that the newly edited resources take effect after releasing the resources.
In the embodiment of the invention, the release button can be created according to the original catalog and the release catalog so as to realize the function of releasing resources in the editor. Specifically, a listener may be registered to listen for related functions that call resources in the original directory and/or the published directory, and callback related functions generate the published button. The callback is used for calling related functions aiming at the resources in the original catalogue and/or the release catalogue, so that the newly edited resources are not output and take effect immediately.
Step 103, editing the resources in the original catalogue to generate edited resources;
specifically, a user interface for editing can be provided in the interface editor, and the user can open the resources in the original catalog by operating on the user interface and edit the resources in the original catalog in the user interface to generate edited resources. The editing operation on the resources in the original directory may include adding resources, modifying resources, deleting resources, and the like. When the resources in the original catalog are edited, the related functions which are called for the resources in the original catalog and/or the middle resources can be called back, and the return values of the related functions (namely the edited resources) can be called back, so that the edited resources generated when the resources are edited cannot be immediately output and are effective in the application program.
And 104, responding to the triggering operation acted on the release button, adding the editing resource to a release catalog, and releasing the resource in the release catalog.
After the user completes editing the resources in the original catalog, the release button can be triggered to release the resources. The triggering operation refers to an operation for triggering the publishing resource, and may include a clicking operation, a double-clicking operation, a long-pressing operation, and the like, which is not limited by the embodiment of the present invention. The interface editor may add the edit resource to the release catalog and release the resource in the release catalog after receiving the user's trigger operation on the release button.
Reconstructing the catalogue of the file to be configured to generate an original catalogue and a release catalogue, creating release buttons according to the original catalogue and the release catalogue, editing the resources in the original catalogue to obtain edited resources when the resources are required to be edited, and adding the edited resources to the release catalogue when the resources are required to be released, and releasing the resources in the release catalogue. Therefore, the resource can be released after the editing is finished, the resource is prevented from being immediately output and validated in the application program once being modified, a large number of temporary versions in validation are prevented from being generated when the resource is edited, the dependence of the synchronization of upstream and downstream works is greatly reduced, the multi-link collaborative development operation is facilitated, and the controllability and the flexibility in the development process are greatly enhanced.
In a preferred embodiment of the present invention, the step 102 may comprise the following sub-steps:
reading the original catalogue and the release catalogue in the file to be configured; monitoring the call to the resources in the original directory and/or the release directory; callback related functions generate release buttons; the related function is a function for calling the resources in the original directory and/or the release directory.
In the embodiment of the invention, the release button can be generated by calling the related function by reading the original catalogue and the release catalogue in the file to be configured and monitoring the call to the resources in the original catalogue and/or the release catalogue and when the call to the resources in the original catalogue and/or the release catalogue is monitored. Wherein the related function is a function which is called for resources in the original directory and/or the release directory.
Specifically, a preset release plug-in can be loaded in the interface editor, the preset release plug-in is started, the preset release plug-in is adopted to read the catalogues required by editing the file to be configured, wherein the catalogues comprise an original catalogue and a release catalogue, and the read catalogues also comprise UI root catalogues which are common to the original catalogue and the release catalogue. The preset publishing plug-in may be a preset publishing plug-in, which is used to implement publishing resources in the interface editor.
After the original catalogue and the release catalogue are read, a monitor can be registered in the interface editor, the monitor is used for monitoring the opening event of the interface editor, when the opening event of the interface editor is monitored, whether the opening event is the opening event for the original catalogue and/or the release catalogue is judged, if the opening event for the original catalogue and/or the release catalogue is detected, a callback related function generates a release control; if the opening event for the original catalogue and/or the release catalogue is not performed, the opening event of the monitoring interface editor is continuously executed.
As one example, a release control may be generated using an onsaseopenediditor function whose pointer is used to call the related function to which it is directed to phase a related function back and forth.
It should be noted that logic associated with the user operation may also be set in the publishing control, and after the publishing control is generated, the publishing control is inserted into the toolbar of the interface editor, so as to publish the resource when the user operation for the publishing control in the toolbar is monitored.
In a preferred embodiment of the present invention, the step 103 may comprise the following sub-steps:
displaying the resources in the original catalogue in a user interface of the interface editor; receiving an editing operation for a resource in the original directory; and generating an editing resource according to the editing operation.
Specifically, the user may select an original directory to be edited on a user interface in the interface editor and open the original directory, such as by double clicking on the original directory. The interface editor may respond to an operation of opening the original catalog, and display the resources in the original catalog in the user interface, and further, the user may perform editing operations on the resources in the original catalog, for example, editing operations such as adding, deleting, modifying, etc. the resources in the original catalog. The interface editor may receive an edit operation for a resource in the original catalog, and generate an edited resource in accordance with the editor operation.
In a preferred embodiment of the present invention, the generating an editing resource according to the editing operation includes:
and calling back the related function, acquiring a return value of the related function according to the editing operation, and generating editing resources.
In the embodiment of the invention, the related functions which are called for the resources in the original catalogue and/or the release catalogue can be called back, the return values of the related functions are obtained according to the editing operation, and the return values are output to generate the editing resources.
Specifically, a preset release plug-in callback related function can be adopted, a return value of the related function is obtained according to editing operation, editing resources are generated, and the editing resources are recorded. As an example, an on assembly openediator function may be employed to phase-tune the related function, obtain return values of the on assembly openediator function according to the editing operation, and output the return values to generate the editing resource.
In a preferred embodiment of the present invention, the editing resource has a corresponding dependent resource, and the adding the editing resource to the release catalog in response to a trigger operation acting on the release button includes:
and responding to the triggering operation acted on the release button, and adding the editing resource and the dependent resource to a release catalog.
Where a dependent resource may refer to a resource that has a dependency relationship with an edit resource, including some resources referenced by the edit resource, and some resources that reference the edit resource.
After completing the editing of the resource, the user may perform a triggering operation on the release button, where the triggering operation may include a click operation, a double click operation, a long press operation, and the like, and the embodiment of the present invention is not limited thereto. The interface editor may receive a trigger operation by a user on the publish button and add the edit resource and the dependent resource to the publish directory in response to the trigger operation.
In a preferred embodiment of the present invention, said publishing the resources in the publishing directory includes:
redirecting a preset file to refer to the resource in the release catalog; and publishing the resources in the publishing catalog through the preset file.
It should be noted that, publishing a resource may refer to packaging and compressing an edited resource file into an executable file in a specific format (such as exe format, etc.), so that the generated file may be directly installed and operated.
Specifically, when publishing resources, the interface editor may correct the resource references in the preset file, and redirect the preset file to the resources in the reference publishing directory, so that the resources in the publishing directory after the edited resources are added may be published through the preset file. The preset file may be a preset resource file, such as a uasset file.
In a specific implementation, before the resource reference in the preset file is revised, the reference is the resource in the publishing directory before the revision (i.e. the publishing directory to which the editing resource is not added), and after the resource reference in the preset file is revised, the reference is the resource in the publishing directory after the revision (i.e. the publishing directory to which the editing resource is added).
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 2, a block diagram illustrating an embodiment of a resource publishing device according to the present invention may specifically include the following modules:
a catalog reconstruction module 201, configured to reconstruct a catalog of a file to be configured, and generate an original catalog and a release catalog;
a release button insertion module 202 for creating a release button according to the original catalog and the release catalog;
the resource editing module 203 is configured to edit the resources in the original directory to generate edited resources;
and the resource release module 204 is configured to add the edited resource to a release catalog in response to a trigger operation acting on the release button, and release the resource in the release catalog.
In a preferred embodiment of the present invention, the publish button creation module 202 includes:
a catalog reading submodule for reading the original catalog and the release catalog in the file to be configured;
the resource monitoring submodule is used for monitoring the call of the resources in the original catalogue and the release catalogue;
the release button generation sub-module is used for generating a release button by calling back the related function; the related function is a function for calling the resources in the original directory and/or the release directory.
In a preferred embodiment of the present invention, the resource editing module 203 includes:
the resource display sub-module is used for displaying the resources in the original catalogue in a user interface of the interface editor;
an editing operation receiving sub-module for receiving editing operation for the resource in the original catalog;
and the editing resource generation sub-module is used for generating editing resources according to the editing operation.
In a preferred embodiment of the present invention, the editing resource generating sub-module includes:
and the editing resource generating unit is used for calling back the related function, acquiring a return value of the related function according to the editing operation and generating editing resources.
In a preferred embodiment of the present invention, the editing resource has a corresponding dependent resource, and the resource publishing module 204 includes:
and the resource release sub-module is used for responding to the trigger operation acted on the release button and adding the editing resource and the dependent resource to a release catalog.
In a preferred embodiment of the present invention, the resource publishing module 204 includes:
a catalog redirection sub-module for redirecting a preset file to a resource referencing the release catalog;
and the resource release sub-module is used for releasing the resources in the release catalog through the preset file.
In a preferred embodiment of the present invention, the preset file comprises a uasset file.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The embodiment of the invention provides electronic equipment, which comprises:
one or more processors; and one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform the method of any of the embodiments of the present invention.
Embodiments of the present invention disclose a computer-readable storage medium having instructions stored thereon, which when executed by one or more processors, cause the processors to perform a method according to any of the embodiments of the present invention.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The above description of a method for publishing resources and a device for publishing resources provided by the present invention applies specific examples to illustrate the principles and embodiments of the present invention, and the above examples are only used to help understand the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. A method of resource publication, comprising:
reconstructing the catalogue of the file to be configured to generate an original catalogue and a release catalogue;
creating a release button according to the original catalog and the release catalog; the release button is generated based on a function which calls resources in the original directory and/or the release directory and is monitored by the callback;
editing the resources in the original catalogue to generate edited resources;
and responding to the triggering operation acted on the release button, adding the editing resource into a release catalog, and releasing the resource in the release catalog.
2. The method of claim 1, wherein the publish button is generated based on a function calling resources in the original directory and/or the published directory that the callback listens to, comprising:
reading the original catalogue and the release catalogue in the file to be configured;
monitoring the call to the resources in the original directory and/or the release directory;
callback related functions generate release buttons; the related function is a function for calling the resources in the original directory and/or the release directory.
3. The method of claim 2, wherein editing the resources in the original catalog generates edited resources, comprising:
displaying the resources in the original catalogue in a user interface of an interface editor;
receiving an editing operation for a resource in the original directory;
and generating an editing resource according to the editing operation.
4. A method according to claim 3, wherein said generating an edit asset from said editing operation comprises:
and calling back the related function, acquiring a return value of the related function according to the editing operation, and generating editing resources.
5. The method of claim 1, wherein the edit resource has a corresponding dependent resource, wherein the adding the edit resource to a release catalog in response to a trigger operation of the release button comprises:
and responding to the triggering operation acted on the release button, and adding the editing resource and the dependent resource to a release catalog.
6. The method of claim 1, wherein said publishing the resources in the publish directory comprises:
redirecting a preset file to refer to the resource in the release catalog;
and publishing the resources in the publishing catalog through the preset file.
7. The method of claim 6, wherein the preset file comprises a uasset file.
8. An apparatus for publishing resources, comprising:
the catalog reconstruction module is used for reconstructing the catalog of the file to be configured to generate an original catalog and a release catalog;
the release button creation module is used for creating a release button according to the original catalogue and the release catalogue; the release button is generated based on a function which calls resources in the original directory and/or the release directory and is monitored by the callback;
the resource editing module is used for editing the resources in the original catalogue to generate edited resources;
and the resource release module is used for responding to the triggering operation acted on the release button, adding the editing resource to a release catalog and releasing the resource in the release catalog.
9. An electronic device, comprising:
one or more processors; and
one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform the method of resource publication of any of claims 1-7.
10. A computer-readable storage medium having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the method of resource publication of any of claims 1-7.
CN202010768897.8A 2020-08-03 2020-08-03 Resource release method and device Active CN111782197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010768897.8A CN111782197B (en) 2020-08-03 2020-08-03 Resource release method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010768897.8A CN111782197B (en) 2020-08-03 2020-08-03 Resource release method and device

Publications (2)

Publication Number Publication Date
CN111782197A CN111782197A (en) 2020-10-16
CN111782197B true CN111782197B (en) 2023-12-29

Family

ID=72765144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010768897.8A Active CN111782197B (en) 2020-08-03 2020-08-03 Resource release method and device

Country Status (1)

Country Link
CN (1) CN111782197B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112473145A (en) * 2020-12-10 2021-03-12 网易(杭州)网络有限公司 Data processing method and device based on game engine

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4558413A (en) * 1983-11-21 1985-12-10 Xerox Corporation Software version management system
CA2422682A1 (en) * 2002-03-20 2003-09-20 Bestbuy.Com, Llc Software building and deployment system and method
CN102779037A (en) * 2012-05-22 2012-11-14 杭州斯凯网络科技有限公司 Visual programming method for automatically generating and uniformly maintaining java items
US8453112B1 (en) * 2008-11-13 2013-05-28 Adobe Systems Incorporated Systems and methods for collaboratively creating applications using a multiple source file project that can be accessed and edited like a single file
WO2016077483A1 (en) * 2014-11-11 2016-05-19 Amazon Technologies, Inc. Catalog service platform for deploying applications and services
CN107357593A (en) * 2017-08-24 2017-11-17 武汉斗鱼网络科技有限公司 Source code file construction method, device, electric terminal and readable storage medium storing program for executing
CN107729066A (en) * 2017-11-08 2018-02-23 重庆扬讯软件技术股份有限公司 One kind is based on SVN resources banks automation structure dissemination method and device
CN109408065A (en) * 2018-10-12 2019-03-01 上海庆科信息技术有限公司 A kind of code publishing tool
CN110109680A (en) * 2019-05-14 2019-08-09 重庆商勤科技有限公司 Using dispositions method, device and apply dissemination method, server, storage medium
CN110532029A (en) * 2019-09-04 2019-12-03 深圳前海微众银行股份有限公司 Small routine generation method, device, equipment and computer readable storage medium
CN110855735A (en) * 2019-09-20 2020-02-28 广州亚美信息科技有限公司 Project publishing method, device and system and computer equipment
CN111221526A (en) * 2018-11-27 2020-06-02 中云开源数据技术(上海)有限公司 Data visual editing display platform based on data lake server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7146635B2 (en) * 2000-12-27 2006-12-05 International Business Machines Corporation Apparatus and method for using a directory service for authentication and authorization to access resources outside of the directory service
US7506308B2 (en) * 2003-02-28 2009-03-17 Bea Systems, Inc. System and method for using a split-directory structure for software development
US20050216486A1 (en) * 2004-03-26 2005-09-29 Lucent Technologies Inc. Methods and systems for software release management
CN102955702B (en) * 2011-08-23 2016-08-10 腾讯科技(深圳)有限公司 A kind of software is installed and upgrade method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4558413A (en) * 1983-11-21 1985-12-10 Xerox Corporation Software version management system
CA2422682A1 (en) * 2002-03-20 2003-09-20 Bestbuy.Com, Llc Software building and deployment system and method
US8453112B1 (en) * 2008-11-13 2013-05-28 Adobe Systems Incorporated Systems and methods for collaboratively creating applications using a multiple source file project that can be accessed and edited like a single file
CN102779037A (en) * 2012-05-22 2012-11-14 杭州斯凯网络科技有限公司 Visual programming method for automatically generating and uniformly maintaining java items
WO2016077483A1 (en) * 2014-11-11 2016-05-19 Amazon Technologies, Inc. Catalog service platform for deploying applications and services
CN107357593A (en) * 2017-08-24 2017-11-17 武汉斗鱼网络科技有限公司 Source code file construction method, device, electric terminal and readable storage medium storing program for executing
CN107729066A (en) * 2017-11-08 2018-02-23 重庆扬讯软件技术股份有限公司 One kind is based on SVN resources banks automation structure dissemination method and device
CN109408065A (en) * 2018-10-12 2019-03-01 上海庆科信息技术有限公司 A kind of code publishing tool
CN111221526A (en) * 2018-11-27 2020-06-02 中云开源数据技术(上海)有限公司 Data visual editing display platform based on data lake server
CN110109680A (en) * 2019-05-14 2019-08-09 重庆商勤科技有限公司 Using dispositions method, device and apply dissemination method, server, storage medium
CN110532029A (en) * 2019-09-04 2019-12-03 深圳前海微众银行股份有限公司 Small routine generation method, device, equipment and computer readable storage medium
CN110855735A (en) * 2019-09-20 2020-02-28 广州亚美信息科技有限公司 Project publishing method, device and system and computer equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
PowerBuilder应用程序的编译发布技术研究;张益星;罗敬;;计算机技术与发展(第08期);全文 *
UE4:引擎目录与项目目录配置;diaojueyi0149;《https://blog.csdn.net/diaojueyi0149/article/details/101865301》;全文 *
基于Docker的高校网站自动部署应用;杨洪娇;;无线互联科技(第16期);全文 *

Also Published As

Publication number Publication date
CN111782197A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN106250128B (en) Display processing method and device of user interface
US9910567B2 (en) Providing a user interface
US8001519B2 (en) Model driven development including aspect integration tool
JP5031242B2 (en) Rich data-bound application
JP4809577B2 (en) System and method for issuing messages to a program
US20070150855A1 (en) Method and system of developing a software with utilizing extended metadata of component under component-based development environment
US7739611B2 (en) User interface with connectable elements
US9524279B2 (en) Help document animated visualization
García Frey et al. UsiComp: an extensible model-driven composer
CN110580153B (en) Application program development method and device
US20080256509A1 (en) Pattern-based programming system for automatic code generation
US20230418562A1 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
CN111782197B (en) Resource release method and device
US20060259869A1 (en) Providing a user interface
US20060259868A1 (en) Providing a user interface
Gassner Flash Builder 4 and Flex 4 Bible
Shute Advanced JavaScript: Speed up web development with the powerful features and benefits of JavaScript
CN116909553A (en) Page online development and local compiling operation system
Rivero et al. Improving user involvement through a model-driven requirements approach
KR20200061851A (en) VR authoring platform and language conversion system for utilizing multiple VR development engines based on HTML5
Buss et al. Composability and component-based discrete event simulation
Pellens et al. CoDePA: a conceptual design pattern approach to model behavior for X3D worlds
Derezinska et al. Tracing of state machine execution in the model-driven development framework
CN111708519B (en) Service component processing method, device, equipment and storage medium
Pellens et al. A development environment using behavior patterns to facilitate building 3d/vr applications

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
GR01 Patent grant
GR01 Patent grant