CN113590219B - Data processing method and device, electronic equipment and storage medium - Google Patents

Data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113590219B
CN113590219B CN202110859590.3A CN202110859590A CN113590219B CN 113590219 B CN113590219 B CN 113590219B CN 202110859590 A CN202110859590 A CN 202110859590A CN 113590219 B CN113590219 B CN 113590219B
Authority
CN
China
Prior art keywords
configuration data
target
resource
resource configuration
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110859590.3A
Other languages
Chinese (zh)
Other versions
CN113590219A (en
Inventor
袁明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110859590.3A priority Critical patent/CN113590219B/en
Publication of CN113590219A publication Critical patent/CN113590219A/en
Application granted granted Critical
Publication of CN113590219B publication Critical patent/CN113590219B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The present disclosure provides a data processing method, apparatus, electronic device, storage medium and computer program product, and relates to the field of artificial intelligence such as augmented reality, computer vision, deep learning and the like. The specific implementation scheme is as follows: performing data processing on the initial resource configuration data by using the target plug-in to obtain target resource configuration data meeting the requirement of the configuration data; the initial resource configuration data is data produced based on a target animation tool, the target plug-in being a plug-in configured for the target animation tool; and generating a target resource packet based on the target resource configuration data. According to the scheme, target resource configuration data meeting the configuration data requirements are obtained by using the target plug-in, and a target resource package is generated based on the target resource configuration data. And the target plug-in is used for replacing manual operation to obtain target resource configuration data meeting the requirement of the configuration data, so that the generation efficiency of the target resource packet can be improved.

Description

Data processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of artificial intelligence, in particular to data processing and computer vision technologies, which can be used in the field of artificial intelligence such as augmented reality, computer vision, deep learning, and the like.
Background
AR (Augmented Reality) technology has been widely used in the fields of social interaction, gaming, navigation, and retail. The generation of the AR resource package is often a very important part of the implementation process of the AR technology.
However, the existing generation process of the AR resource packet often requires a large amount of manual operations, which results in low efficiency of generating the AR resource packet.
In addition, other resource packages than the AR resource package may have the above-described problems.
Disclosure of Invention
The present disclosure provides a data processing method, apparatus, electronic device, storage medium, and computer program product to improve efficiency of generating a resource package.
According to an aspect of the present disclosure, there is provided a data processing method, which may include the steps of:
performing data processing on the initial resource configuration data by using the target plug-in to obtain target resource configuration data meeting the requirement of the configuration data; the initial resource configuration data is data produced based on a target animation tool, the target plug-in being a plug-in configured for the target animation tool;
and generating a target resource packet based on the target resource configuration data.
According to another aspect of the present disclosure, there is provided a data processing apparatus, which may include:
the resource configuration data acquisition module is used for carrying out data processing on the initial resource configuration data by using the target plug-in to obtain target resource configuration data meeting the requirement of the configuration data; the initial resource configuration data is data produced based on a target animation tool, the target plug-in being a plug-in configured for the target animation tool;
and the resource packet generating module is used for generating a target resource packet based on the target resource configuration data.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method according to any one of the embodiments of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform a method in any of the embodiments of the present disclosure.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method in any of the embodiments of the present disclosure.
According to the technology disclosed by the invention, the target resource configuration data meeting the configuration data requirements can be obtained by using the target plug-in, and the target resource package is generated based on the target resource configuration data. The target plug-in is used for replacing manual operation to obtain the target resource configuration data meeting the configuration data requirement, the generation efficiency of the target resource package can be improved, and the possibility of errors caused by obtaining the target resource configuration data through manual operation is reduced.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a flow chart of a data processing method provided by an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for obtaining target resource configuration data according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a target resource configuration data obtaining method according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a data processing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic view of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The present disclosure provides a data processing method, and specifically, referring to fig. 1, a flowchart of a data processing method is provided for an embodiment of the present disclosure. The method may comprise the steps of:
step S101: performing data processing on the initial resource configuration data by using a target plug-in to obtain target resource configuration data meeting the requirement of configuration data; the initial resource configuration data is data that is based on the target animation tool production, and the target plug-in is a plug-in configured for the target animation tool.
Step S102: and generating a target resource package based on the target resource configuration data.
In the generation process of the existing resource packet, manual data processing operation is often required to be performed on initial resource configuration data manufactured based on a target animation manufacturing tool to obtain target resource configuration data. And obtaining a target resource packet based on the target resource configuration data. Obtaining the target resource configuration data through manual operation may result in low efficiency of generating the resource package, and errors may easily occur in the process of obtaining the target resource configuration data.
According to the data processing method provided by the embodiment of the disclosure, the target resource configuration data meeting the configuration data requirement can be obtained by using the target plug-in, and the target resource packet is generated based on the target resource configuration data. The target plug-in is used for replacing manual operation to obtain the target resource configuration data meeting the configuration data requirement, the generation efficiency of the target resource package can be improved, and the possibility of errors caused by obtaining the target resource configuration data through manual operation is reduced.
In the embodiment of the present disclosure, the resource configuration data may be AR resource configuration data, and may also be other types of resource configuration data, such as: VR (Virtual Reality) resource configuration data, avatar resource configuration data, and the like, and may also be animation resources, and the like.
That is, embodiments of the present disclosure do not specifically limit the specific type of resource configuration data. Specifically, the data processing method provided in the embodiments of the present disclosure is specifically described below by taking resource configuration data as AR resource configuration data as an example, and a process and a principle of data processing when the resource configuration data is other resource configuration data than the AR resource configuration data are described below. The process and principle of data processing are the same as those of data processing when the resource configuration data is AR resource configuration data, and are not described in detail herein. When it is required to be noted that, since the resource packet is generated by using the resource configuration data, the type of the resource packet corresponds to the resource configuration data, for example: and when the resource configuration data is AR resource configuration data, the resource packet is an AR resource packet.
In the data processing method provided in the embodiments of the present disclosure, the execution subject is generally a user side of the AR engine configured with the target plug-in, or a server side providing services such as data processing and storage for the user side.
The AR engine may be directly built in the operating system of the user side, called by the target program or application run by the user side, or may be directly configured in the target program or application. The specific implementation of the user end is generally an electronic device installed with a target program or application.
Electronic devices include, but are not limited to, cell phones, tablet computers, notebook computers, and desktop computers.
The target program or application is a program or application capable of realizing the AR function. Including but not limited to application programs, computer applications, computer programs, and web applications.
The specific implementation manner of the server is generally a server or a server cluster.
If the resource allocation data is not the AR data resource allocation data and the resource packet is not the AR resource packet, the execution subject is generally the client of the other related engines configured with the target plug-in.
The initial AR resource configuration data is AR resource configuration data pre-made by animation production tools such as maya or 3dsMax, and the data format, data configuration and the like of the initial AR resource configuration data do not meet the preset configuration data requirements, so that the initial AR resource configuration data cannot be directly used for generating the target AR resource package. The initial AR resource configuration data generally includes, but is not limited to, audio, video, image sequences, trigger data 3D (3-dimensional) model scenes, and text.
The 3D modeling and animation software is referred to as maya, the 3D Max is called 3D Studio Max, often referred to as 3D Max or 3ds Max for short, and is a three-dimensional animation rendering and production software based on a PC (Personal Computer) system. Of course, the so-called target animation tool of the present disclosure may not be limited to just maya or 3 dsMax.
The target plug-in is a plug-in configured for the target animation tool. For maya, the target plug-in is a plug-in for processing initial AR resource configuration data generated based on maya; for 3dsMax, the target plug-in is a plug-in for processing initial AR resource configuration data generated based on 3 dsMax.
The configuration data requirement is a requirement preset for the target AR resource package, and generally includes, but is not limited to, a format of data, a configuration of data, and trigger data.
The format of the data such as the data format of the 3D model scene should be the glTF format; the configuration of the data is as follows: colors, special effects, etc. of the animation; the trigger data are: the trigger data may be implemented as a code according to the name of the audio data, a null node added to the specific audio data for playing the audio data, and the like.
The target AR resource configuration data is AR resource configuration data that meets a preset configuration data requirement and can be directly used for generating a target AR resource packet. The target AR resource configuration data generally includes, but is not limited to, audio, video, image sequences, trigger data 3D model scenes, special effects of text, or animation, and trigger data.
In the embodiment of the present disclosure, a specific implementation process of step S101 is shown in fig. 2, which is a flowchart of a method for obtaining target resource configuration data according to the embodiment of the present disclosure. The method for obtaining the target AR resource configuration data comprises the following steps:
step S201: and determining a resource package template corresponding to the target resource package.
Step S202: and writing the resource package template into a specified directory in the target plug-in.
Step S203: and obtaining target resource configuration data in the resource package template by using the target plug-in and the configuration data requirement.
According to the data processing method provided by the embodiment of the disclosure, the resource package template is written into the specified directory in the target plug-in, and then the target resource configuration data is obtained from the resource package template in the corresponding directory, so that the obtained target resource configuration data can be directly stored in the resource package template. Therefore, after the target resource configuration data are obtained, the target resource configuration data do not need to be written into the resource package template manually, and therefore the generation efficiency of the target resource package is improved.
The following further describes embodiments of the present disclosure by taking the resource configuration data as AR data resource configuration data, and taking the resource packet as an AR resource packet as an example.
The AR resource package template may be a generic template that integrates the common configurations required by different AR resource packages together for use as a basis for generating a target AR resource package.
The specific implementation manner of determining the AR resource package template corresponding to the target AR resource package may be to acquire a pre-generated AR resource package template from a pre-generated AR resource package template library. The AR resource package template generated in advance is stored in the AR resource package template library, and the generation efficiency of the target AR resource package can be further improved.
The specific implementation manner of writing the AR resource package template into the specified directory in the target plug-in may be: and importing the AR resource package template into a specified directory.
In addition, in order to prevent errors in the process of generating the target AR resource package, the AR resource package template may be copied to a designated directory to write the AR resource package template, and the initially determined AR resource package template may be used as a backup.
The specified directory is a data storage directory set in advance when the target plug-in is configured.
Since the initial AR resource configuration data has a plurality of different types or executes different function data, in order to facilitate processing of data in the target AR resource configuration data process and subsequent data search, modification and other work, the different types or different function execution data need to be written into corresponding directories in the AR resource packet template, respectively.
In order to improve the data writing efficiency, so as to improve the generation efficiency of the target resource package, and reduce errors possibly caused by manually writing data, in an embodiment of the present disclosure, a specific process of obtaining target resource configuration data in a resource package template by using a target plug-in and a configuration data requirement is shown in fig. 3, which is a flowchart of a method for obtaining target resource configuration data provided in an embodiment of the present disclosure. The method for obtaining the target resource configuration data comprises the following specific steps:
step S301: and writing the initial resource configuration data into the corresponding catalogue in the resource package template.
Step S302: and obtaining target resource configuration data in the resource package template in the corresponding directory by using the target plug-in and the configuration data requirement.
The specific steps of the method for obtaining the target resource configuration data are described by taking the resource configuration data as the AR data resource configuration data and taking the resource package as the AR resource package, wherein the corresponding directory in the AR resource package template is a directory which is pre-constructed for data storage aiming at different types or different executed functional data in the initial AR resource configuration data.
In the embodiment of the present disclosure, the specific implementation manner of step S102 is generally: and performing data integration on the target AR resource configuration data on the basis of the AR resource package template to generate a target AR resource package.
Because the AR resource package template can be a general template integrating the common configurations required by different AR resource packages, the generation of the target AR resource package on the AR resource package template can reduce the workload of the generation of the target AR resource package, and further improve the generation efficiency of the target AR resource package.
The data integration is generally implemented by performing operations such as sorting, error checking, and auditing on target AR resource configuration data, and then performing data merging, encapsulation, and the like on the AR resource package template and the sorted target AR resource configuration data to generate a target AR resource package.
Some of the initial AR resource configuration data are only in terms of data attributes such as data format, data size, and data capacity, and do not meet the configuration requirements of the target AR resource configuration data. In order to reduce the workload of data processing, a modification requirement for the initial AR resource configuration data may be set in the configuration data requirement, and used for instructing the target plug-in to modify the data attribute in the initial AR resource configuration data.
Under the condition that the configuration data requirement comprises a modification requirement aiming at the initial AR resource configuration data, the process of obtaining the target AR resource configuration data comprises the following steps: and according to the modification requirement, carrying out corresponding data modification on the initial AR resource configuration data to obtain target AR resource configuration data.
Some of the initial AR resource configuration data are only in terms of data attributes such as data format, color data, size of data, and capacity of data, and do not meet the configuration requirements of the target AR resource configuration data. In order to reduce the workload of data processing, a modification requirement for the initial AR resource configuration data may be set in the configuration data requirement, and used for instructing the target plug-in to modify the data attribute in the initial AR resource configuration data.
Under the condition that the configuration data requirement comprises a modification requirement aiming at the initial AR resource configuration data, the process of obtaining the target AR resource configuration data comprises the following steps: and according to the modification requirement, carrying out corresponding data modification on the initial AR resource configuration data to obtain target AR resource configuration data.
A portion of the initial AR resource configuration data lacks necessary data, such as trigger data, color data, lighting data, and the like. In order to obtain the target AR resource configuration data, it is necessary to write these pieces of data lacking necessity in the initial AR resource configuration data. In order to facilitate the writing of data, a configuration data writing requirement for guiding the writing of data may be configured in the configuration data requirement.
Under the condition that the configuration data requirement comprises a configuration data writing requirement aiming at the initial AR resource configuration data, the process of obtaining the target AR resource configuration data comprises the following steps: and writing corresponding configuration data in the initial AR resource configuration data according to the configuration data writing requirements to obtain target AR resource configuration data.
It should be emphasized again that, although the embodiment of the present disclosure uses the resource configuration data as the AR data resource configuration data, the resource packet is the AR resource packet, as an example, to specifically describe the data processing method provided by the embodiment of the present disclosure. However, the data processing method provided in the embodiments of the present disclosure is not only applicable to the AR data resource configuration data and the AR resource packet, but also applicable when the resource configuration data is data other than the AR data resource configuration data.
When the resource configuration data is VR resource configuration data, an embodiment of the present disclosure provides a data processing method, which includes the following steps:
firstly, carrying out data processing on initial VR resource configuration data by using a target plug-in to obtain target VR resource configuration data meeting the requirement of configuration data; the initial VR resource configuration data is data that is based on the target animation tool production, and the target plug-in is a plug-in configured for the target animation tool.
Then, a target VR resource package is generated based on the target VR resource configuration data.
When the resource configuration data is VR resource configuration data, an embodiment of the present disclosure provides a data processing method, which includes the following steps:
firstly, carrying out data processing on initial virtual image resource configuration data by using a target plug-in to obtain target virtual image resource configuration data meeting the requirement of configuration data; the initial avatar resource configuration data is data produced based on a target animation tool, and the target plug-in is a plug-in configured for the target animation tool.
Then, a target avatar resource package is generated based on the target avatar resource configuration data.
It should be noted that, in the embodiment of the present disclosure, if a character image is involved in the process of generating an AR resource package, the character image is not an image for a certain specific user, and cannot reflect personal information of the certain specific user. The construction of the character image is performed after the authorization of the user, and the construction process conforms to the relevant laws and regulations.
Additionally, the character representations in embodiments of the present disclosure may be from public data sets, or the character representations may be obtained via authorization of the user to whom the character representation corresponds.
As shown in fig. 4, the present disclosure provides a data processing apparatus including:
a resource configuration data obtaining module 401, configured to perform data processing on the initial resource configuration data by using a target plug-in, so as to obtain target resource configuration data meeting a requirement of configuration data; the initial resource configuration data is data produced based on a target animation production tool, and the target plug-in is a plug-in configured aiming at the target animation production tool;
a resource package generating module 402, configured to generate a target resource package based on the target resource configuration data.
In one embodiment, the resource configuration data obtaining module 401 may further include:
the resource package template obtaining submodule is used for determining a resource package template corresponding to the target resource package;
the resource package template writing submodule is used for writing the resource package template into a specified directory in the target plug-in;
and the resource configuration data obtaining submodule is used for obtaining target resource configuration data in the resource package template by utilizing the target plug-in and the configuration data requirements.
In one embodiment, the resource configuration data obtaining sub-module may further include:
the resource configuration data writing sub-module is used for writing the initial resource configuration data into the corresponding catalogue in the resource package template;
and the resource configuration data determining submodule is used for obtaining target resource configuration data in the resource package template in the corresponding directory by utilizing the target plug-in and the configuration data requirements.
In an embodiment, the resource package generating module 402 is specifically configured to perform data integration on the target resource configuration data on the basis of the resource package template to generate the target resource package.
In one embodiment, the resource package generating module may further include:
and the data modification submodule is used for carrying out corresponding data modification on the initial resource configuration data according to the modification requirement under the condition that the configuration data requirement comprises the modification requirement aiming at the initial resource configuration data so as to obtain the target resource configuration data.
In one embodiment, the resource package generating module may further include:
and the data modification submodule is used for writing corresponding configuration data into the initial resource configuration data according to the configuration data writing requirement to obtain target resource configuration data under the condition that the configuration data requirement comprises a configuration data writing requirement aiming at the initial resource configuration data.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 5 shows a schematic block diagram of an electronic device 500 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 5, the electronic device 500 includes a computing unit 510 that can perform various appropriate actions and processes in accordance with a computer program stored in a Read Only Memory (ROM)520 or a computer program loaded from a storage unit 5100 into a Random Access Memory (RAM) 530. In the RAM 530, various programs and data required for the operation of the device 500 can also be stored. The calculation unit 510, the ROM520 and the RAM 530 are connected to each other by a bus 540. An input/output (I/O) interface 550 is also connected to bus 540.
A number of components in the electronic device 500 are connected to the I/O interface 550, including: an input unit 560 such as a keyboard, a mouse, etc.; an output unit 570 such as various types of displays, speakers, and the like; a storage unit 570 such as a magnetic disk, an optical disk, or the like; and a communication unit 590 such as a network card, modem, wireless communication transceiver, etc. The communication unit 590 allows the electronic device 500 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 510 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 510 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (D step SP), and any suitable processor, controller, microcontroller, and the like. The computing unit 510 performs each of the methods and processes described above, such as a data processing method. For example, in some embodiments, the data processing method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 580. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 500 via the ROM520 and/or the communication unit 590. When the computer program is loaded into RAM 530 and executed by computing unit 510, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 510 may be configured to perform the data processing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), application specific integrated circuits (asics), application specific standard products (SPs step a), systems of system on a chip (SOC step), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (13)

