CN109903395A - Processing method, device, storage medium and the electronic equipment of model - Google Patents

Processing method, device, storage medium and the electronic equipment of model Download PDF

Info

Publication number
CN109903395A
CN109903395A CN201910156326.6A CN201910156326A CN109903395A CN 109903395 A CN109903395 A CN 109903395A CN 201910156326 A CN201910156326 A CN 201910156326A CN 109903395 A CN109903395 A CN 109903395A
Authority
CN
China
Prior art keywords
model
instruction
process instruction
operational order
partial model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910156326.6A
Other languages
Chinese (zh)
Other versions
CN109903395B (en
Inventor
王宇鹭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910156326.6A priority Critical patent/CN109903395B/en
Publication of CN109903395A publication Critical patent/CN109903395A/en
Application granted granted Critical
Publication of CN109903395B publication Critical patent/CN109903395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the present application discloses processing method, device, storage medium and the electronic equipment of model.Wherein method includes: the first process instruction received to object module, the corresponding First Transition operational order of first process instruction is determined according to first process instruction and the instruction of at least one pre-stored blending operation, executes first process instruction and the First Transition operational order.The embodiment of the present application is by using above-mentioned technical proposal, object module in the process of processing, is executing each process instruction and increasing blending operation, be smoothed to the switching and processing of object module, it is stiff to avoid, while improving the interest of model treatment.

Description

Processing method, device, storage medium and the electronic equipment of model
Technical field
The invention relates to technical field of electronic equipment more particularly to a kind of processing methods of model, device, storage Medium and electronic equipment.
Background technique
Three-dimensional modeling is one of application of area of computer graphics most worthy, the threedimensional model generated by three-dimensional modeling Also it is widely used in each different field.
In the modeling process of threedimensional model or in the renewal process of threedimensional model, there are the loading of partial model and Unloading, the at present unloading of partial model are and to cancel the office by reading partial model to be unloaded in the three-dimensional model from the background The display of portion's model in the three-dimensional model, the loading of partial model and are being read by reading partial model to be loaded from the background The partial model is directly shown in the three-dimensional model after the completion of taking, and model unloading operation and loading operation are stiff, poor user experience.
Summary of the invention
The embodiment of the present application provides processing method, device, storage medium and the electronic equipment of a kind of model, enhances model Act diversity.
In a first aspect, the embodiment of the present application provides a kind of processing method of model, comprising:
Receive the first process instruction to object module;
First processing is determined according to first process instruction and the instruction of at least one pre-stored blending operation Instruct corresponding First Transition operational order;
Execute first process instruction and the First Transition operational order.
Second aspect, the embodiment of the present application provide a kind of processing unit of model, comprising:
First process instruction receiving module, for receiving the first process instruction to object module;
First Transition operational order determining module, for according to first process instruction and it is pre-stored at least one Blending operation instruction determines the corresponding First Transition operational order of first process instruction;
First instruction execution module, for executing first process instruction and the First Transition operational order.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the processing method of the model as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, including memory, processor and are stored in storage On device and the computer program that can run on a processor, the processor realize such as the application when executing the computer program The processing method of model described in embodiment.
The processing method of the model provided in the embodiment of the present application receives the first process instruction to object module, according to First process instruction and the instruction of at least one pre-stored blending operation determine first process instruction corresponding the The instruction of one blending operation, executes first process instruction and the First Transition operational order.By using above scheme, In the process of processing to object module, each process instruction is executed and increases blending operation, the switching to object module It is smoothed with processing, it is stiff to avoid, while improving the interest of model treatment.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the processing method of model provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the processing method of another model provided by the embodiments of the present application;
Fig. 3 is the flow diagram of the processing method of another model provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of the processing unit of model provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of another electronic equipment provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is understood that It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.It further needs exist for illustrating , part relevant to the application is illustrated only for ease of description, in attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Fig. 1 is a kind of flow diagram of the processing method of model provided by the embodiments of the present application, and this method can be by mould The processing unit of type executes, and wherein the device can be implemented by software and/or hardware, and can generally integrate in the electronic device.Such as Fig. 1 It is shown, this method comprises:
Step 101 is received to the first process instruction of object module.
Step 102 instructs described in determination according to first process instruction and at least one pre-stored blending operation The corresponding First Transition operational order of first process instruction.
Step 103 executes first process instruction and the First Transition operational order.
Illustratively, the electronic equipment in the embodiment of the present application may include that mobile phone, tablet computer and computer etc. are intelligently set It is standby.
In the present embodiment, object module is that the threedimensional model created in the electronic device illustratively can be human body Model, animal model or human body, animal department pattern, such as can be human head model, animal head model etc..? In the present embodiment, first process instruction includes the loading instruction and unloading command of partial model.Wherein, partial model is group At the model of object module, object module be can be by multiple partial models, by taking manikin as an example, the localized mode of manikin Type can be including but not limited to arm models, palm model, finger model, nail model, leg model, human foot model, head Contouring model, eye model, ear model, nose model, mouth model, Hair model, necklace model, garment form, shoes Submodel, cap model and tool model etc..The loading instruction of partial model loads in instruction for rendering on object module The partial model being related to, the unloading command of partial model are used to delete localized mode involved in unloading command from object module Type.Illustratively, it may be implemented by the instruction of the device of the unloading command of the first Hair model and the second Hair model based on the Two Hair models replace the first Hair model in object module, are updated to object module.
In the present embodiment, it is previously stored with multiple blending operation instructions in electronic equipment, such as can be a processing The corresponding one or more blending operations instruction of instruction, after receiving process instruction, determined at random according to process instruction at this Reason instructs corresponding blending operation instruction, or according to the partial model information and multiple transition carried in process instruction Operational order is matched, and the blending operation to match with the process instruction instruction is obtained.
In some embodiments, the First Transition operational order can be animation play operational order, be based on the first mistake It crosses operational order and executes First Transition operation, such as animation play operational order carries out animation in the display page of electronic equipment and broadcasts It puts.Wherein, the partial model information carried in the animation of broadcasting and the first process instruction and the first process instruction determines.It is exemplary , if the loading that the first process instruction is partial model instructs, the corresponding animation of animation play operational order be can be to mesh It marks model and carries out the loading animation of partial model, such as can be the animation for loading cap model to manikin.If at first Reason instruction is the unloading command of partial model, then the corresponding animation of animation play operational order can be to object module carry out office The unloading animation of portion's model, or can be and successful animation is unloaded to partial model.Wherein, animation play operational order is corresponding Animation can be and be arranged according to user demand, user can edit animation, deletes and add.
In some embodiments, the First Transition operational order can be the action directive of object module.Wherein, Action directive can be the action control including at least one key point to object module, by taking manikin as an example, close Key point can be including but not limited to head, glasses, mouth, nose, eyebrow, neck, left hand elbow, left finesse, left shoulder, left hip Portion, left knee, left ankle, right hand elbow, right finesse, right shoulder, right crotch, right knee and right ankle etc..In action directive It can be including the action control at least one key point, and the control of each key point can be including at least one Action mode, each action mode for execute one movement, illustratively, the action mode of head model can be including But be not limited to new line mode, mode of nodding and mode of shaking the head etc..Optionally, the key point for including in action directive and pass The action mode of key point can be, example related to the partial model information carried in the first process instruction and the first process instruction Property, the first process instruction be cap model unloading command, then action directive can be sub-instructions of rehabilitating, including pass Key point is left shoulder, left arm and the left hand palm and finger, and wherein the action mode of left shoulder can be half the circumference of the sleeve where it joins the shoulder mode, left arm Action mode is lift fingerprint formula, and left hand is slapped and the action mode of finger is to win mode etc..It is controllable according to above-mentioned sub-instructions of rehabilitating Object module processed completes the movement taken off one's cap, the unloading command of corresponding cap model so that the execution of unloading command enrich it is interesting, No longer stiff, by the model before processing, model is seamlessly transitted with treated.
In the present embodiment, after determining the First Transition operational order of the first process instruction, the first processing is executed respectively Instruction and First Transition operational order, wherein it can be and first carry out the first process instruction, then execute First Transition operational order, The first process instruction is seamlessly transitted with the process instruction executed below based on First Transition operational order, can also be first Execute First Transition operational order, then execute the first process instruction, based on First Transition operational order by the first process instruction with The process instruction that front executes is seamlessly transitted, and avoids the processing operation to object module stiff, improves user experience.
In some embodiments, the execution first process instruction and the First Transition operational order, comprising: root The execution timing of first process instruction and the First Transition operational order is determined according to the type of first process instruction; First process instruction and the First Transition operational order are successively executed according to the execution timing.In some embodiments In, the corresponding blending operation instruction of different process instructions can be difference, and the execution timing of blending operation instruction is also possible to Different.Illustratively, first process instruction and the First Transition are determined according to the type of first process instruction The execution timing of operational order, comprising: if the loading that first process instruction is partial model instructs, described in synchronous execution First process instruction and the First Transition operational order, and in the target mould after the completion of First Transition operational order The partial model of loading is shown in type;If first process instruction is the unloading command of partial model, first processing The execution sequence of instruction is prior to the First Transition operational order.Wherein, when executing the loading instruction of partial model, including part The loading of the read operation of model and the Rendering operations of partial model, synchronous execution First Transition operational order and partial model refers to It enables and refers to executing First Transition operational order when executing the read operation of partial model, avoid carrying out partial model The invalid waiting of user when read operation, while the interest of model treatment is improved, after executing First Transition operational order, The Rendering operations for carrying out partial model, show laden partial model in the display page of object module.Optionally, the first mistake The execution duration for crossing operational order is less than or equal to the read operation duration of partial model, wherein can be according to be loaded The data volume size of partial model determines corresponding First Transition operational order.
When executing the unloading command of partial model, the display for deleting partial model in object module can be, and delete Partial model data are executing First Transition operational order, can also be to first carry out and unload after completing partial model data and deleting Instruction is carried, i.e., first deletes display of the partial model in object module, resynchronisation executes localized mode after deleting partial model Type data are deleted and First Transition operational order.In the present embodiment, based on the executive mode of different disposal instruction, determine that transition is grasped The execution timing for making to instruct is smoothed the switching of object module on the basis of avoiding user from waiting in vain.
The processing method of the model provided in the embodiment of the present application receives the first process instruction to object module, according to First process instruction and the instruction of at least one pre-stored blending operation determine first process instruction corresponding the The instruction of one blending operation, executes first process instruction and the First Transition operational order.By using above scheme, In the process of processing to object module, each process instruction is executed and increases blending operation, the switching to object module It is smoothed with processing, it is stiff to avoid, while improving the interest of model treatment.
Fig. 2 is the flow diagram of the processing method of another model provided by the embodiments of the present application, referring to fig. 2, this reality The method for applying example includes the following steps:
Step 201 is received to the unloading command of partial model in object module.
Step 202 determines the unloading according to the unloading command and the instruction of at least one pre-stored blending operation Instruct corresponding First Transition operational order.
Step 203 in the processing time of the unloading command of the partial model, receives to the object module When two process instructions, the First Transition operational order is cancelled.
Step 204 executes the unloading command and second processing instruction.
Wherein, due to preferentially executing unloading command, then the blending operation instruction of unloading command is executed, when after unloading command There are when other process instructions to be processed, cancels the First Transition operational order of unloading command, directly execute latter treatment and refer to It enables, avoids due to executing the time loss in object module treatment process caused by blending operation instructs.Wherein, partial model The processing time of unloading command can be the download time section for completing partial model, when can also be the downloading for completing partial model Between section and complete First Transition operational order execution the period sum, i.e., in the uninstall process of partial model or first In blending operation execution process instruction, when receiving the second processing instruction to object module, First Transition operation is cancelled Instruction stops executing First Transition operational order, executes second processing instruction.Wherein, second processing instruction can be part The loading of model instructs or unloading command, and circulation executes scheme provided in this embodiment.Optionally, when the second processing instructs When being instructed for the loading of partial model, is instructed according to first process instruction and the second processing and determine the second blending operation Instruction, synchronous execution the second blending operation instruction are instructed with the second processing.Illustratively, when the first process instruction and When second processing instruction is respectively the unloading command of same type of partial model and loads instruction, it may be determined that pass through the first processing Instruction and second processing instruction are replaced the partial model of the type, and the second blending operation instruction determined is the type The replacement operation of partial model instructs, such as the first process instruction and second processing instruction are respectively the unloading command of cap model It is instructed with loading, the instruction of the second blending operation can be the action directive of replacement cap, according to the movement of the replacement cap Control instruction controls object module and completes take off one's cap movement and movement of being branded as, and realization instructs unloading command and loading smooth Processing, completion smoothly switch object module.Wherein it is possible to be successively execute unloading command, the second blending operation instruction and Instruction is loaded, be can also be and first carried out unloading command, resynchronisation the second blending operation of execution instruction and load instruction.It is exemplary , when the first process instruction and second processing instruction are respectively that the unloading command of different types of partial model and loading instruct When, cancel the corresponding blending operation instruction of unloading command, determines the instruction of the second blending operation according to loading to instruct, first carry out unloading Instruction, resynchronisation execute the instruction of the second blending operation and load instruction.
It should be noted that if whether receiving second when the first process instruction is the loading instruction of partial model Process instruction, the loading instruction all in accordance with partial model determines corresponding First Transition operational order, synchronous to execute First Transition The instruction of the loading of operational order and partial model.
The processing method of the model provided in the embodiment of the present application, under being received in the treatment process of unloading command When one process instruction, cancel the corresponding blending operation instruction of unloading command, the execution for avoiding blending operation from instructing causes at model The unnecessary time loss of reason improves model treatment efficiency.
In some embodiments, step 203 was also possible that in the processing time of the unloading command of the partial model, When receiving the second processing instruction to the object module, determine whether First Transition operational order has executed, and first Process instruction, which executes, to be completed the moment, and whether the First Transition operational order is executable to be completed, if so, First Transition operational order The execution that will not influence second processing instruction is executed, then the First Transition operational order is continued to execute, if it is not, then cancelling institute State First Transition operational order.By determining that the moment is completed in the execution of First Transition operational order, First Transition operation is improved The control flexibility of instruction.
Fig. 3 is the flow diagram of the processing method of another model provided by the embodiments of the present application, on the present embodiment is An optinal plan of embodiment is stated, correspondingly, as shown in figure 3, the method for the present embodiment includes the following steps:
Step 301, the normal structure parameter for obtaining object module, according to the normal structure parameter in model database It is matched, determines the benchmark model of the object module, wherein the model database includes at least one to create mould Type.
Step 302 determines partial model to be adjusted in the benchmark model according to the normal structure parameter.
Step 303 determines standard localized mode according to the corresponding standard local structure parameter of the partial model to be adjusted Type.
Step 304 is received to the unloading command of partial model to be adjusted in object module and the dress of standard partial model Carry instruction.
Step 305 refers to according to the unloading command of the partial model to be adjusted and the loading of the standard partial model Enable the blending operation instruction for determining that partial model updates.
Step 306, the unloading command that the partial model to be adjusted is executed to the object module synchronize described in executing The loading of blending operation instruction and the standard partial model that partial model updates instructs, in the mistake that the partial model updates It crosses after the completion of operational order, the standard partial model is shown in the benchmark model, to generate the object module.
Wherein, the figure of object module is obtained based on two-sided camera, structure light video camera head or the first-class equipment of depth camera Picture, wherein include depth information in the image, image recognition is carried out by the image to object module, while setting according to above-mentioned It is standby at a distance from object module, it may be determined that the normal structure parameter of object module.Model database is provided in electronic equipment, it should For model database for store the historical models created, being carried out matching in model database according to normal structure parameter can be with Be by normal structure parameter successively with created in model database model carry out parameter matching, determine matching similarity, according to Similarity determines the benchmark model of the object module.Optionally, the type for identifying object module, according to the type of object module The model of creation for belonging to the type in normal structure parameter and model database is matched, illustratively, when target mould When type belongs to human body head, it can be the normal structure parameter of object module and the progress of manikin and human head model Match, to determine benchmark model, wherein when the normal structure parameter of object module (such as human body head) with created the portion of model When sub-model (head model in manikin) matches, the partial model to match can be determined as to the base of object module Quasi-mode type.By determining the type of object module, Model Matching is targetedly carried out, reduces the matching operation of needs, mentions The determination efficiency of high benchmark model.In some embodiments, can also be based on the image that object module is shot with created The corresponding image of model is matched, and determines the matching similarity of image, and the matching similarity of image is determined as normal structure Parameter and the matching similarity for having created model.
Optionally, the model of creation stored in the normal structure parameter and model database carries out parameter matching, really Determine above-mentioned standard structural parameters and the similarity for having created model, comprising:, will according to the partial structurtes of the object module The normal structure parameter is divided into multiple standard local structure parameters;Based on the multiple standard local structure parameter respectively with It is described to have created corresponding partial model in model and matched, determine the partial model quantity of successful match;According to described The normal structure parameter and the similarity for having created model are generated with successful partial model quantity, wherein the phase It is positively correlated like degree and the partial model quantity of the successful match.Illustratively, model has been created by maximum similarity is corresponding It is determined as the benchmark model of the object module.The corresponding benchmark model of normal structure parameter is determined based on matching similarity, Wherein, which is used to be changed on the basis of the benchmark model as the model basis for creating the object module Into or editor, duplicate edit step is reduced, to quickly generate object module.Illustratively, it can be matching similarity most The high model of creation is determined as benchmark model.It should be noted that when benchmark model is similar to the matching of normal structure parameter When degree meets preset requirement, it can be and the benchmark model is determined as object module, i.e., using the model of history creation as target Model improves the creation efficiency that model is improved to the utilization rate for having created model without carrying out secondary editor.
When the normal structure parameter of benchmark model and object module has differences, the partial model having differences is determined, The partial model that difference will be present is determined as partial model to be adjusted.Wherein it is possible to be based on each part in benchmark model The standard local parameter of corresponding partial model is compared in the actual parameter of model and the normal structure parameter of object module, When the actual parameter of partial model is consistent with standard local parameter or its error within the allowable range when, determination compare successfully, The partial model is without adjustment, when the error of the actual parameter of partial model and standard local parameter is greater than default error, really Fixed comparison failure, the partial model are partial model to be adjusted.Specifically, the default error of partial model can be and part The type of model and/or the model accuracy of user demand are related, and illustratively, the model accuracy of user demand is higher, presets and misses Difference is smaller.Illustratively, the size of partial model is smaller, and corresponding default error is smaller, such as facial contour model is pre- If error may be greater than the default error of human-eye model.
Optionally, step 303 may include: the local structure parameter according to the partial model to be adjusted and the Bureau of Standards Portion's structural parameters determine parameter adjustment value;Regulated value adjusts the partial model to be adjusted based on the parameter, will be described Partial model to be adjusted is updated to standard partial model.Optionally, step 303 is it may also is that according to the office to be adjusted Model corresponding standard local structure parameter in portion's is modeled, and the standard partial model is generated;Alternatively, according to described to be adjusted The corresponding standard local structure parameter of partial model matched in the model database, it is determining with the standard part The standard partial model that structural parameters match.
After determining partial model and standard partial model to be adjusted, it can be and generate partial model to be adjusted The loading of unloading command and standard partial model instruction, and further generate partial model update blending operation instruction (such as Can be the action directive that partial model updates animation play instruction or partial model updates), it successively executes to be adjusted The unloading command of partial model, the blending operation instruction that partial model updates and standard partial model loading instruction, or After the unloading command of partial model to be adjusted executes, the synchronous blending operation instruction for executing local model modification and the Bureau of Standards The loading of portion's model instructs.The blending operation updated by partial model is to the unloading operation and standard of partial model to be adjusted The loading operation of partial model is smoothed, so that the update operation of partial model is more vivid, interest is strong.
The processing method of the model provided in the embodiment of the present application determines the base of current goal model in having created model Quasi-mode type carries out the adjustment or creation of model on the basis of benchmark model, is applied repeatedly to model has been created, avoid phase With the creation repeatedly of model, modeling process is simplified, improves modeling efficiency, while in the renewal process of partial model to be adjusted In, blending operation is increased, the loading operation of unloading operation and standard partial model to partial model to be adjusted carries out flat Sliding processing, avoids the stiff of model treatment process, enhances the interest of model treatment.
Fig. 4 be a kind of structural block diagram of the processing unit of model provided by the embodiments of the present application, the device can by software and/ Or hardware realization, it is typically integrated in electronic equipment, it can be by the processing method of the model of execution electronic equipment come to three-dimensional mould Type carries out editing and processing.As shown in figure 4, the device includes: the first process instruction receiving module 401, First Transition operational order Determining module 402 and the first instruction execution module 403.
First process instruction receiving module 401, for receiving the first process instruction to object module;
First Transition operational order determining module 402, for according to first process instruction and it is pre-stored at least One blending operation instruction determines the corresponding First Transition operational order of first process instruction;
First instruction execution module 403, for executing first process instruction and the First Transition operational order.
The processing unit of the model provided in the embodiment of the present application, to object module in the process of processing, to every One process instruction, which executes, increases blending operation, is smoothed to the switching and processing of object module, it is stiff to avoid, simultaneously Improve the interest of model treatment.
On the basis of the above embodiments, first process instruction includes that the loading instruction of partial model and unloading refer to It enables.
On the basis of the above embodiments, the first instruction execution module 403 includes:
Execute timing determination unit, for according to the type of first process instruction determine first process instruction and The execution timing of the First Transition operational order;
Instruction execution unit, for successively executing first process instruction and first mistake according to the execution timing Cross operational order.
On the basis of the above embodiments, timing determination unit is executed to be used for:
If the loading that first process instruction is partial model instructs, synchronous to execute first process instruction and institute First Transition operational order is stated, and shows the office of loading in the object module after the completion of First Transition operational order Portion's model;
If first process instruction is the unloading command of partial model, the execution sequence of first process instruction is first In the First Transition operational order.
On the basis of the above embodiments, the First Transition operational order is animation play operational order or object module Action directive.
On the basis of the above embodiments, when first process instruction is the unloading command of partial model, the dress It sets further include:
Module is cancelled in blending operation instruction, for executing first process instruction and the First Transition operational order Before, in the processing time of the unloading command of the partial model, the second processing instruction to the object module is received When, cancel the First Transition operational order;
Second instruction execution module, for executing first process instruction and second control instruction.
On the basis of the above embodiments, further includes:
Second blending operation instructs determining module, for instructing when the loading that second processing instruction is partial model When, it is instructed according to first process instruction and the second processing and determines the instruction of the second blending operation;
Correspondingly, the second instruction execution module is used for:
First process instruction is executed, it is synchronous to execute the second transition behaviour after executing first process instruction Make instruction to instruct with the second processing.
On the basis of the above embodiments, further includes:
Benchmark model determining module, for obtaining object module before receiving to the first process instruction of object module Normal structure parameter, matched in model database according to the normal structure parameter, determine the object module Benchmark model, wherein the model database includes at least one to create model;
Partial model determining module to be adjusted, for according to the normal structure parameter determine in the benchmark model to The partial model of adjustment;
Standard partial model determining module, for being joined according to the corresponding standard partial structurtes of the partial model to be adjusted Number determines standard partial model;
Correspondingly, first process instruction is the unloading command of the partial model to be adjusted, the second processing Instruction is that the loading of the standard partial model instructs, and the second blending operation instruction is the blending operation that partial model updates Instruction;
The second instruction execution module is used for: the unloading of the partial model to be adjusted is executed to the object module Instruction, the synchronous loading for executing blending operation instruction and the standard partial model that the partial model updates instructs, in institute After the completion of the blending operation instruction for stating partial model update, the standard partial model is shown, in the benchmark model with life At the object module.
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable It instructs when being executed by computer processor for executing the processing method of model, this method comprises:
Receive the first process instruction to object module;
First processing is determined according to first process instruction and the instruction of at least one pre-stored blending operation Instruct corresponding First Transition operational order;
Execute first process instruction and the First Transition operational order.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDORAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (example Such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other types Memory or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, or It can be located in different second computer systems, second computer system is connected to the first meter by network (such as internet) Calculation machine system.Second computer system can provide program instruction to the first computer for executing.Term " storage medium " can To include two or more that may reside in different location (such as in the different computer systems by network connection) Storage medium.Storage medium can store the program instruction that can be performed by one or more processors and (such as be implemented as counting Calculation machine program).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application Mould provided by the application any embodiment can also be performed in the processing operation for the model that executable instruction is not limited to the described above Relevant operation in the processing method of type.
The embodiment of the present application provides a kind of electronic equipment, and mould provided by the embodiments of the present application can be integrated in the electronic equipment The processing unit of type.Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.Electronic equipment 500 can be with Include: memory 501, processor 502 and is stored in the computer program that can be run on memory 501 and in processor 502, institute State the processing method that the model as described in the embodiment of the present application is realized when processor 502 executes the computer program.
Electronic equipment provided by the embodiments of the present application in the process of processing, is handling each object module Instruction execution increases blending operation, is smoothed to the switching and processing of object module, it is stiff to avoid, while improving mould The interest of type processing.
Fig. 6 is the structural schematic diagram of another electronic equipment provided by the embodiments of the present application.The electronic equipment may include: Shell (not shown), memory 601, central processing unit (central processing unit, CPU) 602 (are also known as located Manage device, hereinafter referred to as CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in institute State the space interior that shell surrounds;The CPU602 and the memory 601 are arranged on the circuit board;The power supply electricity Road, for each circuit or the device power supply for the electronic equipment;The memory 601, for storing executable program generation Code;The CPU602 is run and the executable journey by reading the executable program code stored in the memory 601 The corresponding computer program of sequence code, to perform the steps of
Receive the first process instruction to object module;
First processing is determined according to first process instruction and the instruction of at least one pre-stored blending operation Instruct corresponding First Transition operational order;
Execute first process instruction and the First Transition operational order.
The electronic equipment further include: Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, audio-frequency electric Road 606, loudspeaker 611, power management chip 608, input/output (I/O) subsystem 609, other input/control devicess 610, Touch screen 612, other input/control devicess 610 and outside port 604, these components pass through one or more communication bus Or signal wire 607 communicates.
It should be understood that illustrating the example that electronic equipment 600 is only electronic equipment, and electronic equipment 600 It can have than shown in the drawings more or less component, can combine two or more components, or can be with It is configured with different components.Various parts shown in the drawings can include one or more signal processings and/or dedicated It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the electronic equipment provided in this embodiment for the processing operation to model is described in detail below, the electricity Sub- equipment takes the mobile phone as an example.
Memory 601, the memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and the memory 601 can It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU602 and deposited by Peripheral Interface 603, the Peripheral Interface 603 Reservoir 601.
I/O subsystem 609, the I/O subsystem 609 can be by the input/output peripherals in equipment, such as touch screen 612 With other input/control devicess 610, it is connected to Peripheral Interface 603.I/O subsystem 609 may include 6091 He of display controller For controlling one or more input controllers 6092 of other input/control devicess 610.Wherein, one or more input controls Device 6092 processed receives electric signal from other input/control devicess 610 or sends electric signal to other input/control devicess 610, Other input/control devicess 610 may include physical button (push button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.It is worth noting that input controller 6092 can with it is following any one connect: keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Touch screen 612, the touch screen 612 are the input interface and output interface between consumer electronic devices and user, Visual output is shown to user, visual output may include figure, text, icon, video etc..
Display controller 6091 in I/O subsystem 609 receives electric signal from touch screen 612 or sends out to touch screen 612 Electric signals.Touch screen 612 detects the contact on touch screen, and the contact that display controller 6091 will test is converted to and is shown The interaction of user interface object on touch screen 612, i.e. realization human-computer interaction, the user interface being shown on touch screen 612 Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 605 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 605 receives and sends RF letter Number, RF signal is also referred to as electromagnetic signal, and RF circuit 605 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 605 may include for executing The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 606 is mainly used for receiving audio data from Peripheral Interface 603, which is converted to telecommunications Number, and the electric signal is sent to loudspeaker 611.
Loudspeaker 611 is reduced to sound for mobile phone to be passed through RF circuit 605 from the received voice signal of wireless network And the sound is played to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface are powered And power management.
It is arbitrarily real that the application can be performed in processing unit, storage medium and the electronic equipment of the model provided in above-described embodiment The processing method for applying model provided by example has and executes the corresponding functional module of this method and beneficial effect.Not in above-mentioned reality The technical detail of detailed description in example is applied, reference can be made to the processing method of model provided by the application any embodiment.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation, The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.

Claims (11)

1. a kind of processing method of model characterized by comprising
Receive the first process instruction to object module;
First process instruction is determined according to first process instruction and the instruction of at least one pre-stored blending operation Corresponding First Transition operational order;
Execute first process instruction and the First Transition operational order.
2. the method according to claim 1, wherein the loading that first process instruction includes partial model refers to Order and unloading command.
3. the method according to claim 1, wherein the execution first process instruction and first mistake Cross operational order, comprising:
Holding for first process instruction and the First Transition operational order is determined according to the type of first process instruction Row timing;
First process instruction and the First Transition operational order are successively executed according to the execution timing.
4. according to the method described in claim 3, it is characterized in that, determining described according to the type of first process instruction The execution timing of one process instruction and the First Transition operational order, comprising:
It is synchronous to execute first process instruction and described the if the loading that first process instruction is partial model instructs One blending operation instructs, and shows the localized mode of loading in the object module after the completion of First Transition operational order Type;
If first process instruction is the unloading command of partial model, the execution sequence of first process instruction is prior to institute State First Transition operational order.
5. method according to claim 1 to 4, which is characterized in that the First Transition operational order is animation play The action directive of operational order or object module.
6. according to the method described in claim 2, it is characterized in that, when the unloading that first process instruction is partial model refers to When enabling, before executing first process instruction and the First Transition operational order further include:
In the processing time of the unloading command of the partial model, the second processing instruction to the object module is received When, execute first process instruction and second control instruction.
7. according to the method described in claim 6, it is characterized in that, when the loading that second processing instruction is partial model refers to When enabling, is instructed according to first process instruction and the second processing and determine the instruction of the second blending operation;
Correspondingly, the execution first process instruction and second control instruction, comprising:
First process instruction is executed, after executing first process instruction, synchronous execution second blending operation refers to It enables and being instructed with the second processing.
8. the method according to the description of claim 7 is characterized in that receive to the first process instruction of object module before, Further include:
The normal structure parameter for obtaining object module, is matched in model database, really according to the normal structure parameter The benchmark model of the fixed object module, wherein the model database includes at least one to create model;
Partial model to be adjusted in the benchmark model is determined according to the normal structure parameter;
Standard partial model is determined according to the corresponding standard local structure parameter of the partial model to be adjusted;
Correspondingly, first process instruction is the unloading command of the partial model to be adjusted, the second processing instruction It is instructed for the loading of the standard partial model, the second blending operation instruction is that the blending operation that partial model updates refers to It enables;
First process instruction is executed, it is synchronous to execute second transition described after executing first process instruction Operational order and the second processing instruct, comprising:
The unloading command of the partial model to be adjusted is executed to the object module, it is synchronous to execute the partial model update Blending operation instruction and the standard partial model loading instruct, the partial model update blending operation instructed Cheng Hou shows the standard partial model in the benchmark model, to generate the object module.
9. a kind of processing unit of model characterized by comprising
First process instruction receiving module, for receiving the first process instruction to object module;
First Transition operational order determining module, for according to first process instruction and at least one pre-stored transition Operational order determines the corresponding First Transition operational order of first process instruction;
First instruction execution module, for executing first process instruction and the First Transition operational order.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The processing method such as model described in any one of claims 1-8 is realized when execution.
11. a kind of electronic equipment, which is characterized in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, the processor realize mould a method as claimed in any one of claims 1-8 when executing the computer program The processing method of type.
CN201910156326.6A 2019-03-01 2019-03-01 Model processing method and device, storage medium and electronic equipment Active CN109903395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910156326.6A CN109903395B (en) 2019-03-01 2019-03-01 Model processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910156326.6A CN109903395B (en) 2019-03-01 2019-03-01 Model processing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109903395A true CN109903395A (en) 2019-06-18
CN109903395B CN109903395B (en) 2021-07-09

Family

ID=66946052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910156326.6A Active CN109903395B (en) 2019-03-01 2019-03-01 Model processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109903395B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110342A (en) * 2021-04-22 2021-07-13 中国电力工程顾问集团西北电力设计院有限公司 Multifunctional tower type molten salt photo-thermal power station simulation verification platform and implementation method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214068A (en) * 2011-04-28 2011-10-12 宇龙计算机通信科技(深圳)有限公司 Control method for page switching display and mobile terminal
CN104335268A (en) * 2012-06-05 2015-02-04 苹果公司 Method, system and apparatus for providing a three-dimensional transition animation for a map view change
CN106527914A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 A page turning method and device and an electronic apparatus
CN106933592A (en) * 2017-03-17 2017-07-07 武汉斗鱼网络科技有限公司 Interactive animation generation method and device
CN107223271A (en) * 2016-12-28 2017-09-29 深圳前海达闼云端智能科技有限公司 A kind of data display processing method and device
WO2018177208A1 (en) * 2017-04-01 2018-10-04 腾讯科技(深圳)有限公司 Costume replacement method and apparatus, computer readable medium and electronic device
CN108875079A (en) * 2018-07-12 2018-11-23 北京千家悦网络科技有限公司 A method of switching browser page

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214068A (en) * 2011-04-28 2011-10-12 宇龙计算机通信科技(深圳)有限公司 Control method for page switching display and mobile terminal
CN104335268A (en) * 2012-06-05 2015-02-04 苹果公司 Method, system and apparatus for providing a three-dimensional transition animation for a map view change
CN106527914A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 A page turning method and device and an electronic apparatus
CN107223271A (en) * 2016-12-28 2017-09-29 深圳前海达闼云端智能科技有限公司 A kind of data display processing method and device
CN106933592A (en) * 2017-03-17 2017-07-07 武汉斗鱼网络科技有限公司 Interactive animation generation method and device
WO2018177208A1 (en) * 2017-04-01 2018-10-04 腾讯科技(深圳)有限公司 Costume replacement method and apparatus, computer readable medium and electronic device
CN108875079A (en) * 2018-07-12 2018-11-23 北京千家悦网络科技有限公司 A method of switching browser page

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
半个圆弧: "如何在PPT中实现多张图片叠加在一起,点击消失一张出来下一张的效果", 《HTTP://BLOG.SINA.COM.CN/S/BLOG_4FC125320100P9UB.HTML》 *
王晓东1号: "ppt点击文字出现图片,再次点击消失", 《HTTPS://WWW.CNBLOGS.COM/DONNNNNN/P/7542851.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110342A (en) * 2021-04-22 2021-07-13 中国电力工程顾问集团西北电力设计院有限公司 Multifunctional tower type molten salt photo-thermal power station simulation verification platform and implementation method thereof
CN113110342B (en) * 2021-04-22 2022-04-26 中国电力工程顾问集团西北电力设计院有限公司 Multifunctional tower type molten salt photo-thermal power station simulation verification platform and implementation method thereof

Also Published As

Publication number Publication date
CN109903395B (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN110548281B (en) Virtual key method based on cloud game terminal
CN109101352A (en) Algorithm framework, algorithm call method, device, storage medium and mobile terminal
CN108076224A (en) application control method, device and storage medium and mobile terminal
CN113038152B (en) Live broadcast data processing method and device, terminal and storage medium
KR20200088187A (en) Electronic device for generating avatar and method thereof
US20210027513A1 (en) Electronic device for providing avatar and operating method thereof
CN105979035A (en) AR image processing method and device as well as intelligent terminal
CN108734758A (en) A kind of model of image configuration method, device and computer storage media
CN109753892B (en) Face wrinkle generation method and device, computer storage medium and terminal
CN109978640A (en) Dress ornament tries method, apparatus, storage medium and mobile terminal on
CN109331455A (en) Movement error correction method, device, storage medium and the terminal of human body attitude
CN108683872B (en) Video call method, device, storage medium and mobile terminal
CN107968890A (en) theme setting method, device, terminal device and storage medium
CN108920070A (en) Split screen method, apparatus, storage medium and mobile terminal based on special-shaped display screen
CN108763350A (en) Text data processing method, device, storage medium and terminal
CN108733193A (en) Method, apparatus, storage medium and the intelligent terminal of adjustment frame per second
CN109903375A (en) Model generating method, device, storage medium and electronic equipment
CN109656719A (en) Algorithm process method, apparatus, storage medium and terminal device
CN109903395A (en) Processing method, device, storage medium and the electronic equipment of model
CN108491780A (en) Image landscaping treatment method, apparatus, storage medium and terminal device
CN110333785A (en) Information processing method, device, storage medium and augmented reality equipment
CN110298274A (en) Optical finger print parameter upgrade method and Related product
CN108388842A (en) Intelligent prompt method and Related product
CN109784299A (en) Model treatment method, apparatus, terminal device and storage medium
CN109413714A (en) Processing method, device, storage medium and the terminal of user agent's information

Legal Events

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