Chat assistant development system and method
By providing a chat assistant development system that includes component encapsulation, state management, and interface management, the problem of long development cycle of Web3D chat assistants is solved, rapid development and efficient management are achieved, and development difficulty is reduced.
Patent Information
- Application Number
- CN202510706905.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-29
- Publication Date
- 2025-09-05
AI Technical Summary
The existing Web3D chat assistant technology has a long development cycle and lacks relevant design ideas, which makes it difficult for users to quickly get started and increases the engineering development cycle.
A chat assistant development system is provided, which includes a component encapsulation device, a state management device and an interface management device. By displaying selection instructions of multiple component encapsulation controls, interface management controls and state management controls, the corresponding program development page is displayed to achieve functional encapsulation and management of the Web3D chat assistant.
It reduces the development difficulty of the Web3D chat assistant, shortens the project development cycle, and improves development efficiency.
Smart Images

Figure CN120596066A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of software development, and in particular to a chat assistant development system and method. Background Art
[0002] The mainstream components currently on the market are more focused on enabling convenient development of conventional websites, with relatively few components specifically designed for Web3D applications. Furthermore, Web3D involves a complex body of knowledge, and lacks design guidance for specific application components of Web3D chat assistants. This makes it difficult for users to quickly get started, thus increasing the development cycle. Summary of the Invention
[0003] The embodiments of the present invention provide a chat assistant development system and method, which can reduce the development difficulty of a Web3D chat assistant and shorten the project development cycle.
[0004] In a first aspect, an embodiment of the present invention provides a chat assistant development system, which includes: a component packaging device, a state management device, and an interface management device; wherein,
[0005] The component packaging device is used to display multiple component packaging controls and, upon receiving a selection instruction for a component packaging component, display a program development page corresponding to the component packaging function;
[0006] The interface management device is used to display multiple interface management controls and, upon receiving a selection instruction for an interface management component, display a program development page corresponding to the interface function;
[0007] The state management device is used to display a program development page corresponding to the component state management function when receiving a component state management instruction.
[0008] In a second aspect, an embodiment of the present invention provides a chat assistant development method, which is applied to a chat assistant development system. The chat assistant development system includes: a component encapsulation device, a state management device, and an interface management device. The method includes:
[0009] Upon receiving a chat assistant development instruction, determining a target development component according to the chat assistant development instruction; wherein the target development component includes: at least one of a component encapsulation component, a state management component, and an interface management component;
[0010] The program development page corresponding to the target development component is displayed on the preset interactive interface.
[0011] In a third aspect, an embodiment of the present invention provides a computer device, the computer device comprising:
[0012] one or more processors;
[0013] a memory for storing one or more programs;
[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement the chat assistant development method described in any embodiment.
[0015] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the chat assistant development method described in any embodiment.
[0016] The technical solution provided by the embodiment of the present invention provides a chat assistant development system, including: a component encapsulation device, a state management device, and an interface management device; wherein the component encapsulation device is used to display multiple component encapsulation controls, and upon receiving a selection instruction for a component encapsulation component, displays a program development page corresponding to the component encapsulation function; the interface management device is used to display multiple interface management controls, and upon receiving a selection instruction for an interface management component, displays a program development page corresponding to the interface function; the state management device is used to display a program development page corresponding to the component state management function upon receiving a component state management instruction. The technical solution of the embodiment of the present invention solves the problem of long program development cycles for Web3D chat assistants in the prior art, and can encapsulate multiple functions of a Web3D chat assistant into corresponding components. Users can develop functions corresponding to target components by selecting target components, thereby reducing the development difficulty of the Web3D chat assistant and shortening the engineering development cycle. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a structural diagram of a chat assistant development system provided by an embodiment of the present invention;
[0018] Figure 2 This is a functional framework diagram of a chat assistant development system provided by an embodiment of the present invention;
[0019] Figure 3 This is a flow chart of a chat assistant development method provided by an embodiment of the present invention;
[0020] Figure 4 It is a structural diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0021] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0022] Figure 1 This is a structural diagram of a chat assistant development system provided by an embodiment of the present invention. The embodiment of the present invention is applicable to the scenario of program development for a Web3D chat assistant. The system can be implemented by software and / or hardware.
[0023] like Figure 1 As shown, the chat assistant development system includes: a component editing device, a state management device and an interface management device; wherein the component editing device is used to display multiple component editing controls, and when receiving a selection instruction for a component editing component, displays a program development page corresponding to the component editing function; the interface management device is used to display multiple interface management controls, and when receiving a selection instruction for an interface management component, displays a program development page corresponding to the interface function; the state management device is used to display a program development page corresponding to the component state management function when receiving a component state management instruction.
[0024] The chat assistant development system can encapsulate the various underlying functions of the Web3D chat assistant into multiple components, each of which corresponds to a specific underlying function of the Web3D chat assistant. Users can select the target component and then edit the corresponding underlying function.
[0025] The following introduces each part of the chat assistant development system. First, the component editing device is introduced.
[0026] The component editing device can be used to edit the self-function corresponding to the component. The component editing device can display multiple component editing controls on the interactive interface, each component editing control corresponds to a component, and the user can edit the content of the specific function corresponding to the component editing control by selecting the component editing control. Furthermore, the user can select the corresponding component editing control according to the interactive operation. The component editing device can, upon receiving the selection instruction for the component editing component, display the self-function editing interface of the component corresponding to the selection instruction on the interactive interface, so that the user can program edit the self-function of the component. For example, the loading animation component can correspond to the loading animation function of the Web3D chat assistant. The user can select the component editing control corresponding to the loading animation component and issue a selection instruction. When the component editing device receives the selection instruction, it can display the editing interface corresponding to the loading animation function on the interactive interface, so that the user can program edit the loading animation function of the Web3D chat assistant.
[0027] In an optional embodiment, the component editing device includes: a chat box management sub-device and a 3D interaction sub-device; wherein, the chat box management sub-device is used to display multiple chat box management controls, and when receiving a selection instruction for the chat box management control, displays a program development page corresponding to the chat box management function; the 3D interaction sub-device is used to display multiple 3D interaction controls, and when receiving a selection instruction for the 3D interaction component, displays a program development page corresponding to the 3D interaction function.
[0028] Among them, the chat box management sub-device can be used to edit the chat box function of the Web3D chat assistant. The chat box management sub-device can display multiple chat box management controls on the interactive interface, each chat box management control corresponds to a component of a chat box function, and the user can edit the content of the chat box function corresponding to the chat box management control by selecting the chat box management control. Furthermore, the user can select the corresponding chat box management control according to the interactive operation. When the chat box management sub-device receives a selection instruction for the chat box management control, it can display the chat box component's own function editing interface corresponding to the selection instruction on the interactive interface, so that the user can program the chat box component's own function.
[0029] Similarly, the 3D interaction sub-device can be used to edit the 3D interaction function of the Web3D chat assistant. The 3D interaction sub-device can display multiple 3D interaction controls on the interactive interface, each 3D interaction control corresponds to a component of a 3D interaction function. By selecting a 3D interaction control, the user can edit the content of the 3D interaction function corresponding to the 3D interaction control. Furthermore, the user can select the corresponding 3D interaction control according to the interactive operation. When the 3D interaction sub-device receives a selection instruction for the 3D interaction control, it can display the function editing interface of the 3D interaction component corresponding to the selection instruction on the interactive interface, so that the user can program the function of the 3D interaction component itself.
[0030] In an optional embodiment, the chat box management sub-device includes: an expand chat box component, a collapse chat box component, a send message component, and a display message component; wherein the expand chat box component is used to display the program development page corresponding to the expand chat box function when receiving an expand chat box instruction; the collapse chat box component is used to display the program development page corresponding to the collapse chat box function when receiving a collapse chat box instruction; the send message component is used to display the program development page corresponding to the send message function when receiving a send message instruction; and the display message component is used to display the program development page corresponding to the display message function when receiving a display message instruction. Among them, the expand chat box component is also used to display the component corresponding to the expand chat box function; the collapse chat box component is also used to display the component corresponding to the collapse chat box function; the send message is also used to display the component corresponding to the send message function; and the display message is also used to display the component corresponding to the display message function.
[0031] In an optional embodiment, the 3D interaction sub-device includes: a model management module and a chart management module; wherein, the model management module is used to display multiple model management controls, and when receiving a selection instruction for the model management component, displays a program development page corresponding to the model management function; the chart management module is used to display multiple chart management controls, and when receiving a selection instruction for the chart management component, displays a program development page corresponding to the chart management function.
[0032] Among them, the model management module can be used to edit the interactive model function of the Web3D chat assistant. Specifically, the interactive model may include: a basic operation model and an animation management model. The model management module can display multiple model management controls on the interactive interface, each model management control corresponding to a component of a model management function. By selecting a model management control, the user can edit the content of the interactive model function corresponding to the model management control. Furthermore, the user can select the corresponding model management control according to the interactive operation. When the model management module receives a selection instruction for the model management control, it can display the self-function editing interface of the model management component corresponding to the selection instruction on the interactive interface, so that the user can program the self-function of the model management component.
[0033] Similarly, the chart management module can be used to edit the chart management function of the Web3D chat assistant. The chart management module can display multiple chart management controls on the interactive interface, each of which corresponds to a component of a chart management function. By selecting a chart management control, the user can edit the content of the chart management function corresponding to the chart management control. Furthermore, the user can select the corresponding chart management control based on the interactive operation. Upon receiving a selection instruction for the chart management control, the chart management module can display the function editing interface of the chart management component corresponding to the selection instruction on the interactive interface, so that the user can program the function of the chart management component itself.
[0034] In an optional embodiment, the model management module includes: a basic operation model management sub-module and an animation management sub-module; wherein, the basic operation model management sub-module is used to display multiple basic operation model management controls, and when receiving a selection instruction for the basic operation model management component, displays the program development page corresponding to the basic operation model management function; the animation management sub-module is used to display multiple animation management controls, and when receiving a selection instruction for the animation management component, displays the program development page corresponding to the animation management function.
[0035] Among them, the basic operation model management submodule can be used to edit the basic operation model management function of the Web3D chat assistant. The basic operation model management submodule can display multiple basic operation model management controls on the interactive interface. Each basic operation model management control corresponds to a component of a basic operation model management function. By selecting a basic operation model management control, the user can edit the content of the basic operation model management function corresponding to the basic operation model management control. Furthermore, the user can select the corresponding basic operation model management control and issue a selection instruction. The basic operation model management submodule can display the function editing interface of the basic operation model management component corresponding to the selection instruction on the interactive interface.
[0036] Similarly, the animation management submodule can be used to edit the animation management functions of the Web3D chat assistant. The animation management submodule can display multiple animation management controls on the interactive interface, each corresponding to a component of the animation management function. By selecting an animation management control, the user can edit the content of the animation management function corresponding to the animation management control. Furthermore, the user can select the corresponding animation management control and issue a selection command, and the animation management submodule can display the function editing interface of the animation management component corresponding to the selection command on the interactive interface.
[0037] In an optional embodiment, the basic operation model management submodule includes: a click model component, a drag model component, a model state control component, an edit model component and a loading model component; wherein the click model component is used to display the program development page corresponding to the click model function when receiving a click model instruction; the drag model component is used to display the program development page corresponding to the drag model function when receiving a drag model instruction; the model state control component is used to display the program development page corresponding to the model state control function when receiving a model state control instruction; the edit model component is used to display the program development page corresponding to the edit model function when receiving an edit model instruction; the loading model component is used to display the program development page corresponding to the loading model function when receiving a loading model instruction.
[0038] Among them, the click model component is used to edit the component corresponding to the click model function; the drag model component is used to edit the component corresponding to the drag model function; the model state control component is used to edit the component corresponding to the model state; the edit model component is used to set the component corresponding to the edit model function; the loading model component is used to set the component corresponding to the loading model function.
[0039] In an optional embodiment, the animation management submodule includes: a loading animation component, a playing animation component and an animation sequence component; wherein the loading animation component is used to display the program development page corresponding to the loading animation function when receiving a loading animation instruction; the playing animation component is used to display the program development page corresponding to the playing animation function when receiving a playing animation instruction; the animation sequence component is used to display the program development page corresponding to the animation sequence management function when receiving an animation sequence management instruction. Among them, the click model component is used to edit the component corresponding to the click model function; the drag model component is used to edit the component corresponding to the drag model function; the model state control component is used to edit the component corresponding to the model state; the editing model component is used to set the component corresponding to the editing model function; the loading model component is used to set the component corresponding to the loading model function. Among them, the loading animation component is used to edit the component corresponding to the loading animation function; the playing animation component is used to edit the component corresponding to the playing animation function; the animation sequence component is used to edit the component corresponding to the animation sequence.
[0040] Next, the interface management device is introduced. The interface management device can be used to edit the interface functions of the Web3D chat assistant. The interface management device can display multiple interface management controls on the interactive interface, each corresponding to an interface function component. Furthermore, the user can select the corresponding interface management control based on the interaction operation. Upon receiving a selection instruction for an interface management component, the interface management device can display the interface function editing interface for the component corresponding to the selection instruction on the interactive interface.
[0041] In an optional embodiment, the interface management device includes: a data display component, a business interpretation component, a message notification component, and other functional components; wherein the data display component is used to display the program development page corresponding to the data display function when receiving a data display instruction; the business interpretation component is used to display the program development page corresponding to the business interpretation function when receiving a business interpretation instruction; the message notification component is used to display the program development page corresponding to the message notification function when receiving a message notification instruction; and the other functional components are used to display the program development page corresponding to other function settings when receiving other function setting instructions. The data display component is also used to edit the component corresponding to the data display function; the business interpretation component is also used to edit the component corresponding to the business interpretation function; the message notification component is also used to edit the component corresponding to the message notification function; and the other functional components are also used to edit the components corresponding to other interface functions.
[0042] Finally, we'll introduce state management devices. State management devices can be used to edit the state of components in chat assistant development systems. Specifically, state refers to the data in an application, and changes in state correspond to view updates or the execution of specific logic. For example, a color change on an interface is a state change, which may require re-rendering the view and executing some logic. State management encompasses two aspects. The first involves asynchronous processing logic before state changes, such as using middleware to handle actions before state updates. The second involves the linked processing after state changes, such as re-rendering the view or executing functions that depend on state changes. To effectively manage state, developers often utilize front-end state management libraries. These tools help centrally store and manage application state and provide a standardized way to update state, ensuring that multiple components can share state and that state changes are traceable.
[0043] Furthermore, the state management device can display multiple state management controls on the interactive interface, with each state management control corresponding to a component in the chat assistant development system. A user selects a state management control to issue a component state management instruction. Upon receiving the state management instruction, the state management device can display a state editing page for the component corresponding to the state management instruction, allowing the user to edit the state of the component corresponding to the state management control.
[0044] For example, in order to better understand the technical solution provided by the present invention, a specific embodiment is introduced below: Figure 2 This is a functional framework diagram of a chat assistant development system provided by an embodiment of the present invention. Figure 2 As shown in the figure, the chat assistant development system can realize the following functions: component encapsulation, state management, and interface management. Component encapsulation includes chat box management and 3D interaction.
[0045] The chat box function can be repackaged based on the basic chat box function, providing better compatibility. When the chat box is expanded, the position of the chat box in different model orientations is calculated based on the size of the 3D model rendering canvas and its page location, and the display orientation is provided as a parameter for reference. When the chat box is collapsed, it is hidden and the 3D model rendering canvas is reset to its initial position. Message sending is repackaged based on the original basic chat box function, supporting the sending and display of various messages including text, images, hyperlinks, and more, and providing an external interactive interface.
[0046] 3D interaction includes model management and chart management. This functionality is a repackaged version of the original 3D rendering engine API, providing a more suitable and convenient chat assistant development component for developers to directly access. Model management includes basic operations and animation management. Clicking a model in basic operations involves obtaining the on-screen coordinates of the mouse click point, determining whether it hits the assistant model in the scene, and performing subsequent operations in a callback function. Dragging a model involves obtaining the mouse position when the user clicks the model for a long time, converting the model's position to the desired location, and moving the model to that location. When the user releases the mouse, meaning the pointer is no longer clicking on the model, the model's position remains fixed and remains unchanged, awaiting the next action trigger. Dragging operations can be triggered within the 3D rendering page. Model state control controls whether the model is displayed by setting model properties. Loading a model involves loading a model resource and parsing it to obtain the materials and meshes for its different modules for subsequent editing. Editing a model involves adjusting the meshes and materials at the corresponding locations within the loaded model. Changing the mesh size and position adjusts the model's shape, while changing the material adjusts the model's display.
[0047] Animation management falls into two categories. The first involves built-in model animations. For example, a chat assistant can have various actions, such as waving, walking, and waving. Each action is then encapsulated, providing only parameters such as the animation name, model name, operation, and sequence for direct callability. Operations include single play, loop play, pause, and end, and model animations can be played sequentially. The other category involves custom-designed animations. Upon receiving a new message notification, the assistant model switches to another model form—an envelope—also designed with accompanying animation. This animation is achieved by controlling the model's translation, rotation, and scaling within the 3D scene. Specifically, for rotation, an empty parent node is created and then rotated to achieve model rotation. Building on the encapsulated parameters of the first method, additional parameters such as the change method and parent node coordinates are provided for easy callability. This model management module supports rapid replacement of models and model animations with minimal impact on functional logic.
[0048] Chart management refers to displaying 3D charts in the designated area of the chat assistant. Generating a chart involves inputting the data to be displayed and generating the corresponding 3D chart on the page. Chart state control controls whether the chart is displayed and its position on the page. Clicking a chart triggers an event when the chart is clicked. Editing a chart allows you to edit chart information, such as color and text.
[0049] State management includes the model's initial state and persistent state. The initial state can be a single animation or a set of animations. The persistent state changes state through various trigger events, such as clicks and typing. The corresponding model animation plays when the state changes, and the model remains in a certain state after the playback.
[0050] Interface management provides common chat assistant functions in the form of interfaces for developers to easily access. The function menu expands after clicking the assistant model and collapses after clicking the assistant model again. Data display maps data to a three-dimensional table, and you can configure operations in chart management. Business explanation means expanding the chat box, entering a noun, and then providing feedback on the corresponding explanation information. Message notification means that after receiving a new message notification, the model switches from the assistant form to another model, such as a mailbox, and displays the corresponding message in the chat box. All of the above functions support custom 3D interaction, adding various operations for model management and chart management, facilitating rapid development iterations and having good scalability.
[0051] The technical solution provided by the embodiment of the present invention provides a chat assistant development system, including: a component encapsulation device, a state management device, and an interface management device; wherein the component encapsulation device is used to display multiple component encapsulation controls, and upon receiving a selection instruction for a component encapsulation component, displays a program development page corresponding to the component encapsulation function; the interface management device is used to display multiple interface management controls, and upon receiving a selection instruction for an interface management component, displays a program development page corresponding to the interface function; the state management device is used to display a program development page corresponding to the component state management function upon receiving a component state management instruction. The technical solution of the embodiment of the present invention solves the problem of long program development cycles for Web3D chat assistants in the prior art, and can encapsulate multiple functions of a Web3D chat assistant into corresponding components. Users can develop functions corresponding to target components by selecting target components, thereby reducing the development difficulty of the Web3D chat assistant and shortening the engineering development cycle.
[0052] Figure 3 This is a flow chart of a chat assistant development method provided by an embodiment of the present invention, which is applied to a chat assistant development system. The chat assistant development system includes: a component editing device, a state management device, and an interface management device. The embodiment of the present invention can be applied to the scenario of program development for a Web3D chat assistant. The device can be implemented by software and / or hardware and integrated into a computer device with application development capabilities.
[0053] like Figure 3 As shown, the chat assistant development system includes the following steps:
[0054] S110. When a chat assistant development instruction is received, determine a target development component according to the chat assistant development instruction.
[0055] The chat assistant development instruction may be a trigger instruction for chat assistant development. Specifically, a user may issue a chat assistant development instruction based on an interactive operation. The target development component may be a component for which function development is required. Specifically, the chat assistant development instruction may specify a component for which function development is required, and thus the component specified in the instruction may be the target development component. The target development component includes at least one of a component editing component, a state management component, and an interface management component.
[0056] S120: Displaying a program development page corresponding to the target development component on a preset interactive interface.
[0057] In an optional embodiment, the component editing device includes: a chat box management sub-device and a 3D interaction sub-device; wherein, the chat box management sub-device can display multiple chat box management controls, and when receiving a selection instruction for the chat box management control, display a program development page corresponding to the chat box management function; the 3D interaction sub-device can display multiple 3D interaction controls, and when receiving a selection instruction for the 3D interaction component, display a program development page corresponding to the 3D interaction function.
[0058] In an optional embodiment, the chat box management sub-device includes: an expand chat box component, a collapse chat box component, a send message component and a display message component; wherein, the expand chat box component can display the program development page corresponding to the expand chat box function when receiving an expand chat box instruction; the collapse chat box component can display the program development page corresponding to the collapse chat box function when receiving a collapse chat box instruction; the send message component can display the program development page corresponding to the send message function when receiving a send message instruction; the display message component can display the program development page corresponding to the display message function when receiving a display message instruction.
[0059] In an optional embodiment, the 3D interactive sub-device includes: a model management module and a chart management module; wherein, the model management module can display multiple model management controls, and when receiving a selection instruction for the model management component, display the program development page corresponding to the model management function; the chart management module can display multiple chart management controls, and when receiving a selection instruction for the chart management component, display the program development page corresponding to the chart management function.
[0060] In an optional embodiment, the model management module includes: a basic operation model management sub-module and an animation management sub-module; wherein, the basic operation model management sub-module can display multiple basic operation model management controls, and when receiving a selection instruction for the basic operation model management component, display the program development page corresponding to the basic operation model management function; the animation management sub-module can display multiple animation management controls, and when receiving a selection instruction for the animation management component, display the program development page corresponding to the animation management function.
[0061] In an optional embodiment, the basic operation model management submodule includes: a click model component, a drag model component, a model state control component, an edit model component and a loading model component; wherein, the click model component can display the program development page corresponding to the click model function when receiving a click model instruction; the drag model component can display the program development page corresponding to the drag model function when receiving a drag model instruction; the model state control component can display the program development page corresponding to the model state control function when receiving a model state control instruction; the edit model component can display the program development page corresponding to the edit model function when receiving an edit model instruction; the loading model component can display the program development page corresponding to the loading model function when receiving a loading model instruction.
[0062] In an optional embodiment, the animation management submodule includes: a loading animation component, a playing animation component and an animation sequence component; wherein, the loading animation component can display the program development page corresponding to the loading animation function when receiving a loading animation instruction; the playing animation component can display the program development page corresponding to the playing animation function when receiving a playing animation instruction; the animation sequence component can display the program development page corresponding to the animation sequence management function when receiving an animation sequence management instruction.
[0063] In an optional embodiment, the interface management device includes: a data display component, a business interpretation component, a message notification component and other functional components; wherein, the data display component can be used to display a program development page corresponding to the data display function when a data display instruction is received; the business interpretation component can display a program development page corresponding to the business interpretation function when a business interpretation instruction is received; the message notification component can display a program development page corresponding to the message notification function when a message notification instruction is received; and other functional components can display program development pages corresponding to other function settings when other function setting instructions are received.
[0064] The technical solution provided by an embodiment of the present invention determines a target development component based on a chat assistant development instruction received from the chat assistant development instruction; the target development component includes at least one of a component encapsulation component, a state management component, and an interface management component; and displays a program development page corresponding to the target development component on a preset interactive interface. This technical solution addresses the long development cycle of Web3D chat assistants in the prior art. By encapsulating the various functions of a Web3D chat assistant into corresponding components, users can select a target component to develop the corresponding function, reducing the development difficulty of the Web3D chat assistant and shortening the engineering development cycle.
[0065] Figure 4 A schematic structural diagram of a computer device provided in an embodiment of the present invention. Figure 4 A block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 4 The computer device 12 shown is only an example and should not limit the functionality and scope of use of the embodiments of the present invention. The computer device 12 can be any terminal device with computing capabilities and can be configured in the chat assistant development device.
[0066] like Figure 4 As shown, computer device 12 is implemented as a general-purpose computing device. Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and a bus 18 that connects various system components (including system memory 28 and processing unit 16).
[0067] The bus 18 may be one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0068] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0069] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be configured to read and write non-removable, non-volatile magnetic media ( Figure 4 Not shown, often called a "hard drive"). Although Figure 4 Not shown, a magnetic disk drive for reading and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
[0070] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0071] The computer device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, a pointing device, a display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may occur through an input / output (I / O) interface 22. Furthermore, the computer device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 20. Figure 4 As shown, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. Figure 4 Not shown, other hardware and / or software modules may be used in conjunction with computer device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0072] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the chat assistant development method provided in the embodiment of the present invention, which includes:
[0073] Upon receiving a chat assistant development instruction, determining a target development component according to the chat assistant development instruction; wherein the target development component includes: at least one of a component encapsulation component, a state management component, and an interface management component;
[0074] The program development page corresponding to the target development component is displayed on the preset interactive interface.
[0075] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for developing a chat assistant as provided in any embodiment of the present invention is implemented, including:
[0076] Upon receiving a chat assistant development instruction, determining a target development component according to the chat assistant development instruction; wherein the target development component includes: at least one of a component encapsulation component, a state management component, and an interface management component;
[0077] The program development page corresponding to the target development component is displayed on the preset interactive interface.
[0078] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.
[0079] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0080] Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0081] The computer program code for performing the operations of the present invention can be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0082] Those skilled in the art will appreciate that the modules or steps of the present invention described above can be implemented using a general-purpose computing device. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computer device, which can then be stored in a storage device and executed by the computing device. Alternatively, they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
[0083] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments, and substitutions are possible for those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present invention. The scope of the present invention is determined by the scope of the appended claims.
Claims
1. A chat assistant development system, characterized in that: include: Component encapsulation device, state management device and interface management device; wherein, The component editing device is used to display a plurality of component editing controls and, upon receiving a selection instruction for a component editing component, display a program development page corresponding to the component editing function; The interface management device is used to display multiple interface management controls and, upon receiving a selection instruction for an interface management component, display a program development page corresponding to the interface function; The state management device is used to display a program development page corresponding to the component state management function when receiving a component state management instruction.
2. The system according to claim 1, wherein: The component editing device includes: a chat box management sub-device and a 3D interaction sub-device; wherein, The chat box management sub-device is used to display multiple chat box management controls, and when receiving a selection instruction for a chat box management control, display a program development page corresponding to the chat box management function; The 3D interaction sub-device is used to display multiple 3D interaction controls, and when a selection instruction for a 3D interaction component is received, a program development page corresponding to the 3D interaction function is displayed.
3. The system according to claim 2, characterized in that The chat frame management sub-device includes: an expansion chat frame component, a collapse chat frame component, a message sending component and a message display component; wherein, The expand chat box component is used to display the program development page corresponding to the expand chat box function when receiving the expand chat box instruction; The folding chat box component is used to display the program development page corresponding to the folding chat box function when receiving the folding chat box instruction; The sending message component is used to display the program development page corresponding to the sending message function when receiving the sending message instruction; The display message component is used to display a program development page corresponding to the display message function when a display message instruction is received.
4. The system according to claim 2, wherein: The 3D interaction sub-device includes: a model management module and a chart management module; wherein, The model management module is used to display multiple model management controls and, upon receiving a selection instruction for a model management component, display a program development page corresponding to the model management function; The chart management module is used to display multiple chart management controls, and when receiving a selection instruction for a chart management component, displays a program development page corresponding to the chart management function.
5. The system according to claim 4, characterized in that The model management module includes: a basic operation model management submodule and an animation management submodule; wherein, The basic operation model management submodule is used to display multiple basic operation model management controls and, upon receiving a selection instruction for a basic operation model management component, display a program development page corresponding to the basic operation model management function; The animation management submodule is used to display multiple animation management controls, and when a selection instruction for an animation management component is received, a program development page corresponding to the animation management function is displayed.
6. The system according to claim 5, characterized in that The basic operation model management submodule includes: click model component, drag model component, model state control component, edit model component and load model component; wherein, The click model component is used to display a program development page corresponding to the click model function when receiving a click model instruction; The drag model component is used to display the program development page corresponding to the drag model function when receiving the drag model instruction; The model state control component is used to display a program development page corresponding to the model state control function when a model state control instruction is received; The editing model component is used to display a program development page corresponding to the editing model function when receiving an editing model instruction; The loading model component is used to display a program development page corresponding to the loading model function when a loading model instruction is received.
7. The system according to claim 5, characterized in that The animation management submodule includes: loading animation component, playing animation component and animation sequence component; wherein, The loading animation component is used to display the program development page corresponding to the loading animation function when receiving the loading animation instruction; The animation playing component is used to display the program development page corresponding to the animation playing function when receiving the animation playing instruction; The animation sequence component is used to display a program development page corresponding to the animation sequence management function when an animation sequence management instruction is received.
8. The system according to claim 1, wherein: The interface management device includes: a data display component, a business interpretation component, a message notification component and other functional components; wherein, The data display component is used to display a program development page corresponding to the data display function when receiving a data display instruction; The business interpretation component is used to display the program development page corresponding to the business interpretation function when receiving the business interpretation instruction; The message notification component is used to display the program development page corresponding to the message notification function when a message notification instruction is received; The other function component is used to display a program development page corresponding to other function settings when receiving other function setting instructions.
9. A chat assistant development method, characterized in that: Applied to a chat assistant development system, the chat assistant development system includes: a component editing device, a state management device, and an interface management device, and the method includes: Upon receiving a chat assistant development instruction, determining a target development component according to the chat assistant development instruction; wherein the target development component includes: at least one of a component encapsulation component, a state management component, and an interface management component; The program development page corresponding to the target development component is displayed on the preset interactive interface.
10. A computer device, characterized in that: The computer device comprises: one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the chat assistant development method as described in any one of claim 9.