1. A data processing method, comprising:
performing data processing on the initial AR resource configuration data by using the target plug-in to obtain target AR resource configuration data meeting the configuration data requirements; the initial AR resource configuration data is data based on a target animation tool production, the target plug-in is a plug-in configured for the target animation tool;
generating a target AR resource package based on the target AR resource configuration data;
the configuration data requirement is a requirement preset for the target AR resource packet, and the target AR resource configuration data is AR resource configuration data which can be directly used for generating the target AR resource packet;
the data processing of the initial AR resource configuration data by using the target plug-in to obtain the target AR resource configuration data meeting the configuration data requirement includes:
determining an AR resource package template corresponding to the target AR resource package;
writing the AR resource package template into a specified directory in the target plug-in;
obtaining the target AR resource configuration data in the AR resource package template by using the target plug-in and the configuration data requirement;
the AR resource package template is a general template generated by integrating common configurations required by different AR resource packages and is used as a basis for generating the target AR resource package.
2. The method of claim 1, wherein obtaining the target AR resource configuration data in the AR resource package template using the target plug-in and the configuration data requirements comprises:
writing the initial AR resource configuration data into a corresponding directory in the AR resource packet template;
and obtaining the target AR resource configuration data in the AR resource package template in the corresponding directory by using the target plug-in and the configuration data requirement.
3. The method of claim 1 or 2, wherein generating a target AR resource package based on the target AR resource configuration data comprises:
and performing data integration on the target AR resource configuration data on the basis of the AR resource package template to generate a target AR resource package.
4. The method according to claim 1 or 2, wherein in case that the configuration data requirement comprises a modification requirement for the initial AR resource configuration data, the obtaining the target AR resource configuration data comprises:
and according to the modification requirement, carrying out corresponding data modification on the initial AR resource configuration data to obtain the target AR resource configuration data.
5. The method according to claim 1 or 2, wherein in case that the configuration data requirement comprises a configuration data write requirement for the initial AR resource configuration data, the obtaining the target AR resource configuration data comprises:
and writing corresponding configuration data into the initial AR resource configuration data according to the configuration data writing requirement to obtain the target AR resource configuration data.
6. A data processing apparatus, comprising:
the resource configuration data acquisition module is used for carrying out data processing on the initial AR resource configuration data by using the target plug-in to obtain target AR resource configuration data meeting the configuration data requirements; the initial AR resource configuration data is data produced based on a target animation tool, the target plug-in being a plug-in configured for the target animation tool;
a resource package generating module, configured to generate a target AR resource package based on the target AR resource configuration data;
the configuration data requirement is a requirement preset for the target AR resource packet, and the target AR resource configuration data is AR resource configuration data which can be directly used for generating the target AR resource packet;
the resource configuration data obtaining module comprises:
a resource package template obtaining submodule, configured to determine an AR resource package template corresponding to the target AR resource package;
a resource package template writing sub-module, configured to write the AR resource package template into the specified directory in the target plugin;
a resource configuration data obtaining submodule, configured to obtain, in the AR resource package template, the target AR resource configuration data by using the target plug-in and the configuration data requirement;
the AR resource package template is a general template generated by integrating common configurations required by different AR resource packages and is used as a basis for generating the target AR resource package.
7. The apparatus of claim 6, wherein the resource configuration data obtaining sub-module comprises:
a resource configuration data writing sub-module, configured to write the initial AR resource configuration data into a corresponding directory in the AR resource packet template;
and the resource configuration data determining submodule is used for obtaining the target AR resource configuration data in the AR resource package template in the corresponding directory by utilizing the target plug-in and the configuration data requirements.
8. The apparatus according to claim 6 or 7, wherein the resource package generating module is specifically configured to perform data integration on the target AR resource configuration data on the basis of the AR resource package template to generate a target AR resource package.
9. The apparatus of claim 6 or 7, wherein the resource package generating module comprises:
and the data modification submodule is used for carrying out corresponding data modification on the initial AR resource configuration data according to the modification requirement under the condition that the configuration data requirement comprises the modification requirement aiming at the initial AR resource configuration data so as to obtain the target AR resource configuration data.
10. The apparatus of claim 6 or 7, wherein the resource package generating module comprises:
and the data modification submodule is used for writing corresponding configuration data into the initial AR resource configuration data according to the configuration data writing requirement under the condition that the configuration data requirement comprises a configuration data writing requirement aiming at the initial AR resource configuration data, so as to obtain the target AR resource configuration data.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 5.
12. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 5.
13. A computer program means executing a computer program which when executed by a processor implements the method of any one of claims 1 to 5.
CN202110859590.3A 2021-07-28 2021-07-28 Data processing method and device, electronic equipment and storage medium Active CN113590219B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110859590.3A CN113590219B (en) 2021-07-28 2021-07-28 Data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110859590.3A CN113590219B (en) 2021-07-28 2021-07-28 Data processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113590219A CN113590219A (en) 2021-11-02
CN113590219B true CN113590219B (en) 2022-09-16

Family

ID=78251264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110859590.3A Active CN113590219B (en) 2021-07-28 2021-07-28 Data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113590219B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7827549B2 (en) * 2006-09-15 2010-11-02 Symantec Corporation Method and system for creating and executing generic software packages
US8375351B2 (en) * 2007-06-23 2013-02-12 International Business Machines Corporation Extensible rapid application development for disparate data sources
WO2014020771A1 (en) * 2012-08-03 2014-02-06 富士通株式会社 Template generating program, template generating method, and template generating apparatus
JP6414185B2 (en) * 2016-11-30 2018-10-31 横河電機株式会社 Information processing apparatus, resource allocation system, and resource allocation method
CN110636320A (en) * 2019-09-24 2019-12-31 网易(杭州)网络有限公司 Animation generation method and device for live broadcast, storage medium and electronic equipment
CN112181522A (en) * 2020-09-28 2021-01-05 亚信科技(中国)有限公司 Data processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN113590219A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN113643412B (en) Virtual image generation method and device, electronic equipment and storage medium
US10672161B2 (en) Increasing readability of visualization nodes
CN112818656B (en) Data difference comparison method, device, equipment, medium and computer program product
CN114120414B (en) Image processing method, image processing apparatus, electronic device, and medium
US20230206578A1 (en) Method for generating virtual character, electronic device and storage medium
WO2023226371A1 (en) Target object interactive reproduction control method and apparatus, device and storage medium
CN115686499A (en) Method, device, storage medium and electronic equipment for generating request message
CN114792355A (en) Virtual image generation method and device, electronic equipment and storage medium
CN113870399B (en) Expression driving method and device, electronic equipment and storage medium
CN112862934A (en) Method, apparatus, device, medium, and product for processing animation
CN113590219B (en) Data processing method and device, electronic equipment and storage medium
CN113326038B (en) Method, apparatus, device, storage medium and program product for providing service
JP7138208B2 (en) Data thinning method, data thinning device, electronic device, storage medium and computer program product
CN114581586A (en) Method and device for generating model substrate, electronic equipment and storage medium
CN113138760A (en) Page generation method and device, electronic equipment and medium
CN112528593A (en) Document processing method and device, electronic equipment and storage medium
US20200073916A1 (en) Collaborative documentation
CN113342413B (en) Method, apparatus, device, medium, and article for processing components
CN113778905B (en) UI design acceptance method, device, equipment and storage medium
US11651030B2 (en) Delta-based conflict-free replicated data type arrays using dot stores that map dots to dot stores
CN113157360B (en) Method, apparatus, device, medium, and article for processing an API
US20170116069A1 (en) Category dependent pre-processor for batch commands
US10606939B2 (en) Applying matching data transformation information based on a user's editing of data within a document
CN108319750B (en) Subway engineering collaborative design system based on DWG file splitting and recombining method
CN117032859A (en) Layered development device, method, equipment and medium for UI (user interface) and business application

Legal Events

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