CN117707582A - Method and device for updating assembly of virtual object and computer equipment - Google Patents

Method and device for updating assembly of virtual object and computer equipment Download PDF

Info

Publication number
CN117707582A
CN117707582A CN202311817174.2A CN202311817174A CN117707582A CN 117707582 A CN117707582 A CN 117707582A CN 202311817174 A CN202311817174 A CN 202311817174A CN 117707582 A CN117707582 A CN 117707582A
Authority
CN
China
Prior art keywords
data
assembly
keel
target
virtual object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311817174.2A
Other languages
Chinese (zh)
Inventor
范嘉馨
张立杰
陈曦行
谢睿
陈光尧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Quyan Network Technology Co ltd
Original Assignee
Guangzhou Quyan Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Quyan Network Technology Co ltd filed Critical Guangzhou Quyan Network Technology Co ltd
Priority to CN202311817174.2A priority Critical patent/CN117707582A/en
Publication of CN117707582A publication Critical patent/CN117707582A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The application relates to an assembly updating method, device and computer equipment of a virtual object, and relates to the technical field of assembly data processing. The method comprises the following steps: responding to an assembly updating request for a virtual object in a target application, and acquiring target assembly data corresponding to the assembly updating request; according to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data; and according to the target keel data, performing assembly updating on the virtual object. According to the method and the device, on the premise that the smooth assembly and update of the virtual object are guaranteed, new keel data are not introduced, the resource quantity of the target application is prevented from being increased continuously, and the memory occupation quantity of the target application is prevented from being increased greatly when the virtual object is assembled and updated.

Description

Method and device for updating assembly of virtual object and computer equipment
Technical Field
The present invention relates to the field of assembly data processing technologies, and in particular, to an assembly update method, an assembly update device, and a computer device for a virtual object.
Background
With the continuous development of network technology, more and more application programs can optimize the use experience of users for application programs by adding assembly replacement functions to virtual objects in the application. For example, a game class application may perform assembly replacement for virtual objects within the application.
In the prior art, when new assembly is required to be added to a virtual object in an application, new keel data is required to be introduced into the application program, so that the smooth triggering of an assembly and replacement function is ensured; however, in the prior art, a method for realizing the assembly and replacement functions by introducing new keel data into the application can lead to continuous increase of the application resource amount and increase of the application memory occupation amount.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, and a computer device for updating an assembly of a virtual object, which can reduce the memory occupation amount of an application.
In a first aspect, the present application provides a method for updating an assembly of a virtual object. The method comprises the following steps:
responding to an assembly updating request for a virtual object in a target application, and acquiring target assembly data corresponding to the assembly updating request;
according to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data;
and according to the target keel data, performing assembly updating on the virtual object.
In one embodiment, according to the target assembly data, data modification is performed on initial keel data corresponding to the virtual object to obtain target keel data, including:
Determining the corresponding data insertion position of the target assembly data in the initial keel data;
and carrying out data modification on initial keel data corresponding to the virtual object according to the target assembly data and the data insertion position to obtain target keel data.
In one embodiment, determining the corresponding data insertion location of the target assembly data in the initial keel data comprises:
determining an assembly data type corresponding to the target assembly data;
and determining the corresponding data insertion position of the target assembly data in the initial keel data according to the corresponding relation between the data type and the insertion position and the assembly data type.
In one embodiment, if historical fitting data exists in the data insertion location of the initial keel data;
correspondingly, according to the target assembly data and the data insertion position, carrying out data modification on the initial keel data corresponding to the virtual object to obtain target keel data, wherein the method comprises the following steps:
and replacing historical assembly data in the data insertion position with the target assembly data to obtain target keel data.
In one embodiment, if no historical fitting data exists in the data insertion location of the initial keel data;
correspondingly, according to the target assembly data and the data insertion position, carrying out data modification on the initial keel data corresponding to the virtual object to obtain target keel data, wherein the method comprises the following steps:
And inserting the target assembly data into the data insertion position to obtain target keel data.
In one embodiment, the assembly update of the virtual object based on the target keel data includes:
determining historical keel data corresponding to the virtual object;
and replacing historical keel data with target keel data to realize assembly updating of the virtual object.
In a second aspect, the present application further provides an assembly update apparatus for a virtual object. The device comprises:
the acquisition module is used for responding to an assembly update request of the virtual object in the target application and acquiring target assembly data corresponding to the assembly update request;
the modification module is used for carrying out data modification on initial keel data corresponding to the virtual object according to the target assembly data to obtain target keel data;
and the updating module is used for assembling and updating the virtual object according to the target keel data.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
responding to an assembly updating request for a virtual object in a target application, and acquiring target assembly data corresponding to the assembly updating request;
According to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data;
and according to the target keel data, performing assembly updating on the virtual object.
In a fourth aspect, the present application also provides a computer-readable storage medium. A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
responding to an assembly updating request for a virtual object in a target application, and acquiring target assembly data corresponding to the assembly updating request;
according to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data;
and according to the target keel data, performing assembly updating on the virtual object.
In a fifth aspect, the present application also provides a computer program product. Computer program product comprising a computer program which, when executed by a processor, realizes the steps of:
responding to an assembly updating request for a virtual object in a target application, and acquiring target assembly data corresponding to the assembly updating request;
according to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data;
And according to the target keel data, performing assembly updating on the virtual object.
According to the method, the device and the computer equipment for assembling and updating the virtual object, the target assembling data are obtained, the initial keel data are subjected to data modification according to the target assembling data, the target keel data are obtained, and then the virtual object is assembled and updated according to the target keel data. According to the above, when the virtual object is assembled and updated, the new keel data is not introduced to realize the assembly and update, but the target assembly data corresponding to the assembly and update request is acquired, and then the initial keel data is subjected to data modification according to the target assembly data to obtain the target keel data.
Drawings
Fig. 1 is an application environment diagram of an assembly update method of a virtual object according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for updating an assembly of a virtual object according to an embodiment of the present application;
Fig. 3 is a schematic flow chart of determining target keel data according to an embodiment of the present application;
fig. 4 is a schematic flow chart of performing assembly update on a virtual object according to an embodiment of the present application;
FIG. 5 is a flowchart of another method for updating the assembly of a virtual object according to an embodiment of the present application;
fig. 6 is a schematic view of a first virtual object according to an embodiment of the present application;
fig. 7 is a schematic view of a second virtual object according to an embodiment of the present application;
FIG. 8 is a block diagram illustrating the assembly update of a first virtual object according to an embodiment of the present application;
FIG. 9 is a block diagram of an assembly update of a second virtual object according to an embodiment of the present application;
FIG. 10 is a block diagram illustrating an assembly update of a third virtual object according to an embodiment of the present application;
FIG. 11 is a block diagram illustrating an assembly update of a fourth virtual object according to an embodiment of the present application;
fig. 12 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application. In the description of the present application, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Based on the above situation, the method for updating the assembly of the virtual object provided in the embodiment of the present application may be applied to an application environment as shown in fig. 1. In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in FIG. 1. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing acquired data of the assembly updating method of the virtual object. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of assembly update of a virtual object.
The application discloses an assembly updating method, an assembly updating device, computer equipment and a storage medium of a virtual object, which specifically can comprise the following contents: and acquiring target assembly data, carrying out data modification on the initial keel data according to the target assembly data to obtain target keel data, and further, carrying out assembly updating on the virtual object according to the target keel data.
In one embodiment, as shown in fig. 2, fig. 2 is a flowchart of a method for updating the assembly of a virtual object according to an embodiment of the present application, and provides a method for updating the assembly of a virtual object, where the method for updating the assembly of a virtual object performed by a computer device in fig. 1 may include the following steps:
step 201, responding to an assembly update request for a virtual object in a target application, and acquiring target assembly data corresponding to the assembly update request.
It should be noted that, the target application may be a game application, and the target application is installed in a terminal device capable of running the target application, so that a user may perform an assembly replacement operation through the target application installed in the terminal device, to implement sending an assembly update request for a virtual object in the target application to a cloud server corresponding to the target application.
The assembly update request carries role assembly requirements corresponding to the virtual object, and the role assembly requirements are further used for indicating the assembly adjustment type and the assembly adjustment content of the virtual object; further, the assembly adjustment types may include, but are not limited to: headwear, coat, pants, keel data, etc.; the fitting adjustment content may include, but is not limited to: headwear is adjusted to a specified color, coat is adjusted to a specified size, keel data is adjusted to a specified color, etc.
Further, candidate assembly data corresponding to various assemblies may be predetermined, and when target assembly data corresponding to an assembly update request needs to be determined, the corresponding target assembly data may be selected from the candidate assembly data according to an assembly adjustment type and an assembly adjustment content of the virtual object in the assembly update request.
The candidate assembly data refer to assembly data respectively corresponding to different assembly types and different assembly contents, and further, the data format of the candidate assembly data is a JSON (JavaScript Object Notation, JS object numbered musical notation) format.
In one embodiment of the present application, if the first candidate fitting data corresponding to the red cap, the second candidate fitting data corresponding to the green cap, the third candidate fitting data corresponding to the red pants, and the fourth candidate fitting data corresponding to the green pants are predetermined; in addition, according to the role assembly requirement corresponding to the virtual object carried in the assembly updating request, the assembly adjustment type of the virtual object is 'cap', the assembly adjustment content of the virtual object is 'red cap', at this time, the first candidate assembly data corresponding to the red cap can be determined to be in accordance with the assembly adjustment type and the assembly adjustment content of the virtual object, and therefore the first candidate assembly data is used as the target assembly data corresponding to the assembly updating request.
And 202, carrying out data modification on initial keel data corresponding to the virtual object according to the target assembly data to obtain target keel data.
It should be noted that, in order to prevent that new keel data is introduced when the virtual object is assembled and updated subsequently, thereby causing the increase of the resource amount of the target application, therefore, the application inserts the target assembly data into the initial keel data to perform data modification on the initial keel data corresponding to the virtual object, obtain the target keel data, and ensure that the virtual object is assembled and updated subsequently on the premise that the new keel data is not introduced.
Specifically, when the target keel data is required to be obtained, the corresponding data insertion position of the target assembly data in the initial keel data can be determined, and then the target assembly data is inserted into the corresponding data insertion position in the initial keel data, so that the target keel data after data modification is obtained.
Further, when the data insertion position of the target assembly data corresponding to the initial keel data needs to be determined, the data insertion position corresponding to the data type can be determined according to the data type corresponding to the target assembly data, and the data insertion position is the data insertion position of the target assembly data corresponding to the initial keel data.
And 203, performing assembly updating on the virtual object according to the target keel data.
Before the virtual object is assembled and updated, the image resources corresponding to all the assemblies can be stored in a keel resource file corresponding to the virtual object (namely, a dragonatlassaset keel resource file), so that when the virtual object is assembled and updated according to target keel data, the image resource path corresponding to the target assembly data can be determined from the target keel data, the image resources corresponding to the target assembly data are determined from the image resources stored in the keel resource file and all the assemblies are stored, and then the virtual object is assembled and updated according to the image resources corresponding to the target assembly data, so that the virtual object assembly meeting the assembly update request is obtained.
According to the virtual object assembly updating method, the target assembly data are obtained, the initial keel data are subjected to data modification according to the target assembly data, the target keel data are obtained, and then the virtual object is assembled and updated according to the target keel data. According to the above, when the virtual object is assembled and updated, the new keel data is not introduced to realize the assembly and update, but the target assembly data corresponding to the assembly and update request is acquired, and then the initial keel data is subjected to data modification according to the target assembly data to obtain the target keel data.
In one embodiment, the user's use experience for an application may be optimized by adding a new assembly to virtual objects within the application; however, in the prior art, a method for realizing the assembly and replacement functions by introducing new keel data into the application can lead to continuous increase of the application resource amount and increase of the application memory occupation amount. In order to solve the above technical problem, as shown in fig. 3, according to the target assembly data, data modification is performed on initial keel data corresponding to the virtual object to obtain target keel data, which specifically includes the following contents:
step 301, determining a corresponding data insertion position of the target assembly data in the initial keel data.
Wherein the data insertion location refers to the location of the target assembly data in the initial keel data.
It should be noted that, when the data insertion position needs to be determined, the following may be specifically included: determining an assembly data type corresponding to the target assembly data; and determining the corresponding data insertion position of the target assembly data in the initial keel data according to the corresponding relation between the data type and the insertion position and the assembly data type.
The corresponding relation between the data types and the insertion positions is recorded with target assembly data of different data types, and the corresponding data insertion positions are in the initial keel data.
In one embodiment of the present application, if it is determined that the type of the assembly data corresponding to the target assembly data is the jacket assembly data; the corresponding relation between the data type and the insertion position is recorded with: the data type is the data insertion position A corresponding to the target assembly data of the coat assembly data, and the data type is the data insertion position B corresponding to the target assembly data of the shoe assembly data, so that the data insertion position A corresponding to the target assembly data of the coat assembly data can be determined according to the corresponding relation between the data type and the insertion position, and the data insertion position corresponding to the target assembly data in the initial keel data can be determined.
And 302, carrying out data modification on initial keel data corresponding to the virtual object according to the target assembly data and the data insertion position to obtain target keel data.
When the data of the initial keel data corresponding to the virtual object is modified, it is required to determine whether historical assembly data exists in the data insertion position of the initial keel data, and further, according to the determination result, the data modification of the initial keel data corresponding to the virtual object is achieved, so that target keel data is obtained.
In one embodiment of the present application, if historical fitting data exists in the data insertion location of the initial keel data; therefore, when the data modification needs to be performed on the initial keel data corresponding to the virtual object, the following specific contents may be included: and replacing historical assembly data in the data insertion position with the target assembly data to obtain target keel data.
Specifically, when the historical assembly data in the data insertion position is replaced by the target assembly data, the method specifically comprises the following steps: and deleting the historical assembly data in the data insertion position, copying the target assembly data, and pasting the target assembly data to the data insertion position.
In one embodiment of the present application, if no historical fitting data exists in the data insertion location of the initial keel data; therefore, when the data modification needs to be performed on the initial keel data corresponding to the virtual object, the following specific contents may be included: and inserting the target assembly data into the data insertion position to obtain target keel data.
Specifically, when the target assembly data is inserted into the data insertion position to obtain the target keel data, the method specifically comprises the following steps: the target assembly data is copied and directly pasted to the data insertion location.
According to the method for assembling and updating the virtual object, the target assembling data is inserted into the initial keel data by determining the corresponding data insertion position of the target assembling data in the initial keel data, so that the target keel data after data modification is obtained, a data basis is provided for subsequent assembling and updating of the virtual object, and smooth proceeding of assembling and updating of the virtual object is ensured.
In one embodiment, as shown in fig. 4, when the virtual object needs to be updated in assembly, the following may be specifically included:
step 401, determining historical keel data corresponding to the virtual object.
It should be noted that, the historical keel data refers to data corresponding to the virtual object before the virtual object is assembled and updated according to the assembly update request. Therefore, when the historical keel data corresponding to the virtual object needs to be determined, the historical keel data corresponding to the virtual object can be determined according to the keel data position corresponding to the virtual object.
The keel data storage position refers to the position where the keel data is located in the virtual object pair coded data.
Step 402, replacing historical keel data with target keel data to enable assembly updates to the virtual object.
It should be noted that, in order to ensure unified management and storage of the keel data in the following, before the historical keel data is replaced by the target keel data, the initial name field corresponding to the target keel data needs to be adjusted to the target name field, where the target name field is the field uniquely corresponding to the target keel data.
Further, when the virtual object needs to be assembled and updated, the historical keel data corresponding to the virtual object can be deleted, the target keel data is pasted to the original position of the historical keel data, namely the position of the keel data corresponding to the virtual object, and then the keel data of the virtual object is refreshed, so that the virtual object is assembled and updated.
According to the method for assembling and updating the virtual object, the target keel data are adopted to replace the historical keel data, so that the virtual object is assembled and updated, new keel data are not introduced on the premise that the virtual object is assembled and updated smoothly, the resource quantity of the target application is prevented from being increased continuously, and the memory occupation quantity of the target application is prevented from being increased greatly when the virtual object is assembled and updated.
In an embodiment, as shown in fig. 5, when the virtual object needs to be updated in an assembly manner, the following may be specifically included:
step 501, in response to an assembly update request for a virtual object in a target application, target assembly data corresponding to the assembly update request is obtained.
Step 502, determining an assembly data type corresponding to the target assembly data.
And step 503, determining the corresponding data insertion position of the target assembly data in the initial keel data according to the corresponding relation between the data type and the insertion position and the assembly data type.
And step 504, carrying out data modification on the initial keel data corresponding to the virtual object according to the target assembly data and the data insertion position to obtain target keel data.
Step 505, determining historical keel data corresponding to the virtual object.
Step 506, replacing historical keel data with target keel data to enable assembly updates to the virtual object.
In one embodiment of the present application, the target application is a game-like application. In addition, as shown in fig. 6, the virtual object in the target application acquires target assembly data according to the assembly update request of the virtual object in the target application, wherein the target assembly data is the target assembly data corresponding to the cap; according to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data; further, the virtual object is updated by fitting based on the target keel data, and the virtual object after the update is fitted is shown in fig. 7.
According to the virtual object assembly updating method, the target assembly data are obtained, the initial keel data are subjected to data modification according to the target assembly data, the target keel data are obtained, and then the virtual object is assembled and updated according to the target keel data. According to the above, when the virtual object is assembled and updated, the new keel data is not introduced to realize the assembly and update, but the target assembly data corresponding to the assembly and update request is acquired, and then the initial keel data is subjected to data modification according to the target assembly data to obtain the target keel data.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a virtual object assembly updating device for realizing the above related virtual object assembly updating method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the device for updating the assembly of one or more virtual objects provided below may refer to the limitation of the method for updating the assembly of a virtual object hereinabove, and will not be described herein.
In one embodiment, as shown in fig. 8, there is provided an assembly updating apparatus of a virtual object, including: an acquisition module 10, a modification module 20 and an update module 30, wherein:
the obtaining module 10 is configured to obtain, in response to an assembly update request for a virtual object in a target application, target assembly data corresponding to the assembly update request.
Wherein the target application is a game-like application.
And the modification module 20 is used for carrying out data modification on the initial keel data corresponding to the virtual object according to the target assembly data to obtain target keel data.
And the updating module 30 is used for updating the assembly of the virtual object according to the target keel data.
According to the virtual object assembly updating device, the target assembly data are obtained, the initial keel data are subjected to data modification according to the target assembly data, the target keel data are obtained, and then the virtual object is assembled and updated according to the target keel data. According to the above, when the virtual object is assembled and updated, the new keel data is not introduced to realize the assembly and update, but the target assembly data corresponding to the assembly and update request is acquired, and then the initial keel data is subjected to data modification according to the target assembly data to obtain the target keel data.
In one embodiment, as shown in fig. 9, there is provided an assembly updating apparatus of a virtual object, in which the modification module 20 includes: a first determination unit 21 and a modification unit 22, wherein:
a first determining unit 21 for determining a data insertion position of the target assembly data corresponding to the initial keel data.
And the modifying unit 22 is used for carrying out data modification on the initial keel data corresponding to the virtual object according to the target assembly data and the data insertion position to obtain target keel data.
The modification unit is specifically configured to: if historical assembly data exists in the data insertion position of the initial keel data; and replacing historical assembly data in the data insertion position with the target assembly data to obtain target keel data. If no historical assembly data exists in the data insertion position of the initial keel data; and inserting the target assembly data into the data insertion position to obtain target keel data.
In one embodiment, as shown in fig. 10, there is provided an assembly updating apparatus of a virtual object, in which a first determining unit 21 includes: a first determination subunit 211 and a second determination subunit 212, wherein:
a first determining subunit 211, configured to determine a type of assembly data corresponding to the target assembly data.
The second determining subunit 212 is configured to determine, according to the corresponding relationship between the data type and the insertion position and the assembly data type, a data insertion position corresponding to the target assembly data in the initial keel data.
In one embodiment, as shown in fig. 11, there is provided an assembly update apparatus of a virtual object, in which an update module 30 includes: a second determination unit 31 and a replacement unit 32, wherein:
And a second determining unit 31, configured to determine historical keel data corresponding to the virtual object.
And a replacing unit 32 for replacing the historical keel data with the target keel data to enable the assembly update of the virtual object.
The respective modules in the above-described assembly updating device of the virtual object may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 12. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements a method of assembly update of a virtual object. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 12 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
responding to an assembly updating request for a virtual object in a target application, and acquiring target assembly data corresponding to the assembly updating request;
according to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data;
and according to the target keel data, performing assembly updating on the virtual object.
In one embodiment, the processor when executing the computer program further performs the steps of: according to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data, wherein the method comprises the following steps:
Determining the corresponding data insertion position of the target assembly data in the initial keel data;
and carrying out data modification on initial keel data corresponding to the virtual object according to the target assembly data and the data insertion position to obtain target keel data.
In one embodiment, the processor when executing the computer program further performs the steps of: determining a corresponding data insertion position of the target assembly data in the initial keel data, comprising:
determining an assembly data type corresponding to the target assembly data;
and determining the corresponding data insertion position of the target assembly data in the initial keel data according to the corresponding relation between the data type and the insertion position and the assembly data type.
In one embodiment, the processor when executing the computer program further performs the steps of: if historical assembly data exists in the data insertion position of the initial keel data;
correspondingly, according to the target assembly data and the data insertion position, carrying out data modification on the initial keel data corresponding to the virtual object to obtain target keel data, wherein the method comprises the following steps:
and replacing historical assembly data in the data insertion position with the target assembly data to obtain target keel data.
In one embodiment, the processor when executing the computer program further performs the steps of: if no historical assembly data exists in the data insertion position of the initial keel data;
Correspondingly, according to the target assembly data and the data insertion position, carrying out data modification on the initial keel data corresponding to the virtual object to obtain target keel data, wherein the method comprises the following steps:
and inserting the target assembly data into the data insertion position to obtain target keel data.
In one embodiment, the processor when executing the computer program further performs the steps of: according to the target keel data, the virtual object is assembled and updated, and the method comprises the following steps:
determining historical keel data corresponding to the virtual object;
and replacing historical keel data with target keel data to realize assembly updating of the virtual object.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
responding to an assembly updating request for a virtual object in a target application, and acquiring target assembly data corresponding to the assembly updating request;
according to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data;
and according to the target keel data, performing assembly updating on the virtual object.
In one embodiment, the computer program when executed by the processor further performs the steps of: according to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data, wherein the method comprises the following steps:
Determining the corresponding data insertion position of the target assembly data in the initial keel data;
and carrying out data modification on initial keel data corresponding to the virtual object according to the target assembly data and the data insertion position to obtain target keel data.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining a corresponding data insertion position of the target assembly data in the initial keel data, comprising:
determining an assembly data type corresponding to the target assembly data;
and determining the corresponding data insertion position of the target assembly data in the initial keel data according to the corresponding relation between the data type and the insertion position and the assembly data type.
In one embodiment, the computer program when executed by the processor further performs the steps of: if historical assembly data exists in the data insertion position of the initial keel data;
correspondingly, according to the target assembly data and the data insertion position, carrying out data modification on the initial keel data corresponding to the virtual object to obtain target keel data, wherein the method comprises the following steps:
and replacing historical assembly data in the data insertion position with the target assembly data to obtain target keel data.
In one embodiment, the computer program when executed by the processor further performs the steps of: if no historical assembly data exists in the data insertion position of the initial keel data;
Correspondingly, according to the target assembly data and the data insertion position, carrying out data modification on the initial keel data corresponding to the virtual object to obtain target keel data, wherein the method comprises the following steps:
and inserting the target assembly data into the data insertion position to obtain target keel data.
In one embodiment, the computer program when executed by the processor further performs the steps of: according to the target keel data, the virtual object is assembled and updated, and the method comprises the following steps:
determining historical keel data corresponding to the virtual object;
and replacing historical keel data with target keel data to realize assembly updating of the virtual object.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
responding to an assembly updating request for a virtual object in a target application, and acquiring target assembly data corresponding to the assembly updating request;
according to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data;
and according to the target keel data, performing assembly updating on the virtual object.
In one embodiment, the computer program when executed by the processor further performs the steps of: according to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data, wherein the method comprises the following steps:
Determining the corresponding data insertion position of the target assembly data in the initial keel data;
and carrying out data modification on initial keel data corresponding to the virtual object according to the target assembly data and the data insertion position to obtain target keel data.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining a corresponding data insertion position of the target assembly data in the initial keel data, comprising:
determining an assembly data type corresponding to the target assembly data;
and determining the corresponding data insertion position of the target assembly data in the initial keel data according to the corresponding relation between the data type and the insertion position and the assembly data type.
In one embodiment, the computer program when executed by the processor further performs the steps of: if historical assembly data exists in the data insertion position of the initial keel data;
correspondingly, according to the target assembly data and the data insertion position, carrying out data modification on the initial keel data corresponding to the virtual object to obtain target keel data, wherein the method comprises the following steps:
and replacing historical assembly data in the data insertion position with the target assembly data to obtain target keel data.
In one embodiment, the computer program when executed by the processor further performs the steps of: if no historical assembly data exists in the data insertion position of the initial keel data;
Correspondingly, according to the target assembly data and the data insertion position, carrying out data modification on the initial keel data corresponding to the virtual object to obtain target keel data, wherein the method comprises the following steps:
and inserting the target assembly data into the data insertion position to obtain target keel data.
In one embodiment, the computer program when executed by the processor further performs the steps of: according to the target keel data, the virtual object is assembled and updated, and the method comprises the following steps:
determining historical keel data corresponding to the virtual object;
and replacing historical keel data with target keel data to realize assembly updating of the virtual object.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to comply with the related laws and regulations and standards of the related countries and regions.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples represent only a few embodiments of the present application, which are described in more detail and are not thereby to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A method of assembly updating of a virtual object, the method comprising:
responding to an assembly update request for a virtual object in a target application, and acquiring target assembly data corresponding to the assembly update request;
according to the target assembly data, carrying out data modification on initial keel data corresponding to the virtual object to obtain target keel data;
And according to the target keel data, assembling and updating the virtual object.
2. The method of claim 1, wherein the performing data modification on the initial keel data corresponding to the virtual object according to the target assembly data to obtain target keel data comprises:
determining a corresponding data insertion position of the target assembly data in the initial keel data;
and carrying out data modification on the initial keel data corresponding to the virtual object according to the target assembly data and the data insertion position to obtain target keel data.
3. The method of claim 2, wherein said determining a corresponding data insertion location of said target assembly data in said initial keel data comprises:
determining an assembly data type corresponding to the target assembly data;
and determining the corresponding data insertion position of the target assembly data in the initial keel data according to the corresponding relation between the data type and the insertion position and the assembly data type.
4. The method of claim 2, wherein if there is historical fitting data in the data insertion location of the initial keel data;
Correspondingly, the data modification is performed on the initial keel data corresponding to the virtual object according to the target assembly data and the data insertion position to obtain target keel data, including:
and replacing the historical assembly data in the data insertion position with the target assembly data to obtain target keel data.
5. The method of claim 2, wherein if no historical fitting data exists in the data insertion location of the initial keel data;
correspondingly, the data modification is performed on the initial keel data corresponding to the virtual object according to the target assembly data and the data insertion position to obtain target keel data, including:
and inserting the target assembly data into the data insertion position to obtain target keel data.
6. The method of claim 1, wherein said assembling the virtual object based on the target keel data comprises:
determining historical keel data corresponding to the virtual object;
and replacing the historical keel data with the target keel data to realize assembly updating of the virtual object.
7. An assembly updating apparatus for a virtual object, the apparatus comprising:
the acquisition module is used for responding to an assembly update request of a virtual object in a target application and acquiring target assembly data corresponding to the assembly update request;
the modification module is used for carrying out data modification on the initial keel data corresponding to the virtual object according to the target assembly data to obtain target keel data;
and the updating module is used for updating the assembly of the virtual object according to the target keel data.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202311817174.2A 2023-12-27 2023-12-27 Method and device for updating assembly of virtual object and computer equipment Pending CN117707582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311817174.2A CN117707582A (en) 2023-12-27 2023-12-27 Method and device for updating assembly of virtual object and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311817174.2A CN117707582A (en) 2023-12-27 2023-12-27 Method and device for updating assembly of virtual object and computer equipment

