Decoration design drawing acquisition method and device, electronic equipment and storage medium

By introducing large language models into decoration design software, and automatically processing decoration design tasks and control program acquisition, the problems of low efficiency and poor user experience in the existing technology are solved, and a more efficient and user-friendly design process is achieved.

CN119848990AActive Publication Date: 2025-04-18HANGZHOU QUNHE INFORMATION TECHNOLOGIES CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411918128.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-18
Estimated Expiration
2044-12-24

AI Technical Summary

Technical Problem

When drawing decoration design drawings by existing decoration design software, users need to make a lot of tedious adjustments, resulting in low design acquisition efficiency and poor user experience.

Method used

The large language model (LLM) is used to obtain the decoration design drawings, and by generating multiple decoration design tasks with execution sequence, and obtaining corresponding control programs based on the current task, automatically processing the task planning and control program acquisition links.

Benefits of technology

It improves the efficiency of obtaining decoration design drawings, reduces manual participation, and reduces the requirements for software operation skills and design expertise, thereby improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119848990A_ABST
    Figure CN119848990A_ABST
Patent Text Reader

Abstract

The invention provides a decoration design drawing acquisition method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The specific implementation scheme comprises the steps of obtaining a decoration design request; obtaining a plurality of decoration design tasks with an execution sequence based on the decoration design request by utilizing a large language model; determining a current task from the decoration design tasks according to the execution sequence; obtaining a control program corresponding to the current task by using the large language model; under the condition that the control program needs to be executed in the back-end environment, executing the control program to obtain intermediate data; wherein the intermediate data is used for being called when other decoration design tasks, the execution sequence of which is behind the current task, are processed; under the condition that the control program needs to be executed in the front-end environment, the control program is sent to the terminal equipment; wherein the terminal equipment is used for executing the control program so as to display the target decoration design drawing on the terminal equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for acquiring decoration design drawings. Background Art

[0002] Before decorating a building, drawing decoration design drawings is an indispensable part. At present, in order to improve the convenience of decoration design, decoration design drawings are mainly drawn using decoration cloud design software. However, in the actual operation process, users need to make a lot of tedious adjustments based on the decoration cloud design software, including space layout adjustment, item placement adjustment, and lighting effect adjustment. This process is complicated and time-consuming. On the one hand, it will reduce the efficiency of obtaining decoration design drawings; on the other hand, it also requires users to be familiar with the various function settings of the decoration cloud design software, and at the same time, have rich professional knowledge of decoration design, which will reduce the user experience. Summary of the invention

[0003] The present disclosure provides a decoration design drawing acquisition method, device, electronic device and storage medium to solve or alleviate one or more technical problems in the prior art.

[0004] In a first aspect, the present disclosure provides a method for acquiring a decoration design drawing, comprising:

[0005] Get decoration design request;

[0006] Using the large language model, multiple decoration design tasks with execution order are obtained based on decoration design requests;

[0007] Determine the current task from multiple decoration design tasks according to the execution order;

[0008] Using the large language model, we can get the control program corresponding to the current task;

[0009] In the case where the control program needs to be executed in the backend environment, the control program is executed to obtain intermediate data; wherein the intermediate data is used to be called when processing other decoration design tasks whose execution order is after the current task;

[0010] In the case where the control program needs to be executed in the front-end environment, the control program is sent to the terminal device; wherein the terminal device is used to execute the control program to display the target decoration design drawing on the terminal device.

[0011] In a second aspect, the present disclosure provides a method for obtaining a decoration design drawing, comprising:

[0012] Generate renovation design request;

[0013] Sending a decoration design request to a service device; wherein the service device is used to use a large language model to obtain multiple decoration design tasks with an execution order based on the decoration design request, and determine a current task from multiple decoration design tasks according to the execution order, and then use the large language model to obtain a control program corresponding to the current task, so as to execute the control program and obtain intermediate data when the control program needs to be executed in a backend environment, or send the control program to a terminal device when the control program needs to be executed in a frontend environment; the intermediate data is used to be called when processing other decoration design tasks whose execution order is after the current task;

[0014] When the control program sent by the service device is received, the control program is executed to display the target decoration design drawing.

[0015] In a third aspect, the present disclosure provides a device for acquiring a decoration design drawing, comprising:

[0016] A request acquisition unit, used to acquire a decoration design request;

[0017] A task planning unit, used for obtaining a plurality of decoration design tasks with execution order based on the decoration design request by using a large language model;

[0018] A task selection unit, used to determine the current task from multiple decoration design tasks according to the execution order;

[0019] A program acquisition unit, used to obtain a control program corresponding to a current task using a large language model;

[0020] A first program processing unit is used to execute the control program to obtain intermediate data when the control program needs to be executed in the back-end environment; wherein the intermediate data is used to be called when processing other decoration design tasks whose execution order is after the current task;

[0021] The second program processing unit is used to send the control program to the terminal device when the control program needs to be executed in the front-end environment; wherein the terminal device is used to execute the control program to display the target decoration design drawing on the terminal device.

[0022] In a fourth aspect, the present disclosure provides a device for acquiring a decoration design drawing, comprising:

[0023] A request generating unit, used for generating a decoration design request;

[0024] A request sending unit is used to send a decoration design request to a service device; wherein the service device is used to use a large language model to obtain multiple decoration design tasks with an execution order based on the decoration design request, and determine a current task from multiple decoration design tasks according to the execution order, and then use the large language model to obtain a control program corresponding to the current task, so as to execute the control program and obtain intermediate data when the control program needs to be executed in a backend environment, or send the control program to a terminal device when the control program needs to be executed in a frontend environment; the intermediate data is used to be called when processing other decoration design tasks whose execution order is after the current task;

[0025] The program execution unit is used to execute the control program to display the target decoration design drawing when receiving the control program sent by the service device.

[0026] In a fifth aspect, an electronic device is provided, including:

[0027] at least one processor; and

[0028] a memory communicatively connected to the at least one processor; wherein,

[0029] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any method in the embodiments of the present disclosure.

[0030] In a sixth aspect, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute any method according to the embodiments of the present disclosure.

[0031] The present disclosure can utilize a large language model to fully automate the acquisition of the most complex and time-intensive task planning and control programs. In this way, on the one hand, the highly intelligent processing capability of the large language model can be relied upon to improve the efficiency of acquiring the target decoration design drawings; on the other hand, manual participation can be greatly reduced, so that neither the proficiency of software operation skills nor the mastery of design expertise is an obstacle to acquiring the target decoration design drawings, thereby improving the user experience.

[0032] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments provided according to the present disclosure and should not be regarded as limiting the scope of the present disclosure.

[0034] Figure 1 A schematic diagram of a method for obtaining a decoration design drawing provided in an embodiment of the present disclosure Figure 1 ;

[0035] Figure 2 A schematic diagram of a method for obtaining a decoration design drawing provided in an embodiment of the present disclosure Figure 2 ;

[0036] Figure 3 A schematic diagram of the overall architecture of a decoration design drawing acquisition system provided by an embodiment of the present disclosure;

[0037] Figure 4 A schematic diagram of an algorithm flow involved in a decoration design drawing acquisition system provided in an embodiment of the present disclosure;

[0038] Figure 5 A schematic structural frame of a decoration design drawing acquisition device provided in an embodiment of the present disclosure Figure 1 ;

[0039] Figure 6 A schematic structural frame of a decoration design drawing acquisition device provided in an embodiment of the present disclosure Figure 2 ;

[0040] Figure 7 A schematic structural block diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0041] The present disclosure will be further described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0042] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the present disclosure.

[0043] As mentioned above, currently, in order to improve the convenience of decoration design, decoration cloud design software is mainly used to draw decoration design drawings. However, in the actual operation process, users need to make a lot of tedious adjustments based on the decoration cloud design software, including space layout adjustment, item placement adjustment and lighting effect adjustment. This process is complicated and time-consuming. On the one hand, it will reduce the efficiency of obtaining decoration design drawings; on the other hand, it also requires users to be familiar with the various function settings of the decoration cloud design software, and at the same time, have rich design expertise, which will reduce the user experience.

[0044] Based on the above description, the present disclosure proposes a method for obtaining decoration design drawings to solve or alleviate one or more technical problems in the prior art.

[0045] Specifically, Figure 1 A schematic diagram of a method for obtaining a decoration design drawing provided in an embodiment of the present disclosure Figure 1 , which can be applied to service equipment. Here, the service equipment can be a server, or a workbench, a mainframe computer or other similar computing device. In addition, Figure 1 The decoration design drawing acquisition method shown may include at least part of the following contents, and Figure 1 Although a certain logical order is shown in the figure, in some cases, it can also be executed in other orders. Figure 1 Steps shown or described.

[0046] like Figure 1 As shown, the method for obtaining the decoration design drawing includes:

[0047] Step S101, obtaining a decoration design request.

[0048] The decoration design request may be a decoration design drawing request sent by the user to the service device based on the terminal device, so as to request the decoration design drawing to be drawn based on the original architectural drawing according to the decoration design intention of the user. Here, the terminal device may be a conventional computer (e.g., a desktop computer, a laptop computer, etc.), a car computer, a tablet computer, a smart phone, a personal digital processing device or other similar computing devices; the original architectural drawing may be a floor plan of the target building, or an initial decoration design drawing obtained based on the floor plan of the target building, and the embodiments of the present disclosure are not limited to this.

[0049] Step S102, using a large language model (LLM), based on the decoration design request, a plurality of decoration design tasks with an execution order are obtained.

[0050] Among them, LLM can be a pre-trained neural network model, which has general language knowledge, world knowledge, professional knowledge in various fields (for example, professional knowledge in the fields of architecture and decoration design), etc., and is stored in the model in the form of parameters.

[0051] In one example, the LLM can be an autoregressive generative model of the Transformer architecture.

[0052] After receiving the decoration design request, LLM can use its internally stored language knowledge, world knowledge, professional knowledge in various fields, etc. to perform task planning based on the decoration design request, and obtain multiple decoration design tasks with an execution order. That is, according to the user's decoration design intention, determine the multiple decoration design tasks that need to be performed when drawing the decoration design drawings based on the original architectural drawings, as well as the execution order of the multiple decoration design tasks.

[0053] Step S103, determining the current task from the plurality of decoration design tasks according to the execution order.

[0054] In one example, the decoration design task that is the most forward in execution order and has not been executed among multiple decoration design tasks can be used as the current task. Exemplarily, multiple decoration design tasks include: decoration design task A, decoration design task B and decoration design task C, and the execution order of multiple decoration design tasks is: decoration design task A> decoration design task B> decoration design task C. Assuming that the decoration design task that has not been executed among multiple decoration design tasks includes decoration design task A, decoration design task B and decoration design task C, then decoration design task A can be used as the current task; assuming that the decoration design task that has not been executed among multiple decoration design tasks includes decoration design task B and decoration design task C, then decoration design task B can be used as the current task; assuming that the decoration design task that has not been executed among multiple decoration design tasks includes decoration design task C, then decoration design task C can be used as the current task.

[0055] Step S104, using LLM, obtain the control program corresponding to the current task.

[0056] The control program may be a data acquisition program or a display control program.

[0057] It should be noted that in the embodiments of the present disclosure, when the control program is a data acquisition program, the control program needs to be executed in the backend environment; when the control program is a display control program, the control program needs to be executed in the frontend environment. The backend environment is the operating environment provided by the service device; the frontend environment is the operating environment provided by the terminal device.

[0058] Step S105: When the control program needs to be executed in the backend environment, execute the control program to obtain intermediate data.

[0059] The intermediate data can be used to be called when processing other decoration design tasks that are placed after the current task in execution order, and can specifically be display resources, design parameters, etc. Here, the display resources can be model resources, such as furniture models, door and window models, lamp models, bathroom facilities models, etc.; the design parameters can be the position parameters, size parameters, color parameters, etc. of each model resource.

[0060] Step S106: When the control program needs to be executed in the front-end environment, the control program is sent to the terminal device.

[0061] The terminal device is used to execute the control program to display the target decoration design drawing on the terminal device. Here, when the current task is not the decoration design task with the last execution order among multiple decoration design tasks, the target decoration design drawing can be further processed when processing other decoration design tasks with the execution order after the current task to obtain the final decoration design drawing; when the current task is the decoration design task with the last execution order among multiple decoration design tasks, the target decoration design drawing can be used as the final decoration design drawing.

[0062] The decoration design drawing acquisition method provided by the embodiment of the present disclosure can obtain a plurality of decoration design tasks with an execution order by using LLM after obtaining the decoration design request, and determine the current task from the plurality of decoration design tasks according to the execution order, and then obtain the control program corresponding to the current task by using LLM, so that when the control program needs to be executed in the back-end environment, the control program is executed to obtain intermediate data, or when the control program needs to be executed in the front-end environment, the control program is sent to the terminal device to execute the control program through the terminal device to display the target decoration design drawing on the terminal device. That is to say, in the embodiment of the present disclosure, the most complex and time-intensive task planning and control program acquisition links are fully automated by using LLM. In this way, on the one hand, the highly intelligent processing capability of LLM can be relied on to improve the acquisition efficiency of the target decoration design drawing; on the other hand, manual participation can be greatly reduced, so that neither the proficiency of software operation skills nor the mastery of design expertise is an obstacle to the acquisition of the target decoration design drawing, and therefore, the user experience can be improved.

[0063] In some optional implementations, step S101, i.e., “obtaining a decoration design request”, may include:

[0064] Get the decoration design request sent by the terminal device.

[0065] The decoration design request is rewritten by utilizing LLM to obtain a rewritten decoration design request.

[0066] Among them, the decoration design request may be a decoration design drawing request issued by the user to the service device based on the terminal device, so there may be a problem of unclear intention expression.

[0067] Based on this, in the embodiment of the present disclosure, after obtaining the decoration design request sent by the user based on the terminal device, the LLM can be used to rewrite the decoration design request to achieve a clear processing of the decoration design request and obtain a rewritten decoration design request. Among them, the rewritten decoration design request can directly or indirectly include multiple key design elements, such as design basis, design scope, design style, etc. Here, the design basis can be a certain architectural drawing (for example, the original architectural drawing); the design scope can be the overall scope represented by the design basis, or it can be a partial scope represented by the design basis; the design style can be medieval style, modern simple style, Chinese style, mixed style, etc.

[0068] In one example, LLM can be used to interact with users through multiple rounds of questions and answers to achieve the purpose of rewriting the decoration design request, thereby ensuring that the rewritten decoration design request includes multiple key design elements. In another example, LLM can be used to call other language models (for example, Tongyi Qianwen, Generative Pre-trained Transformer (GPT)) to use other language models to achieve the purpose of rewriting the decoration design request based on historical search question and answer data, thereby ensuring that the rewritten decoration design request includes multiple key design elements. Among them, the historical search question and answer data can be user search data and / or question and answer data collected during the use of the decoration design drawing acquisition system.

[0069] Through the above method, in the embodiment of the present disclosure, after obtaining the decoration design request sent by the terminal device, the decoration design request can be rewritten by using LLM to obtain a rewritten decoration design request to ensure that the rewritten decoration design request does not have the problem of unclear intention expression. In this way, when executing step S102, that is, "using LLM to obtain multiple decoration design tasks with an execution order based on the decoration design request", LLM can be used to obtain multiple decoration design tasks with an execution order based on the rewritten decoration design request to ensure the reliability of multiple decoration design tasks, thereby ensuring that the target decoration design drawing has a high degree of fit with the user's decoration design intention, so as to further improve the user's usage experience.

[0070] In some optional implementations, step S102, i.e., "obtaining a plurality of decoration design tasks having an execution order based on the decoration design request by using the LLM" may include:

[0071] Get planning constraints;

[0072] According to planning constraints, based on decoration design requests, planning instruction information is obtained;

[0073] By using LLM, decoration task planning is carried out based on planning instruction information, and multiple decoration design tasks with execution order are obtained.

[0074] Among them, planning constraints may include format requirements, language style requirements, etc. for multiple decoration design tasks.

[0075] After the planning constraints are obtained, the planning indication information can be obtained based on the decoration design request and the planning constraints. In one example, the planning indication information can be obtained based on the rewritten decoration design request according to the planning constraints.

[0076] Through the above method, in the embodiment of the present disclosure, after obtaining the planning constraints, the planning instruction information can be obtained based on the decoration design request according to the planning constraints, and the decoration task planning can be performed based on the planning instruction information by using LLM, so as to obtain multiple decoration design tasks with an execution order, so that the format, language style, etc. of the multiple decoration design tasks meet the planning constraints. In this way, the difficulty of subsequent processing of multiple decoration design tasks can be reduced. For example, errors and rework caused by the format, language style, etc. of multiple decoration design tasks can be avoided or reduced, so that the advancement of the entire decoration design drawing acquisition process can be smoother, so as to further improve the acquisition efficiency of the target decoration design drawing.

[0077] In some optional implementations, step S104, i.e., "using LLM to obtain a control program corresponding to the current task" may include:

[0078] Using LLM, determine the target design tool corresponding to the current task;

[0079] Use the target design tool to obtain the control program corresponding to the current task.

[0080] In the disclosed embodiment, multiple candidate design tools can be pre-set, and each of the multiple candidate design tools can process one or more types of decoration design tasks through the logic program encapsulated inside it. In this way, after determining the current task, the LLM can be used to determine the task type of the current task, and based on the task type of the current task, determine the target design tool corresponding to the current task from the multiple candidate design tools.

[0081] Exemplarily, the plurality of candidate design tools include a first candidate design tool, a second candidate design tool and a third candidate design tool. The first candidate design tool is used to process a decoration design task of a model search type; the second candidate design tool is used to process a decoration design task of a parameter determination type; and the third candidate design tool is used to process a decoration design task of a display control type.

[0082] Assuming that the current task is "select a coffee table from the model library based on the style of the multi-seater sofa", then, after using LLM to determine that the task type of the current task is the model search class, based on this task type, determine the first candidate design tool from multiple candidate design tools as the target design tool corresponding to the current task; assuming that the current task is "determine the placement position of the coffee table in the living room area", then, after using LLM to determine that the task type of the current task is the parameter determination class, based on this task type, determine the second candidate design tool from multiple candidate design tools as the target design tool corresponding to the current task; assuming that the current task is "add the coffee table to the living room area based on the placement position of the coffee table in the living room area", then, after using LLM to determine that the task type of the current task is the display control class, based on this task type, determine the third candidate design tool from multiple candidate design tools as the target design tool corresponding to the current task.

