A virtual component processing method and device, computer equipment and storage medium

By extracting target parameter information and generating reference components from the graphical user interface, the cumbersome process of copying virtual components is solved, and efficient virtual component editing is achieved.

CN119656600BActive Publication Date: 2026-02-03NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411678325.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2026-02-03
Estimated Expiration
2044-11-22

AI Technical Summary

Technical Problem

In existing technologies, the process of copying virtual components is cumbersome, resulting in low editing efficiency.

Method used

The system responds to user actions through a graphical user interface, extracts target parameter information, generates a reference component, and updates the parameters of the second virtual component according to associated instructions, enabling rapid editing.

Benefits of technology

It improves the processing efficiency of virtual components, simplifies the copying process, and enhances editing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119656600B_ABST
    Figure CN119656600B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a virtual component processing method and device, computer equipment and a storage medium. The present application determines target parameter information extracted from a first virtual component in response to a parameter extraction operation on the first virtual component in a graphical user interface; displays a reference component generated based on the target parameter information; updates parameters of a second virtual component determined according to an association instruction based on target parameter information of the reference component in response to the association instruction; and displays the updated second virtual component. This can improve the processing efficiency of virtual components by quickly editing the parameters of virtual components.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, specifically to a method, apparatus, computer device, and storage medium for processing virtual components. Background Technology

[0002] With the development of the internet, a large number of different types of games have emerged to meet users' daily entertainment needs. In some games, players can edit the game scene according to their own needs. During the process of creating a game scene, players often copy certain scene content, such as components, motion controllers, and controls.

[0003] In related technologies, copying scene content can be achieved by creating new content, copying parameters from the existing content, and then applying the copied parameters to the new content. However, this method requires repeated copying and pasting operations for each new piece of content that needs to achieve the copying effect, which is cumbersome and affects editing efficiency. Summary of the Invention

[0004] This application provides a method, apparatus, computer device, and storage medium for processing virtual components, which can improve the processing efficiency of virtual components.

[0005] This application provides a method for processing virtual components, which provides a graphical user interface through a terminal device. The method includes:

[0006] In response to a parameter extraction operation for a first virtual component in the graphical user interface, target parameter information extracted from the first virtual component is determined;

[0007] Displays a reference component generated based on the target parameter information;

[0008] In response to the association instruction, the parameters of the second virtual component determined according to the association instruction are updated based on the target parameter information of the reference component;

[0009] The updated second virtual component is displayed.

[0010] Accordingly, embodiments of this application also provide a processing apparatus for virtual components, providing a graphical user interface through a terminal device. The apparatus includes:

[0011] The first determining unit is configured to determine target parameter information extracted from the first virtual component in response to a parameter extraction operation for a first virtual component in the graphical user interface.

[0012] The first display unit is used to display the reference component generated based on the target parameter information;

[0013] The first update unit is configured to update the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component in response to the association instruction.

[0014] The second display unit is used to display the updated second virtual component.

[0015] Accordingly, this application also provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes a processing method of any of the virtual components provided in this application.

[0016] Accordingly, embodiments of this application also provide a computer-readable storage medium storing multiple instructions adapted for loading by a processor to execute the processing method of the virtual component described above.

[0017] This application embodiment determines target parameter information extracted from a first virtual component in response to a parameter extraction operation on a first virtual component in a graphical user interface; displays a reference component generated based on the target parameter information; updates the parameters of a second virtual component determined according to the association instruction based on the target parameter information of the reference component in response to an association instruction; and displays the updated second virtual component. This enables rapid editing of virtual component parameters, thereby improving the processing efficiency of virtual components. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of a virtual component processing system provided in an embodiment of this application.

[0020] Figure 2 This is a flowchart illustrating a method for processing virtual components provided in an embodiment of this application.

[0021] Figure 3 This is a schematic diagram illustrating an application scenario of a virtual component processing method provided in an embodiment of this application.

[0022] Figure 4 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0023] Figure 5This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0024] Figure 6 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0025] Figure 7 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0026] Figure 8 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0027] Figure 9 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0028] Figure 10 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0029] Figure 11 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0030] Figure 12 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0031] Figure 13 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0032] Figure 14 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0033] Figure 15 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0034] Figure 16 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0035] Figure 17 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0036] Figure 18 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application.

[0037] Figure 19This is a structural block diagram of a virtual component processing device provided in an embodiment of this application.

[0038] Figure 20 A schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0039] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0040] This application provides a method, apparatus, storage medium, and computer device for processing virtual components. Specifically, the method for processing virtual components in this application can be executed by a computer device, which can be a terminal or a server. The terminal can be a smartphone, tablet, laptop, touchscreen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. The terminal can also include a client, which can be a game application client, a browser client carrying a game program, or an instant messaging client. The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0041] For example, when the processing method of this virtual component runs on a terminal, the terminal device stores a game application and uses it to render virtual scenes in the game screen. The terminal device is used to interact with the user through a graphical user interface, such as downloading, installing, and running the game application. The terminal device can provide the graphical user interface to the user in various ways, such as rendering it on the terminal device's display screen or presenting the graphical user interface through holographic projection. For example, the terminal device can include a touch screen and a processor. The touch screen is used to present the graphical user interface and receive operation commands generated by the user interacting with the graphical user interface, which includes game screens. The processor is used to run the game, generate the graphical user interface, respond to operation commands, and control the display of the graphical user interface on the touch screen.

[0042] For example, when the processing method of the virtual component runs on a server, it can be cloud gaming. Cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the main body running the game application and the main body displaying the game screen are separated. The storage and execution of the virtual component's processing method are completed on the cloud gaming server. The game screen display is completed on the cloud gaming client. The cloud gaming client is mainly used for receiving and sending game data and displaying game screens. For example, the cloud gaming client can be a display device with data transmission capabilities close to the user, such as a mobile terminal, television, computer, PDA, personal digital assistant, etc., but the terminal device for processing game data is the cloud gaming server in the cloud. When playing the game, the user operates the cloud gaming client to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the cloud gaming client through the network, and finally, the cloud gaming client decodes and outputs the game screen.

[0043] Please see Figure 1 , Figure 1 This is a schematic diagram of a virtual component processing system provided in an embodiment of this application. The system may include at least one terminal, at least one server, at least one database, and a network. The user's terminal can connect to servers of different games via the network. The terminal is any device with computing hardware capable of supporting and executing software products corresponding to the game. Additionally, the terminal has one or more multi-touch screens for sensing and obtaining input from touch or swipe operations performed by the user at multiple points on one or more touch displays. Furthermore, when the system includes multiple terminals, multiple servers, and multiple networks, different terminals can connect to each other through different networks and different servers. The network can be a wireless network or a wired network, such as a wireless local area network (WLAN), local area network (LAN), cellular network, 2G network, 3G network, 4G network, 5G network, etc. Furthermore, different terminals 1000 can also connect to other terminals or servers using their own Bluetooth networks or hotspot networks. For example, multiple users can connect online through different terminals via appropriate networks and synchronize with each other to support multiplayer games. In addition, the system can include multiple databases coupled to different servers, and can continuously store information related to the game environment in the databases as different users play multiplayer games online.

[0044] This application provides a method for processing virtual components, which can be executed by a terminal or a server. This application example illustrates the method by which a virtual component is processed by a terminal. The terminal includes a touchscreen display and a processor. The touchscreen display is used to present a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. When the user operates the GUI through the touchscreen display, the GUI can control local content on the terminal in response to the received operation commands, or it can control content on a peer server in response to the received operation commands. For example, the operation commands generated by the user interacting with the GUI may include commands to launch a game application. The processor is configured to launch the game application after receiving the user's command to launch the game application. Furthermore, the processor is configured to render and draw the GUI associated with the game on the touchscreen display. The touchscreen display is a multi-touch sensitive screen capable of sensing touch or swipe operations performed simultaneously by multiple points on the screen. When the user performs touch operations on the GUI using their finger, the GUI, upon detecting the touch operation, controls different virtual objects in the game to perform actions corresponding to the touch operation. For example, the game can be any of the following: casual game, action game, role-playing game, strategy game, sports game, puzzle game, etc. The game may include a virtual environment. Furthermore, the virtual environment may include one or more virtual objects, such as virtual characters, controlled by the user (or player). Additionally, the virtual environment may include one or more obstacles, such as railings, ditches, walls, etc., to restrict the movement of virtual objects, for example, limiting the movement of one or more objects to a specific area within the virtual environment. Optionally, the virtual environment may also include one or more elements, such as skills, scores, character health status, energy, etc., to provide assistance to the player, offer virtual services, increase scores related to player performance, etc. Furthermore, the graphical user interface may present one or more indicators to provide guidance information to the player. For example, the game may include virtual objects controlled by the player and one or more other virtual objects (such as enemy characters). In one embodiment, one or more other virtual objects are controlled by other players in the game. For example, one or more other virtual objects may be computer-controlled, such as robots using artificial intelligence (AI) algorithms, enabling a human-computer interaction mode. For example, the virtual objects possess various skills or abilities that the player uses to achieve objectives. For example, virtual objects possess one or more weapons, items, tools, etc., that can be used to eliminate other objects in the game. Such skills or abilities can be activated by the player using one of several preset touch operations on the terminal's touchscreen display. The processor can be configured to respond to the operation commands generated by the user's touch operations to display the corresponding game screen.

[0045] It should be noted that,Figure 1 The schematic diagram of the virtual component processing system shown is merely an example. The image processing system and scenario described in this application embodiment are for the purpose of more clearly illustrating the technical solutions of this application embodiment and do not constitute a limitation on the technical solutions provided in this application embodiment. As those skilled in the art will know, with the evolution of the virtual component processing system and the emergence of new business scenarios, the technical solutions provided in this application embodiment are also applicable to similar technical problems.

[0046] To address the aforementioned problems, this application provides a first method, apparatus, computer device, and storage medium for processing virtual components, which can improve the processing efficiency of virtual components. These will be described in detail below. It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments.

[0047] This application provides a method for processing virtual components, which can be executed by a terminal or a server. This application uses the example of a virtual component processing method being executed by a terminal for illustration.

[0048] Please see Figure 2 , Figure 2 This is a flowchart illustrating a method for processing a virtual component according to an embodiment of this application. The specific flow of this virtual component processing method is as follows:

[0049] 101. In response to a parameter extraction operation for a first virtual component in a graphical user interface, determine the target parameter information extracted from the first virtual component.

[0050] In this embodiment, a graphical user interface (GUI) is provided via a terminal device, which can be used to edit virtual components. These virtual components can include various categories, such as scene element components and interface interaction components.

[0051] Scene element components refer to the basic units that make up a virtual scene. For example, scene element components can include terrain components, environment components, virtual object components, etc. A virtual scene refers to a non-physical three-dimensional space or two-dimensional image constructed in a computer-generated simulation environment, used to simulate real or imagined environments or scenes.

[0052] Among them, interface interaction components are elements that allow users to interact with the interface. For example, interface interaction components can include various operation controls such as buttons and input boxes.

[0053] In some embodiments, the graphical user interface can be used to edit a virtual scene; that is, the graphical user interface can display a virtual scene to be edited. This virtual scene can be a user-defined virtual scene built within a target application, and it may include user-created scene element components. Here, the target application refers to an application that supports user-defined creation of virtual scenes.

[0054] For example, please see Figure 3 , Figure 3 This is a schematic diagram illustrating an application scenario of a virtual component processing method provided in an embodiment of this application. Figure 3 The graphical user interface shown can be a game scene editing interface, which can display game scenes to be edited. These game scenes can be user-created and can include multiple created scene element components.

[0055] In some embodiments, the graphical user interface can be used to edit the interaction layer, that is, the graphical user interface can display an interaction layer, which can be used for users to interact with the virtual scene, and the interaction layer can include user-created interface interaction components.

[0056] For example, please see Figure 4 , Figure 4 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 4 The graphical user interface shown can be an interaction layer editing interface, which can display interaction layers to be edited. These interaction layers can be used for users to interact with the game scene, and can include multiple created interface interaction components.

[0057] In this embodiment, the virtual component may include various parameters, which determine the characteristics and functions of the virtual component. For example, the parameters of the virtual component may include: size, color, position, etc.

[0058] The first virtual component refers to the virtual component for which the user needs to extract parameters.

[0059] In some embodiments, the first virtual component can be a virtual component that has already been created in the graphical user interface. Since the user can configure the parameters of the virtual component when creating it, the created virtual component can include the configured parameter information.

[0060] The parameter extraction operation can be used to extract at least some of the parameter information of the first virtual component as target parameter information, and to visualize the target parameter information.

[0061] In some embodiments, to facilitate the user's parameter extraction operation, the step "in response to the parameter extraction operation for the first virtual component in the graphical user interface, determine the target parameter information extracted from the first virtual component" may include the following operations:

[0062] In response to a trigger operation on the first virtual component, display the parameter information of the first virtual component;

[0063] In response to the extraction operation of parameter information, the target parameter information is determined based on the parameter information.

[0064] In this embodiment of the application, the triggering operation may include a touch operation, such as a click operation, a press operation, a swipe operation, etc.

[0065] The parameter information may include the parameters of the first virtual component, which users can view.

[0066] For example, please see Figure 5 , Figure 5 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 5 The graphical user interface shown above displays a first virtual component. When a user clicks on the first virtual component, its parameter information can be displayed.

[0067] That is, to obtain Figure 5 The graphical user interface shown below displays parameter information for the first virtual component. This parameter information may include the identifier and name of the first virtual component, as well as parameter information for multiple categories. These categories may include: basic category, physical category, and performance category, etc. Users can view the parameters of the basic category by clicking the "basic" control; the parameters of the physical category by clicking the "physical" control; and the parameters of the performance category by clicking the "performance" control.

[0068] For example, Figure 5 The graphical user interface shown below displays parameters for basic categories, which may include: name, color value, additional special functions, etc.

[0069] In some embodiments, the parameter information may also include a "Custom Color" control, a "More Attributes" control, an "Edit" control, etc., corresponding to the color swatch selection. The "Custom Color" control allows users to set color parameters, the "More Attributes" control allows users to view more parameters for the basic category, and the "Edit" control allows users to edit the set parameters.

[0070] In some embodiments, the parameter information provides a parameter extraction control that can be used to extract all parameters of the first virtual component. The step "in response to the extraction operation on the parameter information, determine the target parameter information based on the parameter information" may include the following operations:

[0071] In response to a trigger operation on the parameter extraction control, retrieve all parameters from the parameter information to obtain the target parameter information.

[0072] For example, please see Figure 6 , Figure 6 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 6 In the graphical user interface shown, the parameter information may include a parameter extraction control. When a user clicks on the parameter extraction control, all parameters in the parameter information can be retrieved and used as the target parameter information. For example, the parameters in the parameter information may include: name, color value, additional special functions, etc., and these parameters can be used as the target parameter information.

[0073] In some embodiments, to facilitate user-defined parameter selection, the step "in response to the extraction operation of parameter information, determine the target parameter information based on the parameter information" may include the following operations:

[0074] Display the parameter selection page;

[0075] In response to the selection of the first target parameter on the parameter selection page, the target parameter information is determined based on the information of the first target parameter.

[0076] The parameter selection page can be triggered and displayed through a second operation. The parameter selection page may include information about at least one first parameter corresponding to the first virtual component. The first parameter is also the parameter of the first virtual component.

[0077] In some embodiments, the parameter information may include a setting control that can be used to trigger the display of a parameter selection page. The second operation on the parameter information may then include a triggering operation on the setting control.

[0078] For example, please see Figure 7 , Figure 7 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 7 The graphical user interface shown above can include settings controls in the parameter information. When a user clicks on a settings control, a parameter selection page can be triggered.

[0079] That is, to obtain Figure 7The graphical user interface shown below displays a parameter selection page. This parameter selection page can include parameters from multiple categories. These categories may include: basic categories, physical categories, performance categories, etc.

[0080] For example, Figure 7 The graphical user interface shown below displays parameters for basic categories, which may include: color, name, more attributes - timed destruction, etc.; and parameters for physical categories, which may include: enable physical collision, resistance attribute - coefficient of sliding friction, etc.

[0081] The first target parameter refers to the parameter selected by the user on the parameter selection page, and the first target parameter selected by the user can be used as the target parameter information.

[0082] For example, please see Figure 8 , Figure 8 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 8 In the graphical user interface shown above, the parameter selection page displays several primary parameters, which may include color, name, more attributes - timed destruction, enable physical collision, resistance attributes - sliding friction coefficient, etc.

[0083] When a user makes a selection on the parameter selection page, the target first parameter can be determined based on the first parameter corresponding to the selection, and the target first parameter can be displayed with a selection indicator.

[0084] That is, to obtain Figure 8 The graphical user interface shown below includes a target first parameter that can include: color, name, and enable physics collision. These target first parameters are marked with a checkmark "√". Furthermore, by triggering the confirmation control, the selected color, name, and enable physics collision can be determined as the target parameter information.

[0085] In some embodiments, the parameter selection page may also include a select all control, which can be used to select all the first parameters on the parameter selection page.

[0086] In some embodiments, each parameter category on the parameter selection page can have a corresponding selection control, which can be used to select parameters of that type. For example, clicking the selection control corresponding to the basic category will select all parameters of that basic category. This satisfies various parameter selection needs of users.

[0087] In some embodiments, to facilitate the extraction of different parameters from different first virtual components to obtain target parameter information, the step "determine the target parameter information extracted from the first virtual component in response to the parameter extraction operation for the first virtual component in the graphical user interface" may include the following operations:

[0088] In response to a parameter extraction operation for multiple first virtual components in a graphical user interface, first parameter information extracted from each first virtual component is determined;

[0089] Based on the information of each first parameter, the target parameter information is determined.

[0090] Specifically, in response to parameter extraction operations for multiple first virtual components in a graphical user interface, determining the first parameter information extracted from each first virtual component may include: displaying the parameter information of each first virtual component by triggering operations on each first virtual component, then extracting the required parameters from the parameter information of each first virtual component as each first parameter information, and further, combining the first parameter information to obtain target parameter information that incorporates the parameters of multiple first virtual components.

[0091] 102. Display the reference component generated based on the target parameter information.

[0092] In this embodiment of the application, in order to facilitate the use of the extracted target parameter information by the user, a reference component corresponding to the target parameter information can be generated. The reference component is also a component generated based on the parameters in the target parameter information, which is a concrete representation of the parameters in the target parameter information.

[0093] The display style of the reference component can include various types. For example, the display style of the reference component can be the same as that of the first virtual component, or the display style of the reference component can be determined based on the target parameter information.

[0094] In some embodiments, to facilitate user awareness of the correspondence between the reference component and the first virtual component, this correspondence includes: the reference component includes at least some of the parameters of the first virtual component. The display style of the reference component can be set to be the same as that of the first virtual component.

[0095] For example, please see Figure 9 , Figure 9 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 9 The graphical user interface shown displays a first virtual component and a reference component. The first virtual component and the reference component have the same display style.

[0096] In some embodiments, to facilitate users in distinguishing between first virtual components and reference components that have the same display style, the reference component can be set to be transparent, or an identifier can be displayed on the reference component to differentiate it from the first virtual component.

[0097] In some embodiments, to facilitate users' understanding of the target parameter information corresponding to the reference component, the display style of the reference component can be determined based on the target parameter information.

[0098] For example, please see Figure 10 , Figure 10 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 10 The graphical user interface shown displays a first virtual component and a reference component. The display style of the reference component is determined based on the target reference information. For example, if the target reference information includes a shape parameter of sphere, then the display style of the reference component will be sphere.

[0099] In some embodiments, the display style of the reference component can be determined based on the extracted target parameter information of the first virtual component. For example, the target parameter information may include: the color is red and the shape is a cube. In this case, the displayed reference component will have the same color as the first virtual component (red) and the same shape (cube). Since the target parameter information does not include the size, the size of the displayed reference component can be the default size set by the system, or it can be different from the size of the first virtual component, etc. Displaying the reference component in this way allows users to easily understand which parameter information of the first virtual component is included in the reference component.

[0100] 103. In response to the association instruction, update the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component.

[0101] In the embodiments of this application, the associated instruction is an instruction triggered by a sliding operation on the reference component and the second virtual component, or an instruction triggered by a touch operation on the reference component and the second virtual component.

[0102] For example, associated instructions may include: instructions to trigger by dragging the reference component onto the second virtual component, instructions to trigger by dragging the second virtual component onto the reference component, or instructions to trigger by clicking the second virtual component and the reference component respectively, etc.

[0103] Specifically, the association instruction can be used to copy the target parameter information of the first virtual component into the second virtual component, that is, to update the parameters of the second virtual component according to the target parameter information, so that at least some of the parameters of the second virtual component are the same as those of the first virtual component.

[0104] The second virtual component is at least one of the following: a created virtual component and a virtual component corresponding to a virtual component control.

[0105] Among them, the created virtual component refers to the virtual component that has been created by the user, and the created virtual component can be configured by the user.

[0106] For example, a graphical user interface can display a virtual scene, and a second virtual component can be a scene element component that has already been created in the virtual scene.

[0107] For example, a graphical user interface can display an interaction layer, and the second virtual component can be an interface interaction component that has already been created in the interaction layer.

[0108] Among them, the virtual component control refers to the virtual component that has not been created by the user, and the uncreated virtual component has not been configured by the user.

[0109] In some embodiments, the graphical user interface may provide a virtual component selection area, which may include a plurality of preset virtual component controls, which can be used by the user to create virtual components.

[0110] In some embodiments, when the second virtual component is an already created virtual component, the step "in response to the association instruction, update the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component" may include the following operations:

[0111] In response to dragging the reference component onto the second virtual component, the parameters of the second virtual component, determined according to the association instruction, are updated based on the target parameter information of the reference component.

[0112] For example, please see Figure 11 , Figure 11 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 11 The graphical user interface shown above displays a first virtual component, a reference component, and a second virtual component (the second virtual component is the one that has already been created). When the user drags the reference component onto the second virtual component, an update of the second virtual component based on the target parameter information can be triggered.

[0113] In some embodiments, an updated second virtual component may also be displayed, i.e., see reference. Figure 11 The graphical user interface shown below displays an updated second virtual component, whose parameters are at least partially identical to those of the first virtual component.

[0114] In some embodiments, after responding to dragging a reference component onto a second virtual component, updating the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component, and displaying the updated second virtual component, the display of the reference component can continue in the graphical user interface to facilitate the user to continue updating the parameters of other virtual components based on the reference component.

[0115] In some embodiments, when the second virtual component is an already created virtual component, in order to facilitate the user to quickly apply the parameters of the reference component to multiple already created virtual components, the method may further include the following steps:

[0116] In response to dragging the reference component onto multiple second virtual components in sequence, the parameters of the multiple second virtual components are updated based on the target parameter information of the reference component, resulting in the updated multiple second virtual components.

[0117] For example, please see Figure 12 , Figure 12 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 12 The graphical user interface shown above displays a first virtual component, a reference component, and multiple second virtual components (these are the already created virtual components). When it is detected that the user drags the reference component onto the multiple second virtual components in sequence, it can trigger an update of the multiple second virtual components based on the target parameter information, resulting in the updated multiple second virtual components.

[0118] In some embodiments, when the second virtual component is a virtual component corresponding to a virtual component control, the step "in response to the association instruction, update the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component" may include the following operations:

[0119] In response to dragging the virtual component control corresponding to the second virtual component to the reference component, the parameters of the virtual component control corresponding to the second virtual component are updated based on the target parameter information of the reference component.

[0120] For example, please see Figure 13 , Figure 13 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 13 The graphical user interface shown above displays a first virtual component, a reference component, and a virtual component selection area. The virtual component selection area includes a second virtual component (in this case, the virtual component corresponding to the virtual component control). This second virtual component can be created by the user within the graphical user interface.

[0121] When it is detected that a user drags a second virtual component onto a reference component, it can trigger an update of the second virtual component based on the target parameter information. That is, the second virtual component is configured with parameters based on the target parameter information, and the second virtual component with the configured parameters is used as the updated second virtual component.

[0122] In some embodiments, the updated second virtual component may also be displayed in the graphical user interface (this may indicate that an updated second virtual component has been created in the graphical user interface). See also... Figure 13 The graphical user interface shown below displays an updated second virtual component, whose parameters are at least partially identical to those of the first virtual component.

[0123] In some embodiments, when the second virtual component is a virtual component corresponding to a virtual component control, in order to facilitate the user to quickly apply the parameters of the reference component to the virtual components corresponding to multiple virtual component controls, the method may further include the following steps:

[0124] In response to dragging the reference component to the virtual component control corresponding to the second virtual component, the virtual component control corresponding to the second virtual component is updated based on the target parameter information of the reference component.

[0125] For example, please see Figure 14 , Figure 14 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 14 The graphical user interface shown above displays a first virtual component, a reference component, and multiple second virtual components (at this time, the second virtual components are the virtual components corresponding to the virtual component controls). When it is detected that the user drags multiple virtual components onto the reference component, it can trigger the updating of multiple second virtual components based on the target parameter information, resulting in the updated multiple second virtual components.

[0126] In some embodiments, virtual components can be used to create virtual scenes. For example, a graphical user interface can display a virtual scene and a first virtual component selection area. The first virtual component selection area may include multiple preset scene element components. The preset scene element components can be used to create in the virtual scene. Then, the second virtual component can be a preset scene element component in the first virtual component selection area.

[0127] For example, please see Figure 15 , Figure 15 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 15The graphical user interface shown above displays a game scene and a scene element selection area. The game scene can include a first scene element component and its corresponding reference component. The scene element selection area includes multiple preset scene element components.

[0128] For example, the scene element selection area includes various component types, such as structures, furniture, environment, mechanisms, and creatures. Each component type can further include multiple subtypes; for instance, under the structure type, it can include subtypes such as basic shapes, building materials, doors, windows, fences, and style plots. The scene element selection area can also display multiple preset scene element components, such as basic blocks, basic cylinders, spheres, and cones. The currently displayed scene element components can belong to the basic shape subtype within the structure type. Users can select the desired scene element components in the scene element selection area to edit the game scene.

[0129] When it is detected that the user drags the second scene element component from the scene element selection area to the reference component in the game scene, the second scene element component can be updated according to the target parameter information of the first scene element component, thereby creating the updated second scene element component in the game scene.

[0130] That is, to obtain Figure 15 The graphical user interface shown below displays an updated second scene element component in the game scene, which has at least some parameters identical to the first scene element component.

[0131] In some embodiments, virtual components can be used to create an interaction layer. For example, a graphical user interface can display an interaction layer and a second virtual component selection area. The second virtual component selection area can include multiple preset interface interaction components. The preset interface interaction components can be used to create in the interaction layer. Then, the second virtual component can be a preset interface interaction component in the second virtual component selection area.

[0132] In some embodiments, if the second virtual component is a virtual component corresponding to a virtual component control, the method may further include the following steps:

[0133] Create the updated second virtual component in the graphical user interface and hide the reference component.

[0134] Specifically, when it is detected that the user drags the second virtual component onto the reference component, the parameters of the second virtual component can be configured according to the target parameter information. Based on the second virtual component with the configured parameters, it becomes the updated second virtual component, and the updated second virtual component is created in the graphical user interface. Then the reference component is de-displayed. In this way, users can easily configure the parameters of the newly created virtual component.

[0135] For example, please see Figure 16 , Figure 16 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 16 The graphical user interface shown above displays a first virtual component, a reference component, and a virtual component selection area. The virtual component selection area includes a second virtual component (in this case, the virtual component corresponding to the virtual component control). This second virtual component can be created by the user within the graphical user interface.

[0136] When it is detected that the user drags the second virtual component onto the reference component, the parameter configuration of the second virtual component can be triggered according to the target parameter information of the first virtual component. Based on the second virtual component after the configuration parameters, it becomes the updated second virtual component, and the updated second virtual component is created in the graphical user interface, and the reference component is de-displayed.

[0137] That is, to obtain Figure 16 The graphical user interface shown below displays an updated second virtual component, whose parameters are at least partially identical to those of the first virtual component, and the reference component is de-displayed.

[0138] In some instances, to facilitate updating multiple second virtual components based on a reference component, the reference component can be copied before updating the second virtual component, generating multiple reference components. This way, after using one reference component, different second virtual components can be updated using other reference components.

[0139] In some embodiments, to facilitate updating multiple second virtual components based on a reference component, the reference component can still be displayed after the updated second virtual component is created, so that other second virtual components can continue to be updated through the reference component.

[0140] In some embodiments, to facilitate user creation of virtual components, when the second virtual component is a virtual component corresponding to a virtual component control, the method may further include the following steps:

[0141] In response to dragging the reference component onto the second virtual component, the parameters of the second virtual component, determined according to the association instruction, are updated based on the target parameter information of the reference component, and the updated second virtual component is generated.

[0142] This involves generating an updated second virtual component, which is essentially creating a second virtual component within the graphical user interface.

[0143] For example, please see Figure 17 , Figure 17 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 17 The graphical user interface shown above displays a first virtual component, a reference component, and a virtual component selection area. The virtual component selection area includes a second virtual component (in this case, the virtual component corresponding to the virtual component control). This second virtual component can be created by the user within the graphical user interface.

[0144] When it is detected that a user drags a reference component onto a second virtual component, it can trigger an update of the second virtual component based on the target parameter information. That is, the second virtual component is configured with parameters based on the target parameter information, and the second virtual component with the configured parameters is used as the updated second virtual component, and the updated second virtual component is created.

[0145] In some embodiments, the updated second virtual component can also be displayed in the graphical user interface (this may indicate that the updated second virtual component has been created in the graphical user interface). See also... Figure 17 The graphical user interface shown below displays an updated second virtual component, whose parameters are at least partially identical to those of the first virtual component.

[0146] In some embodiments, different virtual components may correspond to different parameters. In order to accurately update the parameters of the second virtual component based on the target parameter information, the step "update the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component" may include the following operations:

[0147] Obtain the second parameter corresponding to the second virtual component;

[0148] Update the value of the second parameter based on the value of the first parameter corresponding to the second parameter.

[0149] The target parameter information may include at least one first parameter and its value. The first parameter is the parameter item corresponding to the first virtual component.

[0150] For example, the first parameter of the target parameter information may include: color parameter, size parameter, etc., and the parameter value of the color parameter can be: red; the parameter value of the size parameter can be: 10X10, etc.

[0151] The second parameter refers to the parameter item corresponding to the second virtual component.

[0152] Updating the parameter value of the second parameter based on the parameter value of the first parameter corresponding to the second parameter may include: firstly, determining the second parameter corresponding to the first parameter in the target parameter information from the second parameters of the second virtual component, and using it as the second parameter whose parameter value needs to be updated; then, adjusting the parameter value of the second parameter from the parameter values ​​of the first parameter corresponding to these second parameters.

[0153] For example, the first parameter in the target parameter information may include: parameter A1, parameter B1, parameter C1, etc. The parameter value of parameter A1 can be 'a'; the parameter value of parameter B1 can be 'b'; and the parameter value of parameter C1 can be 'c'. The second parameter of the second virtual component may include: parameter A2, parameter C2, and parameter D1. It can be determined that parameter A1 corresponds to parameter A2, and parameter C1 corresponds to parameter C2. Therefore, it can be determined that the second parameter in the second virtual component that needs to have its parameter value updated may include: parameter A2 and parameter C2.

[0154] Furthermore, the parameter value 'a' of parameter A1 is set to the parameter value of parameter A2, and the parameter value 'c' of parameter C1 is set to the parameter value of parameter C2, thereby completing the update of the second parameter of the second virtual component.

[0155] Since the second parameter of the second virtual component does not exist in the first parameter (parameter B1) in the target parameter information, parameter B1 in the target parameter information does not take effect when updating the parameters of the second virtual component according to the target parameter information, that is, parameter B1 is not updated in the second virtual component.

[0156] In some embodiments, for a reference component generated based on target parameter information, the reference component can be further edited to update its parameters. In this case, the method may further include the following steps:

[0157] In response to an edit operation on a reference component, the edited reference component is determined based on the edit operation.

[0158] The editing operation can be used to edit and adjust the target parameter information corresponding to the reference component.

[0159] The editing operations for the reference component can include various methods, such as: directly adjusting the parameters of the reference component through touch operations; adjusting the parameters of the reference component in the editing page; etc.

[0160] In some embodiments, adjusting the parameters of a reference component directly through touch operations on the reference component may include: adjusting the position parameters of the reference component by sliding a single touch point on the reference component; adjusting the size parameters of the reference component by sliding multiple touch points on the reference component, etc.

[0161] In some embodiments, the parameters of the reference component can be directly adjusted by touch operation on the reference component, as can be seen in [reference]. Figure 18 , Figure 18 This is a schematic diagram illustrating an application scenario of another virtual component processing method provided in an embodiment of this application. Figure 18 The graphical user interface shown above displays a first virtual component and a reference component generated by extracting target parameter information from the first component. When a click on the reference component is detected, an editing page can be triggered.

[0162] That is, to obtain Figure 18 The graphical user interface shown below includes an editing page displaying target parameter information. Users can adjust these parameters, such as the color value of a color parameter, through this page. The adjusted target parameter information is then used to update the reference component, which becomes the new reference component after editing.

[0163] In some embodiments, to facilitate the use of the edited reference component, the method may further include the following steps:

[0164] In response to the association instruction between the edited reference component and the second virtual component, the parameters of the second virtual component are updated based on the parameters of the edited reference component.

[0165] At this point, the association instruction can be used to trigger the copying of the updated target parameter information to the second virtual component, that is, to update the parameters of the second virtual component according to the updated target parameter information, so as to facilitate the parameter configuration of the second virtual component.

[0166] 104. Display the updated second virtual component.

[0167] In this embodiment of the application, after the parameters of the second virtual component are updated according to the target parameter information of the reference component, the updated second virtual component can be displayed to facilitate users to view the display effect of the updated second virtual component.

[0168] This application discloses a method for processing virtual components. The method includes: determining target parameter information extracted from the first virtual component in response to a parameter extraction operation on a first virtual component in a graphical user interface; displaying a reference component generated based on the target parameter information; updating the parameters of a second virtual component determined according to the association instruction based on the target parameter information of the reference component in response to an association instruction; and displaying the updated second virtual component. This improves the processing efficiency of virtual components.

[0169] To facilitate better implementation of the virtual component processing method provided in this application, this application also provides a virtual component processing apparatus based on the above-described virtual component processing method. The meanings of the terms used are the same as in the above-described virtual component processing method, and specific implementation details can be found in the descriptions within the method embodiments.

[0170] Please see Figure 19 , Figure 19 This application provides a structural block diagram of a virtual component processing device, which provides a graphical user interface via a terminal device. The device includes:

[0171] The first determining unit 301 is configured to determine target parameter information extracted from the first virtual component in response to a parameter extraction operation for a first virtual component in the graphical user interface.

[0172] The first display unit 302 is used to display a reference component generated based on the target parameter information;

[0173] The first update unit 303 is used to update the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component in response to the association instruction.

[0174] The second display unit 304 is used to display the updated second virtual component.

[0175] In some embodiments, the second virtual component is at least one of the following: a created virtual component; and a virtual component corresponding to a virtual component control.

[0176] In some embodiments, the associated instruction is an instruction triggered by a sliding operation applied to the reference component and the second virtual component, or an instruction triggered by a touch operation applied to the reference component and the second virtual component.

[0177] In some embodiments, where the second virtual component is an already created virtual component...

[0178] The first update unit 303 may include:

[0179] The first update subunit is configured to update the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component in response to dragging the reference component onto the second virtual component.

[0180] In some embodiments, when the second virtual component is a virtual component corresponding to a virtual component control...

[0181] The first update unit 303 may include:

[0182] The second update subunit is used to update the parameters of the virtual component control corresponding to the second virtual component based on the target parameter information of the reference component in response to dragging the virtual component control corresponding to the second virtual component to the reference component.

[0183] In some embodiments, the device may further include:

[0184] A creation unit is used to create the updated second virtual component in the graphical user interface and to de-display the reference component.

[0185] In some embodiments, where the second virtual component is a virtual component corresponding to a virtual component control, the apparatus may further include:

[0186] The generation unit is configured to update the virtual component control corresponding to the second virtual component based on the target parameter information of the reference component in response to dragging the reference component to the virtual component control corresponding to the second virtual component.

[0187] In some embodiments, the target parameter information includes at least one first parameter and the parameter value of the first parameter;

[0188] The first update unit 303 may include:

[0189] The first acquisition subunit is used to acquire the second parameter corresponding to the second virtual component;

[0190] The third update subunit is used to update the parameter value of the second parameter based on the parameter value of the first parameter corresponding to the second parameter.

[0191] In some embodiments, the device may further include:

[0192] The second determining unit is configured to determine the edited reference component based on the editing operation in response to the editing operation on the reference component.

[0193] In some embodiments, the device may further include:

[0194] The second update unit is configured to update the parameters of the second virtual component based on the parameters of the edited reference component in response to the association instruction between the edited reference component and the second virtual component.

[0195] In some embodiments, the first determining unit 301 may include:

[0196] The first display subunit is configured to display parameter information of the first virtual component in response to a trigger operation on the first virtual component;

[0197] A determination subunit is configured to determine the target parameter information based on the parameter information in response to an extraction operation of the parameter information.

[0198] In some embodiments, determining the subunit can specifically be used for:

[0199] Display a parameter selection page, which includes information about at least one first parameter corresponding to the first virtual component;

[0200] In response to the selection operation of the target first parameter in the parameter selection page, the target parameter information is determined based on the information of the target first parameter.

[0201] This application discloses a virtual component processing apparatus. A first determining unit 301, in response to a parameter extraction operation on a first virtual component in a graphical user interface, determines target parameter information extracted from the first virtual component. A display unit 302 displays a reference component generated based on the target parameter information. A first updating unit 303, in response to an association instruction, updates the parameters of a second virtual component determined according to the association instruction based on the target parameter information of the reference component. A second display unit 304 displays the updated second virtual component. This improves the processing efficiency of virtual components.

[0202] Accordingly, embodiments of this application also provide a computer device, which can be a terminal. For example... Figure 20 As shown, Figure 20 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. The computer device 600 includes a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, and a computer program stored in the memory 602 and executable on the processor. The processor 601 and the memory 602 are electrically connected. Those skilled in the art will understand that the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0203] The processor 601 is the control center of the computer device 600. It connects various parts of the computer device 600 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, it performs various functions of the computer device 600 and processes data, thereby monitoring the computer device 600 as a whole.

[0204] In this embodiment, the processor 601 in the computer device 600 loads the instructions corresponding to the processes of one or more applications into the memory 602 according to the following steps, and the processor 601 runs the applications stored in the memory 602 to achieve various functions:

[0205] In response to a parameter extraction operation for a first virtual component in a graphical user interface, the target parameter information extracted from the first virtual component is determined.

[0206] Displays a reference component generated based on target parameter information;

[0207] In response to the association command, the parameters of the second virtual component determined according to the association command are updated based on the target parameter information of the reference component;

[0208] Display the updated second virtual component.

[0209] In some embodiments, the second virtual component is at least one of the following: a previously created virtual component; and a virtual component corresponding to a virtual component control.

[0210] In some embodiments, the associated instruction is an instruction triggered by a sliding operation on the reference component and the second virtual component, or an instruction triggered by a touch operation on the reference component and the second virtual component.

[0211] In some embodiments, where the second virtual component is an already created virtual component...

[0212] In response to the association command, the parameters of the second virtual component determined according to the association command are updated based on the target parameter information of the reference component, including:

[0213] In response to dragging the reference component onto the second virtual component, the parameters of the second virtual component, determined according to the association instruction, are updated based on the target parameter information of the reference component.

[0214] In some embodiments, when the second virtual component is a virtual component corresponding to a virtual component control...

[0215] In response to the association command, the parameters of the second virtual component determined according to the association command are updated based on the target parameter information of the reference component, including:

[0216] In response to dragging the virtual component control corresponding to the second virtual component to the reference component, the parameters of the virtual component control corresponding to the second virtual component are updated based on the target parameter information of the reference component.

[0217] In some embodiments, the method further includes:

[0218] Create the updated second virtual component in the graphical user interface and hide the reference component.

[0219] In some embodiments, when the second virtual component is a virtual component corresponding to a virtual component control, the method further includes:

[0220] In response to dragging the reference component to the virtual component control corresponding to the second virtual component, the virtual component control corresponding to the second virtual component is updated based on the target parameter information of the reference component.

[0221] In some embodiments, the target parameter information includes at least one first parameter and the parameter value of the first parameter;

[0222] Updating the parameters of the second virtual component, determined according to the association instruction, based on the target parameter information of the reference component, including:

[0223] Obtain the second parameter corresponding to the second virtual component;

[0224] Update the value of the second parameter based on the value of the first parameter corresponding to the second parameter.

[0225] In some embodiments, the method further includes:

[0226] In response to an edit operation on a reference component, the edited reference component is determined based on the edit operation.

[0227] In some embodiments, the method further includes:

[0228] In response to the association instruction between the edited reference component and the second virtual component, the parameters of the second virtual component are updated based on the parameters of the edited reference component.

[0229] In some embodiments, in response to a parameter extraction operation for a first virtual component in a graphical user interface, determining target parameter information extracted from the first virtual component includes:

[0230] In response to a trigger operation on the first virtual component, display the parameter information of the first virtual component;

[0231] In response to the extraction operation of parameter information, the target parameter information is determined based on the parameter information.

[0232] In some embodiments, in response to an extraction operation of parameter information, determining target parameter information based on the parameter information includes:

[0233] Display a parameter selection page, which includes information about at least one first parameter corresponding to the first virtual component;

[0234] In response to the selection of the first target parameter on the parameter selection page, the target parameter information is determined based on the information of the first target parameter.

[0235] This solution determines the target parameter information extracted from the first virtual component in response to a parameter extraction operation on the graphical user interface; displays a reference component generated based on the target parameter information; updates the parameters of the second virtual component determined according to the association command based on the target parameter information of the reference component in response to an association command; and displays the updated second virtual component. This enables rapid editing of virtual component parameters, thereby improving the processing efficiency of virtual components.

[0236] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0237] Optional, such as Figure 20 As shown, the computer device 600 also includes: a touch screen display 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch screen display 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607. Those skilled in the art will understand that... Figure 20 The computer device structure shown does not constitute a limitation on the computer device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0238] The touch display screen 603 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The touch display screen 603 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the computer device. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar technologies. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program according to the operation commands. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 601. It can also receive and execute commands from the processor 601. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 601 to determine the type of touch event. Subsequently, the processor 601 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the touch display screen 603 to achieve input and output functions. However, in some embodiments, the touch panel and the touch display screen 603 can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 603 can also be used as part of the input unit 606 to achieve input functions.

[0239] The radio frequency circuit 604 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other computer devices, and to transmit and receive signals with network devices or other computer devices.

[0240] Audio circuitry 605 can be used to provide an audio interface between a user and a computer device via a speaker and a microphone. Audio circuitry 605 can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuitry 605, converted back into audio data, and then processed by processor 601 before being transmitted via radio frequency circuitry 604 to, for example, another computer device, or output to memory 602 for further processing. Audio circuitry 605 may also include an earphone jack to facilitate communication between peripheral headphones and computer devices.

[0241] The input unit 606 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.

[0242] Power supply 607 is used to supply power to various components of computer device 600. Optionally, power supply 607 can be logically connected to processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 607 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0243] although Figure 20 As not shown in the diagram, computer device 600 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.

[0244] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0245] As can be seen from the above, the computer device provided in this embodiment can, in response to a parameter extraction operation on a first virtual component in a graphical user interface, determine target parameter information extracted from the first virtual component; display a reference component generated based on the target parameter information; in response to an association instruction, update the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component; and display the updated second virtual component.

[0246] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0247] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of computer programs that can be loaded by a processor to execute steps in any of the virtual component processing methods provided in embodiments of this application. For example, the computer program can execute the following steps:

[0248] In response to a parameter extraction operation for a first virtual component in a graphical user interface, the target parameter information extracted from the first virtual component is determined.

[0249] Displays a reference component generated based on target parameter information;

[0250] In response to the association command, the parameters of the second virtual component determined according to the association command are updated based on the target parameter information of the reference component;

[0251] Display the updated second virtual component.

[0252] In some embodiments, the second virtual component is at least one of the following: a previously created virtual component; and a virtual component corresponding to a virtual component control.

[0253] In some embodiments, the associated instruction is an instruction triggered by a sliding operation on the reference component and the second virtual component, or an instruction triggered by a touch operation on the reference component and the second virtual component.

[0254] In some embodiments, where the second virtual component is an already created virtual component...

[0255] In response to the association command, the parameters of the second virtual component determined according to the association command are updated based on the target parameter information of the reference component, including:

[0256] In response to dragging the reference component onto the second virtual component, the parameters of the second virtual component, determined according to the association instruction, are updated based on the target parameter information of the reference component.

[0257] In some embodiments, when the second virtual component is a virtual component corresponding to a virtual component control...

[0258] In response to the association command, the parameters of the second virtual component determined according to the association command are updated based on the target parameter information of the reference component, including:

[0259] In response to dragging the virtual component control corresponding to the second virtual component to the reference component, the parameters of the virtual component control corresponding to the second virtual component are updated based on the target parameter information of the reference component.

[0260] In some embodiments, the method further includes:

[0261] Create the updated second virtual component in the graphical user interface and hide the reference component.

[0262] In some embodiments, when the second virtual component is a virtual component corresponding to a virtual component control, the method further includes:

[0263] In response to dragging the reference component to the virtual component control corresponding to the second virtual component, the virtual component control corresponding to the second virtual component is updated based on the target parameter information of the reference component.

[0264] In some embodiments, the target parameter information includes at least one first parameter and the parameter value of the first parameter;

[0265] Updating the parameters of the second virtual component, determined according to the association instruction, based on the target parameter information of the reference component, including:

[0266] Obtain the second parameter corresponding to the second virtual component;

[0267] Update the value of the second parameter based on the value of the first parameter corresponding to the second parameter.

[0268] In some embodiments, the method further includes:

[0269] In response to an edit operation on a reference component, the edited reference component is determined based on the edit operation.

[0270] In some embodiments, the method further includes:

[0271] In response to the association instruction between the edited reference component and the second virtual component, the parameters of the second virtual component are updated based on the parameters of the edited reference component.

[0272] In some embodiments, in response to a parameter extraction operation for a first virtual component in a graphical user interface, determining target parameter information extracted from the first virtual component includes:

[0273] In response to a trigger operation on the first virtual component, display the parameter information of the first virtual component;

[0274] In response to the extraction operation of parameter information, the target parameter information is determined based on the parameter information.

[0275] In some embodiments, in response to an extraction operation of parameter information, determining target parameter information based on the parameter information includes:

[0276] Display a parameter selection page, which includes information about at least one first parameter corresponding to the first virtual component;

[0277] In response to the selection of the first target parameter on the parameter selection page, the target parameter information is determined based on the information of the first target parameter.

[0278] This solution determines the target parameter information extracted from the first virtual component in response to a parameter extraction operation on the graphical user interface; displays a reference component generated based on the target parameter information; updates the parameters of the second virtual component determined according to the association command based on the target parameter information of the reference component in response to an association command; and displays the updated second virtual component. This enables rapid editing of virtual component parameters, thereby improving the processing efficiency of virtual components.

[0279] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0280] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0281] Since the computer program stored in the storage medium can execute the steps in the processing method of any virtual component provided in the embodiments of this application, the beneficial effects that the processing method of any virtual component provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0282] The foregoing has provided a detailed description of a virtual component processing method, apparatus, storage medium, and computer device provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for processing virtual components, characterized in that, The method of providing a graphical user interface via a terminal device includes: In response to a parameter extraction operation for a first virtual component in the graphical user interface, target parameter information extracted from the first virtual component is determined; Displays a reference component generated based on the target parameter information; In response to the association instruction, the parameters of the second virtual component determined according to the association instruction are updated based on the target parameter information of the reference component, wherein the association instruction is an instruction triggered by a sliding operation on the reference component and the second virtual component, or an instruction triggered by a touch operation on the reference component and the second virtual component; The updated second virtual component is displayed.

2. The method according to claim 1, characterized in that, The second virtual component is at least one of the following: a previously created virtual component; and a virtual component corresponding to a virtual component control.

3. The method according to claim 1, characterized in that, If the second virtual component is an already created virtual component. The step of updating the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component in response to the association instruction includes: In response to dragging the reference component onto the second virtual component, the parameters of the second virtual component determined according to the association instruction are updated based on the target parameter information of the reference component.

4. The method according to claim 1, characterized in that, When the second virtual component is a virtual component corresponding to a virtual component control. The step of updating the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component in response to the association instruction includes: In response to dragging the virtual component control corresponding to the second virtual component to the reference component, the parameters of the virtual component control corresponding to the second virtual component are updated based on the target parameter information of the reference component.

5. The method according to claim 4, characterized in that, The method further includes: The updated second virtual component is created in the graphical user interface, and the reference component is de-displayed.

6. The method according to claim 1, characterized in that, When the second virtual component is a virtual component corresponding to a virtual component control, the method further includes: In response to dragging the reference component to the virtual component control corresponding to the second virtual component, the virtual component control corresponding to the second virtual component is updated based on the target parameter information of the reference component.

7. The method according to claim 1, characterized in that, The target parameter information includes at least one first parameter and the parameter value of the first parameter; The update of the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component includes: Obtain the second parameter corresponding to the second virtual component; Update the parameter value of the second parameter based on the parameter value of the first parameter corresponding to the second parameter.

8. The method according to claim 1, characterized in that, The method further includes: In response to an edit operation on the reference component, the edited reference component is determined based on the edit operation.

9. The method according to claim 8, characterized in that, The method further includes: In response to the association instruction between the edited reference component and the second virtual component, the parameters of the second virtual component are updated based on the parameters of the edited reference component.

10. The method according to claim 1, characterized in that, The step of determining the target parameter information extracted from the first virtual component in response to a parameter extraction operation for a first virtual component in the graphical user interface includes: In response to a trigger operation on the first virtual component, the parameter information of the first virtual component is displayed; In response to the extraction operation of the parameter information, the target parameter information is determined based on the parameter information.

11. The method according to claim 10, characterized in that, The step of determining the target parameter information based on the parameter information in response to the extraction operation of the parameter information includes: Display a parameter selection page, which includes information about at least one first parameter corresponding to the first virtual component; In response to the selection operation of the target first parameter in the parameter selection page, the target parameter information is determined based on the information of the target first parameter.

12. A processing apparatus for virtual components, characterized in that, The apparatus provides a graphical user interface via a terminal device, comprising: The first determining unit is configured to determine target parameter information extracted from the first virtual component in response to a parameter extraction operation for a first virtual component in the graphical user interface. The first display unit is used to display the reference component generated based on the target parameter information; The first update unit, in response to the association instruction, updates the parameters of the second virtual component determined according to the association instruction based on the target parameter information of the reference component, wherein the association instruction is an instruction triggered by a sliding operation on the reference component and the second virtual component, or an instruction triggered by a touch operation on the reference component and the second virtual component. The second display unit is used to display the updated second virtual component.

13. A computer device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the program to implement a method for processing virtual components as described in any one of claims 1 to 11.

14. A storage medium, characterized in that, The storage medium stores a plurality of instructions adapted for loading by a processor to execute the processing method of the virtual component according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Application generation method and device, computer equipment and storage medium

    CN116737138A

  • User interface configuration method and device, equipment and medium

    CN117732083A