CN110347327B - Item editing method and touch terminal - Google Patents

Item editing method and touch terminal Download PDF

Info

Publication number
CN110347327B
CN110347327B CN201910633399.XA CN201910633399A CN110347327B CN 110347327 B CN110347327 B CN 110347327B CN 201910633399 A CN201910633399 A CN 201910633399A CN 110347327 B CN110347327 B CN 110347327B
Authority
CN
China
Prior art keywords
sub
level
entry
copied
parent
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
CN201910633399.XA
Other languages
Chinese (zh)
Other versions
CN110347327A (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 CN201910633399.XA priority Critical patent/CN110347327B/en
Publication of CN110347327A publication Critical patent/CN110347327A/en
Application granted granted Critical
Publication of CN110347327B publication Critical patent/CN110347327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides an entry editing method and a touch terminal, relates to the technical field of human-computer interaction, and can solve the technical problem of low editing efficiency aiming at entries. The specific scheme is as follows: determining a first sub-level entry to be copied in response to a copy triggering operation in a sub-level region, wherein the first sub-level entry corresponds to a first parent-level entry; responding to a first selection operation aiming at the parent-level area, determining a second parent-level item, and displaying a second sub-level item corresponding to the second parent-level item in the sub-level area; and responding to the pasting trigger operation aiming at the sub-level area, determining a pasting position, and pasting the first sub-level item to be copied at the pasting position.

Description

Item editing method and touch terminal
Technical Field
The application relates to the technical field of human-computer interaction, in particular to an item editing method and a touch terminal.
Background
With the development of science and technology, various mobile terminals have come into operation. Mobile terminals are providing increasingly higher levels of functionality to support modern life.
When editing an entry using a mobile terminal, only functions such as new creation or deletion are usually provided, but copying is usually required for more efficient editing.
In a current implementation, an item to be copied is selected first, then a copy operation is triggered, and a new item identical to the selected item is copied behind the selected item. However, this method is relatively rigid and has a limited improvement in editing efficiency.
Disclosure of Invention
The application aims to provide an item editing method and a touch terminal so as to solve the technical problem of low item editing efficiency.
In a first aspect, an embodiment of the present application provides an item editing method. The touch control terminal is applied to a touch control terminal capable of presenting a graphical user interface, wherein the graphical user interface comprises a parent level area and a child level area, the parent level area is used for displaying parent level items, and the child level area is used for displaying child level items corresponding to the parent level items; the method comprises the following steps: determining a first sub-level entry to be copied in response to a copy triggering operation in a sub-level region, wherein the first sub-level entry corresponds to a first parent-level entry; responding to a first selection operation aiming at the parent-level area, determining a second parent-level item, and displaying a second sub-level item corresponding to the second parent-level item in the sub-level area; and responding to the pasting trigger operation aiming at the sub-level area, determining a pasting position, and pasting the first sub-level item to be copied at the pasting position.
In some embodiments, the first sub-level entry comprises a sub-entry of the first sub-level entry.
In some embodiments, the determining, in response to the copy trigger operation in the sub-level region, a first sub-level entry to be copied comprises: in response to a second selection operation in the sub-level region, selecting the first sub-level entry to be copied and providing a copy button in the sub-level region; determining the first sub-level entry to be copied in response to a copy trigger operation for the sub-level region.
In some embodiments, the sub-level entries have an entry category, the method further comprising: the sub-level region includes a category label for indicating the category of the item; the sub-level entries are received under the category labels corresponding to entry categories of the sub-level entries.
In some embodiments, the parent tier comprises at least one trigger entry; the category label includes at least one of: event category label, action category label, condition category label.
In some embodiments, said displaying, in the sub-level region, a second sub-level entry corresponding to the second parent-level entry includes: in the sub-level area, setting a target second sub-level entry of the second sub-level entries, which is the same as the category of the first sub-level entry to be copied, to be in a selectable state.
In some embodiments, the method further comprises: if the target second sub-level entry with the same category as the first sub-level entry to be copied does not exist in the second sub-level entry, in the sub-level area, setting a target category label with the same category as the first sub-level entry to be copied as a selectable state.
In some embodiments, further comprising: and providing a pasting button at a preset position of the target class label.
In some embodiments, the determining a paste location in response to a paste trigger operation for the sub-level region, the pasting the first sub-level entry to be copied at the paste location includes: responding to the pasting trigger operation aiming at the pasting button, and determining a preset area under the target type label as a pasting position; and pasting the first sub-level entry to be copied in the preset area.
In some embodiments, the determining a paste location in response to a paste trigger operation for the sub-level region, the pasting the first sub-level entry to be copied at the paste location includes: responding to a pasting triggering operation aiming at the target second sublayer item in the sublayer region, and determining a preset region around the target second sublayer item corresponding to the triggering operation as a pasting position; pasting the first sub-level item to be copied in the preset area; or, in response to a paste trigger operation for the target second sub-layer entry in the sub-layer region, determining that a region where the target second sub-layer entry corresponding to the trigger operation is located is a paste position; and pasting the first sub-level entry to be copied in the area.
In some embodiments, said displaying, in the sub-level region, a second sub-level entry corresponding to the second parent-level entry includes: in the sub-level area, setting non-target second sub-level entries, which are different from the first sub-level entries to be copied, in the second sub-level entries to be in an unselected state; and the items in the non-selectable state are correspondingly displayed with first prompt information, and the first prompt information comprises character prompt information or distinguishing display information.
In some embodiments, further comprising: and responding to the pasting trigger operation aiming at the non-target second sub-level item, and displaying second prompt information, wherein the second prompt information is used for prompting that the non-target second sub-level item is in an unselected state.
In some embodiments, the first sub-level entry is plural in number; the response to the copy trigger operation in the sub-level region, determining that the first level entry to be copied comprises: in response to a third selection operation for the sub-level region, selecting a plurality of first sub-level entries, and generating an option list in the sub-level region according to the selected first sub-level entries; and determining the first sub-layer level entry to be copied in response to the copying triggering operation acting on the option list.
In some embodiments, after determining a pasting position in response to the pasting trigger operation for the sub-level region and pasting the first sub-level entry to be copied at the pasting position, the method further includes: and deleting the first-level entry to be copied in the first-level entries corresponding to the first parent-level entry.
In some embodiments, further comprising: determining a third sub-level entry to be copied in response to a copy triggering operation in the sub-level region, wherein the third sub-level entry corresponds to a third parent-level entry; copying the third sub-level entry to be copied as a new sub-level entry after the third sub-level entry to be copied.
In some embodiments, further comprising: determining a fourth sub-level entry to be inserted in response to an insertion trigger operation for the sub-level region, the fourth sub-level entry corresponding to a fourth parent-level entry; inserting blank sub-level entries of the same category after the fourth sub-level entry to be inserted.
In some embodiments, in the sub-level region, sub-level entries are arranged in order from top to bottom, the method further comprising: in response to a drag operation for a sub-level region, determining a fifth sub-level entry corresponding to a start position of the drag operation and a sixth sub-level entry corresponding to an abort position, the fifth and sixth sub-level entries corresponding to a fifth parent level entry; replacing the position of the fifth sub-layer level entry or the sixth sub-layer level entry, or moving the fifth sub-layer level entry to the position of the sixth sub-layer level entry, and sequentially moving the sixth sub-layer level entry and sub-layer level entries subsequent to the sixth entry down by one position.
In a second aspect, a touch terminal is provided. A graphical user interface can be presented, the graphical user interface including a parent hierarchical region and a child hierarchical region, wherein the parent hierarchical region is configured to display parent hierarchical entries and the child hierarchical region is configured to display child hierarchical entries corresponding to the parent hierarchical entries; the touch terminal comprises: a response unit, configured to determine, in response to a copy trigger operation for a sub-level region, a first sub-level entry to be copied, where the first sub-level entry corresponds to a first parent-level entry; the response unit is further configured to determine a second parent-level entry in response to a first selection operation for the parent-level region; a display unit, configured to display, in the sub-hierarchy region, a second sub-hierarchy entry corresponding to the second parent-hierarchy entry; the response unit is further used for responding to the pasting triggering operation aiming at the sub-layer area and determining a pasting position; and the pasting unit is used for pasting the first sub-level item to be copied at the pasting position.
In a third aspect, embodiments of the present application provide a computer-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to perform the method of the first aspect.
The embodiment of the application brings the following beneficial effects:
according to the entry editing method and the touch terminal, when the entry is copied and pasted, the selection of the entry of the sub-level to be copied is realized by responding to the copying trigger operation, the first selection operation and the pasting trigger operation, the pasting position is selected across the parent level, the cross-level copying and pasting are realized, the editing is more convenient and fast, and the editing efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments or the items in the prior art are briefly described below, and it is obvious that the drawings in the items below are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 illustrates an application scenario diagram provided in an embodiment of the present application;
fig. 2 shows a schematic structural diagram of a mobile phone provided in an embodiment of the present application;
fig. 3 is a schematic view illustrating a usage scenario of a touch terminal according to an embodiment of the present application;
FIG. 4 is a flow chart illustrating a method for editing an item according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a touch terminal for displaying a graphical user interface according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a touch terminal for displaying a graphical user interface according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a touch terminal for displaying a graphical user interface according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of a touch terminal for displaying a graphical user interface according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of a touch terminal for displaying a graphical user interface according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram of a touch terminal for displaying a graphical user interface according to an embodiment of the present application;
fig. 11 shows a schematic structural diagram of a touch terminal provided in an embodiment of the present application.
Detailed Description
The technical solutions of the present application will be clearly and completely described below with reference to the following embodiments, and it should be understood that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "comprises" and "comprising," and any variations thereof, as referred to in the context of items of the embodiments of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the application provides an item editing method and a touch terminal. When the method is used for editing the entries, copying and pasting across parent levels can be realized, and the editing efficiency can be improved.
The entry editing method in the embodiment of the application can be applied to a touch terminal. The touch terminal comprises a touch screen and a processor, wherein the touch screen is used for presenting a graphical user interface and receiving operation aiming at the graphical user interface.
In some embodiments, when the graphical user interface is edited by the touch terminal, the graphical user interface may be used to edit the content local to the touch terminal, and may also be used to edit the content of the peer server.
For example, as shown in fig. 1, fig. 1 is a schematic view of an application scenario provided in the embodiment of the present application. The application scenario may include a touch terminal (e.g., a cell phone 102) and a server 101, and the touch terminal may communicate with the server 101 through a wired network or a wireless network. The touch terminal is used for operating a virtual desktop, and can interact with the server 101 through the virtual desktop to edit the content in the server 101.
The touch terminal of the present embodiment is described by taking the mobile phone 102 as an example. The handset 102 includes, among other components, RF (Radio Frequency) circuitry 110, memory 120, a touch screen 130, and a processor 140. Those skilled in the art will appreciate that the handset configuration shown in fig. 2 is not intended to be limiting and may include more or fewer components than those shown, or may combine certain components, or split certain components, or arranged in different components. Those skilled in the art will appreciate that the touch screen 130 is part of a User Interface (UI) and that the cell phone 102 may include fewer than or the same User Interface as illustrated.
The RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 120 may be used to store software programs and modules, and the processor 140 executes various functional applications and data processing of the handset 102 by executing the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the stored data area may store data created from use of the handset 102, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The touch screen 130 may be used to display a graphical user interface and receive user operations with respect to the graphical user interface. A particular touch screen 130 may include a display panel and a touch panel. The Display panel may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), and the like. The touch panel may collect contact or non-contact operations of a user on or near the touch panel (for example, as shown in fig. 3, operations of the user on or near the touch panel using any suitable object or accessory such as a finger 103, a stylus pen, etc.), and generate preset operation instructions. In addition, the touch panel may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction and gesture of a user, detects signals brought by touch operation and transmits the signals to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into information that can be processed by the processor, sends the information to the processor 140, and receives and executes a command sent by the processor 140. In addition, the touch panel may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, a surface acoustic wave, and the like, and may also be implemented by any technology developed in the future. Further, the touch panel may cover the display panel, a user may operate on or near the touch panel covered on the display panel according to a graphical user interface displayed by the display panel, the touch panel detects an operation thereon or nearby and transmits the operation to the processor 140 to determine a user input, and the processor 140 provides a corresponding visual output on the display panel in response to the user input. In addition, the touch panel and the display panel can be realized as two independent components or can be integrated.
The processor 140 is the control center of the handset 102, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the handset 100 and processes data by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the handset.
The handset 102 also includes a power supply (e.g., a battery) for powering the various components, which may be logically coupled to the processor 140 via a power management system to manage charging, discharging, and power consumption via the power management system.
To facilitate understanding of the present embodiment, first, a detailed description is given of an entry editing method and a touch terminal disclosed in the embodiments of the present application.
Fig. 4 is a flowchart illustrating an entry editing method according to an embodiment of the present application. The method is applied to a touch terminal (such as the mobile phone 102 shown in fig. 2) capable of presenting a graphical user interface, wherein the graphical user interface comprises a parent hierarchical region and a child hierarchical region, the parent hierarchical region is used for displaying parent hierarchical items, and the child hierarchical region is used for displaying child hierarchical items corresponding to the parent hierarchical items. As shown in fig. 4, the method includes:
s410: in response to a copy trigger operation for a sub-level region, a first sub-level entry to be copied is determined. Wherein the first sub-level entry corresponds to the first parent level entry.
The graphical interface of the embodiment of the application may be a graphical user interface of a game editor, a parent level entry included in the game editor may be a trigger entry, and a trigger entry established using the editor may be displayed in a parent level area, where the parent level entry may be multiple. For example, as shown in FIG. 5, in a graphical user interface 500 of a game editor, the parent-level entries may be an established first trigger entry 511 and second trigger entry 512, with the first trigger entry 511 and second trigger entry 512 displayed in a parent-level area 510. In other embodiments, a user may custom group multiple trigger entries, or group multiple trigger entries according to system preset logic.
The game editor is mainly used for editing the game logic, and the game logic can be changed by changing the items through the editor.
For established parent-level entries displayed in the parent-level area, if there are multiple parent-level entries, the user may select one of the multiple parent-level entries, so as to display a sub-level entry corresponding to the selected parent-level entry in the sub-level area. For example, as shown in fig. 5, in the graphical user interface 500 of the game editor, after the user selects the first trigger entry 511, the first sub-hierarchy entry corresponding to the first trigger entry 511 is displayed in the sub-hierarchy area.
In particular implementations, the sub-level entry included in the game editor may have an entry category, and the sub-level area may include a category label for indicating the entry category, the sub-level entry being received under the category label corresponding to the entry category of the sub-level entry. As shown in fig. 5, in the sub-level area 520, a category label 521 is included, and sub-level entries are received in the category label 521; a category label 522, and sub-level entries received in the category label 522; a category label 523, and sub-level entries that are received in the category label 523. For example, as shown in fig. 5, in the graphical user interface 500 of the game editor, the first trigger entry 511 corresponds to a plurality of first sub-level entries, such as a first sub-level entry 561, different first sub-level entries may have different entry categories, which may be indicated by category labels, as shown, the first sub-level entry 561 and the first sub-level entry 562 have different entry categories, the first sub-level entry 561 being received in the category label 521, and the first sub-level entry 562 being received in the category label 523.
As another example, for a game editor, the entry categories include at least one of: event type, action type, condition type. Correspondingly, the category label includes at least one of the following: event category label, action category label, condition category label.
In this exemplary embodiment, determining, in response to a copy trigger operation for a sub-level region, a first sub-level entry to be copied, where the first sub-level entry corresponds to a first parent-level entry, includes: in response to a copy trigger operation for an established first sub-level entry displayed in the sub-level region, a first sub-level entry to be copied is determined among the first sub-level entries.
Specifically, the user may select one of the first sub-level entries, and trigger the copy instruction through the copy triggering operation, and the touch terminal determines that the first sub-level entry targeted by the copy triggering operation is the first sub-level entry to be copied. For example, as shown in fig. 5, in the graphical user interface 500 of the game editor, a user may select a first sub-level entry 561 from a plurality of first sub-level entries received in the category tag 521 through a copy trigger operation, and trigger a copy instruction for the first sub-level entry 561, and the touch terminal determines, in response to the copy trigger operation, that the first sub-level entry 561 corresponding to the copy trigger operation is the first sub-level entry 561 to be copied.
In a specific implementation, since the category label and the sub-level entry have a corresponding relationship, if the user selects the category label and triggers a copy instruction, all sub-level entries stored under the category label may be determined as the first sub-level entry to be copied.
In addition, the copy trigger operation may include a variety of implementations:
in an example one, the copy triggering operation is a touch operation in which the touch time is greater than a preset duration, or the touch pressure is greater than a preset pressure, specifically, if it is detected that a touch point of the touch operation is located at a position corresponding to the first sub-level entry 561, and the touch time is greater than the preset duration, or the touch pressure is greater than the preset pressure, it is determined that the first sub-level entry 561 is a first sub-level entry to be copied, that is, a long-press or re-press triggering copy instruction;
in the second example, the copy triggering operation is the end of the touch operation, specifically, if it is detected that the touch point of the touch operation is located at the position corresponding to the first sub-level entry 561 and leaves, or leaves after a period of time, it is determined that the first sub-level entry 561 is the first sub-level entry to be copied, that is, a click-triggered copy instruction;
in the third example, the copy triggering operation is a touch operation applied to a specific control, specifically, in response to a second selection operation (for example, a click, a long press, or a re-press operation) applied to a position corresponding to the first sub-level entry 561, the first sub-level entry 561 is selected, a "copy" button is provided in the sub-level area, and if a touch operation (for example, a click, a long press, or a re-press) in which a touch point of the touch operation is located on the "copy" button is detected, the first sub-level entry 561 is determined to be the first sub-level entry to be copied, that is, the copy instruction is triggered to be completed by two operations.
In addition, the first sub-level item to be copied can be displayed in a distinguishing manner, for example, highlighted, so that the user can quickly and accurately judge whether the first sub-level item to be copied is accurate or not.
In particular implementations, the first sub-level entry may include sub-entries of the first sub-level entry. For example, a first sub-hierarchy entry includes data having a hierarchical relationship, then a replication instruction for that first sub-hierarchy may be considered a replication instruction for the entire hierarchically-related data. Of course, in a particular implementation, the first sub-level entry may not include sub-entries of the first sub-level entry.
After the first sub-level entry to be copied is selected through the above step S410, the paste position needs to be determined, which is specifically realized through the following steps S420 to S430.
S420: and in response to the first selection operation aiming at the parent hierarchical region, determining a second parent hierarchical entry, and displaying a second sub-hierarchical entry corresponding to the second parent hierarchical entry in the sub-hierarchical region.
After determining the first sub-level entry to copy, a paste location may be selected. In determining the paste location, the parent tier entry to paste to may be determined first.
For example, as shown in fig. 5, in the graphical user interface 500 of the game editor, the first sub-level entry to be copied is determined to be a first sub-level entry 561 corresponding to the first trigger entry 511; the user may perform a first selection operation at the parent hierarchical region, the first selection operation being directed to the second trigger entry 512; as shown in fig. 6, in response to the first selection operation for the parent hierarchical region, the touch terminal determines a second trigger entry 512, and displays a second sub-hierarchical entry corresponding to the second trigger entry 512 in the sub-hierarchical region, for example, a second sub-hierarchical entry 632.
S130: and determining a pasting position in response to the pasting triggering operation aiming at the sub-level area, and pasting the first sub-level item to be copied at the pasting position.
After the second parent-level entry is selected, a paste location may be selected according to a paste trigger operation for the sub-level region. In determining the paste location, a reference to the paste location, i.e., the second sub-level entry, may be determined.
For example, as shown in fig. 6, the selected second parent-level entry is a second trigger entry 512, where the trigger entry 512 includes a category label 621, a category label 622, and a category label 623, and a second sub-level entry 631, a second sub-level entry 632, and a second sub-level entry 633 that are received in the category label 621; a second sub-level entry 641 housed in the category label 622; the category label 623 does not have an established sub-level entry.
Example one, a user may determine a target category label in the category labels, and at this time, in response to a pasting trigger operation for the target category label, determine a preset area under the target category label as a pasting position; and pasting a first sub-hierarchy entry to be copied in a preset area of the target class label. After pasting, the first sub-level entry to be copied may be displayed under the target category label in the sub-level region. For example, a paste button is provided at a preset position of the target category label; determining a pasting position in response to a pasting triggering operation aiming at the sub-level area, and pasting a first sub-level item to be copied at the pasting position, wherein the pasting position comprises the following steps: responding to the pasting triggering operation aiming at the pasting button, and determining a preset area under the target class label as a pasting position; and pasting a first sub-hierarchy entry to be copied in the preset area. The paste button may be resident in the display, or may be displayed after the category label or the second sub-level entry is selected. For example, after the operation point of the paste trigger operation is detected to be located at the position of the category label or the second sub-level entry for the specified time, or after the operation point is detected to be located at the position of the second sub-level entry for the specified time, or after the operation point is detected to be away from the specified time, the category label where the operation point is located is determined to be the target category label, or the category label corresponding to the second sub-level entry where the operation point is located is determined to be the target category label, and the paste button is displayed at the preset position of the target.
The sub-level items may be arranged in sequence from top to bottom under the category label, and based on this, the preset area of the target category label may be the last, foremost, or any designated position of all established sub-level items corresponding to the target category label.
For example, as shown in fig. 6, the selected second parent-level entry is a second trigger entry 512, where the second trigger entry 512 includes a category label 621, a category label 622, and a category label 623, and a second sub-level entry 631, a second sub-level entry 632, and a second sub-level entry 633 that are received in the category label 621; a second sub-level entry 641 housed in the category label 622; the category label 623 does not have an established second sub-level entry.
In an alternative embodiment of the present disclosure, if the target category label is determined to be the category label 621, the pasting position of the first sub-level entry 561 to be copied may be a position before the sub-level entry 631, a position after the sub-level entry 633, or an arbitrary position.
In another optional embodiment of the present disclosure, it is determined that the target category label is the category label 623, then the paste position of the first sub-level entry 561 to be copied may be under the category label 623.
Example two, the user may select a target second-sub-level entry from the second-sub-level entries, at this time, in response to a paste trigger operation for the sub-level area, determine a paste location, and paste the first-sub-level entry to be copied at the paste location, including: responding to a pasting triggering operation aiming at a target second sublayer item in the sublayer area, and determining a preset area around the target second sublayer item corresponding to the operation point of the triggering operation as a pasting position; and pasting a first sub-level entry to be copied in the preset area. Or, in response to a paste trigger operation for a target second sub-layer entry in the sub-layer region, determining that a region where the target second sub-layer entry corresponding to the trigger operation is located is a paste position; the first sub-level entry to be copied is pasted in this area. In this embodiment, the target second-sublayer entry is an entry that satisfies a preset condition in the second-sublayer entries, for example, the target second-sublayer entry is a second-sublayer entry of the same type as the first-sublayer entry to be copied.
The second sub-level entries may be sequentially arranged in the sub-level area from top to bottom, and the preset area around the target second sub-level entry may include a position behind or a position ahead of the target second sub-level entry.
For example, as shown in fig. 6, in response to a paste trigger operation for a target second-sub-level entry 632 in the sub-level region, the paste location of the first-sub-level entry 561 to be copied may be a location between the second-sub-level entry 631 and the second-sub-level entry 632, or a location between the second-sub-level entry 632 and the second-sub-level entry 633.
In addition, the paste trigger operation may include various implementations:
in an example one, the paste trigger operation is a touch operation in which the touch time is greater than a preset time length or the touch pressure is greater than a preset pressure, specifically, if it is detected that a touch point of the touch operation is located in an area corresponding to the category label or the second sub-level item, and the touch time is greater than the preset time length or the touch pressure is greater than the preset pressure, the paste position is determined, and the first sub-level item to be copied is pasted at the paste position, that is, the long-press or the re-press trigger paste instruction;
example two, the pasting triggering operation is the end of the touch operation, specifically, if it is detected that the touch point of the touch operation is in the area corresponding to the category label or the second sub-level entry and leaves, or leaves after a period of time, the pasting position is determined, and the first sub-level entry to be copied is pasted at the pasting position, that is, the pasting triggering instruction is clicked;
in an example three, the paste trigger operation is a touch operation applied to a specific control, specifically, in response to a fourth selection operation (for example, a click operation, a long press operation or a re-press operation) applied to a category label or an area corresponding to the second sub-level entry, the paste position is selected, a paste button is provided in the sub-level area, a touch point of the touch operation is detected to be located in the touch operation (which may be a click operation, a long press operation or a re-press operation) of the paste button, the paste position is determined, and the first sub-level entry to be copied is pasted in the paste position, that is, the paste instruction is completed through two operations.
In addition, in an alternative embodiment, the target category label may be determined according to the following steps in addition to the operation of the user's touch:
acquiring the item type of a first sub-level item to be copied; and determining the class label which is the same as the class of the first sub-layer level entry to be copied as a target class label.
When the entries are copied and pasted, the selection of the entries of the copy sub-hierarchy is treated by responding to the copying triggering operation, the first selecting operation and the pasting triggering operation, the pasting position is selected across the father hierarchy, the cross-hierarchy copying and pasting are achieved, the editing is more convenient and fast, and the editing efficiency is improved.
In particular, in order to further improve the editing efficiency, some special settings may be performed.
In one example, displaying a second sub-level entry corresponding to a second parent-level entry in the sub-level region includes: in the sub-level area, a target second sub-level entry of the second sub-level entries, which is of the same category as the first sub-level entry to be copied, is set to a selectable state.
In another example, the method further comprises: if the second sub-level entry does not have a target second sub-level entry with the same category as the first sub-level entry to be copied, in the sub-level area, a target category label with the same category as the first sub-level entry to be copied is set to be in a selectable state.
In another example, the method further comprises: in the sub-level area, setting non-target second sub-level entries, which are different from the category of the first sub-level entries to be copied, in the second sub-level entries to be in a non-selectable state; optionally, a first prompt message is correspondingly displayed on the non-target second sub-level entry in the non-selectable state, where the first prompt message includes a text prompt message or a differential display message.
Wherein the non-selectable state may include a non-responsive operation; or responding to the operation but not executing, and only displaying the prompt message. For example, in response to a paste trigger operation for the non-target second-sublayer item, second prompt information for prompting that the non-target second-sublayer item is in an unselected state is displayed.
In addition, the selectable state may be understood as an editable state, and in this embodiment, the selectable state may be a state allowing a paste operation. The selectable status may be prompted by text or a special display. For example, when clicking or swiping a region of a node of a selectable state, the region may be highlighted, including but not limited to flashing, highlighting, graying, changing color, and the like.
In addition, the item in the non-selectable state is correspondingly displayed with first prompt information, and the first prompt information comprises character prompt information or distinguishing display information; for example, the text prompt message may be a prompt such as "different category", "paste prohibited", "not selectable", and the like. The distinctive display information may include a color change of the layer display of the designated area, such as color graying, color lightening, and the like, or may be an area in which a font, a font size, and the like of the layer display area are changed to exhibit the unselected state is different from the selectable state.
According to the embodiment of the invention, the difference between the selectable state and the unselected state is more visually highlighted through obvious comparison of gray level, highlight and the like, so that a user can more quickly distinguish the unselected state nodes from the selectable state nodes and prompt the user which nodes cannot be pasted, and the user can conveniently and accurately select the nodes to be pasted so as to improve the data editing efficiency.
In some embodiments, when selectively copying the first sub-level entry, all fields of the first sub-level entry to be copied may be selected, or a part of fields of the copied first sub-level entry may be selected. Therefore, the first sub-level entry to be copied in this step may be all fields of the copied first sub-level entry or may be partial fields of the copied first sub-level entry. Based on this, the step S410 further includes:
step A: in response to a second selection operation directed to the sub-level region, selecting a first sub-level entry to be copied and providing a copy button in the sub-level region;
and B: in response to a copy trigger operation for a sub-level region, a first sub-level entry to be copied is determined.
For step a, according to a second selection operation of the user, a part or all of fields of the first sub-level entry to be copied may be determined from the first sub-level entry, and a prompt message indicating that the part of fields has been selected may be displayed in the selected part of fields of the copied first sub-level entry. The prompt information can be a text prompt or a special effect display. For example, according to a second selection operation of the user on the first sub-level entry, a selected field in the first sub-level entry may be determined as a partial field of the first sub-level entry to be copied, and the selected field may be highlighted by a flashing cursor.
As an example, a field of an entry can only implement the function corresponding to the entry if the structure is complete. Therefore, the fields of the entry may be divided by the minimum functional unit. When copy-paste is performed, operations can be performed only in units of minimum functional units. Based on this, step B may further include the steps of:
step 1), when the selected fields in the first sub-layer level entry are all the minimum functional units, determining that the selected fields in the first sub-layer level entry are the fields of the first sub-layer level entry to be copied.
And 2) when the selected entry in the first sub-layer entry comprises a partial field of the minimum functional unit, determining the complete field of the selected minimum functional unit in the first sub-layer entry as the field of the first sub-layer entry to be copied.
For the step 1) or the step 2), the minimum functional unit may be a preset complete word, a complete phrase, a complete sentence pattern, or other conditions. For example, the minimum functional unit includes: "move to point", "create scoreboard", and "set snow scene environment".
For step 2), for example, if the selected entry in the first sub-level entry is "create score", that is, the selected content in the first sub-level entry includes an incomplete minimum functional unit, then a complete minimum functional unit "create score board" is determined. For example, if the selected entry in the first sub-level entry is "snow scene environment" and its corresponding minimum functional unit is "set snow scene environment", the complete minimum functional unit may be copied.
According to the method and the device, only the entry part can be edited in the copying process, the editing mode is more flexible, in addition, the selected incomplete entry can be supplemented into a complete structure, and the fault tolerance rate is higher.
In order to make the copy-and-paste process more flexible and efficient for the user, a plurality of first sub-level entries to be copied may also be selected collectively. The step S420 includes the following steps:
step 1), responding to a third selection operation aiming at a sub-level region, selecting a plurality of first sub-level items, and generating an option list in the sub-level region according to the selected first sub-level items;
and step 2), responding to the copying triggering operation acting on the option list, and determining a first sub-level entry to be copied.
For example, a user may perform a copy operation on word-level entries at a plurality of different positions, the touch terminal may determine, according to the copy operation performed by the user for a plurality of times, a plurality of first sub-level entries to be copied from the plurality of different positions, that is, copy the plurality of sub-level entries, and the touch terminal may automatically store each copy content after each copy operation performed by the user. Optionally, the entries of the first sub-hierarchy for replication may be the same type of entry or different types of entries.
The process of the copy operation may include a process of selecting for different nodes, respectively. In this way, even if the node contents that the user wants to copy are dispersed in different parent hierarchies, all the node contents to be copied can be copied at one time, and the editing efficiency is higher.
In some embodiments, items that have already been pasted may no longer be displayed in the options list. Of course, the item for which the pasting is completed may be continuously displayed in the option list. Alternatively, the item on which the pasting has been performed may be displayed differently from other items on which the pasting has not been performed, for example, font changes, font size changes, field gradation display, identification display of the number of times of being pasted, and the like, in various forms, so as to prompt the user that the option to be pasted has been performed.
In some embodiments, after step S410, the method further includes:
and in response to the paste triggering operation aiming at the sub-hierarchy area, determining a paste position under the first parent hierarchy, and pasting a first sub-hierarchy entry to be copied at the paste position under the first parent hierarchy.
This can be done by copying and pasting sub-level entries within the same parent level entry. The functions of copying and pasting are enriched, and the editing of the items is more convenient.
In some embodiments, after step S430, the method further includes:
and deleting the first sub-level entry to be copied in the first sub-level entries corresponding to the first parent level entry.
By the embodiment of the invention, the shearing of the sub-level entries across the father nodes can be realized. The editing function is enriched, and the editing of the items is more convenient.
In some embodiments, a copy instruction may be further provided, where the copy instruction is different from the copy-paste instruction, and after the touch terminal receives the copy instruction, a copy is directly copied after the entry, which may specifically be implemented by the following steps:
determining a third sub-level entry to be copied in response to a copy triggering operation in the sub-level region, wherein the third sub-level entry corresponds to a third parent level entry level;
copying the third sub-level entry to be copied as a new sub-level entry after the third sub-level entry to be copied.
In the embodiment of the application, the copying is one copy behind the item and can not specify the position, so that a richer and more direct editing mode can be provided, and the editing of the item is more convenient.
In some embodiments, an insert instruction may be further provided, where the insert instruction is different from the copy-paste instruction and the copy instruction, and after the touch terminal receives the insert instruction, a blank entry of the same category is created directly after the entry, which may specifically be implemented by the following steps:
determining a fourth sub-level entry to be inserted in response to an insertion triggering operation in the sub-level region, wherein the fourth sub-level entry corresponds to a fourth parent-level entry;
and inserting blank sub-layer level entries of the same category after the fourth sub-layer level entry to be inserted.
According to the embodiment of the application, the same type of blank entries can be inserted after the selected sub-level entries are selected, so that fields can be edited in the blank entries, a richer and more direct editing mode can be provided, and the entries can be edited more conveniently.
In some embodiments, a sorting instruction may be further provided, where the sorting instruction is different from the copy-paste instruction, the copy instruction, and the insert instruction, and after the touch terminal receives the sorting instruction, the touch terminal performs a rephotography on the sequence of the items according to the instruction. Wherein, in the sub-layer area, the sub-layer items are sequentially arranged from top to bottom, and the method can be specifically realized by the following steps:
in response to a drag operation in the sub-hierarchy region, determining a fifth sub-hierarchy entry corresponding to a start position of the drag operation and a sixth sub-hierarchy entry corresponding to an abort position, wherein the fifth sub-hierarchy and the sixth sub-hierarchy entries correspond to a fifth parent hierarchy;
and replacing the position of the fifth sublayer item or the sixth sublayer item, or moving the fifth sublayer item to the position of the sixth sublayer item, and sequentially moving the sixth sublayer item and the sublayer items behind the sixth item down by one position.
In the embodiment of the application, the rearrangement of the order of the items can be realized by dragging, so that richer and more direct editing modes can be provided, and the items can be edited more conveniently.
It should be noted that the game editor can generate an executable file according to the items edited by people, and after the executable file is run, the layout of elements such as buildings, trees, sky, roads, weapons, props, Non-Player characters (NPCs), and the like in the game and the game logic can be displayed on the display.
As shown in fig. 7, edited parent hierarchical entries in the interface of the game editor have "trigger 0", "trigger 1", "trigger 2", etc., and entry types of child hierarchical entries may include actions, events, and conditions, etc.
The sub-level entry corresponding to trigger 1 may be displayed by selecting trigger 1.
In response to an operation (e.g., a long press) of the corresponding area 711 for the event 710, a menu area 720 may be displayed, and menu item areas of the menu area may include a copy button area 721, a paste button area 722, a delete button area 723, and a multiple selection area 724, etc. In response to a designation operation (e.g., a trigger operation such as clicking) for the copy button region 721, a copy instruction may be triggered, the copy instruction being for the event 710.
In practical applications, the sub-level entry may further include a sub-entry of the sub-level entry.
As shown in FIG. 8, a graphical user interface 800 may be displayed in response to a copy operation for an event 710. Through the graphical user interface 800, a paste location may be selected. The graphical user interface 800 may include a prompt message 810, where the prompt message 810 is used to prompt an action to be performed, that is, to select an entry from the parent-level entries as the parent-level entry corresponding to the position to be pasted.
As shown in fig. 9, in response to a parent level entry selection operation, a child level entry corresponding to the selected trigger 5 may be displayed. In response to a selection operation in a sub-level entry, a paste location is determined. Wherein, in the graphic user interface 800, the display areas corresponding to the actions 940 and the conditions 930 in which the event 710 belongs to different types are set to the unselected state. Only the display area corresponding to the event 910 of the same type and the display area of the sub-level entry corresponding to the event 910 are set to a selectable state.
In the area of the event 910, in response to a selection operation (e.g., a long press) for the area of the sub-hierarchy entry 911, a menu 920 may be displayed, and menu items of the menu may include a copy button 921, a paste button 922, a delete button 923, a multiple selection button 924, and the like. By a specified operation (e.g., clicking) with respect to the paste button 922, a paste operation may be triggered to paste the event 710 in the content corresponding to the sub-hierarchy entry 911.
As shown in fig. 10, in response to the paste completion trigger operation, a prompt message 1001, such as "paste successful" or the like, may be displayed to prompt the user of the completion of the copy and paste operation.
When a user designs a game through a game editor, the design requirements of a game scene need to be met. Which comprises the following steps: the design content of each category can be edited only in the design content with which the category is the same. For example, the design content for buildings cannot be edited into the design content for weapons, the design content for roads can only be edited into the design content for roads, and so on. In the process of designing the game scene through the tree structure data, if the editing condition which does not accord with the game scene design requirement occurs, the designed game scene does not accord with the basic logic relationship in the game, so that the game cannot run normally.
In the embodiment, each item can only correspond to the same type of item, so that the fault tolerance rate is improved, and the difficulty of editing the game which can run normally is reduced.
Fig. 11 is a touch terminal according to an embodiment of the present disclosure. The touch terminal can present a graphical user interface (e.g., the cell phone 102 shown in fig. 2) including a parent level region and a child level region, wherein the parent level region is used for displaying parent level entries, and the child level region is used for displaying child level entries corresponding to the parent level entries; the touch terminal includes:
a response unit 111, configured to determine, in response to a copy trigger operation for a sub-level region, a first sub-level entry to be copied, where the first sub-level entry corresponds to a first parent-level entry;
the response unit 111 is further configured to determine a second parent-level entry in response to the first selection operation for the parent-level region;
a display unit 112, configured to display, in the sub-hierarchy region, a second sub-hierarchy entry corresponding to the second parent-hierarchy entry;
the response unit 111 is further configured to determine a pasting position in response to a pasting trigger operation for the sub-layer region;
a pasting unit 113, configured to paste the first sub-level entry to be copied at the pasting position.
In some embodiments, the first sub-level entry comprises a sub-entry of the first sub-level entry.
In some embodiments, the response unit 111 is further configured to:
in response to a second selection operation in the sub-level region, selecting the first sub-level entry to be copied and providing a copy button in the sub-level region;
determining the first sub-level entry to be copied in response to a copy trigger operation for the sub-level region.
In some embodiments, the sub-level items have item categories, wherein the sub-level area includes a category label for indicating the item category; sub-level entries are received under category labels corresponding to entry categories of the sub-level entries.
In some embodiments, the parent tier includes at least one trigger set entry;
the category entry includes at least one of:
event category entry, action category entry, condition category entry.
In some embodiments, the display unit 112 is specifically configured to:
in the sub-level area, setting a target second sub-level entry of the second sub-level entries, which is the same as the category of the first sub-level entry to be copied, to be in a selectable state.
In some embodiments, further comprising:
a setting unit, configured to set, in the sub-level region, a target class label that is the same as the class of the first sub-level entry to be copied to a selectable state if the target second sub-level entry that is the same as the class of the first sub-level entry to be copied does not exist in the second sub-level entry.
In some embodiments, the display unit 112 is further configured to provide a first paste button at a preset position of the target category label.
In some embodiments, the response unit 111 is specifically configured to:
responding to the pasting trigger operation aiming at the pasting button, and determining a preset area under the target type label as a pasting position;
and pasting the first sub-level entry to be copied in the preset area.
In some embodiments, the response unit 111 is specifically configured to:
responding to a pasting triggering operation aiming at the target second sublayer item in the sublayer region, and determining a preset region around the target second sublayer item corresponding to the triggering operation as a pasting position; pasting the first sub-level item to be copied in the preset area;
alternatively, the first and second electrodes may be,
responding to a paste trigger operation aiming at the target second sub-layer level entry in the sub-layer level area, and determining that the area where the target second sub-layer level entry corresponding to the trigger operation is located is a paste position; and pasting the first sub-level entry to be copied in the area.
In some embodiments, the display unit 112 is specifically configured to:
in the sub-level area, setting non-target second sub-level entries, which are different from the first sub-level entries to be copied, in the second sub-level entries to be in an unselected state;
and correspondingly displaying first prompt information on the non-target second sub-level entry in the non-selectable state, wherein the first prompt information comprises character prompt information or distinguishing display information.
In some embodiments, the response unit 111 is specifically configured to: and responding to the pasting trigger operation aiming at the non-target second sub-level item, and displaying second prompt information, wherein the second prompt information is used for prompting that the non-target second sub-level item is in an unselected state.
In some embodiments, the number of the first nodes is plural; the response unit 111 is specifically configured to:
the response to the copy trigger operation in the sub-level region, determining that the first level entry to be copied comprises:
in response to a third selection operation for the sub-level region, selecting a plurality of first sub-level entries, and generating an option list in the sub-level region according to the selected first sub-level entries;
and determining the first sub-layer level entry to be copied in response to the copying triggering operation acting on the option list.
In some embodiments, further comprising:
and the deleting unit is used for deleting the first sub-level entry to be copied in the first sub-level entry corresponding to the first parent level entry.
In some embodiments, the response unit 111 is specifically configured to:
determining a third sub-level entry to be copied in response to a copy triggering operation in the sub-level region, wherein the third sub-level entry corresponds to a third parent-level entry;
copying the third sub-level entry to be copied as a new sub-level entry after the third sub-level entry to be copied.
In some embodiments, the response unit 111 is specifically configured to:
determining a fourth sub-level entry to be inserted in response to an insertion trigger operation for the sub-level region, the fourth sub-level entry corresponding to a fourth parent-level entry;
inserting blank sub-level entries of the same category after the fourth sub-level entry to be inserted.
In some embodiments, in the sub-level region, the sub-level entries are arranged from top to bottom, and the response unit 111 is specifically configured to:
in response to a drag operation for a sub-level region, determining a fifth sub-level entry corresponding to a start position of the drag operation and a sixth sub-level entry corresponding to an abort position, the fifth and sixth sub-level entries corresponding to a fifth parent level;
replacing the position of the fifth sub-level entry or the sixth sub-level entry, or moving the fifth sub-level entry to the position of the sixth sub-level entry, and sequentially moving the sixth sub-level entry and the sub-level entries before the sixth sub-level entry one position downwards.
The touch terminal provided by the embodiment of the application has the same technical characteristics as the item editing method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic blocks disclosed in this application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in this application may be directly implemented by a hardware decoding processor, or may be implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
Embodiments of the present application also provide a machine-readable storage medium storing machine-executable instructions, which when invoked and executed by a processor, cause the processor to implement the above item editing method provided by embodiments of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not for limiting the same, and the scope of the present application is not limited thereto, although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (19)

1. An item editing method is applied to a touch terminal capable of presenting a graphical user interface, wherein the graphical user interface comprises a parent level area and a child level area, the parent level area is used for displaying parent level items, the child level area is used for displaying child level items corresponding to the parent level items, the graphical user interface is a graphical user interface of a game editor, the game editor is used for editing the logic of a game, and the logic of the game is changed by changing the items; the method comprises the following steps:
determining a first sub-level entry to be copied in response to a copy triggering operation for the sub-level region, the first sub-level entry corresponding to a first parent level entry;
responding to a first selection operation aiming at the parent-level area, determining a second parent-level item, and displaying a second sub-level item corresponding to the second parent-level item in the sub-level area;
and responding to the pasting trigger operation aiming at the sub-level area, determining a pasting position, and pasting the first sub-level item to be copied at the pasting position.
2. The method of claim 1, wherein the first sub-level entry comprises a sub-entry of a first sub-level entry.
3. The method of claim 1, wherein determining a first sub-level entry to be copied in response to a copy trigger operation in the sub-level region comprises:
in response to a second selection operation in the sub-level region, selecting the first sub-level entry to be copied and providing a copy button in the sub-level region;
determining the first sub-level entry to be copied in response to a copy trigger operation for the sub-level region.
4. The method of claim 1, wherein sub-level entries have an entry category, the method further comprising:
the sub-level region includes a category label for indicating the category of the item;
the sub-level entries are received under the category labels corresponding to entry categories of the sub-level entries.
5. The method of claim 4, wherein the parent tier entry is a trigger entry;
the category label includes at least one of:
event category label, action category label, condition category label.
6. The method of claim 4, wherein displaying, in the child hierarchical region, a second child hierarchical entry corresponding to the second parent hierarchical entry comprises:
in the sub-level area, setting a target second sub-level entry of the second sub-level entries, which is the same as the category of the first sub-level entry to be copied, to be in a selectable state.
7. The method of claim 4, further comprising:
if the second sub-level entry does not have a target second sub-level entry with the same type as the first sub-level entry to be copied, in the sub-level area, setting a target type label with the same type as the first sub-level entry to be copied as a selectable state.
8. The method of claim 7, further comprising:
and providing a pasting button at a preset position of the target class label.
9. The method of claim 8, wherein determining a paste location in response to a paste trigger operation for the sub-level region, and wherein pasting the first sub-level entry to be copied at the paste location comprises:
responding to the pasting trigger operation aiming at the pasting button, and determining a preset area under the target type label as a pasting position;
and pasting the first sub-level entry to be copied in the preset area.
10. The method of claim 6, wherein determining a paste location in response to a paste trigger operation for the sub-level region, and wherein pasting the first sub-level entry to be copied at the paste location comprises:
responding to a pasting triggering operation aiming at the target second sublayer item in the sublayer region, and determining a preset region around the target second sublayer item corresponding to the triggering operation as a pasting position; pasting the first sub-level item to be copied in the preset area;
alternatively, the first and second electrodes may be,
responding to a paste trigger operation aiming at the target second sub-layer level entry in the sub-layer level area, and determining that the area where the target second sub-layer level entry corresponding to the trigger operation is located is a paste position; and pasting the first sub-level entry to be copied at the pasting position.
11. The method of claim 4, wherein displaying, in the child hierarchical region, a second child hierarchical entry corresponding to the second parent hierarchical entry comprises:
in the sub-level area, setting non-target second sub-level entries, which are different from the first sub-level entries to be copied, in the second sub-level entries to be in an unselected state;
and the items in the non-selectable state are correspondingly displayed with first prompt information, and the first prompt information comprises character prompt information or distinguishing display information.
12. The method of claim 11, further comprising:
and responding to the pasting trigger operation aiming at the non-target second sub-level item, and displaying second prompt information, wherein the second prompt information is used for prompting that the non-target second sub-level item is in an unselected state.
13. The method of claim 1, wherein the first sub-level entry is plural in number;
the response to the copy trigger operation in the sub-level region, determining that the first level entry to be copied comprises:
in response to a third selection operation for the sub-level region, selecting a plurality of first sub-level entries, and generating an option list in the sub-level region according to the selected first sub-level entries;
and determining the first sub-layer level entry to be copied in response to the copying triggering operation acting on the option list.
14. The method of claim 1, wherein after determining a paste location in response to a paste trigger operation for the sub-level region, and pasting the first sub-level entry to be copied at the paste location, further comprising:
and deleting the first-level entry to be copied in the first-level entries corresponding to the first parent-level entry.
15. The method of claim 1, further comprising:
determining a third sub-level entry to be copied in response to a copy triggering operation in the sub-level region, wherein the third sub-level entry corresponds to a third parent-level entry;
copying the third sub-level entry to be copied as a new sub-level entry after the third sub-level entry to be copied.
16. The method of claim 1, further comprising:
determining a fourth sub-level entry to be inserted in response to an insertion trigger operation for the sub-level region, the fourth sub-level entry corresponding to a fourth parent-level entry;
inserting blank sub-level entries of the same category after the fourth sub-level entry to be inserted.
17. The method of claim 1, wherein sub-level entries are arranged in sequence from top to bottom in the sub-level region, the method further comprising:
in response to a drag operation for a sub-level region, determining a fifth sub-level entry corresponding to a start position of the drag operation and a sixth sub-level entry corresponding to an abort position, the fifth and sixth sub-level entries corresponding to a fifth parent level entry;
replacing the position of the fifth sub-layer level entry or the sixth sub-layer level entry, or moving the fifth sub-layer level entry to the position of the sixth sub-layer level entry, and sequentially moving the sixth sub-layer level entry and sub-layer level entries subsequent to the sixth entry down by one position.
18. A touch terminal is characterized in that a graphical user interface can be presented, wherein the graphical user interface comprises a parent level area and a child level area, the parent level area is used for displaying parent level items, the child level area is used for displaying child level items corresponding to the parent level items, the graphical user interface is a graphical user interface of a game editor, the game editor is used for editing the logic of a game, and the logic of the game is changed by changing the items; the touch terminal includes:
a response unit, configured to determine, in response to a copy trigger operation for a sub-level region, a first sub-level entry to be copied, where the first sub-level entry corresponds to a first parent-level entry;
the response unit is further configured to determine a second parent-level entry in response to a first selection operation for the parent-level region;
a display unit, configured to display, in the sub-hierarchy region, a second sub-hierarchy entry corresponding to the second parent-hierarchy entry;
the response unit is further used for responding to the pasting triggering operation aiming at the sub-layer area and determining a pasting position;
and the pasting unit is used for pasting the first sub-level item to be copied at the pasting position.
19. A computer-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to perform the method of any of claims 1 to 17.
CN201910633399.XA 2019-07-12 2019-07-12 Item editing method and touch terminal Active CN110347327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910633399.XA CN110347327B (en) 2019-07-12 2019-07-12 Item editing method and touch terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910633399.XA CN110347327B (en) 2019-07-12 2019-07-12 Item editing method and touch terminal

