CN107094200A - A kind of method and device of view adjustment - Google Patents
A kind of method and device of view adjustment Download PDFInfo
- Publication number
- CN107094200A CN107094200A CN201611150489.6A CN201611150489A CN107094200A CN 107094200 A CN107094200 A CN 107094200A CN 201611150489 A CN201611150489 A CN 201611150489A CN 107094200 A CN107094200 A CN 107094200A
- Authority
- CN
- China
- Prior art keywords
- view
- rotation information
- terminal
- adjustment
- determined
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Social Psychology (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present application discloses a kind of method and device of view adjustment, the view rotation information that server can be uploaded according to terminal determines that the view shown in the terminal needs adjustment, and further determine that out how to adjust the view according to the view rotation information, then, the view after adjustment can be sent to terminal and be shown by server.Because server is that the view rotation information uploaded according to terminal is adjusted during the view is adjusted, the view rotation information reflects the situation that user rotates terminal when checking the view, so, server adjusts the view that can obtain and can normally be shown in terminal after the view according to the view rotation information, i.e., when user checks the view after the adjustment that server is sent, the operation bidirectional of terminal is rotated without performing again, so as to bring facility during browse view to user.
Description
Technical field
The application is related to field of computer technology, more particularly to the method and device that a kind of view is adjusted.
Background technology
Currently, a variety of interface elements such as word, picture, video, these interfaces are included in the interface that client is shown
Element greatly enriches the interface content of client, and visually brings great experience to user.
In actual applications, during the content that user's browsing client is shown, it will usually run into picture or video
Situation about overturning anyhow, now, user need by rotating terminal ability normal browsing picture or video, as shown in Figure 1.
There is the schematic diagram for overturning situation anyhow for picture in the prior art in client end interface in Fig. 1.
In Fig. 1, the picture that user is seen is a picture overturned anyhow, and anyhow reverse situation occurs in the picture
Typically by upload the user of the picture held when shooting the picture terminal mode it is relevant.Shown by the picture
Content be not a picture just put (the so-called picture just put refer to user need not rotate terminal can normal browsing figure
Piece), so, if user thinks normally to browse the picture, need accordingly to be rotated terminal, the picture could be carried out
Normally browse, which adds the operation bidirectional during user's browsing pictures, so as to bring inconvenience to user.
The content of the invention
The embodiment of the present application provides a kind of method of view adjustment, to the view for solving to show in terminal in the prior art
Occur anyhow overturn and make user can not easily the normal browsing view the problem of.
The embodiment of the present application provides a kind of method that view is adjusted, including:
View is sent into terminal to show;
Gather the terminal and be directed to the view rotation information that the view is uploaded;
According to the view rotation information, the adjustment mode of the view is determined;
The view is adjusted according to the adjustment mode.
The embodiment of the present application provides a kind of device of view adjustment, to the view for solving to show in terminal in the prior art
Occur anyhow overturn and make user can not easily the normal browsing view the problem of.
The embodiment of the present application provides the device that a kind of view is adjusted, including:
View sending module, is sent to terminal by view and shows;
Information acquisition module, gathers the terminal and is directed to the view rotation information that the view is uploaded;
Determining module, according to the view rotation information, determines the adjustment mode of the view;
View adjusting module, the view is adjusted according to the adjustment mode.
The embodiment of the present application provides a kind of method of view adjustment, to the view for solving to show in terminal in the prior art
Occur anyhow overturn and make user can not easily the normal browsing view the problem of.
The embodiment of the present application provides a kind of method that view is adjusted, including:
The view of terminal the reception server transmission and display;
During the view is shown, monitor whether itself rotates;
When monitoring to rotate, it is determined that the view identification of the view currently shown, and generate terminal rotation information;
Recorded the terminal rotation information is corresponding with view identification, generate the corresponding view of the view identification and turn
Dynamic information;
The view rotation information is uploaded onto the server, so that the server is adjusted according to the view rotation information
The view.
The embodiment of the present application provides a kind of device of view adjustment, to the view for solving to show in terminal in the prior art
Occur anyhow overturn and make user can not easily the normal browsing view the problem of.
The embodiment of the present application provides the device that a kind of view is adjusted, including:
Display module is received, the view that terminal the reception server is sent and display;
Monitoring modular is rotated, during the view is shown, monitors whether itself rotates;
Mark module is determined, when monitoring to rotate, it is determined that the view identification of the view currently shown, and generate end
Hold rotation information;
Information generating module, is recorded the terminal rotation information is corresponding with view identification, generates the view mark
Know corresponding view rotation information;
Information uploading module, the view rotation information is uploaded onto the server, so that the server is regarded according to
Figure rotation information adjusts the view.
At least one above-mentioned technical scheme that the embodiment of the present application is used can reach following beneficial effect:
In the embodiment of the present application, the view rotation information that server can be uploaded according to terminal is determined to be shown in the terminal
View need adjustment, and further determine that out how to adjust the view according to the view rotation information, then, server can be by
View after adjustment is sent to terminal and shown.Because server is uploaded during the view is adjusted according to terminal
The adjustment of view rotation information, the view rotation information reflects the situation that user rotates terminal when checking the view, so,
Server adjusts the view that can obtain and can normally be shown in terminal after the view according to the view rotation information, i.e. Yong Hucha
When seeing the view after the adjustment that server is sent, the operation bidirectional of terminal is rotated without performing again, so as to be regarded to user browsing
Facility is brought during figure.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen
Schematic description and description please is used to explain the application, does not constitute the improper restriction to the application.In the accompanying drawings:
There is the schematic diagram for overturning situation anyhow for picture in the prior art in client end interface in Fig. 1;
Fig. 2 adjusts the schematic diagram of process for the view that the embodiment of the present application is provided;
The difference for the anyhow reverse view and the view normally shown that Fig. 3 A, 3B provide for the embodiment of the present application is illustrated
Figure;
While showing the schematic diagram of multiple views in the terminal screen that Fig. 4 provides for the embodiment of the present application;
Fig. 5 generates the process of view rotation information for the terminal that the embodiment of the present application is provided;
A kind of schematic device for view adjustment that Fig. 6 provides for the embodiment of the present application;
The schematic device for another view adjustment that Fig. 7 provides for the embodiment of the present application.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation
Example only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, this area is common
The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to the application protection
Scope.
Fig. 2 adjusts the schematic diagram of process for the view that the embodiment of the present application is provided, and specifically includes following steps:
S201:View is sent into terminal to show.
In the embodiment of the present application, when user is by terminal browse view, view can be sent by terminal to server
Obtain request, server receive the view obtain request after, can by should view obtain request view send to end
End, so that user is browsed.Wherein, referred to herein as view can be the information such as picture or video.
It can be seen from the above description that the view mentioned in the embodiment of the present application is not regarding for terminal itself storage
Figure, but the view that needs are obtained from server, such as in actual applications, when user checks news information by terminal, are needed
The news information of correlation is got from server, wherein, the view included in the news information that terminal is got is this Shen
Please the signified view of embodiment;For another example when user checks the multidate information of good friend by terminal, it is also desirable to by server
The multidate information can be got, and the view included in the multidate information is view mentioned above.
It should be noted that in the embodiment of the present application, request is obtained except view can be sent by terminal to server
Outside, can also be sent by the client installed in terminal the view obtain request, e.g., when user start it is a certain in terminal
During client, the client can to server send view obtain ask, accordingly, server receive the client lead to
When the view for crossing terminal transmission obtains request, it can be obtained and asked according to the view, corresponding view is returned to the client, so that
The client is shown the view got in terminal interface.
S202:Gather the terminal and be directed to the view rotation information that the view is uploaded.
The view can be shown to user and be browsed by terminal after the view of server transmission is received, and user exists
During browsing the view, if the state (as shown in Figure 1) that view processing is overturned anyhow, user needs to carry out terminal
It is corresponding to rotate, the view could be normally browsed, in the process, the terminal rotating operation that terminal can be performed according to user,
Generation and uploads onto the server the view rotation information for the view rotation information of the view, wherein, terminal according to
The terminal rotating operation that family is performed, generating the detailed process of corresponding view rotation information will describe in detail in step S504.
Due to the embodiment of the present application, be intended to be adjusted to by server will overturn display anyhow view in terminal can be
The view normally shown in terminal, therefore, server need acquisition terminal for the view rotation information of view upload, and with
This is foundation, and the view is adjusted in subsequent process.
In actual applications, the view that server is sent not only is sent for a terminal, but for many
What individual terminal was sent, e.g., in instant communication client, user (can include the status information of oneself in the status information
Having view) transmission is browsed into social networks for other users, and other users then need to get this from server
The status information of user's issue could pass through held terminal and browse the status information, in other words, for same view
For, each terminal can get the view and be shown from server.And if the view that server is sent is at one
The situation for overturning display anyhow is occurred in that in terminal, then such case can also may occur in other-end (because occurring horizontal
It is generally all by uploading caused by the user of the view holds the mode of terminal when shooting the view to erect reverse situation), institute
So that when other users browse the view by the terminal each held, each terminal will also monitor that user browses the view
During rotating operation is performed to terminal and corresponding view rotation information is generated, and by the view rotation information of each self-generating
In uploading onto the server, accordingly, server will also gather each view rotation information that each terminal is uploaded, and in subsequent process
In, determine how to adjust the view by each view rotation information.Wherein, the view that server can upload multiple terminals
View rotation information carry out whole collections, or the view rotation information for the view for only uploading a part of terminal is adopted
Collection, e.g., server is after the view rotation information that each terminal is uploaded is received, each use that can be included from each view rotation information
Any active ues are determined in the mark of family, and the view rotation information that any active ues are uploaded by terminal is acquired (because living
Jump user more can accurately reflect the display situation of each view).Referred to herein as any active ues can pass through server record
User profile be determined, e.g., user journal etc., and specific determination mode can be by the user profile of record come
It is determined that user logs in number of times of client or server etc. in certain period of time, and determine whether user is living with this
Jump user.
It should be noted that the view of normal display mentioned above refer to that user need not rotate terminal can normal browsing
View, the specific difference of reverse view and the view normally shown is as shown in Fig. 3 A, 3B anyhow.
The difference for the anyhow reverse view and the view normally shown that Fig. 3 A, 3B provide for the embodiment of the present application is illustrated
Figure.
In figure 3 a, a width picture (picture is the view of described above) is shown on terminal screen, wherein, the figure
The standing direction of personage in piece and the vertical direction of terminal screen are not in same direction, then the picture is referred to as in the terminal
In the picture for overturning dispaly state anyhow.And for Fig. 3 B, in picture displayed on the terminals, the standing direction of personage
Same direction is in the vertical direction of terminal screen, then the picture in Fig. 3 B is referred to as in terminal in the picture normally shown.
If user thinks the picture normally checked in Fig. 3 A, need accordingly to be rotated terminal, the ability normal browsing picture, and
For the picture in Fig. 3 B, because the picture is in the terminal in the state just put, therefore, when user browses the picture
Without performing corresponding rotate to terminal, you can the normal browsing picture.
S203:According to the view rotation information, the adjustment mode of the view is determined.
For overturning the view of display anyhow in the terminal, its view is in itself and there is no problem, simply in display
It there is a problem on direction, so, if server can adjust the display direction of these views in the terminal, you can make these views
Normal display in the terminal.Therefore, in the embodiment of the present application, after the view rotation information that collection of server terminal is uploaded,
The rotation direction of the view included in the view rotation information is can determine that, and according to the rotation direction of the view, is determined
The adjustment direction of the view.Wherein, the rotation direction of the view is during user rotates terminal browse view, to be born by terminal
Duty record, specific process is described in detail in step S503.
Server determines that the adjustment direction of the view can specifically be carried out in the following ways:When in the view rotation information
Comprising the view rotation direction to rotate counterclockwise when, it is determined that the adjustment direction of the view is worked as to rotate counterclockwise
The rotation direction of the view included in the view rotation information is when rotating clockwise, it is determined that the adjustment direction of the view is
Rotate clockwise.
In actual applications, user is when browsing a view overturned anyhow, and the direction for originally rotating terminal is probably
The direction of mistake, e.g., during picture shown in user's browse graph 3A, under normal circumstances, user should rotate clockwise terminal, still
In fact, terminal may have been carried out terminal counterclockwise by user before this, and rotated clockwise immediately when finding and turning in the wrong direction
Terminal.For in this case, because terminal can rotate the operation of terminal according to user, record corresponding view and rotate letter
Breath, so, in the process, terminal is actually that the terminal operation of rotation twice performed according to user generates corresponding two
View rotation information, and the two view rotation informations have all been uploaded in server, server is regarded according only to the two
Figure rotation information is can not to determine how to adjust the view, it is necessary to which the terminal held according to other users is come further
Determine the adjustment direction of the view.
Based on this, in the embodiment of the present application, server is collecting each view turn that each terminal is uploaded for the view
After dynamic information, it can be determined according to the user's mark and the different rotation directions of the view included in each view rotation information
Each rotation direction distinguishes corresponding number of users, namely the quantity that user identifies, and then, user can be identified quantity by server
The rotation direction of maximum (number of users is maximum), is defined as the adjustment direction of the view, and then in subsequent process, pass through the tune
Perfect square to the view to being adjusted.
For example, showing in each view rotation information of collection of server, for the view, there are 23498 users to exist
Terminal has been rotated counterclockwise when browsing the view (has 23498 view rotation informations to indicate that the rotation direction of the view is
Rotate counterclockwise), and having 533 users to rotate clockwise terminal when browsing the view (has 533 view rotation informations
Indicate the rotation direction of the view to rotate clockwise).Therefore, server can be by number of users (i.e. user identifies quantity) most
Big rotation direction:Rotate counterclockwise the adjustment direction for being defined as the view.
Server can accordingly be determined after the adjustment direction of the view is determined according to the adjustment direction determined
The adjustment mode of the view, following two modes can be used by determining the concrete mode of adjustment mode:The first:Server can root
According to the adjustment direction and set angle determined, determine the adjustment direction of the view, wherein, referred to herein as set angle
View can be rotated 90 ° etc., certainly, the set angle also can be by figure of the server according to view by artificially being set, e.g.
As type is set, e.g., for the stronger picture of some symmetry, user and may need not rotate these pictures
90 ° can normally browse the picture.So, for the view of different images type, server can be directed to different images
The view of type, sets different set angles respectively, and in subsequent process, according to the image type of view, determines suitable
Close the set angle of the view.
Second:Server, can be according to being somebody's turn to do for being included in each view rotation information after each view rotation information is collected
The rotation direction and rotational angle of view, determine the adjustment direction and adjustment angle of the view, and further according to really
The adjustment direction and adjustment angle made, determine the adjustment mode of the view.Wherein, server determines the view
The mode of adjustment direction is same as described above, herein just without being described in detail, and for the determination mode of adjustment angle,
Server can set several angular intervals in certain angular range, and for each angular interval, it is determined that falling into the angle
The quantity of interval rotational angle (rotational angle is the rotational angle of the view included in each view rotation information) is spent,
Then, rotational angle can be fallen into the intermediate angle of the most angular interval of quantity and is defined as the adjusting angle of the view by server
Degree, and then by the adjustment angle and the adjustment direction determined, determine the adjustment mode of the view.Certainly, say here
The determination mode of bright adjustment angle is not unique, can also be determined in other way, e.g., by each view rotation information
In the average value of each rotational angle of the view that includes be defined as adjustment angle, or be that will be included in each view rotation information
Each rotational angle of the view restrained, and the angle-determining will be restrained to adjust the adjustment angle of the view, other
Adjustment angle determination mode herein just without having been illustrated one by one.
S204:The view is adjusted according to the adjustment mode.
Server can be adjusted after the adjustment mode of the view is determined according to the adjustment mode to the view,
And the view after adjustment is sent to terminal shown, e.g., the adjustment mode for the view that server is determined is clockwise
90 ° are rotated, then server can rotate clockwise 90 ° of adjustment to view execution, and the view after adjustment is sent to terminal
Shown.Wherein, the view after adjustment is sent to terminal progress display and is not to say that terminal can show tune at once by server
View after whole, and when referring to that user browses the view again by SS later, server can send the view after adjustment
To terminal and show.Such as, when user sends the view acquisition request for obtaining the view to server again by terminal, server
View after adjustment can be sent to user terminal and shown.Certainly, the view after adjustment can be also sent to other by server
The terminal of user is shown, i.e. after server has adjusted the view, receives the acquisition of the other users transmission view
When view obtains request, then the view after adjustment can be sent to other users.
From the above as can be seen that because server is the view that is uploaded according to terminal during the view is adjusted
Rotation information adjustment, the view rotation information reflects the situation that user rotates terminal when checking the view, so, service
Device adjusts the view that can obtain and can normally be shown in terminal after the view according to the view rotation information, i.e. user checks clothes
Be engaged in device send adjustment after view when, without perform again rotate terminal operation bidirectional so as to user in browse view
During bring facility.
It should be noted that in actual applications, showing multiple views simultaneously sometimes in terminal screen, as shown in Figure 4.
While showing the schematic diagram of multiple views in the terminal screen that Fig. 4 provides for the embodiment of the present application.
In Fig. 4, multiple views are shown simultaneously in terminal screen, in these views, the first width view is (from top to bottom
Order is arranged) and the 3rd width view be the view normally shown, and the second secondary view is then in the state overturned anyhow.User
Needed when browsing this second width view by the terminal progress rotation ability normal browsing view, still, due in terminal screen
This three width view is shown simultaneously, so, terminal is then for the life of this three width view when generating corresponding view rotation information
Into, in other words, what the view rotation information that server is generated was recorded is the rotation situation of this three width view, and actually
But there was only the second width view in topsy-turvydom anyhow, if server can not be determined accurately from the view rotation information
Which secondary view is only the real view for needing to adjust, then possibly can not perform adjustment to the view for needing to adjust, or adjust
The situation of whole mistake (will be adjusted without the view of adjustment) occurs.
The occurrence of in order to prevent above-mentioned, in the embodiment of the present application, server, can rotate determining above-mentioned view
During the view identification of the multiple views included in information, then from these view identifications, the real view for needing to adjust is determined
View identification.
Specifically, in actual applications, the view that server is sent to a terminal is generally not an independent view,
But multiple views, e.g., user browse the status information of each good friend's issue (assuming that in each friendly status information in the terminal
Include a view) when, user is in the terminal it is seen that the status information of each good friend issue arranged from top to bottom, leads to
In the case of often, each status information that user sees all is to be arranged in a fixed order, in other words, what different user was seen
The typically identical that puts in order of each status information.And due to the embodiment of the present application be intended to from view rotation information include it is each
The view identification for the view for being actually needed adjustment is determined in view identification, so, server is sending each view to server
When, can be randomly ordered by the order progress of each view, so that the sequence for each view that different user is seen is different.
Based on this, server can wait each view identification included in the view rotation information collected as one
Determine view identification, and for each view identification undetermined, the view identification undetermined is determined from each view rotation information of collection
Corresponding each view rotation information, i.e., each view rotation information comprising the view identification undetermined, then, server can be from determination
In all view identifications that each view rotation information gone out is included, determine in addition to the view identification undetermined at least one its
His view identification.Server can be searched whether from each view rotation information collected exist include other view identifications but
View rotation information not comprising the view identification undetermined, and when finding, it may be determined that go out to need to adjust the view mark undetermined
Know corresponding view.
For example, it is assumed that server have sent view A to terminal, it is reverse display anyhow on a terminal screen in view A
, and during user browses view A by terminal, view B and view C are also shown in the lump in terminal screen, if then
When user rotates terminal, the view rotation information of terminal generation is then this three width view of correspondence.Believe to be rotated from the view
Determine which width view is the view for being actually needed adjustment in breath, server can be determined from the view rotation information this three
The view identification of width view, and the view identification of this three width view is treated as view identification undetermined, then, work as server
Whether determine view A is that when needing the view of adjustment, can be directed to view B and view C view identification (relative to regarding for view A
For map logo, view B and view C view identification are other view identifications), from each view rotation information collected really
The fixed view identification for including view B and view C that whether there is is still and in the absence of view A view identification (view i.e. undetermined
Mark) view rotation information, if not finding, server can determine that user during browse view B and view C,
Do not rotate terminal, then can determine that view A is the view for being actually needed adjustment.
It should be noted that will certainly there is a situation where that single view is shown in actual applications, on terminal screen, institute
So that if terminal individually shows a certain width view, the width view is in anyhow reverse state, then server will certainly be collected
Only include the view rotation information of the view identification of the view, also determined that out that the view is to need server to adjust accordingly
Whole view.Therefore, even if including the view identification of multiple views in some view rotation informations, server can be according to only wrapping
View rotation information containing single view identification, reality is determined from the view rotation information for including multiple view identifications
Need the view of adjustment.
In actual applications, some users may habitually tilt certain angle and carry out browse view, e.g., a certain user
Terminal is habitually tilted to 15 ° clockwise and carrys out browse view.Under normal circumstances, most view is to be normally displayed in end
Hold in screen, i.e., the view as shown in Fig. 3 B on terminal screen, if a certain user habituation tilts certain angle
Carry out browse view, and user tilt the angle of terminal beyond the angle of terminal trigger recording terminal rotation situation when (
When terminal monitoring to own rotation is beyond a certain angle, then monitor that terminal rotates, and generation view turns accordingly
Dynamic information), then server will receive a large amount of view rotation informations that the user is uploaded by terminal, if server by these
From the point of view of view rotation information when view rotation information browses the view overturned anyhow as user produced by rotation terminal
Words, then these view rotation informations can actually be adjusted to the view of server and interfered, so as to influence server adjustment to regard
The accuracy of figure.
In order to avoid it is above-mentioned the occurrence of, in the embodiment of the present application, server is receiving what a certain user uploaded
After view rotation information find, be when the user browses most of view to fixed-direction have rotated certain angle when, then may be used
Determine that the user during browse view, habitually turns an angle terminal to the direction, then, server
Can using the angle as the user references angle, and to the user upload other rotational angles view rotation information carry out
Analysis, to determine the user during browse view, which view be only the user be actually needed rotation terminal browse
View, and then in subsequent process, these views determined are adjusted.
Specifically, after the view rotation information that collection of server is uploaded by terminal to each user, each user can be directed to
(being in other words for each user mark), it is determined that the user pre-saved identifies corresponding references angle, referred to herein as
References angle be that the user that determines of the historical view rotation information that is uploaded according to the user of server browses each view
When custom rotate terminal angle.Server is determined after the references angle of the user, can be regarded from what the user uploaded comprising this
The rotational angle that terminal is rotated when the user browses the view is determined in the view rotation information of the view identification of figure, one is gone forward side by side
Step determines the user when browsing the view relative to the phase for rotating terminal under normal circumstances by the references angle determined
To rotational angle, wherein, server determines that the mode for relatively rotating angle can be:By turning for being included in the view rotation information
Dynamic angle subtracts the references angle determined, obtains the relative rotation angle, can also be multiplied by the references angle and certain is
After number, then with the product of the rotational angle coefficient and references angle, the relative rotation angle is obtained, or be to use the rotation
Angle is subtracted after the references angle, by both differences multiplied by with a default coefficient, obtains the relative rotation angle.When
So, it is determined that the mode for relatively rotating angle also has a lot, just it is not illustrated one by one herein.
Server is after determining that the user browses the view relative to relative rotation angle under normal circumstances, Ke Yixiang
Same mode, determines that other users correspond to the relative rotation angle of the view, and then by being determined for each user
The view relative rotation angle, determine the adjustment angle of the view.
In the embodiment of the present application, server it is determined that each user references angle when, can be directed to each user, it is determined that should
The historical view rotation information that user uploads, and then determine the references angle of the user.Specifically, server can be for each use
Family, determines the historical view rotation information that the user uploads, then, server can be regarded by default condition from these history
The historical view rotation information of the condition of satisfaction is filtered out in figure rotation information, wherein, the historical view rotation information filtered out should
Meet following condition:
Firstth, the percentage that the historical view rotation information filtered out accounts for whole history rotation informations exceeds default accounting threshold
Value;
Secondth, the rotation direction included in historical view rotation information filtered out is same direction;
3rd, the rotational angle included in historical view rotation information filtered out is respectively positioned on same angular range;
4th, the view identification included in historical view rotation information filtered out is not present in setting number of users
In the historical view rotation information of upload.
Server can filter out the historical view rotation information for meeting part or all of condition according to aforementioned four condition,
And the rotational angle according to included in the historical view rotation information filtered out, it is determined that for the relative rotation angle of the user
Degree.
For example, it is assumed that server finds that the user is clear in a large amount of historical view rotation informations that a certain user uploads
Look at a part of view when be to have rotated clockwise 15 ° of terminal, the view rotation information of this partial view accounts for user upload
The percentage of whole historical view rotation informations is beyond 75% (i.e. default accounting threshold value), and this partial view is corresponding
View rotation information does not occur in the historical view rotation information that most of user uploads, i.e. this partial view is identified simultaneously
Do not appear in the historical view rotation information that setting number of users is uploaded, then server can determine that the user in browse view
During, terminal is habitually rotated clockwise 15 °, therefore, server can rotate clockwise the user 15 ° of terminal really
It is set to the references angle of the user, then, server can further be rotated by the references angle from the view that the user uploads
Determine which is only the user and is actually needed the view for rotating terminal and browsing in information.When server is rotated from a certain view
Drawn in information, the up time when user browses view (the corresponding view of view identification included in the view rotation information)
When pin rotates 45 ° of terminal, then during can determining that the user browses the view, in the rotation of oneself (i.e. the user) custom
30 ° of terminal is rotated clockwise again in the angle of terminal, therefore, server can determine that the user is actual when browsing the view
On rotated clockwise 30 ° of terminal, and then determine the view be only the user be actually needed rotation terminal could normal browsing
View, then combine other users upload the view rotation information for the view, adjust the view.
It should be noted that four kinds of conditions of described above are not unique, server also can using other conditions from
Filtered out in the historical view rotation information that family is uploaded for determining that the user relatively rotates the historical view rotation information of angle,
Such as, server can be directed to each rotational angle (or rotational angle of same angular range) included in history rotation information, will
Quantitatively beyond preset percentage (number of times sum of the number of times that i.e. rotational angle occurs than upper all rotational angles appearance)
Rotational angle corresponding to history rotational angle screen.Certainly, there are other screening conditions, herein just without one
One has been illustrated.
In the embodiment of the present application, server can be directed to each user, according to the historical view rotation information of the user, really
Make the relative rotation angle of the user, i.e. user custom rotates how much terminal is spent to carry out views browsing.Normal conditions
Under, most of user is normal using terminal browse view (terminal will not be rotated when browsing the view normally shown),
For this certain customers, the relative rotation angle for this certain customers that server is determined then should be 0 °.
The server illustrated above for the embodiment of the present application adjusts the process of view, and because server is implemented to adjust to view
The whole view rotation information for needing to generate based on terminal, therefore, is described more detail below the mistake that terminal generates view rotation information
Journey.
Fig. 5 generates the process of view rotation information for the terminal that the embodiment of the present application is provided, and specifically includes following steps:
S501:The view of terminal the reception server transmission and display.
In the embodiment of the present application, user is needed in terminal during browse view, can be sent and regarded by terminal to server
Figure obtains request, and the view that server can then be sent according to terminal obtains request, and corresponding view is returned to terminal, so that eventually
The view returned to server is held to show.Certainly, in the embodiment of the present application, send view to server and obtain request
Executive agent can also be mounted in the client of terminal.
S502:During the view is shown, monitor whether itself rotates.
Because the embodiment of the present application is intended to the view rotation information that is sent according to terminal, determines how and shown in adjustment terminal
View, therefore, terminal need display view during, the moment shows to the rotation situation of itself.Specifically, terminal
Can be according to the given threshold included in terminal, monitoring terminal is during the view is shown, whether the rotational angle of itself surpasses
Go out the given threshold, if, it is determined that user performs rotating operation during the view is browsed to the terminal, if
It is no, it is determined that user does not perform corresponding rotating operation during the view is browsed to the terminal.Wherein, setting here
Threshold value can be voluntarily configured or the default threshold value of terminal by terminal, or be server issued to terminal one
Individual given threshold, naturally it is also possible to voluntarily set by user.
The monitoring mode whether terminal monitoring itself sends rotation can be:Terminal can be filled according to default gravity sensing
Put, itself rotation implemented to monitor, the rotational angle of the terminal monitored by the gravity sensing device when terminal beyond
During above-mentioned given threshold, it is determined that monitor that itself rotates.
S503:When monitoring to rotate, it is determined that the view identification of the view currently shown, and generate terminal rotation letter
Breath.
Terminal is when monitoring that itself occurs above-mentioned rotation, then it needs to be determined that going out the view that is currently shown in terminal screen
View identification, and the rotation data transmitted according to above-mentioned gravity sensing device, the terminal rotation information of generation, due to terminal generation
The terminal rotation information, therefore, the view rotation information that server is subsequently generated based on the terminal rotation information can then make
Server accurately determines the adjustment direction and adjustment angle of the view.
For example, when terminal by preset gravity sensing device monitors user during browse view, to terminal
52 ° are rotated clockwise, then terminal can further determine the view identification of the currently displayed view of terminal, and generate
The terminal rotation information of " rotating clockwise 52 ° ".
S504:Recorded the terminal rotation information is corresponding with view identification, generate the view identification corresponding
View rotation information.
Server determined after terminal rotation information, can according to the view identification determined and the terminal rotation information,
Generate corresponding view rotation information.Certainly, terminal also can currently step on user during the view rotation information is generated
The user's mark (such as user account) of record on the terminal is added in the view rotation information, in other words, according to the user
Mark, terminal rotation information and view identification, generate corresponding view rotation information, wherein, user is identified for generating
The purpose of view rotation information is the quantity for enabling the server to identify by user, determines the adjustment direction of view, really
The detailed process for determining view adjustment direction has been explained in detail in above-mentioned steps S203, herein just without repeating.
S505:The view rotation information is uploaded onto the server, believed so that the server is rotated according to the view
The breath adjustment view.
Terminal is generated after the view rotation information, and the view rotation information can be uploaded onto the server, wherein, terminal can be by
During the view rotation information periodically uploads onto the server, during also the view rotation information can be uploaded onto the server in real time, so
One, server is after the view rotation information is received, you can determine the view identification included in the view rotation information
Corresponding view is the view for needing to adjust, then according to the rotation direction of the view included in the view rotation information, really
The adjustment direction of the view is made, and adjustment is implemented to the view according to the adjustment direction determined.
As can be seen that because terminal can be during view be shown, monitoring user rotates terminal in from the above
Direction and amplitude, and corresponding view rotation information is generated, the view rotation information reflects user when browsing the view
The situation of terminal is rotated, therefore, server is during the view is adjusted, and the view that can be uploaded based on terminal rotates letter
Breath, is determined the adjustment direction and adjustment angle of the view, view is adjusted with this, so that obtain can be in terminal
The view normally shown, i.e. user's browser server send adjustment after view when, without perform again rotate terminal it is extra
Operation, so as to bring facility during browse view to user.
It should be noted that in above-mentioned steps S502, it can also be 0 ° that given threshold is included out in terminal, in other words
Say, when no matter which secondary view user browse, terminal can be to the corresponding view rotation information of each view generation, so, clothes
The view rotation information that business device can be uploaded based on terminal, is determined more accurately out which view is only the view for needing to adjust,
And then to user's browse view during bring better Consumer's Experience.
The view method of adjustment provided above for the embodiment of the present application, based on same thinking, the embodiment of the present application is also divided
Indescribably for the device of two kinds of view adjustment, as shown in Figure 6,7.
A kind of schematic device for view adjustment that Fig. 6 provides for the embodiment of the present application, is specifically included:
View sending module 601, is sent to terminal by view and shows;
Information acquisition module 602, gathers the terminal and is directed to the view rotation information that the view is uploaded;
Determining module 603, according to the view rotation information, determines the adjustment mode of the view;
View adjusting module 604, the view is adjusted according to the adjustment mode.
The view sending module 601, is sent to multiple terminals by view and shows;
Described information acquisition module 602, gathers all or part of terminal in the multiple terminal and is regarded respectively for described
Scheme the multiple view rotation informations uploaded.
The determining module 603, according to the rotation direction of the view included in each view rotation information of collection, really
The adjustment direction of the fixed view;According to the adjustment direction, the adjustment mode of the view is determined.
The determining module 603, according to the user's mark included in each view rotation information of collection and the view
Each rotation direction, it is determined that each different rotation direction distinguishes the quantity of corresponding user's mark;Corresponding user is identified
The maximum rotation direction of quantity be defined as the adjustment direction of the view.
The determining module 603, according to the adjustment direction and set angle, determines the adjustment mode of the view;
Or the rotational angle included in each view rotation information according to collection, the adjustment angle of the view is determined, is adjusted according to described
Perfect square to and the adjustment angle determined, determine the adjustment mode of the view.
The determining module 603, is identified for each user included in each view rotation information, it is determined that pre-save
The user identifies corresponding references angle, and the references angle is to identify corresponding historical view previously according to the user to rotate letter
What breath was determined;The rotational angle of the view according to included in the view rotation information identified comprising the user and determination
The references angle gone out, determines that the view corresponds to the relative rotation angle that the user identifies;According to for each user
The relative rotation angle determined is identified, the adjustment angle of the view is determined.
The determining module 603, when including the view identification of multiple views in the view rotation information, it is determined that needing
The view to be adjusted.
The determining module 603, for each view identification included in the view rotation information, by the view identification
As view identification undetermined, determine that each view comprising the view identification undetermined rotates letter from each view rotation information of collection
Breath;In all view identifications included from each view rotation information determined, determine in addition to the view identification undetermined
At least one other view identification;Include other described view identifications when not found in each view rotation information in collection
And during view rotation information not comprising the view identification undetermined, it is determined that need adjustment this view identification undetermined is corresponding regards
Figure.
The schematic device for another view adjustment that Fig. 7 provides for the embodiment of the present application, is specifically included:
Display module 701 is received, the view that terminal the reception server is sent and display;
Monitoring modular 702 is rotated, during the view is shown, monitors whether itself rotates;
Mark module 703 is determined, when monitoring to rotate, it is determined that the view identification of the view currently shown, and it is raw
Into terminal rotation information;
Information generating module 704, is recorded the terminal rotation information is corresponding with view identification, generates the view
Identify corresponding view rotation information;
Information uploading module 705, the view rotation information is uploaded onto the server, so that the server is according to described
View rotation information adjusts the view.
The rotation monitoring modular 702, when the rotational angle for monitoring the terminal exceeds given threshold, it is determined that prison
Measure and rotate.
The rotation monitoring modular 702, by preset gravity sensing device, monitors whether itself rotates;
Described information generation module 703, the rotation data transmitted according to gravity sensing device generates the terminal and rotates letter
Breath.
Described information generation module 703, the terminal rotation information, view identification and user mark correspondence are remembered
Record, generates the corresponding view rotation information of the view identification.
In the embodiment of the present application, the view rotation information that server can be uploaded according to terminal is determined to be shown in the terminal
View need adjustment, and further determine that out how to adjust the view according to the view rotation information, then, server can be by
View after adjustment is sent to terminal and shown.Because server is uploaded during the view is adjusted according to terminal
The adjustment of view rotation information, the view rotation information reflects the situation that user rotates terminal when checking the view, so,
Server adjusts the view that can obtain and can normally be shown in terminal after the view according to the view rotation information, i.e. Yong Hucha
When seeing the view after the adjustment that server is sent, the operation bidirectional of terminal is rotated without performing again, so as to be regarded to user browsing
Facility is brought during figure.
In the 1990s, for a technology improvement can clearly distinguish be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for the improvement of method flow).So
And, with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Special IC chip.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " patrols
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should
This understands, it is only necessary to slightly programming in logic and be programmed into method flow in integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method flow can be just readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device
Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but is not limited to following microcontroller
Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited
Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with
Pure computer readable program code mode is realized beyond controller, can be made completely by the way that method and step is carried out into programming in logic
Obtain controller and come real in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it
The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions is regarded
For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity,
Or realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap
Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
Positioned at including in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for system
Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art
For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent
Replace, improve etc., it should be included within the scope of claims hereof.
Claims (24)
1. a kind of method of view adjustment, it is characterised in that including:
View is sent into terminal to show;
Gather the terminal and be directed to the view rotation information that the view is uploaded;
According to the view rotation information, the adjustment mode of the view is determined;
The view is adjusted according to the adjustment mode.
2. the method as described in claim 1, it is characterised in that view is sent to terminal and shown, is specifically included:
View is sent into multiple terminals to show;
Gather the terminal and be directed to the view rotation information that the view is uploaded, specifically include:
Gather multiple view rotation informations that all or part of terminal in the multiple terminal is uploaded for the view respectively.
3. method as claimed in claim 2, it is characterised in that according to the view rotation information, determine the tune of the view
Perfect square formula, is specifically included:
According to the rotation direction of the view included in each view rotation information of collection, the adjustment side of the view is determined
To;
According to the adjustment direction, the adjustment mode of the view is determined.
4. method as claimed in claim 3, it is characterised in that determine the adjustment direction of the view, specifically include:
According to the user's mark and each rotation direction of the view included in each view rotation information of collection, it is determined that each
Different rotation directions distinguishes the quantity of corresponding user's mark;
The rotation direction for the quantity maximum that corresponding user is identified is defined as the adjustment direction of the view.
5. method as claimed in claim 3, it is characterised in that according to the adjustment direction, determine the adjustment side of the view
Formula, is specifically included:
According to the adjustment direction and set angle, the adjustment mode of the view is determined;Or
According to the rotational angle included in each view rotation information of collection, the adjustment angle of the view is determined, according to described
Adjustment direction and the adjustment angle determined, determine the adjustment mode of the view.
6. method as claimed in claim 5, it is characterised in that according to the angle of rotation included in each view rotation information of collection
Degree, determines the adjustment angle of the view, specifically includes:
For each user mark included in each view rotation information, it is determined that the user pre-saved identifies corresponding benchmark
Angle, the references angle is to identify corresponding historical view rotation information previously according to the user to determine;
The rotational angle of the view according to included in the view rotation information identified comprising the user and determine
The references angle, determines that the view corresponds to the relative rotation angle that the user identifies;
The relative rotation angle determined is identified according to for each user, the adjustment angle of the view is determined.
7. the method as described in claim 1, it is characterised in that according to the view rotation information, determine the tune of the view
Before perfect square formula, methods described also includes:
When including the view identification of multiple views in the view rotation information, it is determined that needing the view adjusted.
8. method as claimed in claim 7, it is characterised in that it is determined that needing the view adjusted, specifically include:
For each view identification included in the view rotation information, using the view identification as view identification undetermined, from
Each view rotation information for including the view identification undetermined is determined in each view rotation information of collection;
In all view identifications included from each view rotation information determined, determine in addition to the view identification undetermined
At least one other view identification;
Include other described view identifications when not found in each view rotation information in collection and undetermined regarded not comprising this
During the view rotation information of map logo, it is determined that need the corresponding view of the adjustment view identification undetermined.
9. a kind of method of view adjustment, it is characterised in that including:
The view of terminal the reception server transmission and display;
During the view is shown, monitor whether itself rotates;
When monitoring to rotate, it is determined that the view identification of the view currently shown, and generate terminal rotation information;
Recorded the terminal rotation information is corresponding with view identification, generate the corresponding view of the view identification and rotate letter
Breath;
The view rotation information is uploaded onto the server, so that the server is according to being adjusted the view rotation information
View.
10. method as claimed in claim 9, it is characterised in that monitor to rotate, specifically include:
When the rotational angle for monitoring the terminal exceeds given threshold, it is determined that monitor to rotate.
11. method as claimed in claim 9, it is characterised in that monitor whether itself rotates, is specifically included:
By preset gravity sensing device, monitor whether itself rotates;
Terminal rotation information is generated, is specifically included:
The rotation data transmitted according to gravity sensing device, generates the terminal rotation information.
12. method as claimed in claim 9, it is characterised in that by terminal rotation information progress corresponding with view identification
Record, generates the corresponding view rotation information of the view identification, specifically includes:
The terminal rotation information, view identification and user mark correspondence are recorded, the view identification correspondence is generated
View rotation information.
13. a kind of device of view adjustment, it is characterised in that including:
View sending module, is sent to terminal by view and shows;
Information acquisition module, gathers the terminal and is directed to the view rotation information that the view is uploaded;
Determining module, according to the view rotation information, determines the adjustment mode of the view;
View adjusting module, the view is adjusted according to the adjustment mode.
14. device as claimed in claim 13, it is characterised in that the view sending module, multiple ends are sent to by view
End display;
Described information acquisition module, gathers what all or part of terminal in the multiple terminal was uploaded for the view respectively
Multiple view rotation informations.
15. device as claimed in claim 13, it is characterised in that the determining module, rotates according to each view of collection and believes
The rotation direction of the view included in breath, determines the adjustment direction of the view;According to the adjustment direction, it is determined that described
The adjustment mode of view.
16. device as claimed in claim 15, it is characterised in that the determining module, rotates according to each view of collection and believes
The user's mark and each rotation direction of the view included in breath, is used it is determined that each different rotation direction difference is corresponding
The quantity of family mark;The rotation direction for the quantity maximum that corresponding user is identified is defined as the adjustment direction of the view.
17. device as claimed in claim 15, it is characterised in that the determining module, according to the adjustment direction and set
Determine angle, determine the adjustment mode of the view;Or the rotational angle included in each view rotation information according to collection, it is determined that
The adjustment angle of the view, according to the adjustment direction and the adjustment angle determined, determines the adjustment side of the view
Formula.
18. device as claimed in claim 17, it is characterised in that the determining module, for being wrapped in each view rotation information
The each user mark contained, it is determined that the user pre-saved identifies corresponding references angle, the references angle is advance root
Identify what corresponding historical view rotation information was determined according to the user;According to institute in the view rotation information identified comprising the user
Comprising the view rotational angle and the references angle determined, determine that the view is identified corresponding to the user
Relative rotation angle;The relative rotation angle determined is identified according to for each user, the adjustment of the view is determined
Angle.
19. device as claimed in claim 13, it is characterised in that the determining module, when bag in the view rotation information
During view identification containing multiple views, it is determined that needing the view adjusted.
20. device as claimed in claim 19, it is characterised in that the determining module, in the view rotation information
Comprising each view identification, using the view identification as view identification undetermined, from each view rotation information of collection determine
Each view rotation information comprising the view identification undetermined;All view identifications included from each view rotation information determined
In, determine at least one other view identification in addition to the view identification undetermined;When each view rotation information in collection
In do not find when including other described view identifications and view rotation information not comprising the view identification undetermined, it is determined that
Need the corresponding view of the adjustment view identification undetermined.
21. a kind of view adjusting apparatus, it is characterised in that including:
Display module is received, the view that terminal the reception server is sent and display;
Monitoring modular is rotated, during the view is shown, monitors whether itself rotates;
Mark module is determined, when monitoring to rotate, it is determined that the view identification of the view currently shown, and generate terminal turn
Dynamic information;
Information generating module, is recorded the terminal rotation information is corresponding with view identification, generates the view identification pair
The view rotation information answered;
Information uploading module, the view rotation information is uploaded onto the server, so that the server turns according to the view
Dynamic information adjusts the view.
22. device as claimed in claim 21, it is characterised in that the rotation monitoring modular, when monitoring the terminal
When rotational angle exceeds given threshold, it is determined that monitor to rotate.
23. device as claimed in claim 21, it is characterised in that the rotation monitoring modular, passes through preset gravity sensing
Device, monitors whether itself rotates;
Described information generation module, the rotation data transmitted according to gravity sensing device generates the terminal rotation information.
24. device as claimed in claim 21, it is characterised in that described information generation module, by the terminal rotation information,
View identification and user's mark correspondence are recorded, and generate the corresponding view rotation information of the view identification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611150489.6A CN107094200B (en) | 2016-12-14 | 2016-12-14 | View adjusting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611150489.6A CN107094200B (en) | 2016-12-14 | 2016-12-14 | View adjusting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107094200A true CN107094200A (en) | 2017-08-25 |
CN107094200B CN107094200B (en) | 2020-03-10 |
Family
ID=59648759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611150489.6A Active CN107094200B (en) | 2016-12-14 | 2016-12-14 | View adjusting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107094200B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1742480A (en) * | 2003-01-28 | 2006-03-01 | 索尼株式会社 | Information processing device, information processing method, and computer program |
CN103677539A (en) * | 2012-09-18 | 2014-03-26 | 阿里巴巴集团控股有限公司 | Method and device for adjusting interfaces |
CN104735035A (en) * | 2013-12-24 | 2015-06-24 | 成都金手指有尔互动科技有限公司 | Digital media multi-screen synchronous display device and method |
WO2015131787A1 (en) * | 2014-03-04 | 2015-09-11 | 飞天诚信科技股份有限公司 | Screen adaptation method and apparatus |
CN105302420A (en) * | 2015-11-18 | 2016-02-03 | 成都中科创达软件有限公司 | Picture display method and system in mobile terminal |
CN105376413A (en) * | 2015-11-27 | 2016-03-02 | 努比亚技术有限公司 | Screen rotation method, screen rotation device and mobile terminal |
CN105988677A (en) * | 2015-02-25 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Method and device for controlling page brightness |
CN106034067A (en) * | 2015-03-19 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Picture display method, apparatus and system of instant messaging client |
-
2016
- 2016-12-14 CN CN201611150489.6A patent/CN107094200B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1742480A (en) * | 2003-01-28 | 2006-03-01 | 索尼株式会社 | Information processing device, information processing method, and computer program |
CN103677539A (en) * | 2012-09-18 | 2014-03-26 | 阿里巴巴集团控股有限公司 | Method and device for adjusting interfaces |
CN104735035A (en) * | 2013-12-24 | 2015-06-24 | 成都金手指有尔互动科技有限公司 | Digital media multi-screen synchronous display device and method |
WO2015131787A1 (en) * | 2014-03-04 | 2015-09-11 | 飞天诚信科技股份有限公司 | Screen adaptation method and apparatus |
CN105988677A (en) * | 2015-02-25 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Method and device for controlling page brightness |
CN106034067A (en) * | 2015-03-19 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Picture display method, apparatus and system of instant messaging client |
CN105302420A (en) * | 2015-11-18 | 2016-02-03 | 成都中科创达软件有限公司 | Picture display method and system in mobile terminal |
CN105376413A (en) * | 2015-11-27 | 2016-03-02 | 努比亚技术有限公司 | Screen rotation method, screen rotation device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107094200B (en) | 2020-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6286442B2 (en) | Method, apparatus, facility, program and recording medium for controlling rotation of screen screen | |
US8463075B2 (en) | Dynamically resizing text area on a display device | |
US9973647B2 (en) | Suggesting image files for deletion based on image file parameters | |
AU2014384635A1 (en) | Systems and methods for managing content items having multiple resolutions | |
US20150170039A1 (en) | Apparatus and method for determining trends in picture taking activity | |
CN104020842B (en) | A kind of display methods and device, electronic equipment | |
CN107807764A (en) | A kind of page display method and client | |
US9262389B2 (en) | Resource-adaptive content delivery on client devices | |
CN108322359A (en) | A kind of acquisition methods and device of page initial screen time | |
US10129504B2 (en) | Method and system for measuring quality of video call | |
US20120191223A1 (en) | System and method for automatically selecting sensors | |
CN108875526A (en) | Method, apparatus, system and the computer storage medium of line-of-sight detection | |
US20170364303A1 (en) | Suggesting image files for deletion based on image file parameters | |
BR112018014848B1 (en) | method, system and machine-readable non-transitory media for creating intuitive favorites for users | |
US20150324581A1 (en) | Displaying real-time security events | |
US20170075419A1 (en) | System and method for reducing eye strain of a user operating a display device | |
CN107632853A (en) | A kind of method for information display and device | |
WO2017028619A1 (en) | Desktop display method and apparatus for smart television | |
CN107391763A (en) | Information display method and device | |
CN107094200A (en) | A kind of method and device of view adjustment | |
CN108896070B (en) | Method and device for detecting sensor error in mobile equipment and terminal | |
CN107908552A (en) | A kind of test method based on link, device and equipment | |
CN112528107A (en) | Content data display method and device and server | |
CN105204724B (en) | A kind of method for information display and device | |
US20160110427A1 (en) | Apparatus, system, and method for organizing and embedding applications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |