CN103279902A - Electronic menu display method - Google Patents

Electronic menu display method Download PDF

Info

Publication number
CN103279902A
CN103279902A CN2013101778881A CN201310177888A CN103279902A CN 103279902 A CN103279902 A CN 103279902A CN 2013101778881 A CN2013101778881 A CN 2013101778881A CN 201310177888 A CN201310177888 A CN 201310177888A CN 103279902 A CN103279902 A CN 103279902A
Authority
CN
China
Prior art keywords
vegetable
picture
menu
electronic cookbook
template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013101778881A
Other languages
Chinese (zh)
Inventor
程苏文
王祝龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN VAODE TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN VAODE 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 SHENZHEN VAODE TECHNOLOGY Co Ltd filed Critical SHENZHEN VAODE TECHNOLOGY Co Ltd
Priority to CN2013101778881A priority Critical patent/CN103279902A/en
Publication of CN103279902A publication Critical patent/CN103279902A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an electronic menu display method comprising the following steps of determining row positions of dishes in a menu template, wherein the menu template comprises multiple rows of dish filling areas; determining the target widths of dish pictures corresponding to the dishes according to the row positions of the dishes, and calculating the scaling proportions of the dish pictures according to the target widths; performing scaling processing on the dish pictures according to the scaling proportions; filling the dish pictures subjected to scaling processing into the specified dish filling areas in the dish template and generating an electronic menu; and outputting the electronic menu to a display module and then displaying the electronic menu.

Description

The electronic cookbook display packing
Technical field
The present invention relates to a kind of electronic cookbook technology, especially, relate to a kind of electronic cookbook display packing that adopts waterfall streaming menu template.
Background technology
Conventional restaurant generally adopts the papery menu to carry out craft and orders dishes, particularly, leaf through papery menu and select the vegetable that it need be tasted of client, the vegetable that waiter selects according to the client again is filled up to manual list, and then will manual singly offer the kitchen, the notice kitchen is carried out vegetable and is prepared.But, above-mentioned employing papery menu carries out that manual mode efficient of ordering dishes is lower, and the whole cycle of ordering dishes is longer, and the client need wait for the long time.On the other hand, in case when the dining room need increase or delete some vegetable, generally need make new papery menu again, thereby cause cost waste.
Because there are the problems referred to above in the traditionally on paper menu, the electronic cookbook technology in the application of catering industry more and more widely.The electronic cookbook technology is that a kind of traditional menu and wireless terminal device of merging is in the visual electronics vegetable display technique of one, the terminal device in dining room with menu template and vegetable data (comprising vegetable picture, vegetable title etc.) after storage server downloads to this locality, the vegetable data are filled into the menu template, thereby form the electronic cookbook that comprises at least one menu display page.Adopt the electronic cookbook technology not only to make things convenient for the client to order dishes, and the menu that can upgrade in time according to the vegetable that the dining room provides, save expenses such as menu, menu and manual list for the dining room, realize that the dining room is with no paper.
But, in the existing electronic cookbook technology, terminal device some vegetable dimension of picture and the unmatched situation of menu template may occur after downloading menu template and vegetable content-data, this moment, these vegetable pictures just can't be showed in the menu display page.
Summary of the invention
For addressing the above problem, the invention provides a kind of electronic cookbook display packing that can realize that vegetable picture and menu template are mated automatically.
Electronic cookbook display packing provided by the invention comprises:
Determine vegetable at the column position of menu template, wherein said menu template comprises multiple row vegetable fill area;
According to the column position of described vegetable, determine the target width of its corresponding vegetable picture, and calculate the scaling of described vegetable picture according to described target width;
According to described scaling, described vegetable picture is carried out convergent-divergent handle;
To be filled into the vegetable fill area of appointment in the described vegetable template through the vegetable picture that convergent-divergent is handled, and generate electronic cookbook;
Export described electronic cookbook to display module and carry out the electronic cookbook demonstration.
In electronic cookbook display packing one preferred embodiment provided by the invention, described method also comprises: download described menu template and vegetable content-data from storage server, wherein said vegetable content-data comprises vegetable title, vegetable numbering and vegetable picture.
In electronic cookbook display packing one preferred embodiment provided by the invention, described menu template is waterfall streaming menu template.
In electronic cookbook display packing one preferred embodiment provided by the invention, described column position according to described vegetable, determine that the target width of its corresponding vegetable picture comprises:
Obtain the overall width of menu display page;
According to the shared number percent of every row in the overall width of described menu display page and the described menu template, calculate the width of each row vegetable fill area;
The width of the vegetable fill area of described vegetable column is appointed as the target width of its corresponding vegetable picture.
In electronic cookbook display packing one preferred embodiment provided by the invention, the width of described each row vegetable fill area equals effective pagewidth that column shared number percent in described vegetable fill area multiply by described menu display page, and the overall width that wherein said effective pagewidth equals described menu display page deducts page loss value.
In electronic cookbook display packing one preferred embodiment provided by the invention, described page loss value comprises loss value between page boundary loss value and/or row.
In electronic cookbook display packing one preferred embodiment provided by the invention, described definite vegetable comprises at the column position of menu template: according to the vegetable numbering of described vegetable, be that described vegetable calculates its corresponding column position in described menu template according to natural ordering.
In electronic cookbook display packing one preferred embodiment provided by the invention, the column position of described vegetable calculates by following formula: C=(P/N) gets remainder, and wherein, C is the column position of described vegetable, P is the vegetable numbering of described vegetable, and N is total columns of described menu template.
In electronic cookbook display packing one preferred embodiment provided by the invention, when described vegetable picture being carried out the convergent-divergent processing, the picture height scaling of described vegetable picture is consistent with picture width scaling.
In electronic cookbook display packing one preferred embodiment provided by the invention, the described vegetable fill area that will be filled into appointment in the described vegetable template through the vegetable picture that convergent-divergent is handled comprises:
The described vegetable picture of handling through convergent-divergent is filled into the designated pictures fill area of described menu template according to natural ordering;
Other vegetable information of the vegetable of described vegetable picture representative are filled into the relevant position of described vegetable picture, and wherein said other vegetable information comprise one or more in vegetable title, vegetable price, the vegetable numbering.
In electronic cookbook display packing provided by the invention, described terminal device can carry out convergent-divergent to described vegetable picture according to the position at described vegetable place to be handled, thereby make the dimension of picture of vegetable and the corresponding vegetable of menu template fill area mate automatically, guarantee that downloading the vegetable picture of returning from described storage server can show displaying at the menu display page.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings, wherein:
Fig. 1 is the structural representation of the electronic cookbook display packing provided by the invention electronic cookbook system that can be suitable for;
Fig. 2 is the schematic flow sheet of a kind of embodiment of electronic cookbook display packing provided by the invention;
Fig. 3 is the space of a whole page schematic layout pattern of a kind of optional menu template in the electronic cookbook display packing shown in Figure 2.
Embodiment
To the technical scheme in the embodiment of the invention be clearly and completely described below, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtain under the creative work prerequisite.
See also Fig. 1, it is the structural representation of a kind of preferred embodiment of electronic cookbook display packing electronic cookbook applicatory system provided by the invention.Described electronic cookbook system comprises storage server and a plurality of terminal device, and wherein, described a plurality of terminal devices can be wireless terminal devices such as panel computer or mobile phone, and it can be connected to described storage server by wireless network.Vegetable content-data and menu template that described storage server can system management memory person imports, described terminal device can be downloaded described vegetable content-data and menu template from described storage server, thereby and described vegetable content-data is filled into described menu template generates an electronic cookbook.
See also Fig. 2, it is the schematic flow sheet of a kind of embodiment of electronic cookbook display packing provided by the invention.Described electronic cookbook display packing may further comprise the steps:
Step S1, system manager develop menu template and vegetable content-data, and described menu template and vegetable content-data are imported and store into storage server.
Particularly, at first, the system manager can develop the menu template at background system, and described menu template is imported to described storage server.In the present embodiment, described menu template can be waterfall streaming menu template, described waterfall streaming template has specifically defined electronic cookbook and has adopted waterfall streaming space of a whole page layout, particularly, described menu template can define a plurality of vegetables fill area, arrange in N row mode in described a plurality of vegetables fill area, wherein each vegetable fill area can have a predeterminable area numbering respectively, as shown in Figure 3.
The attribute of described waterfall streaming menu template can include but not limited to following content:
(1) template numbering: the described menu template of uniqueness ground sign;
(2) template name: the system manager gives the title of described menu template definition;
(3) template columns: how many row are the menu space of a whole page layout of menu template definition comprise altogether;
(4) the shared number percent of every row: each is listed in the shared ratio of menu display page.
Certainly, should be appreciated that in specific embodiment, described menu template can also be other forms of menu template.
On the other hand, the system manager can write the vegetable content-data at background system simultaneously, and described vegetable content-data is imported to described storage server.Wherein, described vegetable content-data specifically refers to the specifying information of each vegetable that menu comprises, and the system manager can be numbered each vegetable when described vegetable content-data is write carrying out.In one embodiment, described vegetable content-data can comprise one or more in the information such as vegetable title, vegetable numbering, vegetable picture and vegetable price, in addition, described vegetable content-data can also comprise the vegetable image parameters, such as picture width and/or height.Alternatively, described vegetable content-data can also comprise that vegetable introduces audio data, vegetable manufacturing process video data or other and vegetable content-related information.
Described menu template and described vegetable content-data are directed to after the described storage server, just are stored in the memory module of described storage server inside.
Step S2, terminal device be by the described storage server of access to netwoks, and download described menu template and described vegetable content-data from described storage server.
Client's terminal device can be by being installed in described terminal device inside base application login and visit described storage server, and from the memory module of described storage server with described menu template and the described this locality that downloads to of described vegetable content.
Step S3 determines that each vegetable is at the column position of described menu template.
Described terminal device can be according to the row sequence algorithm, specify it respectively for each vegetable and need be filled into which row of described menu template, such as, described terminal device can be numbered according to vegetable, is that described vegetable calculates its corresponding column position according to natural ordering.Specific algorithm can be as follows: the vegetable of supposing certain vegetable is numbered P, and total columns of described menu template is N, and then the column position C of described vegetable can calculate by following formula: C=(P/N) gets remainder.
For instance, suppose that described menu template comprises three row, then described terminal device can be numbered vegetable first row that 1 vegetable is assigned to described menu template, the vegetable of vegetable numbering 2 is assigned to the secondary series of described menu template, vegetable is numbered the 3rd row that 3 vegetable is assigned to described menu template; Next, again the vegetable of vegetable numbering 4 is assigned to first row of described menu template, the vegetable of vegetable numbering 5 is assigned to the secondary series of described menu template, vegetable is numbered the 3rd row that 6 vegetable is assigned to described menu template; By that analogy.
Step S4 according to the column position of described vegetable, determines the target width of its vegetable picture, and calculates the scaling of described vegetable picture;
Particularly, described terminal device can at first obtain the overall width of menu display page, generally speaking, described menu display page preferably fills up the entire display screen curtain of described terminal device, and therefore the overall width of described menu display page namely is the width of described display screen.
Then, template columns and the shared number percent of every row according to the overall width of described menu display page, described menu template, described terminal device can calculate the width of each row vegetable fill area, alternatively, when determining the width of each row vegetable fill area, can consider page loss value, comprise between page boundary loss value and/or row loss value etc.Suppose that described menu template comprises three row, and each shared ratio of effective pagewidth Wn that is listed in the menu display page is respectively 30%, 40%, 30%, wherein, described effective pagewidth Wn refers to that specifically the overall width W0 of described menu display page deducts loss value Wa.That is to say that the picture width of described three row vegetables is respectively W1=30%*Wn, W2=40%*Wn, W3=30%*Wn, wherein Wn=W0-Wa.
According to the column position of described vegetable appointment and the width of each row vegetable fill area, described terminal device just can be determined the target width of each vegetable picture, and the vegetable fill area width that is about to described vegetable column is appointed as the target width of its corresponding vegetable picture.In above-mentioned example, particularly, the target width that is assigned to the vegetable picture of first row is W1, and the target width that is assigned to the vegetable picture of secondary series is W2, and the target width that is assigned to tertial vegetable picture is W3.
According to original width and the corresponding target width thereof of described vegetable picture, described terminal device just can calculate the scaling of described vegetable picture.
Step S5 according to described scaling, carries out convergent-divergent to described vegetable picture and handles;
Described vegetable picture carries out after the convergent-divergent processing according to described scaling, and its picture width is adjusted to described target width, and therefore the size of described vegetable picture just can be complementary with its assigned address in described menu template.Should be noted in the discussion above that to guaranteeing picture undistortedly, carrying out described convergent-divergent when handling, described vegetable picture carries out the equal proportion convergent-divergent aspect height, and namely the scaling of picture height is consistent with the scaling of picture width.
Step S6 will be filled into the vegetable fill area of appointment in the described menu template through the vegetable picture that convergent-divergent is handled respectively, and generate electronic cookbook;
After described vegetable picture being carried out the convergent-divergent processing, described terminal device just can be filled into described vegetable picture the designated pictures fill area of described menu template according to natural ordering, and, described terminal device can also be filled into information such as the corresponding vegetable title of described vegetable picture, vegetable price, vegetable numbering the relevant position of described vegetable picture, thereby generates waterfall streaming electronic cookbook.
Step S7, the display module of described electronic cookbook being exported to terminal device carries out the electronic cookbook demonstration.
In the electronic cookbook display packing provided by the invention, described terminal device can carry out convergent-divergent to described vegetable picture according to the position at described vegetable place to be handled, thereby make the dimension of picture of vegetable and the corresponding vegetable of menu template fill area mate automatically, guarantee that downloading the vegetable picture of returning from described storage server can show displaying at the menu display page.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes description of the present invention to do; or directly or indirectly be used in other relevant technical field, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. an electronic cookbook display packing is characterized in that, comprising:
Determine vegetable at the column position of menu template, wherein said menu template comprises multiple row vegetable fill area;
According to the column position of described vegetable, determine the target width of its corresponding vegetable picture, and calculate the scaling of described vegetable picture according to described target width;
According to described scaling, described vegetable picture is carried out convergent-divergent handle;
To be filled into the vegetable fill area of appointment in the described vegetable template through the vegetable picture that convergent-divergent is handled, and generate electronic cookbook;
Export described electronic cookbook to display module and carry out the electronic cookbook demonstration.
2. electronic cookbook display packing according to claim 1 is characterized in that, also comprises: download described menu template and vegetable content-data from storage server, wherein said vegetable content-data comprises vegetable title, vegetable numbering and vegetable picture.
3. electronic cookbook display packing according to claim 2 is characterized in that, described menu template is waterfall streaming menu template.
4. electronic cookbook display packing according to claim 1 is characterized in that, described column position according to described vegetable determines that the target width of its corresponding vegetable picture comprises:
Obtain the overall width of menu display page;
According to the shared number percent of every row in the overall width of described menu display page and the described menu template, calculate the width of each row vegetable fill area;
The width of the vegetable fill area of described vegetable column is appointed as the target width of its corresponding vegetable picture.
5. electronic cookbook display packing according to claim 4, it is characterized in that, the width of described each row vegetable fill area equals effective pagewidth that column shared number percent in described vegetable fill area multiply by described menu display page, and the overall width that wherein said effective pagewidth equals described menu display page deducts page loss value.
6. electronic cookbook display packing according to claim 5 is characterized in that, described page loss value comprises loss value between page boundary loss value and/or row.
7. electronic cookbook display packing according to claim 1, it is characterized in that, described definite vegetable comprises at the column position of menu template: according to the vegetable numbering of described vegetable, be that described vegetable calculates its corresponding column position in described menu template according to natural ordering.
8. electronic cookbook display packing according to claim 7 is characterized in that, the column position of described vegetable calculates by following formula: C=(P/N) gets remainder, wherein, C is the column position of described vegetable, and P is the vegetable numbering of described vegetable, and N is total columns of described menu template.
9. electronic cookbook display packing according to claim 1 is characterized in that, when described vegetable picture being carried out the convergent-divergent processing, the picture height scaling of described vegetable picture is consistent with picture width scaling.
10. electronic cookbook display packing according to claim 1 is characterized in that, the described vegetable fill area that will be filled into appointment in the described vegetable template through the vegetable picture that convergent-divergent is handled comprises:
The described vegetable picture of handling through convergent-divergent is filled into the designated pictures fill area of described menu template according to natural ordering;
Other vegetable information of the vegetable of described vegetable picture representative are filled into the relevant position of described vegetable picture, and wherein said other vegetable information comprise one or more in vegetable title, vegetable price, the vegetable numbering.
CN2013101778881A 2013-05-15 2013-05-15 Electronic menu display method Pending CN103279902A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101778881A CN103279902A (en) 2013-05-15 2013-05-15 Electronic menu display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013101778881A CN103279902A (en) 2013-05-15 2013-05-15 Electronic menu display method

Publications (1)

Publication Number Publication Date
CN103279902A true CN103279902A (en) 2013-09-04

Family

ID=49062409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101778881A Pending CN103279902A (en) 2013-05-15 2013-05-15 Electronic menu display method

Country Status (1)

Country Link
CN (1) CN103279902A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546820A (en) * 2013-10-30 2014-01-29 乐视致新电子科技(天津)有限公司 Cloud television picture presentation method and device
CN103702216A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Intelligent terminal and method for displaying video images by same
CN105095200A (en) * 2014-04-16 2015-11-25 北大方正集团有限公司 Method and device for displaying picture in waterfall flow manner
CN106020853A (en) * 2016-07-13 2016-10-12 福建万合网络科技有限公司 Traditional menu electronization method
CN108228816A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 A kind of loading method and device of waterfall flow graph piece
CN109740597A (en) * 2018-12-29 2019-05-10 口碑(上海)信息技术有限公司 The recognition methods of menu information and device
CN110209965A (en) * 2018-02-14 2019-09-06 北京京东尚科信息技术有限公司 Method and apparatus for showing information

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202003357U (en) * 2011-01-25 2011-10-05 于丙超 Electronic menu and electronic dish-order system
CN102999599A (en) * 2012-11-19 2013-03-27 北京奇虎科技有限公司 Method and device for displaying picture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202003357U (en) * 2011-01-25 2011-10-05 于丙超 Electronic menu and electronic dish-order system
CN102999599A (en) * 2012-11-19 2013-03-27 北京奇虎科技有限公司 Method and device for displaying picture

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546820A (en) * 2013-10-30 2014-01-29 乐视致新电子科技(天津)有限公司 Cloud television picture presentation method and device
CN103546820B (en) * 2013-10-30 2017-03-15 乐视致新电子科技(天津)有限公司 Cloud television picture presentation method and device
CN103702216A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Intelligent terminal and method for displaying video images by same
CN105095200A (en) * 2014-04-16 2015-11-25 北大方正集团有限公司 Method and device for displaying picture in waterfall flow manner
CN105095200B (en) * 2014-04-16 2018-06-29 北大方正集团有限公司 The method and apparatus that picture is shown in a manner of waterfall stream
CN106020853A (en) * 2016-07-13 2016-10-12 福建万合网络科技有限公司 Traditional menu electronization method
CN108228816A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 A kind of loading method and device of waterfall flow graph piece
CN110209965A (en) * 2018-02-14 2019-09-06 北京京东尚科信息技术有限公司 Method and apparatus for showing information
CN109740597A (en) * 2018-12-29 2019-05-10 口碑(上海)信息技术有限公司 The recognition methods of menu information and device

Similar Documents

Publication Publication Date Title
CN103279902A (en) Electronic menu display method
US11409413B2 (en) Techniques for generating electronic menu graphical user interface layouts for use in connection with electronic devices
US20160283096A1 (en) Method of generating a link by utilizing a picture and system thereof
EP2801894B1 (en) Adaptive tile framework
US20140258849A1 (en) Automatic Alignment of a Multi-Dimensional Layout
CN105392065A (en) Method and system for arranging page content of intelligent television
CN103699576B (en) A kind of method and apparatus for being used to provide search result
US20180260185A1 (en) System for discovering configuration of display wall
CN105989130A (en) Electronic map display method and device and electronic device
US20140365873A1 (en) Computing devices for generating content layout
US9105094B2 (en) Image layers navigation
CN102902535A (en) Picture self-adaption method, system and terminal equipment
CN102752655A (en) Display method of electronic program guide
WO2015030838A1 (en) Methods and systems for providing third-party content on a web page
CN104166662B (en) Method and system for browsing book information on terminal computer
CN106610785A (en) Commodity object list information processing method and apparatus
WO2017107797A1 (en) Method and device for displaying network products on product shelf
CN102662666A (en) Method and device for creating interface menu
CN102662595A (en) Magazine graphic and context mixed composing method for mobile terminal screen
CN105045587A (en) Picture display method and apparatus
CN110209329A (en) Show method, apparatus, equipment and the storage medium of content of pages
Corns et al. 3D-ICONS: Digitizing cultural heritage structures
CN105159939A (en) Picture presenting method and apparatus
US20110090258A1 (en) Device and method for animating a graphic digital document
US20230051224A1 (en) Software for tile pattern designs and assembling tile kits

Legal Events

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

Application publication date: 20130904