CN104102408A - Display method and system for increasing utilization ratio of display space - Google Patents

Display method and system for increasing utilization ratio of display space Download PDF

Info

Publication number
CN104102408A
CN104102408A CN201310121922.3A CN201310121922A CN104102408A CN 104102408 A CN104102408 A CN 104102408A CN 201310121922 A CN201310121922 A CN 201310121922A CN 104102408 A CN104102408 A CN 104102408A
Authority
CN
China
Prior art keywords
word line
line number
prompting frame
show
upper area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310121922.3A
Other languages
Chinese (zh)
Other versions
CN104102408B (en
Inventor
王忻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Singularity Xinyuan International Technology Development (Beijing) Co.,Ltd.
Original Assignee
CHONGQING XINMEI AGRICULTURAL INFORMATION TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHONGQING XINMEI AGRICULTURAL INFORMATION TECHNOLOGY CO LTD filed Critical CHONGQING XINMEI AGRICULTURAL INFORMATION TECHNOLOGY CO LTD
Priority to CN201310121922.3A priority Critical patent/CN104102408B/en
Publication of CN104102408A publication Critical patent/CN104102408A/en
Application granted granted Critical
Publication of CN104102408B publication Critical patent/CN104102408B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a display method and system for increasing the utilization ratio of a display space. The method comprises the following steps: receiving inquiry contents input into the edition frame of a user interface by a user, and displaying a prompt frame on the user interface, wherein the edition frame is positioned inside the prompt frame; inquiring in data storage equipment by using a controller; calculating the distances between the edition frame and the upper and lower boundaries of the user interface respectively by using the controller, and determining the number of character lines practically displayed in the upper region and the lower region of the prompt frame; displaying an inquiry result by using the upper region and the lower region of the prompt frame. By arranging the prompt frames on the upper part and the lower part of the edition frame, the utilization ratio of the display space can be increased, the inquiry process is accelerated, and the server performance is improved.

Description

A kind of display packing and system that improves display space utilization factor
Technical field
The present invention relates to multimedia messages display technique field, be specifically related to a kind of display packing and system that improves display space utilization factor.
Background technology
Along with improving constantly of computer hardware performance, driven various UI(User Interface, user interface) innovation of technology.Aspect user interactions UI, various pleasing UI emerge in an endless stream especially, make user aspect software application experience, obtain improvement greatly.By utilizing this close friend's mutual UI, not only improved the quality of software, more improved user's loyalty.Therefore,, in future, UI can, as the most important thing of software development, produce directly impact to the quality of a software.
At present, user is when utilizing UI to inquire about, as shown in Figure 1, editing prompt frame can only be drop-down, in the situation that matching content is too much, or in the situation that user's screen size is limited (mobile phone, flat board), editing prompt frame often can not show whole occurrences, needs user's roll screen just can select.Although the implication of expression the respective option that the editing prompt frame that these can only be drop-down can be definite, can not high-level efficiency utilize display space, affects inquiry velocity, has reduced server performance.
Summary of the invention
In order to overcome the defect existing in above-mentioned prior art, the object of this invention is to provide a kind of display packing and system that improves display space utilization factor, the present invention can improve the utilization factor of display space, accelerates query script, improves server performance.
In order to realize above-mentioned purpose of the present invention, according to an aspect of the present invention, the invention provides a kind of method that improves display space utilization factor, comprise the steps:
S1, receives the query contents that user inputs in the edit box of user interface, display reminding frame in described user interface, and it is inner that described edit box is positioned at described prompting frame;
S2, controller is inquired about in data storage device;
S3, controller calculate described edit box respectively with the distance on the upper and lower border of described user interface, determine the upper area of described prompting frame and the word line number of lower area actual displayed;
S4, utilizes the upper area of prompting frame and lower area to show Query Result.
The method of raising display space utilization factor of the present invention all arranges prompting frame in the upper and lower of edit box, can improve the utilization factor of display space, accelerates query script, improves server performance.
In order to realize above-mentioned purpose of the present invention, according to two aspects of the present invention, the invention provides a kind of system that improves display space utilization factor, comprise user interface, controller and data storage device, described user interface is connected with described controller, and described controller is connected with described data storage device; Described controller is when receiving the inquiry request of inputting by the edit box of user interface, in described data storage device, search the result of mating with described inquiry request, calculate simultaneously edit box respectively with the distance on the upper and lower border of user interface, determine the upper area of prompting frame and the word line number of lower area difference actual displayed, and show Query Result at upper area and the lower area of prompting frame.
The system of raising display space utilization factor of the present invention will rationally be utilized page space, in the upper and lower of edit box, prompting frame will all be set and carry out result demonstration, can improve the utilization factor of display space, accelerate query script, improve server performance.
In a preferred embodiment of the present invention, determine that the method for the upper area of described prompting frame and the word line number of lower area actual displayed is:
If the word line number sum that the lower area of the word line number that the upper area of prompting frame can show and prompting frame can show is more than or equal to word line number to be shown, the word line number that the upper area that the word line number of the upper area actual displayed of prompting frame is prompting frame can show, the word line number of the lower area actual displayed of prompting frame is the word line number that word line number to be shown deducts the upper area actual displayed of prompting frame;
If the word line number sum that the lower area of the word line number that the upper area of prompting frame can show and prompting frame can show is less than word line number to be shown, the word line number of the upper area actual displayed of prompting frame rounds for residue word line number to be shown adds half after 1 the word line number sum that the upper area with prompting frame can show, the word line number of the lower area actual displayed of prompting frame is the word line number that word line number to be shown deducts the upper area actual displayed of prompting frame.
The present invention, by the upper area of prompting frame and the word line number of lower area actual displayed described in calculative determination, utilizes the upper area of prompting frame and bottom to carry out result demonstration simultaneously, can improve the utilization factor of display space.
In a preferred embodiment of the present invention, when the word line number of the upper area actual displayed of prompting frame is greater than the word line number that the upper area of prompting frame can show, or when the word line number of the lower area actual displayed of prompting frame is greater than the word line number that the lower area of prompting frame can show, show scroll bars in prompting frame.Can show any number of Query Results.
In another kind of preferred embodiment of the present invention, in described edit box, after input inquiry content, the color of described query contents and the background color of described edit box are had any different.
The present invention, by utilizing color differentiating inquiry request and Query Result, has improved user search speed and comfort level.
Additional aspect of the present invention and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or additional aspect of the present invention and advantage accompanying drawing below combination obviously and is easily understood becoming the description of embodiment, wherein:
Fig. 1 is prompting frame pattern of the prior art;
Fig. 2 is the process flow diagram that the present invention improves the method for display space utilization factor;
Fig. 3 is the prompting frame pattern in a kind of preferred implementation of the present invention;
Fig. 4 is the process flow diagram of the method for the raising display space utilization factor in a kind of preferred implementation of the present invention;
Fig. 5 is the prompting frame pattern in the another kind of preferred implementation of the present invention;
Fig. 6 is the block scheme that the present invention improves the system of display space utilization factor.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Below by the embodiment being described with reference to the drawings, be exemplary, only for explaining the present invention, and can not be interpreted as limitation of the present invention.
In description of the invention, unless otherwise prescribed and limit, it should be noted that, term " installation ", " being connected ", " connection " should be interpreted broadly, for example, can be mechanical connection or electrical connection, also can be the connection of two element internals, can be to be directly connected, and also can indirectly be connected by intermediary, for the ordinary skill in the art, can understand as the case may be the concrete meaning of above-mentioned term.
The invention provides a kind of method that improves display space utilization factor, as shown in Figure 2, comprise the steps:
Receive the query contents that user inputs in the edit box of user interface, eject prompting frame in user interface, edit box is positioned at prompting frame inside, and edit box is divided into upper and lower two parts by prompting frame, i.e. the upper area of prompting frame and lower area;
Controller is inquired about in data storage device;
Controller calculate edit box respectively with the distance on the upper and lower border of user interface, determine the upper area of prompting frame and the word line number of lower area actual displayed;
Utilize upper area and the lower area of prompting frame to show Query Result.A kind of prompting frame Show Styles of the present invention as shown in Figure 3.
As shown in Figure 4, in a kind of preferred implementation of the present invention, when user is by edit box input inquiry information, controller is inquired about and is obtained word line number to be shown in data storage device; With Time Controller calculate edit box respectively with the distance on the upper and lower border of user interface, determine the upper area of prompting frame and the word line number that lower area can show.Then controller judges whether prompting frame can show word line number to be shown completely, and the word line number of the upper area of definite prompting frame and lower area actual displayed, concrete method is: if the word line number sum that the lower area of the word line number that the upper area of prompting frame can show and prompting frame can show is more than or equal to word line number to be shown, the word line number that the upper area that the word line number of the upper area actual displayed of prompting frame is prompting frame can show, the word line number of the lower area actual displayed of prompting frame is the word line number that word line number to be shown deducts the upper area actual displayed of prompting frame, if the word line number sum that the lower area of the word line number that the upper area of prompting frame can show and prompting frame can show is less than word line number to be shown, the word line number of the upper area actual displayed of prompting frame rounds for residue word line number to be shown adds half after 1 the word line number sum that the upper area with prompting frame can show, the word line number of the lower area actual displayed of prompting frame is the word line number that word line number to be shown deducts the upper area actual displayed of prompting frame.
Be formulated as:
If the height of current page display font is font_height,
The distance of edit box and user interface coboundary is edit_up_height,
The distance of edit box and user interface lower boundary is edit_down_height,
The word line number that upper area of prompting frame can show is:
n_up=edit_up_height/font_height;
The word line number that lower area of prompting frame can show is:
n_down=edit_down_height/font_height;
After controller is inquired about in data storage device, the word line number to be shown of determining is n_target,
The word line number B of the word line number A of the upper area actual displayed of prompting frame and the lower area actual displayed of prompting frame is:
If (n_up+n_down) >=n_target, prompting frame can show Query Result completely,
A=n_up;
B=n_target-A;
In the other preferred implementation of the present invention, also can make the word line number A of upper area actual displayed of prompting frame and the word line number B of the lower area actual displayed of prompting frame be:
B=n_down;
A=n_target-A。
If (n_up+n_down) <n_target,
Remaining word line number to be shown is
n_rest=n_target-(n_up+n_down);
A=n_up+[(n_rest+1)/2];
B=n_target-A。
Wherein, in [(n_rest+1)/2], be bracket function, (n_rest+1)/2 are rounded.
In a kind of preferred implementation of the present invention, if the word line number n_up that the upper area of prompting frame can show is 2 row, the word line number n_down that the lower area of prompting frame can show is 3 row, word line number n_target to be shown has 10 row, remain so word line number n_rest=10-to be shown (2+3), there are 5 row not show, according to formula, calculate so, [(n_rest+1)/2]=3, the word line number A=2+3=5 of upper area actual displayed that is prompting frame is capable, the word line number B=10-5=5 of the lower area actual displayed of prompting frame is capable, all comprise up and down invisible part, in the present embodiment, when the word line number of the upper area actual displayed of prompting frame is greater than the word line number that the upper area of prompting frame can show, or when the word line number of the lower area actual displayed of prompting frame is greater than the word line number that the lower area of prompting frame can show, show scroll bars reminding user in prompting frame, as shown in Figure 5.
In the present embodiment, in edit box, after input inquiry content, the color of query contents and the background color of edit box are had any different.In a kind of embodiment being more preferably of the present invention, in edit box during input inquiry content, user interface will eject prompting frame, the word of active user's input is reddened, the background of edit box becomes ash, by utilizing color differentiating inquiry request and Query Result, user search speed and comfort level have been improved.
The method of raising display space utilization factor of the present invention all arranges prompting frame in the upper and lower of edit box, can improve the utilization factor of display space, accelerates query script, improves server performance.
The present invention also provides a kind of system that improves display space utilization factor, and as shown in Figure 6, it comprises user interface 1, controller 2 and data storage device 3, and wherein, user interface 1 is connected with controller 2, and controller 2 is connected with data storage device 3.When inquiring about, user is by the edit box input inquiry request of user interface 1, user interface ejects prompting frame, edit box is divided into upper area and lower area two parts by prompting frame, controller 2 is searched the result of mating with inquiry request after receiving inquiry request in data storage device 3, controller 2 calculate simultaneously edit box respectively with the distance on the upper and lower border of user interface 1, determine the upper area of prompting frame and the word line number of lower area difference actual displayed, and show Query Result at upper area and the lower area of prompting frame.This system will rationally be utilized page space, in the upper and lower of edit box, prompting frame will all be set and carry out result demonstration, can improve the utilization factor of display space, accelerate query script, improve server performance.Because system embodiment is more to the similar content of embodiment of the method, that therefore introduces is simpler, and related content refers to embodiment of the method part.
In the description of this instructions, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And the specific features of description, structure, material or feature can be with suitable mode combinations in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that: in the situation that not departing from principle of the present invention and aim, can carry out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is limited by claim and equivalent thereof.

Claims (8)

1. a method that improves display space utilization factor, is characterized in that, comprises the steps:
S1, receives the query contents that user inputs in the edit box of user interface, display reminding frame in described user interface, and it is inner that described edit box is positioned at described prompting frame;
S2, controller is inquired about in data storage device;
S3, controller calculate described edit box respectively with the distance on the upper and lower border of described user interface, determine the upper area of described prompting frame and the word line number of lower area actual displayed;
S4, utilizes the upper area of prompting frame and lower area to show Query Result.
2. the method for raising display space utilization factor as claimed in claim 1, is characterized in that, determines that the method for the upper area of described prompting frame and the word line number of lower area actual displayed is:
If the word line number sum that the lower area of the word line number that the upper area of prompting frame can show and prompting frame can show is more than or equal to word line number to be shown, the word line number that the upper area that the word line number of the upper area actual displayed of prompting frame is prompting frame can show, the word line number of the lower area actual displayed of prompting frame is the word line number that word line number to be shown deducts the upper area actual displayed of prompting frame;
If the word line number sum that the lower area of the word line number that the upper area of prompting frame can show and prompting frame can show is less than word line number to be shown, the word line number of the upper area actual displayed of prompting frame rounds for residue word line number to be shown adds half after 1 the word line number sum that the upper area with prompting frame can show, the word line number of the lower area actual displayed of prompting frame is the word line number that word line number to be shown deducts the upper area actual displayed of prompting frame.
3. the method for raising display space utilization factor as claimed in claim 2, it is characterized in that, when the word line number of the upper area actual displayed of prompting frame is greater than the word line number that the upper area of prompting frame can show, or when the word line number of the lower area actual displayed of prompting frame is greater than the word line number that the lower area of prompting frame can show, show scroll bars in prompting frame.
4. the method for raising display space utilization factor as claimed in claim 1, is characterized in that, in described edit box, after input inquiry content, the color of described query contents and the background color of described edit box are had any different.
5. a system that improves display space utilization factor, is characterized in that, comprising: user interface, controller and data storage device, and described user interface is connected with described controller, and described controller is connected with described data storage device;
Described controller is when receiving the inquiry request of inputting by the edit box of user interface, in described data storage device, search the result of mating with described inquiry request, calculate simultaneously edit box respectively with the distance on the upper and lower border of user interface, determine the upper area of prompting frame and the word line number of lower area difference actual displayed, and show Query Result at upper area and the lower area of prompting frame.
6. the system of raising display space utilization factor as claimed in claim 5, is characterized in that, the word line number that the upper area of described prompting frame and lower area can show is:
If the word line number sum that the lower area of the word line number that the upper area of prompting frame can show and prompting frame can show is more than or equal to word line number to be shown, the word line number that the upper area that the word line number of the upper area actual displayed of prompting frame is prompting frame can show, the word line number of the lower area actual displayed of prompting frame is the word line number that word line number to be shown deducts the upper area actual displayed of prompting frame;
If the word line number sum that the lower area of the word line number that the upper area of prompting frame can show and prompting frame can show is less than word line number to be shown, the word line number of the upper area actual displayed of prompting frame rounds for residue word line number to be shown adds half after 1 the word line number sum that the upper area with prompting frame can show, the word line number of the lower area actual displayed of prompting frame is the word line number that word line number to be shown deducts the upper area actual displayed of prompting frame.
7. the system of raising display space utilization factor as claimed in claim 5, it is characterized in that, when the word line number of the upper area actual displayed of prompting frame is greater than the word line number that the upper area of prompting frame can show, or when the word line number of the lower area actual displayed of prompting frame is greater than the word line number that the lower area of prompting frame can show, in prompting frame, show scroll bar.
8. the system of raising display space utilization factor as claimed in claim 5, is characterized in that, in described edit box, the color of query contents and the background color of described edit box are had any different.
CN201310121922.3A 2013-04-09 2013-04-09 A kind of display methods and system for improving display space utilization rate Active CN104102408B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310121922.3A CN104102408B (en) 2013-04-09 2013-04-09 A kind of display methods and system for improving display space utilization rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310121922.3A CN104102408B (en) 2013-04-09 2013-04-09 A kind of display methods and system for improving display space utilization rate

Publications (2)

Publication Number Publication Date
CN104102408A true CN104102408A (en) 2014-10-15
CN104102408B CN104102408B (en) 2017-06-16

Family

ID=51670599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310121922.3A Active CN104102408B (en) 2013-04-09 2013-04-09 A kind of display methods and system for improving display space utilization rate

Country Status (1)

Country Link
CN (1) CN104102408B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115620A (en) * 2021-10-27 2022-03-01 青岛海尔科技有限公司 Prompt box response method and device, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030202002A1 (en) * 2002-01-30 2003-10-30 Amarender Kethireddy User interface and method for providing search query syntax help
CN1834865A (en) * 2005-03-18 2006-09-20 马贤亮 Multi-character continuous inputting method of Chinese phonetic and notional phonetic alphabet with digitally coded on keypad
CN1916905A (en) * 2006-09-04 2007-02-21 北京航空航天大学 Method for carrying out retrieval hint based on inverted list
US20110047514A1 (en) * 2009-08-24 2011-02-24 Emma Butin Recording display-independent computerized guidance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030202002A1 (en) * 2002-01-30 2003-10-30 Amarender Kethireddy User interface and method for providing search query syntax help
CN1834865A (en) * 2005-03-18 2006-09-20 马贤亮 Multi-character continuous inputting method of Chinese phonetic and notional phonetic alphabet with digitally coded on keypad
CN1916905A (en) * 2006-09-04 2007-02-21 北京航空航天大学 Method for carrying out retrieval hint based on inverted list
US20110047514A1 (en) * 2009-08-24 2011-02-24 Emma Butin Recording display-independent computerized guidance

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115620A (en) * 2021-10-27 2022-03-01 青岛海尔科技有限公司 Prompt box response method and device, storage medium and electronic device
CN114115620B (en) * 2021-10-27 2023-10-24 青岛海尔科技有限公司 Prompt box response method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN104102408B (en) 2017-06-16

Similar Documents

Publication Publication Date Title
US11369872B2 (en) Storage medium storing game program, game processing method, and information processing apparatus
KR101710465B1 (en) Search recommendation method and apparatus
CN105808044B (en) Information pushing method and device
CN106796517A (en) Personal digital assistant is called by means of neighbouring equipment
CN104038705B (en) Video creating method and device
CN105975550B (en) Question searching method and device of intelligent equipment
CN102473319A (en) Animation control device, animation control method and animation control program
KR20150036106A (en) Creating variations when transforming data into consumable content
CN102160371A (en) Image display apparatus and method for controlling same
CN104598225A (en) Method, device and system for inserting view information into page
US20120329540A1 (en) Computer-implemented video puzzles
US20140129929A1 (en) Display apparatus and character correcting method thereof
US20140149943A1 (en) Method and apparatus for generating dynamic wallpaper
JP2013089195A5 (en)
CN102402755A (en) Method for dividing display screen for playing advertisement
CN104125343A (en) System and method for realizing scrolling of mobile phone scroll bar by accelerated air movement
KR101708048B1 (en) Method and device for search and recommendation
CN104053066B (en) The method and device that a kind of video is got ready
CN104102408A (en) Display method and system for increasing utilization ratio of display space
CN104254875A (en) Information processing device, information processing method, and information processing computer program product
CN105892800A (en) Intelligent terminal message display method and device, and intelligent terminal
CN105389021A (en) Input box information display method and display apparatus
CN111954076A (en) Resource display method and device and electronic equipment
CN108090062A (en) A kind of page furbishing method and device
CN104035667A (en) Candidate message display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200610

Address after: Room 502-1, floor 5, building 2, courtyard 10, KEGU 1st Street, economic development zone, Daxing District, Beijing 100081

Patentee after: Singularity Xinyuan International Technology Development (Beijing) Co.,Ltd.

Address before: The 401121 northern New District of Chongqing municipality Mount Huangshan Road 5 south of Mercury Technology Building 1 floor office No. 3

Patentee before: A-MEDIA COMMUNICATION TECH Co.,Ltd.

TR01 Transfer of patent right