Method for driving numerous wisdom and related equipment
By constructing a muscle attenuation model and adjusting movements, the problem of being unable to accurately simulate the impact injury of a real person in the existing technology is solved, and a higher simulation effect is achieved.
Patent Information
- Application Number
- CN202410568732.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-09
- Publication Date
- 2024-08-27
AI Technical Summary
The existing technology cannot accurately simulate the impact and injury of a real person, and the simulation effect is poor.
A muscle attenuation model is constructed based on the impact force received by the digital intelligent human to obtain the degree of muscle damage, and the movements of the digital intelligent human are adjusted according to the type of action and the degree of muscle damage, and a spherical attenuation model is used to simulate the impact of the impact force on the muscles.
It improves the accurate simulation of real people's impact injuries and improves the simulation effect.
Smart Images

Figure CN118544342A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligence, and in particular to a method for driving a digital intelligent being and related equipment. Background Art
[0002] Currently, the digital human is mainly driven by skeleton drive. The skeleton of the digital human is translated and rotated through the skeleton point data. When the digital human is impacted, some skeleton behaviors of the digital human are prohibited according to fixed animations or preset data. The disadvantage is that it cannot accurately simulate the situation of a real person being injured by impact, and the simulation effect is poor. Summary of the invention
[0003] In order to solve at least one technical problem in the prior art, the present disclosure provides a method for driving a digital human and related devices, so that the digital human can more accurately simulate the situation where a real person is injured by impact.
[0004] According to a first aspect of the present disclosure, a method for driving a digital human is provided, the method comprising:
[0005] Construct a muscle attenuation model based on the impact force on the digital human;
[0006] Based on the muscle attenuation model, obtaining the degree of muscle damage of the digital intelligent being;
[0007] Based on the action type of the digital human and the degree of muscle damage, the action of the digital human is adjusted.
[0008] Optionally, the muscle attenuation model is a spherical attenuation model.
[0009] Optionally, constructing a muscle attenuation model according to the impact force received by the digital human includes:
[0010] acquiring a muscle attenuation radius of the digital human being according to the impact force exerted on the digital human being;
[0011] A muscle attenuation model is constructed based on the muscle attenuation radius, with the central force point of the digital human as the center of the circle.
[0012] Optionally, obtaining the muscle attenuation radius of the digital human according to the impact force applied to the digital human includes:
[0013] The muscle attenuation radius of the digital human is obtained according to the impact force received by the digital human and a preset correspondence between the impact force and the muscle attenuation radius.
[0014] Optionally, obtaining the degree of muscle damage of the digital human based on the muscle attenuation model includes:
[0015] According to the distance between the muscle and the central force point, the muscle injury-free stress and the muscle maximum stress, the maximum residual stress of the muscle is obtained;
[0016] The degree of muscle damage is obtained according to the maximum stress borne by the remaining muscle.
[0017] Optionally, adjusting the movement of the digital human based on the movement type of the digital human and the degree of muscle damage includes:
[0018] According to the action type of the digital human, obtaining the motor muscles required for the digital human to perform the action and the strength of the motor muscles;
[0019] Obtaining a muscle movement attenuation coefficient according to the degree of muscle damage and the strength of the exercise muscle;
[0020] The motion muscle is driven according to the muscle motion attenuation coefficient to adjust the motion of the digital intelligent being.
[0021] According to a second aspect of the present disclosure, a device for driving a digital human is provided, comprising:
[0022] A model building module, used to build a muscle attenuation model based on the impact force on the digital human;
[0023] An acquisition module, used for acquiring the degree of muscle damage of the digital intelligent person based on the muscle attenuation model;
[0024] The adjustment module is used to adjust the movement of the digital human based on the movement type of the digital human and the degree of muscle damage.
[0025] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0026] Processor; and
[0027] Memory for storing programs,
[0028] The program includes instructions, which, when executed by the processor, cause the processor to perform any of the methods described above.
[0029] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute any one of the methods described above.
[0030] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor of a computer, the computer is used to enable the computer to perform any one of the methods described above.
[0031] One or more technical solutions provided in the embodiments of the present disclosure can utilize a muscle attenuation model constructed based on impact force to obtain the degree of muscle damage of the digital human, so as to adjust the movements of the digital human according to the degree of muscle damage, thereby more accurately showing the situation of a real person being injured by impact and improving the simulation effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings illustrate exemplary embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification.
[0033] Figure 1 A flowchart of a method for driving a digital human according to an exemplary embodiment of the present disclosure is shown;
[0034] Figure 2 A sub-flow chart of a method for driving a digital intelligent person according to an exemplary embodiment of the present disclosure is shown;
[0035] Figure 3 A schematic diagram showing a muscle attenuation model of a shoulder subjected to different impact forces according to an exemplary embodiment of the present disclosure is shown;
[0036] Figure 4 Another sub-flow chart of the method for driving a digital intelligent person according to an exemplary embodiment of the present disclosure is shown;
[0037] Figure 5 Another sub-flow chart of the method for driving a digital intelligent person according to an exemplary embodiment of the present disclosure is shown;
[0038] Figure 6 A schematic block diagram of a device for driving a digital human according to an exemplary embodiment of the present disclosure is shown;
[0039] Figure 7 A structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0040] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0041] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0042] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0043] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0044] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0045] Aspects of the present disclosure are described below with reference to the accompanying drawings.
[0046] See also Figure 1 , a method for driving a digital human, the method comprising:
[0047] S101, constructs a muscle attenuation model based on the impact force on the digital human.
[0048] In an embodiment of the present disclosure, a muscle attenuation model is constructed based on the impact force received by the digital intelligent person, so as to obtain the degree of muscle damage of the digital intelligent person based on the muscle attenuation model, and adjust the action of the digital intelligent person based on the degree of muscle damage. It should be understood that the attenuation model is used to define the process in which a certain quantity decreases with the increase of time, distance or other variables (such as signal strength, energy, strength, etc.), and the attenuation model includes a spherical attenuation model, a cylindrical attenuation model, a linear attenuation model, an exponential attenuation model, etc. The muscle attenuation model of the present disclosure is used to define the process in which the impact force decreases with the increase of distance (the distance between the muscle and the center of the impact force). The specific model used by the muscle attenuation model can be set according to demand. For example, the muscle attenuation model can adopt a spherical attenuation model, specifically, a spherical linear attenuation model can be adopted. The information of the muscle attenuation model may include the center of the impact force and the attenuation function, and may also include a muscle attenuation radius, etc. The muscle attenuation radius is determined based on the impact force received by the digital intelligent person, and the greater the impact force, the greater the radius. The spherical attenuation model can be used to describe how the impact force decays with increasing distance in a simple and intuitive way. The model is more efficient and easy to implement. At the same time, the spherical attenuation model can flexibly adjust the model according to different impact force sizes and impacted areas to adapt to various situations. The method of driving a digital human disclosed in the present invention can be applied to a digital human based on bone drive.
[0049] In some embodiments, see Figure 2 , step S101 includes:
[0050] S201, obtaining a muscle attenuation radius of the digital human according to the impact force received by the digital human.
[0051] In an embodiment of the present disclosure, the muscle attenuation radius of the digital intelligent person can be obtained according to the impact force received by the digital intelligent person and the preset corresponding relationship between the impact force and the muscle attenuation radius. The greater the impact force, the greater the radius, and the greater the muscle attenuation radius. For example, the impact force and the muscle attenuation radius can be preset as a proportional relationship, and the corresponding muscle attenuation radius can be obtained according to the impact force using the proportional relationship, so as to quickly obtain the corresponding muscle attenuation radius according to the impact force, wherein the preset corresponding relationship between the impact force and the muscle attenuation radius can be preset according to the actual situation.
[0052] S202, taking the central force point of the digital human as the center of the circle, and constructing a muscle attenuation model based on the muscle attenuation radius.
[0053] In the embodiment of the present disclosure, a spherical attenuation radius is constructed with the central force point of the impact force of the digital intelligent person as the center of the circle and the muscle attenuation radius as the radius. A linear or nonlinear function based on the muscle attenuation radius can be set so that after knowing the muscle attenuation radius, the corresponding linear or nonlinear function can be determined.
[0054] The embodiments of the present disclosure can accurately simulate and predict the range and degree of the impact force on the muscles of digital humans, providing a reliable basis for a deep understanding of the impact force distribution. At the same time, the muscle attenuation radius of digital humans can be flexibly obtained according to the muscle attenuation radius.
[0055] In one embodiment, the skeleton and muscle information of the digital intelligent person is preset. The skeleton information includes the basic skeleton points and the maximum angle of rotation allowed at each skeleton joint. The muscle information includes the starting and ending point information of each muscle, the maximum tensile stress of each muscle, the maximum injury-free stress and the maximum stress that each muscle can withstand, the distance and stress relationship coefficient when contracting the muscle, the skeleton information affected by the muscle movement, and the influence coefficient. The muscle movement information of all basic movements is preset. For example, assuming that one side of the arm goes from natural droop to side raise, it is necessary to use the contraction of the deltoid and supraspinatus muscles on this side to pull the scapula and humerus to complete it. The digital intelligent person can perform skeleton movement through the contraction and pulling force of the muscle during normal movement.
[0056] Based on the weight information of the digital person in the virtual environment and the basic weight information of each muscle group, the specific stress of the deltoid and supraspinatus muscles during the horizontal raise (the strength of the muscles required for the action) and the rotation angle of the scapula and humerus are calculated. After completion, they are stored as preset values.
[0057] The embodiments of the present disclosure can be applied to various scenarios of digital human sports. For example, in the scenario of digital human fighting, the digital human is subjected to a 100N impact force at the shoulder during the fighting process. According to the impact force, the muscle attenuation radius corresponding to the impact force is obtained as 0.4m. The muscle attenuation model is constructed with the center of the force point as the center of the circle and the muscle attenuation radius of 0.4m as the radius. The greater the impact force, the larger the radius of the spherical model and the higher the center point value. Figure 3 , Figure 3 This is the muscle attenuation model of the shoulder subjected to different impact forces. The muscle attenuation model is a spherical attenuation model. The greater the impact force, the larger the radius of the spherical attenuation model and the higher the center point value.
[0058] S102, based on the muscle attenuation model, obtaining the degree of muscle damage of the digital intelligent person.
[0059] It should be understood that in the embodiments of the present disclosure, the degree of muscle damage of the digital intelligent person is the degree of damage to the muscles caused by the impact force exerted on the digital intelligent person. The muscle attenuation model can be used to predict the impact force exerted on the muscles according to the position of the muscles, and the degree of muscle damage can be obtained according to the impact force.
[0060] In some embodiments, muscle traversal calculations are performed based on the range covered by the muscle attenuation model, and all affected muscles are calculated by taking the product of the position from the center point of the circle and the force at the center point to calculate the degree of muscle damage.
[0061] In some embodiments, the impact force at the muscle is obtained according to the muscle attenuation model and the distance of the muscle from the central force point, and the maximum stress of the muscle can be obtained according to the impact force at the muscle, the muscle injury-free stress and the maximum stress of the muscle, and the degree of muscle damage can be obtained according to the maximum stress. The greater the maximum stress of the muscle, the smaller the degree of muscle damage.
[0062] In some embodiments, see Figure 4 , step S102 includes:
[0063] S401, obtaining the maximum remaining stress that the muscle can withstand according to the distance between the muscle and the central force point, the muscle injury-free stress, and the muscle maximum stress that the muscle can withstand.
[0064] In this step, the muscle attenuation model is used to determine the impact force on the muscle according to the distance of the muscle from the central force point. If the impact force on the muscle is less than or equal to the muscle injury-free stress, the remaining maximum stress of the muscle is equal to the maximum stress of the muscle. If the impact force on the muscle is greater than the muscle injury-free stress, the sum of the maximum stress of the muscle and the muscle injury-free stress minus the impact force on the muscle is the remaining maximum stress of the muscle. It should be understood that the central force point is the central force point of the impact force.
[0065] S402, obtaining the degree of muscle damage according to the maximum stress borne by the remaining muscles.
[0066] In this step, the degree of muscle damage is obtained according to the maximum stress borne by the remaining muscles. The ratio of the maximum stress borne by the remaining muscles to the maximum stress borne by the muscles can be used as the degree of muscle damage, or the maximum stress borne by the remaining muscles can be used as the degree of muscle damage.
[0067] In the embodiments of the present disclosure, the distance between the muscle and the center stress point, the injury-free stress of the muscle and the maximum stress of the muscle can be used to obtain the maximum stress that each muscle can bear, and then the degree of muscle damage can be obtained, so as to adjust the action of the digital human according to the degree of muscle damage. The digital human driven by the combination of muscle and bone can more accurately show the situation of real people being injured by impact, and improve the simulation effect.
[0068] Taking the fighting scene of digital Homo sapiens as an example, during the fighting process, the shoulder of the Homo sapiens is subjected to a 100N impact force, and the corresponding muscle attenuation radius R is 0.4m, and the impact force at the center of the force point is 100N. There is a muscle at the center of the impact force, and the muscle injury-free stress of the muscle is 20N, and the maximum stress is 300N. Then the remaining maximum stress of the muscle is 300-(100-20)=220N, the remaining intactness of the muscle is 220 / 300=73.33%, and the degree of muscle damage is 1-73.33%=26.67%. There is a muscle 0.3m away from the center of the impact force, and the muscle injury-free stress of the muscle is 10N, and the maximum stress is 400N. Then the remaining maximum stress of the muscle at this location is 400-(100*(0.1 / 0.4)-10)=385N, the muscle integrity is 385 / 400=96.25%, and the muscle damage is 1-96.25=3.75%.
[0069] When the impact force on the muscle is greater than the muscle injury-free stress, the remaining maximum stress calculation formula is as follows:
[0070] Fr=Fmax-[Fi(1-m / R)-Fm]
[0071] Among them, Fr is the maximum remaining stress, Fmax is the maximum muscle stress of the corresponding muscle, Fi is the impact force received by the digital human, m is the distance between the muscle and the center force point, R is the muscle attenuation radius, and Fm is the muscle injury-free stress.
[0072] S103, adjusting the movement of the digital human based on the movement type and the degree of muscle damage of the digital human.
[0073] In the embodiments of the present disclosure, the action of the digital intelligent person can be adjusted based on the action type and the degree of muscle damage. Specifically, the motor muscles and the strength of the motor muscles required for the corresponding action can be obtained according to the action type, and the action of the digital intelligent person can be adjusted according to the strength of the motor muscles and the degree of damage to the corresponding muscles. When the digital intelligent person is subjected to impact force, the muscle damage caused by the impact force can be used to make the action of the digital intelligent person more realistic.
[0074] In some embodiments, see Figure 5 , step S103 includes:
[0075] S501, according to the action type of the digital human, obtaining the motor muscles and the strength of the motor muscles required for the digital human to perform the action.
[0076] The motor muscles and the strength of the motor muscles required to perform the action are obtained according to the action type, so as to obtain the motor muscles and the strength of the motor muscles that match the action type. Specifically, the motor muscles and the strength of the motor muscles required for the digital human to perform the action can be obtained according to the relationship between the preset action type and the motor muscles and the strength of the motor muscles required to perform the corresponding action.
[0077] S502, obtaining a muscle movement attenuation coefficient according to the degree of muscle damage and the strength of the moving muscles.
[0078] The muscle movement attenuation coefficient is obtained based on the relationship between the degree of muscle damage and the strength of the exercise muscle required for exercise, so as to express the degree of muscle movement attenuation. The muscle movement attenuation coefficient can be determined by the ratio of the maximum remaining stress of the exercise muscle to the strength of the exercise muscle, and the maximum remaining stress of the exercise muscle can be determined based on the degree of muscle damage.
[0079] S503, driving the movement muscles according to the muscle movement attenuation coefficient to adjust the movement of the digital intelligent being.
[0080] The motion muscle is driven according to the muscle motion attenuation coefficient to adjust the motion of the digital human. For example, the motion of the digital human is adjusted proportionally according to the muscle motion attenuation coefficient.
[0081] Taking the fighting scene of digital humans as an example, assuming that after being injured, the action type of the digital humans is "raising one arm horizontally 90 degrees", according to the action type of the digital humans, the motor muscles required for the digital humans to perform the action are the deltoid and supraspinatus, and the strength of the motor muscles is 60N for the deltoid and 100N for the supraspinatus. The degree of damage to the deltoid and supraspinatus is obtained, whether the maximum stress of the deltoid is still 60N, and whether the supraspinatus is still 100N. If it exceeds these two values, the action can be completed normally. If one or both muscles are damaged, the action amplitude attenuation calculation is performed based on the muscle with the smallest ratio of the residual maximum stress to the stress required for the action. For example, the residual maximum stress of the deltoid is 30N, and the maximum stress of the supraspinatus is 10N. The residual ratio of the deltoid for this action is 30 / 60=50%, and the residual ratio of the supraspinatus for this action is 10 / 100=10%. Then the attenuation calculation of this action is based on the supraspinatus. The arm should be raised 90 degrees, but the muscles can only lift the bones 90*10% = 9 degrees. If a muscle is completely damaged, the action cannot be performed.
[0082] The technical solution disclosed in the present invention can adjust the degree of completion of the digital human's actions according to the degree of muscle damage when the digital human performs subsequent actions after a collision or impact, so that the digital human can accurately simulate the actions of a real person after being injured by an impact, thereby improving the simulation effect.
[0083] See also Figure 6 , a device for driving a digital intelligent being, comprising:
[0084] The model building module 601 is used to build a muscle attenuation model based on the impact force received by the digital human.
[0085] The acquisition module 602 is used to obtain the muscle damage degree of the digital intelligent person based on the muscle attenuation model.
[0086] The adjustment module 603 is used to adjust the movement of the digital human based on the movement type and muscle damage degree of the digital human.
[0087] In some embodiments, the muscle attenuation model is a spherical attenuation model.
[0088] In some embodiments, the model building module 601 is used to build a muscle attenuation model according to the impact force received by the digital human being, and is specifically used to:
[0089] According to the impact force received by the digital intelligent being, the muscle attenuation radius of the digital intelligent being is obtained;
[0090] Taking the central force point of the digital human as the center of the circle, a muscle attenuation model is constructed based on the muscle attenuation radius.
[0091] In some embodiments, the model building module 601 is used to obtain the muscle attenuation radius of the digital human according to the impact force received by the digital human, specifically for:
[0092] The muscle attenuation radius of the digital intelligent being is obtained according to the impact force received by the digital intelligent being and the corresponding relationship between the preset impact force and the muscle attenuation radius.
[0093] In some embodiments, the acquisition module 602 is used to obtain the degree of muscle damage of the digital human based on the muscle attenuation model, specifically for:
[0094] According to the distance between the muscle and the central force point, the muscle injury-free stress and the muscle maximum stress, the maximum residual stress of the muscle is obtained;
[0095] The degree of muscle damage is obtained based on the maximum stress borne by the remaining muscles.
[0096] In some embodiments, the adjustment module 603 is used to adjust the action of the digital human based on the action type and muscle damage degree of the digital human, specifically to:
[0097] According to the action type of the digital human, the motor muscles and the strength of the motor muscles required by the digital human to perform the action are obtained;
[0098] Obtain the muscle movement attenuation coefficient according to the degree of muscle damage and the strength of the moving muscles;
[0099] The movement muscles are driven according to the muscle movement attenuation coefficient to adjust the movements of the digital intelligent being.
[0100] The exemplary embodiment of the present disclosure also provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program that can be executed by the at least one processor, and the computer program is used to cause the electronic device to perform the method according to the embodiment of the present disclosure when executed by the at least one processor.
[0101] Exemplary embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to execute the method according to an embodiment of the present disclosure.
[0102] The exemplary embodiments of the present disclosure also provide a computer program product, including a computer program, wherein the computer program is used to cause the computer to perform the method according to the embodiments of the present disclosure when executed by a processor of the computer.
[0103] refer to Figure 7 , a block diagram of an electronic device 700 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0104] The electronic device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0105] A plurality of components in the electronic device 700 are connected to the I / O interface 705, including: an input unit 706, an output unit 707, a storage unit 708, and a communication unit 709. The input unit 706 may be any type of device capable of inputting information to the electronic device 700, and the input unit 706 may receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 707 may be any type of device capable of presenting information, and may include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 708 may include but is not limited to a disk, an optical disk. The communication unit 709 allows the electronic device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and may include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0106] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above. For example, in some embodiments, the method of the embodiment of the present disclosure may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 700 via the ROM 702 and / or the communication unit 709. In some embodiments, the computing unit 701 may be configured to perform the method of the embodiment of the present disclosure in any other appropriate manner (e.g., by means of firmware).
[0107] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0108] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0109] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0110] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the 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 acoustic input, voice input, or tactile input).
[0111] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0112] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.
Claims
1. A method for driving a digital human, characterized in that: The method comprises: Construct a muscle attenuation model based on the impact force on the digital human; Based on the muscle attenuation model, obtaining the degree of muscle damage of the digital intelligent person; Based on the action type of the digital human and the degree of muscle damage, the action of the digital human is adjusted.
2. The method according to claim 1, characterized in that The muscle attenuation model is a spherical attenuation model.
3. The method according to claim 1 or 2, characterized in that: The step of constructing a muscle attenuation model according to the impact force applied to the digital human comprises: acquiring a muscle attenuation radius of the digital human being according to the impact force exerted on the digital human being; A muscle attenuation model is constructed based on the muscle attenuation radius, with the central force point of the digital human as the center of the circle.
4. The method according to claim 3, characterized in that The step of obtaining the muscle attenuation radius of the digital human being according to the impact force applied to the digital human being comprises: The muscle attenuation radius of the digital human is obtained according to the impact force received by the digital human and a preset correspondence between the impact force and the muscle attenuation radius.
5. The method according to claim 1, characterized in that The obtaining the degree of muscle damage of the digital human based on the muscle attenuation model includes: According to the distance between the muscle and the central force point, the muscle injury-free stress and the muscle maximum stress, the maximum residual stress of the muscle is obtained; The degree of muscle damage is obtained according to the maximum stress borne by the remaining muscle.
6. The method according to claim 1, characterized in that The adjusting the movement of the digital human based on the movement type of the digital human and the degree of muscle damage includes: According to the action type of the digital human, obtaining the motor muscles required for the digital human to perform the action and the strength of the motor muscles; Obtaining a muscle movement attenuation coefficient according to the degree of muscle damage and the strength of the exercise muscle; The motion muscle is driven according to the muscle motion attenuation coefficient to adjust the motion of the digital intelligent being.
7. A device for driving a digital intelligent being, characterized in that: include: A model building module, used to build a muscle attenuation model based on the impact force on the digital human; An acquisition module, used for acquiring the degree of muscle damage of the digital intelligent person based on the muscle attenuation model; The adjustment module is used to adjust the movement of the digital human based on the movement type of the digital human and the degree of muscle damage.
8. An electronic device, characterized in that: include: processor; as well as Memory for storing programs, The program includes instructions, which, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to make a computer execute the method according to any one of claims 1-6.
10. A computer program product, characterized in that The method comprises a computer program, wherein when the computer program is executed by a processor of a computer, the computer is used to cause the computer to perform the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Bringing a visual representation to life via learned input from the user
CN102473320A
Method and device for adjusting animation in game and electronic terminal
CN112802163A
Virtual reality tactile feedback method and device, equipment and medium
CN115437491A
Data processing method and device, equipment and storage medium
CN116510295A
Dummy model determination method and system suitable for pre-collision scene
CN117113856A
