CN113379506A - Quotation scheme generation method and device, electronic equipment and storage medium - Google Patents

Quotation scheme generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113379506A
CN113379506A CN202110737019.4A CN202110737019A CN113379506A CN 113379506 A CN113379506 A CN 113379506A CN 202110737019 A CN202110737019 A CN 202110737019A CN 113379506 A CN113379506 A CN 113379506A
Authority
CN
China
Prior art keywords
target
decoration
scheme
information
quotation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110737019.4A
Other languages
Chinese (zh)
Inventor
刘玉丹
李显
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong 3vjia Information Technology Co Ltd
Original Assignee
Guangdong 3vjia Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong 3vjia Information Technology Co Ltd filed Critical Guangdong 3vjia Information Technology Co Ltd
Priority to CN202110737019.4A priority Critical patent/CN113379506A/en
Publication of CN113379506A publication Critical patent/CN113379506A/en
Pending legal-status Critical Current

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/0611Request for offers or quotes
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • G06Q10/0875Itemisation or classification of parts, supplies or services, e.g. bill of materials

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method and a device for generating a quotation scheme, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a target decoration scheme, and determining target decoration materials related to the target decoration scheme and target identification information of the target decoration materials related to the target decoration materials; determining the target decoration material associated with the target decoration material according to the target identification information, acquiring target material information of the target decoration material, and storing the target material information in a local cache; under the condition that a quotation scheme generating instruction is received, acquiring the target material information of the target decoration material related to the target decoration material from a local cache; and performing quotation processing on the target decoration materials by using the target material information, and combining quotation processing results of the target decoration materials to generate a target quotation scheme.

Description

Quotation scheme generation method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a method and a device for generating a quotation scheme, electronic equipment and a storage medium.
Background
With the rapid development of internet technology, software developers gradually develop a plurality of different types of software for different enterprises, for example, the software developers develop 3D design software for different enterprises to design decoration schemes. After the decoration scheme is designed, enterprise designers need to generate (i.e., export) a quotation scheme corresponding to the decoration scheme, and the quotation scheme is generated by data support of material information in a database.
In the related art, in the process of generating the quotation scheme, when corresponding material information is needed each time, the corresponding material information is inquired from the database, so that when the corresponding material information is needed for multiple times, the corresponding material information is inquired from the database for multiple times, and thus, the database inquiry can occur for multiple times, and certain time consumption exists in each database inquiry, so that the quotation scheme is generated, the time consumption is long, and the efficiency is low.
Disclosure of Invention
In order to solve the technical problems that when corresponding material information is needed for many times, corresponding material information is inquired from a database for many times, so that the database inquiry occurs for many times, and each database inquiry has certain time consumption, so that a quotation scheme is generated, the time consumption is long, and the efficiency is low, the embodiment of the invention provides a quotation scheme generation method, a device, an electronic device and a storage medium.
In a first aspect of the embodiments of the present invention, a method for generating a quotation scheme is provided first, where the method includes:
acquiring a target decoration scheme, and determining target decoration materials related to the target decoration scheme and target identification information of the target decoration materials related to the target decoration materials;
determining the target decoration material associated with the target decoration material according to the target identification information, acquiring target material information of the target decoration material, and storing the target material information in a local cache;
under the condition that a quotation scheme generating instruction is received, acquiring the target material information of the target decoration material related to the target decoration material from a local cache;
and performing quotation processing on the target decoration materials by using the target material information, and combining quotation processing results of the target decoration materials to generate a target quotation scheme.
In an alternative embodiment, the target identification information includes a target material identification, and the determining the target decoration material associated with the target decoration material according to the target identification information includes:
and determining the decoration material corresponding to the target material identification as the target decoration material associated with the target decoration material according to the mapping relation between the preset material identification and the decoration material.
In an optional embodiment, the obtaining target material information of the target decoration material and storing the target material information in a local cache includes:
determining a target memory corresponding to the target decoration material, and acquiring target material information of the target decoration material from the target memory;
and searching a target cache which is divided for the target material information in advance from a local cache, and storing the target material information in the target cache in a list set mode.
In an optional embodiment, the obtaining target material information of the target decoration material and storing the target material information in a local cache includes:
obtaining locally cached material information, wherein the material information comprises material information of decoration materials related to other decoration schemes;
and under the condition that the material information is not matched with the target material information of the target decoration material, acquiring the target material information of the target decoration material, and storing the target material information in a local cache.
In an alternative embodiment, the target finishing material includes a plurality of target finishing materials, and the obtaining the target material information of the target finishing material associated with the target finishing material from the local cache includes:
determining a volume of a plurality of the target finishing materials, and determining a quotation processing sequence of the plurality of the target finishing materials based on the volume;
and aiming at any one target decoration material, acquiring the target material information of the target decoration material related to the target decoration material from a local cache based on the quotation processing sequence.
In an alternative embodiment, the target finishing material includes a plurality of target finishing materials, and the obtaining the target material information of the target finishing material associated with the target finishing material from the local cache includes:
determining a quotation processing sequence of a plurality of target decoration materials based on target material information of the target decoration materials associated with the target decoration materials;
and aiming at any one target decoration material, acquiring the target material information of the target decoration material related to the target decoration material from a local cache based on the quotation processing sequence.
In an optional embodiment, the combining the quotation processing results of the target decoration materials to generate a target quotation scheme includes:
judging whether a plurality of decoration areas are involved in the target decoration scheme;
if the target decoration scheme relates to a plurality of decoration areas, combining quotation processing results of the target decoration materials according to different decoration areas to generate a target quotation scheme;
and if the target decoration scheme does not relate to a plurality of decoration areas, combining the quotation processing results of the target decoration materials according to the classification of different decoration materials to generate a target quotation scheme.
In a second aspect of the embodiments of the present invention, there is provided a device for generating an offer scheme, the device including:
the scheme acquisition module is used for acquiring a target decoration scheme;
the material determining module is used for determining target decoration materials related to the target decoration scheme and target identification information of the target decoration materials related to the target decoration materials;
the material determining module is used for determining the target decoration material related to the target decoration material according to the target identification information;
the information storage module is used for acquiring target material information of the target decoration material and storing the target material information in a local cache;
the information acquisition module is used for acquiring the target material information of the target decoration material related to the target decoration material from a local cache under the condition of receiving a quotation scheme generation instruction;
and the scheme generating module is used for performing quotation processing on the target decoration materials by using the target material information, and combining quotation processing results of the target decoration materials to generate a target quotation scheme.
In a third aspect of the embodiments of the present invention, there is further provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the method for generating a quotation scheme according to the first aspect when executing the program stored in the memory.
In a fourth aspect of the embodiments of the present invention, there is also provided a storage medium, in which instructions are stored, and when the storage medium is run on a computer, the storage medium causes the computer to execute the method for generating a quotation scheme according to the first aspect.
In a fifth aspect of embodiments of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of generating a quotation scheme as described in the first aspect above.
According to the technical scheme provided by the embodiment of the invention, the target decoration scheme is obtained, the target decoration materials related to the target decoration scheme and the target identification information of the target decoration materials related to the target decoration materials are determined, the target decoration materials related to the target decoration materials are determined according to the target identification information, the target material information of the target decoration materials is obtained and stored in the local cache, under the condition that a quotation scheme generation instruction is received, the target material information of the target decoration materials related to the target decoration materials is obtained from the local cache, quotation processing is carried out on the target decoration materials by utilizing the target material information, and the quotation processing results of the target decoration materials are combined to generate the target quotation scheme. Therefore, the material information required by the generation of the quotation scheme is stored in the local cache in advance, so that the material information is acquired from the local cache for generating the quotation scheme under the condition of receiving the quotation scheme generation instruction, the database is prevented from being inquired for many times, the database inquiry time is saved, the time consumption for generating the quotation scheme is shortened, and the efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation of a method for generating a quotation scheme according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an application scenario shown in the embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an implementation flow of pre-storing material information according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an implementation flow of pre-storing another material information in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of a quotation scheme generating device shown in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device shown in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
As shown in fig. 1, an implementation flow diagram of a method for generating a quotation scheme provided in an embodiment of the present invention is shown, where the method is applied to a server, and specifically may include the following steps:
s101, obtaining a target decoration scheme, and determining target decoration materials related to the target decoration scheme and target identification information of the target decoration materials related to the target decoration materials.
At present, a designer of an enterprise logs in a 3D software client of a certain software developer, so that decoration scheme design is carried out on the 3D software client, and after the 3D software client designs a decoration scheme, the decoration scheme can be selected to be submitted and stored, so that a server can receive and store the decoration scheme submitted by the designer of the enterprise.
The server can determine the decoration scheme as a target decoration scheme under the condition of receiving the decoration scheme submitted by a designer of an enterprise, so that the target decoration scheme can be obtained, and target decoration materials related to the target decoration scheme and target identification information of the target decoration materials related to the target decoration materials are determined.
For example, the designer of enterprise a logs in the 3D software client of a certain software developer, so that the decoration scheme design is performed on a certain house at the 3D software client, and after the 3D software client designs the decoration scheme, the designer of enterprise a may choose to submit and save, so that the server may receive and store the decoration scheme submitted by the designer of enterprise a, as shown in fig. 2.
The server can determine the decoration scheme as a target decoration scheme under the condition of receiving the decoration scheme submitted by the designer of the enterprise A, so that the target decoration scheme can be obtained, target decoration materials such as a desk model and a chair model related to the target decoration scheme and target identification information of actual target decoration materials such as a desk and a chair related to the target decoration materials are determined.
It should be noted that, for example, the (target) decoration material may be a table model, a chair model, a sofa model, a cooking bench model, and the like, and the (target) decoration material associated with the (target) decoration material may be, for example, a table, a chair, a sofa, a cooking bench, and the like in an actual life scene, the (target) identification information of the (target) decoration material may be a (target) material identifier, for example, a material ID, a material name, a material number, and the like, which is not limited in the embodiment of the present invention.
S102, determining the target decoration material related to the target decoration material according to the target identification information, obtaining target material information of the target decoration material, and storing the target material information in a local cache.
For the target identification information of the target decoration material associated with the target decoration material, the server may determine the target decoration material associated with the target decoration material according to the target identification information, thereby obtaining the target material information of the target decoration material and storing the target material information in a local cache, where the local cache generally refers to a local memory of the server.
In the embodiment of the present invention, the mapping relationship between the material identifier and the decoration material is preset, so that the decoration material corresponding to the target material identifier is determined to be the target decoration material associated with the target decoration material according to the preset mapping relationship between the material identifier and the decoration material.
For example, in the embodiment of the present invention, a mapping relationship between the material ID and the decoration material is preset, as shown in table 1 below, so that it is determined that the decoration material (table) corresponding to the target material ID (11) is the target decoration material associated with the target decoration material (table model), the decoration material (chair) corresponding to the target material ID (12) is the target decoration material associated with the target decoration material (chair model), and so on, according to the preset mapping relationship between the material ID and the decoration material.
Material ID Finishing material
11 Table (Ref. Table)
12 Chair (Ref. TM. chair)
…… ……
TABLE 1
As shown in fig. 3, an implementation flow diagram for pre-storing material information provided in an embodiment of the present invention is shown, where the method is applied to a server, and specifically may include the following steps:
s301, determining a target memory corresponding to the target decoration material, and acquiring target material information of the target decoration material from the target memory.
For the target decoration material associated with the target decoration material, the server may determine a target storage corresponding to the target decoration material, and for the target storage, for example, the target storage may be various types of databases or various hardware storage devices, so that the server may obtain the target material information of the target decoration material from the target storage. Wherein, the server can obtain the target material information of the target decoration material from the target memory at one time.
For example, for target decoration materials (tables, chairs, etc.) associated with the target decoration materials (table models, chair models, etc.), the server may determine a database corresponding to the target decoration materials (tables, chairs, etc.), where the database is used to store target material information of the target decoration materials (tables, chairs, etc.), so that the server may acquire the target material information of the target decoration materials (tables, chairs, etc.) from the database.
It should be noted that, for the target material information, a thumbnail of the target material, a unit price of the target material, a brief description of the target material, etc. may be included, for example, for the chair information, a thumbnail of a chair, a unit price of a chair, a brief description of a chair, etc. may be included, and the embodiment of the present invention does not limit this.
S302, searching a target cache which is divided for the target material information in advance from a local cache, and storing the target material information in the target cache in a list set mode.
For the obtained target material information of the target decoration material, the server searches a target cache which is divided for the target material information in advance from a local cache, and therefore the target material information is stored in the target cache in a list set mode.
For example, in the embodiment of the present invention, a target memory is divided for target material information in advance from a local memory, so that the target material information of the obtained target decoration material is stored in the target memory in a list set manner.
It should be noted that the list set may specifically be an ArrayList, which refers to an array queue and provides functions of relevant addition, deletion, modification, traversal, and the like, and the embodiment of the present invention does not limit this function.
In addition, as shown in fig. 4, an implementation flow diagram for another material information pre-storage provided in the embodiment of the present invention is shown, and the method is applied to a server, and may specifically include the following steps:
s401, obtaining locally cached material information, wherein the material information comprises material information of decoration materials related to other decoration schemes.
In the embodiment of the invention, the server can obtain the locally cached material information, wherein the material information comprises the material information of the decoration materials related to the decoration materials involved in the rest decoration schemes.
For example, for the remaining finishing plans, such as the historical finishing plans, the material information of the finishing materials associated with the finishing materials involved in the historical finishing plans has been stored in the local cache, and the server can thereby acquire the locally cached material information.
S402, under the condition that the material information is not matched with the target material information of the target decoration material, obtaining the target material information of the target decoration material, and storing the target material information in a local cache.
For the locally cached material information, under the condition that the material information is not matched with the target material information of the target decoration material, the locally cached material information of the decoration material related to the decoration materials in the rest decoration schemes cannot be suitable for generating the target quotation scheme corresponding to the target decoration scheme, so that the target material information of the target decoration material can be obtained and stored in the local cache.
For the locally cached material information, under the condition that the material information is matched with the target material information of the target decoration material, the material information of the decoration material related to the decoration materials in the other locally cached decoration schemes is indicated, and the locally cached material information can be suitable for generating the target quotation scheme corresponding to the target decoration scheme, so that the target material information of the target decoration material does not need to be acquired and stored in the local cache.
In addition, for the locally cached material information, under the condition that the material information is matched with the target material information of part of the target decoration materials, the locally cached material information of the decoration materials related to the other decoration schemes is described, and part of the locally cached material information is suitable for generating the target quotation scheme corresponding to the target decoration scheme, so that the target material information of part of the target decoration materials can be obtained and stored in the local cache.
It should be noted that, before obtaining (all or part of) the target material information of the target decoration material, a target memory corresponding to the target decoration material may be determined, the target material information of the target decoration material is obtained (all or part of) from the target memory, a target cache divided for the target material information in advance is searched from a local cache, and the (all or part of) the target material information is stored in the target cache in the form of a list set.
S103, under the condition that a quotation scheme generating instruction is received, the target material information of the target decoration material related to the target decoration material is obtained from a local cache.
And S104, performing quotation processing on the target decoration materials by using the target material information, and combining quotation processing results of the target decoration materials to generate a target quotation scheme.
In the embodiment of the invention, after a designer of an enterprise submits and stores a decoration scheme at a 3D software design end, the decoration scheme is a target decoration scheme, then a quotation scheme export button can be clicked at a 3D software client aiming at the target decoration scheme, so that a quotation scheme generation instruction is triggered, and the 3D software client sends the quotation scheme generation instruction to a server so as to facilitate the server to generate a target quotation scheme corresponding to the target decoration scheme.
For the server, a quotation scheme generation instruction can be received, under the condition that the quotation scheme generation instruction is received, target material information of target decoration materials related to the target decoration materials is obtained from a local cache, quotation processing is carried out on the target decoration materials by using the target material information, and accordingly quotation processing results of the target decoration materials are combined, a target quotation scheme corresponding to the target decoration scheme is generated and transmitted to the 3D software client to be exported to designers of enterprises.
For example, the target decoration material related to the target decoration scheme includes a table model, a chair model, and a sofa model … …, and when receiving the instruction for generating the quotation scheme, the server obtains the table information of the table associated with the table model from the local memory (where the table information includes a thumbnail, unit price, brief description, etc. of the table), and performs quotation processing on the table model using the table information, so as to calculate the quotation (i.e. price) of the table model;
then, chair information of a chair associated with the chair model is obtained from the local memory (the chair information includes a thumbnail, unit price, brief description and the like of the chair), and the quotation (namely price) of the chair model can be calculated by performing quotation processing on the chair model by using the chair information; and by analogy, each target decoration material related in the target decoration scheme is subjected to quotation processing circularly, so that the quotation processing results of each target decoration material can be combined, and a target quotation scheme corresponding to the target decoration scheme is generated.
In addition, for the target offer scheme corresponding to the target decoration scheme, in addition to the offer processing result of each target decoration material, target material information of the target decoration material associated with each target decoration material may be included, for example, a thumbnail of the target material, a usage amount, a unit price, a category where it is located, and the like.
In the embodiment of the invention, the server can determine the volumes of the target decoration materials, and the quotation processing sequence of the target decoration materials is determined based on the volumes, so that the target material information of the target decoration material related to any target decoration material is obtained from a local cache based on the quotation processing sequence, the target decoration materials are quoted by using the target material information, and the quotation processing results of all the target decoration materials are combined subsequently to generate a target quotation scheme corresponding to the target decoration scheme, and the target quotation scheme is transmitted to the 3D software client to be exported to a designer of an enterprise.
For example, the target finishing materials involved in the target finishing scheme include a table model, a chair model, and a sofa model … …, and generally include a plurality of target finishing materials, and the number of each target finishing material may be plural, for example, 4 chair models. For the server, the volumes of the plurality of target finishing materials may be determined, where the target finishing material having the smallest or largest volume may be preferentially processed, and the quotation processing order of the target finishing material having the largest or smallest volume is determined to be the first and the remaining, so that the quotation processing order of the plurality of target finishing materials is determined based on the volumes.
Assuming that the quotation processing sequence of the sofa model is the first, obtaining sofa information of a sofa associated with the sofa model from a local memory, and performing quotation processing on the sofa model by using the sofa information to calculate quotation (namely price) of the sofa model; then, the quotation processing sequence of the table model is the second place, the table information of the table related to the table model is obtained from the local memory, and the quotation (namely the price) of the table model can be calculated by using the table information to perform quotation processing on the table model;
and by analogy, for any target decoration material, obtaining target material information of the target decoration material associated with the target decoration material from a local cache based on the quotation processing sequence, performing quotation processing on the target decoration material by using the target material information, combining quotation processing results of all the target decoration materials subsequently, generating a target quotation scheme corresponding to the target decoration scheme, and transmitting the target quotation scheme to the 3D software client to be exported to a designer of an enterprise.
In addition, in the embodiment of the present invention, for the server, the quotation processing sequence of the plurality of target decoration materials may be determined based on the target material information of the target decoration material associated with the target decoration material, so that for any target decoration material, the target material information of the target decoration material associated with the target decoration material is acquired from the local cache based on the quotation processing sequence, and the target decoration material is subjected to quotation processing using the target material information, so that the quotation processing results of all the target decoration materials are combined subsequently, a target quotation scheme corresponding to the target decoration scheme is generated, and is transmitted to the 3D software client to be exported to the designer of the enterprise.
For example, the target finishing materials involved in the target finishing scheme include a table model, a chair model, and a sofa model … …, and generally include a plurality of target finishing materials, and the number of each target finishing material may be plural, for example, 4 chair models. For the server, the target finishing material corresponding to the target finishing material having the lowest or highest unit price may be preferentially processed, and then the quotation processing order of the target finishing material corresponding to the target finishing material having the lowest or highest unit price is determined to be the first, and the remaining times, so that the quotation processing order of a plurality of target finishing materials is determined based on the target material information (including the unit price of the target material) of the target finishing material associated with the target finishing material.
Assuming that the quotation processing sequence of the sofa model is the first, obtaining sofa information of a sofa associated with the sofa model from a local memory, and performing quotation processing on the sofa model by using the sofa information to calculate quotation (namely price) of the sofa model; then, the quotation processing sequence of the table model is the second place, the table information of the table related to the table model is obtained from the local memory, and the quotation (namely the price) of the table model can be calculated by using the table information to perform quotation processing on the table model;
and by analogy, for any target decoration material, obtaining target material information of the target decoration material associated with the target decoration material from a local cache based on the quotation processing sequence, performing quotation processing on the target decoration material by using the target material information, combining quotation processing results of all the target decoration materials subsequently, generating a target quotation scheme corresponding to the target decoration scheme, and transmitting the target quotation scheme to the 3D software client to be exported to a designer of an enterprise.
In addition, before combining the quotation processing results of the target decoration materials and generating a target quotation scheme corresponding to the target decoration scheme, the server can judge whether a plurality of decoration areas are involved in the target decoration scheme, if the plurality of decoration areas are involved in the target decoration scheme, combine the quotation processing results of the target decoration materials according to different decoration areas to generate the target quotation scheme corresponding to the target decoration scheme, and if the plurality of decoration areas are not involved in the target decoration scheme, combine the quotation processing results of the target decoration materials according to the classification of different decoration materials to generate the target quotation scheme corresponding to the target decoration scheme.
For example, for a target decoration scheme, the server may determine whether the target decoration scheme relates to multiple decoration areas, such as multiple decoration areas of a kitchen, a living room, a main bed, a sub bed and the like, and if the target decoration scheme relates to multiple decoration areas, combine quotation processing results of target decoration materials according to different decoration areas to generate a target quotation scheme corresponding to the target decoration scheme, which means that if the target decoration material belongs to the kitchen, the quotation processing results of the target decoration material are divided into the kitchen, and if the target decoration material belongs to the kitchen, the multiple decoration areas of the living room, the main bed, the sub bed and the like are similar, so that the quotation processing results of the target decoration material are divided according to different decoration areas to form a final target quotation scheme corresponding to the target decoration scheme.
In addition, if the target decoration scheme does not relate to a plurality of decoration areas, combining the quotation processing results of the target decoration materials according to the classification of different decoration materials to generate a target quotation scheme corresponding to the target decoration scheme, which means that if the target decoration materials belong to the metal class, the quotation processing results of the target decoration materials are divided into the metal class, and the classification of the decoration materials such as the wood class and the plastic class is similar, so that the quotation processing results of the target decoration materials are divided according to the classification of the different decoration materials to form the final target quotation scheme corresponding to the target decoration scheme.
According to the technical scheme provided by the embodiment of the invention, the target decoration scheme is obtained, the target decoration materials related to the target decoration scheme and the target identification information of the target decoration materials related to the target decoration materials are determined, the target decoration materials related to the target decoration materials are determined according to the target identification information, the target material information of the target decoration materials is obtained and stored in the local cache, under the condition that a quotation scheme generation instruction is received, the target material information of the target decoration materials related to the target decoration materials is obtained from the local cache, quotation processing is carried out on the target decoration materials by using the target material information, and the quotation processing results of the target decoration materials are combined to generate the target quotation scheme.
Therefore, the material information required by the generation of the quotation scheme is stored in the local cache in advance, so that the material information is acquired from the local cache for generating the quotation scheme under the condition of receiving the quotation scheme generation instruction, the database is prevented from being inquired for many times, the database inquiry time is saved, the time consumption for generating the quotation scheme is shortened, and the efficiency is improved.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a device for generating a quotation scheme, and as shown in fig. 5, the device may include: a scheme acquisition module 510, a material determination module 520, a material determination module 530, an information storage module 540, an information acquisition module 550, and a scheme generation module 560.
A scheme obtaining module 510, configured to obtain a target decoration scheme;
a material determining module 520, configured to determine a target decoration material related to the target decoration scheme and target identification information of the target decoration material associated with the target decoration material;
a material determining module 530, configured to determine, according to the target identification information, the target decoration material associated with the target decoration material;
the information storage module 540 is used for acquiring target material information of the target decoration material and storing the target material information in a local cache;
an information obtaining module 550, configured to obtain, from a local cache, the target material information of the target decoration material associated with the target decoration material when a quotation scheme generation instruction is received;
and the scheme generating module 560 is configured to perform quotation processing on the target decoration material by using the target material information, and combine quotation processing results of the target decoration material to generate a target quotation scheme.
An embodiment of the present invention further provides an electronic device, as shown in fig. 6, including a processor 61, a communication interface 62, a memory 63, and a communication bus 64, where the processor 61, the communication interface 62, and the memory 63 complete mutual communication through the communication bus 64,
a memory 63 for storing a computer program;
the processor 61 is configured to implement the following steps when executing the program stored in the memory 63:
acquiring a target decoration scheme, and determining target decoration materials related to the target decoration scheme and target identification information of the target decoration materials related to the target decoration materials; determining the target decoration material associated with the target decoration material according to the target identification information, acquiring target material information of the target decoration material, and storing the target material information in a local cache; under the condition that a quotation scheme generating instruction is received, acquiring the target material information of the target decoration material related to the target decoration material from a local cache; and performing quotation processing on the target decoration materials by using the target material information, and combining quotation processing results of the target decoration materials to generate a target quotation scheme.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment of the present invention, a storage medium is further provided, where instructions are stored, and when the instructions are executed on a computer, the instructions cause the computer to execute the method for generating a quotation scheme according to any one of the above embodiments.
In a further embodiment of the present invention, there is also provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of generating a pricing proposal as described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a storage medium or transmitted from one storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method of generating a quotation scheme, the method comprising:
acquiring a target decoration scheme, and determining target decoration materials related to the target decoration scheme and target identification information of the target decoration materials related to the target decoration materials;
determining the target decoration material associated with the target decoration material according to the target identification information, acquiring target material information of the target decoration material, and storing the target material information in a local cache;
under the condition that a quotation scheme generating instruction is received, acquiring the target material information of the target decoration material related to the target decoration material from a local cache;
and performing quotation processing on the target decoration materials by using the target material information, and combining quotation processing results of the target decoration materials to generate a target quotation scheme.
2. The method of claim 1, wherein the target identification information includes a target material identification, and wherein determining the target finishing material to which the target finishing material is associated based on the target identification information comprises:
and determining the decoration material corresponding to the target material identification as the target decoration material associated with the target decoration material according to the mapping relation between the preset material identification and the decoration material.
3. The method of claim 1, wherein the obtaining and storing target material information of the target decoration material in a local cache comprises:
determining a target memory corresponding to the target decoration material, and acquiring target material information of the target decoration material from the target memory;
and searching a target cache which is divided for the target material information in advance from a local cache, and storing the target material information in the target cache in a list set mode.
4. The method of claim 1, wherein the obtaining and storing target material information of the target decoration material in a local cache comprises:
obtaining locally cached material information, wherein the material information comprises material information of decoration materials related to other decoration schemes;
and under the condition that the material information is not matched with the target material information of the target decoration material, acquiring the target material information of the target decoration material, and storing the target material information in a local cache.
5. The method of claim 1, wherein the target finishing material comprises a plurality of target finishing materials, and wherein the obtaining the target material information for the target finishing material associated with the target finishing material from a local cache comprises:
determining a volume of a plurality of the target finishing materials, and determining a quotation processing sequence of the plurality of the target finishing materials based on the volume;
and aiming at any one target decoration material, acquiring the target material information of the target decoration material related to the target decoration material from a local cache based on the quotation processing sequence.
6. The method of claim 1, wherein the target finishing material comprises a plurality of target finishing materials, and wherein the obtaining the target material information for the target finishing material associated with the target finishing material from a local cache comprises:
determining a quotation processing sequence of a plurality of target decoration materials based on target material information of the target decoration materials associated with the target decoration materials;
and aiming at any one target decoration material, acquiring the target material information of the target decoration material related to the target decoration material from a local cache based on the quotation processing sequence.
7. The method of claim 1, wherein combining the results of the bid processing of the targeted finishing material to generate a targeted bid scheme comprises:
judging whether a plurality of decoration areas are involved in the target decoration scheme;
if the target decoration scheme relates to a plurality of decoration areas, combining quotation processing results of the target decoration materials according to different decoration areas to generate a target quotation scheme;
and if the target decoration scheme does not relate to a plurality of decoration areas, combining the quotation processing results of the target decoration materials according to the classification of different decoration materials to generate a target quotation scheme.
8. An apparatus for generating an offer scheme, the apparatus comprising:
the scheme acquisition module is used for acquiring a target decoration scheme;
the material determining module is used for determining target decoration materials related to the target decoration scheme and target identification information of the target decoration materials related to the target decoration materials;
the material determining module is used for determining the target decoration material related to the target decoration material according to the target identification information;
the information storage module is used for acquiring target material information of the target decoration material and storing the target material information in a local cache;
the information acquisition module is used for acquiring the target material information of the target decoration material related to the target decoration material from a local cache under the condition of receiving a quotation scheme generation instruction;
and the scheme generating module is used for performing quotation processing on the target decoration materials by using the target material information, and combining quotation processing results of the target decoration materials to generate a target quotation scheme.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 7 when executing a program stored on a memory.
10. A storage medium on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202110737019.4A 2021-06-30 2021-06-30 Quotation scheme generation method and device, electronic equipment and storage medium Pending CN113379506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110737019.4A CN113379506A (en) 2021-06-30 2021-06-30 Quotation scheme generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110737019.4A CN113379506A (en) 2021-06-30 2021-06-30 Quotation scheme generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113379506A true CN113379506A (en) 2021-09-10

Family

ID=77580208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110737019.4A Pending CN113379506A (en) 2021-06-30 2021-06-30 Quotation scheme generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113379506A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820896A (en) * 2015-05-14 2015-08-05 重庆好渝购电子商务有限公司 System and method for matching finishing material
CN104881534A (en) * 2015-05-22 2015-09-02 杭州群核信息技术有限公司 System and method for generating house type graph on line
CN106204228A (en) * 2016-07-18 2016-12-07 广西家之宝网络科技有限公司 A kind of finishing management cloud system with message caching and autonomous retransmission function
CN110033523A (en) * 2019-04-19 2019-07-19 深圳格调网络运营有限公司 A kind of Decoration Design building model three-dimensional space intelligent conversion system
CN110287626A (en) * 2019-06-30 2019-09-27 深圳积木易搭科技技术有限公司 Automatically generate method, medium, equipment and the device of interior decoration design scheme
CN110399667A (en) * 2019-07-16 2019-11-01 西安工程大学 A kind of interior decoration design system based on AR virtual reality technology
CN110930178A (en) * 2019-10-14 2020-03-27 北京华跃博弈科技有限公司 Decoration expense budget system based on household model
CN112632666A (en) * 2020-12-18 2021-04-09 中国电子科技集团公司第二十研究所 Indoor decoration design system based on virtual reality technology and implementation method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820896A (en) * 2015-05-14 2015-08-05 重庆好渝购电子商务有限公司 System and method for matching finishing material
CN104881534A (en) * 2015-05-22 2015-09-02 杭州群核信息技术有限公司 System and method for generating house type graph on line
CN106204228A (en) * 2016-07-18 2016-12-07 广西家之宝网络科技有限公司 A kind of finishing management cloud system with message caching and autonomous retransmission function
CN110033523A (en) * 2019-04-19 2019-07-19 深圳格调网络运营有限公司 A kind of Decoration Design building model three-dimensional space intelligent conversion system
CN110287626A (en) * 2019-06-30 2019-09-27 深圳积木易搭科技技术有限公司 Automatically generate method, medium, equipment and the device of interior decoration design scheme
CN110399667A (en) * 2019-07-16 2019-11-01 西安工程大学 A kind of interior decoration design system based on AR virtual reality technology
CN110930178A (en) * 2019-10-14 2020-03-27 北京华跃博弈科技有限公司 Decoration expense budget system based on household model
CN112632666A (en) * 2020-12-18 2021-04-09 中国电子科技集团公司第二十研究所 Indoor decoration design system based on virtual reality technology and implementation method

Similar Documents

Publication Publication Date Title
CN108153670B (en) Interface testing method and device and electronic equipment
JP7343568B2 (en) Identifying and applying hyperparameters for machine learning
US9317591B2 (en) Ranking search results based on word weight
JP5736469B2 (en) Search keyword recommendation based on user intention
US9524310B2 (en) Processing of categorized product information
CN105247507B (en) Method, system and storage medium for the influence power score for determining brand
US11055628B2 (en) Program storage medium, method, and system for providing learning model difference
RU2557761C2 (en) Bottom-up optimised search system and method
WO2018028099A1 (en) Method and device for search quality assessment
CN113011865B (en) Multi-user ordering method, server and client
CN110019551B (en) Data warehouse construction method and device
CN109284321B (en) Data loading method, device, computing equipment and computer readable storage medium
CN110880136A (en) Recommendation method, system, equipment and storage medium for matched product
JP2015528611A (en) Dynamic data acquisition method and system
TW201401210A (en) Pushing Business Objects
TW202001735A (en) Marketing information release platform construction method and apparatus
TW201719459A (en) Search servers, end devices, and search methods for use in a distributed network
CN111259272B (en) Search result ordering method and device
TWI780355B (en) Damage assessment method and device for maintenance object, and electronic equipment
CN111523030B (en) Newspaper disc information recommendation method and device and computer readable storage medium
JP2019109782A (en) Query generating program, query generating method and query generating device
CN113379506A (en) Quotation scheme generation method and device, electronic equipment and storage medium
CN109800933B (en) Risk assessment method and device, storage medium and electronic equipment
JP5620589B2 (en) Product information search
CN112632115A (en) BI-based data query method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210910

RJ01 Rejection of invention patent application after publication