CN111242735A - 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
CN111242735A
CN111242735A CN202010025540.0A CN202010025540A CN111242735A CN 111242735 A CN111242735 A CN 111242735A CN 202010025540 A CN202010025540 A CN 202010025540A CN 111242735 A CN111242735 A CN 111242735A
Authority
CN
China
Prior art keywords
numerical
algorithm
template
curtain
variable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010025540.0A
Other languages
Chinese (zh)
Other versions
CN111242735B (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

Images

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

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a numerical template generation method, which comprises the following steps: displaying an algorithm input area of the numerical template based on an algorithm display area and an output numerical value of the numerical template; in an algorithm input area of the numerical template, setting a fixed numerical variable in the numerical variables, an algorithm operator type of the numerical template and a judgment condition 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 judgment condition, and displaying the algorithm flow through the algorithm display area. The invention also provides a numerical template generating device, and the invention can effectively display the content of the numerical template through the arrangement of the algorithm display area and the algorithm input area, thereby generating the corresponding curtain order through the numerical template simply and efficiently.

Description

Numerical template generation method and numerical template generation device
Technical Field
The present invention relates to the field of internet, and in particular, to a numerical template generating method and a numerical template generating apparatus.
Background
With the rapid development of internet technology, people often shop through the internet, but due to the industrial particularity of furniture commodities and the strong personalization degree of the furniture commodities, people are not easy to buy satisfactory furniture commodities through the internet, such as being incapable of matching with the light and the environment of a room.
Therefore, some window curtain sales platforms develop a function capable of automatically generating a window curtain order according to the requirements of customers, but due to the fact that the types and components of window curtains are various, and the sizes of windows of rooms and the requirements of customers are also various, a fixed numerical template cannot be used for generating the corresponding window curtain order.
Therefore, it is necessary to provide a method and an apparatus for generating a numerical template to solve the problems of the prior art.
Disclosure of Invention
The embodiment of the invention provides a numerical template generation method and a numerical template generation device capable of generating a curtain order simply and efficiently, and aims to solve the technical problems that a curtain order scheme in the existing curtain sales platform is difficult to generate and the efficiency of curtain selection is low.
The embodiment of the invention provides a numerical template generation method, which comprises the following steps:
displaying an algorithm input area of the numerical template based on an algorithm display area and an output numerical value of the numerical template;
setting a fixed numerical variable in 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;
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 the algorithm display area.
In the numerical template generating method of the present invention, the numerical template generating method further includes:
setting at least one stage of judgment algorithm display sub-area in the corresponding algorithm display area based on the judgment condition of the numerical template;
in the judgment algorithm display sub-area, setting a fixed numerical variable in the numerical variables, an algorithm operator type of a numerical template and a sub-judgment condition of the numerical template when the judgment condition is met;
and 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-area.
In the numerical template generating method of the present invention, the numerical template generating method further includes:
testing the algorithm flow based on the setting sequence of the algorithm flow in the algorithm input area and the activity value variable to obtain the output value;
and prompting the test progress in the algorithm display area and/or the judgment algorithm display sub-area.
In the method for generating a numerical template according to the present invention, the step of testing the algorithm flow based on the setting sequence of the algorithm flow in the algorithm input region and the activity numerical variable further includes:
and carrying out preset value prompt or preset value range prompt on the activity value variable.
In the value template generation method of the present invention, the algorithm operator type includes 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 the numerical template of the present invention, the determination conditions include magnitude determination of two numerical variables, upper limit numerical determination of the numerical variables, lower limit numerical determination of the numerical variables, and upper and lower limit numerical determination of the numerical variables.
In the method for generating a numerical template of the present invention, the step of displaying the algorithm input area of the numerical template further includes:
setting the name, the type and the value type of a numerical variable; wherein the type of the numerical variable is consistent with the corresponding product type of the output numerical value.
In the method for generating the numerical template, the type of the numerical variable is the type of the component corresponding to the curtain product, and the numerical type of the numerical variable comprises numerical values, enumeration and characters.
In the numerical template generating method of the present invention, the numerical template generating method further includes:
and when the numerical template is forbidden, prompting operation is carried out on the associated product template and the scheme template.
An embodiment of the present invention further provides a numerical template generating apparatus, which includes:
the algorithm input area display module is used for displaying the algorithm input area of the numerical template based on the algorithm display area and the output numerical value of the numerical template;
the algorithm parameter setting module is used for setting a fixed numerical variable in 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;
and the numerical template generating and displaying module is used for generating the 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 one embodiment of a numerical template generation method of the present invention;
FIG. 2 is a schematic structural diagram of a numerical template of the numerical template generating method of the present invention;
fig. 3A to 3D are schematic structural diagrams of a calculation unit of an algorithm input region of a numerical template of the numerical template generating method of the present invention;
FIG. 4 is a flow chart illustrating the configuration of the branch calculating unit according to an embodiment of the numerical template generating method of the present invention;
FIG. 5A shows the specific algorithm contents corresponding to a sub-computing unit;
FIG. 5B shows the specific algorithm contents of another sub-computing unit;
FIGS. 6A to 6D are schematic diagrams of an output test area and an algorithm display area of a numerical template in the numerical template generating method according to the present invention;
FIG. 7 is a schematic structural diagram of an embodiment of a numerical template generating apparatus according to the present invention;
FIGS. 8A and 8B are schematic diagrams of curtain product template generation;
FIGS. 9A-9D are schematic diagrams of the creation of a window covering scheme;
fig. 10 is a schematic diagram illustrating the setting of numerical variables of a numerical template in the numerical template generating method according to the present invention.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
In the description that follows, embodiments of the invention are described with reference to steps and symbols of operations performed by one or more computers, unless otherwise indicated. It will thus be appreciated that those steps and operations, which are referred to herein several times as being computer-executed, include being manipulated by a computer processing unit in the form of electronic signals representing data in a structured form. This manipulation transforms the data or maintains it at locations in the computer's memory system, which may reconfigure or otherwise alter the computer's operation in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the invention have been described in language specific to above, it is not intended to be limited to the specific details shown, since one skilled in the art will recognize that various steps and operations described below may be implemented in hardware.
Various operations of 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, which 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 orderings having the benefit of this description. Moreover, it should be understood that not all operations are necessarily present in each embodiment provided herein.
Also, as used herein, the word "preferred" is intended to serve 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 context, "X employs A or B" is intended to include either of the permutations as a matter of course. That is, if X employs A; b is used as X; or X employs both A and B, then "X employs A or B" is satisfied in any of the foregoing examples.
Also, 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 appended 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. In addition, 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. Furthermore, 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 client to independently obtain a curtain setting scheme of a house, so that the curtain setting process 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 sale platform is difficult to generate and the curtain selection efficiency is low are effectively solved.
The curtain scheme of the embodiment can be a cloth curtain scheme such as a cloth curtain, a rolling curtain and the like, and can also be a soft-package scheme for isolating or sealing and decorating house windows or house ventilation openings such as a screen window, a protective net, a sliding screen door and the like.
Referring to fig. 1, fig. 1 is a flowchart illustrating a numerical template generating method according to an embodiment of the invention. The generation process of the numerical template is generally set by a product provider of the curtain product on a curtain sales platform. The numerical template is used for automatically generating each parameter of the corresponding curtain product based on the parameters of the house window, so that the corresponding curtain order 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 includes:
step S101, displaying an algorithm input area of a numerical template based on an algorithm display area and an output numerical value of the numerical template;
step S102, in an algorithm input area of a numerical template, setting a fixed numerical variable in the numerical variables, an algorithm operator type of the numerical template and a judgment condition of the numerical template;
and 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 the algorithm display area.
The following describes in detail the specific flow of each step of the numerical template generation method according to the present embodiment.
In step S101, the numerical template generating device (the web server of the curtain sales platform) first determines the curtain numerical value that needs to be output by the numerical template, such as the curtain parameters, e.g., the number of curtain fabrics that need to be used or the number of curtains that need 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 the algorithm display area of the numerical template, and an area B in fig. 2 is the algorithm input area of the numerical template.
Preferably, the numerical template generating device further sets names, types and numerical types of numerical variables used by the numerical template, as shown in fig. 10, where the types of the numerical variables are consistent with the corresponding product types of the output numerical values, so that the corresponding numerical templates can be called; if the type of the shade width value variable of the value template in fig. 10 is a cloth shade, the shade width value variable can only be called by the curtain product of the cloth shade type.
In step S102, the numerical template generating apparatus sets a fixed numerical variable among 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 fixed numerical variable is a fixed parameter in the input material parameters in the numerical template, such as registration, wave height and the like, and the fixed numerical variable generally does not change along with the size change of the curtain product. Meanwhile, the numerical template also has an activity numerical variable, the activity numerical variable is an activity parameter in the input material parameters, such as curtain height or curtain width, and the fixed numerical variable generally changes along with the size change of the curtain product, so that the specific size of the curtain product is needed to be determined.
The arithmetic operation type of the numerical template comprises an addition operator, a subtraction operator, a multiplication operator, a division operator, an 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, assignment operation, rounding-up operation and rounding-down operation.
The judgment condition of the numerical template can comprise the judgment of the magnitude of the two numerical variables, the judgment of the upper limit value of the numerical variable, the judgment of the lower limit value of the numerical variable and the judgment of the upper limit value and the lower limit value of the numerical variable, so that the user can conveniently set the range of the numerical variable.
The numerical type of the numerical variable can include numerical value, enumeration and text, so as to provide more various numerical value input types for users.
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 the arithmetic operator of the computational cell; as shown in fig. 3B, the second input box is used to select a fixed numerical variable or an active numerical variable of the calculation unit; the numerical value selector switch is used for switching the type of the input variable of the second input frame; as shown in fig. 3C, when the numerical switch is turned on, the second input box is used to input the fixed numerical variable; as shown in fig. 3B, when the value switch is turned off, the second input box is used to input the activity value 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 amount of fabric is set as a temporary variable (temporary BB).
Thus, the setting of the fixed numerical variable, the activity 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, which may generate a plurality of branches of the calculation units based on different conditions, and the branched calculation units may be realized by setting the judgment conditions of the numerical template. Referring to fig. 4, fig. 4 is a flow chart illustrating the branch calculating unit according to an embodiment of the method for generating a numerical template of the present invention. The setting flow of the branch calculation unit includes:
step S401, the numerical template generating device sets at least one stage 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 portions of the area a and the area B in fig. 2, the numerical template generating apparatus may set a plurality of first-level judgment algorithm display sub-areas in the algorithm display area by the judgment conditions, that is, when the flower direction is set to be a fixed height, the flower direction is set to be a fixed width, and the flower direction is set to be an indefinite time, different algorithms may be used to generate the number of fabrics.
Step S402, in the judgment algorithm display sub-area, when the judgment condition is satisfied, the fixed numerical variable in the numerical variables, the algorithm operator type of the numerical template and the sub-judgment condition of the numerical template are set.
The user may click the edit button 21 of the judgment algorithm display sub-region, so that the algorithm input region re-displays the sub-computing units corresponding to the judgment algorithm display sub-region, as shown in fig. 5A and 5B.
Fig. 5A shows the specific algorithm content corresponding to the sub-computing unit 1.10, wherein there is also the secondary sub-judgment condition of the sub-computing unit.
Fig. 5B shows the specific algorithm content of the sub-calculation unit 2.1, wherein the number of the fabrics is +100 of the curtain width 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-calculating unit) of the numerical template based on the fixed numerical variable, the sub-algorithm type and the sub-judgment condition, and displays the sub-algorithm flow by judging the algorithm display sub-region.
Thus, the setting process of each branch calculation unit under the numerical template is completed.
In step S103, the numerical template generating means generates an algorithm flow of the numerical template based on the fixed numerical variable, the algorithm operator type, and 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 described above, and displays the algorithm flow through the algorithm display area.
This completes the generation process of the numerical template generation method of the present embodiment.
Preferably, on the basis of the embodiment of the numerical template generating method, 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, and the like, through the table in the numerical test area C, and finally calculate the usage amount of the fabric to be 1 × curtain width +100 — 150. The right side of the area C also prompts the preset value or the preset value range of the activity value variable, so that the 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 sub-area. As shown in fig. 6B, a black dot symbol 61 on fig. 6B identifies a path of the data test process.
Preferably, since the numerical template may be associated with a plurality of product templates or solution templates, when the numerical template is disabled, the numerical template generating device may perform a prompt operation on the associated product template and solution template to eliminate an influence of the disabling operation on the associated product template and solution template.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an embodiment of the numerical template generating apparatus according to the present invention. The numerical template generation apparatus of the present embodiment can be implemented using the embodiments of the numerical template generation method described above. The numerical template generating apparatus 70 includes an algorithm input area display module 71, an algorithm parameter setting module 72, and a numerical template generating display module 73.
The algorithm input area display module 71 is configured to display an algorithm input area of the numerical template based on an algorithm display area and an output numerical value of the numerical template; the algorithm parameter setting module 72 is configured to set a fixed numerical variable in 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 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, first, the algorithm input area displaying module 71 determines the curtain numerical value that needs to be output by the numerical template, such as the curtain parameters, e.g., the number of curtain fabrics that need to be used or the number of curtains that need to be used.
Subsequently, the algorithm input area display module 71 sets an algorithm display area and an algorithm input area of the numerical template, specifically, as shown in fig. 2, an area a in fig. 2 is the algorithm display area of the numerical template, and an area B in fig. 2 is the algorithm input area of the numerical template.
Subsequently, the algorithm parameter setting module 72 sets a fixed numerical variable among 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 fixed numerical variable is a fixed parameter in the input material parameters in the numerical template, such as registration, wave height and the like, and the fixed numerical variable generally does not change along with the size change of the curtain product. Meanwhile, the numerical template also has an activity numerical variable, the activity numerical variable is an activity parameter in the input material parameters, such as curtain height or curtain width, and the fixed numerical variable generally changes along with the size change of the curtain product, so that the specific size of the curtain product is needed to be determined.
The arithmetic operation type of the numerical template comprises an addition operator, a subtraction operator, a multiplication operator, a division operator, an 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, assignment operation, rounding-up operation and rounding-down operation.
The judgment condition of the numerical template can comprise the judgment of the magnitude of the two numerical variables, the judgment of the upper limit value of the numerical variable, the judgment of the lower limit value of the numerical variable and the judgment of the upper limit value and the lower limit value of the numerical variable, so that the user can conveniently set the range of the numerical variable.
The numerical type of the numerical variable can include numerical value, enumeration and text, so as to provide more various numerical value input types for users.
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 the arithmetic operator of the computational cell; as shown in fig. 3B, the second input box is used to select a fixed numerical variable or an active numerical variable of the calculation unit; the numerical value selector switch is used for switching the type of the input variable of the second input frame; as shown in fig. 3C, when the numerical switch is turned on, the second input box is used to input the fixed numerical variable; as shown in fig. 3B, when the value switch is turned off, the second input box is used to input the activity value 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 amount of fabric is set as a temporary variable (temporary BB).
Thus, the setting of the fixed numerical variable, the activity numerical variable and the algorithm operator type in the numerical template is completed.
The algorithm parameter setting module 72 may then set the determination condition of the numerical template, and if the numerical template may generate a plurality of branches of the computing units based on different conditions, the branches of the computing units may be implemented by setting the determination condition 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, algorithm operator type, judgment condition, and the fixed numerical variable, algorithm operator type, and sub judgment condition in the sub-calculation unit, and displays the algorithm flow through the algorithm display area.
This completes the generation process of the numerical template by the numerical template generation apparatus 70 of the present embodiment.
Then, a corresponding curtain product template may 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 process of curtain product template design by curtain product provider at website server includes:
in step S801, the curtain product provider determines a category list of curtain product templates based on the category of the curtain product, for example, click on the area D shown in fig. 8A to determine the category of the curtain product template (for example, the cloth art curtain is selected).
Then, the curtain product provider fills the basic information, the product information, the main material, the preset parameters, the product image, and the product attributes of the curtain product in the curtain product template, as shown in fig. 8A.
Step S802, the curtain product provider may input a curtain product template type selection instruction on the curtain product template, determine a type of a component (such as fabric, process, track, lace, or decoration) of at least one curtain component template of the curtain product template, and display a component material of the component, as specifically shown in a region E1 of fig. 8A. The curtain product provider may display the component materials of the pop-up component by clicking the + key in the area E1, and the display diagram of the specific component materials is shown in fig. 8B, from which the curtain product provider may select a component material as the component material of the curtain component template of the curtain product template.
Preferably, the area E2 in fig. 8A can be clicked to further refine the window curtain product template, such as the cloth curtain being a screen curtain, a cloth curtain, a lifting curtain or a motorized curtain.
Step S803, the curtain product provider determines the component material of the curtain product on the displayed component material, and further determines the unit price information and the usage parameter of the component material, wherein the usage parameter of the component material is determined by the same category of numerical templates.
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 material of the curtain product, and the usage parameter of the component material.
In step S805, the curtain product provider uploads a curtain product picture corresponding to the curtain product template in a region E1 of fig. 8A as the display information of the curtain product.
After the curtain product provider checks that the display content of the curtain product is correct, the setting process of the curtain product template is completed.
Then, the curtain solution designer can design a curtain solution based on the curtain product template, please refer to fig. 9A to 9D, and fig. 9A to 9D are schematic diagrams of curtain solution generation. The process of designing the curtain scheme at the website server by the curtain scheme designer comprises the following steps:
step S901, the curtain scheme designer inputs basic information of the curtain scheme on the curtain scheme information editing interface, specifically as shown in fig. 9A, the scheme providing store, the scheme type, the scheme name, the scheme code, and the like of the curtain scheme are respectively input in the G area in fig. 9A, so that the user can uniquely determine the curtain scheme through the basic information.
Preferably, the curtain method designer may also provide image information of the curtain scheme on a curtain scheme image editing interface so that the user can better and more quickly understand the curtain scheme. Specifically as shown in region H of fig. 9A.
Step S902, the curtain scheme designer obtains the corresponding house curtain position information, and displays the curtain information at each position in the area I of fig. 9A, and the user may provide the corresponding curtain product list based on the house curtain position information, for example, click the + number key in the area I, and may pop up the curtain product list in the living room, as shown in fig. 9B specifically.
In step S903, the curtain scheme designer may send a curtain product selection instruction based on the curtain products in the curtain product list, so as to determine the curtain product template corresponding to the curtain product. The house curtain position information after selecting the corresponding curtain product template is shown in fig. 9C, in which a plurality of curtain product templates for the living room position may be displayed. The curtain product template includes display information and unit price information of a corresponding curtain product, where the display information of the curtain product may 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 may be price information of the curtain product in fig. 9C.
Step S904, the curtain solution designer may modify the parameter information of the curtain product 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. For example, the curtain width, the curtain height and the fold rate in fig. 9D are modified to obtain the modified unit price information of the house curtain.
Step S905, the website server obtains the correction unit price information of the house curtain at each house curtain position, adds the correction unit price information of each house curtain to obtain the total price information of the house curtain scheme, and displays the content of the whole house curtain scheme.
After the curtain scheme designer checks that the displayed contents of the house curtain scheme are correct, the curtain scheme designer completes the process of designing the curtain scheme in the website server.
Referring to fig. 2 and fig. 6A to 6D, a process of designing a formula template at a web server by a curtain product provider includes:
step S1001, the curtain product provider sets a fixed numerical variable of the numerical variable, an algorithm operator type of the formula template and a judgment condition of the formula template in an algorithm input area of the formula template.
In fig. 2, temporary values (temporary BB), numbers and numbers are fixed variables, signs of +, -, # and/etc. in the algorithm input region F are algorithm operators, and the content under judgment in the algorithm input region B is a judgment condition.
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 determination 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 is used for representing the algorithm flow under different judgment conditions.
Specifically, in this embodiment, the number of fabric uses needs to be obtained, wherein a temporary value (temporary BB), a width and a number are first given as a preset value (e.g. 1), and then a temporary value (1 × curtain width + curtain folding rate + 100)/width (rounding the result) is set as the value of 1 × 100.
The specification, the curtain width and the curtain pleat rate are all activity numerical variables, so that the width of the Roman curtain is multiplied by the corresponding multiple of the pleat effect to obtain the using number of a piece of cloth, the using number of the cloth after loss is obtained by adding the using number of the cloth with the loss of 100 millimeters, and the using number of the cloth is obtained by rounding off the specification based on the cloth.
Then, three sub-judgment conditions are entered, if the direction is unlimited when the first sub-judgment condition is met, the curtain height is less than or equal to BB; the algorithm is executed to display the first sub-judgment flow in the area a, where the number (fabric usage number) is 1 × curtain width + 100.
That is, the number of cloth materials used for the final roman shade is the number of the roman shade (width +100 (loss amount)). The pattern direction is the specific orientation of the patterns on the cloth, the pattern direction with a fixed height indicates that the patterns on the cloth can only be used vertically, and the pattern direction with a fixed width indicates that the patterns on the cloth can only be used horizontally.
For the convenience of understanding of the user, the judgment parameters of the sub-judgment conditions of the same level in the formula template under the same judgment condition should be parameters of the same type, for example, all three sub-judgment processes in the algorithm display area a are set in the flower direction.
If the flower direction is constant height and the curtain height is less than or equal to BB, executing a second sub-judgment process in the algorithm display area A; number (fabric usage number) (1 × curtain width + 100)/flower bit width (result rounded up) × (flower bit width) × (number of fabric usage). The pattern width is the width 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 bit width can obtain the number of basic patterns required in the width; in order to ensure that the number of the basic patterns is sufficient and the number of the patterns is an integer, when the obtained result has a decimal, taking the nearest integer which is greater than the numerical value, wherein the step is rounding-up; multiplying the number of the base patterns after rounding up by the width size of the base patterns to obtain the final width of the Roman shade; the final width of the roman shade multiplied by the number of panels of the cloth material yields the number of cloth materials required for the final roman shade. Namely, the number of the cloth materials used by the final roman shade is [ (shade width + 100)/flower bit width (rounding up the result) × flower bit width.
If the flower direction is the fixed width and the flower alignment design is met, executing a third sub-judgment process in the algorithm display area A; number (fabric usage number) ((1 × shade height + 100)/flower position height (rounded up result) × flower position height × number of panels). The register design means that patterns on the cloth need to be aligned with the pattern patterns in splicing and sewing of two pieces of cloth. The pattern height refers to the height dimension of the basic pattern in the continuous patterns 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 required in the height; in order to ensure that the number of the basic patterns is sufficient and the number of the patterns is an integer, when the obtained result has a decimal, taking the nearest integer which is greater than the numerical value, wherein the step is rounding-up; multiplying the number of the base patterns after rounding up by the height size of the base patterns to obtain the final height of the Roman shade; the final height of the roman shade multiplied by the breadth of the cloth material yields the number of cloth materials required for the final roman shade. That is, the number of cloth used in the final roman shade is [ (shade height + 100)/flower position height (rounded up result) × flower position height [ ].
Therefore, the website server can calculate the using amount of the fabric based on the activity numerical value variables such as the specification, the curtain width, the curtain folding rate and the like 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, the curtain product provider may input various activity numerical variables, such as specification 500, curtain width 50, and the like, through the table in the data test area C, and finally calculate that the usage number of the fabric is 1 × curtain width +100 — 150. Meanwhile, the data testing process path is also shown in the algorithm display area a, as shown in fig. 6B, a black dot symbol 61 on fig. 6B represents the data testing process path.
If the activity value variable provided by the curtain product provider has an error, as shown in fig. 6C, if the input activity value variable only satisfies part of the first sub-judgment condition, such as the direction of flower is not limited, but the curtain height 401 is greater than the critical BB (400), the data test process path is also 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 test process, and the curtain product provider may modify the activity value variable or the formula template based on the interruption point of the data test process in fig. 6D.
Thus, the process of designing the formula template on the website server by the curtain product provider according to the embodiment is completed.
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 generation of a curtain order scheme in the existing curtain sales platform is difficult and the curtain selection efficiency is low are effectively solved.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.

Claims (10)

1. A method for generating a numerical template, comprising:
displaying an algorithm input area of the numerical template based on an algorithm display area and an output numerical value of the numerical template;
setting a fixed numerical variable in 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;
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 the algorithm display area.
2. The numerical template generation method according to claim 1, further comprising:
setting at least one stage of judgment algorithm display sub-area in the corresponding algorithm display area based on the judgment condition of the numerical template;
in the judgment algorithm display sub-area, setting a fixed numerical variable in the numerical variables, an algorithm operator type of a numerical template and a sub-judgment condition of the numerical template when the judgment condition is met;
and 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-area.
3. The numerical template generation method according to claim 1, further comprising:
testing the algorithm flow based on the setting sequence of the algorithm flow in the algorithm input area and the activity value variable to obtain the output value;
and prompting the test progress in the algorithm display area and/or the judgment algorithm display sub-area.
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 active numerical variables further comprises:
and carrying out preset value prompt or preset value range prompt on the activity value variable.
5. The numerical template generation method of claim 1, wherein the algorithm operator types include addition operators, subtraction operators, multiplication operators, division operators, assignment operators, rounding-up operators, and rounding-down operators.
6. The numerical template generation method according to claim 1, wherein the judgment condition includes a magnitude judgment of two numerical variables, an upper limit numerical judgment of the numerical variables, a lower limit numerical judgment of the numerical variables, and an upper and lower limit numerical judgment of the numerical variables.
7. The method of generating numerical templates of claim 1, wherein the step of presenting the algorithm input area of the numerical template is preceded by:
setting the name, the type and the value type of a numerical variable; wherein the type of the numerical variable is consistent with the corresponding product type of the output numerical value.
8. The method according to claim 7, wherein the numerical variable is a type of a component corresponding to a window covering product, and the numerical type of the numerical variable includes numerical value, enumeration, and text.
9. The numerical template generation method according to claim 1, further comprising:
and when the numerical template is forbidden, prompting operation is carried out on the associated product template and the 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 and the output numerical value of the numerical template;
the algorithm parameter setting module is used for setting a fixed numerical variable in 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;
and the numerical template generating and displaying module is used for generating the 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.
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 true CN111242735A (en) 2020-06-05
CN111242735B 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 (16)

* 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
US20110093378A1 (en) * 2009-10-20 2011-04-21 Trading Technologies International, Inc. User-Defined Algorithm Electronic Trading
US20130111373A1 (en) * 2011-05-07 2013-05-02 Ryouichi Kawanishi Presentation content generation device, presentation content generation method, presentation content generation program, and integrated circuit
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

Patent Citations (16)

* 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
US20110093378A1 (en) * 2009-10-20 2011-04-21 Trading Technologies International, Inc. User-Defined Algorithm Electronic Trading
US20130111373A1 (en) * 2011-05-07 2013-05-02 Ryouichi Kawanishi Presentation content generation device, presentation content generation method, presentation content generation program, and integrated circuit
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
CN111242735B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN111190597A (en) Data UE visual design system
US20160321552A1 (en) Automatic recognition and insights of data
Ramón et al. A layout inference algorithm for Graphical User Interfaces
CN112241263A (en) Visual page processing method and equipment
CN111127158B (en) Curtain scheme generation method and curtain scheme generation device
CN106484384A (en) A kind of page animation methods of exhibiting and system
CN111242736B (en) Product classification display method and product classification display device
Hrabovskyi et al. The methodology of developing a mobile application design for creating a genealogical tree
CN113468261B (en) Method and system for constructing entity relationship of Internet of things based on graphic editing engine
Zeidler et al. Automatic generation of user interface layouts for alternative screen orientations
Hameed et al. Family of a-point b-ary subdivision schemes with bell-shaped mask
CN111242735B (en) Numerical template generation method and numerical template generation device
JP2007264765A (en) Formula editing device and program
CN113076160B (en) Information display method of display interface and related device
JP2009032121A (en) Color generation support device and color generation support program
Mew Mastering Android Studio 3
CN111782309B (en) Method and device for displaying information and computer readable storage medium
US6421061B1 (en) Mathematical set display apparatus and method, and storage medium having program recorded thereon
JP5957026B2 (en) Input region generation method, generation device, and generation program
Cecconi et al. Tools for cartographic visualization of statistical data on the Internet
Byelas et al. Towards realism in drawing areas of interest on architecture diagrams
CN110244887A (en) Cursor display method, device, electronic equipment and storage medium
CN116126331B (en) Interactive flow chart generation method and device
Saber et al. A visual representation of cellular automata-like systems
KR101518566B1 (en) Method and apparatus for providing online service experince modeling

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