Recommendation method and system for lamp layout and medium
By obtaining and analyzing the apartment type information, combining WebGL and Canvas technology for lighting rendering, we generate recommended lighting layout solutions, which solves the problems of unintuitive lighting effects and complex operation in traditional lighting configurations, and improves the user experience.
Patent Information
- Application Number
- CN202410965685.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-12
AI Technical Summary
During the traditional lamp configuration process, consumers cannot intuitively see the lighting effect of the lamp in the house to be renovated, resulting in poor user experience, and the existing software is complex in operation and high professional requirements, making it difficult to meet user needs.
By obtaining the floor type information of the house to be renovated, it is parsed into a 2D view, and combining WebGL and Canvas technology, it is illuminated and rendered based on the lighting information selected by the user, generates lighting renderings, and provides recommended lighting layout solutions to simplify operations and improve user experience.
It realizes the intuitive lighting effect display of the lamp layout, which is easy to operate, and users can obtain satisfactory layout solutions without using complex software, which significantly improves the user experience.
Smart Images

Figure CN118940366A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of decoration management, and in particular to a method, system and medium for recommending lamp layout. Background Art
[0002] With the development of economy and the progress of society, people have higher and higher requirements for the intelligence and convenience of house decoration, especially the decoration and layout of lamps.
[0003] In the traditional lamp configuration process, consumers can choose the appropriate lamp layout plan according to the house type to be renovated after communicating with the lamp seller. However, the lamp seller generally only shows consumers the decoration effect diagram and physical picture provided by the lamp manufacturer, and consumers cannot see the lighting effect of the actual layout of the lamps in the house to be renovated, resulting in consumers often not being able to get a satisfactory lamp layout plan and poor user experience. In addition, consumers can also use computer operating software such as CAD and Dialux to simulate the lighting effect of lamps in the house to be renovated, but this method is complicated to operate and requires high professionalism from consumers, which is usually not achievable.
[0004] Therefore, there is a need for a recommended solution for lamp layout that is easy to operate and has intuitive lighting effects, thereby improving user experience. Summary of the invention
[0005] The present application provides a method, system and medium for recommending lamp layout, which are used to solve the technical problems that the lighting effect of the lamp layout in the house to be decorated is not intuitive and the operation is complicated, resulting in poor user experience.
[0006] In a first aspect, the present application provides a method for recommending lamp layout, comprising:
[0007] Acquire apartment type information for which lighting fixtures are to be arranged, and parse the apartment type information to obtain a corresponding 2D view;
[0008] Generate and display a list of recommended lamps on a user interface based on the lamp information of each lamp stored in the database;
[0009] According to the target lamp information selected by the user, the 2D view is subjected to lighting rendering to obtain and output a lighting effect diagram;
[0010] A recommended solution for the layout of the lamps is generated according to the 2D view, the target lamp information, and the lighting effect diagram.
[0011] In a possible implementation, the target lamp information includes the number of target lamps, the type of target lamps, and the light source parameters of the target lamps. The 2D view is illuminated and rendered according to the target lamp information selected by the user to obtain and output a lighting effect diagram, including:
[0012] Determine the preset lamp position corresponding to the type of the target lamp according to the correspondence between the lamp type and the setting position preset in the database;
[0013] According to the preset position of the lamp, the light source parameters of the target lamp, the number of the target lamps, and the WebGL technology and the Canvas technology, the 2D view is subjected to lighting rendering to obtain and output a lighting effect diagram;
[0014] The light source parameters include one or more of area specifications, setting methods, light emitting types, light emitting colors, light emitting power, and light source angles.
[0015] In a possible implementation, generating a recommended solution for lamp layout according to the 2D view, the target lamp information, and the lighting effect diagram includes:
[0016] Receive effect confirmation information input by the user, and generate lighting fixture construction information according to the 2D view and the preset position of the lighting fixture;
[0017] Determine a target lamp price and / or target preferential information corresponding to the type of the target lamp; generate lamp price information according to the target lamp price and / or target preferential information, and the quantity of the target lamps;
[0018] A recommended solution for the layout of the lamps is generated according to the lamp construction information, the lamp price information, and the lighting effect diagram.
[0019] In a possible implementation manner, before receiving the effect confirmation information input by the user, the method further includes:
[0020] Receiving a layout adjustment instruction input by a user, and determining a target position of a lamp to be adjusted and / or a target angle of the lamp to be adjusted in the layout adjustment instruction;
[0021] According to the target position of the lamp to be adjusted and / or the target angle of the lamp to be adjusted, performing secondary lighting rendering on the lighting effect diagram to obtain and output an adjusted lighting effect diagram;
[0022] Correspondingly, the lighting fixture construction information and the recommended solution for the lighting fixture layout are generated based on the adjusted lighting effect diagram.
[0023] In a possible implementation manner, the layout adjustment instruction is input by a user through a preset adjustment method and an adjustment tool, wherein the preset adjustment method includes manual touch adjustment, hand-drawn pen touch adjustment, and mouse touch adjustment;
[0024] The adjustment tools include one or more of an undo tool, a zoom tool, a move tool, a network interface tool, a drawing tool, a marking tool, a rotation tool, and a reading tool.
[0025] In a possible implementation, parsing the apartment type information to obtain a corresponding 2D view includes:
[0026] Parsing the apartment type information to obtain area information of each space in the apartment type, wherein the area information includes the length and width of the space;
[0027] A corresponding 2D view is generated according to the apartment type information and the area information of each space in the apartment type.
[0028] In a possible implementation manner, the lamp recommendation list includes combination lamp recommendation information and single lamp recommendation information, and the lamp recommendation information includes lamp appearance, lamp type, and light source parameters of the lamp.
[0029] In a second aspect, the present application provides a lamp layout recommendation system, comprising:
[0030] The transceiver module is used to obtain the apartment type information for the lamp layout to be performed, and parse the apartment type information to obtain the corresponding 2D view; according to the lamp information of each lamp stored in the database, generate and display the lamp recommendation list in the user interface;
[0031] The processing module is used to perform lighting rendering on the 2D view according to the target lamp information selected by the user, obtain and output a lighting effect diagram; and generate a recommended solution for the lamp layout according to the 2D view, the target lamp information, and the lighting effect diagram.
[0032] In a third aspect, the present application provides another lamp layout recommendation system, comprising: a processor, and a memory communicatively connected to the processor;
[0033] The memory stores computer-executable instructions;
[0034] The processor executes the computer-executable instructions stored in the memory to implement the above method.
[0035] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to implement the above-mentioned method when executed by a processor.
[0036] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0037] The method, system and medium for recommending the layout of lamps provided in the present application can obtain the apartment information for the layout of lamps to be performed, and parse the apartment information to obtain the corresponding 2D view; generate and display a list of recommended lamps in the user interface according to the lamp information of each lamp stored in the database; perform lighting rendering on the 2D view according to the target lamp information selected by the user, obtain and output the lighting effect diagram; generate a recommended solution for the layout of lamps according to the 2D view, the target lamp information and the lighting effect diagram. The method of the present application can first parse the apartment information for the layout of lamps to be performed to obtain the corresponding 2D view, so that the lighting rendering of the lamps can be performed according to the 2D view. After that, a list of recommended lamps can be generated and displayed in the user interface according to the lamp information of each lamp stored in the database, so that the user can select a suitable lamp. After the user selects the target lamp information, the 2D view can be rendered according to the target lamp information, and a lighting effect diagram that can present the lighting effect corresponding to the target lamp information on the 2D view can be obtained, and a recommended solution for the layout of lamps can be generated. Through such settings, users can intuitively see the lighting effects of the lamp layout in the apartment type where the lamp layout is to be carried out through the lighting renderings. The whole process is easy to operate. Users only need to input the apartment type information where the lamp layout is to be carried out and select the appropriate target lamp information. There is no need to use complex computer operating software for simulation, which improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0039] Figure 1 A system architecture diagram of an embodiment of the present application;
[0040] Figure 2 A flowchart of a recommended method for arranging lamps according to an embodiment of the present application;
[0041] Figure 3 A schematic diagram of the structure of a recommended system for lamp layout according to an embodiment of the present application;
[0042] Figure 4 It is a structural schematic diagram of a lamp layout recommendation system according to another embodiment of the present application.
[0043] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0044] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0045] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0046] It should also be noted that the recommended method, system and medium for the lighting layout of the present application can be used in the field of decoration management, and can also be used in any field other than the field of decoration management, such as the field of information recommendation, etc. The application field of the recommended method, system and medium for the lighting layout of the present application is not limited.
[0047] The recommended method, system and medium for lamp layout of the present application can be applied to scenarios where consumers use lamps provided by sellers to decorate and layout their houses, such as lamp layout of residential houses, lamp layout of commercial houses, etc. Any relevant scenarios involving the layout of lamps in houses can apply the recommended method, system and medium for lamp layout of the present application.
[0048] First, the terms involved in this application are explained:
[0049] WebGL (Web Graphics Library) is a 3D drawing protocol. This drawing technology standard allows JavaScript and OpenGL ES2.0 to be combined together. By adding a JavaScript binding to OpenGL ES2.0, WebGL can provide hardware 3D accelerated rendering for HTML5 Canvas, so that Web developers can use the system graphics card to display 3D scenes and models more smoothly in the browser, and can also create complex navigation and data visualization. Obviously, the WebGL technology standard eliminates the trouble of developing special rendering plug-ins for web pages, and can be used to create website pages with complex 3D structures, and can even be used to design 3D web games, etc.
[0050] Canvas is a new tag added in HTML5 that is used to generate images in real time on web pages and can manipulate image content. Basically, it is a bitmap that can be manipulated with JavaScript. The Canvas object represents an HTML canvas element. <canvas>It has no behavior of its own, but defines an API to support scripted client-side drawing operations.
[0051] In the traditional lighting configuration process, consumers can choose the appropriate lighting layout plan according to the house type to be decorated after communicating with the lighting seller. However, the lighting seller generally only shows consumers the decoration effect diagram and physical pictures provided by the lighting manufacturer, and consumers cannot see the lighting effect of the actual layout of the lighting in the house to be decorated, resulting in consumers often not being able to get a satisfactory lighting layout plan and poor user experience.
[0052] In addition, consumers can also use computer operating software such as CAD and Dialux to simulate the lighting effects of lamps in the house to be renovated. However, this method is complicated to operate and has high professional requirements on consumers, which is usually not achievable.
[0053] Based on this technical problem, the invention concept of this application is: how to provide a recommended method for lamp layout that is easy to operate and has intuitive lighting effects, thereby improving user experience.
[0054] Specifically, the apartment information for the lighting layout to be performed can be obtained, and the apartment information can be parsed to obtain the corresponding 2D view; according to the lighting information of each lighting fixture stored in the database, a lighting recommendation list is generated and displayed in the user interface; according to the target lighting fixture information selected by the user, the 2D view is illuminated and rendered to obtain and output the lighting effect diagram; according to the 2D view, the target lighting fixture information, and the lighting effect diagram, a recommended solution for the lighting layout is generated. The method of the present application can first parse the apartment information for the lighting layout to obtain the corresponding 2D view, so that the lighting rendering of the lighting fixture can be performed according to the 2D view later. After that, according to the lighting fixture information of each lighting fixture stored in the database, a lighting recommendation list can be generated and displayed in the user interface so that the user can select a suitable lighting fixture. After the user selects the target lighting fixture information, the 2D view can be illuminated and rendered according to the target lighting fixture information to obtain a lighting effect diagram that can present the lighting effect corresponding to the target lighting fixture information on the 2D view, and a corresponding lighting layout recommendation solution is generated. Through such settings, users can intuitively see the lighting effects of the lamp layout in the apartment type where the lamp layout is to be carried out through the lighting renderings. The whole process is easy to operate. Users only need to input the apartment type information where the lamp layout is to be carried out and select the appropriate target lamp information. There is no need to use complex computer operating software for simulation, which improves the user experience.
[0055] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0056] Figure 1 This is a system architecture diagram of an embodiment of the present application, such as Figure 1 As shown, the user uploads the apartment information for which the lighting layout is to be performed through the user interface of the lighting layout recommendation system; after receiving the information, the lighting layout recommendation system parses the apartment information to obtain the corresponding 2D view; based on the lighting information of each lighting fixture stored in the database, a lighting recommendation list is generated and displayed in the user interface. The user selects the required target lighting information in the lighting recommendation list displayed in the user interface. After receiving the information, the lighting layout recommendation system performs lighting rendering on the 2D view according to the target lighting information selected by the user, and obtains and outputs the lighting effect diagram. If the user is satisfied, the effect confirmation information is input. After receiving the information, the lighting layout recommendation system generates and outputs the recommended solution for the lighting layout according to the 2D view, the target lighting information, and the lighting effect diagram.
[0057] Embodiment 1
[0058] Figure 2 Flow chart of a method for recommending lamp layout according to an embodiment of the present application. This embodiment uses a lamp layout recommendation system as an execution subject to illustrate the method for recommending lamp layout. Figure 2 As shown, the recommended method for the lighting fixture layout may include the following steps:
[0059] S101: Acquire apartment type information for lighting layout, and parse the apartment type information to obtain a corresponding 2D view.
[0060] In this embodiment, the lamp layout recommendation system may be a recommendation platform loaded onto a terminal device such as a computer, a mobile phone, or an iPAD. The lamp layout recommendation system may provide a user interface (UI) on which a user may select or input corresponding information.
[0061] In this embodiment, the recommendation system for lamp layout can encapsulate WebGL technology and Canvas technology, and combine with Phaser3 engine to realize lighting calculation and rendering, so as to achieve the effect of simulating lamp layout by computer operating software such as CAD and Dialux.
[0062] In this embodiment, the lamp layout recommendation system can be applied to lamp sellers. After the lamp sellers install the lamp layout recommendation system, they can recommend lamps and preview the effects for consumers. When consumers want to buy lamps from the sellers for house decoration, consumers (users) can first select or upload the house type information for lamp layout in the user interface of the lamp layout recommendation system.
[0063] For example, the user can upload / photograph / search / select the house type information for the lighting layout to be performed, and the house type information can be a house type drawing, or an actual house image, etc.
[0064] In a possible implementation, parsing the apartment type information to obtain the corresponding 2D view in the above step S101 may include:
[0065] S11: Analyze the apartment type information to obtain the area information of each space in the apartment type, where the area information includes the length and width of the space.
[0066] S12: Generate a corresponding 2D view according to the apartment type information and the area information of each space in the apartment type.
[0067] In this embodiment, the specific implementation method of parsing the apartment type information to obtain the area information of each space in the apartment type can refer to the existing technology and will not be described in detail here.
[0068] In this embodiment, the apartment may include multiple spaces, such as a living room, a bedroom, a kitchen, etc., or may only include one space, without any limitation.
[0069] In this embodiment, after the apartment type information is parsed to obtain the area information of each space in the apartment type, it can be displayed in a 2D view on the Canvas.
[0070] In this embodiment, in the process of parsing the apartment information to obtain the corresponding 2D view, the most important thing is to parse the area information of each space in the apartment, such as the length and width of the space, so as to subsequently render the lighting effects of the lamps accurately according to the parsed 2D view to improve the accuracy of the lighting effect.
[0071] S102: Generate and display a lamp recommendation list on a user interface according to the lamp information of each lamp stored in a database.
[0072] In this embodiment, the lamp information of each lamp can be configured by the lamp manufacturer when the lamp leaves the factory. After purchasing the lamp from the manufacturer, the lamp seller can obtain the lamp information of each lamp and store it in the database of the lamp layout recommendation system.
[0073] In a possible implementation, the lamp recommendation list may include combined lamp recommendation information and single lamp recommendation information, where the lamp recommendation information includes lamp appearance, lamp type, and light source parameters of the lamp.
[0074] In this embodiment, the combination lamp recommendation information may be a recommended package obtained by the lamp seller or designer based on the combination of existing lamps, and the recommended package is pre-stored in the database of the lamp layout recommendation system.
[0075] In this embodiment, the appearance of the lamp can be a real picture of the lamp; the types of lamps can include ceiling lights, light strips, downlights, chandeliers, etc., which can be flexibly set by technicians in this field.
[0076] In this embodiment, when the lamp layout recommendation system makes a recommendation, it can pre-combine and configure the existing lamps, generate package-style combination lamp recommendation information for recommendation, and provide a popular lamp layout method to save users' lamp selection time; it can also only generate single lamp recommendation information so that users can freely combine and match the lamp layout to further enhance the user experience.
[0077] S103: Perform lighting rendering on the 2D view according to the target lamp information selected by the user, and obtain and output a lighting effect diagram.
[0078] In this embodiment, the lamp layout recommendation system can use WebGL technology and Canvas technology to generate lighting effect diagrams, so that users can intuitively see the lighting effects of the lamp layout in the apartment type where the lamp layout is to be performed.
[0079] In this embodiment, the lamp recommendation list displayed on the user interface displays information such as the appearance, type, and light source parameters of each lamp, and the user can select appropriate target lamp information based on this information.
[0080] In a possible implementation, the target lamp information may include the number of target lamps, the type of target lamps, and the light source parameters of the target lamps. The above step S103 performs lighting rendering on the 2D view according to the target lamp information selected by the user to obtain and output a lighting effect diagram, which may include:
[0081] S21: Determine a preset lamp position corresponding to the type of the target lamp according to the correspondence between the lamp type and the setting position preset in the database.
[0082] S22: Perform lighting rendering on the 2D view according to the preset positions of the lamps, the light source parameters of the target lamps, the number of the target lamps, and the WebGL technology and the Canvas technology to obtain and output a lighting effect diagram.
[0083] Among them, the light source parameters include one or more of area specifications, setting methods, light type, light color, light power, and light source angle.
[0084] In this embodiment, the installation positions of various types of lamps can be configured by the manufacturer of the lamps when the lamps leave the factory. For example, the ceiling light is generally installed in the center of the roof of the house, and the light strip is installed around the roof of the house, etc. After purchasing the lamps from the manufacturer, the seller of the lamps can obtain the installation positions of various types of lamps and store them in the database of the lamp layout recommendation system.
[0085] It should be noted that the user can select multiple types of target lamps, and the number of target lamps of each type can be the same or different, and there is no limitation here.
[0086] In this embodiment, the area specification in the light source parameters can be the length and width of the lamp; the setting method can be the decoration method of the lamp, such as magnetic adsorption, wire connection, etc.; the light emitting type can include continuous light and periodic light, etc.; the light emitting color can be white, color, etc.; the light source angle can be the light emitting range of the lamp.
[0087] In this embodiment, after the user selects the target lamp, the preset lamp position corresponding to the target lamp can be accurately determined according to the correspondence between the lamp type and the setting position stored in the database. Afterwards, according to the preset lamp position, the light source parameters of the target lamp, and the number of the target lamps, the 2D view can be rendered using WebGL technology and Canvas technology, and the rendered lighting effect diagram can be displayed on Canvas, so that the user can intuitively see the lighting effect of the lamp layout in the apartment to be laid out.
[0088] S104: Generate a recommended solution for the layout of the lighting fixtures according to the 2D view, the target lighting fixture information, and the lighting effect diagram.
[0089] In this embodiment, after the user selects the lamps to be purchased according to the lighting effect diagram, a recommended lamp layout plan can be generated so that the user can perform actual layout and decoration of the lamps according to the recommended lamp layout plan.
[0090] In a possible implementation, the above step S104 generates a recommended solution for the layout of lamps based on the 2D view, target lamp information, and the lighting effect diagram, which may include:
[0091] S31: receiving effect confirmation information input by the user, and generating lighting fixture construction information according to the 2D view and the preset position of the lighting fixture.
[0092] S32: Determine a target lamp price and / or target preferential information corresponding to the type of the target lamp; generate lamp price information according to the target lamp price and / or target preferential information, and the number of target lamps.
[0093] S33: Generate a recommended solution for the layout of the lighting fixtures according to the lighting fixture construction information, lighting fixture price information, and the lighting layout effect diagram.
[0094] In this embodiment, after the user sees the lighting effect diagram displayed on the user interface, if the user is satisfied, the user can input effect confirmation information by clicking a confirmation button or the like.
[0095] In this embodiment, the price and / or discount information of various types of lamps can be pre-set by the seller and stored in the database. After the user determines the target lamp to be purchased, the corresponding target lamp price and / or target discount information can be determined according to the type of the target lamp.
[0096] In this embodiment, after generating a recommended solution for lamp layout, if it is detected that the target lamp information corresponding to the lighting effect diagram has no corresponding lamp recommendation solution in the database, the target lamp information can be stored in the database as new combination lamp recommendation information.
[0097] In this embodiment, after the user determines the target lamp to be purchased, the lamp construction information can be generated according to the 2D view and the preset position of the lamp, so that the subsequent users and construction personnel can perform the construction and effect confirmation of the lamp layout according to the lamp construction information and the lighting effect diagram; the lamp price information is generated according to the target lamp price and / or target discount information, as well as the number of target lamps, so that the user and the seller can trade and back up the target lamp. Through such settings, the lamp construction information, lamp price information, and lighting effect diagram can be used to generate a recommended solution for the lamp layout, so that the user can purchase, construct, and compare the effect of the lamp accordingly.
[0098] In a possible implementation manner, before receiving the effect confirmation information input by the user in the above step S31, the following may also be included:
[0099] S41: receiving a layout adjustment instruction input by a user, and determining a target position of a lamp to be adjusted and / or a target angle of the lamp to be adjusted in the layout adjustment instruction.
[0100] S42: performing secondary lighting rendering on the lighting effect diagram according to the target position of the lamp to be adjusted and / or the target angle of the lamp to be adjusted, and obtaining and outputting the adjusted lighting effect diagram.
[0101] Accordingly, the lighting fixture construction information and the recommended solutions for the lighting fixture layout are generated based on the adjusted lighting layout renderings.
[0102] Specifically, generating lamp construction information based on the 2D view and the preset position of the lamp may include: generating lamp construction information based on the 2D view, the preset position of the lamp, the lamp light source parameters of the target lamp, and the target position of the lamp to be adjusted and / or the target angle of the lamp to be adjusted.
[0103] Specifically, generating a recommended solution for the layout of lamps based on the lamp construction information, the lamp price information, and the lighting renderings may include: generating a recommended solution for the layout of lamps based on the lamp construction information, the lamp price information, and the adjusted lighting renderings.
[0104] In this embodiment, after the user sees the lighting effect diagram displayed on the user interface, if the user is not satisfied with the lamp type, he or she can reselect the target lamp information in the user interface and return to step S103; if the user is satisfied with the lamp type but only dissatisfied with the installation position, he or she can readjust the setting position and / or angle.
[0105] In this embodiment, after the user sees the lighting effect diagram displayed on the user interface, if he is not satisfied, he can adjust the setting position and / or angle of the lamp until the lighting effect diagram generated after adjustment satisfies the user, thereby further improving the user experience.
[0106] In one possible implementation, the layout adjustment instruction in the above step S41 may be input by the user through a preset adjustment method and adjustment tool, wherein the preset adjustment method includes manual touch adjustment, hand-drawn pen touch adjustment, and mouse touch adjustment; the adjustment tool includes one or more of an undo tool, a zoom tool, a move tool, a network interface tool, a drawing tool, an annotation tool, a rotation tool, and a reading tool.
[0107] In this embodiment, the preset adjustment method may include manual touch adjustment, hand-drawn pen touch adjustment and mouse touch adjustment to meet the adjustment needs of different users. Preferably, the adjustment method may be hand-drawn pen touch adjustment, which is more convenient than mouse touch adjustment and more precise and accurate than manual touch adjustment.
[0108] It should be noted that the types and functions of the adjustment tools corresponding to different adjustment methods are the same, but the adjustment tools have different expressions in different adjustment methods.
[0109] In this embodiment, the layout adjustment instruction can be input by the user according to the adjustment tool corresponding to the appropriate adjustment method after the user selects the appropriate adjustment method. The user can choose the appropriate adjustment from a variety of adjustment methods. A variety of adjustment tools can meet the user's adjustment needs and further enhance the user's experience.
[0110] In this embodiment, the apartment type information for the lighting layout to be performed can be first parsed to obtain the corresponding 2D view, so that the lighting rendering of the lighting can be performed according to the 2D view. After that, a lighting recommendation list can be generated and displayed in the user interface according to the lighting information of each lighting fixture stored in the database, so that the user can select a suitable lighting fixture. After the user selects the target lighting fixture information, the 2D view can be rendered for lighting according to the target lighting fixture information to obtain a lighting effect diagram that can present the lighting effect corresponding to the target lighting fixture information on the 2D view, and generate a corresponding lighting layout recommendation. Through such a setting, the user can intuitively see the lighting effect of the lighting layout to the apartment type for the lighting layout through the lighting effect diagram. The whole process is easy to operate. The user only needs to input the apartment type information for the lighting layout and select the appropriate target lighting fixture information. It can be obtained without using complex computer operating software for simulation, which improves the user experience.
[0111] The recommended method for the layout of lamps of the present application is described below with a specific embodiment.
[0112] Embodiment 2
[0113] In a specific embodiment, a user purchases lamps from a lamp seller for decoration. The lamp seller opens a computer loaded with a lamp layout recommendation system to recommend lamp layouts. The specific lamp layout recommendation process is as follows:
[0114] In the first step, the user uploads the apartment information for which the lighting layout is to be performed through the user interface of the lighting layout recommendation system.
[0115] In the second step, after receiving the recommendation system for the lighting layout, the system parses the apartment information to obtain the area information of each space in the apartment, which includes the length and width of the space; based on the apartment information and the area information of each space in the apartment, a corresponding 2D view is generated.
[0116] In the third step, the lamp layout recommendation system generates and displays a lamp recommendation list on the user interface based on the lamp information of each lamp stored in the database. The lamp recommendation list includes combination lamp recommendation information and single lamp recommendation information.
[0117] In the fourth step, the user selects the target lamp information in the lamp recommendation list displayed on the user interface. After the lamp layout recommendation system receives it, it determines the lamp preset position corresponding to the target lamp type according to the correspondence between the lamp type and the setting position preset in the database; based on the lamp preset position, the light source parameters of the target lamp, the number of target lamps, as well as WebGL technology and Canvas technology, the 2D view is rendered for lighting to obtain and output the lighting effect diagram.
[0118] In the fifth step, the user uses a hand-drawn pen to adjust the setting position and angle of the lamp on the user interface and inputs the layout adjustment instruction; after receiving the lamp layout recommendation system, it determines the target position of the lamp to be adjusted and / or the target angle of the lamp to be adjusted in the layout adjustment instruction; according to the target position of the lamp to be adjusted and / or the target angle of the lamp to be adjusted, the lighting effect diagram is rendered for the second time to obtain and output the adjusted lighting effect diagram.
[0119] In the sixth step, the user clicks the confirmation button in the user interface to input effect confirmation information. After the lamp layout recommendation system receives the information, it generates lamp construction information based on the 2D view, the preset lamp position, the lamp light source parameters of the target lamp, and the target position of the lamp to be adjusted and / or the target angle of the lamp to be adjusted; determines the target lamp price and / or target discount information corresponding to the type of target lamp; generates lamp price information based on the target lamp price and / or target discount information, and the number of target lamps; generates a lamp layout recommendation plan based on the lamp construction information, lamp price information, and the lighting effect diagram.
[0120] Figure 3 This is a structural diagram of a recommended system for lamp layout according to an embodiment of the present application. Figure 3 As shown, the lamp layout recommendation system includes: a transceiver module 31, which is used to obtain the apartment information for the lamp layout to be performed, and parse the apartment information to obtain the corresponding 2D view; based on the lamp information of each lamp stored in the database, a lamp recommendation list is generated and displayed in the user interface; a processing module 32 is used to perform lighting rendering on the 2D view according to the target lamp information selected by the user, and obtain and output the lighting effect diagram; based on the 2D view, the target lamp information, and the lighting effect diagram, a lamp layout recommendation scheme is generated. In one embodiment, the description of the specific implementation functions of the lamp layout recommendation system can be found in steps S101-S104 in Example 1, which will not be repeated here.
[0121] In a possible implementation manner, the transceiver module 31 may also be used for:
[0122] Parse the apartment type information to obtain the area information of each space in the apartment type, which includes the length and width of the space;
[0123] Generate a corresponding 2D view based on the apartment type information and the area information of each space in the apartment type.
[0124] In this embodiment, the description of the specific functions implemented by the transceiver module 31 can refer to step S101 in the first embodiment, which will not be repeated here.
[0125] In a possible implementation, the processing module 32 may also be used to:
[0126] Determine the preset position of the lamp corresponding to the type of the target lamp according to the correspondence between the lamp type and the setting position preset in the database;
[0127] According to the preset positions of lamps, the light source parameters of target lamps, the number of target lamps, and WebGL and Canvas technologies, the 2D view is rendered to obtain and output the lighting effect diagram;
[0128] Among them, the light source parameters include one or more of area specifications, setting methods, light type, light color, light power, and light source angle.
[0129] In this embodiment, the description of the specific functions implemented by the processing module 32 can refer to step S103 in the first embodiment, which will not be repeated here.
[0130] In a possible implementation, the processing module 32 may also be used to:
[0131] Receive the effect confirmation information input by the user, and generate the lighting fixture construction information according to the 2D view and the preset position of the lighting fixture;
[0132] Determine a target lamp price and / or target discount information corresponding to the type of the target lamp; generate lamp price information according to the target lamp price and / or target discount information, and the number of the target lamps;
[0133] Generate a recommended lighting layout plan based on lighting construction information, lighting price information, and lighting renderings.
[0134] In this embodiment, the description of the specific functions implemented by the processing module 32 can refer to step S104 in the first embodiment, which will not be repeated here.
[0135] In a possible implementation, the processing module 32 may also be used to:
[0136] Before receiving the effect confirmation information input by the user, it also includes:
[0137] Receiving a layout adjustment instruction input by a user, and determining a target position of a lamp to be adjusted and / or a target angle of the lamp to be adjusted in the layout adjustment instruction;
[0138] Perform secondary lighting rendering on the lighting effect diagram according to the target position of the lamp to be adjusted and / or the target angle of the lamp to be adjusted, and obtain and output the adjusted lighting effect diagram;
[0139] Accordingly, the lighting fixture construction information and the recommended solutions for the lighting fixture layout are generated based on the adjusted lighting layout renderings.
[0140] In this embodiment, the description of the specific functions implemented by the processing module 32 can refer to step S104 in the first embodiment, which will not be repeated here.
[0141] Figure 4 This is a structural diagram of a recommended system for lamp layout according to an embodiment of the present application. Figure 4 As shown, the lamp layout recommendation system includes: a processor 401, and a memory 402 that is communicatively connected to the processor 401; the memory 402 stores computer execution instructions; the processor 401 executes the computer execution instructions stored in the memory 402 to implement the steps of the lamp layout recommendation method in the above-mentioned method embodiments.
[0142] The lamp layout recommendation system may be independent or a part of a terminal device, and the processor 401 and the memory 402 may adopt existing hardware of the terminal device.
[0143] In the above-mentioned recommended system for lamp layout, the memory 402 and the processor 401 are electrically connected directly or indirectly to realize data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines, such as through a bus connection. The memory 402 stores computer-executable instructions for implementing the data access control method, including at least one software function module that can be stored in the memory 402 in the form of software or firmware. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402.
[0144] The memory 402 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electric erasable programmable read-only memory (EEPROM), etc. The memory 402 is used to store programs, and the processor 401 executes the programs after receiving the execution instruction. Furthermore, the software programs and modules in the above-mentioned memory 402 may also include an operating system, which may include various software components and / or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.
[0145] The processor 401 may be an integrated circuit chip having the ability to process signals. The processor 401 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc. The methods, steps, and logic diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0146] An embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the steps of each method embodiment of the present application.
[0147] An embodiment of the present application further provides a computer program product, including a computer program, which implements the steps of each method embodiment of the present application when executed by a processor.
[0148] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0149] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0150] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0151] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0152] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0153] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the appended claims.
[0154] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.< / canvas>
Claims
1. A method for recommending lamp layout, characterized in that: include: Acquire apartment type information for which lighting fixtures are to be arranged, and parse the apartment type information to obtain a corresponding 2D view; Generate and display a list of recommended lamps on a user interface based on the lamp information of each lamp stored in the database; According to the target lamp information selected by the user, the 2D view is subjected to lighting rendering to obtain and output a lighting effect diagram; A recommended solution for the layout of the lamps is generated according to the 2D view, the target lamp information, and the lighting effect diagram.
2. The method according to claim 1, characterized in that The target lamp information includes the number of target lamps, the type of target lamps, and the light source parameters of the target lamps. The 2D view is rendered according to the target lamp information selected by the user to obtain and output a lighting effect diagram, including: Determine the preset lamp position corresponding to the type of the target lamp according to the correspondence between the lamp type and the setting position preset in the database; According to the preset position of the lamp, the light source parameters of the target lamp, the number of the target lamps, and the WebGL technology and the Canvas technology, the 2D view is subjected to lighting rendering to obtain and output a lighting effect diagram; The light source parameters include one or more of area specifications, setting methods, light emitting types, light emitting colors, light emitting power, and light source angles.
3. The method according to claim 2, characterized in that The generating a recommended solution for the layout of lamps according to the 2D view, the target lamp information, and the lighting effect diagram includes: Receive effect confirmation information input by the user, and generate lighting fixture construction information according to the 2D view and the preset position of the lighting fixture; Determine a target lamp price and / or target preferential information corresponding to the type of the target lamp; generate lamp price information according to the target lamp price and / or target preferential information, and the quantity of the target lamps; A recommended solution for the layout of the lamps is generated according to the lamp construction information, the lamp price information, and the lighting effect diagram.
4. The method according to claim 3, characterized in that Before receiving the effect confirmation information input by the user, the method further includes: Receiving a layout adjustment instruction input by a user, and determining a target position of a lamp to be adjusted and / or a target angle of the lamp to be adjusted in the layout adjustment instruction; According to the target position of the lamp to be adjusted and / or the target angle of the lamp to be adjusted, performing secondary lighting rendering on the lighting effect diagram to obtain and output an adjusted lighting effect diagram; Correspondingly, the lighting fixture construction information and the recommended solution for the lighting fixture layout are generated based on the adjusted lighting effect diagram.
5. The method according to claim 4, characterized in that The layout adjustment instruction is input by the user through a preset adjustment method and adjustment tool, wherein the preset adjustment method includes manual touch adjustment, hand-drawn pen touch adjustment and mouse touch adjustment; The adjustment tools include one or more of an undo tool, a zoom tool, a move tool, a network interface tool, a drawing tool, a marking tool, a rotation tool, and a reading tool.
6. The method according to any one of claims 1 to 5, characterized in that The parsing of the apartment type information to obtain a corresponding 2D view includes: Parsing the apartment type information to obtain area information of each space in the apartment type, wherein the area information includes the length and width of the space; A corresponding 2D view is generated according to the apartment type information and the area information of each space in the apartment type.
7. The method according to any one of claims 1 to 5, characterized in that The lamp recommendation list includes combination lamp recommendation information and single lamp recommendation information, and the lamp recommendation information includes lamp appearance, lamp type and light source parameters of the lamp.
8. A lamp layout recommendation system, characterized in that: include: A transceiver module, used to obtain the apartment type information for the lamp layout, and parse the apartment type information to obtain the corresponding 2D view; Generate and display a list of recommended lamps on a user interface based on the lamp information of each lamp stored in the database; A processing module, used to perform lighting rendering on the 2D view according to the target lamp information selected by the user, and obtain and output a lighting effect diagram; A recommended solution for the layout of the lamps is generated according to the 2D view, the target lamp information, and the lighting effect diagram.
9. A lamp layout recommendation system, characterized in that: comprising a processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Cited By
Illumination loop modeling and quantity calculation method, system, equipment and medium
CN119808220A
Intelligent workshop illumination control system and method based on Internet of Things
CN121959978A