[0083] After determining the target design tool corresponding to the current task, the target design tool can be used to obtain a control program corresponding to the current task.

[0084] In the above manner, in the embodiment of the present disclosure, the target design tool corresponding to the current task can be determined by using LLM, and the control program corresponding to the current task can be obtained by using the target design tool. In this process, since the target design tool is pre-set, it does not need to be configured in real time in the decoration design drawing acquisition process, so the acquisition efficiency of the target decoration design drawing can be further improved.

[0085] Further, as mentioned above, in the embodiment of the present disclosure, after determining the target design tool corresponding to the current task, the target design tool can be used to obtain the control program corresponding to the current task. In an optional implementation, "obtaining the control program corresponding to the current task" may include:

[0086] Determine the target application programming interface (API) required to perform the current task;

[0087] Acquire the target data resources required to perform the current task;

[0088] Based on the target API and target data resources, a control program corresponding to the current task is generated.

[0089] Among them, the target API can be used to connect to a specific functional object (for example, software or service). For example, when the task type of the current task is a model search class, the target API required to execute the current task is connected to a first functional object, and calling the first functional object can retrieve the model library to obtain model resources that meet the requirements as display resources; for another example, when the task type of the current task is a parameter determination class, the target API required to execute the current task is connected to a second functional object, and calling the second functional object can obtain design parameters that meet the requirements; for another example, when the task type of the current task is a display control class, the target API required to execute the current task is connected to a third functional object, and calling the third functional object can implement display operations on the front-end tool interface (for example, displaying the target decoration design drawing on the front-end tool interface).

[0090] In addition, in the embodiment of the present disclosure, the target data resource may be a task execution result obtained when processing other decoration design tasks whose execution order is before the current task. Here, the task execution result may be a display resource and / or a parameter resource, and may be stored in a memory. Based on this, in one example, "obtaining the target data resource required to execute the current task" may include:

[0091] Determine a target task execution result required to execute the current task from a plurality of task execution results stored in the memory bank;

[0092] Based on the target task execution results, the target data resources required to execute the current task are obtained.

[0093] In a specific example, after obtaining the target task execution result, the target task execution result can be used as the target data resource required to execute the current task.

[0094] Exemplarily, the current task is "add a coffee table to the living room area based on its placement in the living room area". Then, the first target task execution result required to execute the current task, that is, the coffee table (belonging to the display resource), can be determined from the multiple task execution results stored in the memory bank. At the same time, the second target task execution result required to execute the current task, that is, the placement position of the coffee table in the living room area (belonging to the parameter resource), can be determined from the multiple task execution results stored in the memory bank. The first target task execution result and the second target task execution result are then used together as the target data resources required to execute the current task.

[0095] After determining the target API required to perform the current task and obtaining the target data resources required to perform the current task, a control program corresponding to the current task can be generated based on the target API and the target data resources. In one example, a control program corresponding to the current task can be generated based on the description information of the target API and the target data resources. The description information of the target API may include interface parameters (e.g., query parameters, path parameters, request body parameters, and header parameters, etc.) and interface name of the target API.

[0096] Through the above method, in the embodiment of the present disclosure, the target API required for executing the current task can be determined, and the target data resources required for executing the current task can be obtained, and then based on the target API and the target data resources, the control program corresponding to the current task can be generated. On the one hand, based on the target API and the target data resources, the control program corresponding to the current task can be quickly generated to further improve the acquisition efficiency of the target decoration design drawing; on the other hand, based on the target API and the target data resources, the control program corresponding to the current task generated has the characteristics of clear structure and clear logic, and can be executed quickly, so it can also further improve the acquisition efficiency of the target decoration design drawing. In addition, when acquiring the target data resources required for executing the current task, the target task execution results required for executing the current task can be determined from the multiple task execution results stored in the memory library, and based on the target task execution results, the target data resources required for executing the current task can be obtained. In other words, the target data resources are pre-stored in the memory library, so they can be quickly acquired, thereby further improving the acquisition efficiency of the target decoration design drawing.

[0097] Based on the above description, in the embodiment of the present disclosure, after executing step S105, that is, "when the control program needs to be executed in the backend environment, execute the control program to obtain intermediate data", the intermediate data can be stored in the memory as the task execution result corresponding to the current task, or after executing step S106, that is, "when the control program needs to be executed in the frontend environment, send the control program to the terminal device", the control program is executed through the terminal device to display the target decoration design drawing on the terminal device, the target decoration design drawing can be obtained to store the target decoration design drawing as the task execution result corresponding to the current task in the memory. In this way, the purpose of expanding the memory can be achieved, thereby ensuring that the memory can have a rich data storage capacity.

[0098] In some optional implementations, step S104, i.e., "using LLM to obtain a control program corresponding to the current task" may include:

[0099] Using LLM, we get the initial program corresponding to the current task;

[0100] Using LLM, reflect on the initial program and obtain the reflection results;

[0101] When the reflection result indicates that the initial program is an executable program, the initial program is used as a control program corresponding to the current task.

[0102] In one example, “using LLM to obtain an initial program corresponding to the current task” may include:

[0103] Using LLM, determine the first target design tool corresponding to the current task;

[0104] Use the first target design tool to obtain the initial program corresponding to the current task.

[0105] Among them, "obtaining the initial program corresponding to the current task" may include: determining the first target API required to execute the current task, and obtaining the first target data resource required to execute the current task, and then generating the initial program corresponding to the current task based on the first target API and the first target data resource. Here, "obtaining the first target data resource required to execute the current task" may also include: determining the first target task execution result required to execute the current task from multiple task execution results stored in the memory, and obtaining the first target data resource required to execute the current task based on the first target task execution result.

[0106] The above process can be referred to the above description of "using LLM to determine the target design tool corresponding to the current task; using the target design tool to obtain the control program corresponding to the current task", which will not be repeated here.

[0107] After obtaining the initial program corresponding to the current task, the LLM can be used to reflect on the initial program and obtain the reflection result, that is, the LLM is used to reflect on the initial program based on the language knowledge, world knowledge, professional knowledge in various fields, etc. stored internally, and the reflection result is obtained to characterize whether the initial program belongs to an executable program, and when the reflection result characterizes that the initial program belongs to an executable program, the initial program is used as the control program corresponding to the current task. It can be understood that in the embodiment of the present disclosure, when the initial program belongs to an executable program, it can be explained that the initial program has no logical errors and no environmental dependence problems, and therefore, it can be successfully executed.

[0108] Through the above method, in the embodiment of the present disclosure, LLM can be used to obtain the initial program corresponding to the current task, and LLM can be used to reflect on the initial program to obtain the reflection result, and then when the reflection result indicates that the initial program is an executable program, the initial program can be used as the control program corresponding to the current task. That is to say, in the embodiment of the present disclosure, the initial program can be used as the control program corresponding to the current task only when the reflection result indicates that the initial program is an executable program. In this way, errors and rework caused by problems in the control program can be avoided or reduced, so as to further improve the efficiency of obtaining the target decoration design drawings.

[0109] In addition, in the embodiment of the present disclosure, after obtaining a decoration design request, using LLM to obtain multiple decoration design tasks with an execution order based on the decoration design request, and then determining the current task from the multiple decoration design tasks according to the execution order, using LLM to obtain a control program corresponding to the current task, and executing the control program to obtain intermediate data when the control program needs to be executed in a backend environment, or sending the control program to a terminal device when the control program needs to be executed in a frontend environment, the decoration design drawing acquisition method may also include:

[0110] Get the process notification text related to the current task;

[0111] Sends progress notification text to the terminal device.

[0112] The terminal device is used to display the process notification text.

[0113] In one example, the terminal device may display a progress notification text in a user dialog box, wherein the user dialog box may also display a decoration design request sent by the user based on the terminal device.

[0114] Through the above method, in the embodiment of the present disclosure, in the process of processing the current task, a process notification text related to the current task can be obtained, and the process notification text can be sent to the terminal device, so that the user can clearly understand the overall progress of the decoration design drawing acquisition process, thereby further improving the user's experience.

[0115] The disclosed solution also proposes a method for obtaining a decoration design drawing, specifically, Figure 2 A schematic diagram of a method for obtaining a decoration design drawing provided in an embodiment of the present disclosure Figure 2 , which can be applied to terminal devices. Here, the terminal device can be a conventional computer (e.g., a desktop computer, a laptop computer, etc.), a car computer, a tablet computer, a smart phone, a personal digital processing or other similar computing device. In addition, Figure 2The decoration design drawing acquisition method shown may include at least part of the following contents, and Figure 2 Although a certain logical order is shown in the figure, in some cases, it can also be executed in other orders. Figure 2 Steps shown or described.

[0116] like Figure 2 As shown, the method for obtaining the decoration design drawing includes:

[0117] Step S201, generating a decoration design request.

[0118] The decoration design request may be used to request that a decoration design drawing be drawn based on the original architectural drawing according to the decoration design intention of the user. Here, the original architectural drawing may be a floor plan of the target building, or an initial decoration design drawing obtained based on the floor plan of the target building, which is not limited in the disclosed embodiment.

[0119] Step S202: Send the decoration design request to the service device.

[0120] The service device is used to use LLM to obtain multiple decoration design tasks with execution order based on the decoration design request, and determine the current task from multiple decoration design tasks according to the execution order, and then use LLM to obtain the control program corresponding to the current task, so as to execute the control program and obtain the intermediate data when the control program needs to be executed in the back-end environment, or send the control program to the terminal device when the control program needs to be executed in the front-end environment. Here, the intermediate data is used to be called when processing other decoration design tasks whose execution order is after the current task, which can specifically be display resources, design parameters, etc.

[0121] Step S203, upon receiving the control program sent by the service device, executing the control program to display the target decoration design drawing.

[0122] Among them, when the current task is not the decoration design task with the last execution order among multiple decoration design tasks, the target decoration design drawing can be further processed when processing other decoration design tasks with the execution order after the current task to obtain the final decoration design drawing; when the current task is the decoration design task with the last execution order among multiple decoration design tasks, the target decoration design drawing can be used as the final decoration design drawing.

[0123] The decoration design drawing acquisition method provided by the embodiment of the present disclosure can send the decoration design request to the service device after generating the decoration design request, so that the service device uses LLM to obtain multiple decoration design tasks with execution order based on the decoration design request, and determines the current task from multiple decoration design tasks according to the execution order, and then uses LLM to obtain the control program corresponding to the current task, so that when the control program needs to be executed in the back-end environment, the control program is executed to obtain intermediate data, or when the control program needs to be executed in the front-end environment, the control program is sent to the terminal device to execute the control program through the terminal device to display the target decoration design drawing on the terminal device. That is to say, in the embodiment of the present disclosure, the most complex and time-intensive task planning and control program acquisition links are fully automated by using LLM. In this way, on the one hand, the highly intelligent processing capability of LLM can be relied on to improve the acquisition efficiency of the target decoration design drawing; on the other hand, manual participation can be greatly reduced, so that both the proficiency of software operation skills and the mastery of design expertise are no longer obstacles to the acquisition of the target decoration design drawing, so that the user experience can be improved.

[0124] The following, combined with Figure 3 and Figure 4 , the decoration design drawing acquisition process provided by the embodiment of the present disclosure is explained.

[0125] In the embodiment of the present disclosure, the decoration design drawing acquisition system may include four parts:

[0126] (1) Front-end part (i.e., the part that needs to be implemented on the terminal device side)

[0127] The front-end part can include interactive tools, front-end tools and front-end applets.

[0128] The interactive tool may be a user dialog box, which may be used to receive a decoration design request sent by a user based on a terminal device, and may also be used to display a process notification text related to the current task.

[0129] The front-end tool may provide a browsing interface, in which the user can see the dynamic process of the front-end tool automatically executing related operations, for example, the process of the terminal device executing the control program to display the target decoration design drawing.

[0130] The front-end applet can be an application developed based on general web development technology, which opens the front-end API. Users can implement relevant operations on the front-end tool interface based on the front-end API. For example, after receiving the control program to be executed sent by the service device, the front-end API carried in the control program can be used to call the functional object (for example, software or service) connected to the front-end API to operate the model object (for example, furniture model, door and window model, lamp model, bathroom facility model, etc.) on the front-end tool interface to obtain the target decoration design drawing to be displayed.

[0131] (2) Backend

[0132] The main function of the backend is to act as a proxy between the frontend and the model algorithm, and to implement two-way real-time communication between the frontend and the model algorithm. For example, the backend can implement two-way real-time communication between the frontend and the model algorithm through a full-duplex communication protocol (e.g., WebSocket Session communication protocol).

[0133] (3) Model algorithm part (that is, the part that needs to be implemented on the service device side)

[0134] The model algorithm part includes multiple functional components implemented based on LLM, such as request rewriting component, task planning component, task execution component, task reflection component and result analysis component. At the same time, it can also include a memory library and multiple candidate design tools (Tool components), as well as LLM as the central driver.

[0135] Among them, after the user sends a decoration design request based on the terminal device and displays it through the interactive tool, and then uses the request sending unit provided by the front-end applet to send it to the back-end part, and uses the first communication unit provided by the back-end part to send the decoration design request to the model algorithm part, in the model algorithm part, the decoration design request will be rewritten by the request rewriting component to obtain the rewritten decoration design request, so as to ensure that the rewritten decoration design request does not have the problem of unclear intention expression. For example, there is a decoration design request "Based on the current main sofa, make a coffee table for the living room", and rewrite it to obtain a rewritten decoration design request "Now there is a multi-person sofa, please use this sofa as a reference style to match the coffee table in the living room area in the original architectural drawing". Among them, the design basis is the original architectural drawing; the design scope is the living room area; the design style is the style of the multi-person sofa. After obtaining the rewritten decoration design request, the task planning component can be used to obtain multiple decoration design tasks with execution order based on the rewritten decoration design request. In one example, planning constraints can be obtained, and according to the planning constraints, planning instruction information (that is, prompt information) can be obtained based on the rewritten decoration design request, and then LLM can be used to plan decoration tasks based on the planning instruction information to obtain multiple decoration design tasks with an execution order (for example, using LLM, with a historical planning database as a reference, planning decoration tasks based on the planning instruction information to obtain multiple decoration design tasks with an execution order). The planning constraints may include format requirements, language style requirements, etc. for multiple decoration design tasks; the historical planning database stores historical planning cases.

[0136] For example, the rewritten decoration design request is "A multi-person sofa is now provided. Please use this sofa as a reference style to match the coffee table in the living room area in the original architectural drawing." The planning instruction information can be: Based on the decoration design request "A multi-person sofa is now provided. Please use this sofa as a reference style to match the coffee table in the living room area in the original architectural drawing", task planning is performed to obtain multiple decoration design tasks with execution order, and ensure that each of the multiple decoration design tasks is brief and clear. Finally, the multiple decoration design tasks obtained may include:

[0137] a. Locate the multi-seat sofa in the living room area from the original architectural drawings;

[0138] b. Determine the style of the multi-seater sofa;

[0139] c. Based on the style of the multi-seater sofa, select a coffee table from the model library;

[0140] d. Determine the placement of the coffee table in the living room area;

[0141] e. Add the coffee table to the living room area based on its placement in the living room area.

[0142] Thereafter, the task execution component can be used to execute multiple decoration design tasks. Specifically, after determining the current task from multiple decoration design tasks in the execution order, the LLM can be used to determine the target design tool corresponding to the current task from multiple candidate design tools, and the target design tool can be used to obtain the control program corresponding to the current task. Among them, "obtaining the control program corresponding to the current task" may include: determining the target API required to execute the current task, and obtaining the target data resources required to execute the current task, and then generating the control program corresponding to the current task based on the target API and the target data resources. Here, the target API required to execute the current task can be determined from multiple candidate APIs (including at least one front-end API and at least one back-end API); "obtaining the target data resources required to execute the current task" may also include: determining the target task execution result required to execute the current task from multiple task execution results stored in the memory library, and obtaining the target data resources required to execute the current task based on the target task execution result.

[0143] After obtaining the control program corresponding to the current task, the task reflection component can be used to reflect on the control program. When the reflection result indicates that the control program is an executable program, the control program is used as the final control program corresponding to the current task (the control program referred to below is the final control program here), and then the control program is output through the result analysis component.

[0144] Specifically, when the control program needs to be executed in the back-end environment, the control program can be directly executed to obtain intermediate data, and the intermediate data can be stored in the memory. At the same time, the process notification text related to the current task can be obtained, and the process notification text can be sent to the terminal device. For example, the second communication unit provided by the back-end part can be used to send the process notification text to the front-end applet, and in the front-end applet, the process notification text is sent to the interactive tool through the data transceiver control unit, the data diversion unit and the front-end display preparation unit in turn.

[0145] In the case where the control program needs to be executed in the front-end environment, the control program and the process notification text related to the current task can be sent to the terminal device. For example, the control program and the process notification text related to the current task can be sent to the front-end applet by using the second communication unit provided by the back-end part, and the control program is sent to the front-end tool through the data transceiver control unit, the data diversion unit and the control program sending unit in the front-end applet, and the process notification text element is sent to the interactive tool through the data transceiver control unit, the data diversion unit and the front-end display preparation unit in turn. Thereafter, the terminal device can execute the control program to display the target decoration design drawing on the front-end tool, and send the target decoration design drawing as the task execution result corresponding to the current task to the back-end part through the result sending unit and the data transceiver control component in the front-end applet, and then send it to the model algorithm part through the first communication component provided by the back-end part, and store it in the memory bank.

[0146] After multiple decoration design tasks are processed, the back-end part can be notified to disconnect the two-way real-time communication between the front-end part and the model algorithm part to end the current decoration design request.

[0147] (4) Multiple candidate APIs

[0148] Multiple candidate APIs include at least one front-end API and at least one back-end API. When using the target design tool to obtain the control program corresponding to the current task, the model algorithm part will determine the target API required to execute the current task and obtain the target data resources required to execute the current task. Based on the target API and the target data resources, the control program corresponding to the current task is generated, that is, the target API and the target data resources are encapsulated to generate a control program corresponding to the current task.

[0149] Among them, the front-end API is the API of the front-end applet; the back-end API is the background API of the decoration design drawing acquisition system.

[0150] In order to better implement the above decoration design drawing acquisition method executed by the service device, the embodiment of the present disclosure also provides a decoration design drawing acquisition device, which can be integrated into the service device. Figure 5 The schematic structural block diagram shown is used to illustrate a decoration design drawing acquisition device 500 provided in the disclosed embodiment.

[0151] The decoration design drawing acquisition device 500 includes:

[0152] A request acquisition unit 501 is used to acquire a decoration design request;

[0153] The task planning unit 502 is used to obtain a plurality of decoration design tasks with execution order based on the decoration design request by using the LLM;

[0154] The task selection unit 503 is used to determine the current task from the multiple decoration design tasks according to the execution order;

[0155] A program acquisition unit 504 is used to obtain a control program corresponding to a current task using LLM;

[0156] The first program processing unit 505 is used to execute the control program to obtain intermediate data when the control program needs to be executed in the backend environment; wherein the intermediate data is used to be called when processing other decoration design tasks whose execution order is after the current task;

[0157] The second program processing unit 506 is used to send the control program to the terminal device when the control program needs to be executed in the front-end environment; wherein the terminal device is used to execute the control program to display the target decoration design drawing on the terminal device.

[0158] In some optional implementations, the program acquisition unit 504 is used to:

[0159] Using LLM, determine the target design tool corresponding to the current task;

[0160] Use the target design tool to obtain the control program corresponding to the current task.

[0161] In some optional implementations, the program acquisition unit 504 is used to:

[0162] Determine the target API required to perform the current task;

[0163] Acquire the target data resources required to perform the current task;

[0164] Based on the target API and target data resources, a control program corresponding to the current task is generated.

[0165] In some optional implementations, the program acquisition unit 504 is used to:

[0166] Determine a target task execution result required to execute the current task from a plurality of task execution results stored in the memory bank;

[0167] Based on the target task execution results, the target data resources required to execute the current task are obtained.

[0168] In some optional implementations, the decoration design drawing acquisition device 500 further includes a result storage unit, which is used for one of the following:

[0169] The intermediate data is stored in the memory as the task execution result corresponding to the current task;

[0170] Obtain a target decoration design drawing, and store the target decoration design drawing in a memory bank as a task execution result corresponding to the current task.

[0171] In some optional implementations, the program acquisition unit 504 is used to:

[0172] Using LLM, we get the initial program corresponding to the current task;

[0173] Using LLM, reflect on the initial program and obtain the reflection results;

[0174] When the reflection result indicates that the initial program is an executable program, the initial program is used as a control program corresponding to the current task.

[0175] In some optional implementations, the decoration design drawing acquisition device 500 further includes a process notification unit, which is used to:

[0176] Get the process notification text related to the current task;

[0177] The process notification text is sent to the terminal device; wherein the terminal device is used to display the process notification text.

[0178] In some optional implementations, the request obtaining unit 501 is used to:

[0179] Obtain the decoration design request sent by the terminal device;

[0180] Using LLM, rewrite the decoration design request to obtain a rewritten decoration design request;

[0181] Using LLM, based on the decoration design request, multiple decoration design tasks with execution order are obtained, including:

[0182] By utilizing LLM, a plurality of decoration design tasks with execution order are obtained based on the rewritten decoration design request.

[0183] In some optional implementations, the task planning unit 502 is used to:

[0184] Get planning constraints;

[0185] According to planning constraints, based on decoration design requests, planning instruction information is obtained;

[0186] By using LLM, decoration task planning is carried out based on planning instruction information, and multiple decoration design tasks with execution order are obtained.

[0187] In the disclosed embodiment, the specific functions and examples of each unit of the decoration design drawing acquisition device 500 can be found in the description of the relevant steps in the above-mentioned method embodiment corresponding to the decoration design drawing acquisition device 500, and will not be repeated here.

[0188] In order to better implement the above decoration design drawing acquisition method executed by the terminal device, the embodiment of the present disclosure also provides a decoration design drawing acquisition device, which can be integrated into the terminal device. Figure 6 The schematic structural block diagram shown is used to illustrate a decoration design drawing acquisition device 600 provided in the disclosed embodiment.

[0189] The decoration design drawing acquisition device 600 includes:

[0190] A request generating unit 601, used to generate a decoration design request;

[0191] The request sending unit 602 is used to send the decoration design request to the service device; wherein the service device is used to use LLM to obtain multiple decoration design tasks with an execution order based on the decoration design request, and determine the current task from the multiple decoration design tasks according to the execution order, and then use LLM to obtain the control program corresponding to the current task, so as to execute the control program and obtain the intermediate data when the control program needs to be executed in the back-end environment, or send the control program to the terminal device when the control program needs to be executed in the front-end environment; the intermediate data is used to be called when processing other decoration design tasks whose execution order is after the current task;

[0192] The program execution unit 603 is used to execute the control program to display the target decoration design drawing when receiving the control program sent by the service device.

[0193] In the embodiment of the present disclosure, the specific functions and examples of each unit of the decoration design drawing acquisition device 600 can be found in the description of the relevant steps in the above-mentioned method embodiment corresponding to the decoration design drawing acquisition device, and will not be repeated here.

[0194] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0195] Figure 7 This is a structural block diagram of an electronic device provided by an embodiment of the present disclosure. Figure 7As shown, the electronic device includes: a memory 701 and a processor 702, and the memory 701 stores a computer program that can be run on the processor 702. The number of memories 701 and processors 702 can be one or more. The memory 701 can store one or more computer programs. When the one or more computer programs are executed by the electronic device, the electronic device executes the method provided by the above method embodiment. The electronic device may also include: a communication interface 703, which is used to communicate with external devices and perform data exchange transmission.

[0196] If the memory 701, the processor 702 and the communication interface 703 are implemented independently, the memory 701, the processor 702 and the communication interface 703 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0197] Optionally, in a specific implementation, if the memory 701, the processor 702 and the communication interface 703 are integrated on a chip, the memory 701, the processor 702 and the communication interface 703 can communicate with each other through an internal interface.

[0198] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the Advanced RISC Machines (ARM) architecture.

[0199] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).

[0200] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (for example: coaxial cable, optical fiber, data subscriber line (Digital Subscriber Line, DSL)) or wireless (for example: infrared, Bluetooth, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc. It is worth noting that the computer-readable storage medium mentioned in the present disclosure may be a non-volatile storage medium, in other words, a non-transient storage medium.

[0201] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0202] In the description of the embodiments of the present disclosure, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0203] In the description of the embodiments of the present disclosure, unless otherwise specified, " / " means or, for example, A / B can mean A or B. "And / or" in this article is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0204] In the description of the embodiments of the present disclosure, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", and "third" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "multiple" means two or more.

[0205] The above description is only an exemplary embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for obtaining a decoration design drawing, comprising: Get decoration design request; Using a large language model, based on the decoration design request, a plurality of decoration design tasks with an execution order are obtained; Determine a current task from the plurality of decoration design tasks according to the execution order; Using the large language model, obtaining a control program corresponding to the current task; In the case where the control program needs to be executed in the backend environment, the control program is executed to obtain intermediate data; wherein the intermediate data is used to be called when processing other decoration design tasks whose execution order is after the current task; In the case where the control program needs to be executed on the front-end environment, the control program is sent to the terminal device; wherein the terminal device is used to execute the control program to display the target decoration design drawing on the terminal device.

2. The method according to claim 1, wherein: The method of using the large language model to obtain a control program corresponding to the current task includes: Determine a target design tool corresponding to the current task by using the large language model; The target design tool is used to obtain a control program corresponding to the current task.

3. The method according to claim 1 or 2, wherein: The obtaining of a control program corresponding to the current task includes: Determining a target application programming interface required to perform the current task; Acquire target data resources required to execute the current task; A control program corresponding to the current task is generated based on the target application programming interface and the target data resource.

4. The method according to claim 3, wherein: The acquiring of target data resources required for executing the current task includes: Determining a target task execution result required to execute the current task from a plurality of task execution results stored in the memory bank; Based on the target task execution result, the target data resources required to execute the current task are obtained.

5. The method according to claim 4, further comprising one of the following: storing the intermediate data in the memory as a task execution result corresponding to the current task; The target decoration design drawing is obtained, so as to store the target decoration design drawing in the memory bank as a task execution result corresponding to the current task.

6. The method according to claim 1, wherein: The method of using the large language model to obtain a control program corresponding to the current task includes: Using the large language model, obtaining an initial program corresponding to the current task; Using the large language model, reflect on the initial program to obtain a reflection result; When the reflection result indicates that the initial program is an executable program, the initial program is used as a control program corresponding to the current task.

7. The method according to claim 1, further comprising: Obtaining a process notification text related to the current task; The process notification text is sent to the terminal device; wherein the terminal device is used to display the process notification text.

8. The method according to claim 1, wherein: The obtaining of the decoration design request includes: Obtaining a decoration design request sent by the terminal device; Rewriting the decoration design request by using the large language model to obtain a rewritten decoration design request; The method of using the large language model to obtain a plurality of decoration design tasks having an execution order based on the decoration design request includes: By utilizing a large language model, a plurality of decoration design tasks with an execution order are obtained based on the rewritten decoration design request.

9. The method according to claim 1 or 8, wherein: The method of using the large language model to obtain a plurality of decoration design tasks having an execution order based on the decoration design request includes: Get planning constraints; According to the planning constraint conditions, based on the decoration design request, obtaining planning instruction information; By using a large language model, decoration task planning is performed based on the planning instruction information to obtain a plurality of decoration design tasks with an execution order.

10. A method for obtaining a decoration design drawing, comprising: Generate renovation design request; The decoration design request is sent to a service device; wherein the service device is used to use a large language model to obtain a plurality of decoration design tasks with an execution order based on the decoration design request, and determine a current task from the plurality of decoration design tasks according to the execution order, and then use the large language model to obtain a control program corresponding to the current task, so as to execute the control program to obtain intermediate data when the control program needs to be executed in a backend environment, or to send the control program to a terminal device when the control program needs to be executed in a frontend environment; the intermediate data is used to be called when processing other decoration design tasks whose execution order is after the current task; When the control program sent by the service device is received, the control program is executed to display the target decoration design drawing.

11. A device for acquiring decoration design drawings, comprising: A request acquisition unit, used to acquire a decoration design request; A task planning unit, used for obtaining a plurality of decoration design tasks with an execution order based on the decoration design request by using a large language model; A task selection unit, used to determine a current task from the plurality of decoration design tasks according to the execution order; A program acquisition unit, used to obtain a control program corresponding to the current task using the large language model; A first program processing unit is used to execute the control program in a backend environment to obtain intermediate data when the control program needs to be executed; wherein the intermediate data is used to be called when processing other decoration design tasks whose execution order is after the current task; The second program processing unit is used to send the control program to the terminal device when the control program needs to be executed in the front-end environment; wherein the terminal device is used to execute the control program to display the target decoration design drawing on the terminal device.

12. A device for acquiring decoration design drawings, comprising: A request generating unit, used for generating a decoration design request; A request sending unit, used for sending the decoration design request to a service device; wherein the service device is used for obtaining a plurality of decoration design tasks with an execution order based on the decoration design request by using a large language model, and determining a current task from the plurality of decoration design tasks according to the execution order, and then obtaining a control program corresponding to the current task by using the large language model, so as to execute the control program to obtain intermediate data when the control program needs to be executed in a backend environment, or to send the control program to a terminal device when the control program needs to be executed in a frontend environment; the intermediate data is used to be called when processing other decoration design tasks whose execution order is after the current task; The program execution unit is used to execute the control program sent by the service device to display the target decoration design drawing when receiving the control program.

13. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor so that the at least one processor can perform the method according to any one of claims 1 to 10.

14. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Service platform and decoration searching method

    CN106354819A

  • Intelligent and efficient online decoration design and construction management method and system

    CN110263498A

  • Method and device for executing complex task by using large language model

    CN116594757A

  • Architectural design-oriented automatic content generation technology based on large language model

    CN117521228A

  • Enterprise online education-oriented AI Agent execution plan processing method and system

    CN118551753A