CN117742689A - Screen configuration method, device, system, electronic equipment and storage medium - Google Patents

Screen configuration method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN117742689A
CN117742689A CN202311767808.8A CN202311767808A CN117742689A CN 117742689 A CN117742689 A CN 117742689A CN 202311767808 A CN202311767808 A CN 202311767808A CN 117742689 A CN117742689 A CN 117742689A
Authority
CN
China
Prior art keywords
screen configuration
display area
information
instruction
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311767808.8A
Other languages
Chinese (zh)
Inventor
李静永
罗程亮
夏钰辉
王雪颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202311767808.8A priority Critical patent/CN117742689A/en
Publication of CN117742689A publication Critical patent/CN117742689A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a screen configuration method, a device, a system, electronic equipment, a storage medium and a program product, and relates to the technical field of data processing, in particular to the technical field of display control and the technical field of large models. The specific implementation scheme is as follows: determining a display area to be configured and corresponding operation information based on the received screen configuration statement; generating a screen configuration instruction based on the layout information and the operation information of the display area; and determining display content according to the screen configuration instruction, and outputting the display content to the display area.

Description

Screen configuration method, device, system, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to the field of display control technologies and the field of large model technologies, and in particular, to a screen configuration method, apparatus, system, electronic device, storage medium, and program product.
Background
The use of display screens is becoming wider and the screen size is becoming larger. For example, many vehicles are configured with a large display screen to display more content simultaneously, improving the user experience. At present, the generation scheme of the large screen page mainly carries out code development through research personnel.
Disclosure of Invention
The present disclosure provides a screen configuration method, apparatus, system, electronic device, storage medium, and program product for configuring a screen.
According to an aspect of the present disclosure, there is provided a screen configuration method including: determining a display area to be configured and corresponding operation information based on the received screen configuration statement; generating a screen configuration instruction based on the layout information and the operation information of the display area; and determining display content according to the screen configuration instruction, and outputting the display content to the display area.
According to another aspect of the present disclosure, there is provided a screen configuration apparatus including: the configuration determining module is configured to determine a display area to be configured and corresponding operation information based on the received screen configuration statement; an instruction generation module configured to generate a screen configuration instruction based on layout information and operation information of the display area; and the screen configuration module is configured to determine display contents according to the screen configuration instruction and output the display contents to the display area.
According to another aspect of the present disclosure, there is provided an electronic device including: at least one processor and a memory. Wherein the memory is communicatively coupled to the at least one processor and stores instructions executable by the at least one processor for execution by the at least one processor to enable the at least one processor to perform the method as set forth above.
According to another aspect of the present disclosure, there is provided a screen configuration system including: a screen controller and a display screen. The screen controller is used for determining a display area to be configured and corresponding operation information based on the received screen configuration statement; generating a screen configuration instruction based on the layout information and the operation information of the display area; and determining display content according to the screen configuration instruction, and outputting the display content to the display area. The display screen is used for receiving and displaying the display content of the display area.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the above-mentioned method.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a method according to the above.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 shows a schematic block diagram of an exemplary system architecture to which the screen configuration method of the present disclosure may be applied;
FIG. 2 is a schematic diagram of the architecture of a low code platform in some techniques;
fig. 3 is a flow chart of a screen configuration method according to a first embodiment of the present disclosure;
fig. 4 is a flow chart of a screen configuration method according to a second embodiment of the present disclosure;
FIG. 5 is a system framework schematic diagram of an execution body for implementing some embodiments of the present disclosure;
FIG. 6 is a flow diagram of a screen configuration method according to some embodiments of the present disclosure;
FIG. 7 is a schematic diagram of a large screen frame according to some embodiments of the present disclosure;
FIG. 8 is a schematic diagram of a screen page according to some embodiments of the present disclosure;
fig. 9 is a schematic block diagram of a screen configuration apparatus according to a third embodiment of the present disclosure;
fig. 10 is a schematic block diagram of a screen configuration system according to a fifth embodiment of the present disclosure;
FIG. 11 illustrates a schematic block diagram of an example electronic device that may be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 shows a schematic block diagram of an exemplary system architecture to which the screen configuration method of the present disclosure may be applied. As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various client applications, such as video-type applications, live applications, instant messaging tools, mailbox clients, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices with display screens, including but not limited to laptop and desktop computers, and the like. When the terminal devices 101, 102, 103 are software, they can be installed in the above-listed electronic devices. Which may be implemented as multiple software or software modules (e.g., multiple software or software modules for providing distributed services) or as a single software or software module. The present invention is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for the terminal devices 101, 102, 103. For example, the background server may perform processing based on the screen configuration sentence uploaded by the terminal device, and feed back the processing result (display content of the generated display area) to the terminal device.
It should be noted that, the screen configuration method provided by the embodiment of the present disclosure may be performed by the server 105 or the terminal devices 101, 102, 103, and accordingly, the screen configuration apparatus may be provided in the server 105 or the terminal devices 101, 102, 103.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Currently, code development schemes are mainly adopted for generating large-screen pages. In some techniques, developers develop/configure large screen pages using a low code platform. For example, in some technical solutions, the large screen configuration is completed by preset visual component selection, parameter adjustment, and code development. For example, FIG. 2 is a schematic diagram of the architecture of a low code platform in some techniques. As shown in fig. 2, low code platform 200 includes front end 210, back end services 220, and back end infrastructure 230. Wherein front end 210 may include a front end low code editor 211 and a front end low code framework 212. The front end low code editor 211 is used for code editing. Front-end low-code framework 212 may include component libraries, interpreters, and the like. Backend services 220 may include a development state portion 221 and a running state portion 222. The development state section 221 includes a section 2211 for global applications such as application management, development state personnel/rights management, and workstations. Development modality portion 221 may also include in-application portion 2212, such as rights management, pages, data models, application programming interface (Application Programming Interface, API) orchestration, flow, custom components, object storage configuration, application publishing and version management, data management, and log management. The runtime portion 222 may include an API agent 2221, an API centric agent 2222, a data connection library 2223, a runtime personnel/rights management 2224, and an account system 2225. Backend infrastructure 230 may include some strong types of programming language software 231, language parsers 232, middle tier application frameworks 233, dependency injection tools 234, and the like. In addition, the low code platform 200 may further include software on the basis of fig. 2, including aspects of an online deployment portion 240, a monitoring architecture 250, and a storage layer 260. For example, containers deployed online, individual behavior modeling software, container monitoring tools, etc., flexible searches of monitoring systems, log management systems, open source analysis and visualization platforms, etc., store coarse database platform tables, apply built-in data sources, etc. And are not described in detail herein.
However, either the code development scheme or the low code platform, or the "demand-development" mode based on traditional manual response, only reduces the workload of the development section. Therefore, the above methods have a large workload and require professional developers to operate. Although the low-code platform can reduce development difficulty and code quantity to a certain extent, in practical projects, the low-code platform still has insufficient workload reduction, and a large screen can not be generated as required simply and quickly for clients who are not aware of technology, so that the requirements of the clients on the efficiency of generating the large screen can not be met effectively.
Referring to fig. 3, fig. 3 is a flowchart illustrating a screen configuration method according to a first embodiment of the present disclosure. The execution body of the screen configuration method 300 may be a screen controller, which may be a processor integrated with a display screen, or may be a remote server communicatively connected to the display screen, which is not limited herein. As shown in fig. 3, the screen configuration method 300 may include the steps of:
step 301, determining a display area to be configured and corresponding operation information based on the received screen configuration statement.
In this embodiment, the execution body may acquire a screen configuration sentence input by a user, and identify the screen configuration sentence to determine a display area to be configured and corresponding operation information.
As an example, the screen mentioned in the present embodiment is a large visual screen, and the execution subject may configure the page of the large visual screen by the screen configuration method 300 mentioned in the present embodiment.
As one example, the execution subject may obtain the user-entered screen configuration statement through a speech recognition system or text input system. The execution subject can input the received screen configuration sentence into a large-scale language model, and identify the keywords in the screen configuration sentence through the functions of voice recognition and the like of the large-scale language model. The keywords identified by the large-scale language model may include preset keywords indicating the identity of the display area (for example, a left keyword, a right keyword, a position keyword indicating the display area to be configured, a serial number keyword indicating the display area to be configured, an area 1 keyword, an area 2 keyword, an area 3 keyword, etc.), keywords indicating operation information (for example, an operation type parameter indicating an operation type, such as adding a component, adding an effect, deleting a component, etc., a data source information indicating data of the added component, such as a data table name, a database name, etc., and component information, such as a pie chart component, a list component, etc.), etc., which are not described in detail herein.
It should be appreciated that the execution body may also configure other functions for user input of screen configuration statements without departing from the teachings of the present disclosure, and is not limited herein.
It should be appreciated that the execution subject may also identify the display area and the operation information to be configured from the screen configuration statement by other tools without departing from the teachings of the present disclosure, which is not limited herein.
Step 302, generating a screen configuration instruction based on the layout information and the operation information of the display area.
In this embodiment, the execution body may determine layout information of the display area according to the number, name, and other identifiers of the display area to be configured, so as to determine the position of the display area to be configured on the whole screen page. Wherein the layout information of the display area may indicate position information of the display area to determine a position of the display area to be configured. The execution body may determine an operation to be performed on the display area according to the operation information, and generate a screen configuration instruction according to layout information and the operation information of the display area to instruct to perform the operation at a location where the display area is located.
It should be understood that the layout information of the display area may also indicate size information of the display area, etc., without departing from the teachings of the present disclosure, and is not limited herein.
In some embodiments of the present disclosure, the operation information may include an operation type parameter. The execution body generating the screen configuration instruction based on the layout information and the operation information of the display area may include: determining an instruction data structure corresponding to the operation type parameter; and generating a screen configuration instruction according to the instruction data structure and the layout information. For example, an instruction data structure configured for various operations may be stored within an execution body. In the use process, the execution main body can call the corresponding instruction data structure based on the operation type parameter in the identified operation information, and the related information is brought into the instruction data structure to obtain a screen configuration instruction which can be used for adjusting the screen page. In the example, the screen configuration can be performed without the need of a user or developer to develop codes, so that the code development amount is reduced. In addition, the user can realize screen configuration by inputting a screen configuration sentence, so that the interaction cost is reduced.
It should be appreciated that, without departing from the teachings of the present disclosure, the execution subject may also pre-configure instruction statements corresponding to various operations, and store correspondence between instruction statements and operation information, e.g., an instruction statement may instruct to delete a component of region 1, delete a component of region 2, add a component of region 1, add a component of region 2, etc., and the execution subject may call an instruction statement to adjust a screen page according to the operation information, which is not limited by the present disclosure.
In some embodiments of the present disclosure, the execution body may support adding components to a display area, deleting components, adjusting component display effects, increasing linkages between components, deleting linkages between components, exchanging components of different display areas, and so forth. For ease of understanding, the manner in which the above operations are implemented is described below as an example.
Taking the operation of adding a component in the display area as an example, the operation information further includes data source information and component information. The process of generating the screen configuration instruction by the execution body according to the instruction data structure and the layout information may include: displaying the specified data through the display area in response to the operation type parameter indication, generating a query statement according to the data source information, and acquiring the specified data through the query statement; determining component data corresponding to the component information; based on the instruction data structure, the specification data, the component data, and the layout information, a screen configuration instruction is generated, the screen configuration instruction instructing to display the specification data at a position indicated by the layout information. In other words, the screen configuration instruction generation process may include: data disassembly, data query and instruction generation. Among them, data disassembly may refer to extracting keywords from screen configuration sentences, for example, extracting data source information, component information, and layout information. Data queries may refer to query specification data, query component data, query instruction data structures, and the like. The instruction generation may refer to converting the queried data into a component data format, and then converting the component data format into an instruction data structure to obtain a screen configuration instruction. In this example, the execution subject may add components in the designated display area of the screen page based on the screen configuration sentence input by the user, without the need for the user to perform code development, reducing the code development cost.
Alternatively, the process of generating the query statement by the execution body according to the data source information may include: performing statement rewriting according to the data source information to obtain an inquiry statement; and generating the query statement corresponding to the query statement through the large-scale language model. For example, if the database is an SQL (Structured Query Language ) database, the data source information is "parking lot charge type duty ratio of approximately 3 months", the executing body may rewrite the query statement by the statement rewrite software, which may be, for example, "query parking lot charge type duty ratio of approximately 3 months". The execution body may call the nl2SQL (Natural Language to SQL ) function of the large-scale language model, changing the query statement into an SQL query statement. In this example, the execution body may generate a query statement for querying the database based on the data source information, without requiring a user to write the query statement, reducing the amount of code development.
Alternatively, the components mentioned in some embodiments of the present disclosure may be base components or subject components, i.e., component data includes base component data in a public domain knowledge base and subject component data in a private domain knowledge base. The component data for each component is illustratively stored in a database of the large-scale language model. The database of the large-scale language model comprises a public domain knowledge base and a private domain knowledge base. The public domain knowledge base refers to a knowledge base which can be acquired by all users, and the private domain knowledge base refers to a knowledge base of individuals or enterprises of the users. The public domain knowledge base may have stored therein basic component data, such as pie chart component data, list component data, and the like. The private domain knowledge base may have theme component data stored therein. The theme component may be some visualization component (bar graph, pie graph, line graph, etc.) or a combination of several simple charts, such as a public opinion leaderboard component. The theme component can be multiplexed among different items or themes. The execution body may store the currently supported theme components in the private database in the form of metadata during the initialization process, and the theme component data may include a component name, a component type, and a data structure of the component. The topic data can be injected into a large-scale language model in the form of private domain knowledge, and if the parsed operation information comprises the component name of a certain topic component, the execution subject can acquire the topic component data of the topic component.
For ease of understanding, the procedure of adding components will be exemplarily described below taking the screen configuration statement "a cake chart is generated for the left area, and the data is the parking lot charge type duty ratio of approximately 3 months" as an example.
After the execution body receives the screen configuration sentence, the screen configuration sentence can be disassembled into data source information (the charge type of the parking lot of about 3 months, the charge type of the parking lot) component information (pie chart) and layout information (left area) in the data disassembly process. The execution main body rewrites sentences, calls a query interface of the large model to call nl2sql capacity of the large model, generates required sql sentences, and queries to obtain parking lot charging type duty ratio data of 3 months.
After the execution main body inquires the duty ratio data, the identified 'pie chart' can be used as the component information of the added component at this time and converted into 'pie' in the public domain knowledge base so as to call the corresponding component data. And the execution main body encapsulates the duty ratio data by using the data structure indicated by the component data to obtain preliminary encapsulation data. For example, the data structure of the component data corresponding to the pie chart may include the name of the component, the size information of the pie chart, the names and the duty ratio of each sector of the pie chart, the style of the pie chart, and the like. The execution body may determine the naming of the components based on the data source information, and determine the names and duty cycles of the individual sectors of the pie chart based on the obtained duty cycle data. The size information, style, etc. of the pie chart may be default values or may be user configurable. For example, if the screen configuration sentence input by the user includes keywords such as a radius, the size of the pie chart may be determined based on information behind the radius.
After obtaining the preliminary package data, the execution body matches a corresponding region mark, for example, a mark of left_1 (left 1), based on the identified display region to be configured (left-one region). And the execution main body integrally packages the data query result and the assembly data (namely the preliminary package data) in the previous two steps according to the layout information of the display area to obtain a screen configuration instruction. The screen configuration instruction may be a json (JavaScr ipt Object Notat ion, JS object numbered musical notation) object. After the screen configuration instruction is transmitted to the front end, the front end can identify a display area, component data and the like to be configured through pre-configured logic, and load and render the display area, the component data and the like on a canvas through a preset function.
It should be appreciated that the execution body may also update the data displayed within the components of the display area in the manner described above without departing from the teachings of the present disclosure, which is not repeated herein.
It should be appreciated that the execution subject may also perform a delete operation on a component of a display region based on a screen configuration statement that indicates that the component is deleted without departing from the teachings of the present disclosure, e.g., the screen configuration statement "left region delete bar graph".
After the exemplary explanation of the operation of adding the component in the display area is completed, the operation of adjusting the display effect of the component is exemplarily explained below. In this example, the operation information may also include display control parameters. The process of generating the screen configuration instruction by the execution body according to the instruction data structure and the layout information may include: and responding to the indication of the operation type parameter to adjust the display effect of the component in the display area, and generating a screen configuration instruction based on the instruction data structure, the display control parameter and the layout information, wherein the screen configuration instruction indicates to adjust the display effect of the component corresponding to the layout information. For example, the execution subject may add/cancel dynamic effects of components within the display area based on the screen configuration statement. For example, adding dynamic effects to a static chart, changing a dynamic chart to a static chart, adding a timed refresh to a page whole/part area component, adding a rotating effect to a map, and so forth.
For ease of understanding, the screen configuration sentence for adjusting the display effect and the generated screen configuration instruction effect are exemplarily described below.
As one example, the screen configuration statement is "add dynamic effects in left area". The execution subject recognizes "add dynamic effects" and "left area" from the screen configuration sentence. Based on the information, the execution body invokes an instruction data structure corresponding to the "increase dynamic effect", and writes the parameter of the "left area" into the instruction data structure to obtain a screen configuration instruction, where the screen configuration instruction may increase the dynamic loading effect for a component (e.g., a bar graph/pie graph) of the left area.
It should be appreciated that the executing body may also adjust other display effects, such as rotation effects, etc., for components of the display area without departing from the teachings of the present disclosure, and is not limited herein.
After the exemplary explanation of the operation of adjusting the display effect of the component is completed, the following exemplary explanation is given of the operation of exchanging components of different display areas as an example. In this example, the determined display area to be configured includes a first display area and a second display area. The process of generating the screen configuration instruction by the execution body according to the instruction data structure and the layout information may include: in response to the operation type parameter indicating to exchange the components of the first display area and the components of the second display area, a screen configuration instruction is generated based on the instruction data structure, the layout information of the first display area, and the layout information of the second display area, the screen configuration instruction indicating to exchange the components of the first display area and the components of the second display area. In the above example, the execution subject may exchange components within different display areas based on the screen configuration statement.
For ease of understanding, the screen configuration sentence and the generated screen configuration instruction effect of the component for adjusting the different display areas are exemplarily described below.
As one example, the screen configuration statement is "swap left and right regions". The execution body recognizes "swap", "left-region", and "right-region" from the screen configuration sentence. Based on the information, the execution body invokes an instruction data structure corresponding to the exchange, and writes parameters of the left area and the right area into the instruction data structure to obtain a screen configuration instruction, wherein the screen configuration instruction can display components of the left area in the right area and components of the right area in the left area.
It should be appreciated that the execution body may also exchange components of multiple display regions separately without departing from the teachings of the present disclosure, e.g., display components of a left region in a left two region, components of a left two region in a right region, and components of a right region in a left region, without limitation.
It should be appreciated that execution bodies may also support other types of configuration instructions without departing from the teachings of the present disclosure. For example, the execution body may also support completing screen configuration (e.g., adding a linkage between a pie chart component and a list component, adding a click window of interest in a map display component, etc.) that adds a linkage between two components or more components based on a screen configuration statement (e.g., associating a left region with a right region).
Step 303, determining display content according to the screen configuration instruction, and outputting the display content to the display area.
In this embodiment, the execution subject may determine the display content of the display area based on the screen configuration instruction. For example, a component obtained by encapsulating data acquired from the data source information, or a component of another display area, a component after adjusting the display effect, or the like is packaged based on the component data. The execution body may determine the position of the display area through layout information of the display area in the screen configuration instruction, and display the component in the display area.
It should be appreciated that the manner in which the executing entity outputs the display content in the display area may be to refresh a component within the display area or to refresh the entire screen page without departing from the teachings of the present disclosure, which is not limited in this disclosure.
As one example, the display content output by the execution subject according to the screen configuration instruction is displayed in the visual interface, and the user can determine the display effect of the self-configured screen page through the visual interface.
It should be appreciated that the screen configuration method mentioned in this disclosure may be used in an initial configuration stage of a screen, to configure a screen page based on a screen configuration sentence input by a user, and may also be used in a stage after the configuration of a screen page is completed, to dynamically adjust a screen page based on a screen configuration sentence input by a user, without departing from the teachings of the present disclosure. The present disclosure is not limited in this regard.
According to some embodiments of the present disclosure, an execution body may identify a display area to be configured and corresponding operation information according to a received screen configuration statement, and accordingly generate a screen configuration instruction for screen configuration, so that a developer does not need to perform screen page configuration by means of code development or manual operation of a component, adjustment of a component parameter, and the like, thereby reducing development amount and interaction amount.
Fig. 4 is a flow chart of a screen configuration method according to a second embodiment of the present disclosure. The present embodiment is substantially the same as the first embodiment, and differs mainly in that: and checking whether the screen configuration instruction generation is successful or not. As shown in fig. 4, the screen configuration method 400 may include the steps of:
step 401, determining a display area to be configured and corresponding operation information based on the received screen configuration statement.
Step 402, generating a screen configuration instruction based on layout information and operation information of the display area.
In this embodiment, the steps 401 and 402 are substantially the same as the steps 301 and 302 illustrated in fig. 3, and are not described herein.
Step 403, determining whether the screen configuration instruction is successfully generated.
In this embodiment, the execution body monitors the process of generating the screen configuration instruction, if it is determined that the screen configuration instruction is successfully generated, step 406 is executed, and if it is determined that the screen configuration instruction is failed to be generated, step 404 is executed.
As one example, the execution body may monitor each sub-step in the screen configuration instruction generation process and comprehensively determine whether to successfully generate the screen configuration instruction based on the execution result of each sub-step. Taking the scene of adding the component as an example, the execution body may monitor a sub-step of generating a query statement according to the data source information, a sub-step of acquiring specified data through the query statement, a sub-step of determining component data corresponding to the component information, a sub-step of acquiring an instruction data structure corresponding to the operation type parameter, and the like. If the feedback result from any of the sub-steps is invalid or fails (e.g., the query result of the query statement is null), the execution body may determine that the screen configuration instruction generation fails.
It should be appreciated that the execution body may also monitor whether the screen configuration instruction was generated successfully based on other ways without departing from the teachings of the present disclosure, which is not limited in this disclosure.
Step 404, feeding back configuration prompt information.
In this embodiment, after determining that the screen configuration instruction fails to be generated, the execution body may feed back configuration prompt information to prompt the user how to complete the screen configuration through the canonical screen configuration statement.
Optionally, the process of executing the subject feedback configuration prompt information may include: determining configuration template information corresponding to failure factors; and determining and feeding back configuration prompt information according to the configuration template information. Illustratively, the executing body, upon determining that any sub-step of generating the screen configuration instruction fails, determines the step identity of that sub-step as the failure factor. The execution body can determine the configuration prompt information according to the determined failure factors and the configuration template information of each failure factor which is configured in advance. In this example, the execution body may feed back the configuration prompt information according to the failure factor of the configuration failure, which is favorable for the user to determine in which link an error occurs, and improves the user experience.
For example, the initial configuration hint information is "please describe again … …, and the reference example format is: … … ", if the failure factor indicates that the sub-step of acquiring the specified data by the query statement fails to be performed, the execution subject may determine that the configuration template information is" XXX "and based on the configuration template information, the generated configuration hint information is" please describe the data source again, "with reference to the example format: the data source is XXX.
It should be appreciated that the configuration template information and initial configuration hint information for each failure factor may be set according to the project without limitation herein, without departing from the teachings of the present disclosure.
It should be appreciated that the execution entity may also determine and feedback configuration hints in other ways without departing from the teachings of the present disclosure, e.g., feedback configuration template information for all operation types to the user as configuration hints. The present disclosure is not limited in this regard.
It should be appreciated that the manner in which the subject feedback configuration prompt information is performed may be set as desired without departing from the teachings of the present disclosure, e.g., via voice feedback or via display text feedback, as not limited in this disclosure.
Optionally, the executing body counts and monitors the failure times while judging whether to successfully generate the screen configuration instruction. For example, the execution body may feed back the configuration prompt information after determining that the screen configuration instruction fails to generate and the number of times of failure does not exceed the number of times threshold, prompt the user that the operation fails after determining that the screen configuration instruction fails to generate and the number of times of failure does not exceed the number of times threshold, and end the operation.
It should be appreciated that the executing entity may take other actions after the number of failures exceeds the number threshold, such as triggering a help mode, to contact the technician, without limitation, without departing from the teachings of the present disclosure.
Step 405, the screen configuration statement is re-received. After which execution returns to step 401.
In this embodiment, after the execution body sends the configuration prompt information, the execution body may receive the screen configuration statement of the user again, and regenerate the screen configuration instruction based on the new screen configuration statement.
Alternatively, the process of executing the subject to regenerate the screen configuration instruction may refer to the above-related content, and will not be described here.
Alternatively, the executing body supports a multi-poll mode at step 405. The process of executing the subject regeneration screen configuration instruction may include: and re-determining layout information or operation information of the display area to be configured according to the re-received screen configuration statement, and re-generating a screen configuration instruction based on the re-determined layout information or operation information of the display area to be configured and the previously determined layout information and operation information of the display area to be configured.
For example, if the re-received screen configuration sentence includes new data source information, the execution body may replace the new data source information with the data source information in all the data determined in step 401, and regenerate the screen configuration instruction based on the replaced data.
It should be appreciated that the information contained in the retrieved screen configuration statement may also be information indicating that a display effect needs to be added, or component information, etc., without departing from the teachings of the present disclosure, and is not limited herein.
And step 406, determining display content according to the screen configuration instruction, and outputting the display content to the display area.
In this embodiment, step 406 is substantially the same as step 303 illustrated in fig. 3, and will not be described here again.
In some embodiments of the present disclosure, an execution body may identify, according to a received screen configuration statement, a display area to be configured and corresponding operation information, and generate a screen configuration instruction for screen configuration according to the display area and the corresponding operation information, so that a developer does not need to perform screen page configuration by means of code development or manual operation of a component, adjustment of a component parameter, and the like, thereby reducing development amount and interaction amount. In addition, after the execution main body fails to generate the screen configuration instruction, the execution main body feeds back configuration prompt information for prompting the user to input the screen configuration statement more normally, so that the user can find out the reason of the configuration failure, and the probability of the configuration success can be improved.
For ease of understanding, the system frame of the execution body is exemplarily described below, and a process of configuring a screen page is exemplarily described in conjunction with the system frame.
Referring to fig. 5, fig. 5 is a system framework schematic diagram of an execution body for implementing some embodiments of the present disclosure. As shown in fig. 5, the system framework 500 of the execution body may include an infrastructure layer 510, an underlying capability layer 520, an application service layer 530, and a system application layer 540.
Infrastructure layer 510 may include infrastructure on top of server hardware, such as containers (e.g., dockers), container management tools (e.g., k8 s), etc., for integrated management of front-end and back-end application services. The infrastructure layer 510 may include a database service (e.g., mysql) for being responsible for storing business data. The infrastructure layer 510 may include a search engine (elastic search) for supporting data analysis and searching. Infrastructure layer 510 may include a cache (redis) for storing cached data.
The underlying capability layer 520 may include base components 521, such as a map software development kit (Software Development Ki t, SDK), portals (portals), code engines, and configuration management. The underlying capability layer may also include Speech recognition and instruction parsing components 522, such as automatic Speech recognition (Automat ic Speech Recogni t ion, ASR), natural language processing (Natural Language Process ing, NLP), text-To-Speech (TTS), and form questions and answers (Table Quest ion Answering, table-QA). The underlying capability layer 520 may include a large model capability package 523, which may be, for example, a large scale language model, with knowledge enhancement, retrieval enhancement, dialog enhancement, and the like capabilities.
The application services layer 530 may call the underlying capabilities, encapsulating some of the business capabilities for a dynamic large screen scenario. By way of example, the services provided by the application services layer 530 may include: pickup service 531, speech clarification service 532, json format conversion service 533, component data encapsulation service 534, summary service 535, prompt generation/rewrite service 536, sql statement execution service 537, nl2sql service 538, and the like. Wherein the prompt generation/rewrite service 536 is operable to rewrite query statements based on data source information as mentioned above, and the nl2sql service 538 is operable to convert query statements to sql-based query statements as mentioned above.
The system application layer 540 may be exposed to a user and may include a chart presentation function 541, a speech recognition function 542, a dynamic effects function 543, a clarification function 544, a real-time text screen function 545, a visual editing function 546, a code generation function 547, an intent recognition function 548, and the like.
Based on the above system architecture, an exemplary description will be given below taking a large screen page configuration process as an example. Fig. 6 is a flow diagram of a screen configuration method according to some embodiments of the present disclosure. As shown in fig. 6, the screen configuration method 600 may include the steps of:
Step 601, initializing operation.
For example, the execution body may generate a large screen frame according to the initialization command. For example, a large screen frame may be as shown in FIG. 7. As shown in fig. 7, the large screen 700 may simultaneously support selection 16:9 or 32:9, default to 16:9. the layout template of the large screen 700 may indicate that the display area includes a left first area 701, a left second area 702, a left third area 703, a middle area 704, a right first area 705, a right second area 706, a right third area 707, and a title area 708 in total. The number of rows and columns on the left and right sides can be adjusted, and are illustrated here as examples. In the initialization process, the execution body can divide each display area well, and the unique identification of each display area is determined.
Step 602, it is determined whether the initialization is successful.
Illustratively, if the initialization is determined to be successful, step 603 is performed, otherwise step 601 is re-performed.
Alternatively, the executing entity may contact the technician after determining the initialization failure, which is not limited herein.
Step 603, generating a screen configuration instruction for indicating the added component according to the screen configuration statement.
For example, the execution body may receive a screen configuration sentence indicating the add component input by the user, and generate a screen configuration instruction of the add component according to the above-mentioned manner.
As one example, the user may sequentially add components to the display areas illustrated in fig. 7, and input a screen configuration sentence to add components to the respective display areas. The executing body may identify the identification of the display area to be configured (e.g., a position identification/number of left one, left two, right one, right two, etc.) from the screen configuration statement to determine the large screen position where it is located. The execution body may identify component information of components to be added, such as component types (pie chart/bar chart/line chart/... Alternatively, for column diagrams and line diagrams, stack diagrams, and the like, the execution body may support a single column/single line diagram and multiple sets of column/line diagrams. The execution body can identify the data source information, namely the source and the query mode of the data in the component to be added, from the screen configuration instruction. For example, if the query mode is database query, the user designates a library and a table, and a query description is given. The execution subject can convert the ml 2sql capability of the large-scale language model into an sql query statement, execute the sql query through the back-end service, and realize the conversion of the data format based on the component data corresponding to the component type. After the rear end of the execution body generates the screen configuration instruction, the screen configuration instruction can be transmitted to the front end. The front end receives the data provided by the back end and adds components in the designated display area.
Step 604, determine if the component generated and added successfully.
For example, the execution subject may determine whether the screen configuration instruction was generated successfully by determining whether each sub-step in the screen configuration instruction generation process was executed successfully, and thus whether the component was generated and added successfully. If the execution body determines that the component generation and addition was successful, then step 608 may be performed. If the execution body determines that the component generation and addition failed, step 605 may be executed.
For example, if the user configures the left area and the middle area through the screen configuration sentence, a component is added, and a screen page of the front end output of the execution body may be as shown in fig. 8, for example. As shown in FIG. 8, the left area 801 and middle area 804 in the large screen page 800 are added with components, and the left two area 802, left three area 803, right one area 805, right two area 806, right three area 807, and title area 808 are not added with components. As can be seen from fig. 8, the configuration effect of each screen configuration instruction can be timely embodied on the screen page, so that the user can conveniently view the configuration effect.
Step 605, it is determined whether the failure count exceeds a count threshold.
For example, if the executing body determines that the number of failures does not exceed the number threshold, step 606 may be executed, and if the number of failures exceeds the number threshold, step 607 may be executed.
Step 606, feeding back the configuration prompt information and re-acquiring the screen configuration statement. Execution returns to step 603.
For example, the execution body may initiate a multi-round query after determining that the component generation and addition failed, and inform the user how to more accurately input the screen configuration statement.
Step 607, contact the technician. The flow is then ended.
It should be appreciated that the execution subject may take other actions as well, such as re-initializing or returning to step 603, etc., without limitation, without departing from the teachings of the present disclosure.
Step 608, determining whether each display area is added.
For example, if the execution subject determines that any display area is not added, the execution subject continues the adding operation, and if it determines that all display areas are added, the execution subject proceeds to step 603, and proceeds to step 609.
Step 609, it is determined whether the display effect needs to be adjusted or increased.
Illustratively, the executing body executes step 610 if it determines it is needed, otherwise ends the flow.
Step 610, adjusting the display effect.
For example, the execution subject may generate a screen configuration instruction indicating to adjust the display effect of the component within the display area based on the screen configuration sentence input by the user, thereby achieving the adjustment of the display effect of the component within the display area. This process is referred to above and will not be described in detail here.
In step 611, it is determined whether the adjustment is completed.
For example, the execution body may end the flow if it determines that the display effect adjustment is completed, otherwise, may continue to execute step 610.
Alternatively, the execution body may store the screen page in which the user completes configuration each time, and determine the corresponding theme thereof. In the subsequent use process, if the execution main body determines that the screen configuration statement comprises the theme name of the stored theme, the execution main body can call the screen page corresponding to the theme, generate a configuration instruction based on the layout information and the operation information of each display area in the screen page, and output the display content corresponding to each display area of the screen page.
In the above example, the execution body combines the capabilities of large model such as natural language processing, nl2sql, data format conversion, code generation, etc., supports the display requirement of the user on the display area through voice or input text input, converts the display requirement into sql statement/interface query, acquires corresponding data and performs agreed format conversion; the front end selects a corresponding visual component based on the data format returned by the back end, loads data and displays the data at the appointed position of the large screen. The method simplifies the input of the user, supports the interactive form of voice or words, and enables the user to directly put forward the requirements and convert the requirements into corresponding screen page display.
The above steps of the various methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of the present disclosure; it is within the scope of this disclosure to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
Fig. 9 is a schematic block diagram of a screen configuration apparatus according to a third embodiment of the present disclosure. As shown in fig. 9, the screen configuration apparatus 900 may include: a configuration determination module 901, an instruction generation module 902, and a screen configuration module 903. The configuration determining module 901 is configured to determine a display area to be configured and corresponding operation information based on the received screen configuration statement; the instruction generation module 902 is configured to generate a screen configuration instruction based on layout information and operation information of the display area. The screen configuration module 903 is configured to determine display content according to a screen configuration instruction and output the display content to a display area.
In some embodiments of the present disclosure, the operation information includes an operation type parameter. The instruction generation module 902 may include: a data structure determination submodule configured to determine an instruction data structure corresponding to the operation type parameter; the instruction generation sub-module is configured to generate a screen configuration instruction according to the instruction data structure and the layout information.
In some embodiments of the present disclosure, the operation information further includes data source information and component information; the instruction generation submodule includes: a data determining unit configured to display the specified data through the display area in response to the operation type parameter indication, generate a query sentence according to the data source information, and acquire the specified data through the query sentence; a component determining unit configured to determine component data corresponding to the component information; an instruction generating unit configured to generate a screen configuration instruction indicating to display the specification data at a position indicated by the layout information, based on the instruction data structure, the specification data, the component data, and the layout information.
In some embodiments of the present disclosure, the component data includes base component data in a public domain knowledge base and subject component data in a private domain knowledge base.
In some embodiments of the present disclosure, the data determination unit includes: a rewrite subunit configured to rewrite the sentence according to the data source information to obtain the query sentence; and the statement generation subunit is configured to generate the query statement corresponding to the query statement through the large-scale language model.
In some embodiments of the present disclosure, the operation information further includes display control parameters; the instruction generation submodule is further configured to: and responding to the indication of the operation type parameter to adjust the display effect of the component in the display area, and generating a screen configuration instruction based on the instruction data structure, the display control parameter and the layout information, wherein the screen configuration instruction indicates to adjust the display effect of the component corresponding to the layout information.
In some embodiments of the present disclosure, the display area includes a first display area and a second display area, the instruction generation submodule is further configured to: in response to the operation type parameter indicating to exchange the components of the first display area and the components of the second display area, a screen configuration instruction is generated based on the instruction data structure, the layout information of the first display area, and the layout information of the second display area, the screen configuration instruction indicating to exchange the components of the first display area and the components of the second display area.
In some embodiments of the present disclosure, the apparatus 900 further comprises: the feedback module is configured to respond to failure of screen configuration instruction generation and feed back configuration prompt information; and the acquisition module is configured to re-receive the screen configuration statement and execute the step of determining the display area to be configured and the corresponding operation information based on the received screen configuration statement.
In some embodiments of the present disclosure, the feedback module includes: the template determination submodule is configured to determine configuration template information corresponding to failure factors; and the feedback sub-module is configured to determine and feed back configuration prompt information according to the configuration template information.
In some embodiments of the present disclosure, the feedback module is further configured to: and responding to the screen configuration instruction to generate failure, and feeding back configuration prompt information when the failure times do not exceed the time threshold.
It is to be noted that this embodiment is an implementation of the apparatus corresponding to the above-described method embodiment, and this embodiment may be implemented in cooperation with the above-described method embodiment. The related technical details mentioned in the above method embodiments are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the related technical details mentioned in the present embodiment can also be applied in the above-described method embodiments.
It should be noted that, each module involved in this embodiment is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. Furthermore, in order to highlight the innovative part of the present disclosure, elements that are not so close to solving the technical problem presented by the present disclosure are not introduced in the present embodiment, but it does not indicate that other elements are not present in the present embodiment.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related user personal information all conform to the regulations of related laws and regulations, and the public sequence is not violated.
According to a fourth embodiment of the present disclosure, the present disclosure also provides an electronic device comprising at least one processor and a memory. Wherein the memory is communicatively coupled to the at least one processor and stores instructions executable by the at least one processor to enable the at least one processor to perform the methods recited in the embodiments. The electronic device may be, for example, a controller of a vehicle.
The fifth embodiment of the present disclosure also provides a screen configuration system. Referring to fig. 10, the screen configuration system 1000 may include a screen controller 1001 and a display screen 1002. The screen controller 1001 is configured to determine a display area to be configured and corresponding operation information based on the received screen configuration statement; generating a screen configuration instruction based on the layout information and the operation information of the display area; and determining display content according to the screen configuration instruction, and outputting the display content to the display area. The display screen 1002 is configured to receive and display contents of the display area.
It should be appreciated that the screen controller may be, for example, the electronic device mentioned above, the screen controller and the display screen may be a unitary device, or may be two separate devices without limitation herein, without departing from the teachings of the present disclosure.
According to a sixth embodiment of the present disclosure, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method as mentioned in the above embodiments.
According to a seventh embodiment of the present disclosure, the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the method according to the above-mentioned embodiments.
Fig. 11 illustrates a schematic block diagram of an example electronic device 1100 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 11, the device 1100 includes a processor 1101 that can perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 1102 or a computer program loaded from a memory 1108 into a Random Access Memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. The processor 1101, ROM 1102, and RAM 1103 are connected to each other by a bus 1104. An input/output (I/O) interface 1105 is also connected to bus 1104.
Various components in device 1100 are connected to I/O interface 1105, including: an input unit 1106 such as a keyboard, a mouse, etc.; an output unit 1107 such as various types of displays, speakers, and the like; memory 1108, such as magnetic disks, optical disks, etc.; and a communication unit 1109 such as a network card, modem, wireless communication transceiver, or the like. The communication unit 1109 allows the device 1100 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The processor 1101 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of processor 1101 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 1101 performs the various methods and processes described above, such as a screen configuration method. For example, in some embodiments, the screen configuration method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as memory 1108. In some embodiments, some or all of the computer programs may be loaded and/or installed onto device 1100 via ROM 1102 and/or communication unit 1109. When a computer program is loaded into the RAM 1103 and executed by the processor 1101, one or more steps of the screen configuration method described above may be performed. Alternatively, in other embodiments, the processor 1101 may be configured to perform the screen configuration method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (24)

1. A screen configuration method, comprising:
determining a display area to be configured and corresponding operation information based on the received screen configuration statement;
generating a screen configuration instruction based on the layout information of the display area and the operation information;
and determining display content according to the screen configuration instruction, and outputting the display content to the display area.
2. The method of claim 1, wherein the operation information includes an operation type parameter; the generating a screen configuration instruction based on the layout information of the display area and the operation information includes:
Determining an instruction data structure corresponding to the operation type parameter;
and generating the screen configuration instruction according to the instruction data structure and the layout information.
3. The method of claim 2, wherein the operational information further comprises data source information and component information; the generating the screen configuration instruction according to the instruction data structure and the layout information comprises the following steps:
displaying specified data through the display area in response to the operation type parameter indication, generating a query statement according to the data source information, and acquiring the specified data through the query statement;
determining component data corresponding to the component information;
generating the screen configuration instruction indicating that the specified data is displayed at a position indicated by the layout information based on the instruction data structure, the specified data, the component data, and the layout information.
4. A method according to claim 3, wherein the component data comprises base component data in a public domain knowledge base and subject component data in a private domain knowledge base.
5. A method according to claim 3, wherein said generating a query statement from said data source information comprises:
Performing statement rewriting according to the data source information to obtain an inquiry statement;
and generating the query statement corresponding to the query statement through a large-scale language model.
6. The method of claim 2, wherein the operational information further comprises display control parameters; the generating the screen configuration instruction according to the instruction data structure and the layout information comprises the following steps:
and responding to the operation type parameter to indicate and adjust the display effect of the component in the display area, and generating the screen configuration instruction based on the instruction data structure, the display control parameter and the layout information, wherein the screen configuration instruction indicates and adjusts the display effect of the component corresponding to the layout information.
7. The method of claim 2, wherein the display area comprises a first display area and a second display area, the generating the screen configuration instruction according to the instruction data structure and the layout information comprising:
and generating the screen configuration instruction, which indicates that the components of the first display area and the components of the second display area are exchanged, based on the instruction data structure, the layout information of the first display area and the layout information of the second display area, in response to the operation type parameter indicating that the components of the first display area and the components of the second display area are exchanged.
8. The method of any of claims 1 to 7, further comprising:
responding to the failure of the screen configuration instruction generation, and feeding back configuration prompt information;
and re-receiving the screen configuration statement, and executing the step of determining the display area to be configured and the corresponding operation information based on the received screen configuration statement.
9. The method of claim 8, wherein the feedback configuration prompt comprises:
determining configuration template information corresponding to failure factors;
and determining and feeding back the configuration prompt information according to the configuration template information.
10. The method of claim 8, wherein the responding to the screen configuration instruction generation failure, feeding back configuration prompt information, comprises:
and responding to the screen configuration instruction to generate failure, and feeding back the configuration prompt information when the failure times do not exceed a time threshold.
11. A screen configuration apparatus comprising:
the configuration determining module is configured to determine a display area to be configured and corresponding operation information based on the received screen configuration statement;
an instruction generation module configured to generate a screen configuration instruction based on layout information of the display area and the operation information;
And the screen configuration module is configured to determine display content according to the screen configuration instruction and output the display content to the display area.
12. The apparatus of claim 11, wherein the operation information comprises an operation type parameter; the instruction generation module includes:
a data structure determination submodule configured to determine an instruction data structure corresponding to the operation type parameter;
and the instruction generation sub-module is configured to generate the screen configuration instruction according to the instruction data structure and the layout information.
13. The apparatus of claim 12, wherein the operational information further comprises data source information and component information; the instruction generation submodule includes:
a data determining unit configured to display specified data through the display area in response to the operation type parameter indication, generate a query sentence according to the data source information, and acquire the specified data through the query sentence;
a component determining unit configured to determine component data corresponding to the component information;
an instruction generating unit configured to generate the screen configuration instruction indicating that the specified data is displayed at a position indicated by the layout information, based on the instruction data structure, the specified data, the component data, and the layout information.
14. The apparatus of claim 13, wherein the component data comprises base component data in a public domain knowledge base and subject component data in a private domain knowledge base.
15. The apparatus of claim 13, wherein the data determination unit comprises:
a rewrite subunit configured to rewrite the sentence according to the data source information to obtain an inquiry sentence;
and the statement generation subunit is configured to generate the query statement corresponding to the query statement through the large-scale language model.
16. The apparatus of claim 12, wherein the operational information further comprises display control parameters; the instruction generation submodule is further configured to:
and responding to the operation type parameter to indicate and adjust the display effect of the component in the display area, and generating the screen configuration instruction based on the instruction data structure, the display control parameter and the layout information, wherein the screen configuration instruction indicates and adjusts the display effect of the component corresponding to the layout information.
17. The apparatus of claim 12, wherein the display area comprises a first display area and a second display area, the instruction generation submodule further configured to:
And generating the screen configuration instruction, which indicates that the components of the first display area and the components of the second display area are exchanged, based on the instruction data structure, the layout information of the first display area and the layout information of the second display area, in response to the operation type parameter indicating that the components of the first display area and the components of the second display area are exchanged.
18. The apparatus of any of claims 11 to 17, further comprising:
the feedback module is configured to respond to the failure of the screen configuration instruction generation and feed back configuration prompt information;
the acquisition module is configured to re-receive the screen configuration statement and execute the step of determining the display area to be configured and the corresponding operation information based on the received screen configuration statement.
19. The apparatus of claim 18, wherein the feedback module comprises:
the template determination submodule is configured to determine configuration template information corresponding to failure factors;
and the feedback sub-module is configured to determine and feed back the configuration prompt information according to the configuration template information.
20. The apparatus of claim 18, wherein the feedback module is further configured to:
And responding to the screen configuration instruction to generate failure, and feeding back the configuration prompt information when the failure times do not exceed a time threshold.
21. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-10.
22. A screen configuration system, comprising:
the screen controller is used for determining a display area to be configured and corresponding operation information based on the received screen configuration statement; generating a screen configuration instruction based on the layout information of the display area and the operation information; determining display content according to the screen configuration instruction, and outputting the display content to a display area;
and the display screen is used for receiving and displaying the display content of the display area.
23. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-10.
24. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-10.
CN202311767808.8A 2023-12-20 2023-12-20 Screen configuration method, device, system, electronic equipment and storage medium Pending CN117742689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311767808.8A CN117742689A (en) 2023-12-20 2023-12-20 Screen configuration method, device, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311767808.8A CN117742689A (en) 2023-12-20 2023-12-20 Screen configuration method, device, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117742689A true CN117742689A (en) 2024-03-22

Family

ID=90254067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311767808.8A Pending CN117742689A (en) 2023-12-20 2023-12-20 Screen configuration method, device, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117742689A (en)

Similar Documents

Publication Publication Date Title
US7020841B2 (en) System and method for generating and presenting multi-modal applications from intent-based markup scripts
US10547747B1 (en) Configurable natural language contact flow
JP7324831B2 (en) DEPLOYMENT METHOD, DEPLOYMENT DEVICE AND ELECTRONIC DEVICE OF OPERATORS IN DEEP LEARNING FRAMEWORK
CN111506387B (en) Page prerendering method and device, electronic equipment and storage medium
CN110457143B (en) Micro-service calling method and device
CN110825388B (en) Method for directly converting SQL statement into corresponding REST interface
US7599838B2 (en) Speech animation with behavioral contexts for application scenarios
CN110998526B (en) User-configured and custom interactive dialog applications
CN113806305A (en) Data export method and device, computer readable storage medium and electronic equipment
KR20220009338A (en) Configuration method, device, electronic equipment and computer storage medium of modeling parameters
CN112506854A (en) Method, device, equipment and medium for storing page template file and generating page
CN115481227A (en) Man-machine interaction dialogue method, device and equipment
US20220067591A1 (en) Machine learning model selection and explanation for multi-dimensional datasets
CN114201156A (en) Access method, device, electronic equipment and computer storage medium
CN112235132B (en) Method, device, medium and server for dynamically configuring service
US20220284371A1 (en) Method, device and medium for a business function page
CN117742689A (en) Screen configuration method, device, system, electronic equipment and storage medium
WO2022231788A1 (en) Code injection from natural language derived intent
CN106682221B (en) Question-answer interaction response method and device and question-answer system
CN113791819A (en) Interface document generation method and device, storage medium and electronic equipment
US7647227B1 (en) Machine assisted speech generation for a conversational voice response system
CN112527290A (en) Method and device for building page based on biological characteristic information
CN113312025A (en) Component library generation method and device, storage medium and electronic equipment
CN114553688B (en) Cloud computing deployment method, device, equipment and computer readable storage medium
WO2023107855A1 (en) Parameterized narrations for data analytics systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination