Specific embodiment
It is specifically real below in conjunction with the application to make purpose, technical scheme and the advantage of the application clearer
Apply example and corresponding accompanying drawing is clearly and completely described to technical scheme.Obviously, it is described
Embodiment is only some embodiments of the present application, rather than the embodiment of whole.Based on the enforcement in the application
Example, the every other enforcement that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of the application protection.
The process of the display information that Fig. 2 is provided for the embodiment of the present application, specifically includes following steps:
S201:Determine terminal screen size.
In actual applications, people are usually used entity viewing area to show that the data that each entity is included are believed
Breath, and in order that entity viewing area is in video data information, can be aobvious without departing from terminal screen size
The data message that each entity is included all is shown in the range of showing, therefore, in the embodiment of the present application,
Terminal can determine that indication range shows without departing from the entity of the screen size according to the size of terminal screen
Area, and before this, terminal need to first determine the size of itself screen.In order to further describe this Shen
Please the method that provided of embodiment, only will be described in detail by taking the entity viewing area in ER figures as an example below.
Multiple entities are generally all included in ER figures, wherein, each entity corresponds to an entity viewing area,
And each entity viewing area can occupy the certain region of terminal screen, in order to as far as possible by each entity
Between relation all show, make user in entity viewing area is checked it is shown go out data message
When, without the need for by way of scrolling operations, you can in present terminal screen in shown entity viewing area
The total data information that each entity is included is viewed, then needs the indication range for preventing entity viewing area from mistake
Greatly, i.e., the size of terminal screen can not be exceeded, and because the size of usual terminal screen is constant, therefore,
Terminal it is determined that each entity viewing area indication range when, can be determined based on the size of terminal screen, and
Before this, terminal can first determine the size of terminal screen.
In actual applications, each terminal screen is owned by respective parameter, generally comprises in these parameters and end
The related parameter of end screen size, terminal is operationally, you can obtain the screen from the operating system of operation
Parameters, therefore, terminal can determine the size of terminal screen according to the parameters of terminal screen.
In addition, user can also be actively entered the size of the screen so that terminal is monitoring being somebody's turn to do for user input
After the size of screen, the size of the screen is determined.
It should be noted that in actual applications, when showing that ER schemes, not necessarily take whole whole
End screen, user according to personal habits, ER figures is included window circle in terminal screen sometimes
In face, therefore, in the embodiment of the present application, terminal also can determine that the window that ER figures are shown in terminal screen
Interface size, used as the size of the terminal screen determined, specific determination process is:Terminal can by from
Obtain the data message related to the window interface in the operating system that terminal is run to determine window circle
The size in face.
S202:According to the terminal screen size, entity viewing area is determined, wherein, the entity viewing area
Indication range without departing from the terminal screen size.
Terminal can be determined for showing after the size for determining terminal screen according to the size of the screen
The indication range of the entity viewing area of the data message that each entity is included, wherein, the entity viewing area it is aobvious
The size without departing from terminal screen is enclosed in demonstration.
Specifically, terminal according to the terminal screen size determined determining the display model of entity viewing area
When enclosing, the length and width that the indication range of the entity viewing area is arranged on the entity viewing area can not be surpassed
Cross in the range of the length and width of terminal screen, as shown in Fig. 3 A, 3B, 3C.
The schematic diagram of the determination entity viewing area indication range that Fig. 3 A, 3B, 3C are provided for the embodiment of the present application.
Assume the indication range of entity viewing area as shown in fig. 3, wherein, illustrate only in terminal screen
A part for entity viewing area indication range, dotted portion exceeds eventually for the width of entity viewing area indication range
End screen width part, due to the entity viewing area width beyond terminal screen width, then this
In application embodiment, the indication range of entity viewing area as shown in Figure 3A is not defined as entity by terminal
The indication range of viewing area.And assume the indication range of another entity viewing area as shown in Figure 3 B, its
In, a part for entity viewing area indication range is equally illustrate only in terminal screen, dotted portion is entity
The length of viewing area indication range exceeds the part of terminal screen length, because the length of the entity viewing area surpasses
The length of terminal screen is gone out, then in the embodiment of the present application, terminal is not also by entity as shown in Figure 3 B
The indication range of viewing area is defined as the indication range of entity viewing area.Shown in Fig. 3 C is the 3rd reality
The indication range of body viewing area, all shows the indication range of entity viewing area in terminal screen, therefore,
Because the indication range of the entity viewing area is without departing from the length of terminal screen and the scope of width, then in this Shen
Please be in embodiment, the indication range of the entity viewing area shown in Fig. 3 C can be defined as entity viewing area by terminal
Indication range.
Moreover, terminal is before the indication range of the guarantee entity viewing area is without departing from terminal screen size
Put, the indication range of entity viewing area can be also set to the indication range of an acquiescence, for example, according to
Default condition, by the indication range of entity viewing area the 1/10 of terminal screen size is defined as.
In addition to the indication range of entity viewing area to be set to the indication range of an acquiescence, terminal also may be used
The physical quantities for showing are needed in ER figures according to the terminal screen size and user input determined, comes true
Make the indication range of entity viewing area.Specifically, terminal can use formula S=(S1-S0)/n is calculating
The indication range of each entity viewing area, wherein, S is indication range, the S of entity viewing area1Determine
The size of terminal screen, S0It is physical quantities for the size of reserved area, n, generally all wraps in reserved area
The region occupied containing the relation line (for representing the contact of each inter-entity) between each entity viewing area and
Some other white spaces, terminal can determine reserved area S according to advance setting0Size.
For example, user according to the actual requirements, the finger for needing to show 15 entities in ER figures is have input to terminal
Order, terminal after the instruction is received, then according to physical quantities 15, and reserved area set in advance
Size S1/ 4, and then can be according to formula S=(S1-S0)/n, by the indication range of each entity viewing area end is defined as
The 1/20 of end screen size.
It should be noted that the formula of above-mentioned determination entity viewing area indication range is not unique, terminal also may be used
The indication range of entity viewing area is determined according to other similar formula, here is not limited.
S203:It is determined that the data message that be displayed in the entity viewing area.
Terminal is after the indication range for determining each entity viewing area, you can determine that each entity viewing area to be shown
The corresponding data message of each entity for showing.Wherein, an entity viewing area is used to show that an entity is corresponding
Data message.For each entity viewing area, the physical name that can be input in the entity viewing area according to user
Claim, or according to the default corresponding entity name in entity viewing area, in data base, determine the entity
The corresponding data message of title, as the entity viewing area data message to display.Certainly, can also be by
It is to display that the data message that user is input into manually in the entity viewing area is defined as the entity viewing area
Data message.
In addition, the entity name that can be also input in the entity viewing area according to user, or according to default
The corresponding entity name in entity viewing area, determines the contact between each entity, determines each inter-entity contact
Method the application in do not limit.
S204:According to default display format, in the entity viewing area, in showing the data message
Without departing from the partial information of the indication range of the entity viewing area, the remaining letter in the data message is hidden
Breath.
What terminal showed in the indication range for determining each entity viewing area and in each entity viewing area domestic demand
After data message, then corresponding number in each entity viewing area, can be shown according to default display format
It is believed that breath, wherein, in each entity viewing area it is shown go out data message quantity without departing from default aobvious
Show each entity viewing area under form can video data information maximum quantity, if exceeding the maximum quantity,
Can will exceed maximum quantity data message be hidden in entity viewing area, and can after the step of S205
In, when monitoring that user performs assigned operation, hiding remaining information is shown in entity viewing area.
Specifically, terminal can be directed to each entity viewing area, according to default display format and step S202
In the indication range of the entity viewing area determined, the data message that will be displayed in the entity viewing area
Several sub-informations are split into, and when showing, a sub-information is shown in the entity viewing area, hidden
Remaining sub-information.Wherein, display of each sub-information of fractionation when being shown with the default display format
Scope is without departing from the indication range of the entity viewing area.
Further, terminal, can first root when fractionation will be displayed in the data message in an entity viewing area
According to the indication range and default display format of the entity viewing area, it is determined that with the display format video data
During information, the max number of characters amount that can be shown in the indication range of the entity viewing area, then determine arbitrary
The no more than designated character quantity of the max number of characters amount, finally with the designated character quantity as a sub-information
Comprising character quantity, the data message that will be displayed in the entity viewing area splits into some height
Information, wherein, the default display format can include font, the font size etc. during video data information, such as
Shown in Fig. 4.
The schematic diagram of the fractionation data message that Fig. 4 is provided for the embodiment of the present application.
In the diagram, entity 1 includes altogether 260 data messages, it is assumed that determined by step S202
Entity viewing area in default display format video data information when, in the entity viewing area most multipotency show
Show 130 characters (max number of characters amount), then can determine that designated character quantity is 120 characters, then will
This 260 data messages split into several sub-informations, in each sub-information in units of 120 characters
Comprising character quantity be less than 120 characters.
Show when, can according to these data messages in each character sequence, acquiescence show come it is most front
One sub-information, hides remaining each sub-information, and solid box represents an entity viewing area in such as Fig. 4, then
Show in the entity viewing area and come a most front sub-information, dotted line frame represents each son hidden after splitting
Information.
S205:When monitoring that user performs assigned operation, show described surplus in the entity viewing area
Remaining information.
Terminal shown after the data message that each entity is included in each entity viewing area in ER figures, can
Whether monitoring user performs assigned operation to entity viewing area, and ought monitor that user performs assigned operation
When, the sub-information hidden in entity viewing area is shown in entity viewing area.
Specifically, terminal shows a sub-information in entity viewing area, and conceals remaining sub-information
Afterwards, the corresponding operation button of assigned operation can be shown in entity viewing area, so that user is pressed by the operation
Button performs assigned operation, when terminal monitoring to user clicks the operation button, in hidden entity viewing area
Currently displaying sub-information, and a sub-information in remaining sub-information is shown, as shown in Figure 5.
The detailed maps of the entity viewing area shown in the ER figures that Fig. 5 is provided for the embodiment of the present application.
For example, it is the entity viewing area of entity 1 in ER figures in Fig. 5, wherein, include 560 in entity 1 altogether
Individual data message, terminal it is determined that after this 560 data messages, can by above-mentioned S204 steps by this 560
Individual data message is split, and (quantity described here is not number of characters to obtain each sub-information and its quantity
Amount, but the quantity of data message), and by the total quantity of data message, Yi Jizi in entity viewing area
The quantity of information is shown.
And due to being only able to display a sub-information in the entity viewing area, other sub-informations are hidden in the reality
In body viewing area, in order to be able to allow users to by specified operation, will be currently displayed in entity viewing area
Sub-information switch to other sub-informations, terminal to show one or several in the entity viewing area
For switching the operation button of sub-information, direction arrow as shown in Figure 5 represents operation button.
When terminal monitoring to user clicks on the operation button shown in Fig. 5, it is determined that monitoring that user performs finger
Fixed operation, then can switch to sub-information currently displayed in entity viewing area adjacent with the sub-information another
One sub-information, i.e. hide currently displayed sub-information, and will come currently displayed sub-information it
Another sub-information front or afterwards is displayed in entity viewing area that (sequence of sub-information is to tear open data message
When being divided into several sub-informations, it is ranked up according to the clooating sequence of each character in data message).Specifically
, when the operation button represented by the left direction arrow in Fig. 5 is clicked on as user, terminal can show entity
Currently displayed sub-information switches to the previous sub-information adjacent with the sub-information in area, when user clicks on
During operation button represented by the right direction arrow in Fig. 5, terminal can will be currently displayed in entity viewing area
Sub-information switch to the latter sub-information adjacent with the sub-information.
It should be noted that the assigned operation performed by the user of described above be not necessarily limited to click on by
The operation of button, user also can be by up and down or left and right is come the entity viewing area of sliding, or the finger on touch screen terminal
Determine gesture operation to switch over each sub-information, obtain required sub-information.
Terminal is described in detail in above-described embodiment to be included the data message that each entity is included determining
Each entity viewing area process, in said process, terminal can according to actual needs, by entity viewing area
Indication range is determined in the OK range without departing from terminal screen size, and the data that each entity is included
Information splits into some sub-informations, in entity in units of the max number of characters amount shown in entity viewing area
A sub-information is only shown in viewing area, and other subdata information are then hidden in the entity viewing area.
When the assigned operation performed by terminal monitoring to user, then can be by the son letter shown by current entity viewing area
Remaining another sub-information of breath, needs to adjust display content by scrolling operations relative to of the prior art
Method for, be effectively reduced operation of the user when the data message that each entity is included is checked, improve
The convenience of user operation.
In the embodiment of the present application, the position of each entity viewing area shown in ER figures is not fixation,
User can be dragged entity viewing area so as to needed for moving to oneself according to the actual demand of oneself
On position, and entity viewing area is during movement, and the entity viewing area connects with other entity viewing areas
The relation line for connecing is adjusted correspondingly also with moving for entity viewing area, also can not carry out corresponding
Adjustment, after the mobile end of entity viewing area, user is voluntarily adjusted i.e. according to the actual demand of oneself
Can.
In step S202, for convenience user can determine and oneself according to the actual demand of oneself
The indication range of the entity viewing area being adapted needed for body, in the embodiment of the present application, user also can be in ER
In figure the indication range for determining each entity viewing area of active, i.e. user can according to the actual demand of itself,
By the drawing tool of ER figures, each entity viewing area is drawn out in ER figures, due to entity viewing area
Indication range is affected by terminal screen size, therefore, user draw entity viewing area when, terminal
The indication range of each entity viewing area that real-time monitoring user is drawn out, when beyond default indication range threshold
During value, then terminal can send the prompting for being adjusted the indication range of entity viewing area to user so that use
Family can be according to the prompting adjustment entity viewing area.
Wherein, above-mentioned indication range threshold value can pass through the formula S=(S in step S2021-S0)/n determining,
The S for determining can be used as above-mentioned indication range threshold value.In addition, the entity viewing area drawn as user
During the indication range threshold value that indication range is determined beyond terminal, terminal can also force the reality for drawing user
Body viewing area is adjusted to the indication range threshold value, and certainly, the entity for adjusting user's drafting in terminal shows
Qu Qian, terminal can also issue the user with adjustment inquiry, if user receives adjustment, terminal shows the entity
Area is adjusted to indication range threshold value, if user does not receive adjustment, terminal can not be to the entity viewing area
It is adjusted.
Due in ER figures, can not only show each entity and the data message for being included, but also meeting
Show for representing the line contacted between each entity viewing area, wherein, the line can be straight line or folding
Line, due to the line also can the certain region of occupied terminal screen, and ER be the characteristics of figure can be directly perceived
The contact shown between entity, therefore, in the embodiment of the present application, in order to as many as possible in ER figures
In show contact between each entity viewing area, terminal can be by the indication range of each entity viewing area as far as possible
Reduce, and due to can be shown that the data message that each entity is included in entity viewing area, user is using
When ER schemes, except checking the contact between each entity viewing area by ER figures, while being also required to check each
The data message that entity is included, therefore, it is shown in each entity viewing area in order to not affect user to check
Data message, double-clicks entity viewing area, pins and widens entity viewing area etc. and amplify behaviour when user performs
When making, then the entity viewing area of diminution can be amplified so that user can easily check that each entity shows
Show the data message included in area, and when user perform click on the reduction operations such as white space when, can be by
The entity viewing area of expansion is reduced into original indication range.
The method of the display information for providing for the embodiment of the present application above, based on same thinking, the application reality
Apply example and a kind of device of display information is also provided, as shown in Figure 6.
The structural representation of the display information device that Fig. 6 is provided for the embodiment of the present application, specifically includes:
First determining module 601, for determining described device screen size;
Second determining module 602, for according to the screen size, determining entity viewing area, wherein, institute
The indication range of entity viewing area is stated without departing from the screen size;
Information determination module 603, for determining the data message that be displayed in the entity viewing area;
First display module 604, for according to default display format, in the entity viewing area, shows
Show in the data message without departing from the entity viewing area size partial information, hide data letter
Remaining information in breath;
Second display module 605, it is aobvious in the entity for when monitoring that user performs assigned operation
Show and show in area the remaining information.
First display module 604 according to default display format and the entity specifically for showing
The size in area, by the data message several sub-informations are split into, wherein, each sub-information is with described
Size when default display format shows is without departing from the size of the entity viewing area;It is aobvious in the entity
Show one sub-information of display in area, hide remaining sub-information.
Second display module 605 is additionally operable to, and before monitoring user performs assigned operation, shows and specifies
Corresponding operation button is operated, so that user performs the assigned operation by the operation button;
Second display module 605 specifically for, when monitoring that user clicks the operation button,
Sub-information currently displaying in the entity viewing area is hidden, and shows in the remaining sub-information
Sub-information.
Described device is applied to show the data message in entity relationship ER figures.
The embodiment of the present application provides a kind of method and device of display information, and the method determines that indication range is less than
The entity viewing area of terminal screen size, and determine the data message that be displayed in the entity viewing area,
According to default display format, show in the entity viewing area without departing from entity viewing area indication range
Partial information, and remaining information is hidden, when monitoring that user performs assigned operation, in entity viewing area
Middle display remaining information.Said method is less than the size of terminal screen due to the indication range of entity viewing area,
And without the need for adjusting content shown in present terminal screen by scrolling operations, therefore entity can be shown
Show the data message in area and show for the line between presentation-entity between each entity viewing area of contact
Within a screen ranges, need to adjust display content by scrolling operations relative to of the prior art
For method, operation of the user when the data message that each entity is included is checked is effectively reduced, improves and use
The convenience of family operation.
In a typical configuration, computing device includes one or more processors (CPU), input/defeated
Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
And/or the form, such as read only memory (ROM) or flash memory (flash RAM) such as Nonvolatile memory (RAM).
Internal memory is the example of computer-readable medium.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by appointing
What method or technique is realizing information Store.Information can be computer-readable instruction, data structure, program
Module 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), dynamic random access memory (DRAM), its
The random access memory (RAM) of his type, read only memory (ROM), electrically erasable are read-only
Memorizer (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory
(CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic cassette tape, tape magnetic
Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be calculated
The information that equipment is accessed.Define according to herein, computer-readable medium does not include temporary computer-readable matchmaker
The data signal and carrier wave of body (transitory media), such as modulation.
Also, it should be noted that term " including ", "comprising" or its any other variant are intended to non-row
His property is included, so that a series of process, method, commodity or equipment including key elements not only includes
Those key elements, but also including other key elements being not expressly set out, or also include for this process,
The intrinsic key element of method, commodity or equipment.In the absence of more restrictions, by sentence " including
One ... " key element that limits, it is not excluded that including the process of the key element, method, commodity or setting
Also there is other identical element in standby.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey
Sequence product.Therefore, the application can using complete hardware embodiment, complete software embodiment or with reference to software and
The form of the embodiment of hardware aspect.And, the application can be adopted and wherein include calculating at one or more
Machine usable program code computer-usable storage medium (including but not limited to disk memory, CD-ROM,
Optical memory etc.) on implement computer program form.
Embodiments herein is the foregoing is only, the application is not limited to.For this area skill
For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle
Any modification, equivalent substitution and improvements of work etc., within the scope of should be included in claims hereof.