Cross-platform operation methods, devices, equipment and storage media
By acquiring and adapting resource configurations for different clients in the metaverse production pipeline, the cross-platform compatibility issue is resolved, enabling smooth execution of metaverse applications on multiple platforms.
Patent Information
- Application Number
- CN202311767133.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-20
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-12-20
AI Technical Summary
In the metaverse, multiple clients may be based on different operating platforms, which makes cross-platform operation difficult and makes it hard to achieve cross-platform adaptation and execution of metaverse applications.
By obtaining the target output from the first client in the metaverse's production pipeline, determining the resource configuration of its operating platform, and adapting it according to the differences in resource configuration of downstream clients, a target output adapted to the second operating platform is generated, thus realizing cross-platform digital resource transmission.
It enables smooth execution of metaverse applications across different platforms, adapts to differences in resource configuration, and ensures consistent and smooth operation across platforms.
Smart Images

Figure CN117742781B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, specifically the field of metaverse technology, and in particular to cross-platform operating methods, apparatus, devices, and storage media. Background Technology
[0002] The metaverse is a virtual world constructed by humans using digital technology. It is a virtual world that maps to or transcends the real world, can interact with the real world, and possesses a new social system.
[0003] Characters and scenes in the metaverse typically require multiple stages of editing and processing. However, since the clients at different stages can run on various platforms, such as Windows, iOS, Android, and H5 mini-programs, a cross-platform method for executing metaverse tasks is needed. Summary of the Invention
[0004] This disclosure provides a cross-platform operating method, apparatus, device, and storage medium.
[0005] According to one aspect of this disclosure, a cross-platform operating method is provided, comprising:
[0006] Obtain the first target output from the first client in the metaverse, and determine the resource configuration of the first operating platform on which the first client is based;
[0007] Based on the second client downstream of the first client, determine the resource configuration of the second operating platform on which the second client is based;
[0008] Based on the resource configuration differences between the first operating platform and the second operating platform, the first target output is adapted to obtain a second target output adapted to the second operating platform;
[0009] When the second client needs to retrieve digital resources, the second target output is sent to the second client.
[0010] According to another aspect of this disclosure, a cross-platform operating device is provided, comprising:
[0011] The acquisition module is used to acquire the first target output from the first client in the metaverse, and to determine the resource configuration of the first operating platform on which the first client is based;
[0012] The determining module is used to determine the resource configuration of the second operating platform on which the second client is based, based on the second client downstream of the first client;
[0013] An adaptation module is used to adapt the first target output to the resource configuration differences between the first operating platform and the second operating platform to obtain a second target output adapted to the second operating platform.
[0014] The processing module is used to send the second target output to the second client when the second client needs to retrieve digital resources.
[0015] According to another aspect of this disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect of this disclosure.
[0016] According to another aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions for causing a computer to perform the method described in the first aspect of this disclosure.
[0017] According to another aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the method described in the first aspect of this disclosure.
[0018] The cross-platform operation method, apparatus, device, and storage medium disclosed herein obtain a first target output from a first client in the metaverse and determine the resource configuration of a first operating platform on which the first client is based. Then, based on a second client downstream of the first client, the resource configuration of a second operating platform on which the second client is based is determined. Based on the differences in resource configuration between the first and second operating platforms, the first target output is adapted to obtain a second target output adapted to the second operating platform. When the second client needs to retrieve digital resources, the second target output is sent to the second client, thus achieving cross-platform operation of the metaverse between the first and second operating platforms.
[0019] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0020] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:
[0021] Figure 1 This is a schematic diagram of the processing flow of the production pipeline in the metaverse;
[0022] Figure 2 This is a flowchart illustrating a cross-platform operation method provided in an embodiment of this disclosure;
[0023] Figure 3 This is a flowchart illustrating a cross-platform operation method provided in an embodiment of this disclosure;
[0024] Figure 4 This is a schematic diagram illustrating the steps of a cross-platform operation method provided in an embodiment of this disclosure;
[0025] Figure 5 This is a flowchart illustrating a cross-platform operation method provided in an embodiment of this disclosure;
[0026] Figure 6 This is a schematic diagram of the structure of a cross-platform operating device provided in an embodiment of this disclosure;
[0027] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure is shown. Detailed Implementation
[0028] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0029] As the Metaverse business expands to more scenarios and explores needs more deeply, more demands are being placed on the Metaverse product form to adapt to different scenarios. Therefore, a Metaverse application that can run on different platforms is needed.
[0030] Figure 1 This is a schematic diagram of the production pipeline in the metaverse. The production pipeline is determined based on requirements such as product requirements, technical requirements, performance requirements, cost requirements, and production workload. It includes the production process, tools and toolchains, and production standards for each process. The production process refers to the production steps involved in the production process; the toolchain refers to the collection of each tool and related library used in a process; and the standards that each step in the production process must meet are called the production standards for that step.
[0031] In the metaverse scenario, the production process can be as follows: Figure 1As shown, the process begins with character / scene concept artists producing character / scene concept art. Then, 3D character artists, 3D scene modelers, 3D animators, and 3D effects artists create the corresponding 3D character and scene models, and handle the rigging of animations and effects to facilitate character / animation integration into the game. Next, terrain designers perform processing including terrain editing, lighting, and baking to complete the scene integration. Finally, backend development engineers (Research and Development, RD) handle the development process, including shaders, strategies, and performance optimization, to complete the creation of the metaverse. Subsequent effects integration testing identifies areas for artistic optimization, which are then optimized by the corresponding nodes before being integrated into the game.
[0032] As can be seen, the metaverse's production pipeline involves multiple nodes, and each node's clients may use different operating platforms. Ensuring that each client's operating platform can run metaverse applications is a technical problem that needs to be solved.
[0033] In this embodiment, a first target output is obtained from a first client in the metaverse's production pipeline, and the resource configuration of the first operating platform on which the first client is based is determined. Then, based on a second client downstream of the first client in the production pipeline, the resource configuration of the second operating platform on which the second client is based is determined. Based on the resource configuration differences between the first and second operating platforms, the first target output is adapted to obtain a second target output adapted to the second operating platform. When the second client needs to retrieve digital resources, the second target output is sent to the second client.
[0034] The following provides a method, apparatus, electronic device, and storage medium for cross-platform operation.
[0035] Figure 2 This is a flowchart illustrating a cross-platform operation method provided in an embodiment of this disclosure.
[0036] like Figure 2 As shown, it includes:
[0037] Step 201: Obtain the first target output from the first client in the metaverse's production pipeline, and determine the resource configuration of the first operating platform on which the first client is based.
[0038] Optionally, Figure 1The client of any node may run on different operating platforms. The platform used by any node is taken as the first operating platform. The client installation package of the first operating platform is obtained. The client installation package includes general business logic components and custom components. The code within the general business logic components and the custom components are compiled and executed to obtain the first client running on the first operating platform.
[0039] The first target output can be digital resources and scripts obtained from the first client.
[0040] Optionally, by determining the first operating platform on which the first client is based, it is possible to query the resource configuration synchronized by the first operating platform. This resource configuration can include a Uniform Resource Locator (URL), format, environment parameters, etc.
[0041] Step 202: Determine the resource configuration of the second operating platform on which the second client is based, based on the second client downstream of the first client in the production pipeline.
[0042] Optionally, the second client is a downstream client that runs across platforms with the first client. For example, if the first running platform is the platform that produces character / scene concept art, and the second running platform is the platform that creates 3D character and 3D scene models, then the corresponding second client is a downstream client of the first client. Given a specific second client, it is possible to query the resource configuration synchronized by the second running platform on which the second client is based.
[0043] Step 203: Based on the resource configuration differences between the first operating platform and the second operating platform, the first target output is adapted to obtain a second target output adapted to the second operating platform.
[0044] Optionally, resource configurations may differ across platforms. Given a defined first target output, the first target output can be adapted to the second operating platform based on these resource configuration differences.
[0045] Furthermore, digital resources and scripts are obtained from a second client running on a second operating platform as a second target output.
[0046] Step 204: If the second client needs to retrieve digital resources, send the second target output to the second client.
[0047] Optionally, if the second client needs to perform the next node operation in the metaverse application, and the second client needs to pull digital resources, then sending the second target output to the second client can enable the target output of different platforms to be executed smoothly in the metaverse application of the corresponding platform.
[0048] In this embodiment, a first target output is obtained from a first client in the metaverse's production pipeline, and the resource configuration of the first operating platform on which the first client is based is determined. Then, based on a second client downstream of the first client in the production pipeline, the resource configuration of the second operating platform on which the second client is based is determined. Based on the resource configuration differences between the first and second operating platforms, the first target output is adapted to obtain a second target output adapted to the second operating platform. When the second client needs to retrieve digital resources, the second target output is sent to the second client. By adapting the second target output to the second client after the first client produces the first target output, based on the resource configuration differences between the second client's second operating platform and the first client's first operating platform, cross-platform operation on different platforms is achieved.
[0049] Figure 3 This is a flowchart illustrating a cross-platform operation method provided in an embodiment of this disclosure.
[0050] like Figure 3 As shown, it includes:
[0051] Step 301: For any target platform among the first and second running platforms, obtain the client running on the target platform.
[0052] Optionally, for any target platform, the component used for application layer interaction can be used as a custom component to obtain a custom component adapted to the target platform.
[0053] In this embodiment of the disclosure, a customized component adapted to the target platform can be obtained in the following manner:
[0054] If the differences between the first and second running platforms are not significant and can be compatible within a single component, cross-platform compatibility can be achieved through a third-party development framework. For example, a component development framework based on UnityPackage can be used to isolate the coupling of logic code development processes and the impact of version management on different platforms. It can also separate non-platform component code during compilation on different platform targets, preventing it from being included in the binary and affecting the package size.
[0055] If the differences between the first and second operating platforms are too great to be compatible within a single component, or if forced compatibility is too cost-effective, components with the same function but requiring different versions can be developed separately based on the existing component framework, forming an independent group of components with platform attributes.
[0056] In this embodiment, UPM (Unity Package Manager) is reused for compile-time scope configuration across multiple platforms, enabling multi-platform compilation management. Based on UPM, client projects corresponding to different platforms can be built to specify the reference scope, version, and compilation configuration of components (Unity Packages) for the corresponding platform.
[0057] Furthermore, based on the target platform, query the applicability information of the code within the general business logic components on the target platform; encapsulate the customized components, general business logic components, and applicability information of the target platform to obtain the client installation package for the target platform.
[0058] Among them, the encapsulation of platform differences in client projects based on different platforms allows for the reuse of a unified CI / CD framework for compilation and deployment.
[0059] In this embodiment of the disclosure, the general business logic component may be a network communication component, a backend core protocol parsing and forwarding component, a backpack component, an avatar component, etc.
[0060] The metaverse is horizontally divided into "customized" and "general" parts by using general business logic components and customized components. The customized part generally includes upper-layer digital resources, interactions, and user interface (UI) implementations, while the general layer is often the core or general business logic components.
[0061] A project library based on general components can generate the scope of component functions and access methods for different delivery scenarios at compile time through configuration.
[0062] Optionally, the client installation package is used to compile and execute the code within components that fall within the scope of referenced code in general business logic components and conform to the code version information, as well as to compile and execute customized components to obtain a client that runs on the target platform.
[0063] It's important to note that while the general business logic components are universal across different platforms, the scope of application for the code within these components differs, leading to different customized components being adapted. By compiling and executing the code within the general business logic components that falls within the referenced code range and conforms to the code version information, as well as compiling the customized components, the client running on the target platform is obtained. This compilation and execution process determines the client running on the desired platform, enabling adaptation to different clients and achieving cross-platform operation of the metaverse application.
[0064] In this context, the client is used to send requests to the server, requesting data or services. For example, after entering a URL in a browser, the browser sends a request to the server, requesting the corresponding webpage content. In a game application, the client sends a request to the game server to connect to the game service and retrieve game data.
[0065] It should be noted that in this embodiment, the general functional modules of the metaverse are developed in a componentized form according to a predefined format, and are equipped with a component lifecycle management module, an inter-component communication module, and an interface registration and unregistration module.
[0066] Step 302: Obtain the first target output from the first client in the metaverse's production pipeline, and determine the resource configuration of the first operating platform on which the first client is based.
[0067] In this embodiment, the developer uploads digital resources, scripts, and configurations of the metaverse replica through an open platform; furthermore, the configurations are synchronized as needed at each level of the metaverse system backend. This achieves the initialization and synchronization of system data.
[0068] Resource configuration can include URLs, formats, environment parameters, etc.
[0069] Furthermore, static data (replica data, scripts) are stored as objects according to the platform dimension through the metaverse backend, while the content delivery network (CDN) is preheated.
[0070] CDN preheating refers to the origin server proactively caching corresponding resources on CDN nodes. When a resource is requested for the first time, the latest resource can be obtained directly from the CDN node without needing to retrieve it from the origin server. The preheating function can improve cache hit rate.
[0071] Optionally, digital resources and scripts obtained from character scene editing can be acquired from the first client in the metaverse's production pipeline; these digital resources and scripts can then be used as the primary target output. By acquiring target outputs from various clients, the needs for metaverse outputs can be supported across multiple platforms, making it suitable for a wider range of scenarios.
[0072] Furthermore, the first client runs on the first operating platform. By determining the first operating platform on which the first client is based, it is possible to query the resource configuration synchronized by the first operating platform.
[0073] Step 303: Determine the resource configuration of the second operating platform on which the second client is based, based on the second client downstream of the first client in the production pipeline.
[0074] Step 303 can be found in the relevant descriptions of the corresponding steps in the foregoing embodiments, and will not be repeated in this embodiment.
[0075] Step 304: Determine the difference in the number of model facets based on the resource configuration of the first operating platform and the resource configuration of the second operating platform; based on the difference in the number of model facets, reduce the number of model facets of the first target output by facet aggregation to obtain the second target output.
[0076] It should be noted that in 3D model rendering, objects are composed of 3D triangular faces. Different platforms have different numbers of faces that make up the model. The difference in the number of faces can be determined based on the difference in resource configuration. For example, for the same model, the platform with higher resource configuration will have more faces that make up the model, and the rendering of the model will be more detailed. Conversely, the platform with lower resource configuration will have fewer faces that make up the model, and the rendering of the model will be coarser.
[0077] Optionally, if there is a difference in the resource configuration of the first operating platform and the resource configuration of the second operating platform, the first operating platform and the second operating platform have different numbers of facets that make up the model. Based on the difference in the number of facets in the model, the second target output is obtained.
[0078] For example, when the resource configuration of the first operating platform is higher than that of the second operating platform:
[0079] As one possible implementation, the number of model tiles in the first target output is reduced by tile aggregation, key tiles are retained, and unimportant tiles are removed to obtain the second target output.
[0080] As another possible implementation, a model reduction algorithm can be used to remove unnecessary faces as much as possible while keeping the model shape unchanged, thereby reducing the file size of the model and obtaining the second target output.
[0081] By reducing the number of model faces in the first target output, the complexity of the model is reduced, rendering requirements and computational demands are lowered, and the frame rate and smoothness of 3D model rendering on the second running platform are improved, thus ensuring compatibility with the second running platform.
[0082] Step 305: If the second client needs to retrieve digital resources, send the second target output to the second client.
[0083] Optionally, if the second client needs to perform the next node operation in the metaverse application, the second client needs to pull digital resources. During the operation of the metaverse application on different platforms, the second client in the metaverse production pipeline obtains the digital resources and scripts obtained from the character scene editing; and uses the digital resources and scripts as the second target output.
[0084] Taking the first client as an example, such as Figure 4 The diagram illustrates the steps of a cross-platform operation method. The first client uploads the first target output (i.e., digital resources and scripts obtained from the role scene editing of the first client) to the business middle platform, whereby the business middle platform is used to run the metaverse application.
[0085] Among them, the business middle platform can unify the discrete requirements (format, performance, effect) of different platforms for the runtime of digital resources into a single engineering system, thus avoiding the generalization of platform differences throughout the entire metaverse application system.
[0086] In this embodiment of the disclosure, the world service engine selects the Unity engine, which has the best cross-platform capabilities, as the base engine, and performs secondary development and enhancement on platforms with less good compatibility (such as the Web).
[0087] In this disclosed embodiment, based on the technology selection framework, native JS capability plugins are introduced at the functional plugin level, and memory is deeply optimized to make up for the shortcomings of the Unity engine on the web platform. Based on this cross-platform selection, it can be ensured that all metaverse application running platforms are compatible while maintaining consistency in code and data production pipelines.
[0088] Furthermore, static data is stored as objects according to the platform dimension through the business middle platform, such as... Figure 4 As shown, storage is performed on multiple platforms, including Platform 1, Platform 2, and Platform 3, while CDN preheating is carried out to initialize the data storage and distribution network.
[0089] Furthermore, during the runtime of the metaverse application running on various platforms, the metaverse client kernel obtains the corresponding platform's data configuration from the metaverse backend, including general business logic components and customized components A, B, C, D, E, F, and G. These are used to compile and execute the code within the components of the general business logic components that fall within the scope of referenced code and conform to the code version information, as well as to compile the customized components. The Unity engine is used for multi-platform compilation management.
[0090] Furthermore, when the client needs to retrieve digital resources, CDN is used to retrieve these resources, downloading the application layer client and its copy to obtain a second target output adapted to different platforms. For example... Figure 4 After pulling resources as shown, four different platforms and their corresponding clients and copies are obtained.
[0091] Based on a unified data platform, these interactive application-layer contents that are adapted to different platforms can be executed smoothly in the metaverse applications of the corresponding platforms.
[0092] In this embodiment, a client running on either the first or second operating platform is obtained. A first target output is obtained from the first client in the metaverse's production pipeline, and the resource configuration of the first operating platform on which the first client is based is determined. Then, based on the second client downstream of the first client in the production pipeline, the resource configuration of the second operating platform on which the second client is based is determined. The difference in the number of model faces is determined based on the resource configurations of the first and second operating platforms. Based on this difference, face aggregation is used to reduce the number of model faces in the first target output, resulting in the second target output. When the second client needs to retrieve digital resources, the second target output is sent to the second client. By adapting the second target output to the second client after the first client produces the first target output, based on the resource configuration differences between the second operating platform of the second client and the first operating platform of the first client, cross-platform operation on different platforms is achieved.
[0093] Figure 5 This is a flowchart illustrating a cross-platform operation method provided in an embodiment of this disclosure.
[0094] like Figure 5 As shown, it includes:
[0095] Step 501: For any target platform among the first and second running platforms, obtain the client running on the target platform.
[0096] Step 502: Obtain the first target output from the first client in the metaverse's production pipeline, and determine the resource configuration of the first operating platform on which the first client is based.
[0097] Step 503: Determine the resource configuration of the second operating platform on which the second client is based, based on the second client downstream of the first client in the production pipeline.
[0098] Steps 501, 502 and 503 can be found in the relevant descriptions of the corresponding steps in the foregoing embodiments, and will not be repeated in this embodiment.
[0099] Step 504: Determine the difference in the number of model facets based on the resource configuration of the first operating platform and the resource configuration of the second operating platform; based on the difference in the number of model facets, increase the number of model facets of the first target output by facet splitting to obtain the second target output.
[0100] It should be noted that in 3D model rendering, objects are composed of 3D triangular facets. When there are differences in the resource configuration of the first running platform and the second running platform, the number of facets that make up the model will be different for the first running platform and the second running platform.
[0101] For example, if the resource configuration of the first operating platform is lower than that of the second operating platform, the number of slices can be increased by splitting the slices to refine them.
[0102] By refining the model through patch splitting, the computational performance of the model and the quality of 3D model rendering are improved, and higher quality models can be generated while maintaining compatibility with a second running platform.
[0103] Step 505: If the second client needs to retrieve digital resources, send the second target output to the second client.
[0104] Step 505 can be found in the relevant descriptions of the corresponding steps in the foregoing embodiments, and will not be repeated in this embodiment.
[0105] In this embodiment, a client running on either the first or second operating platform is obtained. A first target output is obtained from the first client in the metaverse's production pipeline, and the resource configuration of the first operating platform on which the first client is based is determined. Then, based on the second client downstream of the first client in the production pipeline, the resource configuration of the second operating platform on which the second client is based is determined. The difference in the number of model faces is determined based on the resource configurations of the first and second operating platforms. Based on this difference, the number of model faces in the first target output is increased by face splitting to obtain the second target output. When the second client needs to retrieve digital resources, the second target output is sent to the second client. By adapting the second target output to the second client after the first client produces the first target output, based on the resource configuration differences between the second operating platform of the second client and the first operating platform of the first client, cross-platform operation on different platforms is achieved.
[0106] Figure 6 This is a schematic diagram of the structure of a cross-platform operating device provided in an embodiment of this disclosure.
[0107] like Figure 6As shown, the cross-platform operating device 600 includes: an acquisition module 601, a determination module 602, an adaptation module 603, and a processing module 604.
[0108] The acquisition module 601 is used to acquire a first target output from a first client in the production pipeline of the metaverse, and to determine the resource configuration of the first operating platform on which the first client is based;
[0109] The determining module 602 is used to determine the resource configuration of the second operating platform on which the second client is based, based on the second client downstream of the first client in the production pipeline;
[0110] The adaptation module 603 is used to adapt the first target output based on the resource configuration differences between the first operating platform and the second operating platform to obtain a second target output adapted to the second operating platform.
[0111] The processing module 604 is used to send the second target output to the second client when the second client needs to retrieve digital resources.
[0112] Furthermore, the adapter module 603 is used for:
[0113] The difference in the number of model facets is determined based on the resource configuration of the first operating platform and the resource configuration of the second operating platform;
[0114] Based on the difference in the number of model patches, the number of model patches in the first target output is reduced by patch aggregation to obtain the second target output.
[0115] The difference in the number of model facets is determined based on the resource configuration of the first operating platform and the resource configuration of the second operating platform;
[0116] Based on the difference in the number of model facets, the number of model facets of the first target output is increased by facet splitting to obtain the second target output.
[0117] The device further includes an installation module for:
[0118] For any target platform among the first operating platform and the second operating platform, the components used for application layer interaction are used as customized components to obtain customized components adapted to the target platform;
[0119] Based on the target platform, query the applicability information of the code within the general business logic components on the target platform;
[0120] The customized components of the target platform, the general business logic components, and the scope of application information are encapsulated to obtain the client installation package of the target platform.
[0121] Furthermore, the scope of application information includes the scope of referenced code and code version information;
[0122] The client installation package is used to compile and execute the code within the components of the general business logic components that fall within the scope of the referenced code and conform to the code version information, as well as to compile and execute the customized components, to obtain a client running on the target platform.
[0123] Furthermore, the acquisition module 601 is used for:
[0124] Obtain digital resources and scripts obtained from character scene editing from the first client in the production pipeline of the metaverse;
[0125] The digital resources and scripts are used as the first target output.
[0126] In this embodiment, a first target output is obtained from a first client in the metaverse's production pipeline, and the resource configuration of the first operating platform on which the first client is based is determined. Then, based on a second client downstream of the first client in the production pipeline, the resource configuration of the second operating platform on which the second client is based is determined. Based on the resource configuration differences between the first and second operating platforms, the first target output is adapted to obtain a second target output adapted to the second operating platform. When the second client needs to retrieve digital resources, the second target output is sent to the second client. By adapting the second target output to the second client after the first client produces the first target output, based on the resource configuration differences between the second client's second operating platform and the first client's first operating platform, cross-platform operation on different platforms is achieved.
[0127] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0128] Figure 7A schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0129] like Figure 7 As shown, device 700 includes a computing unit 701, which can perform various appropriate actions and processes based on a computer program stored in ROM (Read-Only Memory) 702 or a computer program loaded from storage unit 708 into RAM (Random Access Memory) 703. RAM 703 can also store various programs and data required for the operation of device 700. The computing unit 701, ROM 702, and RAM 703 are interconnected via bus 704. I / O (Input / Output) interface 705 is also connected to bus 704.
[0130] Multiple components in device 700 are connected to I / O interface 705, including: input unit 706, such as keyboard, mouse, etc.; output unit 707, such as various types of monitors, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0131] The computing unit 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, CPUs (Central Processing Units), GPUs (Graphics Processing Units), various special-purpose AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, DSPs (Digital Signal Processors), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as cross-platform operation methods. For example, in some embodiments, the cross-platform operation method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by the computing unit 701, one or more steps of the cross-platform operation method described above may be performed. Alternatively, in other embodiments, computing unit 701 may be configured to perform cross-platform operation methods by any other suitable means (e.g., by means of firmware).
[0132] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application-Specific Standard Products), SOCs (System-on-Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0133] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0134] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, EPROM (Electrically Programmable Read-Only Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0135] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the 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 can be received in any form (including sound input, voice input, or tactile input).
[0136] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include LANs (Local Area Networks), WANs (Wide Area Networks), the Internet, and blockchain networks.
[0137] Computer systems can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. A server can be a cloud server, also known as a cloud computing server or cloud host, a hosting product within the cloud computing service ecosystem, addressing the shortcomings of traditional physical hosts and VPS (Virtual Private Server, or simply "VPS") services, such as high management difficulty and weak business scalability. Servers can also be servers for distributed systems or servers incorporating blockchain technology.
[0138] It's important to note that artificial intelligence (AI) is the study of enabling computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). It encompasses both hardware and software technologies. AI hardware technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, and big data processing. AI software technologies primarily include computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graph technologies.
[0139] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0140] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A cross-platform operating method, comprising: Obtain the first target output from the first client in the metaverse, and determine the resource configuration of the first operating platform on which the first client is based; Based on the second client downstream of the first client, determine the resource configuration of the second operating platform on which the second client is based; Based on the resource configuration differences between the first operating platform and the second operating platform, the first target output is adapted to obtain a second target output adapted to the second operating platform; When the second client needs to retrieve digital resources, the second target output is sent to the second client; The process of adapting the first target output to the second target output adapted to the second operating platform based on the resource configuration differences between the first and second operating platforms includes: The difference in the number of model patches is determined based on the resource configuration of the first operating platform and the resource configuration of the second operating platform; Based on the difference in the number of model patches, the number of model patches of the first target product is reduced by patch aggregation to obtain the second target product; Alternatively, the difference in the number of model patches can be determined based on the resource configuration of the first operating platform and the resource configuration of the second operating platform; Based on the difference in the number of model facets, the number of model facets of the first target output is increased by facet splitting to obtain the second target output.
2. The method of claim 1, wherein, The method further includes: For any target platform among the first operating platform and the second operating platform, the components used for application layer interaction are used as customized components to obtain customized components adapted to the target platform; Based on the target platform, query the applicability information of the code within the general business logic components on the target platform; The customized components of the target platform, the general business logic components, and the scope of application information are encapsulated to obtain the client installation package of the target platform.
3. The method of claim 2, wherein, The scope of application information includes the scope of referenced code and code version information; The client installation package is used to compile and execute the code within the components of the general business logic components that fall within the scope of the referenced code and conform to the code version information, as well as to compile and execute the customized components, to obtain a client running on the target platform.
4. The method of claim 1, wherein, The acquisition of the first target output from the first client of the metaverse includes: Obtain digital resources and scripts obtained from character scene editing from the first client of the metaverse; The digital resources and scripts are used as the first target output.
5. A cross-platform operating device, comprising: The acquisition module is used to acquire the first target output from the first client in the metaverse, and to determine the resource configuration of the first operating platform on which the first client is based; The determining module is used to determine the resource configuration of the second operating platform on which the second client is based, based on the second client downstream of the first client; An adaptation module is used to adapt the first target output to the resource configuration differences between the first operating platform and the second operating platform to obtain a second target output adapted to the second operating platform. The processing module is used to send the second target output to the second client when the second client needs to retrieve digital resources; The adapter module is used for: The difference in the number of model patches is determined based on the resource configuration of the first operating platform and the resource configuration of the second operating platform; Based on the difference in the number of model patches, the number of model patches of the first target product is reduced by patch aggregation to obtain the second target product; Alternatively, the difference in the number of model patches can be determined based on the resource configuration of the first operating platform and the resource configuration of the second operating platform; Based on the difference in the number of model facets, the number of model facets of the first target output is increased by facet splitting to obtain the second target output.
6. The apparatus according to claim 5, wherein, The device further includes an installation module for: For any target platform among the first operating platform and the second operating platform, the components used for application layer interaction are used as customized components to obtain customized components adapted to the target platform; Based on the target platform, query the applicability information of the code within the general business logic components on the target platform; The customized components of the target platform, the general business logic components, and the scope of application information are encapsulated to obtain the client installation package of the target platform.
7. The apparatus according to claim 6, wherein, The scope of application information includes the scope of referenced code and code version information; The client installation package is used to compile and execute the code within the components of the general business logic components that fall within the scope of the referenced code and conform to the code version information, as well as to compile and execute the customized components, to obtain a client running on the target platform.
8. The apparatus according to claim 5, wherein, The acquisition module is used for: Obtain digital resources and scripts obtained from character scene editing from the first client of the metaverse; The digital resources and scripts are used as the first target output.
9. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4.
10. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-4.
11. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-4.
Citation Information
Patent Citations
Metacosm-based intelligent resource matching method and related device
CN116595398A
Interface layout using relative positioning
US10970904B1
