CN110675209A - Intelligent quotation method and device, electronic equipment and readable storage medium - Google Patents

Intelligent quotation method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN110675209A
CN110675209A CN201910760101.1A CN201910760101A CN110675209A CN 110675209 A CN110675209 A CN 110675209A CN 201910760101 A CN201910760101 A CN 201910760101A CN 110675209 A CN110675209 A CN 110675209A
Authority
CN
China
Prior art keywords
graph
product
house type
user terminal
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
CN201910760101.1A
Other languages
Chinese (zh)
Inventor
徐超
曾赏
邓佳
师帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lumi United Technology Co Ltd
Original Assignee
Shenzhen Lumi United Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lumi United Technology Co Ltd filed Critical Shenzhen Lumi United Technology Co Ltd
Priority to CN201910760101.1A priority Critical patent/CN110675209A/en
Publication of CN110675209A publication Critical patent/CN110675209A/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

Abstract

The embodiment of the application discloses an intelligent quotation method, an intelligent quotation device, electronic equipment and a readable storage medium, wherein the method comprises the following steps: acquiring a house type graph and a product graph, wherein the house type graph and the product graph are stored on the user terminal or the server; acquiring the position of the product graph on the screen of the user terminal to obtain a first position; acquiring the position of the user-type diagram on the screen of the user terminal to obtain a second position; obtaining the position relation between the house type graph and the product graph according to the first position and the second position; judging whether the product graph is quoted according to the position relation; and if the quotation is counted, acquiring product quotation information according to the product graph and displaying the product quotation information. The method of the embodiment judges whether the product graph is counted in the quotation according to the position relation between the user type graph and the product graph, and further can quickly and effectively generate the product quotation information.

Description

Intelligent quotation method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of smart home technologies, and in particular, to an intelligent offer method, an intelligent offer device, an electronic device, and a readable storage medium.
Background
At present, the intelligent home is mainly used for realizing the quotation of the intelligent home in a manual mode by means of tools such as PS, PPT, WORD, electronic forms and the like, and obviously, the problems of high labor cost, low error rate, high maintenance cost, poor flexibility, inconvenience in storage and transmission, low manufacturing efficiency and the like exist in the conventional intelligent home quotation scheme.
Disclosure of Invention
In view of the above, embodiments of the present application provide an intelligent quotation method, an intelligent quotation device, an electronic device, and a readable storage medium, so as to overcome the above-mentioned drawbacks.
In a first aspect, an embodiment of the present application provides an intelligent quotation method, including: acquiring a house type graph and a product graph, wherein the house type graph and the product graph are stored on the user terminal or the server; acquiring the position of the product graph on the screen of the user terminal to obtain a first position; acquiring the position of the user-type diagram on the screen of the user terminal to obtain a second position; obtaining the position relation between the house type graph and the product graph according to the first position and the second position; judging whether the product graph is quoted according to the position relation; and if the quotation is counted, acquiring product quotation information according to the product graph and displaying the product quotation information.
In a second aspect, an embodiment of the present application provides an intelligent quotation device, including: the system comprises an image acquisition module, a first position acquisition module, a second position acquisition module, a position relation acquisition module, a quotation judgment module and a quotation calculation module. The image acquisition module is used for acquiring a house type image and a product image, and the house type image and the product image are stored on the user terminal or the server. The first position obtaining module is used for obtaining the position of the product graph on the screen of the user terminal to obtain a first position. The second position obtaining module is used for obtaining the position of the user-type diagram on the screen of the user terminal to obtain a second position. And the position relation acquisition module is used for acquiring the position relation between the house type graph and the product graph according to the first position and the second position. And the quotation judging module is used for judging whether the product graph is quoted according to the position relation. And the quotation calculation module is used for acquiring product quotation information according to the product graph and displaying the product quotation information if the quotation is counted.
In a third aspect, an embodiment of the present invention provides an electronic device, including: one or more processors; a memory for storing one or more programs; one or more application programs; wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of intelligent pricing provided by any of the embodiments of the present application.
In a fourth aspect, embodiments of the present application provide a computer system, where a computer-readable storage medium has program code stored therein, where the program code can be invoked by a processor to perform a method for intelligent pricing provided by any of the embodiments of the present application.
Compared with the prior art, the embodiment of the application provides an intelligent quotation method, an intelligent quotation device, electronic equipment and a readable storage medium, the intelligent quotation method can firstly obtain a house type picture and a product picture, the house type picture and the product picture are stored on a user terminal or a server, on the basis, the position of the product picture on a screen of the user terminal is obtained, a first position is obtained, meanwhile, the position of the house type picture on the screen of the user terminal is obtained, a second position is obtained, the user terminal can obtain the position relation between the house type picture and the product picture by combining the first position and the second position, then whether the product picture is quoted or not is judged according to the position relation, if the quotation is counted, product quotation information is obtained according to the product picture, and the product quotation information is displayed on the screen of the user terminal. The method and the device utilize the position relation between the user type graph and the product graph to judge whether the product graph is included in the quotation or not, and further can quickly and effectively generate product quotation information.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flow chart illustrating an intelligent quotation method according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating a method for intelligent pricing according to another embodiment of the present application;
FIG. 3 illustrates an exemplary diagram of a computing area in an intelligent quotation method according to another embodiment of the present application;
fig. 4 is a flowchart illustrating a step S220 in an intelligent quotation method according to another embodiment of the present application;
FIG. 5 is a diagram illustrating an example of a house layout preprocessed for addition to a computing area in an intelligent quotation method according to another embodiment of the present application;
FIG. 6 is a flow chart illustrating a method for intelligent pricing according to another embodiment of the present application;
fig. 7 is a flowchart illustrating a step S320 of an intelligent quotation method according to another embodiment of the present application;
fig. 8 is a flowchart illustrating a step S350 of an intelligent quotation method according to yet another embodiment of the present application;
FIG. 9 is a diagram illustrating an example of a product graphic being added to a computing area in an intelligent quotation method according to another embodiment of the present application;
fig. 10 is a block diagram illustrating a structure of an intelligent quotation device according to an embodiment of the present application;
fig. 11 shows a block diagram of an electronic device for executing an intelligent quotation method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers or letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures.
To facilitate a detailed description of the present application, the system of the present application will be described with reference to the accompanying drawings.
The existing product quotation information generation scheme is that product information is usually stored in a database, after a customer selects a product combination, the product quotation information is extracted from the database and displayed on an information-entry user terminal, namely, a logic relationship influencing quotation calculation does not exist between a user-type graph provided by the customer and the selected product. In other words, in the prior art, the product offer information cannot be generated directly according to the position relationship between the product graph and the calculation area or the house type graph, and the product offer scheme has complicated steps and cannot generate the offer information intuitively and effectively.
Therefore, in order to overcome the above-mentioned drawbacks, as shown in fig. 1, an embodiment of the present application provides an intelligent quotation method, which can be applied to a user terminal, and includes steps S110 to S160.
Step S110: and acquiring a house type graph and a product graph, wherein the house type graph and the product graph are stored on the user terminal or the server.
In one embodiment, the house type graph refers to a plane space layout graph of a house, namely the house type graph is a graph mainly describing the use function, the corresponding position, the size and the like of each independent space, and the layout of the house can be visually seen through the house type graph. In this embodiment, the house type graph can be provided by the client, but when the client cannot provide the house type graph, the user type graph can be drawn in the calculation area in a customized mode. Specifically, the user terminal may provide standard house type drawing templates, which may be directly used by the user, or may draw the house type drawing according to the actual requirements of the user, that is, may draw the house type drawing by using the house type drawing graphic elements built in the user terminal. In summary, the house type graph may be an existing template, or may be drawn in a self-defined manner, and specifically, which kind of the house type graph is not specifically limited herein, and may be selected according to an actual situation.
The product pattern may be a general description of a plurality of household goods, that is, the product pattern may include a plurality of sub-product patterns, in this embodiment, the sub-product patterns may be a door lock pattern, a curtain motor pattern, a lighting device pattern, a sensor pattern, an environmental appliance pattern, a power switch pattern, and the like, and the sub-product patterns may include sub-product patterns of different models or versions. For example, the door lock pattern may include an Aqara smart door lock S1, an Aqara smart door lock S2 piano black, a smart door lock S2 titanium gray, an Aqara smart door lock S2Pro, and the like.
In some embodiments, the product graphic may include product basis information, and the product basis information may include product graphic size, product graphic location coordinates, product name, product quantity, product brand, product price, and installation and service fees of the product, and the like. The basic information of the product in this embodiment has the following main functions: providing position coordinate calculation information of product graphics, such as graphic size, graphic shape and the like; providing relevant information required by the quotation calculation, such as price, quantity, installation fee and the like; other relevant information providing intelligent quote output, such as color, shape, size, and location coordinates of the product graphic.
In addition, the house type graph and the product graph can be stored on the user terminal or the server, the house type graph and the product graph can be obtained from the server when the server is connected, and the house type graph or the product graph can be directly obtained from the user terminal when the server is disconnected, so that the house type graph and the product graph can be updated regularly in order to meet the requirements of users. Therefore, the basic information of the product graph can be obtained from the server, and can also be directly read from the user terminal.
Step S120: and acquiring the position of the product graph on the screen of the user terminal to obtain a first position.
After the product graph is obtained, the product graph can be added and displayed on a screen of the user terminal, and at the moment, the position of the product graph on the screen of the user terminal can be obtained. In an embodiment, the position of the product graphic on the user terminal screen may include a relationship between a center point coordinate of the product graphic and a center point coordinate of the user terminal screen, and also includes a relationship between a width of the product graphic and a width of the user terminal screen, a relationship between a height of the product graphic and a height of the user terminal screen, and the like. In addition, the coordinates of the central point of the product graphic can be obtained based on a certain point of the user terminal screen, that is, the upper left corner of the user terminal screen can be used as the origin of coordinates, the central point of the user terminal screen can also be used as the origin of coordinates, which point is specifically selected to be used as the origin of coordinates for limiting, and the position of the product graphic on the user terminal screen can be obtained based on the origin of coordinates.
Step S130: and acquiring the position of the user-type diagram on the screen of the user terminal to obtain a second position.
After the user-type diagram is obtained, the user-type diagram can be added and displayed on a screen of the user terminal, and at this time, the position of the user-type diagram on the screen of the user terminal can be obtained. In one embodiment, the position of the house type graph on the screen of the user terminal can comprise the relation between the coordinates of the center point of the house type graph and the coordinates of the center point of the screen of the user terminal, and also comprises the relation between the width of the house type graph and the width of the screen of the user terminal, the relation between the height of the house type graph and the screen of the user terminal, and the like. And obtaining a second position by obtaining the position of the user-type diagram on a screen of the user terminal. In addition, the coordinates of the central point of the user-type diagram can be obtained based on a certain point of the screen of the user terminal, that is, the upper left corner of the screen of the user terminal can be used as the origin of coordinates, the central point of the screen of the user terminal can be used as the origin of coordinates, which point is specifically selected to be used as the origin of coordinates for limiting, and the position of the user-type diagram on the screen of the user terminal can be obtained based on the origin of coordinates.
Step S140: and obtaining the position relation between the house type graph and the product graph according to the first position and the second position.
After the position of the product graph on the screen of the user terminal and the position of the house type graph on the screen of the user terminal are obtained, the position relation between the product graph and the house type graph can be obtained based on the position of the screen of the user terminal, namely the position relation between the house type graph and the product graph can be obtained according to the first position and the second position. It will be appreciated from the above description that the first location may include the width, height and center point coordinates of the product graphic, etc., and the second location may also include the width, height and center point coordinates of the floor plan, etc. Therefore, the user terminal can obtain the position relation between the user-type graph and the product graph according to the first position and the second position.
Step S150: and judging whether the product graph is quoted according to the position relation.
After the position relationship between the house type graph and the product graph is obtained, the user can judge whether the product graph is quoted according to the position relationship. Or whether the product graph is quoted or not can be judged according to the importance degree of the product graph, namely the product graph can be directly quoted when the importance degree of the product graph is larger than a preset threshold value, and the importance degree of the product graph can be obtained according to the house type graph.
Step S160: and if the quotation is counted, acquiring product quotation information according to the product graph and displaying the product quotation information.
When determining that the product graph can be included in the quotation, the user terminal can obtain product quotation information according to the product graph, and can know that the product graph comprises graph basic information through the introduction, wherein the basic information can comprise graph size, graph coordinate position, name, brand, quantity, price, installation cost and the like, and the final quotation information of the product can be obtained by using the basic information. The product offer information may include, but is not limited to, an intelligent product point map offer, a house type area offer, a total product offer, and the like.
In addition, the user can obtain different product graphs according to the self requirement, and further can obtain the quotation information of the different product graphs. In one embodiment, the user terminal may calculate the total quotation of the product graph according to its internal summary pricing formula, and the total quotation is used as the product quotation information, and finally the product quotation information may be displayed on the screen of the user terminal.
The intelligent quotation method provided by the embodiment of the application can automatically acquire product quotation information on the basis of the house type graph and the product graph, namely, the intelligent quotation scheme which is more standardized, normalized, streamlined and efficient is provided, the labor cost can be reduced, the error rate of product quotation can be reduced to a certain extent, and the actual requirements of users are better met.
Another embodiment of the present application provides an intelligent quotation method, please refer to fig. 2, and it can be seen from fig. 2 that the method includes steps S210 to S270.
Step S210: and acquiring a house type graph and a product graph, wherein the house type graph and the product graph are stored on the user terminal or the server.
Step S220: and preprocessing the house pattern by utilizing the calculation area.
As can be known from the above description, the first position is a position of the product graphic on the screen of the user terminal, and the second position is a position of the house type graphic on the screen of the user terminal. The calculation area may also be called a drawing area, a layout area, or other specific areas capable of analyzing, calculating, and summarizing the price information in the area, and the shape of the calculation area is not limited to a rectangle, but may also be a polygon, a circle, or the like, and the specific shape of the calculation area is not specifically limited herein, and may be selected according to the actual situation.
Please refer to fig. 3, which is an overall scheme diagram proposed in the present application, wherein the middle gray portion is a calculation region, obviously, the shape of the calculation region in the exemplary diagram given in fig. 3 is a rectangle, and the information on the left and right sides of the calculation region can be a product list and an operation region, respectively. The operation area may include functions, product details, generated product quotation diagrams, and the like, and the functions may include a user type deleting function, a preview function, a generating function, and the like.
As shown in fig. 4, step S220 may include steps S221 to S223.
Step S221: adding the house type graph to the calculation area.
The user terminal can add the user type graph to the calculation area after acquiring the user type graph, and when the user type graph is stored on the user terminal, the user type graph can be added to the calculation area in a clicking mode or in a dragging mode. When the user terminal does not store the house type graph, the user can jump to a user-defined house type graph drawing interface by clicking an adding button, the user can select the house type graph drawing graphic element to generate the required house type graph on the interface, and then the drawn house type graph is added to the calculation area.
Step S222: and respectively acquiring the width and the height of the house type graph and the calculation area.
Before adding the house type graph to the calculation area, the width and the height of the house type graph and the calculation area can be respectively obtained, namely the width and the height of the house type graph relative to a screen of the user terminal and the width and the height of the calculation area relative to the user terminal are obtained. The width of the rectangular gray portion shown in fig. 3 is the width of the calculation region, and the height of the rectangular gray portion is the height of the calculation region.
Step S223: and preprocessing the house pattern by utilizing the width and the height of the calculation area.
After the user terminal obtains the width and the height of the house type graph and the calculation area, the width and the height of the calculation area can be used for preprocessing the house type graph. In one embodiment, preprocessing the house layout mainly refers to resetting the width and height of the house layout, and how to reset the width and height of the house layout is based on the relationship between the width and height of the house layout and the calculation area.
In some embodiments, after obtaining the width and the height of the house type map, the user terminal may compare the width and the height with the width and the height of the calculation region, specifically, compare the width value of the house type map with the width value of the calculation region, and determine whether the width value of the house type map is smaller than the width value of the calculation region. Meanwhile, the height value of the floor plan is compared with the height value of the calculation area, and whether the height value of the floor plan is smaller than the height value of the calculation area is judged.
If the width of the house type graph is larger than the width of the calculation area, or the height of the house type graph is larger than the height of the calculation area, or the width of the house type graph is larger than the width of the calculation area and the height of the house type graph is larger than the height of the calculation area, the aspect ratio of the house type graph and the aspect ratio of the calculation area need to be obtained respectively, and the pre-processing of the house type graph can be further realized through the comparison of the two aspect ratios.
In summary, in the embodiment of the present application, it may be determined whether the width and the height of the house type diagram are both smaller than the width and the height of the calculation region, and if so, the house type diagram is not preprocessed, that is, the width and the height of the house type diagram are not changed. In other words, when the width of the house pattern is smaller than the width of the calculation area and the height of the house pattern is smaller than the height of the calculation area, the house pattern is not preprocessed, i.e. the width and the height of the house pattern are not changed. If at least one of the width and the height of the house type graph is larger than the width and the height of the calculation region, the aspect ratio of the house type graph and the aspect ratio of the calculation region can be obtained respectively, and whether the aspect ratio of the house type graph is larger than or equal to the aspect ratio of the calculation region or not is judged. And when the aspect ratio of the house type graph is larger than or equal to the aspect ratio of the calculation region, resetting the aspect ratio of the house type graph, wherein the width of the reset house type graph is the width of the calculation region, and the height of the reset house type graph is the width of the calculation region multiplied by the aspect ratio of the initial house type graph.
In addition, if the aspect ratio of the house pattern is smaller than the aspect ratio of the calculation region, the width and height of the house pattern may be reset, the height of the reset house pattern is the height of the calculation region, and the width of the reset house pattern is the height of the calculation region multiplied by the aspect ratio of the initial house pattern. Fig. 5 shows the house type graph obtained through preprocessing, and it can be known from fig. 5 that after the house type graph is added to the calculation region, the width of the house type graph is certainly less than or equal to the width of the calculation region, and the height of the house type graph is also certainly less than or equal to the height of the calculation region, so that the finally obtained offer information of the house type graph is more accurate.
Step S230: and acquiring the position of the product graph on the screen of the user terminal to obtain a first position.
Step S240: and acquiring the position of the user-type diagram on the screen of the user terminal to obtain a second position.
Step S250: and obtaining the position relation between the house type graph and the product graph according to the first position and the second position.
Step S260: and judging whether the product graph is quoted according to the position relation.
Step S270: and if the quotation is counted, acquiring product quotation information according to the product graph and displaying the product quotation information.
The embodiment of the application provides an intelligent quotation method, the width and the height of a house type graph can be reset by introducing a calculation area, namely when the width and the height of the house type graph are not matched with those of the calculation area, the width and the height of the house type graph can be reset by utilizing the size relationship between the width and the height of the house type graph and the calculation area, so that the accuracy of calculating product information quotation by utilizing the house type graph and the product graph can be ensured to a certain extent, and meanwhile, the flexibility of intelligent quotation can be improved.
In another embodiment of the present application, referring to fig. 6, it can be seen that the method includes steps S310 to S360 in fig. 6.
Step S310: and acquiring a house type graph and a product graph, wherein the house type graph and the product graph are stored on the user terminal or the server.
Step S320: and acquiring the position of the product graph on the screen of the user terminal to obtain a first position.
As shown in fig. 7, step S320 may include steps S321 to S323.
Step S321: and acquiring a graph adding instruction, and adding the product graph into the computing area according to the graph adding instruction.
In one embodiment, when a product graphic is added to a calculation area, an addition instruction corresponding to the product graphic can be acquired, and the product graphic is added to the calculation area according to the graphic addition instruction, and the mode of entering the product graphic into the calculation area is not limited to dragging, and can also be selected by clicking, entering by sliding and the like.
Step S322: and acquiring an input mode corresponding to the graph adding instruction.
In this embodiment, the graphic adding instruction and the input mode may be stored in the user terminal in a one-to-one correspondence manner, and after the user terminal obtains the graphic adding instruction, the input mode corresponding to the graphic adding instruction may be obtained according to the adding instruction, the graphic adding instruction may be generated by an adding button on a calculation area displayed on a screen interface of the user terminal, and the commonly used input mode is a click operation and a slide operation.
Step S323: and acquiring the position of the product graph on the screen of the user terminal according to the input mode to obtain a first position.
When the input mode is sliding operation, acquiring the position of the product graph on the screen of the user terminal according to the input mode; or when the input mode is click operation, the product graph is counted into the quotation. Obviously, if the input modes are different, the mode of acquiring the quotation information is also different, and if the input mode is a sliding operation, due to the fact that misoperation of a user exists, whether the product graph is accurately added to the position of the calculation area cannot be guaranteed. Therefore, it is necessary to determine whether to add a product graphic to an offer after adding the product graphic to a calculation region using a slide operation. Different from a sliding operation input mode, the product graph is added to the calculation area by clicking operation, and because which product graph is correspondingly placed at which position of the calculation area is already set in advance, the problem of misoperation of a user cannot occur, namely the product graph is added to the calculation area by clicking operation, so that the product graph can be accurately added to the position of the calculation area. Therefore, when the input mode is click operation, the product quotation information can be directly obtained without judging whether the product graph is counted into the quotation.
Step S330: and acquiring the position of the user-type diagram on the screen of the user terminal to obtain a second position.
Step S340: and obtaining the position relation between the house type graph and the product graph according to the first position and the second position.
Step S350: and judging whether the product graph is quoted according to the position relation.
As shown in fig. 8, step S350 may include steps S351 to S353.
Step S351: and acquiring the coordinates of the central point of the product graph.
It can be known from the above description that the shape of the calculation area is not limited to a rectangle, but may also be a triangle, a circle, an ellipse, and other polygons, and the shape of the product graph may also be a triangle, a circle, an ellipse, or a polygon similar to the calculation area, and there may be a plurality of product graphs added to the calculation area, and the shapes of the product graphs may be the same or different. In this embodiment, in order to facilitate calculation of the product offer information, shapes of the product graphics may be unified, as shown in fig. 9, the shapes of the product graphics may be all circular, or all elliptical or polygonal, and the specific shape is not specifically limited herein. The coordinates of the center point of the product graph in the embodiment of the present application may be coordinates of the center of gravity of the product graph, and it should be noted that the embodiment of the present application may also obtain coordinates of the vertical center or the inner center of the product graph, and the coordinates may be used to replace the coordinates of the center.
After the user terminal determines the shape of the product graph, the center coordinate of the product graph can be obtained according to the shape, and the corresponding center point coordinates of the product graph are different due to different shapes of the product graph. For example, the coordinate of the geometric center point of the rectangle may be the intersection point coordinate of the two symmetry axes, and the coordinate of the geometric center point of the circle may be the center point coordinate, etc.
Step S352: and determining whether the coordinate of the central point of the product graph is overlapped with the coordinate of any point in the preprocessed house type graph.
The user terminal can judge whether the center point coordinate is overlapped with any point in the processed house type graph or not after obtaining the center point coordinate of the product graph, and the step S353 is executed if the center point coordinate of the product graph is overlapped with any point coordinate in the preprocessed house type graph. And if the coordinate of the central point of the product graph does not coincide with the coordinate of any point in the preprocessed house type graph, not counting the product graph into a quoted price.
Step S353: and when the coordinate of the central point of the product graph is coincident with the coordinate of any point in the preprocessed house type graph, the product graph is counted into a quoted price.
In some embodiments, it may be determined whether the width and height of the reconfigured house type map correspond to the width and height of the calculation area, and if the width of the house type map is equal to the width of the calculation area and the height of the house type map is higher than the height of the calculation area, it indicates that the house type map can fill the calculation area, and at this time, it may be determined whether the product graphic and the calculation area have coordinates that coincide, and if so, the product graphic may be included in the offer. The main reason is that when a user adds a product graphic to a calculation area, if the user performs a random drag operation, the product graphic may not be added to the calculation area, and at this time, if the product graphic does not coincide with the calculation area in coordinates, no offer is counted. It should be noted that, although the embodiment compares whether the product graph has coordinate coincidence with the calculation area, it is the essence whether the product graph has coordinate coincidence with the house type graph, because the house type graph fills the calculation area at this time, the product graph has coordinate coincidence with the calculation area, which also indicates that the product graph has coordinate coincidence with the house type graph.
In other embodiments, when the width of the reconfigured house type graph is not equal to the width of the calculation region, or the height of the house type graph is not equal to the height of the calculation region, it indicates that the calculation region is not filled with the product graph, at this time, it may be determined whether coordinates of a center point of the product graph coincide with coordinates of any point in the reconfigured house type graph, if so, the product graph is used for calculating a quotation, otherwise, the product graph is not used for calculating a quotation. Specifically, the boundary coordinates of the product graph and the boundary coordinates of the house type graph can be obtained, whether the boundary coordinates of the product graph are overlapped with the boundary coordinates of the house type graph or not is determined, if the boundary coordinates of the product graph are overlapped with the boundary coordinates of the house type graph, the product graph can be counted into the quotation, and otherwise, the quotation is not counted. In addition, any point coordinate in the product graph can be obtained, whether coordinate coincidence exists between the any point coordinate in the product graph and any point coordinate in the house type graph or not is judged, if coordinate coincidence exists, the product graph is counted into the quotation, and otherwise, the quotation is not counted.
Step S360: and if the quotation is counted, acquiring product quotation information according to the product graph and displaying the product quotation information.
The embodiment of the application provides an intelligent quotation method, whether a product graph is included in quotation is judged by determining the coordinate relation between the product graph and a house type graph, and when the product graph is included in quotation is judged, the center coordinate of the product graph can be compared with the house type graph coordinate, the boundary coordinate of the product graph or any point coordinate of the product graph can be compared with the house type graph, the product graph can be included in quotation as long as the coordinates are overlapped, so that the accuracy of product quotation information calculation can be improved to a certain extent, and meanwhile, the calculation of the product quotation information can be more efficient.
Referring to fig. 10, an intelligent quotation device 400 according to an embodiment of the present application includes an image obtaining module 410, a first position obtaining module 420, a second position obtaining module 430, a position relation obtaining module 440, a quotation determining module 450, and a quotation calculating module 460.
An image obtaining module 410, configured to obtain a house type chart and a product graph, where the house type chart and the product graph are stored in the user terminal or the server.
Further, the image obtaining module 410 is further configured to pre-process the house type map by using the computing area, that is, add the house type map to the computing area, obtain the width and the height of the house type map and the computing area respectively, and pre-process the house type map by using the width and the height of the computing area.
Further, the image obtaining module 410 is further configured to determine whether the width and the height of the house-type map are both correspondingly smaller than the width and the height of the computing area; if yes, the width and the height of the house type graph are unchanged. If not, acquiring the aspect ratio of the floor plan and the aspect ratio of the calculation area; judging whether the aspect ratio of the house type graph is larger than or equal to the aspect ratio of the calculation area or not; if so, resetting the width and height of the house type graph, wherein the reset width of the house type graph is the width of the calculation area, and the reset height of the house type graph is the width of the calculation area multiplied by the width-height ratio of the initial house type graph.
Further, the image obtaining module 410 is further configured to reset the width and the height of the house type graph if the aspect ratio of the house type graph is smaller than the aspect ratio of the calculation region, where the height of the house type graph after resetting is the height of the calculation region, and the width of the house type graph after resetting is the aspect ratio of the initial house type graph multiplied by the height of the calculation region.
A first position obtaining module 420, configured to obtain a position of the product graphic on the screen of the user terminal, so as to obtain a first position.
Further, the first position obtaining module 420 is configured to obtain a graphic adding instruction, add the product graphic to the computing area according to the graphic adding instruction, obtain an input mode corresponding to the graphic adding instruction, and obtain a position of the product graphic on the user terminal screen according to the input mode, so as to obtain a first position.
Further, the first position obtaining module 420 is further configured to, when the input mode is a sliding operation, obtain a position of the product graphic on the screen of the user terminal according to the input mode; or when the input mode is click operation, the product graph is counted into the quotation.
A second position obtaining module 430, configured to obtain a position of the user-type diagram on the screen of the user terminal, so as to obtain a second position.
A position relation obtaining module 440, configured to obtain a position relation between the house type graph and the product graph according to the first position and the second position.
Further, the first position and the second position are both located in a calculation area, and the calculation area is an area of an interface displayed on a screen of the user terminal.
And the quotation judging module 450 is used for judging whether the product graph is quoted according to the position relation.
Further, the offer judging module 450 is configured to obtain a center point coordinate of the product graph, determine whether the center point coordinate of the product graph coincides with any point coordinate in the preprocessed house type graph, and when the center point coordinate of the product graph coincides with any point coordinate in the preprocessed house type graph, count the product graph into an offer.
And the quotation calculation module 460 is configured to, if a quotation is included, obtain product quotation information according to the product graph and display the product quotation information.
Fig. 11 is a block diagram of a hardware structure of an electronic device of an intelligent quotation method according to an embodiment of the present invention. As shown in fig. 11, the electronic device 1100 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1110 (the processors 1110 may include but are not limited to processing devices such as a microprocessor MCU or a programmable logic device FPGA), a memory 1130 for storing data, and one or more storage media 1120 (e.g., one or more mass storage devices) for storing applications 1123 or data 1122. The memory 1130 and the storage medium 1120 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 1120 may include one or more modules, each of which may include a series of instruction operations for a server. Still further, the processor 1110 may be configured to communicate with the storage medium 1120, and execute a series of instruction operations in the storage medium 1120 on the electronic device 1100. The electronic apparatus 1100 may also include one or more power supplies 1160, one or more wired or wireless network interfaces 1150, one or more input-output interfaces 1140, and/or one or more operating systems 1121, such as windows server, MacOSXTM, unix, linux, FreeBSDTM, and so forth.
The input output interface 1140 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the electronic device 1100. In one example, i/o interface 1140 includes a network adapter (NIC) that may be coupled to other network devices via a base station to communicate with the internet. In one example, the input/output interface 1140 can be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
It will be understood by those skilled in the art that the structure shown in fig. 11 is only an illustration and is not intended to limit the structure of the electronic device. For example, electronic device 1100 may also include more or fewer components than shown in FIG. 11, or have a different configuration than shown in FIG. 11.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the intelligent quotation method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the device-like embodiment, since it is basically 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.
It should be noted that, in this document, 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.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Although the present application has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the application, and all changes, substitutions and alterations that fall within the spirit and scope of the application are to be understood as being included within the following description of the preferred embodiment.

Claims (13)

1. An intelligent quotation method is applied to a user terminal and comprises the following steps:
acquiring a house type graph and a product graph, wherein the house type graph and the product graph are stored on the user terminal or the server;
acquiring the position of the product graph on the screen of the user terminal to obtain a first position;
acquiring the position of the user-type diagram on the screen of the user terminal to obtain a second position;
obtaining the position relation between the house type graph and the product graph according to the first position and the second position;
judging whether the product graph is quoted according to the position relation;
and if the quotation is counted, acquiring product quotation information according to the product graph and displaying the product quotation information.
2. The method of claim 1, wherein the first location and the second location are both located within a computing area, the computing area being an area of an interface displayed on a screen of the user terminal.
3. The method of claim 2, wherein obtaining the position of the product graphic on the screen of the user terminal before obtaining the first position comprises:
and preprocessing the house pattern by utilizing the calculation area.
4. The method of claim 3, wherein the pre-processing the house type graph using the calculation region comprises:
adding the house type graph to the calculation area;
respectively acquiring the width and the height of the house type graph and the calculation area;
and preprocessing the house pattern by utilizing the width and the height of the calculation area.
5. The method of claim 4, wherein pre-processing the house pattern using the width and height of the calculation region comprises:
judging whether the width and the height of the house type graph are both correspondingly smaller than the width and the height of the calculation area;
if yes, the width and the height of the house type graph are unchanged.
6. The method of claim 5, further comprising:
if not, acquiring the aspect ratio of the floor plan and the aspect ratio of the calculation area;
judging whether the aspect ratio of the house type graph is larger than or equal to the aspect ratio of the calculation area or not;
if so, resetting the width and height of the house type graph, wherein the reset width of the house type graph is the width of the calculation area, and the reset height of the house type graph is the width of the calculation area multiplied by the width-height ratio of the initial house type graph.
7. The method of claim 6, further comprising:
if the aspect ratio of the house type graph is smaller than the aspect ratio of the calculation area, resetting the width and the height of the house type graph, wherein the height of the newly set house type graph is the height of the calculation area, and the width of the newly set house type graph is the aspect ratio of the initial house type graph multiplied by the height of the calculation area.
8. The method of claim 2, wherein the obtaining the position of the product graphic on the screen of the user terminal to obtain a first position comprises:
acquiring a graph adding instruction, and adding the product graph into the computing area according to the graph adding instruction;
acquiring an input mode corresponding to the graph adding instruction;
and acquiring the position of the product graph on the screen of the user terminal according to the input mode to obtain a first position.
9. The method according to claim 8, wherein the obtaining the position of the product graphic on the screen of the user terminal according to the input mode comprises:
when the input mode is sliding operation, acquiring the position of the product graph on the screen of the user terminal according to the input mode; or
And when the input mode is click operation, the product graph is counted into the quotation.
10. The method according to claim 1, wherein the obtaining of the position of the product graphic on the screen of the user terminal obtains a first position; acquiring the position of the user-type diagram on the screen of the user terminal to obtain a second position; obtaining the position relation between the house type graph and the product graph according to the first position and the second position; judging whether the product graph is quoted according to the position relation, comprising the following steps:
acquiring a central point coordinate of the product graph;
determining whether the coordinate of the central point of the product graph is overlapped with the coordinate of any point in the preprocessed house type graph;
and when the coordinate of the central point of the product graph is coincident with the coordinate of any point in the preprocessed house type graph, the product graph is counted into a quoted price.
11. An intelligent quotation device, which is applied to a user terminal, and comprises:
the image acquisition module is used for acquiring a house type image and a product image, and the house type image and the product image are stored on the user terminal or the server;
the first position acquisition module is used for acquiring the position of the product graph on the screen of the user terminal to obtain a first position;
the second position acquisition module is used for acquiring the position of the user-type diagram on the screen of the user terminal to obtain a second position;
the position relation obtaining module is used for obtaining the position relation between the house type graph and the product graph according to the first position and the second position;
the quotation judging module is used for judging whether the product graph is quoted according to the position relation;
and the quotation calculation module is used for acquiring product quotation information according to the product graph and displaying the product quotation information if the quotation is counted.
12. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the intelligent pricing method according to any of claims 1 to 10.
13. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of the intelligent pricing method according to any of claims 1 to 10.
CN201910760101.1A 2019-08-16 2019-08-16 Intelligent quotation method and device, electronic equipment and readable storage medium Pending CN110675209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910760101.1A CN110675209A (en) 2019-08-16 2019-08-16 Intelligent quotation method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910760101.1A CN110675209A (en) 2019-08-16 2019-08-16 Intelligent quotation method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN110675209A true CN110675209A (en) 2020-01-10

Family

ID=69075540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910760101.1A Pending CN110675209A (en) 2019-08-16 2019-08-16 Intelligent quotation method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110675209A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115268734A (en) * 2022-06-09 2022-11-01 新奥数能科技有限公司 Quotation generation method, device, equipment and storage medium based on quotation tool

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123420A (en) * 2014-07-29 2014-10-29 北京隆盛润科技有限公司 Method and system achieving integration of self-help decoration and installation
JP2016071782A (en) * 2014-10-01 2016-05-09 辛東主 Merchandise display information totalization system
CN107944196A (en) * 2017-12-18 2018-04-20 深圳市屋祺住建科技有限公司 The implementation method and device of decoration style selection and quotation on line
CN109522616A (en) * 2018-10-26 2019-03-26 平安科技(深圳)有限公司 Simulate control method, device, computer equipment and the storage medium of finishing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123420A (en) * 2014-07-29 2014-10-29 北京隆盛润科技有限公司 Method and system achieving integration of self-help decoration and installation
JP2016071782A (en) * 2014-10-01 2016-05-09 辛東主 Merchandise display information totalization system
CN107944196A (en) * 2017-12-18 2018-04-20 深圳市屋祺住建科技有限公司 The implementation method and device of decoration style selection and quotation on line
CN109522616A (en) * 2018-10-26 2019-03-26 平安科技(深圳)有限公司 Simulate control method, device, computer equipment and the storage medium of finishing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115268734A (en) * 2022-06-09 2022-11-01 新奥数能科技有限公司 Quotation generation method, device, equipment and storage medium based on quotation tool

Similar Documents

Publication Publication Date Title
US11758366B2 (en) Methods and devices for displaying a heat map and providing heat data
CN113240936B (en) Parking area recommendation method and device, electronic equipment and medium
CN111881809A (en) CAD drawing based primitive identification method and identification device
CN111859503B (en) Drawing examination method, electronic equipment and graphic server
CN113077548A (en) Collision detection method, device, equipment and storage medium for object
CN112053440A (en) Method for determining individualized model and communication device
CN110675209A (en) Intelligent quotation method and device, electronic equipment and readable storage medium
CN115756471A (en) Page code generation method and device, electronic equipment and storage medium
CN108734761B (en) Scene visualization method and device, electronic equipment and storage medium
CN112015714A (en) Database-based data model generation method and device
CN115857930A (en) Prototype rapid design method and system based on real-scene model
CN109409936A (en) Customer consumption portrait generation method, device, equipment and readable storage medium storing program for executing
CN112288406B (en) Service object retrieval method based on scientific and technological information crowd-sourced platform
CN114564526A (en) Three-dimensional earth data display method, device, equipment and storage medium
CN111078999B (en) Display method and device, server and electronic equipment
KR20220063291A (en) Method for detecting collision with an object, apparatus, electronic device, storage medium and computer program
CN112150492A (en) Method and device for reading house-type graph and storage medium
CN117252638A (en) Target object grading system, method, computer device and storage medium
CN113626022A (en) Object model creating method and device, storage medium and electronic equipment
CN116629980A (en) Pricing method of software engineering, terminal equipment and storage medium
CN115017571A (en) Information providing method for space structure and electronic equipment
CN114518925A (en) Mobile application generation method, data processing method and related device
CN113050854A (en) 3D interface with improved object selection
CN115309370A (en) Meta-model information transmission method and device, electronic equipment and storage medium
CN116881121A (en) Test method, test device, electronic equipment and computer readable storage medium

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