Publications (1)

Publication Number Publication Date
CN117707582A true CN117707582A (en) 2024-03-15

Family

ID=90149728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311817174.2A Pending CN117707582A (en) 2023-12-27 2023-12-27 Method and device for updating assembly of virtual object and computer equipment

Country Status (1)

Country Link
CN (1) CN117707582A (en)

Similar Documents

Publication Publication Date Title
CN114546558A (en) Drawing processing method and device, computer equipment and storage medium
CN112052157B (en) Method, device and system for constructing test message
CN117112090A (en) Business page theme generation method, device, computer equipment, medium and product
CN117707582A (en) Method and device for updating assembly of virtual object and computer equipment
CN116737852A (en) Vector tile data-based vector drawing method and device and electronic equipment
CN117130530A (en) Background map updating method, device, equipment, storage medium and program product
CN116881594A (en) View updating method, device, computer equipment and storage medium
CN118193083A (en) Software resource loading method and device, computer equipment and storage medium
CN116757176A (en) Different version business bill comparison method and related products
CN117312653A (en) Service policy determination method, device, computer equipment and storage medium
CN117370948A (en) Information display method, information display device, terminal and computer readable storage medium
CN118312310A (en) Dynamic capacity expansion method, system, terminal and medium for task machine of BIM system
CN116737140A (en) Business component construction method, device, computer equipment and storage medium
CN118012456A (en) Language text updating method and device, terminal equipment and storage medium
CN116977528A (en) Pattern rendering method, apparatus, computer device, and storage medium
CN116225426A (en) Method and device for calling reusable module, computer equipment and storage medium
CN117032690A (en) Theme interface generation method and device, computer equipment and storage medium
CN116629049A (en) Cross-section attribute giving method, device, equipment and storage medium for finite element model
CN117632987A (en) Data synchronization method, device, computer equipment and storage medium thereof
CN117612192A (en) Electronic drawing information identification method, system, electronic equipment and storage medium
CN117407620A (en) Page data processing method, device, computer equipment, storage medium and product
CN115840861A (en) Method and device for updating style layout information, computer equipment and storage medium
CN116881388A (en) Entry database determination method, apparatus, device, storage medium, and program product
CN115834953A (en) Special effect resource rendering method and device, live broadcast system, equipment and storage medium
CN116187286A (en) Method, device, platform, storage medium and product for generating potential perception report

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination