CN103064672A - Three-dimensional (3D) view adjusting method and device - Google Patents

Three-dimensional (3D) view adjusting method and device Download PDF

Info

Publication number
CN103064672A
CN103064672A CN2012105566187A CN201210556618A CN103064672A CN 103064672 A CN103064672 A CN 103064672A CN 2012105566187 A CN2012105566187 A CN 2012105566187A CN 201210556618 A CN201210556618 A CN 201210556618A CN 103064672 A CN103064672 A CN 103064672A
Authority
CN
China
Prior art keywords
shortcut
view
mentioned
template
operation message
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
CN2012105566187A
Other languages
Chinese (zh)
Other versions
CN103064672B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210556618.7A priority Critical patent/CN103064672B/en
Publication of CN103064672A publication Critical patent/CN103064672A/en
Application granted granted Critical
Publication of CN103064672B publication Critical patent/CN103064672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a three-dimensional (3D) view adjusting method and device. The method comprises the steps of distinguishing whether a prerun shortcut is a two-dimensional (2D) shortcut or a 3D shortcut; if the prerun shortcut is the 2D shortcut, constructing a 3D view corresponding to the 2D shortcut; running an application program of the 2D shortcut after receiving running information, and adjusting the 3D view of the 2D shortcut through a 3D desktop system according to the running information; if the prerun shortcut is the 3D shortcut, running an application program of the 3D shortcut after receiving the running information, and adjusting the 3D view of the 3D shortcut through the 3D shortcut according to the running information. The problem that in the prior art, 3D effects cannot be displayed through the third-party 2D shortcut is solved through the 3D view adjusting method, the 3D visual effects cannot be displayed through the third-party 2D shortcut, 3D visual effects of a desktop are unified, and user experience is improved.

Description

A kind of 3D view method of adjustment and device
Technical field
The present invention relates to field of mobile communication, particularly relate to a kind of 3D view method of adjustment and device.
Background technology
Three-dimensional (three Dimensional is referred to as 3D) technology is widely used on the multiple visual device in recent years, popular along with the 3D film, and the 3D TV begins to enter in a large number people's the visual field, and apple and Microsoft are also actively pushing forward the 3D desktop system of oneself.Along with the quick upgrading of handheld device hardware, also can support the consumption of 3D graphic plotting now, the game that a large amount of 3D game is used for promoting handheld device occur.And begin to occur the 3D desktop, because desktop is that the user contacts maximum application, 3D looks usefulness and enough directly promotes user's impression preferably.Now popular have (Spacebuilder is referred to as the SPB) Shell that sets for this platform of community, developed some new 3D plug-in units, mainly is some animation effects of relatively dazzling.Also can support third-party two dimension (two Dimensional is referred to as 2D) shortcut icon and 2D plug-in unit, but all not have three-dimensional effect, but the same just plane effect with the 2D desktop.And owing to third-party application can not be done a 3D shortcut of overlapping the support said function again according to the development requires of 3D desktop, therefore so that also disunity is imitated and operated in looking of 3D desktop.Majority follows the 3D desktop to develop together some distinctive 3D shortcuts to strengthen effect, but can only support the 3D shortcut that relates to according to own framework, and the support of 2D shortcut and demonstration and primaryly do not have a difference, namely third-party 2D shortcut remains the display effect of 2D.
Can't show for the third party 2D shortcut in the correlation technique and the problem of 3D effect not yet to propose at present effective solution.
Summary of the invention
Can't show for the third party 2D shortcut in the correlation technique and the problem of 3D effect the invention provides a kind of 3D view method of adjustment and device, in order to solve the problems of the technologies described above.
According to an aspect of the present invention, the invention provides a kind of 3D view method of adjustment, wherein, the method comprises: the shortcut of distinguishing prerun is 2D shortcut or 3D shortcut; If the 2D shortcut makes up the 3D view corresponding with this 2D shortcut; After receiving operation message, move the application program of above-mentioned 2D shortcut, and adjusted the 3D view of above-mentioned 2D shortcut according to above-mentioned operation message by the 3D desktop system; If the 3D shortcut, receive operation message after, move the application program of above-mentioned 3D shortcut, and adjusted the 3D view of above-mentioned 3D shortcut according to above-mentioned operation message by the 3D shortcut.
Whether the speech data of further, monitoring above-mentioned transmitting terminal transmission satisfies above-mentioned pre-conditioned can comprising: extract the characteristic parameter in the above-mentioned speech data, it is above-mentioned pre-conditioned to determine according to above-mentioned characteristic parameter whether above-mentioned speech data satisfies; And/or, monitor whether comprise default vocabulary in the above-mentioned speech data; Wherein, above-mentioned default vocabulary is above-mentioned transmitting terminal when being in improper emotional state, the indecency vocabulary in the speech data of transmission.
Further, determine according to above-mentioned characteristic parameter whether above-mentioned speech data satisfies above-mentioned pre-conditioned can comprising: above-mentioned characteristic parameter and First Characteristic parameter and/or Second Characteristic parameter are compared; Wherein, above-mentioned First Characteristic parameter is above-mentioned transmitting terminal when being in improper emotional state, the characteristic parameter of the speech data of transmission, and above-mentioned Second Characteristic parameter is above-mentioned transmitting terminal when being in normal emotional state, the characteristic parameter of the speech data of transmission; It is above-mentioned pre-conditioned to determine according to comparing result whether above-mentioned speech data satisfies.
Further, monitor whether comprise in the above-mentioned speech data that above-mentioned default vocabulary can comprise: extract the vocabulary in the above-mentioned speech data; The above-mentioned vocabulary and the above-mentioned default vocabulary that propose are compared; Determine whether comprise above-mentioned default vocabulary in the above-mentioned speech data according to comparing result.
Further, the speech data that the monitoring transmitting terminal sends whether satisfy pre-conditioned after, said method can also comprise: satisfy above-mentionedly when pre-conditioned monitoring above-mentioned speech data, send cue to above-mentioned transmitting terminal.
Further, can comprise above-mentioned speech data adjustment: the above-mentioned characteristic parameter in the above-mentioned speech data is adjusted; And/or, search for polite vocabulary corresponding to above-mentioned default vocabulary, replace above-mentioned default vocabulary according to above-mentioned polite vocabulary.
Further, above-mentioned characteristic parameter can comprise following one of at least: base frequency parameters, speech energy, statement duration.
According to a further aspect in the invention, the present invention also provides a kind of 3D view adjusting gear, and wherein, this device comprises: discriminating module, and the shortcut that is used for the differentiation prerun is 2D shortcut or 3D shortcut; View makes up module, and the differentiation result who is used in above-mentioned discriminating module is in the situation of above-mentioned 2D shortcut, makes up the 3D view corresponding with above-mentioned 2D shortcut; The operation module after receiving operation message, is moved the application program of above-mentioned 2D shortcut; The first adjusting module is for the above-mentioned 3D view of being adjusted above-mentioned 2D shortcut according to above-mentioned operation message by the 3D desktop system; The second adjusting module, the differentiation result who is used in above-mentioned discriminating module is in the situation of above-mentioned 3D shortcut, receive operation message after, move the application program of above-mentioned 3D shortcut; And adjusted the 3D view of above-mentioned 3D shortcut by the 3D shortcut according to above-mentioned operation message.
Further, above-mentioned monitoring modular can comprise: the first monitoring means, and for the characteristic parameter that extracts above-mentioned speech data, it is above-mentioned pre-conditioned to determine according to above-mentioned characteristic parameter whether above-mentioned speech data satisfies; And/or the second monitoring means is used for monitoring above-mentioned speech data and whether comprises default vocabulary; Wherein, above-mentioned default vocabulary is above-mentioned transmitting terminal when being in improper emotional state, the indecency vocabulary in the speech data of transmission.
Further, above-mentioned adjusting module can comprise: adjustment unit is used for the characteristic parameter of above-mentioned speech data is adjusted; And/or replacement unit is used for searching for polite vocabulary corresponding to above-mentioned default vocabulary, replaces above-mentioned default vocabulary according to above-mentioned polite vocabulary.
By the present invention, make up the 3D view corresponding with the 2D shortcut, after receiving operation message, carry out relevant application program for the 2D shortcut with the 3D shortcut, and adjust the 3D view of 2D shortcut according to above-mentioned operation message, and the 3D view of adjusting the 3D shortcut, solved the problem that third party 2D shortcut in the correlation technique can't show 3D effect, so that third-party 2D shortcut also can be showed the 3D visual effect, thereby unified the 3D visual effect of desktop, improved user's impression.
Description of drawings
Fig. 1 is the process flow diagram according to the 3D view method of adjustment of the embodiment of the invention;
Fig. 2 is the basic structure synoptic diagram according to the 3D desktop of the embodiment of the invention;
Fig. 3 is the visioning procedure figure according to the 3D view template of the embodiment of the invention;
Fig. 4 is the structure process flow diagram according to the 3D view of the embodiment of the invention;
Fig. 5 adjusts process flow diagram according to the 3D view in the reciprocal process of the embodiment of the invention;
Fig. 6 is the unified responding process figure for the shortcut of special efficacy operation according to the embodiment of the invention;
Fig. 7 is the structured flowchart according to the 3D view adjusting gear of the embodiment of the invention;
Fig. 8 is the concrete structure block diagram according to the 3D view adjusting gear of the embodiment of the invention.
Embodiment
Can't show the problem of 3D effect in order to solve third party 2D shortcut in the correlation technique, the invention provides a kind of 3D view method of adjustment and device, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, does not limit the present invention.
For so that 2D shortcut and 3D shortcut can both demonstrate 3D effect at the 3D desktop, present embodiment provides a kind of 3D view method of adjustment, Fig. 1 is the process flow diagram according to the 3D view method of adjustment of the embodiment of the invention, as shown in Figure 1, the method may further comprise the steps (step S102-step S106):
Step S102, the shortcut of distinguishing prerun is 2D shortcut or 3D shortcut; If the 2D shortcut, execution in step S104 then is if 3D shortcut, then execution in step S106.
Step S104 is if the 2D shortcut makes up the 3D view corresponding with this 2D shortcut; After receiving operation message, move the application program of above-mentioned 2D shortcut, and adjusted the 3D view of above-mentioned 2D shortcut according to above-mentioned operation message by the 3D desktop system;
Step S106, if the 3D shortcut, receive operation message after, move the application program of above-mentioned 3D shortcut, and adjusted the 3D view of above-mentioned 3D shortcut according to above-mentioned operation message by the 3D shortcut.
Pass through said method, make up the 3D view corresponding with the 2D shortcut, after receiving operation message, carry out relevant application program for the 2D shortcut with the 3D shortcut, and adjust the 3D view of 2D shortcut according to above-mentioned operation message, and the 3D view of adjusting the 3D shortcut, solved the problem that third party 2D shortcut in the correlation technique can't show 3D effect, so that third-party 2D shortcut also can be showed the 3D visual effect, thereby unified the 3D visual effect of desktop, improved user's impression.
Adjust at above-mentioned steps S104 before the 3D view of 2D shortcut, need to set up first this 3D view, so that third-party 2D shortcut has had corresponding 3D view at the 3D desktop, thereby so that the user can enjoy the visual effect directly perceived of 3D, improved user's impression.
For the building process of the 3D view of 2D shortcut, present embodiment provides a kind of preferred implementation, namely makes up the above-mentioned 3D view corresponding with the 2D shortcut and comprises: the 3D view template of establishment 2D shortcut; Make up above-mentioned 3D view according to this 3D view template.By this preferred implementation, improve the 3D view and made up efficient and accuracy, so that the user can enjoy the visual effect directly perceived of 3D, improved user's impression.
For the constructive process of the 3D view template of 2D shortcut, present embodiment provides a kind of preferred implementation, and the 3D view template that creates the 2D shortcut comprises: shape and the length of side of obtaining the 2D shortcut; Create above-mentioned 3D view template according to above-mentioned shape and the above-mentioned length of side.That is to say that the 3D view template of establishment all is the same with the outward appearance of 2D shortcut, shape etc.
Above-mentioned 2D shortcut comprises 2D shortcut icon and/or 2D plug-in unit.Shortcut icon is used for starting and uses, and a kind of desktop plug-in unit that plug-in unit is normally provided by third party's program common are weather forecast, clock, calendar etc.The 2D shortcut icon is different with the shape of 2D plug-in unit, and the 3D view template that therefore creates is also just different, still, no matter adopts which kind of mode, as long as can create the 3D view template identical with the outward appearance of 2D shortcut icon or 2D plug-in unit, shape etc.
After creating the 3D view template, need to draw this 3D view template, be depicted as the 3D view that possesses 3D effect.For 2D shortcut icon and 2D plug-in unit, present embodiment provides different preferred implementations to realize drawing operation.Particularly;
If the 2D shortcut is the 2D shortcut icon, makes up the 3D view according to the 3D view template and comprise: the picture that from the 3D database, obtains the 2D shortcut icon; By the texture mapping interface picture of 2D shortcut icon is plotted to the front of 3D view template, consists of the front of above-mentioned 3D view; Default picture is plotted to the side of 3D view template, consists of the side of above-mentioned 3D view.Wherein, above-mentioned operation of obtaining the picture of 2D shortcut icon from the 3D database is to use to assure reason, is a kind of service that Android provides, and can get access to some information used of installing, and for example the third party is provided by the picture that provides.
If above-mentioned 2D shortcut is the 2D plug-in unit, makes up the 3D view according to the 3D view template and comprise: convert the painting canvas of 2D plug-in unit to picture; This picture is plotted to the front of above-mentioned 3D view template, consists of the front of above-mentioned 3D view; Default picture is plotted to the side of above-mentioned 3D view template, consists of the side of above-mentioned 3D view.Wherein, above-mentioned painting canvas namely is to draw buffer zone, usually the 2D plug-in unit is to be plotted in liquid crystal display (Liquid Crystal Display, referred to as LCD) buffer zone in, the embodiment of the invention has created a drafting buffer zone (being above-mentioned painting canvas) and has substituted the LCD buffer zone, then utilizes the picture that this drafting buffer zone generates to be needed.This drafting buffer stores has the parameters such as pixel, can generate the picture of needs according to the parameter in the drafting buffer zone.
By above-mentioned two kinds of preferred implementations, successfully realize the drafting operation of 3D view, so that the 2D shortcut possesses the 3D visual effect at the 3D desktop, improved user's impression.Certainly, the drafting of 3D view operation is not limited only to this, and concrete operations can be determined according to actual conditions, as long as can finish the successful drafting of 3D view.
After successfully making up the 3D view, the 2D shortcut has just realized the 3D visual effect on the 3D desktop, for the creation operation of the 3D view of 3D shortcut, can use himself program according to actual conditions and realize, introduces no longer in detail at this.
In above-mentioned steps S104, receive operation message after, the application program of operation 2D shortcut, and adjust the 3D view of 2D shortcut according to this operation message.Above-mentioned operation message is used to indicate the position of adjusting above-mentioned 2D shortcut and/or 3D shortcut, when using the 2D shortcut, remains and adopts the application program of 2D shortcut to finish operation.If but need operation to drag the special efficacys such as 2D shortcut, need to adjust the 3D view of 2D shortcut.
Based on this, present embodiment provides a kind of preferred implementation, and the 3D view of namely adjusting the 2D shortcut according to operation message comprises: the deflection angle of monitoring terminal equipment, and/or the controlled angle in the position of 2D shortcut, distance; According to above-mentioned deflection angle, and/or above-mentioned controlled angle and distance, the front of the 3D view of adjustment 2D shortcut and/or the picture of side.By above-mentioned preferred implementation, so that move the 2D shortcut the user, perhaps the 2D shortcut is dragged, perhaps in the situation such as terminal device deflection, the 2D shortcut can guarantee the 3D visual effect all the time.
3D desktop for present embodiment is mentioned can be introduced with the mode of Root View.Fig. 2 is the basic structure synoptic diagram according to the 3D desktop of the embodiment of the invention, and as shown in Figure 2, the 3D desktop has individual Root View, is used for creating whole 3D desktop and monitors the various message of Android definition.The below is divided into 2D view and 3D view, and the 2D view is the 2D shortcut of carrying third party's exploitation here, and the 3D view is to carry all 3D shortcuts, comprises to carry the object of 2D plug-in unit and shortcut icon, and the 3D plug-in unit of independent development; The related 3D world of 3D view, all 3D objects all need to be created in the 3D world, and the element in the 3D world mainly is divided into two classes: plug-in unit and shortcut icon.
The below is to the process of the 3D view template that creates each shortcut, the process of namely each shortcut of default setting or user's setting being added in the 3D desktop is introduced, Fig. 3 is the visioning procedure figure according to the 3D view template of the shortcut of the embodiment of the invention, as shown in Figure 3, this flow process may further comprise the steps (step S302-step S316):
Step S302 reads topology file.This topology file is used for setting the shortcut that the 3D desktop should comprise under the default situations, shortcut icon for example, plug-in unit etc.
The 3D desktop has the topology file of acquiescence, and the 3D desktop can read topology file when startup is initialized, create each corresponding part.Certainly, the user can oneself revise the layout on the 3D desktop, and these amended information all can be stored in the database of 3D desktop.The 3D desktop is the layout information of obtaining each screen from database when restarting.Being to read layout information from the original layout file when namely starting first, is to read from database when again starting.The above-mentioned two kinds of situations of correspondence that start first, a kind of situation is that the user installs the 3D desktop first, the second situation is all data of user's clearance by hand 3D desktop and again starts.
Step S304, the type of differentiation shortcut.If the 3D shortcut, execution in step S306 then is if 2D shortcut, then execution in step S308.
When loading topology file, need to distinguish different shortcuts, mainly be that 2D shortcut and 3D shortcut are distinguished.This differentiation operation can be distinguished by " bag name " in the Android system, above-mentioned " bag name " is for the unique identification of different application in the Android system, and because the 3D shortcut all is to install with the form of independent application, rather than be embedded in the 3D desktop, so distinguish and to satisfy condition fully with " bag name ".Then as the 3D shortcut, other shortcut is then as the 2D shortcut according to the shortcut of 3D Development of Framework.
Step S306, the 3D view template of establishment 3D shortcut.This 3D view template all is to be generated by self application program, then gets access to the object of the object that creates separately by the interface of unified definition, then is loaded into the 3D desktop and shows.Then execution in step S316.
Step S308 judges that the 2D shortcut is 2D shortcut icon or 2D plug-in unit.If the 2D shortcut icon, execution in step S310 then is if 2D plug-in unit, then execution in step S312.
Comprise shortcut icon and plug-in unit for the 2D shortcut.Shortcut icon is used for starting and uses, and a kind of desktop plug-in unit that plug-in unit is normally provided by third party's program common are weather forecast, clock, calendar etc.Because the function that shortcut icon and plug-in unit are realized has very large difference, in the 3D desktop, defined two kinds of diverse classifications and distinguished, so as long as judge that the shortcut that will load is the example of which kind of classification, just can accomplish to distinguish accurately.
Step S310 creates the 3D view template of carrying 2D plug-in unit, and is loaded in the Root View.Then execution in step S314.
The prototype of the 3D view template of 2D plug-in unit is cube generally speaking, because the size of plug-in unit is not identical, normally m takes advantage of n, m here, and n is the length and width of indication plug unit respectively.M, the value of n is to be stored in the database of 3D desktop equally.By obtaining the length and width of plug-in unit, create corresponding 3D view template, this 3D view template is cube normally, and this cube is transparent.X, y axle are set according to the value that reads, and the length of z axle is set according to unified rule.
Step S312 creates the 3D view template of carrying 2D shortcut icon, and is loaded in the Root View.
Generally speaking, the 2D shortcut icon all is that n takes advantage of n, and the unified establishment length of side is the 3D view template of the square shape of 1 length.
Step S314 after the 3D view template creates successfully, adds in the 3D desktop by unified interpolation interface.
Step S316, the visioning procedure of 3D view template finishes.
After the 3D view template that has successfully created 2D shortcut and 3D shortcut, need to draw this 3D view template, make up the 3D view.The below is introduced the building process of 3D view, and Fig. 4 is the structure process flow diagram according to the 3D view of the embodiment of the invention, and as shown in Figure 4, this flow process may further comprise the steps (step S402-step S414):
When step S402, Root View received the message of drafting, all shortcuts in the 3D world in form all needed to draw.
Step S404, the type of differentiation shortcut.If the 3D shortcut, execution in step S406 then is if 2D shortcut, then execution in step S408.Concrete differentiation process is the same with step S304 in above-described embodiment, does not repeat them here.
Step S406 sends and draws message to the 3D shortcut, notifies it to draw operation.This operating process can be processed by the application of 3D shortcut self, introduces no longer in detail at this.Then execution in step S414.
Step S408 judges that the 2D shortcut is 2D shortcut icon or 2D plug-in unit.If the 2D shortcut icon, execution in step S410 then is if 2D plug-in unit, then execution in step S412.
Step S410 makes up 3D view corresponding to 2D shortcut icon.Particularly:
Directly obtain the picture with the 2D shortcut icon from the database of 3D desktop, this picture is when the initialization of 3D desktop, gets access to the reason and is stored in the database from assuring of Android, and the bag name that also has of storage this moment waits the distinctive information of using.Use the texture mapping interface that this picture is attached to the front of 3D view template, unified default picture is sticked in the side.Herein also can be by obtaining the pixel value at pinup picture edge, the side uses same pixel to carry out pinup picture, thereby makes up the 3D view.And so that the 3D view seems more naturally directly perceived.Then execution in step S414.
Step S412 makes up 3D view corresponding to 2D plug-in unit.Particularly:
When drawing, use the painting canvas of drawing buffer zone own newly-built painting canvas to replace, namely allow the 2D View Drawing in newly-built painting canvas, re-use interface painting canvas is changed into picture.Because the replacement of painting canvas, be the equal of to have carried out drawing action on the backstage, the picture that generates after drawing is preserved, after 3D view template establishment corresponding to 2D plug-in unit finished, call texture and draw the front that interface is attached to above-mentioned picture the 3D view template, the pinup picture of side is with reference to the process of step S410, thus structure 3D view.And so that the 3D view seems more naturally directly perceived.
Step S414, the structure flow process of 3D view finishes.
After the 3D view that makes up 2D shortcut and 3D shortcut, the 2D shortcut has realized the 3D visual effect at the 3D desktop.With user interaction process in, need to adjust replacement to the 3D view according to interactive operation, all show at any time the 3D visual effect to guarantee the 2D shortcut.Fig. 5 adjusts process flow diagram according to the 3D view in the reciprocal process of the embodiment of the invention, and as shown in Figure 5, this flow process may further comprise the steps (step S502-step S512):
Step S502, when the user operated the shortcut of 3D desktop, the Android system was forwarded to Root View to message by the message forwarding mechanism of View, and down was forwarded to from level to level on the need view to be processed.
Step S504, the type of differentiation shortcut.If the 3D shortcut, execution in step S506 then is if 2D shortcut, then execution in step S508.
Step S506, the response of 3D shortcut can be by self routine processes.Because the object of 3D shortcut forms more complicated, usually is by tens, or even tens objects compositions, event need to be judged by coordinate range by the superiors' object, again is forwarded on the concrete wisp, responds specific event by wisp.Concrete response mode is determined by the demand of 3D shortcut, introduces no longer in detail at this.Then execution in step S512.
Step S508, because the 2D shortcut is loaded in the Root View, although the display part is replaced, the response of message still can normal process, namely by the application response user's of original 2D shortcut operation, refreshes the new picture of rear generation.
Step S510 comes the response of synchronous 2D shortcut by the pinup picture that does not stop to replace 3D view front, thereby realizes guaranteeing the 3D visual effect in the reciprocal process with the user.
Step S512, this flow process finishes.
In the practical application of 3D desktop, the user also can guarantee the 3D visual effect of each shortcut on the 3D desktop when carrying out some special efficacy operations.The special efficacy operation of usually processing now is gravity sensing, and object is stirred etc.Certainly, follow-uply can also increase according to demand the operation of more special efficacy.Fig. 6 is the unified responding process figure for the shortcut of special efficacy operation according to the embodiment of the invention, and as shown in Figure 6, this flow process may further comprise the steps (step S602-step S616):
Step S602 registers the message of each special efficacy operation and monitors when the initialization of 3D desktop.For example, the monitoring of gravity sensor, and when creating each shortcut, need to register the monitoring that touches message, and add the corresponding function of processing.
Step S604 distinguishes the type of message that special efficacy operates.If gravity sensing, execution in step S606 then, if stir response, execution in step S608 then.
Present embodiment only comprises gravity sensing and stirs response take special efficacy operation and describes as example.The difference of follow-up type of message according to special efficacy operation can start corresponding processing function.
Step S606, after receiving the message that mobile phone rotates, according to the rotational angle that gravity sensor imports into, progressively adjust interior all shortcuts of 3D desktop window along the deflection angle of Z axis, realize the rotation of 3D view, this moment, the side of 3D view will clearly show.Then execution in step S616.
Step S608 is by the slip of monitoring users finger on screen, the call back function of registration before calling.
Step S610 judges whether 2D view corresponding to 2D shortcut responds the event of stirring.Particularly, can judge by the corresponding rreturn value of event.If the 2D view responds this event, the view system of Android is true in the corresponding rreturn value of event, execution in step S612 then, otherwise, execution in step S614.
Step S612, this process is identical with the process that Fig. 5 describes, and namely by adjusting the 3D visual effect of replacing 3D view realization 2D shortcut, does not repeat them here.Then execution in step S616.
Step S614 rotates corresponding 3D view according to the direction that user's finger is stirred, and realizes the user to the observation of other each faces of shortcut, and when user's finger lifted, the 3D view need to go back to original position automatically, and namely the front is shown to the user.
Step S616, this flow process finishes.
Corresponding to the 3D view method of adjustment that above-described embodiment is introduced, present embodiment provides a kind of 3D view adjusting gear, in order to realize above-described embodiment.Fig. 7 is that as shown in Figure 7, this device comprises according to the structured flowchart of the 3D view adjusting gear of the embodiment of the invention: discriminating module 10, view make up module 20, operation module 30, the first adjusting module 40 and the second adjusting module 50.The below describes in detail to this structure.
Discriminating module 10, the shortcut that is used for the differentiation prerun is 2D shortcut or 3D shortcut;
View makes up module 20, is connected to discriminating module 10, and the differentiation result who is used in above-mentioned discriminating module 10 is in the situation of above-mentioned 2D shortcut, makes up the 3D view corresponding with above-mentioned 2D shortcut;
Operation module 30 is connected to view and makes up module 20, after receiving operation message, moves the application program of above-mentioned 2D shortcut;
The first adjusting module 40 is connected to operation module 30, is used for adjusting according to above-mentioned operation message the above-mentioned 3D view of above-mentioned 2D shortcut;
The second adjusting module 50, discriminating module 10, being connected to for the differentiation result in above-mentioned discriminating module 10 is in the situation of above-mentioned 3D shortcut, receive operation message after, move the application program of above-mentioned 3D shortcut; And adjust the 3D view of above-mentioned 3D shortcut according to above-mentioned operation message.
Pass through said apparatus, after receiving operation message, carry out relevant application program for the 2D shortcut with the 3D shortcut, and adjust the 3D view of 2D shortcut according to above-mentioned operation message, and the 3D view of adjusting the 3D shortcut, solved the problem that the third party 2D shortcut in the correlation technique can't show 3D effect, so that third-party 2D shortcut also can be showed the 3D visual effect, thereby unified the 3D visual effect of desktop, improved user's impression.
In the present embodiment, view makes up module 20 and can be arranged on before the discriminating module 10, also can be arranged on after the discriminating module 10, and present embodiment describes to be connected to after the discriminating module 10 as example.
For the building process of the 3D view of 2D shortcut, present embodiment provides a kind of preferred structure, and namely above-mentioned view makes up module 60 and comprises: the template establishment unit is used for creating the 3D view template of 2D shortcut; The view construction unit is used for making up above-mentioned 3D view according to the above-mentioned 3D view template that above-mentioned template establishment unit creates.By this preferred structure, improve the 3D view and made up efficient and accuracy, so that the user can enjoy the visual effect directly perceived of 3D, improved user's impression.
For the constructive process of the 3D view template of 2D shortcut, present embodiment provides a kind of preferred structure, and namely above-mentioned template establishment unit comprises: obtain subelement, be used for obtaining shape and the length of side of above-mentioned 2D shortcut; Create subelement, be used for obtaining above-mentioned shape and the above-mentioned length of side that subelement obtains and creating above-mentioned 3D view template according to above-mentioned.That is to say that the 3D view template of establishment all is the same with the outward appearance of 2D shortcut, shape etc.
Above-mentioned 2D shortcut comprises 2D shortcut icon and/or 2D plug-in unit.The 2D shortcut icon is different with the shape of 2D plug-in unit, and the 3D view template that therefore creates is also just different, still, no matter adopts which kind of mode, as long as can create the 3D view template identical with the outward appearance of 2D shortcut icon or 2D plug-in unit, shape etc.
After creating the 3D view template, need to draw this 3D view template, be depicted as the 3D view that possesses 3D effect.For 2D shortcut icon and 2D plug-in unit, present embodiment provides different preferred implementations to realize drawing operation.Particularly;
If the 2D shortcut is the 2D shortcut icon, makes up the 3D view according to the 3D view template and comprise: the picture that from the 3D database, obtains the 2D shortcut icon; By the texture mapping interface picture of 2D shortcut icon is plotted to the front of 3D view template, consists of the front of above-mentioned 3D view; Default picture is plotted to the side of 3D view template, consists of the side of above-mentioned 3D view.
If above-mentioned 2D shortcut is the 2D plug-in unit, makes up the 3D view according to the 3D view template and comprise: convert the painting canvas of 2D plug-in unit to picture; This picture is plotted to the front of above-mentioned 3D view template, consists of the front of above-mentioned 3D view; Default picture is plotted to the side of above-mentioned 3D view template, consists of the side of above-mentioned 3D view.
After the first operation module 20 receives operation message, the application program of operation 2D shortcut.Above-mentioned operation message is used to indicate the position of adjusting above-mentioned 2D shortcut and/or 3D shortcut, when using the 2D shortcut, remains and adopts the application program of 2D shortcut to finish operation.If but need operation to drag the special efficacys such as 2D shortcut, need to adjust the 3D view of 2D shortcut.
Based on this, present embodiment provides a kind of preferred structure, the concrete structure block diagram of 3D view adjusting gear as shown in Figure 8, this device are except comprising above-mentioned modules shown in Figure 7, and above-mentioned the first adjusting module 30 also comprises: monitoring means 32 and adjustment unit 34.The below describes in detail to this structure.
Monitoring means 32 is used for the deflection angle of monitoring terminal equipment, and/or the controlled angle in the position of above-mentioned 2D shortcut, distance;
Adjustment unit 34 is connected to monitoring means 32, is used for the above-mentioned deflection angle according to above-mentioned monitoring means 32 monitorings, and/or above-mentioned controlled angle and distance, adjusts the front of the above-mentioned 3D view of replacing above-mentioned 2D shortcut and/or the picture of side.
By above-mentioned preferred structure, so that move the 2D shortcut the user, perhaps the 2D shortcut is dragged, perhaps in the situation such as terminal device deflection, the 2D shortcut can guarantee the 3D visual effect all the time.
As can be seen from the above description, the embodiment of the invention has realized that the perfection of the 3D visual effect of 2D shortcut presents, realized the 2D shortcut the 3D desktop all operations, realized the unification of looking effect, operation, characteristic etc. of 3D desktop.For the unification of all drawing and operation, the user need not be concerned about that also which shortcut is which shortcut of 3D is 2D again, and all experience all is in the 3D world, and application that can perfect integrating third-party exploitation has improved user's impression.
Although be the example purpose, the preferred embodiments of the present invention are disclosed, it also is possible those skilled in the art will recognize various improvement, increase and replacement, therefore, scope of the present invention should be not limited to above-described embodiment.

Claims (10)

1. a 3D view method of adjustment is characterized in that, said method comprising the steps of:
The shortcut of distinguishing prerun is two-dimentional 2D shortcut or three-dimensional 3D shortcut;
If described 2D shortcut makes up the 3D view corresponding with described 2D shortcut; After receiving operation message, move the application program of described 2D shortcut, and adjusted the described 3D view of described 2D shortcut according to described operation message by the 3D desktop system;
If described 3D shortcut, receive operation message after, move the application program of described 3D shortcut, and adjusted the 3D view of described 3D shortcut according to described operation message by described 3D shortcut.
2. the method for claim 1 is characterized in that, makes up the described 3D view corresponding with described 2D shortcut and comprises:
Create the 3D view template of described 2D shortcut;
Make up described 3D view according to described view template.
3. method as claimed in claim 2 is characterized in that, the described 3D view template that creates described 2D shortcut comprises:
Obtain shape and the length of side of described 2D shortcut;
Create described 3D view template according to described shape and the described length of side.
4. method as claimed in claim 3 is characterized in that, described 2D shortcut comprises 2D shortcut icon or 2D plug-in unit;
If described 2D shortcut is described 2D shortcut icon, makes up described 3D view according to described 3D view template and comprise:
From database, obtain the picture of described 2D shortcut icon; By the texture mapping interface picture of described 2D shortcut icon is plotted to the front of described 3D view template, consists of the front of described 3D view; Default picture is plotted to the side of described 3D view template, consists of the side of described 3D view;
If described 2D shortcut is the 2D plug-in unit, makes up described 3D view according to described 3D view template and comprise:
Convert the painting canvas of described 2D plug-in unit to picture; Described picture is plotted to the front of described 3D view template, consists of the front of described 3D view; Default picture is plotted to the side of described 3D view template, consists of the side of described 3D view.
5. the method for claim 1 is characterized in that, described operation message is used to indicate the position of adjusting described 2D shortcut and/or 3D shortcut, and the 3D view of adjusting described 2D shortcut by described 3D desktop system according to described operation message comprises:
The deflection angle of monitoring terminal equipment, and/or the controlled angle in the position of described 2D shortcut, distance;
According to described deflection angle, and/or described controlled angle and distance, adjusted the front of described 3D view of described 2D shortcut and/or the picture of side by described 3D desktop system.
6. a 3D view adjusting gear is characterized in that, comprising:
Discriminating module, the shortcut that is used for the differentiation prerun is two-dimentional 2D shortcut or three-dimensional 3D shortcut;
View makes up module, and the differentiation result who is used in described discriminating module is in the situation of described 2D shortcut, makes up the 3D view corresponding with described 2D shortcut;
The operation module after receiving operation message, is moved the application program of described 2D shortcut;
The first adjusting module is for the described 3D view of being adjusted described 2D shortcut according to described operation message by the 3D desktop system;
The second adjusting module, the differentiation result who is used in described discriminating module is in the situation of described 3D shortcut, receive operation message after, move the application program of described 3D shortcut; And adjusted the 3D view of described 3D shortcut by described 3D shortcut according to described operation message.
7. device as claimed in claim 6 is characterized in that, described view makes up module and comprises:
The template establishment unit is for the 3D view template that creates described 2D shortcut;
The view construction unit is used for making up described 3D view according to the described 3D view template that described template establishment unit creates.
8. device as claimed in claim 7 is characterized in that, described template establishment unit comprises:
Obtain subelement, be used for obtaining shape and the length of side of described 2D shortcut;
Create subelement, be used for obtaining described shape and the described length of side that subelement obtains according to described, create described 3D view template.
9. device as claimed in claim 8 is characterized in that, described operation message is used to indicate the position of adjusting described 2D shortcut and/or 3D shortcut, and described the first adjusting module comprises:
Monitoring means is used for the deflection angle of monitoring terminal equipment, and/or the controlled angle in the position of described 2D shortcut, distance;
Adjustment unit is used for the described deflection angle according to described monitoring means monitoring, and/or described controlled angle and distance, adjusts the front of the described 3D view of replacing described 2D shortcut and/or the picture of side.
10. such as each described device in the claim 6 to 9, it is characterized in that described 2D shortcut comprises 2D shortcut icon and/or 2D plug-in unit.
CN201210556618.7A 2012-12-20 2012-12-20 A kind of 3D view method of adjustment and device Active CN103064672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210556618.7A CN103064672B (en) 2012-12-20 2012-12-20 A kind of 3D view method of adjustment and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210556618.7A CN103064672B (en) 2012-12-20 2012-12-20 A kind of 3D view method of adjustment and device

Publications (2)

Publication Number Publication Date
CN103064672A true CN103064672A (en) 2013-04-24
CN103064672B CN103064672B (en) 2016-04-13

Family

ID=48107310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210556618.7A Active CN103064672B (en) 2012-12-20 2012-12-20 A kind of 3D view method of adjustment and device

Country Status (1)

Country Link
CN (1) CN103064672B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361622A (en) * 2014-10-31 2015-02-18 福建星网视易信息系统有限公司 Interface drawing method and device
CN106030523A (en) * 2015-09-21 2016-10-12 上海欧拉网络技术有限公司 Method and device of realizing 3D dynamic effect interaction on handset launcher
CN106231281A (en) * 2015-12-31 2016-12-14 深圳超多维光电子有限公司 A kind of display converting method and device
CN109766039A (en) * 2018-12-29 2019-05-17 努比亚技术有限公司 A kind of information display method of mobile terminal, mobile terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08161530A (en) * 1994-12-09 1996-06-21 Olympus Optical Co Ltd Icon preparing method and frame preparing method for dynamic image
CN101655989A (en) * 2008-08-20 2010-02-24 深圳市金立通信设备有限公司 3D special-efficacy graphic user interface system and method of mobile phone
US20100100853A1 (en) * 2008-10-20 2010-04-22 Jean-Pierre Ciudad Motion controlled user interface
CN101872285A (en) * 2010-06-13 2010-10-27 中兴通讯股份有限公司 Method and device for realizing desktop system
US20110126161A1 (en) * 2009-11-25 2011-05-26 International Business Machines Corporation Positional effects in a three-dimensional desktop environment
CN102147926A (en) * 2011-01-17 2011-08-10 中兴通讯股份有限公司 Three-dimensional (3D) icon processing method and device and mobile terminal
US8266550B1 (en) * 2008-05-28 2012-09-11 Google Inc. Parallax panning of mobile device desktop

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08161530A (en) * 1994-12-09 1996-06-21 Olympus Optical Co Ltd Icon preparing method and frame preparing method for dynamic image
US8266550B1 (en) * 2008-05-28 2012-09-11 Google Inc. Parallax panning of mobile device desktop
CN101655989A (en) * 2008-08-20 2010-02-24 深圳市金立通信设备有限公司 3D special-efficacy graphic user interface system and method of mobile phone
US20100100853A1 (en) * 2008-10-20 2010-04-22 Jean-Pierre Ciudad Motion controlled user interface
US20110126161A1 (en) * 2009-11-25 2011-05-26 International Business Machines Corporation Positional effects in a three-dimensional desktop environment
CN101872285A (en) * 2010-06-13 2010-10-27 中兴通讯股份有限公司 Method and device for realizing desktop system
CN102147926A (en) * 2011-01-17 2011-08-10 中兴通讯股份有限公司 Three-dimensional (3D) icon processing method and device and mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361622A (en) * 2014-10-31 2015-02-18 福建星网视易信息系统有限公司 Interface drawing method and device
CN104361622B (en) * 2014-10-31 2018-06-19 福建星网视易信息系统有限公司 A kind of interface method for drafting and device
CN106030523A (en) * 2015-09-21 2016-10-12 上海欧拉网络技术有限公司 Method and device of realizing 3D dynamic effect interaction on handset launcher
CN106030523B (en) * 2015-09-21 2019-03-29 上海欧拉网络技术有限公司 A kind of method and device for realizing the dynamic effect interaction of 3D on mobile phone desktop
CN106231281A (en) * 2015-12-31 2016-12-14 深圳超多维光电子有限公司 A kind of display converting method and device
CN106231281B (en) * 2015-12-31 2017-11-17 深圳超多维光电子有限公司 A kind of display converting method and device
CN109766039A (en) * 2018-12-29 2019-05-17 努比亚技术有限公司 A kind of information display method of mobile terminal, mobile terminal and storage medium
CN109766039B (en) * 2018-12-29 2021-06-25 努比亚技术有限公司 Information display method of mobile terminal, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN103064672B (en) 2016-04-13

Similar Documents

Publication Publication Date Title
US10909768B2 (en) Virtual item simulation using detected surfaces
CN100353293C (en) Image information displaying device
US11231845B2 (en) Display adaptation method and apparatus for application, and storage medium
WO2021003499A1 (en) Textured mesh building
US20230116929A1 (en) Mirror-based augmented reality experience
US20170372449A1 (en) Smart capturing of whiteboard contents for remote conferencing
CN112870707B (en) Virtual object display method in virtual scene, computer device and storage medium
WO2016173427A1 (en) Method, device and computer readable medium for creating motion blur effect
CN111701238A (en) Virtual picture volume display method, device, equipment and storage medium
CN104471517A (en) Display input device
CN110928464B (en) User interface display method, device, equipment and medium
CN110321126B (en) Method and device for generating page code
CN104751515A (en) Real estate building exhibition method
CN103064672B (en) A kind of 3D view method of adjustment and device
CN102147926A (en) Three-dimensional (3D) icon processing method and device and mobile terminal
CN111796826B (en) Bullet screen drawing method, device, equipment and storage medium
KR20150079387A (en) Illuminating a Virtual Environment With Camera Light Data
CN114119829A (en) Material processing method and device of virtual scene, electronic equipment and storage medium
CN112163062B (en) Data processing method and device, computer equipment and storage medium
CN113487662A (en) Picture display method and device, electronic equipment and storage medium
CN103927769A (en) Lock screen interface display method and device
CN104580967B (en) A kind of map projection's method based on portable projector and the device for projection
CN109064537A (en) Image generating method and device based on 3D rendering engine
CN111445439B (en) Image analysis method, device, electronic equipment and medium
CA2827425C (en) Method and device for generating a presentation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant