CN105045569A - Method and device for controlling movement in scene - Google Patents

Method and device for controlling movement in scene Download PDF

Info

Publication number
CN105045569A
CN105045569A CN201510250638.5A CN201510250638A CN105045569A CN 105045569 A CN105045569 A CN 105045569A CN 201510250638 A CN201510250638 A CN 201510250638A CN 105045569 A CN105045569 A CN 105045569A
Authority
CN
China
Prior art keywords
picture
viewing area
content viewing
scene
object picture
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.)
Pending
Application number
CN201510250638.5A
Other languages
Chinese (zh)
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 Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co 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 Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201510250638.5A priority Critical patent/CN105045569A/en
Publication of CN105045569A publication Critical patent/CN105045569A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a movement control method in a scene, which comprises the following steps: monitoring a movement operation triggered in a scene displayed in a content visual area to obtain a corresponding movement direction and a movement distance, wherein the scene is the content displayed in the content visual area by pictures loaded in a first picture object and a second picture object which are connected with each other; obtaining the relative positions of the first picture object and the second picture object in the content visible area according to the moving direction and the moving distance; and refreshing the scene according to the relative positions of the first picture object and the second picture object in the content visible area. In addition, a mobile control device in a scene matched with the method is also provided. The movement control method and the movement control device in the scene can reduce the memory occupied by scene movement.

Description

Control method for movement in scene and device
Technical field
The present invention relates to technical field of internet application, the control method for movement particularly in a kind of scene and device.
Background technology
In recent years, along with the terminal device that user uses is implanted in various application, increasing application is by the screen of terminal device for user provides the scene become increasingly abundant, and the scenario triggered various operation of user by providing, to meet its various demand.
But, scene abundant in application realizes based on a large amount of picture, that is, a large amount of pictures corresponding to applications fields scape will be sticked together to form the background map in scene, so that whole background map is loaded into loading and the display that internal memory can realize scene, the scene wherein shown is the local content of background map.
For the various movements triggered in scene, inevitably relate to the display of other parts content in background map, therefore, by the content constantly converted along with the movement triggered in scene in the background map of current display, in the scene of application, the realization of movement also exists and takies too much limitation.
Summary of the invention
Based on this, be necessary to provide a kind of can minimizing to carry out scene and move control method for movement in the scene of shared internal memory.
In addition, there is a need to provide a kind of can minimizing to carry out scene and move mobile controller in the scene of shared internal memory.
For solving the problems of the technologies described above, following technical scheme will be adopted:
A control method for movement in scene, comprising:
In the scene of content viewing area display, intercept the mobile operation triggered in described scene, to obtain corresponding moving direction and displacement, described scene is the content that the picture loaded in interconnective first object picture and second picture object shows in described content viewing area;
Described first object picture and the relative position of second picture object in described content viewing area is obtained according to described moving direction and displacement;
Described scene is refreshed at the relative position of described content viewing area according to described first object picture and second picture object.
Correspondingly, describedly described first object picture is obtained according to described moving direction and displacement and second picture object comprises in the step of the relative position of described content viewing area:
With described content viewing area for benchmark, obtain the initial position of described first object picture and second picture object;
According to described moving direction and the displacement initial position to described first object picture and second picture object carry out computing obtain mobile after the first object picture and the relative position of second picture object in described content viewing area.
Correspondingly, the described step refreshing described scene at the relative position of described content viewing area according to described first object picture and second picture object comprises:
The first object picture and second picture object is moved at the relative position of described content viewing area according to described first object picture and second picture object;
Along with the movement of described first object picture and second picture object is moved the picture loaded, the scene shown by described content viewing area with mobile described picture.
Correspondingly, the described step refreshing described scene at the relative position of described content viewing area according to described first object picture and second picture object also comprises:
Head end object picture in described interconnective first object picture and second picture object and tail end object picture is determined according to described moving direction;
Judge whether described head end object picture shifts out described content viewing area, if NO, then return the described movement along with described first object picture and second picture object to move the picture loaded, the step of the scene shown by described content viewing area with mobile described picture.
Correspondingly, the described step refreshing described scene at the relative position of described content viewing area according to described first object picture and second picture object also comprises:
If determine described head end object picture to shift out described content viewing area, then reset in described content viewing area by described head end object picture, the tail end object picture be connected with described head end object picture resets to outside described content viewing area thereupon;
Picture in described tail end object picture is shown in head end object picture, and next picture that described picture is relevant is shown in tail end object picture.
Correspondingly, described picture in described tail end object picture to be shown in head end object picture, and after next picture of being correlated with by described picture is shown in the step in tail end object picture, described method also comprises:
The first object picture and the initial position of second picture object in described content viewing area is upgraded at the relative position of described content viewing area according to described head end object picture and tail end object picture;
Judge whether the picture shown in described head end object picture is the first pictures forming described scene, if yes, then
Figure leaf length according to described scene resets described first object picture and the initial position of second picture object in described content viewing area.
A mobile controller in scene, comprising:
Intercept module, for in the scene that shows in content viewing area, intercept the mobile operation triggered in described scene, to obtain corresponding moving direction and displacement, this scene is the content that the picture loaded in interconnective first object picture and second picture object shows in content viewing area;
Computing module, for obtaining described first object picture and the relative position of second picture object in content viewing area according to described moving direction and displacement;
Refresh module, for refreshing described scene according to described first object picture and second picture object at the relative position of content viewing area.
Correspondingly, described computing module comprises:
Initial position acquiring unit, for described content viewing area for benchmark, obtain the initial position of described first object picture and second picture object;
Relative position arithmetic element, for carry out according to described moving direction and the displacement initial position to described first object picture and second picture object computing obtain mobile after the first object picture and the relative position of second picture object in described content viewing area.
Correspondingly, described refresh module comprises:
Object moving unit, for moving the first object picture and second picture object according to described first object picture and second picture object at the relative position of described content viewing area;
Picture mobile unit, moves the picture loaded for the movement along with described first object picture and second picture object, the scene shown by described content viewing area with mobile described picture.
Correspondingly, described refresh module also comprises:
Head and the tail determining unit, for determining head end object picture in described interconnective first object picture and second picture object and tail end object picture according to described moving direction;
Shifting out judging unit, for judging whether described head end object picture shifts out described content viewing area, if NO, then notifying described picture mobile unit.
Correspondingly, described refresh module also comprises:
Object reset cell, for when determining described head end object picture and shifting out described content viewing area, reset to by described head end object picture in described content viewing area, the tail end object picture be connected with described head end object picture resets to outside described content viewing area thereupon;
Picture reset cell, for being shown in head end object picture by the picture in described tail end object picture, and is shown in next picture that described picture is relevant in tail end object picture.
Correspondingly, described device also comprises:
Initial position update module, for upgrading the first object picture and the initial position of second picture object in described content viewing area according to described head end object picture and tail end object picture at the relative position of described content viewing area;
Picture judge module, for judging whether the picture shown in described head end object picture is the first pictures forming described scene, if yes, then notifies position reset module;
Described position reset module is used for resetting described first object picture and the initial position of second picture object in described content viewing area according to the figure leaf length of described scene.
As shown from the above technical solution, first object picture and second picture object are interconnected, and load corresponding picture respectively, by load picture for content viewing area provide can for display content, to realize the display of scene, on this basis, the mobile operation triggered in this scene will be intercepted, to obtain corresponding moving direction and displacement, the first object picture and the relative position of second picture object in content viewing area is obtained according to moving direction and displacement, according to the first object picture and second picture object, the relative position in content viewing area carries out scene refreshing, only need to be that the first object picture and second picture object Load Image and show the display and conversion that can realize scene, effectively reduce and carry out scene and move shared internal memory, improve response speed, occur to avoid the situation of application crashes.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the control method for movement in an embodiment Scene;
Fig. 2 obtains the first object picture and the second picture object method flow diagram at the relative position of content viewing area according to moving direction and displacement in Fig. 1;
Fig. 3 is that in an embodiment, according to the first object picture and second picture object, the relative position in content viewing area refreshes the method flow diagram of scene;
Fig. 4 is that in another embodiment, according to the first object picture and second picture object, the relative position in content viewing area refreshes the method flow diagram of scene;
Fig. 5 is the process flow diagram of the control method for movement in another embodiment Scene;
Fig. 6 is the schematic diagram forming the picture of scene in an embodiment;
Fig. 7 is the schematic diagram of applications trigger the first object picture, second picture object and content viewing area when running;
Fig. 8 is the schematic diagram of the first object picture when triggering mobile, second picture object and content viewing area;
Fig. 9 is the schematic diagram that the first object picture shifts out content viewing area;
Figure 10 is the schematic diagram of replacement first object picture and second picture object;
Figure 11 is the structural representation of the mobile controller in an embodiment Scene;
Figure 12 is the structural representation of computing module in Figure 11;
Figure 13 is the structural representation of refresh module in an embodiment;
Figure 14 is the structural representation of refresh module in another embodiment;
Figure 15 is the structural representation of the mobile controller in another embodiment Scene.
Embodiment
The exemplary embodiment embodying feature & benefits of the present invention will describe in detail in the following description.Be understood that the present invention can have various changes on different embodiments, it neither departs from the scope of the present invention, and explanation wherein and to be shown in be use when explain in essence, and be not used to limit the present invention.
As previously mentioned, by loading a large amount of picture formation background map in the operational process of application, between the size of the size of this background map and the content viewing area of application, there is larger gap, and with content viewing area for benchmark carries out the display of this background map.Wherein, the local content of this background map is shown in content viewing area, think that user provides the display frame of scene, it is outside that remainder content then extends content viewing area, and via the movement of content viewing area Scene, the background map extending outside, content viewing area is moved in content viewing area to show.
But the loading of a large amount of picture of internal memory and display will take a large amount of internal memories, the excessive collapse also causing application of the amount of ram taken during application runs, but the original idea of application and development should be the situation that no matter all should not occur in which kind of situation collapsing.
Therefore, in order to reduce the internal memory taken, improve the smoothness of applications fields scape movement, spy proposes the control method for movement in a kind of scene.The method can be dependent on computer program, and this computer system can run in the electronic equipments such as smart mobile phone, panel computer, children's panel computer, private tutor's machine.
In one embodiment, concrete, the method as shown in Figure 1, comprising:
Step 110, in the scene of content viewing area display, intercepts the mobile operation triggered in scene, to obtain corresponding moving direction and displacement.
In the present embodiment, this scene is the content that the picture loaded in interconnective first object picture and second picture object shows in content viewing area, that is, two pictures are interconnected, and with the position of content viewing area interconnective two pictures for benchmark is arranged, now in interconnective two pictures, the arbitrary region suitable with content viewing area is the content of display.
In first object picture and second picture object, the size of picture is by suitable with the size of content viewing area.
In a preferred embodiment, if the movement of content viewing area Scene is transverse shifting, the height then Loaded Image in the first object picture and second picture object will be not less than the height of content viewing area, to ensure content viewing area to fill up, the width of picture by identical with the width of content viewing area, to facilitate calculating, accordingly, if the movement of content viewing area Scene is for vertically moving, then the height of picture and width will carry out contrary setting.
Be arranged so that the movement in scene is realized by roll screen, the horizontal roll screen namely in screen or longitudinal roll screen by picture in the first object picture and second picture object, thus improve the simplification of application manipulation.
For to applying the viewing area that the content viewing area that shows can be screen, also can be the window of application institute, can also be for the arbitrary region set by applying.
And the mobile operation triggered in scene can be the drag operation in content viewing area to scenario triggered such as mouse or finger, this moves operation and can put in the background of scene, to realize the movement of background; Also can put on the virtual objects in scene, to realize the movement of virtual objects; But no matter move operation and put on which kind of object of scene, it is all by the movement of background, namely in the first object picture and second picture object, the mobile of picture realizes.
Such as, in game application, scene, except background, also addition of virtual objects in background, i.e. leading role, after leading role being triggered to mobile operation, the movement by background is realized the mobile effect of leading role.
When intercepting the mobile operation obtaining triggering in scene, corresponding moving direction and displacement will be obtained, for ease of calculating, this moving direction and displacement with content viewing area for benchmark.
Step 130, obtains the first object picture and the relative position of second picture object in content viewing area according to moving direction and displacement.
In the present embodiment, for interconnective first object picture and second picture object, computing the current destination locations carrying out movement can be obtained, i.e. the first object picture and the relative position of second picture object in content viewing area according to moving direction and displacement.
Step 150, according to the first object picture and second picture object, the relative position in content viewing area refreshes scene.
In the present embodiment, the relative position in content viewing area according to the first object picture obtained and second picture object, this relative position is the destination locations carrying out movement, therefore, by the movement of the first object picture and second picture object to realize the movement of wherein picture, and then complete the refreshing of scene.
In control method for movement in scene as above, this variable of displacement connects the movement of moving in operation and scene of triggering as intermediate data, movement in the scene realized thus pays close attention to the numerical value corresponding to displacement and direction by only needing, and then the operand simplified in application operational process, contribute to improving response speed.
In application scenarios as above, the refreshing of content viewing area Scene will be carried out according to the frame per second pre-set, such as, refresh 60 p.s., therefore, process as above will be preset according to this frequency refreshed and perform, i.e. all can adjust by the Pictures location first carried out in the first object picture and second picture object before the refreshing of each application scenarios, thus make the position of picture in the first object picture and second picture object continue to change, to form the effect of movement.
Further, in the present embodiment, before above-mentioned steps 110, the method also comprises:
Relative content viewing area arranges interconnective first object picture and second picture object, Loads Image in the first object picture and/or second picture object, to carry out the display of content viewing area Scene.
In the present embodiment, arranged by the position of carrying out the first object picture and second picture object and realize being interconnected of the first object picture and second picture object.Wherein, the position of the first object picture and second picture object all with content viewing area for benchmark.
Such as, content arranges coordinate system in viewing area, the initial point of this coordinate system can be the upper left corner of content viewing area, now, for the first object picture of transverse shifting and second picture object, the horizontal ordinate of the first object picture and second picture object is along with mobile constantly change, and ordinate then remains unchanged.
Further, for ease of calculating, first object picture, size between second picture object and content viewing area three is consistent, and the first object picture and second picture object all will carry out station location marker by its central point, first object picture runs this starting stage in applications trigger and is positioned on content viewing area, that is, in the starting stage, first object picture is L/2 at the horizontal ordinate of starting point, second picture object is L/2+L at the horizontal ordinate of starting point, wherein, L is the first object picture, the width of second picture object and content viewing area.
For being loaded into and the picture shown, its style and content are by roughly the same, and between picture, particularly head end picture and tail end picture, connect each other in terms of content, with the continuity of content in the process ensureing scene movement.
Further, in the present embodiment, as shown in Figure 2, the detailed process of above-mentioned steps 130 is:
Step 131, with content viewing area for benchmark, obtains the initial position of the first object picture and second picture object.
Step 133, according to moving direction and the displacement initial position to the first object picture and second picture object carry out computing obtain mobile after the first object picture and the relative position of second picture object in content viewing area.
In the present embodiment, in the coordinate system in foregoing viewing area, according to moving direction and displacement, computing is carried out to initial position and can obtain mobile rear first object picture and the relative position of second picture object in content viewing area.
Such as, if this moves transverse shifting, then the movement of the first object picture and second picture object will bring the change of horizontal ordinate, if moving direction is the negative direction in coordinate system, then the difference between initial position and displacement is the relative position after moving; If moving direction is the positive dirction of coordinate system, then initial position and displacement sum are the relative position after moving.
In one embodiment, as shown in Figure 3, above-mentioned steps 150 comprises:
Step 151, moves the first object picture and second picture object according to the first object picture and second picture object at the relative position of content viewing area.
In the present embodiment, by the first object picture and second picture object move to the relative position obtained.
Step 153, along with the movement of the first object picture and second picture object is moved the picture loaded, the scene shown by content viewing area with mobile picture.
In the present embodiment, be loaded with picture in first object picture and second picture object, therefore, the movement of the first object picture and second picture object is moved driving the picture loaded, and then the content shown in content viewing area is occurred, to realize the movement of scene.
Further, in the present embodiment, as shown in Figure 4, step 150 as above also comprises:
Step 154, determines the corresponding and tail end object picture of head end picture in interconnective first object picture and second picture object according to moving direction.
In the present embodiment, head end object picture will be any picture object in the first object picture and second picture object, and it will be determined according to moving direction, and tail end object picture is then remaining any picture object.
Such as, if the left side edge of second picture object is connected with the right side edge of the first object picture, be then left direction at moving direction, i.e. when the negative direction of coordinate system, first object picture is head end object picture, and second picture object is tail end object picture.
Step 155, judges whether head end object picture shifts out content viewing area, if NO, then returns step 153, if yes, then enter step 156.
In the present embodiment, will remain that head end object picture is positioned at content viewing area, and the position re-starting head end object picture when head end object picture is moved out of content viewing area is arranged, realize unlimited movement in scene and simplified operation to facilitate.
Concrete, judge whether head end object picture shifts out content viewing area, if NO, then can proceed mobile, if determine head end object picture shifted out content viewing area, then need head end object picture to reset in content viewing area, and tail end object picture is placed in the right side of content viewing area thereupon.
Step 156, resets to head end object picture in content viewing area, and the tail end object picture be connected with head end object picture resets to outside content viewing area thereupon.
Step 157, is shown in the picture in tail end object picture in head end object picture, and is shown in tail end object picture by next picture that this picture is relevant.
In the present embodiment, shifting out of head end object picture, correspondingly makes the picture in head end object picture shift out content viewing area, and the picture now shown in content viewing area will be next picture relative, the picture namely loaded in tail end object picture.
Therefore, next picture will be loaded in tail end object picture, to ensure the content continuity of the picture loaded in itself and head end object picture, and then realize the movement in scene.
In another embodiment, as shown in Figure 5, before above-mentioned steps 157, the method also comprises the steps:
Step 510, upgrades the first object picture and the initial position of second picture object in content viewing area according to head end object picture and tail end object picture at the relative position of content viewing area.
In the present embodiment, after completing current movement, upgrade to the initial position of the first object picture and second picture object, to ensure the accuracy that subsequent movement controls.
Step 530, judges whether the picture shown in head end object picture is the first pictures forming scene, if yes, then enters step 550, if NO, then returns step 110.
In the present embodiment, along with the movement triggered in scene, when the head end object picture being moved out of content viewing area is reset to content viewing area and shows new picture, all will judge that this picture is the first pictures of scene, if yes, then illustrate that the display of picture in Current Content viewing area has completed a circulation, next circulation will be entered, therefore, need to reset the initial position of the first object picture in next circulation and second picture object, under the precondition that can not have any impact to the display of content viewing area Scene, the first object picture and second picture object is avoided to occur that numerical value is excessive at the initial position of content viewing area and overflow, and then cause the generation of application crashes.
After determining this picture and being not the first pictures of scene, the movement of head end object picture can be proceeded, and then realize the movement of this picture in content viewing area.
Wherein, the picture forming scene at least comprises the similar picture of two contents, and therefore, the picture first carrying out in the direction of movement showing is head end picture, and the picture finally carrying out showing is tail end picture.
Step 550, resets the first object picture and the initial position of second picture object in content viewing area according to the figure leaf length of scene.
In the present embodiment, because the corresponding length that once circulates is the figure leaf length of scene, therefore, the replacement at the initial position of content viewing area of the first object picture and second picture object will be carried out according to the figure leaf length of scene, first object picture to reset the initial position that obtains will be the difference between the initial position of the first object picture of obtaining of step 510 in content viewing area and figure leaf length, second picture object to reset the initial position that obtains will be the difference between the initial position of the second picture object that obtains of step 510 in content viewing area and figure leaf length.
By the control method for movement in scene as above, only need to use the picture of magnanimity can realize unlimited background and move, internal memory use amount is less, and for the developer of application, in its scene, the amendment of background also more for convenience.
In addition, in some other embodiments, also the picture loaded in the first object picture and second picture object can be divided into multiple part, i.e. multiple sub-pictures, the mobile operation triggered is then the different roll screen speed applied for each sub-pictures, i.e. the translational speed of this sub-pictures.
In this embodiment, the picture that first object picture and second picture object carry out loads and display will be loading and the procedure for displaying of multiple sub-pictures, and by method as above, also the various display effects of scene can be realized when taking little memory, such as, the display effect of close shot and distant view, the roll screen speed of sub-pictures is controlled by mobile operation, the sub-pictures as distant view is allowed to move more slowly, sub-pictures as close shot comparatively fast moves, to make whole scene more three-dimensional and true to nature by a kind of so multi-level background.
The control method for movement in above-mentioned scene is elaborated below in conjunction with a specific embodiment.In this embodiment, be the similar and picture that size is identical of two contents in order to form the picture of scene, as shown in Figure 6, and the size of this two picture is identical with content viewing area.
For the transverse shifting carried out in scene, the scene of this application is the scene of running in background in virtual objects in horizontal edition game, the mobile operation triggered applies on virtual objects in this scenario by being, in order to trigger the transverse shifting of virtual objects in background.
Suppose, the width of picture and content viewing area is L, and the displacement corresponding to mobile operation is then designated as d, because carried out movement is transverse shifting, therefore, does not need to pay close attention to longitudinal change in location.
When this horizontal edition game triggers operation, as shown in Figure 7, first object picture 710 and content viewing area 730 coincide, namely with the left border of content viewing area 730 for benchmark, the position of the first object picture 710 is the coordinate L/2 of central point, second picture object 750 is then connected with the right side of the first object picture 710, its position also centered by point coordinate, i.e. L/2+L.
The movement of virtual objects realizes by the mobile of background.Concrete, when intercepting the mobile operation obtaining triggering for virtual objects, by the moving direction corresponding to background extraction and displacement, as shown in Figure 8, this moving direction is negative direction, the relative position of the first object picture 710 in content viewing area is L/2-d, and the relative position of second picture object 750 in content viewing area is L/2+L-d.
First object picture 710 is moved to the position of L/2-d, second picture object move is to the position of L/2+L-d, and then first the picture loaded in the picture loaded in object picture 710 and second picture object 750 also will move thereupon, and then the image content corresponding to content viewing area 730 is changed thereupon, to realize the refreshing of scene.
In this moving process, the first object picture 710 is head end object picture, and second picture object 750 is tail end object picture.
Process from the above mentioned, along with the first object picture 710 and second picture object 750 constantly move, as shown in Figure 9, first object picture 710 will shift out content viewing area 730, namely determine head end object picture and shift out content viewing area, then as shown in Figure 10, by head end object picture, namely the first object picture 710 resets in content viewing area 730, the tail end object picture be connected with head end object picture, namely second picture object 750 is reset at outside content viewing area 730 thereupon.
Now, be shown in the first object picture 710 by the script picture be carried in second picture object 750, next picture that this picture is relevant is then shown in second picture object 750.
Constantly carried out the movement of background in scene by process as above, after completing movement, the position of the first object picture 710 of record and the position of second picture object 750 are upgraded, so that the exact arithmetic in subsequent movement process at every turn.
Meanwhile, also will judge whether the picture shown in the first object picture 710 is first pictures, if yes, then need the initial position position of the first object picture 710 being differed the first object picture 710 after being adjusted with figure leaf length 2L, also will adjust second picture object 750 accordingly.This adjustment is all done in each circulation, overflows to avoid numerical value excessive.
In one embodiment, also accordingly provide the mobile controller in a kind of scene, as shown in figure 11, comprise and intercept module 810, computing module 830 and refresh module 850, wherein:
Intercept module 810, for in the scene that shows in content viewing area, intercept the mobile operation triggered in scene, to obtain corresponding moving direction and displacement, this scene is the content that the picture loaded in interconnective first object picture and second picture object shows in content viewing area.
Intercept module 810 when intercepting the mobile operation obtaining triggering in scene, corresponding moving direction and displacement will be obtained, for ease of calculating, this moving direction and displacement with content viewing area for benchmark.
Computing module 830, for obtaining the first object picture and the relative position of second picture object in content viewing area according to described moving direction and displacement.
Refresh module 850, for according to the first object picture and second picture object, the relative position in content viewing area refreshes scene.
Further, in the present embodiment, device as above further comprises display control module, this display control module is used for relative content viewing area and arranges interconnective first object picture and second picture object, Load Image in the first object picture and/or second picture object, to carry out the display of content viewing area Scene.
Further, in the present embodiment, as shown in figure 12, this computing module 830 comprises initial position acquiring unit 831 and relative position arithmetic element 833.
Initial position acquiring unit 831, for being benchmark to content viewing area, obtains the initial position of the first object picture and second picture object.
Relative position arithmetic element 833, for carry out according to moving direction and the displacement initial position to the first object picture and second picture object computing obtain mobile after the first object picture and the relative position of second picture object in content viewing area.
In one embodiment, as shown in figure 13, above-mentioned refresh module 850 comprises object moving unit 851 and picture mobile unit 853.
Object moving unit 851, for moving the first object picture and second picture object according to the first object picture and second picture object at the relative position of content viewing area.
Picture mobile unit 853, moves the picture loaded for the movement along with the first object picture and second picture object, the scene shown by content viewing area with this picture mobile.
In the present embodiment, picture is loaded with in first object picture and second picture object, therefore, in picture mobile unit 853, the movement of the first object picture and second picture object is moved driving the picture loaded, and then the content shown in content viewing area is occurred, to realize the movement of scene.
As shown in figure 14, in one embodiment, above-mentioned refresh module 850 also comprises: head and the tail determining unit 854, shift out judging unit 855, object reset cell 856 and picture reset cell 857.
Head and the tail determining unit 854, for determining head end object picture in interconnective first object picture and second picture object and tail end object picture according to moving direction.
Shifting out judging unit 855, for judging whether head end object picture shifts out content viewing area, if NO, then notifying picture mobile unit 853, if yes, then notify object reset cell 856.
Object reset cell 856, for when determining head end object picture and shifting out content viewing area, reset to by head end object picture in content viewing area, the tail end object picture be connected with head end object picture resets to outside content viewing area thereupon.
Picture reset cell 857, for being shown in head end object picture by the picture in tail end object picture, and is shown in next picture that picture is relevant in tail end object picture.
As shown in figure 15, in another embodiment, the mobile controller in scene as above also comprises initial position update module 910, picture judge module 930 and position reset module 950.
Initial position update module 910, for upgrading the first object picture and the initial position of second picture object in content viewing area according to head end object picture and tail end object picture at the relative position of content viewing area.
Picture judge module 930, for judging whether the picture shown in head end object picture is the first pictures forming scene, and if yes, then notify position reset module 950, if NO, then notice intercepts module 810.
Position reset module 950, for resetting the first object picture and the initial position of second picture object in content viewing area according to the figure leaf length of scene.
Although describe the present invention with reference to several exemplary embodiment, should be appreciated that term used illustrates and exemplary and nonrestrictive term.Spirit or the essence of invention is not departed from because the present invention can specifically implement in a variety of forms, so be to be understood that, above-mentioned embodiment is not limited to any aforesaid details, and explain widely in the spirit and scope that should limit in claim of enclosing, therefore fall into whole change in claim or its equivalent scope and remodeling and all should be claim of enclosing and contained.

Claims (12)

1. the control method for movement in scene, is characterized in that, comprising:
In the scene of content viewing area display, intercept the mobile operation triggered in described scene, to obtain corresponding moving direction and displacement, described scene is the content that the picture loaded in interconnective first object picture and second picture object shows in described content viewing area;
Described first object picture and the relative position of second picture object in described content viewing area is obtained according to described moving direction and displacement;
Described scene is refreshed at the relative position of described content viewing area according to described first object picture and second picture object.
2. method according to claim 1, is characterized in that, describedly obtains described first object picture according to described moving direction and displacement and second picture object comprises in the step of the relative position of described content viewing area:
With described content viewing area for benchmark, obtain the initial position of described first object picture and second picture object;
According to described moving direction and the displacement initial position to described first object picture and second picture object carry out computing obtain mobile after the first object picture and the relative position of second picture object in described content viewing area.
3. method according to claim 1, is characterized in that, the described step refreshing described scene at the relative position of described content viewing area according to described first object picture and second picture object comprises:
The first object picture and second picture object is moved at the relative position of described content viewing area according to described first object picture and second picture object;
Along with the movement of described first object picture and second picture object is moved the picture loaded, the scene shown by described content viewing area with mobile described picture.
4. method according to claim 3, is characterized in that, the described step refreshing described scene at the relative position of described content viewing area according to described first object picture and second picture object also comprises:
Head end object picture in described interconnective first object picture and second picture object and tail end object picture is determined according to described moving direction;
Judge whether described head end object picture shifts out described content viewing area, if NO, then return the described movement along with described first object picture and second picture object to move the picture loaded, the step of the scene shown by described content viewing area with mobile described picture.
5. method according to claim 4, is characterized in that, the described step refreshing described scene at the relative position of described content viewing area according to described first object picture and second picture object also comprises:
If determine described head end object picture to shift out described content viewing area, then reset in described content viewing area by described head end object picture, the tail end object picture be connected with described head end object picture resets to outside described content viewing area thereupon;
Picture in described tail end object picture is shown in head end object picture, and next picture that described picture is relevant is shown in tail end object picture.
6. method according to claim 5, it is characterized in that, described picture in described tail end object picture to be shown in head end object picture, and after next picture of being correlated with by described picture is shown in the step in tail end object picture, described method also comprises:
The first object picture and the initial position of second picture object in described content viewing area is upgraded at the relative position of described content viewing area according to described head end object picture and tail end object picture;
Judge whether the picture shown in described head end object picture is the first pictures forming described scene, if yes, then
Figure leaf length according to described scene resets described first object picture and the initial position of second picture object in described content viewing area.
7. the mobile controller in scene, is characterized in that, comprising:
Intercept module, for in the scene that shows in content viewing area, intercept the mobile operation triggered in described scene, to obtain corresponding moving direction and displacement, this scene is the content that the picture loaded in interconnective first object picture and second picture object shows in content viewing area;
Computing module, for obtaining described first object picture and the relative position of second picture object in content viewing area according to described moving direction and displacement;
Refresh module, for refreshing described scene according to described first object picture and second picture object at the relative position of content viewing area.
8. device according to claim 7, is characterized in that, described computing module comprises:
Initial position acquiring unit, for described content viewing area for benchmark, obtain the initial position of described first object picture and second picture object;
Relative position arithmetic element, for carry out according to described moving direction and the displacement initial position to described first object picture and second picture object computing obtain mobile after the first object picture and the relative position of second picture object in described content viewing area.
9. device according to claim 7, is characterized in that, described refresh module comprises:
Object moving unit, for moving the first object picture and second picture object according to described first object picture and second picture object at the relative position of described content viewing area;
Picture mobile unit, moves the picture loaded for the movement along with described first object picture and second picture object, the scene shown by described content viewing area with mobile described picture.
10. device according to claim 9, is characterized in that, described refresh module also comprises:
Head and the tail determining unit, for determining head end object picture in described interconnective first object picture and second picture object and tail end object picture according to described moving direction;
Shifting out judging unit, for judging whether described head end object picture shifts out described content viewing area, if NO, then notifying described picture mobile unit.
11. devices according to claim 10, is characterized in that, described refresh module also comprises:
Object reset cell, for when determining described head end object picture and shifting out described content viewing area, reset to by described head end object picture in described content viewing area, the tail end object picture be connected with described head end object picture resets to outside described content viewing area thereupon;
Picture reset cell, for being shown in head end object picture by the picture in described tail end object picture, and is shown in next picture that described picture is relevant in tail end object picture.
12. devices according to claim 11, is characterized in that, described device also comprises:
Initial position update module, for upgrading the first object picture and the initial position of second picture object in described content viewing area according to described head end object picture and tail end object picture at the relative position of described content viewing area;
Picture judge module, for judging whether the picture shown in described head end object picture is the first pictures forming described scene, if yes, then notifies position reset module;
Described position reset module is used for resetting described first object picture and the initial position of second picture object in described content viewing area according to the figure leaf length of described scene.
CN201510250638.5A 2015-05-15 2015-05-15 Method and device for controlling movement in scene Pending CN105045569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510250638.5A CN105045569A (en) 2015-05-15 2015-05-15 Method and device for controlling movement in scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510250638.5A CN105045569A (en) 2015-05-15 2015-05-15 Method and device for controlling movement in scene

Publications (1)

Publication Number Publication Date
CN105045569A true CN105045569A (en) 2015-11-11

Family

ID=54452134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510250638.5A Pending CN105045569A (en) 2015-05-15 2015-05-15 Method and device for controlling movement in scene

Country Status (1)

Country Link
CN (1) CN105045569A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955623A (en) * 2016-06-06 2016-09-21 京东方科技集团股份有限公司 Display method and apparatus
CN111432167A (en) * 2019-07-26 2020-07-17 杭州海康威视数字技术股份有限公司 Video preview method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014059602A (en) * 2012-09-14 2014-04-03 Canon Inc Display control device, control method therefor, program, and recording medium
CN104133596A (en) * 2014-08-13 2014-11-05 福建星网视易信息系统有限公司 Displaying method and device of electronic screen information
CN104142758A (en) * 2014-08-13 2014-11-12 福建星网视易信息系统有限公司 Embedded window management method and device
CN104346054A (en) * 2013-07-30 2015-02-11 维沃移动通信有限公司 Method and system for realizing simulation 3D scene desktop

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014059602A (en) * 2012-09-14 2014-04-03 Canon Inc Display control device, control method therefor, program, and recording medium
CN104346054A (en) * 2013-07-30 2015-02-11 维沃移动通信有限公司 Method and system for realizing simulation 3D scene desktop
CN104133596A (en) * 2014-08-13 2014-11-05 福建星网视易信息系统有限公司 Displaying method and device of electronic screen information
CN104142758A (en) * 2014-08-13 2014-11-12 福建星网视易信息系统有限公司 Embedded window management method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955623A (en) * 2016-06-06 2016-09-21 京东方科技集团股份有限公司 Display method and apparatus
WO2017211108A1 (en) * 2016-06-06 2017-12-14 京东方科技集团股份有限公司 Display method and device
CN111432167A (en) * 2019-07-26 2020-07-17 杭州海康威视数字技术股份有限公司 Video preview method and device and electronic equipment
CN111432167B (en) * 2019-07-26 2022-05-03 杭州海康威视数字技术股份有限公司 Video preview method and device and electronic equipment

Similar Documents

Publication Publication Date Title
EP4070865A1 (en) Method and apparatus for displaying virtual scene, and device and storage medium
US11321925B2 (en) Mixed-reality system, program, method, and portable terminal device
US10324581B2 (en) Menu display method, apparatus and system
US20170123624A1 (en) Methods, apparatuses, and devices for processing interface displays
CN110377861B (en) Inter-scene element interaction method and device, storage medium and computer equipment
CN107204044B (en) Picture display method based on virtual reality and related equipment
CN104714714A (en) Mobile terminal desktop control method and device and mobile terminal
US20190378319A1 (en) Virtual scene display method and apparatus, and storage medium
CN108255546B (en) Method and device for realizing data loading animation
CN112099887A (en) Interface adjusting method and device, computer equipment and computer readable storage medium
US10643580B2 (en) Method and device for switching playing mode of a mobile terminal, storage medium and program
CN112337091A (en) Man-machine interaction method and device and electronic equipment
CN114185466A (en) Service processing method and device, electronic equipment and storage medium
JP6630669B2 (en) Adjustment method and adjustment device for widget area
CN111290680B (en) List display method, device, terminal and storage medium
US20240273732A1 (en) Method, apparatus, computer device and storage medium for image display
CN105373374A (en) Method and system for displaying 3D place in WEB
CN105045569A (en) Method and device for controlling movement in scene
US20160364031A1 (en) Storage medium, display control device, display control system, and display method
CN113742507A (en) Method for three-dimensionally displaying an article and associated device
CN106325873A (en) Multi-window page display processing method and device
CN105138311A (en) Method and device for improving graphic drawing efficiency
CN105957012A (en) Picture splicing method and mobile terminal
US20240345717A1 (en) Operation method and apparatus, and electronic device and computer-readable storage medium
CN109800039B (en) User interface display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151111