CN111242735B - Numerical template generation method and numerical template generation device - Google Patents

Numerical template generation method and numerical template generation device Download PDF

Info

Publication number
CN111242735B
CN111242735B CN202010025540.0A CN202010025540A CN111242735B CN 111242735 B CN111242735 B CN 111242735B CN 202010025540 A CN202010025540 A CN 202010025540A CN 111242735 B CN111242735 B CN 111242735B
Authority
CN
China
Prior art keywords
numerical
algorithm
template
variable
judgment
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.)
Active
Application number
CN202010025540.0A
Other languages
Chinese (zh)
Other versions
CN111242735A (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.)
Shenzhen Jiazhisi Soft Decoration Design Co ltd
Original Assignee
Shenzhen Jiazhisi Soft Decoration Design 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 Jiazhisi Soft Decoration Design Co ltd filed Critical Shenzhen Jiazhisi Soft Decoration Design Co ltd
Priority to CN202010025540.0A priority Critical patent/CN111242735B/en
Publication of CN111242735A publication Critical patent/CN111242735A/en
Application granted granted Critical
Publication of CN111242735B publication Critical patent/CN111242735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces

Abstract

The invention provides a numerical template generation method, which comprises the following steps: an algorithm display area based on the numerical template and an output numerical value, and an algorithm input area of the numerical template is displayed; setting fixed numerical variables in the numerical variables, the type of algorithm operators of the numerical templates and judgment conditions of the numerical templates in an algorithm input area of the numerical templates; and generating an algorithm flow of the numerical template based on the fixed numerical variable, the algorithm operator type and the judgment condition, and displaying the algorithm flow through an algorithm display area. The invention also provides a numerical template generating device, which can effectively display the content of the numerical template through the arrangement of the algorithm display area and the algorithm input area, so that the corresponding curtain order can be simply and efficiently generated through the numerical template.

Description

Numerical template generation method and numerical template generation device
Technical Field
The invention relates to the field of internet, in particular to a numerical template generation method and a numerical template generation device.
Background
With the rapid development of internet technology, people often shop through a network, but at present, furniture commodities are not easy to purchase satisfactory furniture commodities through the network due to the special nature of the industry and the strong individuation degree of the furniture commodities, such as incapability of matching with the light of a room and the environment.
Therefore, some curtain sales platforms develop a function of automatically generating a curtain order according to a customer's requirement, but due to various types and components of curtains, sizes of windows in a room and the customer's requirement are also various, a fixed numerical template cannot be used to generate a corresponding curtain order.
Therefore, it is necessary to provide a numerical template generating method and a numerical template generating device to solve the problems of the prior art.
Disclosure of Invention
The embodiment of the invention provides a numerical template generating method and a numerical template generating device capable of simply and efficiently generating a curtain order, which are used for solving the technical problems that a curtain order scheme in the existing curtain sales platform is difficult to generate and the curtain selecting efficiency is low.
The embodiment of the invention provides a numerical template generation method, which comprises the following steps:
an algorithm display area based on a numerical template and an output numerical value, and an algorithm input area of the numerical template is displayed;
setting a fixed numerical variable in the numerical variables, an algorithm operator type of the numerical template and a judging condition of the numerical template in an algorithm input area of the numerical template;
and generating an algorithm flow of the numerical template based on the fixed numerical variable, the algorithm operator type and the judging condition, and displaying the algorithm flow through the algorithm display area.
In the numerical template generation method of the present invention, the numerical template generation method further includes:
setting at least one level of judgment algorithm display subarea in a corresponding algorithm display area based on the judgment condition of the numerical template;
setting fixed numerical variables in the numerical variables, algorithm operator types of the numerical templates and sub-judging conditions of the numerical templates when the judging conditions are met in the judging algorithm display subarea;
generating a sub-algorithm flow of the numerical template based on the fixed numerical variable, the algorithm operator type and the sub-judgment condition, and displaying the sub-algorithm flow through the judgment algorithm display sub-region.
In the numerical template generation method of the present invention, the numerical template generation method further includes:
based on the setting sequence of the algorithm flow in the algorithm input area and the activity numerical variable, testing the algorithm flow to obtain the output numerical value;
and prompting the test progress in the algorithm display area and/or the judgment algorithm display subarea.
In the numerical template generating method of the present invention, the step of testing the algorithm flow based on the setting sequence and the activity numerical variable of the algorithm flow in the algorithm input area further includes:
and carrying out preset numerical prompt or preset numerical range prompt on the activity numerical variable.
In the numerical template generation method of the present invention, the algorithm operator types include an addition operator, a subtraction operator, a multiplication operator, a division operator, an assignment operator, a rounding-up operator, and a rounding-down operator.
In the method for generating a numerical template according to the present invention, the judging conditions include size judgment of two numerical variables, upper limit numerical judgment of a numerical variable, lower limit numerical judgment of a numerical variable, and upper and lower limit numerical judgment of a numerical variable.
In the method for generating a numerical template of the present invention, before the step of displaying the algorithm input area of the numerical template, the method further includes:
setting the name, the type and the value type of the value variable; wherein the type of the numerical variable corresponds to the corresponding product type of the output numerical value.
In the numerical template generation method of the invention, the types of the numerical variables are the types of components corresponding to curtain products, and the numerical types of the numerical variables comprise numerical values, enumeration and characters.
In the numerical template generation method of the present invention, the numerical template generation method further includes:
and when the numerical template is forbidden, prompting the related product template and scheme template.
The embodiment of the invention also provides a numerical template generating device, which comprises:
the algorithm input area display module is used for displaying the algorithm input area of the numerical template based on the algorithm display area of the numerical template and outputting numerical values;
the algorithm parameter setting module is used for setting fixed numerical variables in the numerical variables, the algorithm operator types of the numerical templates and the judging conditions of the numerical templates in an algorithm input area of the numerical templates;
and the numerical template generation display module is used for generating an algorithm flow of the numerical template based on the fixed numerical variable, the algorithm operator type and the judgment condition, and displaying the algorithm flow through the algorithm display area.
Compared with the prior art, the numerical template generation method and the numerical template generation device can effectively display the content of the numerical template through the arrangement of the algorithm display area and the algorithm input area, so that the corresponding curtain order can be simply and efficiently generated through the numerical template, and the technical problems that the curtain order scheme in the existing curtain sales platform is difficult to generate and the curtain selection efficiency is low are effectively solved.
Drawings
FIG. 1 is a flow chart of a numerical template generation method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a numerical template according to the numerical template generation method of the present invention;
fig. 3A to 3D are schematic structural diagrams of a calculation unit of an algorithm input area of a numerical template of the numerical template generating method of the present invention;
FIG. 4 is a flow chart illustrating the configuration of a branch computation unit according to an embodiment of the numerical template generation method of the present invention;
FIG. 5A shows the details of a specific algorithm corresponding to a sub-computation unit;
FIG. 5B illustrates the specific algorithmic content of another sub-computing unit;
FIGS. 6A-6D are schematic diagrams of an output test area and an algorithm display area of a numerical template in the numerical template generation method of the present invention;
FIG. 7 is a schematic diagram of a numerical template generating apparatus according to an embodiment of the present invention;
FIGS. 8A and 8B are schematic illustrations of curtain product template creation;
fig. 9A to 9D are schematic views of curtain solution generation;
fig. 10 is a schematic diagram showing the setting of numerical variables of a numerical template in the numerical template generation method of the present invention.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements throughout, the principles of the present invention are illustrated in an appropriate computing environment. The following description is based on illustrative embodiments of the invention and should not be taken as limiting other embodiments of the invention not described in detail herein.
In the description that follows, embodiments of the invention will be described with reference to the steps and symbols of operations performed by one or more computers, unless otherwise indicated. It will thus be appreciated that the steps and operations, to name a few, are performed by a computer, including being manipulated by a computer processing element representing electronic signals representing data in a structured form. This manipulation transforms the data or maintains it in a location within the computer's memory system, which may be re-configured or otherwise alter the computer's operation in a manner well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory having specific characteristics defined by the data format. However, the principles of the present invention are described in the foregoing text and are not meant to be limiting, and those of skill in the art will appreciate that various of the steps and operations described below may also be implemented in hardware.
Various operations of the embodiments are provided herein. In one embodiment, the one or more operations may constitute computer-readable instructions stored on one or more computer-readable media that, when executed by an electronic device, will cause the computing device to perform the operations. The order in which some or all of the operations are described should not be construed as to imply that these operations are necessarily order dependent. Those skilled in the art will appreciate alternative ordering that will have the benefit of this description. Moreover, it should be understood that not all operations need be present in every embodiment provided herein.
Moreover, the word "preferred" is used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as "preferred" is not necessarily to be construed as advantageous over other aspects or designs. Rather, use of the word "preferred" is intended to present concepts in a concrete fashion. The term "or" as used in this application is intended to mean an inclusive "or" rather than an exclusive "or". That is, unless specified otherwise or clear from the context, "X uses a or B" is intended to naturally include any of the permutations. That is, if X uses A; x is B; or X uses both A and B, then "X uses A or B" is satisfied in any of the foregoing examples.
Moreover, although the disclosure has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. The present disclosure includes all such modifications and alterations and is limited only by the scope of the following claims. In particular regard to the various functions performed by the above described components (e.g., elements, resources, etc.), the terms used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the disclosure. Furthermore, while a particular feature of the disclosure may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for a given or particular application. Moreover, to the extent that the terms "includes," has, "" contains, "or variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term" comprising.
The numerical template generation method can be arranged in electronic equipment such as a website server and the like, and is used for enabling a customer to acquire a curtain setting scheme of a house independently, so that the curtain setting flow is simplified, the curtain selection efficiency is improved, and the operation cost of a curtain sales platform is reduced; the technical problems that the curtain method in the curtain sales platform is difficult to generate and the curtain selecting efficiency is low are effectively solved.
The curtain scheme of the embodiment can be a cloth curtain scheme such as a cloth curtain and a rolling curtain, and also can be a soft-packing scheme of isolating or sealing decoration treatment to a house window or a house vent of a screen window, a protective net, a sliding screen door and the like.
Referring to fig. 1, fig. 1 is a flowchart of a numerical template generating method according to an embodiment of the invention. The flow of the generation of the numerical template is generally set on the curtain sales platform by the product provider of the curtain product. The numerical template is used for automatically generating various parameters of corresponding curtain products based on parameters of house windows, so that corresponding curtain orders can be generated simply and efficiently. The numerical template of the present embodiment includes an algorithm input area and an algorithm display area. The method for generating the numerical template of the embodiment comprises the following steps:
step S101, an algorithm display area based on a numerical template and an output numerical value are adopted, and an algorithm input area of the numerical template is displayed;
step S102, setting fixed numerical variables in the numerical variables, the type of algorithm operators of the numerical templates and judgment conditions of the numerical templates in an algorithm input area of the numerical templates;
and step S103, generating an algorithm flow of the numerical template based on the fixed numerical variable, the algorithm operator type and the judgment condition, and displaying the algorithm flow through an algorithm display area.
The specific flow of each step of the numerical template generation method of the present embodiment is described in detail below.
In step S101, first, the numerical template generating device (website server of the curtain sales platform) determines curtain values to be output by the numerical template, such as curtain parameters including the number of curtain fabrics to be used or the number of curtains to be used.
Then, an algorithm display area and an algorithm input area of the numerical template are set, specifically, as shown in fig. 2, an area a in fig. 2 is an algorithm display area of the numerical template, and an area B in fig. 2 is an algorithm input area of the numerical template.
Preferably, the numerical template generating device further sets the name, the type and the numerical type of the numerical variable used by the numerical template, as shown in fig. 10, wherein the type of the numerical variable is consistent with the corresponding product type of the output numerical value, so that the corresponding numerical template can be called; if the type of the curtain width value variable of the value template in fig. 10 is a fabric curtain, the curtain width value variable can only be called by a curtain product of the fabric curtain type.
In step S102, the numerical template generating device sets a fixed numerical variable among the numerical variables, an arithmetic operator type of the numerical template, and a judgment condition of the numerical template in an arithmetic input area of the numerical template.
The fixed numerical variable is a fixed parameter in the input material parameters in the numerical template, such as the contrast, the wave height and the like, and generally does not change along with the dimensional change of the curtain product. Meanwhile, the numerical template is also provided with an active numerical variable, the active numerical variable is an active parameter such as curtain height or curtain width in the input material parameters, and the fixed numerical variable generally changes along with the change of the size of the curtain product, so that the specific size of the curtain product is required to be determined.
The algorithm operator types of the numerical template comprise an addition operator, a subtraction operator, a multiplication operator, a division operator, a value assignment operator, a rounding-up operator and a rounding-down operator, so that a user can perform numerical operation operations such as addition operation, subtraction operation, multiplication operation, division operation, value assignment operation, rounding-up operation, rounding-down operation and the like.
The judging conditions of the numerical template can comprise the size judgment of two numerical variables, the upper limit numerical judgment of the numerical variables, the lower limit numerical judgment of the numerical variables and the upper and lower limit numerical judgment of the numerical variables, so that the numerical variable range can be conveniently set by a user.
The numerical types of numerical variables herein may include numerical values, enumeration, and text to provide a greater variety of numerical input types for the user.
The algorithm input area is constituted by a plurality of calculation units each including a first input box 31, a second input box 32, a judgment input switch 33, a numerical variable changeover switch 34, and a delete key 35.
As shown in fig. 3A, a first input box is used to select an algorithm operator for the computing unit; as shown in fig. 3B, a second input box is used to select a fixed numerical variable or an active numerical variable of the computing unit; the numerical value change-over switch is used for switching the type of the input variable of the second input box; as shown in fig. 3C, when the numerical change-over switch is turned on, the second input box is used for inputting a fixed numerical variable; as shown in fig. 3B, when the numerical change-over switch is turned off, the second input box is used for inputting an activity numerical variable; as shown in fig. 3D, the judgment input switch is used to turn on the calculation condition of the calculation unit, and as shown in fig. 3D, when the curtain height is between 20 and 50, the magnitude of the number of fabrics is set as a temporary variable (temporary BB).
Thus, the setting of the fixed numerical variable, the movable numerical variable and the algorithm operator type in the numerical template is completed.
The numerical template generating means may then set the judgment conditions of the numerical template, for example, the numerical template may generate a plurality of branches of the calculation unit based on different conditions, and the calculation units of the branches may be realized by setting the judgment conditions of the numerical template. Referring to fig. 4, fig. 4 is a flowchart illustrating a configuration of a branch computation unit according to an embodiment of the numerical template generation method of the present invention. The setting flow of the branch calculation unit comprises the following steps:
in step S401, the numerical template generating device sets at least one level of judgment algorithm display sub-area in the corresponding algorithm display area based on the judgment condition of the numerical template.
As shown in the lower parts of the areas a and B of fig. 2, the numerical template generating device may set a plurality of first-level judgment algorithm display sub-areas in the algorithm display area according to the judgment conditions, that is, set the flower direction to be a fixed height, the flower direction to be a fixed width and the flower direction to be a non-limited time, and may use different algorithms to generate the number of fabrics.
In step S402, when the judgment condition is satisfied, a fixed numerical variable of the numerical variables, the algorithm operator type of the numerical template, and the sub-judgment condition of the numerical template are set in the judgment algorithm display sub-area.
The user may click the edit key 21 of the judgment algorithm display sub-area, so that the algorithm input area redisplays the sub-calculation units corresponding to the judgment algorithm display sub-area, as shown in fig. 5A and 5B.
Fig. 5A shows the specific algorithm content corresponding to the sub-calculation unit 1.10, wherein the secondary sub-judgment condition of the sub-calculation unit is also present.
Fig. 5B shows the details of the algorithm of the sub-calculating unit 2.1, wherein the number of fabrics is curtain width +100, under the condition that the curtain height is BB.
In step S403, the numerical template generating device generates a sub-algorithm flow (i.e. a sub-calculation unit) of the numerical template based on the fixed numerical variable, the algorithm operator type and the sub-judgment condition, and displays the sub-algorithm flow through the judgment algorithm display sub-area.
Thus, the setting process of each branch calculation unit under the numerical template is completed.
In step S103, the numerical template generating device generates an algorithm flow of the numerical template based on the fixed numerical variable, the algorithm operator type, the judgment condition set in step S102 and the fixed numerical variable, the algorithm operator type and the sub judgment condition in the sub calculation unit, and displays the algorithm flow through the algorithm display area.
Thus, the numerical template generation process of the numerical template generation method of the present embodiment is completed.
Preferably, on the basis of the above embodiment of the method for generating a numerical template, the numerical template of this embodiment may further include a data testing area C, and the numerical template generating device may test the algorithm flow based on the setting sequence of the algorithm flow in the algorithm input area and the activity numerical variable, so as to obtain the corresponding output numerical value. Specifically, as shown in fig. 6A, the curtain product provider may input various activity numerical variables, such as a specification of 500, a curtain width of 50, etc., through the table in the numerical test area C, and finally calculate the usage number of the fabric to be 1×curtain width+100=150. The right side of the area C can also prompt the preset value or the preset value range of the activity value variable, so that a curtain product provider can input the activity value variable more accurately and conveniently.
And then the numerical template generating device prompts the test progress on the algorithm display area and/or the judgment algorithm display subarea. As shown in fig. 6B, the black dot symbol 61 in fig. 6B identifies the path along which the data testing process is performed.
Preferably, since the numerical template may be associated with a plurality of product templates or scheme templates, when the numerical template is disabled, the numerical template generating device may prompt the associated product template and scheme template to eliminate the influence of the disabling operation of the numerical template on the associated product template and scheme template.
The present invention also provides a numerical template generating device, please refer to fig. 7, fig. 7 is a schematic structural diagram of an embodiment of the numerical template generating device of the present invention. The numerical template generating apparatus of the present embodiment can be implemented using the embodiment of the numerical template generating method described above. The numerical template generating device 70 includes an algorithm input region presentation module 71, an algorithm parameter setting module 72, and a numerical template generating presentation module 73.
The algorithm input area display module 71 is used for displaying an algorithm display area based on a numerical template and outputting numerical values, and displaying the algorithm input area of the numerical template; the algorithm parameter setting module 72 is configured to set a fixed numerical variable of the numerical variables, an algorithm operator type of the numerical template, and a judgment condition of the numerical template in an algorithm input area of the numerical template; the numerical template generation and display module 73 is configured to generate an algorithm flow of the numerical template based on the fixed numerical variable, the algorithm operator type and the judgment condition, and display the algorithm flow through the algorithm display area.
When the numerical template generating device 70 of this embodiment is used, the algorithm input area displaying module 71 first determines the curtain number to be output by the numerical template, such as the number of curtain fabrics to be used or the number of curtains to be used.
The algorithm input area displaying module 71 then sets the algorithm display area and the algorithm input area of the numerical template, specifically, as shown in fig. 2, the area a in fig. 2 is the algorithm display area of the numerical template, and the area B in fig. 2 is the algorithm input area of the numerical template.
The algorithm parameter setting module 72 then sets the fixed value variable of the value variables, the algorithm operator type of the value template, and the judgment condition of the value template in the algorithm input area of the value template.
The fixed numerical variable is a fixed parameter in the input material parameters in the numerical template, such as the contrast, the wave height and the like, and generally does not change along with the dimensional change of the curtain product. Meanwhile, the numerical template is also provided with an active numerical variable, the active numerical variable is an active parameter such as curtain height or curtain width in the input material parameters, and the fixed numerical variable generally changes along with the change of the size of the curtain product, so that the specific size of the curtain product is required to be determined.
The algorithm operator types of the numerical template comprise an addition operator, a subtraction operator, a multiplication operator, a division operator, a value assignment operator, a rounding-up operator and a rounding-down operator, so that a user can perform numerical operation operations such as addition operation, subtraction operation, multiplication operation, division operation, value assignment operation, rounding-up operation, rounding-down operation and the like.
The judging conditions of the numerical template can comprise the size judgment of two numerical variables, the upper limit numerical judgment of the numerical variables, the lower limit numerical judgment of the numerical variables and the upper and lower limit numerical judgment of the numerical variables, so that the numerical variable range can be conveniently set by a user.
The numerical types of numerical variables herein may include numerical values, enumeration, and text to provide a greater variety of numerical input types for the user.
The algorithm input area is constituted by a plurality of calculation units each including a first input box 31, a second input box 32, a judgment input switch 33, a numerical variable changeover switch 34, and a delete key 35.
As shown in fig. 3A, a first input box is used to select an algorithm operator for the computing unit; as shown in fig. 3B, a second input box is used to select a fixed numerical variable or an active numerical variable of the computing unit; the numerical value change-over switch is used for switching the type of the input variable of the second input box; as shown in fig. 3C, when the numerical change-over switch is turned on, the second input box is used for inputting a fixed numerical variable; as shown in fig. 3B, when the numerical change-over switch is turned off, the second input box is used for inputting an activity numerical variable; as shown in fig. 3D, the judgment input switch is used to turn on the calculation condition of the calculation unit, and as shown in fig. 3D, when the curtain height is between 20 and 50, the magnitude of the number of fabrics is set as a temporary variable (temporary BB).
Thus, the setting of the fixed numerical variable, the movable numerical variable and the algorithm operator type in the numerical template is completed.
The algorithm parameter setting module 72 may then set the decision conditions of the numerical template, for example, the numerical template may generate multiple branches of the computing unit based on different conditions, and the computing units of the branches may be implemented by setting the decision conditions of the numerical template.
Finally, the numerical template generating and displaying module 73 generates an algorithm flow of the numerical template based on the set fixed numerical variable, the algorithm operator type, the judging condition and the fixed numerical variable, the algorithm operator type and the sub-judging condition in the sub-calculating unit, and displays the algorithm flow through the algorithm display area.
Thus, the numerical template generation process of the numerical template generation device 70 of the present embodiment is completed.
A corresponding curtain product template may then be generated based on the obtained numerical template, please refer to fig. 8A and 8B, and fig. 8A and 8B are schematic diagrams of curtain product template generation. The curtain product provider designs the flow of the curtain product template at the website server, which comprises the following steps:
in step S801, the curtain product provider determines a category list of curtain product templates based on the category of the curtain product, such as clicking on the area D shown in fig. 8A to determine the category of the curtain product template (e.g., selecting a cloth curtain).
The curtain product provider then fills in basic information, product information, main material, preset parameters, product image, and product attributes of the curtain product on the curtain product template, as shown in fig. 8A.
In step S802, the curtain product provider inputs a curtain product template type selection instruction on the curtain product template, determines the type of the component (such as fabric, process, track, lace or ornament) of at least one curtain component template of the curtain product template, and displays the component materials of the component, as shown in a region E1 of fig. 8A. The window covering product provider may pop up a component material display of the component by clicking the + key in area E1, a specific component material display schematic is shown in fig. 8B, and the window covering product provider may select one component material from among them as the component material of the window covering component template of the window covering product template.
Preferably, the area E2 in fig. 8A may be clicked on to further refine the window curtain product template, such as a fabric curtain, a gauze curtain, a lift curtain or an electric curtain.
In step S803, the curtain product provider determines the component materials of the curtain product on the displayed component materials, and further determines the unit price information and the usage parameters of the component materials, wherein the usage parameters of the component materials are determined by the numerical templates of the same category.
In step S804, the curtain product provider inputs the preset size information of the curtain product in the area F shown in fig. 8A, so that the website server can determine the unit price information of the curtain product corresponding to the curtain product template according to the preset size information of the curtain product, the unit price information of the component materials of the curtain product, and the use parameters of the component materials.
In step S805, the curtain product provider uploads, as display information of the curtain product, a picture of the curtain product corresponding to the curtain product template in a region E1 in fig. 8A.
After checking the display content of the curtain product, the curtain product provider completes the setting process of the curtain product template.
Then, the curtain design designer may design a curtain design based on the curtain product template, please refer to fig. 9A to 9D, and fig. 9A to 9D are schematic diagrams of curtain design generation. The curtain scheme designer includes the following steps:
in step S901, the curtain plan designer inputs basic information of the curtain plan on the curtain plan information editing interface, specifically, as shown in fig. 9A, and inputs the plan providing shop, the plan type, the plan name, the plan code, etc. of the curtain plan in the G area in fig. 9A, so that the user can uniquely determine the curtain plan through the above basic information.
Preferably, the blind method designer may also provide the image information of the blind solution on the blind solution image editing interface for the user to better and faster understand the blind solution. Specifically, as shown in region H of fig. 9A.
In step S902, the curtain plan designer obtains the corresponding house curtain position information, and displays the curtain information of each position in the I area in fig. 9A, and the user may provide a corresponding curtain product list based on the house curtain position information, for example, click the +number key in the I area, and may pop up the curtain product list in the living room, as shown in fig. 9B.
In step S903, the curtain solution designer may issue a curtain product selection instruction based on the curtain products in the curtain product list, so as to determine a curtain product template corresponding to the curtain product. The house window covering position information after selecting the corresponding window covering product template is shown in fig. 9C, where a plurality of window covering product templates for living room positions may be displayed. The curtain product template includes display information and unit price information of the corresponding curtain product, wherein the display information of the curtain product can be parameter information of the curtain product in fig. 9C, such as curtain width, curtain height, and pleat rate, and the unit price information of the curtain product can be price information of the curtain product in fig. 9C.
In step S904, the curtain plan designer may modify the parameter information of the window curtain product by using the house curtain size information, and further modify the unit price information of the house curtain to obtain the modified unit price information of the house curtain. The curtain width, curtain height and pleat rate in fig. 9D are modified to obtain modified unit price information of the house curtain.
In step S905, the website server obtains the corrected unit price information of the window curtains of each window curtain of the house, and adds the corrected unit price information of each window curtain of the house, so as to obtain the total price information of the window curtain scheme of the house, and display the content of the whole window curtain scheme of the house.
After checking the display content of the house curtain scheme, the curtain scheme designer completes the process of designing the curtain scheme on the website server.
Referring to fig. 2 and fig. 6A to 6D, the process of designing a formula template at a website server by a curtain product provider includes:
in step S1001, the curtain product provider sets a fixed numerical variable of the numerical variable in the algorithm input area of the formula template, the algorithm operator type of the formula template, and the judgment condition of the formula template.
In fig. 2, temporary values (temporary values BB), magnitude numbers, and number are fixed numerical variables, and the symbols +, -,/and the like in the algorithm input area F are algorithm operators, and the contents under the sub-judgment in the algorithm input area B are judgment conditions.
In step S1002, the website server displays the algorithm flow in the algorithm display area a based on the fixed numerical variable, the algorithm operator type and the judgment condition in the algorithm input area B.
The largest frame in the algorithm display area A is used for representing the algorithm content of the whole formula template, and each small frame in the algorithm display area A is used for representing the algorithm flow under different judging conditions.
Specifically, in this embodiment, the number of used fabrics is required, wherein a preset value (e.g. 1) is first given to the temporary value (temporary BB), the number of sheets and the number of sheets, and then the temporary value=1×specification-100 is set, and the number of sheets= (1×curtain width×curtain pleat rate+100)/specification (the result is rounded).
The specification, the curtain width and the curtain fold rate are all movable numerical variables, so that the width of the roman curtain multiplied by the fold effect corresponds to the multiple to obtain the cloth usage amount, the cloth usage amount is added with the loss of 100 mm to obtain the cloth usage amount after loss, and the cloth usage width is obtained by rounding based on the specification of the cloth.
Then, three sub-judging conditions are entered, if the first sub-judging condition is met, the direction of the flower is not limited, and the curtain height < = temporary BB; the first sub-judgment process in the algorithm display area a is performed, and the number (the number of used fabrics) =1×curtain width+100.
I.e., the number of cloths used for the final roman shade is the roman shade (width +100 (loss)). The pattern direction is a specific direction of the pattern on the cloth, the pattern direction is a fixed height, the pattern on the cloth can only be used vertically, and the pattern direction is a fixed width, the pattern on the cloth can only be used horizontally.
In order to facilitate understanding of the user, the judging parameters of the sub-judging conditions of the same level under the same judging condition in the formula template should be the same type of parameters, for example, three sub-judging processes in the algorithm display area A are all the setting of the direction of the flower.
If the flower direction is the fixed height and the curtain height < = temporary BB is met, executing a second sub-judging flow in the algorithm display area A; number (number of fabric used) = (1 x curtain width+100)/flower width (rounded up result) x flower width x number of sheets. The pattern width refers to the width dimension of the basic pattern in the continuous pattern on the cloth, and the width is measured from the continuous starting point to the continuous ending point.
Wherein (curtain width +100)/flower position width can obtain the number of basic patterns needed in the width; in order to ensure that the number of basic patterns is sufficient and the number of patterns is an integer, when the obtained result has decimal, taking the nearest integer which is larger than the numerical value, and rounding up; multiplying the number of the base patterns rounded up by the width dimension of the base patterns to obtain the final width of the Roman shade; the final width of the roman shade is multiplied by the number of panels to give the number of panels required for the final roman shade. I.e., the number of cloths used for the final roman shade [ (shade width + 100)/flower-position width (rounded up of the result). ] flower-position width × width.
If the flower direction is the fixed width and the design is the opposite flower direction, executing a third sub-judging flow in the algorithm display area A; number (number of fabric used) = (1 x curtain height+100)/flower height (rounded up result) x flower height x number of frames. The pattern design refers to the pattern alignment of patterns on the cloth in the process of splicing and sewing two pieces of cloth. The pattern height refers to the height dimension of the basic pattern in the continuous pattern on the cloth, and the height is measured from the continuous starting point to the continuous ending point.
Wherein (curtain height +100)/flower position height can obtain the number of basic patterns needed in the height; in order to ensure that the number of basic patterns is sufficient and the number of patterns is an integer, when the obtained result has decimal, taking the nearest integer which is larger than the numerical value, and rounding up; multiplying the number of the base patterns after rounding up by the height dimension of the base patterns to obtain the final height of the Roman shade; the final height of the roman shade is multiplied by the number of panels to obtain the number of panels required for the final roman shade. I.e., the number of cloths used for the final roman shade [ (shade height + 100)/flower height (rounded up of the result). ] flower height.
The web server can calculate the use quantity of the fabric based on the specifications, curtain width, curtain pleat rate and other activity numerical variables input by the curtain product provider.
In step S1003, the curtain product provider may test the formula template through the data test area C of the formula template, as shown in fig. 6A, and may input various activity numerical variables, such as the specification 500, the curtain width 50, etc., into the table in the data test area C, and finally calculate the usage amount of the fabric to be 1×curtain width+100=150. At the same time, the path of the data testing process is also shown in the algorithm display area a, as shown in fig. 6B, and the black dot symbol 61 in fig. 6B indicates the path along which the data testing process is performed.
If the activity value variable provided by the curtain product provider is wrong, as shown in fig. 6C, if the input activity value variable only meets part of the first sub-judgment condition, such as that the direction of the flower is not limited, but the curtain height 401 is larger than the critical BB (400), the data testing process path will also be displayed in the algorithm display area a, as shown in fig. 6D, the black dot symbol on fig. 6D represents the path of the data testing process, and the curtain product provider can correct the activity value variable or the formula template based on the interrupt point of the data testing process in fig. 6D.
Thus, the curtain product provider of the present embodiment completes the process of designing the formula template on the web server.
The numerical template generation method and the numerical template generation device can effectively display the content of the numerical template through the arrangement of the algorithm display area and the algorithm input area, so that the corresponding curtain order can be simply and efficiently generated through the numerical template, and the technical problems that the curtain order scheme in the existing curtain sales platform is difficult to generate and the curtain selection efficiency is low are effectively solved.
In summary, although the present invention has been described in terms of the preferred embodiments, the preferred embodiments are not limited to the above embodiments, and various modifications and changes can be made by one skilled in the art without departing from the spirit and scope of the invention, and the scope of the invention is defined by the appended claims.

Claims (10)

1. A method for generating a numerical template, comprising:
an algorithm display area based on a numerical template and an output numerical value, and an algorithm input area of the numerical template is displayed; the algorithm input area is composed of a plurality of calculation units, each calculation unit comprises a first input box, a second input box, a judging input switch, a numerical variable change-over switch and a delete key, and the first input box is used for selecting an algorithm operator of the calculation unit; the second input box is used for selecting a fixed numerical variable or an active numerical variable of the computing unit; the numerical variable change-over switch is used for switching the type of the input variable of the second input box, when the numerical variable change-over switch is turned on, the second input box is used for inputting a fixed numerical variable, and when the numerical variable change-over switch is turned off, the second input box is used for inputting an active numerical variable; the judging input switch is used for starting the calculation condition of the calculation unit;
setting a fixed numerical variable in the numerical variables, an algorithm operator type of the numerical template and a judging condition of the numerical template in an algorithm input area of the numerical template;
generating an algorithm flow of the numerical template based on the fixed numerical variable, the algorithm operator type and the judging condition, and displaying the algorithm flow through the algorithm display area;
and setting at least one level of judgment algorithm display subareas in the corresponding algorithm display areas based on the judgment conditions of the numerical template, wherein the judgment algorithm display subareas comprise editing keys, and when the editing keys are clicked, the algorithm input areas display the sub-calculation units corresponding to the judgment algorithm display subareas again.
2. The numerical template generation method according to claim 1, characterized in that the numerical template generation method further comprises:
setting fixed numerical variables in the numerical variables, algorithm operator types of the numerical templates and sub-judging conditions of the numerical templates when the judging conditions are met in the judging algorithm display subarea;
generating a sub-algorithm flow of the numerical template based on the fixed numerical variable, the algorithm operator type and the sub-judgment condition, and displaying the sub-algorithm flow through the judgment algorithm display sub-region.
3. The numerical template generation method according to claim 1, characterized in that the numerical template generation method further comprises:
based on the setting sequence of the algorithm flow in the algorithm input area and the activity numerical variable, testing the algorithm flow to obtain the output numerical value;
and prompting the test progress in the algorithm display area and/or the judgment algorithm display subarea.
4. The numerical template generation method according to claim 3, wherein the step of testing the algorithm flow based on the set order of the algorithm flow in the algorithm input area and the activity numerical variable further comprises:
and carrying out preset numerical prompt or preset numerical range prompt on the activity numerical variable.
5. The numerical template generation method of claim 1, wherein the algorithmic operator types include addition operators, subtraction operators, multiplication operators, division operators, assignment operators, round-up operators, and round-down operators.
6. The numerical template generation method according to claim 1, wherein the judgment conditions include a size judgment of two numerical variables, an upper limit numerical judgment of a numerical variable, a lower limit numerical judgment of a numerical variable, and an upper and lower limit numerical judgment of a numerical variable.
7. The method of generating a numerical template according to claim 1, wherein the step of presenting the algorithmic input area of the numerical template is preceded by the step of:
setting the name, the type and the value type of the value variable; wherein the type of the numerical variable corresponds to the corresponding product type of the output numerical value.
8. The method of claim 7, wherein the type of the numerical variable is a type of a component corresponding to a window covering product, and the numerical type of the numerical variable includes a numerical value, enumeration, and text.
9. The numerical template generation method according to claim 1, characterized in that the numerical template generation method further comprises:
and when the numerical template is forbidden, prompting the related product template and scheme template.
10. A numerical template generating apparatus, comprising:
the algorithm input area display module is used for displaying the algorithm input area of the numerical template based on the algorithm display area of the numerical template and outputting numerical values; the algorithm input area is composed of a plurality of calculation units, each calculation unit comprises a first input box, a second input box, a judging input switch, a numerical variable change-over switch and a delete key, and the first input box is used for selecting an algorithm operator of the calculation unit; the second input box is used for selecting a fixed numerical variable or an active numerical variable of the computing unit; the numerical variable change-over switch is used for switching the type of the input variable of the second input box, when the numerical variable change-over switch is turned on, the second input box is used for inputting a fixed numerical variable, and when the numerical variable change-over switch is turned off, the second input box is used for inputting an active numerical variable; the judging input switch is used for starting the calculation condition of the calculation unit;
the algorithm parameter setting module is used for setting fixed numerical variables in the numerical variables, the algorithm operator types of the numerical templates and the judging conditions of the numerical templates in an algorithm input area of the numerical templates;
the numerical template generation display module is used for generating an algorithm flow of the numerical template based on the fixed numerical variable, the algorithm operator type and the judging condition, and displaying the algorithm flow through the algorithm display area; and setting at least one level of judgment algorithm display subareas in the corresponding algorithm display areas based on the judgment conditions of the numerical template, wherein the judgment algorithm display subareas comprise editing keys, and when the editing keys are clicked, redisplaying the sub-calculation units corresponding to the judgment algorithm display subareas in the algorithm input areas.
CN202010025540.0A 2020-01-10 2020-01-10 Numerical template generation method and numerical template generation device Active CN111242735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010025540.0A CN111242735B (en) 2020-01-10 2020-01-10 Numerical template generation method and numerical template generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010025540.0A CN111242735B (en) 2020-01-10 2020-01-10 Numerical template generation method and numerical template generation device

Publications (2)

Publication Number Publication Date
CN111242735A CN111242735A (en) 2020-06-05
CN111242735B true CN111242735B (en) 2024-03-15

Family

ID=70872429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010025540.0A Active CN111242735B (en) 2020-01-10 2020-01-10 Numerical template generation method and numerical template generation device

Country Status (1)

Country Link
CN (1) CN111242735B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002157460A (en) * 2000-11-20 2002-05-31 Niwaharu Sangyo Kk Curtain order receiving system and curtain order receiving program
CN101105750A (en) * 2007-08-16 2008-01-16 金蝶软件(中国)有限公司 Numerical value input device and method for numerical value input using the device
CN104462622A (en) * 2014-12-01 2015-03-25 深圳市美薇窗饰电子商贸有限公司 Curtain data acquisition method
CN105469280A (en) * 2015-11-24 2016-04-06 杭州易上弘网络技术有限公司 Home textile product pricing method based on technology combination and cutting piece template
CN105740217A (en) * 2014-12-08 2016-07-06 珠海金山办公软件有限公司 Document generation method and device based on document template
CN105741155A (en) * 2016-01-14 2016-07-06 潘鼎铭 Curtain order processing method
CN106570737A (en) * 2016-10-19 2017-04-19 帘盟科技(上海)股份有限公司 Curtain order management system and management method
CN107527277A (en) * 2017-09-13 2017-12-29 杭州电子科技大学 A kind of intelligent curtain Art Design system based on mobile terminal
CN108710749A (en) * 2018-05-17 2018-10-26 成都仁仁爱家窗饰有限公司 A kind of curtain information intelligent management system
CN109285051A (en) * 2018-09-05 2019-01-29 南通诚品软件科技有限公司 The generation method and device of household building materials shops quick order
CN109711949A (en) * 2019-01-10 2019-05-03 广州未来软装科技有限公司 Calculator suitable for soft dress industry
CN109919714A (en) * 2019-01-31 2019-06-21 杭州如鱼图智能科技有限公司 A kind of curtain ordering system
CN110069737A (en) * 2019-04-19 2019-07-30 北京三快在线科技有限公司 Content generating method, device, computer equipment and storage medium
CN111127158A (en) * 2019-12-24 2020-05-08 深圳市家之思软装设计有限公司 Curtain scheme generation method and curtain scheme generation device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9652803B2 (en) * 2009-10-20 2017-05-16 Trading Technologies International, Inc. Virtualizing for user-defined algorithm electronic trading
WO2013005266A1 (en) * 2011-07-05 2013-01-10 パナソニック株式会社 Presentation content generation device, presentation content generation method, presentation content generation program and integrated circuit

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002157460A (en) * 2000-11-20 2002-05-31 Niwaharu Sangyo Kk Curtain order receiving system and curtain order receiving program
CN101105750A (en) * 2007-08-16 2008-01-16 金蝶软件(中国)有限公司 Numerical value input device and method for numerical value input using the device
CN104462622A (en) * 2014-12-01 2015-03-25 深圳市美薇窗饰电子商贸有限公司 Curtain data acquisition method
CN105740217A (en) * 2014-12-08 2016-07-06 珠海金山办公软件有限公司 Document generation method and device based on document template
CN105469280A (en) * 2015-11-24 2016-04-06 杭州易上弘网络技术有限公司 Home textile product pricing method based on technology combination and cutting piece template
CN105741155A (en) * 2016-01-14 2016-07-06 潘鼎铭 Curtain order processing method
CN106570737A (en) * 2016-10-19 2017-04-19 帘盟科技(上海)股份有限公司 Curtain order management system and management method
CN107527277A (en) * 2017-09-13 2017-12-29 杭州电子科技大学 A kind of intelligent curtain Art Design system based on mobile terminal
CN108710749A (en) * 2018-05-17 2018-10-26 成都仁仁爱家窗饰有限公司 A kind of curtain information intelligent management system
CN109285051A (en) * 2018-09-05 2019-01-29 南通诚品软件科技有限公司 The generation method and device of household building materials shops quick order
CN109711949A (en) * 2019-01-10 2019-05-03 广州未来软装科技有限公司 Calculator suitable for soft dress industry
CN109919714A (en) * 2019-01-31 2019-06-21 杭州如鱼图智能科技有限公司 A kind of curtain ordering system
CN110069737A (en) * 2019-04-19 2019-07-30 北京三快在线科技有限公司 Content generating method, device, computer equipment and storage medium
CN111127158A (en) * 2019-12-24 2020-05-08 深圳市家之思软装设计有限公司 Curtain scheme generation method and curtain scheme generation device

Also Published As

Publication number Publication date
CN111242735A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
CN112639791A (en) Multi-view master for graphic design
US20190227701A1 (en) Facilitating the prototyping and previewing of design element state transitions in a graphical design environment
Lutteroth et al. Domain specific high-level constraints for user interface layout
CN106648581A (en) Page display method and apparatus
CN107908604A (en) Report pattern generation method, device, computer equipment and storage medium
Ramón et al. A layout inference algorithm for Graphical User Interfaces
CN103383629B (en) A kind of input method and device based on HTML5
CN106484384A (en) A kind of page animation methods of exhibiting and system
JP2004287701A (en) Analytical shell model creation apparatus
CN102483682A (en) Design support device, design support program, design support method and integrated circuit
CN111242735B (en) Numerical template generation method and numerical template generation device
CN111242736B (en) Product classification display method and product classification display device
CN111127158B (en) Curtain scheme generation method and curtain scheme generation device
CN113468261B (en) Method and system for constructing entity relationship of Internet of things based on graphic editing engine
CN106648572B (en) Method and apparatus for designing interface prototypes
JP2009032121A (en) Color generation support device and color generation support program
Mew Mastering Android Studio 3
US20150293652A1 (en) Creating an interaction area for listing user-selectable items
CN110244887A (en) Cursor display method, device, electronic equipment and storage medium
JP4374008B2 (en) General-purpose analysis system
CN111782309A (en) Method and device for displaying information and computer readable storage medium
JP6155565B2 (en) Learning support device, learning support program, and learning support method
KR20180097223A (en) Computer program
JP3138430B2 (en) User interface screen creation support device
CN116126331B (en) Interactive flow chart generation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant