A method and system for sharing cultural and creative animation content resources

By combining sliding window and recurrent neural network models with natural language processing technology, we intelligently recommend cultural and creative animation materials, solving the problem of low efficiency in cultural and creative animation production, achieving efficient and personalized design support, and significantly improving the quality and efficiency of creation. .

CN118485750BActive Publication Date: 2024-10-18SHANDONG MANDONG INFORMATION TECH CO LTD

Patent Information

Application Number
CN202410946995.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-10-18
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

Existing technology has limited efficiency improvements in cultural and creative animation production, and cannot effectively reduce the burden on designers and the phenomenon of reinventing the wheel.

Method used

The sliding window method is used to convert material types and usage time into data sets, and a recurrent neural network model is trained. Combined with natural language processing technology, labels are set for materials in advance, material recommendation is calculated, and intelligent recommendations are made based on prediction results.

Benefits of technology

Significantly improves design efficiency, provides personalized support, adapts to dynamic changes in the design process, improves creation quality and efficiency, and reduces designers' repetitive work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118485750B_ABST
    Figure CN118485750B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of resource sharing, and discloses a method and system for sharing cultural and creative animation content resources; the method comprises: collecting material types, material usage time and material definition; converting the material types, material usage time and material definition into a data set by adopting a sliding window method; using the data set to train a machine learning model for real-time prediction of material types and material definitions used by designers; collecting cultural and creative animation elements; setting material tags for all materials in a cloud library in advance, wherein the material tags include keywords of the cultural and creative animation elements; calculating material recommendation degrees based on the cultural and creative animation elements and material tags; and recommending materials from the cloud library to designers in descending order based on the material recommendation degrees according to the material types and material definitions predicted by the machine learning model as limiting conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of resource sharing, and more specifically, to a method and system for sharing cultural and creative animation content resources. Background Art

[0002] Cultural and creative animation is a branch of the cultural and creative industry. It combines the two elements of cultural creativity and animation. Cultural and creative animation is not limited to animation production in the traditional sense. It also includes comics, games, online animation, mobile applications, derivatives and other forms. Cultural and creative animation works usually have unique artistic style and cultural connotations. They can spread the culture of a specific region, enhance the soft power of regional culture, and create economic value.

[0003] The Chinese patent with authorization announcement number CN109816760B discloses a network system for animation design, in which the initial design module is responsible for creating animation materials and designing characters and scenes. The animation drawing module produces original paintings and action pictures, as well as drawing scene pictures based on these design drawings. The post-production module combines these elements and adds special effects to produce a finished animation video. The inspection module is responsible for reviewing and ensuring that all submitted content meets quality standards. To improve the efficiency of animation production, production staff can also complete their work in non-workplaces, making it easier for managers to understand the completion progress and conduct results inspections.

[0004] However, the above patents still have limited effect on improving the efficiency of animation production, and have failed to effectively reduce the burden on cultural and creative animation creators and the probability of reinventing the wheel.

[0005] In view of this, the present invention proposes a method and system for sharing cultural and creative animation content resources to solve the above problems. Summary of the invention

[0006] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides a method and system for sharing cultural and creative animation content resources.

[0007] To achieve the above object, the present invention provides the following technical solutions:

[0008] A method for sharing cultural and creative animation content resources, comprising:

[0009] Collect material types, material usage time and material definitions; material definitions correspond to the material types of each material, indicating the definition of the element to which the material belongs; material definitions include: scene materials, character materials, clothing materials and landscape materials;

[0010] The sliding window method is used to convert the material types, material usage time and material definitions into data sets; the data sets are used to train machine learning models that predict the material types and material definitions used by designers in real time;

[0011] Collect cultural and creative animation elements; cultural and creative animation elements are theme elements that designers are assigned to create; cultural and creative animation elements include character names, theme emotions and theme actions;

[0012] Set material tags for all materials in the cloud library in advance. The material tags include keywords of cultural and creative animation elements. Calculate the material recommendation degree based on cultural and creative animation elements and material tags.

