WO2023039898A1 - 编辑指令的响应方法、装置、电子设备及存储介质 - Google Patents

编辑指令的响应方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2023039898A1
WO2023039898A1 PCT/CN2021/119425 CN2021119425W WO2023039898A1 WO 2023039898 A1 WO2023039898 A1 WO 2023039898A1 CN 2021119425 W CN2021119425 W CN 2021119425W WO 2023039898 A1 WO2023039898 A1 WO 2023039898A1
Authority
WO
WIPO (PCT)
Prior art keywords
editing
mode
instruction
scene
current
Prior art date
Application number
PCT/CN2021/119425
Other languages
English (en)
French (fr)
Inventor
郑瀚
郭佳伟
林顺
Original Assignee
厦门雅基软件有限公司
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 厦门雅基软件有限公司 filed Critical 厦门雅基软件有限公司
Priority to PCT/CN2021/119425 priority Critical patent/WO2023039898A1/zh
Publication of WO2023039898A1 publication Critical patent/WO2023039898A1/zh

Links

Images

Classifications

    • 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/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • 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

Definitions

  • the present application relates to the technical field of data processing, and in particular, the present application relates to a method, device, electronic device and storage medium for responding to editing instructions.
  • Game resources mainly include scenes and scene objects.
  • the scene refers to the abstract collection of environmental factors in the game.
  • the scene object is located in the scene and can refer to Images, characters, special effects, UI and other game elements in the scene.
  • the scene editor parses the editing instruction to obtain the editing operation to be executed, and then determines the current editing mode of the scene editor according to the preset judgment order, And execute the editing operation to be executed in the current editing mode to output the operation result.
  • the preset judgment sequence of the scene editor is to judge whether the scene editor is in the normal editing mode, the animation editing mode, or the prefab editing mode in sequence.
  • the scene editor will parse the object creation command to obtain the editing operation to be executed as an object creation operation after receiving the object creation command, and then judge whether the scene editor is currently in normal mode (scene editor Objects can be created in the normal editing mode), if the scene editor is in the normal editing mode, execute the operation of creating an object and create a new object, if not in the normal editing mode, then judge whether the scene editor is in animation editing mode (objects can be created when the scene editor is in the animation editing mode), if the scene editor is in the animation editing mode, no new objects will be created; if the scene editor is not in the animation editing mode, then judge whether the scene editor is in a prefab Edit mode, if the scene editor is in the prefab editing mode (the scene editor can create objects in the prefab editing mode), then create a new object.
  • the execution results are obtained by executing the corresponding editing operations to be executed by the functional modules in the scene editor, and the functional modules are also used to judge the current editing mode, so that each additional editing mode will be corresponding Adding a layer of judgment steps to the edit mode in the function module can easily destroy the encapsulation of the code of the function module, resulting in a wrong response.
  • Embodiments of the present invention provide a method, device, electronic device, and storage medium for responding to editing instructions that overcome the above problems or at least partially solve the above problems.
  • a method for responding to an editing instruction includes:
  • the authority to receive editing instructions is released, and the editing instructions are used to instruct to edit the scene objects in the scene editor;
  • the target editing command is received after the permission is opened, it is determined that in the current editing mode, the editing operation to be executed that has a mapping relationship with the target editing command;
  • a device for responding to editing instructions comprising:
  • the current editing mode acquisition module is used to acquire the current editing mode of the scene editor
  • the authority opening module is used to open the authority to receive editing instructions according to the current editing mode obtained from the scene editor, and the editing instructions are used to instruct to edit the scene objects in the scene editor;
  • the editing operation to be executed determining module is used to determine the editing operation to be executed that has a mapping relationship with the target editing instruction in the current editing mode if the target editing instruction is received after the permission is opened;
  • the operation result obtaining module is configured to execute the editing operation to be performed on the scene object in the scene editor to obtain the operation result.
  • an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor.
  • the processor executes the program, the method as provided in the first aspect is implemented. step.
  • an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method provided in the first aspect are implemented.
  • an embodiment of the present invention provides a computer program, the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, when the processor of the computer device reads the computer instructions from the computer-readable storage medium , the processor executes the computer instructions, so that the computer device executes the steps for realizing the method provided in the first aspect.
  • the editing instruction response method, device, electronic equipment and storage medium provided by the embodiments of the present invention obtain the current editing mode of the scene editor; according to the acquired current editing mode of the scene editor, open the authority to receive editing instructions, and edit the instruction It is used to instruct to edit the scene object in the scene editor; if the target editing command is received after the permission is opened, it is determined that in the current editing mode, the editing operation to be executed that has a mapping relationship with the target editing command; the scene editor Execute pending editing operations on the scene objects in to obtain the operation results.
  • the embodiment of the present application separates the judgment editing mode from the response editing instruction, so that no corresponding functional module is required to judge the current editing mode of the scene editor step by step according to the preset judgment order when responding to the editing instruction, which ensures the encapsulation of the code and reduces the Possibility of errors in response.
  • FIG. 1 is a schematic diagram of the response process of the prior art to the editing instruction of the scene object in the scene editor provided by the embodiment of the present application;
  • FIG. 2 is a schematic diagram of the process of responding to an object creation instruction in the prior art provided by the embodiment of the present application;
  • FIG. 3 is a schematic diagram of a response method for an editing command provided in an embodiment of the present application.
  • FIG. 4 is a flow chart of responding to target editing instructions in normal editing mode provided by the embodiment of the present application.
  • FIG. 5 is a flow chart of responding to target editing instructions in the animation editing mode provided by the embodiment of the present application.
  • FIG. 6 is a flowchart of another editing command response method provided in the embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an editing instruction response device provided in an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Scene editor In the field of game production, the scene editor can be used to edit various game resources. For example, a game character can be created in the scene editor, and skills can be designed for the character.
  • the scene object can refer to the Various game elements such as images, characters, special effects, UI, etc. It is understandable that the production process of the game is actually the editing process of each scene object through the scene editor.
  • Modular programming design refers to dividing a program into several program modules according to functions during program design.
  • Each program module has a certain function. This program module with a certain function can be called a function module.
  • each functional module can be divided into several functional sub-modules, and each functional sub-module can be divided into several functional units, that is, the modules are divided layer by layer. It should be emphasized that these modules or sub-modules or units can be divided into Establish connections to achieve a complete operation through mutual cooperation.
  • the object management module can be divided into an object creation sub-module and an object modification sub-module, where , the object creation sub-module is used to create and delete objects, the object modification sub-module is used to modify objects; the object creation sub-module can be divided into object creation unit and object deletion unit, and the object creation unit is used to create a new objects, the object deletion unit is used to delete existing objects.
  • Figure 1 it exemplarily shows a schematic diagram of the response process of the prior art to the scene object in the scene editor, receiving an editing instruction for the scene object in the scene editor, and sending the editing instruction to the corresponding function module, the function module first parses the editing command to obtain the editing operation to be executed, and then determines the current editing mode of the scene editor according to the preset judgment order, specifically:
  • the scene editor will parse the object creation command to obtain the editing operation to be executed after receiving the object creation command, and execute the editing operation as the operation of creating an object, and then judge whether the scene editor is in the normal editing mode, If the scene editor is in the normal mode, perform the operation of creating an object and create a new object A; if it is not in the normal mode, then judge whether the scene editor is in the animation mode; if the scene editor is in the animation editing mode, then Do not create a new object; if the scene editor is not in the animation editing mode, then judge whether the scene editor is in the prefab editing mode, if the scene editor is in the prefab editing mode, perform the operation of creating an object and create a new one Object A'.
  • the execution results are obtained by executing the corresponding editing operations to be executed by the functional modules in the scene editor, and the functional modules are also used to judge the current editing mode, so that each additional editing mode will be corresponding Adding a layer of judgment steps to the edit mode in the function module can easily destroy the encapsulation of the code of the function module, resulting in a wrong response.
  • the editing instruction response method, device, electronic equipment and computer-readable storage medium provided by the present application aim to solve the above technical problems in the prior art.
  • the embodiment of the present application provides a response method for editing instructions, the method includes:
  • Step S301 acquiring the current editing mode of the scene editor.
  • the scene editor in the embodiment of the present application mainly edits scene objects.
  • the scene objects in the scene editor can be any objects in the scene editor, and can be various game elements such as images, characters, special effects, UI, etc., or can be These are elements such as lines and icons, and this embodiment of the present application does not limit the specific scene objects to be edited.
  • the current editing mode of the scene editor in the embodiment of the present application refers to the editing mode of the scene editor at the current moment.
  • the scene editor in the embodiment of the present application may include multiple editing modes, such as normal editing mode, animation editing mode and prefab editing Mode, different editing modes have different functions, for example, normal editing mode can create, modify and delete objects; animation editing mode can create, modify and delete animations; prefab editing mode is used to create, modify and delete objects At the same time, create, modify and delete the prefab related to the object, wherein the prefab is a preset scene object that can be used as a template.
  • the editing operation of creating or deleting objects is not supported in the animation editing mode
  • the editing operation of creating or deleting objects is supported in the normal editing mode and the prefab editing mode, although the normal editing mode and the prefab editing mode support creating or deleting
  • the scene editor in the embodiment of the present application is in an editing mode at any time.
  • the current editing mode of the scene editor can be updated, for example, in the scene editing
  • the editing interface of the editor directly selects a certain editing mode as the current editing mode, or determines the switching of a certain editing mode as the current editing mode by touching the switching control, which is not limited in the embodiment of the present application.
  • this application can set a mode manager, manage the editing mode of the scene editor through the mode manager, control the switching of the current editing mode through the mode manager, and directly determine the current editing mode through the access mode manager.
  • Step S302 according to the acquired current editing mode of the scene editor, grant permission to receive editing instructions.
  • the premise of responding to the editing instructions for the scene objects is to open the authority to receive editing instructions. Instruction permissions, if an editing instruction to the scene editor is received, the editing instruction will not be responded to, and a prompt message will be displayed to remind the user that the editing instruction cannot be received if the permission to receive the editing instruction is not granted.
  • the grayscale of the editing tool in the editing interface of the scene editor can be directly dimmed, or a prompt message can be displayed on the editing interface to remind the user that the permission to receive editing instructions cannot be edited.
  • the embodiment of the present application does not specifically limit how to prompt the user that the user cannot receive the editing instruction when the permission to receive the editing instruction is not granted.
  • the permission to receive editing instructions can be released by triggering a control that is specifically used to open the permission to receive editing instructions. It can also be set that when the current editing mode stays longer than the preset retention time threshold, the receiving and editing will be automatically opened.
  • the authority of the instruction the embodiment of the present application does not limit how to open the authority to receive the editing instruction.
  • the editing instruction in the embodiment of the present application is used to instruct to edit the scene object in the scene editor.
  • the editing instruction can be any instruction, such as creating an object instruction, deleting an object instruction, canceling an animation instruction, changing an instruction, and replacing an instruction, etc.
  • the editing instruction is Generated according to the actual operation of the user on the editing interface of the scene editor.
  • Step S303 if the target editing command is received after the permission is released, then determine the editing operation to be executed that has a mapping relationship with the target editing command in the current editing mode.
  • the scene editor in the embodiment of the present application has different editing modes.
  • the scene editor only has one editing mode at each moment, and the functions of different editing modes may be different.
  • the animation editing mode does not support the editing of deleting objects.
  • Operation, normal editing mode and prefab editing mode support the editing operation of deleting objects.
  • the operation results obtained by the same editing operation in different editing modes may be different.
  • the editing operation "undo” is aimed at An "animation” editing operation
  • "undo" is for the editing operation of an object
  • in the prefab editing mode "undo" is for an object and the prefab related to the object edit operation.
  • the target editing instructions in this embodiment of the present application are generated based on user operations, including adding, deleting, modifying, and searching for scene objects.
  • the target editing command "delete role A” will be generated based on the user's actual operation of deleting "role A” through Delete.
  • mapping relationship between the target editing command and the editing operation to be executed there is a mapping relationship between the target editing command and the editing operation to be executed. After the authority to receive the editing command is opened, if the target editing command is received, determine the current editing mode based on the target editing command and the target editing command and the pending editing command. Execute the mapping relationship between editing operations, and determine the editing operation to be executed that has a mapping relationship with the target editing instruction.
  • the target editing command is "delete character A”
  • the editing operation to be performed is "Delete role A” operation.
  • Step S304 execute the pending editing operation on the scene object in the scene editor to obtain the operation result.
  • in the current editing mode determine the editing operation to be executed that has a mapping relationship with the target editing instruction, and execute the editing operation to be executed on the scene object in the scene editor to obtain the operation result.
  • the embodiment of the present application obtains the current editing mode of the scene editor; according to the obtained current editing mode of the scene editor, the authority to receive editing instructions is released, and the editing instructions are used to instruct to edit the scene objects in the scene editor; if in After receiving the target editing instruction after opening the permission, determine the pending editing operation that has a mapping relationship with the target editing command in the current editing mode; execute the pending editing operation on the scene object in the scene editor to obtain the operation result.
  • the embodiment of the present application separates the judgment editing mode from the response editing instruction, so that no corresponding functional module is required to judge the current editing mode of the scene editor step by step according to the preset judgment order when responding to the editing instruction, which ensures the encapsulation of the code and reduces the Possibility of errors in response.
  • the embodiment of this application provides a possible implementation method to obtain the current editing mode of the scene editor, which also includes:
  • the edit mode update instruction is used to instruct to update the edit mode of the scene editor to the current edit mode
  • the edit mode update command in the embodiment of the present application is used to update the edit mode of the scene editor to the current edit mode, and after receiving the edit mode update command, update the edit mode of the scene editor to the current edit mode.
  • the edit mode update command in the embodiment of the present application is generated based on the actual operation of the user.
  • the edit interface of the scene editor is provided with a control to update or switch the edit mode.
  • the current edit mode is the prefab edit mode.
  • the mode manager When the user triggers the When the control corresponding to the normal editing mode is displayed, the mode manager will switch the current editing mode from the prefab editing mode to the normal editing mode; for example, when the user triggers the resource corresponding to the prefab editing mode through the mouse, the mode manager will automatically change from the current The editing mode is updated to the prefab editing mode, and this embodiment of the present application does not limit how to update the editing mode.
  • the scene editor in this embodiment of the application includes multiple editing modes, which can be any predefined editing mode, such as normal editing mode, animation editing mode, and prefab editing mode.
  • predefined editing mode such as normal editing mode, animation editing mode, and prefab editing mode.
  • specific features of the scene editor in this embodiment The number of editing modes is not limited.
  • the initial editing mode of the scene editor in the embodiment of the present application can be set to any editing mode, and the normal editing mode is preferably selected.
  • the scene editor is provided with a mode manager for managing the editing mode of the scene editor.
  • the mode manager stores a predefined editing mode. When the editing mode updating or switching conditions are met, the mode manager will The current editing mode of the scene editor will be updated or switched.
  • the mode manager when the mode manager receives an edit mode update command, it will detect whether the mode update command satisfies the trigger condition of updating the current edit mode or switching to the next edit mode, if the edit mode update command meets the edit mode update Trigger conditions, the mode manager will update the current editing mode.
  • the current editing mode of the scene editor is the animation editing mode
  • the user can update the current editing mode from the animation editing mode to the prefab editing mode by clicking the control corresponding to the prefab editing mode, and by clicking the control corresponding to the normal editing mode Update the current editing mode from animation editing mode to normal editing mode. If the user intends to delete an object in the scene editor, assuming that the animation editing mode cannot delete the object, normal editing mode and prefab editing mode can delete the object After deleting, the user can update the current editing mode to switch to the editing mode corresponding to the control triggered by the user by triggering the controls corresponding to each editing mode, that is, the current editing mode is updated.
  • the embodiment of the present application provides a possible implementation manner. Before updating the editing mode of the scene editor to the current editing mode, it further includes: clearing the data cache of the scene editor.
  • the mode manager before updating the editing mode, will also clear the data cache of the updated editing mode. Specifically, the scene editor can set buffers corresponding to different editing modes. After receiving the editing mode update command , if the editing mode update command meets the conditions, the data cache of the updated editing mode will be cleared, on the one hand, the memory usage is reduced, and on the other hand, the interference to the data cache of the updated editing mode is eliminated.
  • the embodiment of the present application provides a possible implementation, determining the editing operation to be executed that has a mapping relationship with the target editing instruction in the current editing mode, including:
  • the instruction mapping table includes at least one editing instruction identifiable in the current editing mode and an editing operation to be executed that has a first mapping relationship with the editing instruction;
  • the editing operation to be executed that has a first mapping relationship with the target editing instruction is determined from the instruction mapping table.
  • the embodiment of the present application provides an instruction mapping table. Each editing mode has a corresponding instruction mapping table. Perform editing operations.
  • the command mapping table corresponding to the current editing mode will be obtained, and the target editing command that has the first mapping relationship with the target editing command will be obtained from the command mapping table. Perform editing operations.
  • the embodiment of the present application provides a possible implementation.
  • the instruction mapping table also includes functional modules that have a second mapping relationship with each editing operation to be executed; execute the editing operation to be executed on the scene object in the scene editor to obtain the operation result ,include:
  • the instruction mapping table in the embodiment of the present application further includes a function module in a second mapping table with each editing operation to be executed, and the function module is used to execute the editing operation to obtain an operation result.
  • the scene editor can be divided into several specific functional modules, and each functional module has independent and specific functions.
  • the scene editor can be divided into an animation module, an operation history module, a prefab management module, and a resource management module. module, object management module, etc.
  • the animation management module is used to manage the animation design in the scene editor; the user of the operation history module records each operation track to meet the user's "undo" operation; the prefab management module is used to manage the prefab, Supports the creation, deletion, search, modification, and preservation of prefabs; the resource management module is used to query the resources required for editing operations and changes in construction resources; the object management module is used to manage objects in the scene editor, and supports the creation of objects , modify, delete, search and save, etc., and the functions of other functional modules will not be introduced here. In practical applications, different functional modules can be designed according to the actual situation.
  • the functional modules of the embodiment of the present application can also be divided into several functional sub-modules, and the functional modules or functional sub-modules cooperate with each other to jointly complete the response work of the editing operation to be executed.
  • the target editing command after receiving the target editing command, it will obtain the command mapping table corresponding to the current editing mode, determine the editing operation to be executed that has the first mapping relationship with the target editing command from the command mapping table, and obtain the editing operation from the command mapping table A function module having a second mapping relationship with the edit operation to be executed is determined, and the function module is used to execute the edit operation to be executed to obtain an operation result.
  • FIG. 4 it exemplarily shows a flow chart of responding to target editing instructions in normal editing mode.
  • the whole process is: determine that the current editing mode of the scene editor is normal editing mode, and in normal editing mode , to open the permission to receive editing instructions.
  • the received target editing instruction is an object creation instruction
  • obtain the instruction mapping table corresponding to the normal editing mode and search and create the object instruction from the instruction mapping table
  • a function module having a second mapping relationship with the operation of creating an object is obtained from the instruction mapping table
  • the function module is an object management module
  • the operation of creating an object is sent to the object management module, so that the object management module executes the operation of creating an object to create a new object.
  • the embodiment of the present application provides a possible implementation mode, performing the editing operation to be performed on the scene object in the scene editor to obtain the operation result, including:
  • the authority to receive editing instructions is released. If a target editing instruction for a scene object in the scene editor is received, the corresponding instruction mapping table of the scene editor is obtained, and the instruction mapping table is obtained from the instruction mapping table. Obtain the editing operation to be executed that has the first mapping relationship with the target editing command in the table. If the editing operation to be executed is empty, there is no need to send the empty editing operation to be executed to the function module, and the editing operation to be executed is empty. The pending editing operation cannot be performed in the current editing mode, and it is directly determined that the operation result corresponding to the editing instruction is empty.
  • FIG. 5 it exemplarily shows a flow chart of responding to target editing instructions in the animation editing mode.
  • the whole process is: determine that the current editing mode of the scene editor is the animation editing mode, and in the animation editing mode , open the permission to receive editing instructions, after opening the permission of the editing instruction, if the received target editing instruction is an object creation instruction, obtain the instruction mapping table corresponding to the animation editing mode, and search and create the object instruction from the instruction mapping table For the edit operation to be performed with the first mapping relationship, the edit operation to be performed with the create object instruction in the instruction mapping table with the first mapping relationship is empty, and it is directly determined that the operation result is empty.
  • the operation result is directly determined to be empty, and subsequent steps are not required, which can save time for responding to the target editing instruction.
  • the embodiment of the present application provides a possible implementation manner, and after determining that the operation result is empty, further includes: prompting that the editing instruction is an invalid instruction in the current editing mode.
  • a prompt is given that the editing command is an invalid command in the current editing mode, for example, a prompt message is displayed on the editing interface of the scene editor.
  • the current editing mode is the animation editing mode
  • an object creation command is generated based on the user's trigger command, and the object creation cannot be performed in the animation editing mode, and the corresponding function module in the scene editor determines that the operation result is empty, and can be used in
  • the operation interface of the scene editor displays a prompt message "objects cannot be created in animation editing mode" to remind the user that the editing command is an invalid command in the current editing mode.
  • the prompt message can be in any form or content, and this embodiment of the application does not make any limit.
  • FIG. 6 it exemplarily shows a flow chart of another editing command response method.
  • an editing mode update command is received, and according to the editing mode update command, the editing mode of the scene editor is updated to In the current editing mode, it is then judged whether the permission to receive editing instructions is open.
  • the authority to edit instructions after receiving the target editing command for the scene object in the scene editor after opening the permission, obtain the command mapping table corresponding to the current editing mode, and determine from the command mapping table that the target editing command exists first An edit operation to be executed in a mapping relationship, if the edit operation to be executed is not empty, determine the function module that has a second mapping relationship with the edit operation to be executed from the instruction mapping table, and send the edit operation to be executed to the function module A module that instructs the functional module to execute the editing operation to be executed to obtain an operation result; if the editing operation to be executed is empty, directly determine that the operation result is empty, and prompt that the editing instruction is an invalid instruction in the current editing mode.
  • the embodiment of the present application provides an editing command response device 700, as shown in Figure 7, the device may include:
  • the current editing mode acquiring module 710 configured to acquire the current editing mode of the scene editor
  • the authority opening module 720 is used to open the authority to receive the editing instruction according to the acquired current editing mode of the scene editor, and the editing instruction is used to instruct to edit the scene object in the scene editor;
  • the editing operation to be executed determination module 730 is configured to determine the editing operation to be executed that has a mapping relationship with the editing instruction of the target in the current editing mode if the editing instruction of the target is received after the authorization is opened;
  • the operation result obtaining module 740 is configured to execute the editing operation to be performed on the scene object in the scene editor to obtain the operation result.
  • the embodiment of the present application provides a possible implementation.
  • the device further includes an edit mode update module, and the edit mode update module includes:
  • the edit mode update instruction receiving submodule is used to receive the edit mode update instruction, and the edit mode update instruction is used to instruct to update the edit mode of the scene editor to the current edit mode;
  • the edit mode update submodule is used to update the edit mode of the scene editor to the current edit mode according to the edit mode update command.
  • the edit mode update module also includes:
  • the data cache cleaning submodule is used to clean up the data cache of the scene editor before updating the editing mode of the scene editor to the current editing mode.
  • the authority open module which also includes:
  • An instruction mapping table acquisition submodule configured to obtain an instruction mapping table corresponding to the current editing mode;
  • the instruction mapping table includes at least one editing instruction identifiable in the current editing mode and editing operations to be executed that have a first mapping relationship with the editing instruction ;
  • the editing operation to be executed determining submodule is configured to determine the editing operation to be executed that has a first mapping relationship with the target editing instruction from the instruction mapping table.
  • the instruction mapping table also includes functional modules that have a second mapping relationship with each editing operation to be executed;
  • Operation result acquisition module including:
  • the first type of operation result acquisition sub-module is used to obtain the function module corresponding to the editing operation to be executed from the instruction mapping table if the editing operation to be executed is not empty, and instruct the function module to execute the editing operation to be executed on the scene object in the scene editor , to get the result of the operation.
  • the operation result obtaining module also includes:
  • the second type of operation result obtaining sub-module is configured to determine that the operation result is empty if the editing operation to be performed is empty.
  • the second type of operation result obtaining sub-module including:
  • the prompting unit is configured to prompt that the editing command is an invalid command in the current editing mode after it is determined that the operation result is empty.
  • the device for responding to an edit command provided by the embodiment of the present invention specifically executes the process of the above method embodiment.
  • the embodiment of the present invention obtains the current editing mode of the scene editor; according to the obtained current editing mode of the scene editor, the authority to receive editing instructions is released, and the editing instructions are used to instruct to edit the scene objects in the scene editor; if in After receiving the target editing instruction after opening the permission, determine the pending editing operation that has a mapping relationship with the target editing command in the current editing mode; execute the pending editing operation on the scene object in the scene editor to obtain the operation result.
  • the embodiment of the present application separates the judgment editing mode from the response editing instruction, so that no corresponding functional module is required to judge the current editing mode of the scene editor step by step according to the preset judgment order when responding to the editing instruction, which ensures the encapsulation of the code and reduces the Possibility of errors in response.
  • An embodiment of the present application provides an electronic device, the electronic device includes: a memory and a processor; at least one program is stored in the memory for execution by the processor.
  • the electronic device includes: a memory and a processor; at least one program is stored in the memory for execution by the processor.
  • it can be realized: by obtaining The current editing mode of the scene editor; according to the current editing mode of the scene editor, the permission to receive editing instructions is opened, and the editing instructions are used to instruct to edit the scene objects in the scene editor; if the target is received after the permission is opened If the editing instruction is used, the editing operation to be executed that has a mapping relationship with the target editing instruction is determined in the current editing mode; the editing operation to be executed is performed on the scene object in the scene editor to obtain the operation result.
  • the embodiment of the present application separates the judgment editing mode from the response editing instruction, so that no corresponding functional module is required to judge the current editing mode of the scene editor step by step according to the preset judgment order when responding to the editing instruction, which ensures the encapsulation of the code and reduces the Possibility of errors in response.
  • the electronic device 8000 shown in FIG. 8 includes: a processor 8001 and a memory 8003 .
  • the processor 8001 is connected to the memory 8003 , such as through a bus 8002 .
  • the electronic device 8000 may further include a transceiver 8004 . It should be noted that in practical applications, the transceiver 8004 is not limited to one, and the structure of the electronic device 8000 does not limit the embodiment of the present application.
  • Processor 8001 can be CPU (Central Processing Unit, central processing unit), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit, application specific integrated circuit), FPGA (Field Programmable Gate Array , Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor 8001 may also be a combination that implements computing functions, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
  • Bus 8002 may include a path for carrying information between the components described above.
  • the bus 8002 may be a PCI (Peripheral Component Interconnect, Peripheral Component Interconnect Standard) bus or an EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, etc.
  • the bus 8002 can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 8 , but it does not mean that there is only one bus or one type of bus.
  • Memory 8003 can be ROM (Read Only Memory, read-only memory) or other types of static storage devices that can store static information and instructions, RAM (Random Access Memory, random access memory) or other types of memory that can store information and instructions
  • a dynamic storage device can also be EEPROM (Electrically Erasable Programmable Read Only Memory, Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc ReadOnly Memory, CD-ROM) or other CD storage, CD storage (including compact CD , Laser Disc, Optical Disc, Digital Versatile Disc, Blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any Other media, but not limited to.
  • the memory 8003 is used to store the application program code for executing the solution of the present application, and the execution is controlled by the processor 8001 .
  • the processor 8001 is configured to execute the application program codes stored in the memory 8003, so as to implement the contents shown in the foregoing method embodiments.
  • An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when it is run on a computer, the computer can execute the corresponding content in the foregoing method embodiments.
  • the authority to receive editing instructions is opened, and the editing instructions are used to instruct to edit the scene objects in the scene editor ; If the target editing command is received after the permission is opened, determine the editing operation to be executed that has a mapping relationship with the target editing command in the current editing mode; execute the pending editing operation on the scene object in the scene editor to obtain the operation result.
  • the embodiment of the present application separates the judgment editing mode from the response editing instruction, so that no corresponding functional module is required to judge the current editing mode of the scene editor step by step according to the preset judgment order when responding to the editing instruction, which ensures the encapsulation of the code and reduces the Possibility of errors in response.
  • An embodiment of the present application provides a computer program, the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, when the processor of the computer device reads the computer instructions from the computer-readable storage medium, the processor Executing the computer instructions causes the computer device to execute the content shown in the foregoing method embodiments.
  • the authority to receive editing instructions is opened, and the editing instructions are used to instruct to edit the scene objects in the scene editor ; If the target editing command is received after the permission is opened, determine the editing operation to be executed that has a mapping relationship with the target editing command in the current editing mode; execute the pending editing operation on the scene object in the scene editor to obtain the operation result.
  • the embodiment of the present application separates the judgment editing mode from the response editing instruction, so that no corresponding functional module is required to judge the current editing mode of the scene editor step by step according to the preset judgment order when responding to the editing instruction, which ensures the encapsulation of the code and reduces the Possibility of errors in response.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

本申请实施例提供了一种编辑指令的响应方法,涉及数据处理技术领域。该方法包括:接收对场景编辑器中的场景对象的编辑指令;确定场景编辑器的当前编辑模式;获取场景编辑器的当前编辑模式;根据获取到场景编辑器的当前编辑模式,开放接收编辑指令的权限,编辑指令用于指示对场景编辑器中的场景对象进行编辑;若在开放权限后接收到目标编辑指令,则确定在当前编辑模式下,与目标编辑指令存在映射关系的待执行编辑操作;对场景编辑器中的场景对象执行待执行编辑操作获得操作结果。本申请实施例将判断编辑模式和响应编辑指令隔离,保证了代码的封装性,降低了响应出错的可能性。

Description

编辑指令的响应方法、装置、电子设备及存储介质 技术领域
本申请涉及数据处理技术领域,具体而言,本申请涉及一种编辑指令的响应方法、装置、电子设备及存储介质。
背景技术
在游戏制作领域中,场景编辑器可以用于编辑游戏中游戏资源,游戏资源主要包括场景和场景对象两类,其中场景是指游戏中的环境因素的抽象集合,场景对象位于场景中,可以指场景中的图像、角色、特效、UI等各类游戏元素。
现有技术中,场景编辑器在接收到对场景对象的编辑指令后,场景编辑器对编辑指令解析获得待执行编辑操作,再根据预设的判断顺序确定场景编辑器当前所处的编辑模式,并在当前编辑模式下执行待执行编辑操作输出操作结果。
具体而言,场景编辑器的预设的判断顺序为依次判断场景编辑器是否处于普通编辑模式、动画编辑模式、预制件编辑模式。假设编辑指令为创建物体指令,场景编辑器在接收到创建物体指令后会将该创建物体指令解析获得待执行编辑操作为创建物体的操作,然后判断场景编辑器当前是否处于普通模式(场景编辑器处于普通编辑模式下可创建物体),若场景编辑器处于普通编辑模式下,则执行创建物体的操作,创建一个新的物体,若不处于普通编辑模式下,则判断场景编辑器是否处于动画编辑模式(场景编辑器处于动画编辑模式下可创建物体),若场景编辑器处于动画编辑模式,则不创建新的物体;若场景编辑器不处于动画编辑模式,则判断场景编辑器是否处于预制件编辑模式,若场景编辑器处于预制件编辑模式(场景编辑器处于预制件编辑模式可创建物体),则创建新的物体。
在实际开发中,具体通过场景编辑器中的功能模块执行对应的待执行 编辑操作获得执行结果,并且功能模块还用于对当前编辑模式进行判断,这样就使得每增加一种编辑模式就会相应在功能模块中增加一层对编辑模式的判断步骤,进而很容易破坏功能模块的代码的封装性,导致响应出错。
发明内容
本发明实施例提供一种克服上述问题或者至少部分地解决上述问题的编辑指令的响应方法、装置、电子设备及存储介质。
第一方面,提供了一种编辑指令的响应方法,该方法包括:
获取场景编辑器的当前编辑模式;
根据获取到场景编辑器的当前编辑模式,开放接收编辑指令的权限,编辑指令用于指示对场景编辑器中的场景对象进行编辑;
若在开放权限后接收到目标编辑指令,则确定在当前编辑模式下,与目标编辑指令存在映射关系的待执行编辑操作;
对场景编辑器中的场景对象执行待执行编辑操作获得操作结果。
第二方面,提供了一种编辑指令的响应装置,该装置包括:
当前编辑模式获取模块,用于获取场景编辑器的当前编辑模式;
权限开放模块,用于根据获取到场景编辑器的当前编辑模式,开放接收编辑指令的权限,编辑指令用于指示对场景编辑器中的场景对象进行编辑;
待执行编辑操作确定模块,用于若在开放权限后接收到目标编辑指令,则确定在当前编辑模式下,与目标编辑指令存在映射关系的待执行编辑操作;
操作结果获得模块,用于对场景编辑器中的场景对象执行待执行编辑操作获得操作结果。
第三方面,本发明实施例提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时实现如第一方面所提供的方法的步骤。
第四方面,本发明实施例提供一种计算机可读存储介质,其上存储有 计算机程序,该计算机程序被处理器执行时实现如第一方面所提供的方法的步骤。
第五方面,本发明实施例提供一种计算机程序,该计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中,当计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行实现如第一方面所提供的方法的步骤。
本发明实施例提供的编辑指令的响应方法、装置、电子设备及存储介质,通过获取场景编辑器的当前编辑模式;根据获取到场景编辑器的当前编辑模式,开放接收编辑指令的权限,编辑指令用于指示对场景编辑器中的场景对象进行编辑;若在开放权限后接收到目标编辑指令,则确定在当前编辑模式下,与目标编辑指令存在映射关系的待执行编辑操作;对场景编辑器中的场景对象执行待执行编辑操作获得操作结果。本申请实施例将判断编辑模式和响应编辑指令隔离,使得响应编辑指令时无需对应的功能模块根据预设的判断顺序一步步判断场景编辑器当前的编辑模式,保证了代码的封装性,降低了响应出错的可能性。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍。
图1为本申请实施例提供的现有技术对场景编辑器中的场景对象的编辑指令的响应过程示意图;
图2为本申请实施例提供的现有技术响应创建物体指令的过程示意图;
图3为本申请实施例提供的一种编辑指令的响应方法示意图;
图4为本申请实施例提供的在普通编辑模式下响应目标编辑指令的流程图;
图5为本申请实施例提供的在动画编辑模式下响应目标编辑指令的流程图;
图6为本申请实施例提供的又一种编辑指令的响应方法流程图;
图7为本申请实施例提供的一种编辑指令的响应装置的结构示意图;
图8为本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
下面详细描述本申请的实施例,实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本发明的限制。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
首先对本申请涉及的几个名词进行介绍和解释:
场景编辑器,在游戏制作领域,场景编辑器可以用于编辑各种游戏资源,比如在场景编辑器中可以创建一个游戏角色,为该角游戏角色设计技能等,场景对象可以是指场景中的图像、角色、特效、UI等各类游戏元素,可以理解的是,游戏的制作过程实际上就是通过场景编辑器对各个场景对象的编辑过程。
模块程序化设计,是指进行程序设计时将一个程序按照功能划分为若干个程序模块,每个程序模块具备一个确定的功能,这个具备一个确定的功能的程序模块可称之为功能模块,此外,每个功能模块又可划分为若干 个功能子模块,每个功能子模块又可以划分为若干个功能单元,即将模块层层划分,需要强调的是,这些模块或子模块或单元之间可建立联系,通过相互协作实现一个完整的操作。
具体而言,例如,假设有一个功能模块为物体管理模块,物体管理模块用于管理整个物体的创建、修改、删除,可将该物体管理模块划分为物体创建子模块和物体修改子模块,其中,物体创建子模块用于对物体进行创建和删除,物体修改子模块用于对物体进行修改;物体创建子模块又可划分为物体创建单元和物体删除单元,其中物体创建单元用于创建一个新的物体,物体删除单元用于将已经存在的物体删除。
如图1所示,其示例性示出了现有技术对场景编辑器中的场景对象的响应过程示意图,接收对场景编辑器中的场景对象的编辑指令,将该编辑指令发送到对应的功能模块,功能模块先将该编辑指令解析获得待执行编辑操作,再根据预设的判断顺序确定场景编辑器所处的当前编辑模式,具体为:
先判断场景编辑器是否处于编辑模式1,若场景编辑器处于编辑模式1,则在编辑模式1下执行该待执行编辑操作,获得操作结果1;
若该场景编辑器不处于编辑模式1,判断场景编辑器是否处于编辑模式2,若场景编辑器处于编辑模式2,则在编辑模式2下执行该待执行编辑操作,获得操作结果2;
若该场景编辑器也不处于编辑模式2,判断场景编辑器是否处于编辑模式3,若场景编辑器处于编辑模式3,则在编辑模式3下执行该待执行编辑操作,获得操作结果3。
现通过一个具体的实施例来描述现有技术响应创建物体指令的过程示意图,如图2所示,假设在场景编辑器有三种编辑模式,分编为普通编辑模式、动画编辑模式以及预制件编辑模式,场景编辑器的预设的判断顺序为依次判断场景编辑器是否处于普通编辑模式、动画编辑模式、预制件编辑模式。假设编辑指令为物体创建指令,场景编辑器在接收到创建物体指令后会将该创建物体指令解析获得待执行编辑操作执行编辑操作为创建物体的操作,然后判断场景编辑器是否处于普通编辑模式,若场景编辑 器处于普通模式下,则执行创建物体的操作,创建一个新的物体A,若不处于普通模式下,则判断场景编辑器是否处于动画模式,若场景编辑器处于动画编辑模式,则不创建一个新的物体;若场景编辑器不处于动画编辑模式,则判断场景编辑器是否处于预制件编辑模式,若场景编辑器处于预制件编辑模式,则执行创建物体的操作,创建一个新的物体A’。
在实际开发中,具体通过场景编辑器中的功能模块执行对应的待执行编辑操作获得执行结果,并且功能模块还用于对当前编辑模式进行判断,这样就使得每增加一种编辑模式就会相应在功能模块中增加一层对编辑模式的判断步骤,进而很容易破坏功能模块的代码的封装性,导致响应出错。
本申请提供的编辑指令的响应方法、装置、电子设备和计算机可读存储介质,旨在解决现有技术的如上技术问题。
下面以具体的实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。
如图3所示,本申请实施例提供了一种编辑指令的响应方法,该方法包括:
步骤S301,获取场景编辑器的当前编辑模式。
本申请实施例的场景编辑器主要是对场景对象进行编辑,场景编辑器中的场景对象可以是场景编辑器中的任意物体,可以是图像、角色、特效、UI等各类游戏元素,也可以是线条、图标等元素,本申请实施例对要编辑的具体场景对象不作限制。
本申请实施例场景编辑器的当前编辑模式指场景编辑器在当前时刻所处的编辑模式,本申请实施例场景编辑器可包括多种编辑模式,例如普通编辑模式、动画编辑模式以及预制件编辑模式,不同的编辑模式具备的功能是不相同的,比如普通编辑模式可以创建、修改以及删除物体;动画编辑模式可以创建、修改以及删除动画;预制件编辑模式用于在创建、修改以及删除物体的同时,创建、修改和删除与该物体相关的预制件,其中, 预制件为预先设置的、可作为模板的场景对象。
具体而言,例如,在动画编辑模式不支持创建或删除物体的编辑操作,普通编辑模式和预制件编辑模式支持创建或删除物体的编辑操作,普通编辑模式和预制件编辑模式虽然支持创建或删除物体的编辑操作,但在普通编辑模式下创建或删除物体,创建或删除的是物体本身,而预制件编辑模式下创建或删除物体,创建或删除的不仅包括物体本身,还创建或删除和物体相关的预制件。
需要强调的是,本申请实施例场景编辑器在任意时刻处于一种编辑模式,在对场景编辑器中的场景对象进行编辑之前,可对场景编辑器的当前编辑模式进行更新,比如在场景编辑器的编辑界面直接选定某一编辑模式为当前编辑模式,或通过触碰切换控件确定切换的某一编辑模式为当前编辑模式,本申请实施例对此不作限制。
另外,本申请可设置模式管理器,通过模式管理器对场景编辑器的编辑模式进行管理,通过模式管理器控制当前编辑模式的切换,通过访问模式管理器直接确定当前编辑模式。
步骤S302,根据获取到场景编辑器的当前编辑模式,开放接收编辑指令的权限。
本申请实施例先确定场景编辑器的当前编辑模式,再接收对场景编辑器中的场景对象的编辑指令,响应对场景对象的编辑指令的前提是开放接收编辑指令的权限,在未开放接收编辑指令的权限时,若接收到对场景编辑器的编辑指令,则不响应该编辑指令,并显示提示信息,提示用户在未开放接收编辑指令的权限时,不可接收编辑指令。
具体地,可以在未开放接收编辑指令的权限时,直接将场景编辑器的编辑界面的编辑工具的灰度变暗,或在编辑界面显示提示消息提示用户在未开放接收编辑指令的权限时无法接收编辑指令,本申请实施例对具体如何提示用户在未开放接收编辑指令的权限时无法接收编辑指令不作限制。
本申请实施例可通过触发某一具体用于开放接收编辑指令的权限的控件来开放接收编辑指令的权限,也可设置在当前编辑模式存留的时间大于预设存留时间阈值时,自动开放接收编辑指令的权限,本申请实施例对 具体如何开放接收编辑指令的权限不作限制。
本申请实施例编辑指令用于指示对场景编辑器中的场景对象进行编辑,编辑指令可以是任何指令,比如创建物体指令、删除物体指令、撤销动画指令、更改指令以及替换指令等,编辑指令是根据用户在场景编辑器的编辑界面的实际操作对应生成的。
步骤S303,若在开放权限后接收到目标编辑指令,则确定在当前编辑模式下,与目标编辑指令存在映射关系的待执行编辑操作。
本申请实施例场景编辑器具备不同的编辑模式,场景编辑器在各个时刻只具备一种编辑模式,不同的编辑模式具备的功能可能是不相同的,比如在动画编辑模式不支持删除物体的编辑操作,普通编辑模式和预制件编辑模式支持删除物体的编辑操作,同一编辑操作在不同的编辑模式下得到的操作结果可能也不相同,比如在动画编辑模式下,编辑操作“撤销”针对的是一个“动画”的编辑操作,在普通编辑模式下,“撤销”针对的是一个物体的编辑操作,在预制件编辑模式下,“撤销”针对的是一个物体以及与该物体相关的预制件的编辑操作。
本申请实施例的目标编辑指令是基于用户的操作对应生成的,包括对场景对象进行增加、删除、修改和查找,比如用户通过鼠标选中“角色A”,则当用户触碰快捷键Delete意图将“角色A”删除时,就会基于用户通过Delete删除“角色A”的实际操作生成目标编辑指令“删除角色A”。
本申请实施例目标编辑指令和待执行编辑操作之间存在映射关系,在开放接收编辑指令的权限后,若接收到目标编辑指令,确定当前编辑模式下,基于目标编辑指令以及目标编辑指令与待执行编辑操作之间的映射关系,确定与目标编辑指令存在映射关系的待执行编辑操作。
具体而言,延续上例,目标编辑指令为“删除角色A”,基于“删除角色A”指令和与“删除角色A”指令与待执行编辑操作之间的映射关系,确定待执行编辑操作为“删除角色A”操作。
步骤S304,对场景编辑器中的场景对象执行待执行编辑操作获得操作结果。
本申请实施例在当前编辑模式下,确定与目标编辑指令存在映射关系 的待执行编辑操作,并对场景编辑器中的场景对象执行待执行编辑操作获得操作结果。
本申请实施例通过获取场景编辑器的当前编辑模式;根据获取到场景编辑器的当前编辑模式,开放接收编辑指令的权限,编辑指令用于指示对场景编辑器中的场景对象进行编辑;若在开放权限后接收到目标编辑指令,则确定在当前编辑模式下,与目标编辑指令存在映射关系的待执行编辑操作;对场景编辑器中的场景对象执行待执行编辑操作获得操作结果。本申请实施例将判断编辑模式和响应编辑指令隔离,使得响应编辑指令时无需对应的功能模块根据预设的判断顺序一步步判断场景编辑器当前的编辑模式,保证了代码的封装性,降低了响应出错的可能性。
本申请实施例提供了一种可能的实现方式,获取场景编辑器的当前编辑模式,之前还包括:
接收编辑模式更新指令,其中编辑模式更新指令用于指示将场景编辑器的编辑模式更新为当前编辑模式;
根据编辑模式更新指令,将场景编辑器的编辑模式更新为当前编辑模式。
本申请实施例编辑模式更新指令用于将场景编辑器的编辑模式进行更新,更新为当前编辑模式,当接收到编辑模式更新指令后,将场景编辑器的编辑模式更新为当前编辑模式。
本申请实施例编辑模式更新指令是基于用于的实际操作生成的,比如场景编辑器的编辑界面设置有更新或切换编辑模式的控件,假设当前编辑模式为预制件编辑模式,当用户通过鼠标触发普通编辑模式对应的控件时,模式管理器就会将当前编辑模式由预制件编辑模式切换为普通编辑模式;再比如用户通过鼠标触发预制件编辑模式对应的资源时,模式管理器会自动从当前编辑模式更新为预制件编辑模式,本申请实施例对具体如何更新编辑模式不作限制。
本申请实施例场景编辑器包括多种编辑模式,可以是预先定义的任何编辑模式,例如普通编辑模式、动画编辑模式以及预制件编辑模式等,另外,本申请实施例对场景编辑器拥有的具体编辑模式的数量不作限制。
本申请实施例场景编辑器的初始编辑模式可以设置为任何一种编辑模式,优选选择普通编辑模式。
本申请实施例场景编辑器设置有模式管理器,用于管理场景编辑器的编辑模式,模式管理器中存储有预先定义好的编辑模式,当满足编辑模式更新或切换条件时,模式管理器将会对场景编辑器的当前编辑模式进行更新或切换。
本申请实施例模式管理器在接收到编辑模式更新指令时,会检测该模式更新指令是否满足将当前编辑模式更新或切换到下一编辑模式的触发条件,若该编辑模式更新指令符合编辑模式更新触发条件,模式管理器就会将当前编辑模式进行更新。
具体而言,场景编辑器的当前编辑模式为动画编辑模式,用户可通过点击预制件编辑模式对应的控件将当前编辑模式由动画编辑模式更新为预制件编辑模式,通过点击普通编辑模式对应的控件将当前编辑模式由动画编辑模式更新为普通编辑模式,若用户意图将场景编辑器中的某个物体进行删除,假设动画编辑模式不能将物体进行删除,普通编辑模式和预制件编辑模式可将物体进行删除,则用户可通过触发各个编辑模式对应的控件,即可将当前编辑模式更新为切换到用户触发的控件对应的编辑模式,即实现了将当前编辑模式进行更新。
本申请实施例提供了一种可能的实现方式,在将场景编辑器的编辑模式更新为当前编辑模式之前,还包括:清理场景编辑器的数据缓存。
本申请实施例在将编辑模式进行更新之前,模式管理器还会清理更新的编辑模式的数据缓存,具体地,场景编辑器可以设置对应不同编辑模式的缓冲区,在接收到编辑模式更新指令后,若编辑模式更新指令符合条件,则会清理更新的编辑模式的数据缓存,一方面减少了对内存的占用,另一方面排除对更新后的编辑模式的数据缓存的干扰。
本申请实施例提供了一种可能的实现方式,确定在当前编辑模式下,与目标编辑指令存在映射关系的待执行编辑操作,包括:
获取当前编辑模式对应的指令映射表;指令映射表中包括在当前编辑模式下可识别的至少一个编辑指令以及与编辑指令存在第一映射关系的 待执行编辑操作;
从指令映射表中确定与目标编辑指令存在第一映射关系的待执行编辑操作。
本申请实施例提供了一种指令映射表,每种编辑模式均有对应的指令映射表,指令映射表中存在对应的编辑模式下可识别的至少一个编辑指令以及与编辑指令存在映射关系的待执行编辑操作。
值得注意的是,本申请实施例不同的编辑模式对应不同的功能,同一编辑指令在不同的指令映射表中对应的待执行编辑操作可能是不同的,执行待执行编辑操作获得的操作结果可能也是不同的,比如动画编辑模式下不能创建或删除物体,普通编辑模式或预制件编辑模式下可以创建或删除物体,但普通编辑模式下创建或删除的物体是物体本身,预制件编辑模式下创建或删除的是物体本身以及和物体本身相关的预制件。
本申请实施例在当前编辑模式在收到对场景对象的目标编辑指令后,会获取当前编辑模式对应的指令映射表,从该指令映射表中获取与该目标编辑指令存在第一映射关系的待执行编辑操作。
本申请实施例提供了一种可能的实现方式,指令映射表中还包括与各待执行编辑操作存在第二映射关系的功能模块;对场景编辑器中的场景对象执行待执行编辑操作获得操作结果,包括:
若待执行编辑操作非空,从指令映射表中获取待执行编辑操作对应的功能模块,指示功能模块对场景编辑器中的场景对象执行待执行编辑操作,获得操作结果。
本申请实施例指令映射表中还包括与各待执行编辑操作存在第二映射表的功能模块,功能模块用于执行待编辑操作获得操作结果。
本申请实施例可将场景编辑器划分为若干个具体的功能模块,各个功能模块具备独立的、具体的功能,例如将场景编辑器划分为动画模块、操作历史模块、预制件管理模块、资源管理模块、物体管理模块等,其中,动画管理模块用于管理场景编辑器中的动画设计;操作历史模块用户记录各个操作轨迹,满足用户的“撤销”操作;预制件管理模块用于管理预制件,支持对预制件的创建、删除、查找、修改以及保存;资源管理模块用 于查询编辑操作所需资源、建通资源的变动;物体管理模块用于管理场景编辑器中物体,支持对物体的创建、修改、删除、查找以及保存等,在此不再对其他功能模块的功能进行介绍,在实际应用中,可根据实际情况设计出不同的功能模块。
本申请实施例功能模块还可划分为若干功能子模块,功能模块或功能子模块之间相互协作,共同完成对待执行编辑操作的响应工作。
本申请实施例在接收到目标编辑指令后,会获取当前编辑模式对应的指令映射表,从指令映射表中确定出与目标编辑指令存在第一映射关系的待执行编辑操作,从指令映射表中确定出与待执行编辑操作存在第二映射关系的功能模块,功能模块用于执行待执行编辑操作获得操作结果。
若待执行编辑操作非空,则从指令映射表中获取与待执行编辑操作对应的功能模块,并将待执行编辑操作发送到该功能模块,指示该功能模块对场景编辑器中的场景对象执行该待执行编辑操作,获得操作结果。
具体地,如图4所示,其示例性示出了在普通编辑模式下响应目标编辑指令的流程图,整个流程为:确定场景编辑器的当前编辑模式为普通编辑模式,在普通编辑模式下,开放接收编辑指令的权限,在开放该编辑指令的权限后,若接收到的目标编辑指令为创建物体指令,则获取普通编辑模式对应的指令映射表,从该指令映射表查找与创建物体指令存在第一映射关系的待执行编辑操作,该待执行编辑操作为创建物体的操作,接着从该指令映射表中获取与创建物体的操作存在第二映射关系的功能模块,该功能模块为物体管理模块,则该创建物体的操作发送至物体管理模块,使得物体管理模块执行该创建物体的操作,创建一个新的物体。
本申请实施例提供了一种可能的实现方式,对场景编辑器中的场景对象执行待执行编辑操作获得操作结果,包括:
若待执行编辑操作为空,则确定操作结果为空。
本申请实施例在确定当前编辑模式后,开放接收编辑指令的权限,若接收到对场景编辑器中的场景对象的目标编辑指令,则获取该场景编辑器对应的指令映射表,从该指令映射表中获取与该目标编辑指令存在第一映射关系的待执行编辑操作,若该待执行编辑操作为空,无需再将为空的待 执行编辑操作发送到功能模块,待执行编辑操作为空表示在当前编辑模式下无法执行该待执行编辑操作,直接确定该编辑指令对应的操作结果为空。
具体地,如图5所示,其示例性示出了在动画编辑模式下响应目标编辑指令的流程图,整个流程为:确定场景编辑器的当前编辑模式为动画编辑模式,在动画编辑模式下,开放接收编辑指令的权限,在开放该编辑指令的权限后,若接收到的目标编辑指令为创建物体指令,则获取动画编辑模式对应的指令映射表,从该指令映射表查找与创建物体指令存在第一映射关系的待执行编辑操作,该指令映射表中创建物体指令存在第一映射关系的待执行编辑操作为空,直接确定操作结果为空。
本申请实施例在确定目标编辑指令对应的待执行编辑操作为空之后,直接确定操作结果为空,无需再进行后续步骤,可以节省响应该目标编辑指令的时间。
本申请实施例提供了一种可能的实现方式,再确定操作结果为空,之后还包括:提示编辑指令在当前编辑模式下为无效指令。
本申请实施例在确定操作结果为空之后,提示编辑指令在当前编辑模式下为无效指令,比如在场景编辑器的编辑界面显示提示信息。
具体地,假设当前编辑模式为动画编辑模式,基于用户的触发指令生成了创建物体指令,动画编辑模式下无法进行物体创建,场景编辑器中的对应的功能模块在确定操作结果为空,可在场景编辑器的操作界面显示“动画编辑模式下无法创建物体”的提示信息,以提示用户编辑指令在当前编辑模式下为无效指令,提示消息可以是任何形式或内容,本申请实施例对此不作限制。
如图6所示,其示例性示出了又一种编辑指令的响应方法流程图,如图6所示,接收编辑模式更新指令,根据编辑模式更新指令,将场景编辑器的编辑模式更新为当前编辑模式,然后判断是否开放接收编辑指令的权限,若在未开放接收编辑指令的权限下接收到目标编辑指令,则提示用户未开放接收编辑指令的权限下无法接收目标编辑指令;若开放接收编辑指令的权限,在开放该权限后接收到对场景编辑器中的场景对象的目标编辑指令,则获取当前编辑模式对应的指令映射表,从该指令映射表中确定与 该目标编辑指令存在第一映射关系的待执行编辑操作,若该待执行编辑操作非空,则从指令映射表中确定与该待执行编辑操作存在第二映射关系的功能模块,将该待执行编辑操作发送至该功能模块,指示该功能模块执行该待执行编辑操作,获得操作结果;若该待执行编辑操作为空,则直接确定操作结果为空,并提示该编辑指令在当前编辑模式下为无效指令。
本申请实施例提供了一种编辑指令的响应装置700,如图7所示,该装置可以包括:
当前编辑模式获取模块710,用于获取场景编辑器的当前编辑模式;
权限开放模块720,用于根据获取到场景编辑器的当前编辑模式,开放接收编辑指令的权限,编辑指令用于指示对场景编辑器中的场景对象进行编辑;
待执行编辑操作确定模块730,用于若在开放权限后接收到目标编辑指令,则确定在当前编辑模式下,与目标编辑指令存在映射关系的待执行编辑操作;
操作结果获得模块740,用于对场景编辑器中的场景对象执行待执行编辑操作获得操作结果。
本申请实施例提供了一种可能的实现方式,该装置还包括编辑模式更新模块,该编辑模式更新模块包括:
编辑模式更新指令接收子模块,用于接收编辑模式更新指令,编辑模式更新指令用于指示将场景编辑器的编辑模式更新为当前编辑模式;
编辑模式更新子模块,用于根据编辑模式更新指令,将场景编辑器的编辑模式更新为当前编辑模式。
本申请实施例提供了一种可能的实现方式,编辑模式更新模块还包括:
数据缓存清理子模块,用于在将场景编辑器的编辑模式更新为当前编辑模式之前,清理场景编辑器的数据缓存。
本申请实施例提供了一种可能的实现方式,权限开放模块,还包括:
指令映射表获取子模块,用于获取当前编辑模式对应的指令映射表;指令映射表中包括在当前编辑模式下可识别的至少一个编辑指令以及与编辑指令存在第一映射关系的待执行编辑操作;
待执行编辑操作确定子模块,用于从指令映射表中确定与目标编辑指令存在第一映射关系的待执行编辑操作。
本申请实施例提供了一种可能的实现方式,指令映射表中还包括与各待执行编辑操作存在第二映射关系的功能模块;
操作结果获得模块,包括:
第一类型操作结果获得子模块,用于若待执行编辑操作非空,从指令映射表中获取待执行编辑操作对应的功能模块,指示功能模块对场景编辑器中的场景对象执行待执行编辑操作,获得操作结果。
本申请实施例提供了一种可能的实现方式,操作结果获得模块,还包括:
第二类型操作结果获得子模块,用于若待执行编辑操作为空,则确定操作结果为空。
本申请实施例提供了一种可能的实现方式,第二类型操作结果获得子模块,包括:
提示单元,用于在确定操作结果为空之后,提示编辑指令在当前编辑模式下为无效指令。
本发明实施例提供的编辑指令的响应装置,具体执行上述方法实施例流程,具体请详见上述编辑指令的响应方法实施例的内容,在此不再赘述。本发明实施例通过获取场景编辑器的当前编辑模式;根据获取到场景编辑器的当前编辑模式,开放接收编辑指令的权限,编辑指令用于指示对场景编辑器中的场景对象进行编辑;若在开放权限后接收到目标编辑指令,则确定在当前编辑模式下,与目标编辑指令存在映射关系的待执行编辑操作;对场景编辑器中的场景对象执行待执行编辑操作获得操作结果。本申请实施例将判断编辑模式和响应编辑指令隔离,使得响应编辑指令时无需对应的功能模块根据预设的判断顺序一步步判断场景编辑器当前的编辑模式,保证了代码的封装性,降低了响应出错的可能性。
本申请实施例中提供了一种电子设备,该电子设备包括:存储器和处理器;至少一个程序,存储于存储器中,用于被处理器执行时,与现有技术相比可实现:通过获取场景编辑器的当前编辑模式;根据获取到场景编 辑器的当前编辑模式,开放接收编辑指令的权限,编辑指令用于指示对场景编辑器中的场景对象进行编辑;若在开放权限后接收到目标编辑指令,则确定在当前编辑模式下,与目标编辑指令存在映射关系的待执行编辑操作;对场景编辑器中的场景对象执行待执行编辑操作获得操作结果。本申请实施例将判断编辑模式和响应编辑指令隔离,使得响应编辑指令时无需对应的功能模块根据预设的判断顺序一步步判断场景编辑器当前的编辑模式,保证了代码的封装性,降低了响应出错的可能性。
在一个可选实施例中提供了一种电子设备,如图8所示,图8所示的电子设备8000包括:处理器8001和存储器8003。其中,处理器8001和存储器8003相连,如通过总线8002相连。可选地,电子设备8000还可以包括收发器8004。需要说明的是,实际应用中收发器8004不限于一个,该电子设备8000的结构并不构成对本申请实施例的限定。
处理器8001可以是CPU(Central Processing Unit,中央处理器),通用处理器,DSP(Digital Signal Processor,数据信号处理器),ASIC(Application Specific Integrated Circuit,专用集成电路),FPGA(Field Programmable Gate Array,现场可编程门阵列)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器8001也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。
总线8002可包括一通路,在上述组件之间传送信息。总线8002可以是PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。总线8002可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
存储器8003可以是ROM(Read Only Memory,只读存储器)或可存储静态信息和指令的其他类型的静态存储设备,RAM(Random Access Memory,随机存取存储器)或者可存储信息和指令的其他类型的动态存储设备,也可以是EEPROM(Electrically Erasable Programmable Read Only  Memory,电可擦可编程只读存储器)、CD-ROM(Compact Disc ReadOnly Memory,只读光盘)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。
存储器8003用于存储执行本申请方案的应用程序代码,并由处理器8001来控制执行。处理器8001用于执行存储器8003中存储的应用程序代码,以实现前述方法实施例所示的内容。
本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,当其在计算机上运行时,使得计算机可以执行前述方法实施例中相应内容。与现有技术相比,通过获取场景编辑器的当前编辑模式;根据获取到场景编辑器的当前编辑模式,开放接收编辑指令的权限,编辑指令用于指示对场景编辑器中的场景对象进行编辑;若在开放权限后接收到目标编辑指令,则确定在当前编辑模式下,与目标编辑指令存在映射关系的待执行编辑操作;对场景编辑器中的场景对象执行待执行编辑操作获得操作结果。本申请实施例将判断编辑模式和响应编辑指令隔离,使得响应编辑指令时无需对应的功能模块根据预设的判断顺序一步步判断场景编辑器当前的编辑模式,保证了代码的封装性,降低了响应出错的可能性。
本申请实施例提供了一种计算机程序,该计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中,当计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行如前述方法实施例所示的内容。与现有技术相比,通过获取场景编辑器的当前编辑模式;根据获取到场景编辑器的当前编辑模式,开放接收编辑指令的权限,编辑指令用于指示对场景编辑器中的场景对象进行编辑;若在开放权限后接收到目标编辑指令,则确定在当前编辑模式下,与目标编辑指令存在映射关系的待执行编辑操作;对场景编辑器中的场景对象执行待执行编辑操作获得操作结果。本申请实施例将判断编辑模式和响应编辑指令隔离,使得响应编辑指令时无需对应的功能模块根据预 设的判断顺序一步步判断场景编辑器当前的编辑模式,保证了代码的封装性,降低了响应出错的可能性。
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
以上仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (10)

  1. 一种编辑指令的响应方法,其特征在于,包括:
    获取场景编辑器的当前编辑模式;
    根据获取到所述场景编辑器的当前编辑模式,开放接收编辑指令的权限,所述编辑指令用于指示对所述场景编辑器中的场景对象进行编辑;
    若在开放所述权限后接收到目标编辑指令,则确定在所述当前编辑模式下,与所述目标编辑指令存在映射关系的待执行编辑操作;
    对所述场景编辑器中的场景对象执行所述待执行编辑操作获得操作结果。
  2. 根据权利要求1所述的编辑指令的响应方法,其特征在于,所述获取场景编辑器的当前编辑模式之前,所述方法还包括:
    接收编辑模式更新指令,所述编辑模式更新指令用于指示将所述场景编辑器的编辑模式更新为所述当前编辑模式;
    根据所述编辑模式更新指令,将所述场景编辑器的编辑模式更新为所述当前编辑模式。
  3. 根据权利要求2所述的编辑指令的响应方法,其特征在于,所述将所述场景编辑器的编辑模式更新为所述当前编辑模式之前,所述方法还包括:
    清理所述场景编辑器的数据缓存。
  4. 根据权利要求1所述的编辑指令的响应方法,其特征在于,所述确定在所述当前编辑模式下,与所述目标编辑指令存在映射关系的待执行编辑操作,包括:
    获取当前编辑模式对应的指令映射表;所述指令映射表中包括在当前编辑模式下可识别的至少一个编辑指令以及与所述编辑指令存在第一映射关系的待执行编辑操作;
    从所述指令映射表中确定与所述目标编辑指令存在第一映射关系的待执行编辑操作。
  5. 根据权利要求4所述的编辑指令的响应方法,其特征在于,所述 指令映射表中还包括与各待执行编辑操作存在第二映射关系的功能模块;
    所述对所述场景编辑器中的场景对象执行所述待执行编辑操作获得操作结果,包括:
    若所述待执行编辑操作非空,从所述指令映射表中获取所述待执行编辑操作对应的功能模块,指示所述功能模块对所述场景编辑器中的场景对象执行所述待执行编辑操作,获得操作结果。
  6. 根据权利要求4所述的编辑指令的响应方法,其特征在于,所述对所述场景编辑器中的场景对象执行所述待执行编辑操作获得操作结果,包括:
    若所述待执行编辑操作为空,则确定所述操作结果为空。
  7. 根据权利要求6所述的编辑指令的响应方法,其特征在于,所述确定操作结果为空之后,还包括:
    提示所述编辑指令在所述当前编辑模式下为无效指令。
  8. 一种编辑指令的响应装置,其特征在于,包括:
    当前编辑模式获取模块,用于获取场景编辑器的当前编辑模式;
    权限开放模块,用于根据获取到所述场景编辑器的当前编辑模式,开放接收编辑指令的权限,所述编辑指令用于指示对所述场景编辑器中的场景对象进行编辑;
    待执行编辑操作确定模块,用于若在开放所述权限后接收到目标编辑指令,则确定在所述当前编辑模式下,与所述目标编辑指令存在映射关系的待执行编辑操作;
    操作结果获得模块,用于对所述场景编辑器中的场景对象执行所述待执行编辑操作获得操作结果。
  9. 一种电子设备,包括存储器、处理器及存储在所述存储器上并在所述处理器上可运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至7任一项所述编辑指令的响应方法的步骤。
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求1至7中任意一项所述编辑指令的响应方法的步骤。
PCT/CN2021/119425 2021-09-18 2021-09-18 编辑指令的响应方法、装置、电子设备及存储介质 WO2023039898A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/119425 WO2023039898A1 (zh) 2021-09-18 2021-09-18 编辑指令的响应方法、装置、电子设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/119425 WO2023039898A1 (zh) 2021-09-18 2021-09-18 编辑指令的响应方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2023039898A1 true WO2023039898A1 (zh) 2023-03-23

Family

ID=85602334

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/119425 WO2023039898A1 (zh) 2021-09-18 2021-09-18 编辑指令的响应方法、装置、电子设备及存储介质

Country Status (1)

Country Link
WO (1) WO2023039898A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457054A (zh) * 2019-07-22 2019-11-15 珠海金山网络游戏科技有限公司 一种UnityNGUI控件锚点更新模式优化方法及装置
CN111552468A (zh) * 2020-04-26 2020-08-18 苏州沁游网络科技有限公司 一种基于Unity的预制件编辑方法、装置及存储介质
US20210157471A1 (en) * 2019-11-25 2021-05-27 Unity Technologies ApS Automatic translation of user interface elements from wireframe tools to production augmented reality framework

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457054A (zh) * 2019-07-22 2019-11-15 珠海金山网络游戏科技有限公司 一种UnityNGUI控件锚点更新模式优化方法及装置
US20210157471A1 (en) * 2019-11-25 2021-05-27 Unity Technologies ApS Automatic translation of user interface elements from wireframe tools to production augmented reality framework
CN111552468A (zh) * 2020-04-26 2020-08-18 苏州沁游网络科技有限公司 一种基于Unity的预制件编辑方法、装置及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
.: "Unity user's manual 2020.3 (LTS)", UNITY TECHNOLOGIES APS, 31 March 2020 (2020-03-31), pages 1 - 5, XP093049713, Retrieved from the Internet <URL:https://docs.unity.cn/cn/2020.3/Manual/EditingInPrefabMode.html> [retrieved on 20230525] *

Similar Documents

Publication Publication Date Title
JP6139673B2 (ja) ユーザインタフェース管理方法、ユーザインタフェース管理装置、プログラム及び記録媒体
US20150143272A1 (en) Method for performing batch management on desktop icon and digital mobile device
JP7150830B2 (ja) クライアントデバイスによって実施されるコンテンツ管理システムのワークフロー機能
AU2014275272B2 (en) Automated system for organizing presentation slides
WO2019000933A1 (zh) 信息显示方法、装置及计算机可读存储介质
US20130132447A1 (en) Document management apparatus improved in efficiency of deletion of files, method of controlling the same, and storage medium
US20160041953A1 (en) Inheritance of rules across hierarchical levels
CN108920725B (zh) 一种对象存储的方法及对象存储网关
JP2007052703A (ja) テストシナリオ作成プログラム、テストシナリオ作成装置、テストシナリオ作成方法
CN105302784A (zh) 复制/剪切和粘贴数据的方法和系统
US9165603B2 (en) Method and apparatus for grouping video tracks in a video editing timeline
US10216553B2 (en) Message oriented middleware with integrated rules engine
WO2017113317A1 (zh) 一种文件编辑方法和文件编辑器
CN111124371A (zh) 一种基于游戏的数据处理方法、装置、设备及存储介质
CN104731500A (zh) 一种信息处理方法及电子设备
WO2017101333A1 (zh) 列表项操作的处理方法和装置
WO2022135259A1 (zh) 语音输入方法、装置及电子设备
WO2018049879A1 (zh) 数据迁移方法及装置
JP2015095219A (ja) 情報処理装置、情報処理方法および記憶媒体
WO2023039898A1 (zh) 编辑指令的响应方法、装置、电子设备及存储介质
WO2012155844A1 (zh) 自动移除代码的方法及装置
CN106254245A (zh) 一种管理表项的方法及装置
JP2011141701A (ja) データ編集方法、データ編集プログラムおよびデータ編集装置
CN108255486B (zh) 用于表单设计的视图转换方法、装置和电子设备
CN103281458B (zh) 终端和事务项处理方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21957175

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE