Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one
Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under the premise of creative work, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application is provided is described in detail.
The process for the presentation of information that Fig. 1 provides for the embodiment of the present application, specifically includes following steps:
S101:Determine information to be displayed and the attitude data of terminal.
Due to during presentation of information, the information to be displayed can be shown by terminal, so, in the embodiment of the present application
In, the information to be displayed of the terminal and the attitude data of the terminal can be determined by terminal, wherein, the terminal can be mobile whole
Hold (e.g., mobile phone, tablet personal computer etc.).
Specifically, the information to be displayed, can be the information to be displayed produced after the terminal is operated by user, can also
It is the information to be displayed (e.g., server is sent to the information of the terminal) that the terminal receives, the information to be displayed is how to produce
The application do not limit, as long as the terminal can determine the information to be displayed.
Wherein, the information to be displayed can be text message, i.e. the information being made up of character.
In addition, the attitude data of the terminal, can include:The angle of inclination of the terminal, the anglec of rotation of the terminal, the end
The acceleration at end etc., specifically can by the terminal various kinds of sensors, e.g., acceleration transducer, magnetometric sensor, direction sensing
The sensors such as device, gyro sensor are collected.Also, due in the prior art by the various kinds of sensors in terminal,
The posture for determining the terminal has been very ripe technology, so for how to determine attitude data the application of the terminal not
Repeat again.
Further, in the embodiment of the present application, in order to ensure the information to be displayed only in the posture number of the terminal
During according to being matched with default standard attitude data, the information to be displayed just can normally be shown, so in this application, will can also be somebody's turn to do
Information to be displayed is split as some information units, so as to subsequent operation.
Specifically, first, the terminal is directed to each character in the information to be displayed, split according to the character pre-set
Rule, the corresponding raster font of the character is split as the character fragment of some different dimensions.Wherein, it is corresponding by the character
Raster font, it may be determined that each point of character correspondence display in dot matrix, e.g., shown in Fig. 2.
The schematic diagram for the raster font that Fig. 2 provides for the embodiment of the present application.Wherein, it is seen that the corresponding dot matrix of character " state "
Each point of font correspondence display in 25 × 25 dot matrix.
Then, for each character in the information to be displayed, the corresponding raster font of the character can turn the character
The display point of different dimensions is changed to, then the terminal can be directed to each character, according to the fractionation rule pre-set, by the word
Symbol is split as the character fragment of different latitude.For example, for the information to be displayed shown in Fig. 3 a, the terminal can determine that this is to be shown
The corresponding raster font of information, as shown in Figure 3 b, and splits the corresponding each character of the information to be displayed according to different dimensions
For the character fragment of different dimensions, as shown in Figure 3 c.
Further, when the corresponding each character of the information to be displayed is split as the character fragment of different dimensions by the terminal
Afterwards, the character fragment of the corresponding each character identical dimensional of the identical information to be displayed can also be generated an information list by the terminal
Member, i.e. the information to be displayed can be split as multiple information units by the terminal.Wherein, the quantity of the information unit is no less than two
It is individual.
It should be noted that the fractionation rule can be by being manually determined, for example, for the raster font shown in Fig. 2, being somebody's turn to do
1st to the 10th row, the 11st to the 20th row and the 21st row to the 25th row can be split as difference by terminal respectively by splitting rule
The character fragment of dimension, then the character " state " is removable is divided into 3 information units.
Certainly, the split process can be carried out in advance, also can it is determined that after the information to be displayed carry out, the application to this not
Limit.
S102:When the attitude data of the terminal and default standard attitude data are matched, each information unit combination
Go out the information to be displayed.
In the embodiment of the present application, just can root after the terminal determines the information to be displayed corresponding each information unit
According to the standard attitude data pre-set and the attitude data determined in step S101, information to be displayed wind correspondence is determined
The display location that is shown in the screen of the terminal of each information unit.
Specifically, first, the terminal determines each letter generated in step S102 according to the standard attitude data pre-set
The specified display location of interest statement member, wherein, when each information unit, which is in, specifies display location, each information unit is combined into this and treated
Display information, i.e. the information to be displayed can normally be shown.
Secondly, the terminal is each information unit, determines a displacement information according to the displacement rule pre-set,
Wherein, there is corresponding relation between the changing value of each displacement information and the attitude data of the terminal, i.e. when the attitude data is produced
During change, the displacement information, which is also corresponded to, produces change, also, the different corresponding displacement informations of information unit is different, i.e. correspondence
In the changing value of same attitude data, the corresponding displacement information of different information units is different.For example, for information unit A and
For information unit B, attitude data change X, then information unit A displacement information can be to 10 pixels of left,
And information unit B displacement information can translate up 20 pixels.If continuing each information list split out with Fig. 3 c
Exemplified by member, when the attitude data and the standard attitude data are inconsistent, the combination display of each information unit can as shown in Figure 3 d,
It can be seen that, what is shown is not the information to be displayed.
Finally, the terminal can be according to the attitude data and the default standard attitude data determined in step S101, really
Fixed changing value between the attitude data and the standard attitude data, and according to the changing value, determine information to be displayed correspondence
Each information unit displacement information, the position after each information unit is moved according to the corresponding displacement information, as
The display location of the corresponding each information unit of the information to be displayed and display.
Wherein, because the corresponding displacement information of different information units is incomplete same, as long as so posture letter of the terminal
Breath is mismatched with the standard attitude information, then each information unit can not just constitute out the information to be displayed so that there was only the terminal
During in particular pose (that is, the corresponding posture of standard attitude data), the terminal can just show normal information to be displayed.
In addition, corresponding between changing value and the displacement information between the attitude data and the standard attitude data
Relation, can be linear corresponding relation, and the displacement information changes with the change of the changing value, wherein, the displacement information with
Corresponding relation between the changing value specifically can be by being manually configured, and the application is to this and is not specifically limited.
Further, the standard attitude data, can be configured in advance in the terminal, certainly, and the standard posture number is occupied
It can be determined by user, specifically, when monitoring the setting operation of user, the attitude data of the terminal is determined into the terminal
Standard attitude data.
It should be noted that moved in the position that displacement information described herein can not only include information unit
Information, can also be included:The information such as color, size, rotation, i.e. be attitude data and the standard attitude data of the terminal not
It is that each information unit change in color, size and in the anglec of rotation occurs during matching.
Pass through the method for authentication as shown in Figure 1, it is seen that the terminal, can basis it is determined that after information to be displayed
The default rule that splits is split as multiple information units through the information to be displayed, and only when each information unit is in specific bit
The information to be displayed just can normally be shown when putting, also, by the displacement information of the corresponding each information unit of the information to be displayed
It is correspondingly arranged with the attitude data of the terminal with the changing value of standard attitude data so that the terminal is only in specific
During posture, each information unit just may be at respective specified location so that user without carrying out any set in the terminal again
The change put, just can reach the effect of the information privacy in display information, simultaneously as when this only exists in a kind of state, this is treated
Display information just can normally be shown, so also reducing the possibility that the information to be displayed is revealed unintentionally, improve information
The security of display.
In addition, the information to be displayed of the terminal and the posture of the terminal by server, can also be determined in this application
Data.
Specifically, the information to be displayed can be sent to the terminal by server or passed through by the terminal
Produced after user's operation, the application is not limiting of how producing for the information to be displayed, as long as the letter to be shown
Breath will be shown on the terminal.
Wherein, can be by the terminal when determining the information to be displayed for being operated by user and being produced in the terminal by server
The information to be displayed is sent to the server, so that the server carries out subsequent operation.
Further, the terminal (or the server) can also be by all words of the information to be displayed in step s 102
Symbol is considered as the fractionation on an entirety progress different dimensions.
It should be noted that for dimension described herein, it is with the vertical of the corresponding dot matrix of raster font not limit
To and be laterally dimension benchmark, the point that the dimension can also be on tilted direction straight line constitutes, or in unit area
Point composition, how the specific dimension defines, and can be determined by fractionation rule, i.e. manually set by staff, the application
This is not limited.
For example, in another embodiment of the application, the corresponding character of information to be displayed " 1234 " can just be split as
Each information unit shown in Fig. 4, wherein, in each information unit, the fractionation in longitudinal dimension is not only existed, and there is also horizontal dimension
Fractionation on degree.
It should be noted that the executive agent that the embodiment of the present application provides each step of method may each be same and set
It is standby, or, this method is also used as executive agent by distinct device.Such as, step S201 and step S202 executive agent can be with
For equipment 1, step S203 executive agent can be equipment 2;Again such as, step S201 executive agent can be equipment 1, step
Rapid S202 and step S203 executive agent can be equipment 2;Etc., i.e. the server can be made up of multiple devices
Distributed server.
Based on the information display process shown in Fig. 1, the embodiment of the present application also corresponds to and provides a kind of device of presentation of information, such as
Shown in Fig. 5.
A kind of structural representation of the device for presentation of information that Fig. 5 provides for the embodiment of the present application, including:
Determining module 201, determines information to be displayed and the attitude data of terminal;
Display module 203, according to the attitude data of the terminal and default standard attitude data, it is determined that described wait to show
Show the display location of the corresponding each information unit of information.
Described device also includes:Module 202 is split, rule is split according to preset characters, the information to be displayed is split
For corresponding at least two information unit
The attitude data includes following at least one:The angle of inclination of the terminal, the anglec of rotation of the terminal.
The fractionation module 202, for each character of the information to be displayed, rule is split according to default character,
The corresponding raster font of the character is split as to the character fragment of some different dimensions, by the corresponding each character fragment of the character,
It is respectively allocated at least two information unit so that when each information unit, which is in, specifies display location, the character pair
Each character fragment answered can constitute and show the character.
The display module 203, according to default standard attitude data, determines the specified display position of each information unit
Put, according to the displacement rule pre-set, determine corresponding between attitude data changing value and the displacement information of each information unit
Relation, wherein, the displacement information of different described information units is incomplete same.
The display module 203, according to the attitude data of the terminal and the default standard attitude data,
The changing value between the attitude data and the standard attitude data is determined, according to the changing value, is determined described to be shown
The displacement information of the corresponding each information unit of information, by each information unit according to corresponding institute's displacement information by the specific bit
The position after moving is put, display location and display as the corresponding each information unit of the information to be displayed.
Specifically, the device of above-mentioned presentation of information as shown in Figure 5 can be located in terminal, the terminal can be hand
The equipment such as machine, tablet personal computer, certainly, the device that described information is shown can be located in server, and the service implement body can be one
Platform equipment or the system being made up of multiple devices, i.e. distributed server.
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.
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.