[0013] Based on the material types and material definitions predicted by the machine learning model as limiting conditions, materials are recommended to designers in descending order from the cloud material library based on their recommendation degree.

[0014] Preferably, the material type is the material file type required by designers when designing animation cultural and creative products; the material usage time is the time node information of each use of the material from the beginning of creation; the unit of the material usage time is seconds; the character name is the name of the cultural and creative animation character; and the theme emotion is the emotional color that the cultural and creative work wants to express.

[0015] Preferably, the sliding window method includes:

[0016] Divide the total time of designing the cultural and creative animation work into n time windows of equal size, and set a sliding window, wherein the sliding window includes multiple time windows, and the size of the sliding window is the number of time windows included in the sliding window;

[0017] The material type and material definition in each sliding window is taken as a sample, and the material type and material definition of the future k windows of the sliding window are used as labels, and one sample corresponds to one label. Set a corresponding code for each material type; the total time for designing cultural and creative animation works includes 4 hours, the time window is 10 minutes, and the sliding window size is 6; based on the material usage time, the material types and material definitions of 4 hours are marked as feature data sets , { , , , , ... , }, ={ , }, is the material type of the i-th time window, is the material definition of the i-th time window,

[0018] Use sliding windows to construct multiple samples and labels, k=1, each sample contains the material type and material definition of the first 6 time windows; the combined vector of the material type and material definition of the 7th time window is used as the label;

[0019] The method of merging vectors uses the vector concatenation function numpy.concatenate in Python's NumPy library;

[0020] The first sample is { , , , , , }, and the label corresponding to the first sample is , The merge vector for the material type and material definition of the 7th time window;

[0021] The second sample is { , , , , , }, and the label corresponding to the second sample is , The merged vector of the material type and material definition for the 8th time window; a sample and the corresponding label constitute a set of training data, and multiple sets of training data constitute a training set.

[0022] Preferably, the encoding method is one-hot encoding:

[0023] One-hot encoding creates a binary vector for each material type:

[0024] Vector graphics material: [1, 0, 0, 0, 0];

[0025] gif material: [0, 1, 0, 0, 0];

[0026] Free images: [0, 0, 1, 0, 0];

[0027] Video material: [0, 0, 0, 1, 0];

[0028] Text material: [0, 0, 0, 0, 1].

[0029] Preferably, the data set is divided into a training set, a validation set and a test set, wherein the training set accounts for 60% of the data set, and the validation set and the test set each account for 20% of the data set;

[0030] Using the training set as the input of the machine learning model, the machine learning model takes the merged vector of the material type and the material definition as the output, takes the label corresponding to a set of real-time samples as the prediction target, and takes minimizing the loss function value of the machine learning model as the training target; when the loss function value of the machine learning model is less than or equal to the preset target loss value, the training is stopped;

[0031] The machine learning model loss function is the mean square error; the mean square error is calculated by Minimize to train the model; in the loss function is the loss function value, i is the training data group number; is the number of training data sets; is the label corresponding to the i-th group of samples, The label predicted for the i-th group of samples;

[0032] The machine learning model is a recurrent neural network model, and the recurrent neural network model is a long short-term memory network.

[0033] Optimum, material recommendation ; Where: The number of overlaps between the character name and the material label; is the number of overlaps between theme emotions and material labels; action is the number of overlaps between theme actions and material labels; similar keywords are obtained from cultural and creative animation elements through NLP technology, and merged into cultural and creative animation elements and material labels for comparison.

[0034] A cultural and creative animation content resource sharing system, comprising:

[0035] The first data collection module collects material types, material usage time and material definitions; the material definition corresponds to the material type of each material, indicating the definition of the element to which the material belongs; the material definition includes: scene material, character material, clothing material and landscape material;

[0036] The model training module uses a sliding window method to convert material types, material usage time and material definitions into data sets; the data sets are used to train a machine learning model that predicts the material types and material definitions used by designers in real time;

[0037] The second data collection module collects cultural and creative animation elements; cultural and creative animation elements are theme elements that designers are assigned to create; cultural and creative animation elements include character names, theme emotions and theme actions;

[0038] The pre-processing module sets material tags for all materials in the cloud library in advance. The material tags include keywords of cultural and creative animation elements; the material recommendation degree is calculated based on cultural and creative animation elements and material tags;

[0039] The recommendation module uses the material types and material definitions predicted by the machine learning model as limiting conditions, and recommends materials from the cloud material library to designers based on their recommendation degree from high to low.

[0040] An electronic device comprises: a processor and a memory, wherein the memory stores a computer program that can be called by the processor; the processor executes the above-mentioned cultural and creative animation content resource sharing method by calling the computer program stored in the memory.

[0041] A computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned method for sharing cultural and creative animation content resources.

[0042] The technical effects and advantages of the cultural and creative animation content resource sharing method and system of the present invention are as follows: it integrates multi-dimensional data collection, machine learning and intelligent recommendation system, collects the material usage behavior of designers through automated means, converts the design process into time series data by adopting the sliding window method, and uses recurrent neural network to build a prediction model, extracts cultural and creative animation elements from contracts or agreements by using natural language processing technology, calculates the material recommendation degree in combination with pre-set material tags, and makes intelligent recommendations based on the prediction results of the machine learning model.

[0043] The present invention can provide in-depth insights into the workflow and habits of designers, providing a basis for personalized support. The application of time series data analysis and prediction models enables the system to adapt to the dynamic changes of the design process and provide forward-looking material recommendations. By integrating cultural and creative animation elements and material tags, the system can more accurately match design requirements and significantly improve design efficiency. The present invention provides an intelligent, efficient and forward-looking work platform for animation cultural and creative design, which is expected to significantly improve the quality and efficiency of creation, promote the development of the animation culture industry to a higher level, and promote the progress of cultural soft power. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A method for sharing cultural and creative animation content resources and a schematic diagram of the method according to the present invention;

[0045] Figure 2 A schematic diagram of a method and system for sharing cultural and creative animation content resources of the present invention;

[0046] Figure 3 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application,

[0047] Figure 4 It is a schematic diagram of the structure of a computer-readable storage medium provided by an embodiment of the present application. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] Example 1

[0050] See also Figure 1 As shown, a method for sharing cultural and creative animation content resources described in this embodiment includes:

[0051] The types of materials collected and the time when the materials were used;

[0052] The material types are the types of material files that designers need when designing animation and creative products, such as vector materials, gif materials, picture materials, video materials and text materials;

[0053] The material usage time is the time node information of each material use from the beginning of creation; the unit of material usage time is seconds; if material A is used in the 10th second of the creation, and material B is used in the 3rd minute, then the material usage time of material A is recorded as 10 seconds, and the material usage time of material B is recorded as 180 seconds;

[0054] The material type is automatically acquired by a computer or the cloud in the material format used by the designer, and the material format is obtained by corresponding to the material type; exemplarily, if the acquired material format is jpg, the material type corresponds to picture material, if the material format is mp4, the material type corresponds to video material; and so on.

[0055] The material usage time is obtained in real time by a computer timer during the designer's design process.

[0056] Collect material definitions; material definitions correspond one-to-one to the material type of each material, indicating the definition of the element to which the material belongs; material definitions include: scene materials, character materials, clothing materials, and landscape materials, etc.

[0057] Collecting material definitions is conducive to more targeted analysis and prediction of designers' design preferences and design behaviors, and is conducive to screening out the materials designers need as quickly as possible, reducing design time and improving design efficiency.

[0058] It is understandable that after using the material, the designer needs to modify the material itself or modify the position of the material on the screen. Different material types and material definitions have different corresponding editing and modification times. Collecting the above data is of great significance for analyzing the overall habits of designers and predicting the use of materials by designers.

[0059] The sliding window method is used to convert the material type, material usage time and material definition into a data set;

[0060] The sliding window method includes:

[0061] The total time that the designer spends designing the cultural and creative animation works is divided into n time windows of equal size, and a sliding window is set, wherein the sliding window includes multiple time windows, and the size of the sliding window is the number of time windows included in the sliding window;

[0062] The material type and material definition in each sliding window is taken as a sample, and the material type and material definition of the future k windows of the sliding window are taken as labels. It should be noted that one sample corresponds to one label. Set the corresponding encoding for each material type; the encoding method is one-hot encoding:

[0063] One-hot encoding creates a binary vector for each material type:

[0064] Vector graphics material: [1, 0, 0, 0, 0];

[0065] gif material: [0, 1, 0, 0, 0];

[0066] Free images: [0, 0, 1, 0, 0];

[0067] Video material: [0, 0, 0, 1, 0];

[0068] Text material: [0, 0, 0, 0, 1];

[0069] The encoding method of material definition is similar and will not be described in detail.

[0070] Assume that the total time a designer spends designing a creative animation work is 4 hours, the time window is 10 minutes, and the sliding window size is 6. Based on the material usage time, the material types and material definitions of the 4 hours are marked as feature data sets. , { , , , , ... , }, ={ , }, is the material type of the i-th time window, is the material definition of the i-th time window,

[0071] Use sliding windows to construct multiple samples and labels, k=1, each sample contains the material type and material definition of the first 6 time windows; the combined vector of the material type and material definition of the 7th time window is used as the label;

[0072] The way to merge vectors is to use the vector concatenation function numpy.concatenate in Python's NumPy library;

[0073] Sliding windows can be represented by lists or arrays in Python. The first example is { , , , , , }, and the label corresponding to the first sample is , The merge vector for the material type and material definition of the 7th time window;

[0074] The second sample is { , , , , , }, and the label corresponding to the second sample is , a sample and the corresponding label constitute a set of training data, and so on, multiple sets of training data constitute a training set.

[0075] The dataset is used to train a machine learning model that predicts in real time the types of materials and material definitions used by designers;

[0076] The dataset is divided into a training set, a validation set, and a test set, where the training set accounts for 60% of the dataset, and the validation set and the test set each account for 20% of the dataset;

[0077] Using the training set as the input of the machine learning model, the machine learning model takes the merged vector of the material type and the material definition as the output, takes the label corresponding to a set of real-time samples as the prediction target, and takes minimizing the loss function value of the machine learning model as the training target; when the loss function value of the machine learning model is less than or equal to the preset target loss value, the training is stopped;

[0078] The machine learning model loss function is the mean square error; the mean square error is calculated by Minimize to train the model; in the loss function is the loss function value, i is the training data group number; is the number of training data sets; is the label corresponding to the i-th group of samples, The label predicted for the i-th group of samples;

[0079] The machine learning model is a recurrent neural network model, which can be a long short-term memory network (LSTM) or a gated recurrent unit (GRU).

[0080] Recurrent neural networks have the following advantages:

[0081] Temporal Dependencies: Capable of capturing temporal dependencies in designers’ asset usage behavior, taking into account the impact of previously used assets on subsequent choices.

[0082] Long-term memory: It can learn and remember long-term patterns, such as a designer’s preferences for material usage at different stages of a project.

[0083] Nonlinear mapping: Able to learn complex nonlinear relationships and adapt to the diversity and complexity of the design process.

[0084] Variable-length input: Suitable for handling design sessions of different lengths, with strong flexibility.

[0085] Other model parameters of the machine learning model, such as the depth of the network model, the number of neurons in each layer, the activation function used by the network model, the convergence condition, the ratio of the training set, the test set, and the validation set, and the loss function, are all obtained through actual engineering implementation and continuous experimental tuning.

[0086] The output of the machine learning model is split into vectors of material types and material definitions, and converted into real material types and material definitions.

[0087] The training of the machine learning model provides deep insights into the designer's workflow and material usage habits. The core advantage of this method lies in its comprehensive data collection strategy, which covers key information such as material type, usage time and definition, laying a rich data foundation for subsequent analysis. Through multi-dimensional data collection, the designer's work behavior can be more comprehensively described. At the same time, the automatic acquisition of material type and usage time greatly reduces the workload of manual recording, improves the accuracy and real-time nature of the data, and enables the system to continuously learn the latest behavior patterns of designers.

[0088] The sliding window method is used to convert the design process into time series data. This method can capture the temporal dynamic characteristics of designer behavior and is conducive to predicting future material usage trends.

[0089] By adjusting the sliding window size and prediction step size (k value), the needs of short-term and long-term predictions can be flexibly balanced to adapt to different application scenarios. By predicting the types and definitions of materials that designers may use in the future, the system can prepare relevant resources in advance, greatly reducing the time designers spend searching and screening materials.

[0090] Collect cultural and creative animation elements;

[0091] Cultural and creative animation elements are theme elements that designers are assigned to create; cultural and creative animation elements include character names, theme emotions and theme actions;

[0092] The character name is the name of the cultural and creative animation character (including but not limited to nicknames and code names); the theme emotion is the emotional color that the cultural and creative work wants to express; exemplary theme emotions include positive enthusiasm and melancholy and sadness, etc.; the theme action is the action designed for the cultural and creative animation character, such as jumping, fighting and riding, etc.;

[0093] The character names, theme emotions and theme actions are often determined by Party A. Cultural and creative animation elements are obtained through the contract or agreement between Party A and the designer. The acquisition method is to use NLP technology to scan and identify the text in the contract or agreement. If there is no Party A, the designer will manually input the text before starting creation.

[0094] NLP (Natural Language Processing) technology is a branch of Artificial Intelligence (AI) that involves the interaction between computers and human (natural) language. The purpose of NLP is to enable computers to understand, interpret and generate content in human language in order to perform various tasks such as machine translation, sentiment analysis, text summarization, information retrieval, speech recognition and generation, etc.

[0095] It is understandable that based on the real-time prediction of file requirements, accurately finding specific characters or roles that meet the needs, as well as more precise theme emotions and actions, can further greatly improve the efficiency of designers in designing cultural and creative animation works, allowing more cultural and creative animation creators to share their creative resources with each other, which is conducive to obtaining more creative works.

[0096] Set labels for all materials in the cloud library in advance. The material labels include keywords of cultural and creative animation elements. Calculate the material recommendation based on cultural and creative animation elements.

[0097] Material recommendation ; Where: The number of overlaps between the character name and the material label; is the number of overlaps between the theme emotion and the material label; action is the number of overlaps between the theme action and the material label; the example character has three names, all of which overlap with the material label, and the theme emotion includes "passion" and "hope", which also appear in the material label; the theme action is "riding a horse" and "sword dancing", which also appear in the material label; then is 3; is 2; action is 2;

[0098] It should be noted that similar keywords are obtained from the cultural and creative animation elements through NLP technology, and all of them are included in the cultural and creative animation elements; the exemplary theme action is "battle", and a series of similar words to "battle" such as "fight", "conflict", "duel", etc. obtained by NLP technology are included in the theme action and compared with the material label;

[0099] Based on the material types and material definitions predicted by the machine learning model as limiting conditions, materials are recommended to designers in descending order from the cloud material library based on their recommendation degree.

[0100] Using material types and material definitions as a guide can effectively prevent designers from searching for relevant materials but being unable to use them, greatly reducing designers' duplication of work. At the same time, based on time series predictions, it can better take into account the different progress of the design process and the different types and themes required, making it more refined and customized.

[0101] Example 1 integrates multi-dimensional data collection, machine learning and intelligent recommendation systems. First, the material usage behavior of designers is collected through automated means, including key information such as material type, usage time and definition. The design process is converted into time series data using a sliding window method, and a recurrent neural network is used to build a prediction model. At the same time, natural language processing (NLP) technology is used to extract cultural and creative animation elements from contracts or agreements. Based on these elements, combined with pre-set material tags, the material recommendation degree is calculated, and intelligent recommendations are made based on the prediction results of the machine learning model.

[0102] Example 1 can provide in-depth insights into the designer's workflow and habits, providing a basis for personalized support. Secondly, the application of time series data analysis and prediction models enables the system to adapt to the dynamic changes of the design process and provide forward-looking material recommendations. By integrating cultural and creative animation elements and material tags, the system can more accurately match design requirements and significantly improve design efficiency. Example 1 provides an intelligent, efficient and forward-looking work platform for animation cultural and creative design, which is expected to significantly improve the quality and efficiency of creation, promote the animation culture industry to a higher level, and promote the progress of cultural soft power.

[0103] Example 2

[0104] See also Figure 2 As shown, the part not described in detail in this embodiment is described in Example 1, which provides a method and system for sharing cultural and creative animation content resources, and the system includes:

[0105] The first data collection module collects material types, material usage time and material definitions; the material definition corresponds to the material type of each material, indicating the definition of the element to which the material belongs; the material definition includes: scene material, character material, clothing material and landscape material;

[0106] The model training module uses a sliding window method to convert material types, material usage time and material definitions into data sets; the data sets are used to train a machine learning model that predicts the material types and material definitions used by designers in real time;

[0107] The second data collection module collects cultural and creative animation elements; cultural and creative animation elements are theme elements that designers are assigned to create; cultural and creative animation elements include character names, theme emotions and theme actions;

[0108] The pre-processing module sets material tags for all materials in the cloud library in advance. The material tags include keywords of cultural and creative animation elements; the material recommendation degree is calculated based on cultural and creative animation elements and material tags;

[0109] The recommendation module uses the material types and material definitions predicted by the machine learning model as limiting conditions, and recommends materials from the cloud material library to designers based on their recommendation degree from high to low.

[0110] The modules are connected via wired and / or wireless networks.

[0111] Example 3

[0112] See also Figure 3 As shown, according to another aspect of the present application, a cultural and creative animation content resource sharing method and system electronic device 500 is also provided. The electronic device 500 may include one or more processors and one or more memories. The memory stores a computer readable code, and when the computer readable code is executed by one or more processors, a cultural and creative animation content resource sharing method as described above can be executed.

[0113] The method or system according to the embodiment of the present application can also be used by Figure 3 The electronic device shown in the figure is implemented by the electronic device architecture. Figure 3 As shown, the electronic device 500 may include a bus 501, one or more CPUs 502, a read-only memory (ROM) 503, a random access memory (RAM) 504, a communication port 505 connected to a network, an input / output component 506, a hard disk 507, etc. The storage device in the electronic device 500, such as the ROM 503 or the hard disk 507, may store a method and system for sharing cultural and creative animation content resources provided in the present application. A method for sharing cultural and creative animation content resources may, for example, include: collecting material types, material usage time, and material definitions; the material definition corresponds to the material type of each material one by one, indicating the definition of the element to which the material belongs; the material definition includes: scene materials, character materials, clothing materials, and landscape materials;

[0114] The sliding window method is used to convert the material types, material usage time and material definitions into data sets; the data sets are used to train machine learning models that predict the material types and material definitions used by designers in real time;

[0115] Collect cultural and creative animation elements; cultural and creative animation elements are theme elements that designers are assigned to create; cultural and creative animation elements include character names, theme emotions and theme actions;

[0116] Set material tags for all materials in the cloud library in advance. The material tags include keywords of cultural and creative animation elements. Calculate the material recommendation degree based on cultural and creative animation elements and material tags.

[0117] Based on the material types and material definitions predicted by the machine learning model as limiting conditions, materials are recommended to designers in descending order from the cloud material library based on their recommendation degree.

[0118] Furthermore, the electronic device 500 may further include a user interface 508. Of course, Figure 3 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Figure 3 One or more components of an electronic device are shown.

[0119] Example 4

[0120] See also Figure 4 As shown, a computer-readable storage medium 600 according to an embodiment of the present application is shown. Computer-readable instructions are stored on the computer-readable storage medium 600. When the computer-readable instructions are executed by the processor, a method and system for sharing cultural and creative animation content resources according to an embodiment of the present application described with reference to the above figures can be executed. The storage medium 600 includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory (cache). Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.

[0121] In addition, according to the implementation of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the present application provides a non-transitory machine-readable storage medium, which stores machine-readable instructions, and the machine-readable instructions can be executed by a processor to execute instructions corresponding to the method steps provided by the present application, such as: collecting material types, material usage time and material definitions; the material definition corresponds to the material type of each material, indicating the definition of the element to which the material belongs; the material definition includes: scene material, character material, clothing material and landscape material;

[0122] The sliding window method is used to convert the material types, material usage time and material definitions into data sets; the data sets are used to train machine learning models that predict the material types and material definitions used by designers in real time;

[0123] Collect cultural and creative animation elements; cultural and creative animation elements are theme elements that designers are assigned to create; cultural and creative animation elements include character names, theme emotions and theme actions;

[0124] Set material tags for all materials in the cloud library in advance. The material tags include keywords of cultural and creative animation elements. Calculate the material recommendation degree based on cultural and creative animation elements and material tags.

[0125] Based on the material types and material definitions predicted by the machine learning model as limiting conditions, materials are recommended to designers in descending order from the cloud material library based on their recommendation degree.

[0126] When the computer program is executed by a central processing unit (CPU), the above functions defined in the method of the present application are performed.

[0127] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through a wired network or a wireless network. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0128] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0129] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0130] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a method and system for sharing cultural and creative animation content resources. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0131] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0132] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0133] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0134] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for sharing cultural and creative animation content resources, characterized in that: include: Collect material types, material usage time and material definitions; The material definition corresponds one-to-one with the material type of each material, indicating the definition of the element to which the material belongs; The material definition includes: scene material, character material, clothing material and landscape material; The material types, material usage time and material definitions are converted into a data set by a sliding window method; the data set is used to train a machine learning model for real-time prediction of the material types and material definitions used by designers; the sliding window method includes: dividing the total time of designing cultural and creative animation works into n time windows of equal size, setting a sliding window, the sliding window includes multiple time windows, and the size of the sliding window is the number of time windows included in the sliding window; the material types and material definitions in each sliding window are taken as a sample, and the material types and material definitions of the future k windows of the sliding window are used as labels, and one sample corresponds to one label; corresponding codes are set for each material type; the total time of designing cultural and creative animation works includes 4 hours, the time window is 10 minutes, and the sliding window size is 6; based on the material usage time, the material types and material definitions of 4 hours are marked as a feature data set A, A={A1, A2, A3, A4, A5..., A 24 }, A i = {Q i , S i }, Q i is the material type of the i-th time window, S i The material definition of the i-th time window is constructed using a sliding window to construct multiple samples and labels, k=1, and each sample contains the material type and material definition of the first 6 time windows; the combined vector of the material type and material definition of the 7th time window is used as the label; the vector concatenation function numpy.concatenate in Python's NumPy library is used to merge vectors; the first sample is {A1, A2, A3, A4, A5, A6}, and the label corresponding to the first sample is QS7, which is the combined vector of the material type and material definition of the 7th time window; the second sample is {A2, A3, A4, A5, A6, A7}, and the label corresponding to the second sample is QS8, which is the combined vector of the material type and material definition of the 8th time window; one sample and the corresponding label constitute a set of training data, and multiple sets of training data constitute a training set; Collect cultural and creative animation elements; cultural and creative animation elements are theme elements that designers are assigned to create; cultural and creative animation elements include character names, theme emotions and theme actions; Set material tags for all materials in the cloud library in advance. The material tags include keywords of cultural and creative animation elements. Calculate the material recommendation degree based on cultural and creative animation elements and material tags. Based on the material types and material definitions predicted by the machine learning model as limiting conditions, materials are recommended to designers in descending order from the cloud material library based on their recommendation degree.

2. A method for sharing cultural and creative animation content resources according to claim 1, characterized in that: The material type refers to the type of material file that designers need when designing animation cultural and creative products. The material usage time refers to the time node information of each use of the material from the beginning of creation. The unit of material usage time is seconds. The character name is the name of the cultural and creative animation character. The theme emotion is the emotional color that the cultural and creative work wants to express.

3. A method for sharing cultural and creative animation content resources according to claim 2, characterized in that: The encoding method is one-hot encoding: One-hot encoding creates a binary vector for each material type: Vector image material: [1,0,0,0,0]; gif material:[0,1,0,0,0]; Picture material:[0,0,1,0,0]; Video material: [0,0,0,1,0]; Text material: [0,0,0,0,1].

4. A method for sharing cultural and creative animation content resources according to claim 3, characterized in that: The data set is divided into a training set, a validation set and a test set, wherein the training set accounts for 60% of the data set, and the validation set and the test set each account for 20% of the data set; Using the training set as input to the machine learning model, the machine learning model uses the combined vector of the material type and the material definition as output, uses the labels corresponding to a set of real-time samples as prediction targets, and uses minimizing the machine learning model loss function value as a training target; Stop training when the machine learning model loss function value is less than or equal to the preset target loss value; The machine learning model loss function is the mean square error; the mean square error is calculated by Minimize to train the model; in the loss function, MSE is the loss function value, i is the training data group number; u is the number of training data groups; y i is the label corresponding to the i-th group of samples, The label predicted for the i-th group of samples; The machine learning model is a recurrent neural network model, and the recurrent neural network model is a long short-term memory network.

5. A method for sharing cultural and creative animation content resources according to claim 4, characterized in that: Material recommendation degree D = 150name 3 +131emotion 2 +77action; where: name is the number of overlaps between the character name and the material label; emotion is the number of overlaps between the theme emotion and the material label; action is the number of overlaps between the theme action and the material label; the cultural and creative animation elements are used through NLP technology to obtain similar keywords, and are merged into the cultural and creative animation elements and material labels for comparison.

6. A cultural and creative animation content resource sharing system, which is used to implement a cultural and creative animation content resource sharing method as described in any one of claims 1 to 5, characterized in that: include: The first data collection module collects material types, material usage time and material definitions; The material definition corresponds to the material type of each material, indicating the definition of the element to which the material belongs; the material definition includes: scene material, character material, clothing material and landscape material; The model training module uses a sliding window method to convert material types, material usage time and material definitions into data sets; the data sets are used to train a machine learning model that predicts the material types and material definitions used by designers in real time; The second data collection module collects cultural and creative animation elements; cultural and creative animation elements are theme elements that designers are assigned to create; cultural and creative animation elements include character names, theme emotions and theme actions; The pre-processing module sets material tags for all materials in the cloud library in advance. The material tags include keywords of cultural and creative animation elements; the material recommendation degree is calculated based on cultural and creative animation elements and material tags; The recommendation module uses the material types and material definitions predicted by the machine learning model as limiting conditions, and recommends materials from the cloud material library to designers based on their recommendation degree from high to low.

7. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a computer program that can be called by the processor; The processor executes the method for sharing cultural and creative animation content resources as described in any one of claims 1 to 5 by calling the computer program stored in the memory.

8. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are executed on a computer, the computer executes a method for sharing cultural and creative animation content resources as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • A network system for animation design

    CN109816760B

  • Artifact Origination and Content Tokenization

    US20230011621A1

  • Agricultural system for protecting an animal species

    WO2023094484A1

Cited By

  • Figure and creative animation content resource sharing method and system

    CN120045531A

  • A method and system for sharing cultural and creative animation content resources

    CN120045531B