Publications (2)

Publication Number Publication Date
CN110347327A CN110347327A (en) 2019-10-18
CN110347327B true CN110347327B (en) 2021-03-23

Family

ID=68175262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910633399.XA Active CN110347327B (en) 2019-07-12 2019-07-12 Item editing method and touch terminal

Country Status (1)

Country Link
CN (1) CN110347327B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764928A (en) * 2019-10-15 2020-02-07 维沃移动通信有限公司 Pasting method and electronic equipment
CN112799565B (en) * 2021-04-09 2021-07-16 统信软件技术有限公司 Content list display method and computing device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07160583A (en) * 1993-12-07 1995-06-23 Hitachi Ltd Control method for virtual memory device
JP2007094818A (en) * 2005-09-29 2007-04-12 Internatl Business Mach Corp <Ibm> Batch copy and paste method, device and computer program for a plurality of pieces of data
CN101763268A (en) * 2010-01-22 2010-06-30 惠州Tcl移动通信有限公司 Method for dynamic adjustment of menu structure of electric equipment
US20120116835A1 (en) * 2010-11-10 2012-05-10 Microsoft Corporation Hybrid task board and critical path method based project management application interface
CN105573595A (en) * 2014-10-16 2016-05-11 阿里巴巴集团控股有限公司 Information display method and device
CN107153528A (en) * 2016-03-02 2017-09-12 阿里巴巴集团控股有限公司 The method and apparatus that mixed model list items are reused
US10372810B2 (en) * 2017-04-05 2019-08-06 Microsoft Technology Licensing, Llc Smarter copy/paste
CN109359187A (en) * 2018-10-31 2019-02-19 网易(杭州)网络有限公司 Sentence entry exchange method and device, electronic equipment, storage medium

Also Published As

Publication number Publication date
CN110347327A (en) 2019-10-18

Similar Documents

Publication Publication Date Title
US11487426B2 (en) Apparatus and method for cursor control and text selection and editing based on gesture-based touch inputs received in a virtual keyboard display area
WO2017054623A1 (en) Method and device for starting application program, and electronic device
US9003283B2 (en) Copying text using parameters displayed on a clipboard
CN103034445B (en) The method of the self-defined unlock interface of a kind of mobile terminal device and mobile terminal device
WO2020215959A1 (en) Game object control method and apparatus
CN110955370A (en) Switching method and device of skill control in game and touch terminal
CN103403663A (en) Device, method, and graphical user interface for manipulating soft keyboards
CN107066188B (en) A kind of method and terminal sending screenshot picture
CN104246678A (en) Device, method, and graphical user interface for sharing a content object in a document
CN105094551A (en) Information processing method and electronic equipment
CN103279261A (en) Wireless communication device and adding method of widgets of wireless communication device
CN110347327B (en) Item editing method and touch terminal
CN109656455B (en) Intelligent watch and input method thereof
CN107608585A (en) The operating method and equipment and mobile terminal of a kind of application program
CN103605464A (en) Desktop application icon across-screen combination method
WO2021233282A1 (en) Method and apparatus for displaying message detail page, and electronic device
CN105808094A (en) Application calling method and terminal
CN113518026A (en) Message processing method and device and electronic equipment
WO2016173307A1 (en) Message copying method and device, and smart terminal
CN104793836A (en) Information processing method and device based on user operations and terminal
WO2022156663A1 (en) Application program management method and apparatus, and electronic device
CN114415847A (en) Text information deleting method and device and electronic equipment
CN114063841A (en) Text selection method, text selection device and electronic equipment
CN112286554B (en) Application program updating method, device, electronic equipment and readable storage medium
CN106681605A (en) Character selecting method and terminal

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