Method, device and equipment for updating software product, medium and product

By visually displaying database fields and data entries in the user interface and automatically updating the front-end and back-end code using machine learning models, the problem of users being unable to intuitively modify software products is solved, thus achieving an efficient software development process.

CN121658041APending Publication Date: 2026-03-13BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-15
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

After users generate software products using machine learning models, they cannot intuitively understand the underlying data of the software products. As a result, users who lack coding skills cannot effectively modify and adjust the software products, leading to low development efficiency.

Method used

By visually displaying the database fields and data entries in the user interface, users can make modifications, and the front-end and back-end code is automatically generated and synchronously updated by a machine learning model, simplifying the code modification process.

Benefits of technology

It lowers the technical threshold for users, improves the development efficiency of software products, simplifies the code modification process, and reduces the risk of accidental operation through data validity verification and snapshot backup.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121658041A_ABST
    Figure CN121658041A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method and device for updating a software product, equipment, a storage medium and a computer program product. The method includes obtaining a software product including front-end code, a database, and back-end code. The method also includes presenting, in the interface, at least a portion of the fields or data entries in the database. The method also includes presenting an updated software product, the updated software product being updated by the model based on the software product and the modification. According to the method disclosed by the embodiment of the invention, the technical threshold of the user can be reduced, the code modification process is simplified, and the development efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure generally relates to the field of computers, and more specifically to methods, apparatus, devices, computer-readable storage media, and computer program products for updating software products. Background Technology

[0002] Currently, machine learning models are evolving rapidly, continuously expanding their application boundaries and capabilities through technological iteration. Among them, machine learning technology, with language models at its core, has built a technological system with advanced language understanding and generation capabilities through the synergistic support of large-scale data training and deep neural network architecture. These models can deeply analyze the complex intentions and logical connections contained in human natural language instructions, outputting diverse target results based on different scenario needs. Their applications have covered diverse scenarios such as code generation, graphic presentation file creation, and structured document writing, gradually forming a comprehensive cognitive architecture integrating language processing, visual presentation, and logical reasoning.

[0003] The development and application of machine learning technology have profoundly transformed traditional human lifestyles and work patterns. For example, in the field of software development, machine learning models possess the end-to-end generation capability of full-stack software products, and can be applied throughout the entire software development process, including front-end interactive interface layout design, back-end service architecture construction, and database table structure design, forming a complete technical solution covering the entire chain of requirement implementation. Summary of the Invention

[0004] According to exemplary embodiments of this disclosure, a method, apparatus, device, computer storage medium, and computer program product for updating software products are provided.

[0005] In a first aspect of this disclosure, a method for updating a software product is provided, the method comprising obtaining the software product including front-end code, a database, and back-end code. The method further comprises presenting at least a portion of fields or data entries from the database in an interface. The method also comprises presenting the updated software product, the updated software product being updated by a model based on the software product and modifications.

[0006] In a second aspect of this disclosure, an apparatus for updating a software product is provided. The apparatus includes an acquisition module configured to acquire a software product comprising front-end code, a database, and back-end code. The apparatus also includes a presentation module configured to present at least a portion of fields or data entries from the database in an interface. The apparatus further includes an update module configured to present an updated software product, the updated software product being updated by a model based on the software product and modifications.

[0007] In a third aspect of this disclosure, an electronic device is provided, comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method described in the first aspect of this disclosure when executed by the at least one processing unit.

[0008] In a fourth aspect of this disclosure, a computer-readable storage medium is provided having machine-executable instructions stored thereon, which, when executed by a device, cause the device to perform the method described in the first aspect of this disclosure.

[0009] In a fifth aspect of this disclosure, a computer program product is provided, including computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method described in the first aspect of this disclosure.

[0010] The summary section is provided to introduce a series of concepts in a simplified form, which will be further described in the detailed description below. The summary section is not intended to identify key or essential features of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0011] Figure 1 A schematic diagram of an example environment in which embodiments of the present disclosure can be implemented is shown;

[0012] Figure 2 A flowchart of a method for updating a software product according to an embodiment of the present disclosure is shown;

[0013] Figure 3 A schematic diagram illustrating the process of adding data according to an embodiment of the present disclosure is shown;

[0014] Figure 4 A schematic diagram illustrating a process for modifying values ​​according to an embodiment of the present disclosure is shown;

[0015] Figure 5 A schematic diagram illustrating a process for modifying a field according to an embodiment of the present disclosure is shown;

[0016] Figure 6 A schematic block diagram of an example apparatus according to some embodiments of the present disclosure is shown; and

[0017] Figure 7 A block diagram of an example device that can be used to implement embodiments of the present disclosure is shown.

[0018] In all the accompanying figures, the same or similar reference numerals denote the same or similar elements. Detailed Implementation

[0019] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of these messages or information. It is understood that before using the technical solutions disclosed in the embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0020] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message. As an optional but non-limiting implementation, the prompt message can be sent to the user in the form of a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0021] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0022] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0023] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc., may refer to different or the same objects unless explicitly stated. Other explicit and implicit definitions may also be included below.

[0024] In related technologies, after users generate software products using models, they need to read the code themselves and cannot intuitively understand the underlying data of the software product, such as the data in the database. Therefore, users lacking coding skills or with poor coding skills cannot modify or adjust the software product, resulting in low development efficiency.

[0025] To address this issue, this disclosure proposes a method for updating software products. This method, after acquiring the software product, visualizes at least a portion of the database and integrates user modifications into the entire software product. This method lowers the technical barrier for users, simplifies the code modification process, and improves development efficiency.

[0026] The embodiments of this disclosure will now be described in further detail with reference to the accompanying drawings, wherein... Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. Example environment 100 includes an application 110 on a user device and a server 120. Server 120 may be deployed with models (such as multimodal machine learning models), which are trained models capable of generating content in response to user requests. In some embodiments, the user device and server 120 communicate via a network. The network may include a wired network, a wireless network, or a combination thereof for providing communication between the user device and server 120. In some embodiments, the user device may be connected to server 120 via a data cable; the present disclosure does not limit the connection method between the user device and server 120. In this embodiment, the methods of embodiments of the present disclosure are performed by application 110.

[0027] like Figure 1As shown, in application 110, a user can communicate with a model deployed on server 120. In some embodiments, the user can provide user input 112, "Write a management task software," in application 110 to update the software product. Upon receiving user input 112, application 110 transmits it to server 120. Upon receiving the request, server 120's internally deployed model initiates a workflow, performing deep semantic analysis and logical processing on the user input based on its powerful algorithms and training results, thereby generating a software product. This software product includes front-end code, back-end code, and a database associated with the user input. The software product documents the complete architecture and complex logic of the database, covering key elements such as database table structure design, field definitions, and relationships. In some embodiments, application 110 can acquire the software product, including the front-end code, database, and back-end code. For example, application 110 can display the front-end code and back-end code in the user's interactive interface for the user to copy at any time. In this embodiment, the software product is shown as a software product generated by the model based on user input, but this does not limit the source of the software product. The software product could also be a software product manually coded by the user, and so on.

[0028] In some embodiments, application 110 displays at least a portion of fields or data entries from a database in area 114 of the interface. The database may include one or more tables, the exact number depending on user input. In some embodiments, server 120 may use a table rendering engine to visualize the database tables to obtain code for displaying the tables. In some embodiments, this process transforms complex data structures into easily understandable visual code, which is then transmitted to the user device. The user device, based on the received visual code, renders the data tables in application 110 using a rendering framework. During this process, the user does not need to create a database on their own device; they can directly view the database tables within the application 110 interface. In some embodiments, if the user has suggestions for modifying the generated database, they can continue to provide these suggestions through a dialog box within application 110 and view the visual effects of the modified target database. This can improve the user experience and simplify software product modifications.

[0029] In some embodiments, the interface includes a data table management panel on the left and a display panel on the right. In some embodiments, the data table management panel lists one or more data tables included in the database, such as a task data table, allowing users to quickly locate and manage different data tables. In some embodiments, the display panel includes a control area and a content area. In some embodiments, the control area integrates a rich set of interactive components for data tables, where a filter setting component helps users quickly filter data that meets specific conditions, and a query component (i.e., the first component) supports users in performing complex query operations to obtain the required data.

[0030] In some embodiments, if a filter condition is received for a first component, a first data entry is presented on the interface. This first data entry is determined by the model from the set of data entries in the database based on the filter condition. For example, the model may determine the filter field and value range based on the filter condition. For example, the user can select filter conditions at various components in the interface. For example, selecting a specific field (such as ID) at "Select Field", selecting "equal to" at the relationship component, and selecting the value "2" at the "Query Value" component, the filter condition would be to filter data entries with ID=2. In some embodiments, the model determines the data entry that meets the filter condition (i.e., the first data entry) from the set of data entries in the database based on the filter field and value range. In some embodiments, this data entry is presented on the interface. For example, the second data entry can be displayed separately, while other data entries are hidden.

[0031] In some embodiments, the content area displays the contents of the currently displayed data table (e.g., a task data table). For example, a task data table may include four fields: "ID", "Name", "Completion Status", and "Description". Figure 1 The data represents three data entries: ID 01, name "Task 1", "Completion Status" is "Yes", and description is "Sweeping the floor"; ID 02, name "Task 2", "Completion Status" is "Yes", and description is "Classmate dinner"; and ID 03, name "Task 3", "Completion Status" is "No", and description is "Buying groceries".

[0032] In addition, users can adopt other forms of interaction design. For example, users can input commands through the input box 116 at the bottom instead of using the interactive components provided in the control area. For example, users can enter "Please filter data entries created today from the database" in input box 116. In this way, the model can filter the data entries in the database, find the data entries that meet the user's needs, and display them on the interface. In some embodiments, this command is a filtering command, which is sent to server 120 for intent parsing, and generates filtered data entries based on the filtering command and the content of the data table. The filtered data entries are processed using a table rendering engine to obtain content code, which is then sent to the user device. Application 110 can receive the content code, render it, and display the filtered data entries. In some embodiments, users can adjust the data entries in the data table on the interface. For example, users can double-click the "Task 1" cell, which displays an edit box. Users can enter edit content and modify the value of the cell. After user confirmation, the updated data table is displayed. That is, users can use the model to generate a visual database and adjust the database through a visual interface, which can improve processing efficiency and enhance user experience.

[0033] In some embodiments, if a modification to the database is received via an interface, application 110 can present an updated software product, which is updated by a model based on the software product and the modification. In some embodiments, after capturing a user's modification operation to the database, application 110 can structurally encapsulate the modification information. This encapsulated information includes at least the modification type (such as adding a field, modifying a field value, adjusting data table relationships, etc.), the modification location (the corresponding data table identifier, field identifier, or data entry index), and the modified content. Subsequently, application 110 sends the encapsulated modification information to server 120 in real time via a preset communication protocol.

[0034] In some embodiments, after receiving the modification information, the server 120 can initiate a multi-module collaborative processing mechanism. First, the data verification module performs a legality check on the modified content. The verification dimensions include, but are not limited to, data type matching (e.g., providing a prompt when the "Completion Status" field is modified to a non-Boolean value), field length limits, and data table association constraints (e.g., checking if a corresponding record exists in the associated table when modifying a foreign key field). If the verification fails, the server 120 generates feedback information containing the reason for the error, sends it to the application 110, and displays a prompt box on the interface to guide the user to correct the modified content. If the verification passes, the modification synchronization phase begins.

[0035] In some embodiments, during the modification synchronization phase, the database operation module of server 120 can perform updates to the underlying database to ensure that the original data remains consistent with the user's modifications. Following this, the code generation module can adaptively adjust the front-end and back-end code of the software product based on the modified database structure. For example, when a user adds a "due date" field to the task data table, the corresponding data receiving interface and data storage function in the back-end code can add processing logic for the "due date" parameter, while the table display component in the front-end code will add a "due date" column.

[0036] In some embodiments, for significant modifications involving core business logic (such as deleting key data tables or modifying primary key fields), server 120 can also trigger a version backup mechanism to automatically create a snapshot version of the software product before the modification and store it in the version management repository. Users can view all snapshot versions in the "Version History" interface of application 110. If problems are found after the modification, they can roll back to the specified version with one click, greatly reducing the risk of accidental operation.

[0037] After server 120 completes the code update, it can package and transmit the updated front-end and back-end code to application 110. Upon receiving the update package, application 110 can replace the local code and re-render the interface without restarting the application, displaying the updated software product's logo. Users can see the complete effect of the modified software product in real time without manually downloading and installing the update package, including changes to the field display in the front-end interface and optimizations to the back-end data processing logic.

[0038] In this embodiment, the software product generation process is optimized through a collaborative architecture between the user device application and the server. Users do not need to build a local database; they can view and modify the database through a visual interface. Software iteration requires no specialized programming knowledge; the model automatically generates a software product containing front-end and back-end code and the database, and the code automatically adapts and adjusts after modifications. Furthermore, this embodiment performs data validity verification before modifications, and core modifications trigger snapshot backups and one-click version rollback, avoiding the impact of accidental operations.

[0039] A network has a theoretical bandwidth, which refers to the maximum transmission speed supported by the network. It represents the maximum amount of data the network can transmit under ideal conditions, usually measured in bits per second (bps). For example, if the theoretical bandwidth of a network is 100 Mbps, it means that under ideal conditions it can transmit 100 megabits of data per second. However, in reality, due to other factors that may exist in the network (such as signal interference, bandwidth sharing, transmission delays, etc.), the actual transmission speed may not reach 100 Mbps.

[0040] It should be understood that a server instance can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. Servers can be connected directly or indirectly through wired or wireless communication methods, and this application does not impose any restrictions.

[0041] The user device can be any type of mobile computing device, including mobile computers (e.g., personal digital assistants, laptops, notebooks, tablets, netbooks, etc.), mobile phones (e.g., cellular phones, smartphones, etc.), wearable computing devices (e.g., smartwatches, head-mounted devices, including smart glasses, etc.) or other types of mobile devices. In some embodiments, the user device can also be a fixed computing device, such as a desktop computer, game console, smart TV, etc. It should be understood that the above operations can be performed jointly by the user device and the server.

[0042] It should be understood that the architecture and functionality in the example environment are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure. Embodiments of this disclosure can also be applied to other environments with different structures and / or functionalities.

[0043] The processes according to embodiments of this disclosure will be described in detail below with reference to other accompanying drawings. For ease of understanding, the specific data mentioned in the following description are exemplary and not intended to limit the scope of this disclosure. It will be understood that the embodiments described below may also include additional actions not shown and / or actions shown may be omitted, and the scope of this disclosure is not limited in this respect.

[0044] Figure 2 A flowchart of a method 200 for updating a software product according to certain embodiments of the present disclosure is shown. In this embodiment, it can be performed by... Figure 1The method is executed on server 120 in an embodiment. In block 202, a software product including front-end code, database, and back-end code is obtained. This software product can have a wide variety of sources, which are not limited in this disclosure. In some embodiments, the software product is a user-coded software product. In some embodiments, the software product may be a software product that is partially manually coded and partially model-coded. In some embodiments, the software product may be a software product previously generated by the user based on user input using a model, and now updated using the model. User input is an instruction or requirement information submitted by the user to the application, used to specify the type and function of the software product expected to be generated. It can take the form of text descriptions, voice commands, etc. The model is a machine learning model, such as a language model, deployed on a server and trained on a large amount of data. It can understand the semantics of user input and generate software code that meets the user's needs based on specific algorithms and training rules. For example, a user opens application 110 on a user device (such as a personal computer), and in the interactive interface provided by application 110, enters user input through a text box: "Create software to manage tasks, including task name, task description, task deadline, and task manager fields." In some embodiments, after receiving the text information, the input processing module inside application 110 performs preliminary format verification and encoding conversion to ensure that the information can be transmitted accurately. A database can be a structured collection of data used to store business data of software products, containing one or more data tables. Each data table consists of fields and data entries, recording the storage rules, relationships, and specific content of the data. A data entry, also called a data record, is a specific unit of information stored in the database, while a field is the basic unit in the data table used to define data attributes.

[0045] In box 204, at least a portion of the fields or data entries from the database are presented in the interface. In some embodiments, after the model generates the software product, the server can invoke a table rendering engine to convert the parsed structured information into visual code that conforms to the interface display standards. This process can adaptively adjust the rendering logic according to the data complexity, for example, matching date formatting display rules for date fields and using checkboxes or status labels for Boolean fields to ensure the intuitive display of different types of data. In some embodiments, the rendering framework on the user device can render the visual code, thereby displaying at least a portion of the database in the interface.

[0046] In box 206, the updated software product is presented. This updated software product is created by updating the model based on the software product and modifications. In this operation, based on the interface that displays the database in the above operation, users can modify the database in a visual manner. In some embodiments, the modifications can be cached locally for real-time display of the updated database. After the user confirms the modifications, they are sent to the server for synchronization with the front-end and back-end code, keeping the software product up-to-date.

[0047] According to the method of embodiments of this disclosure, after acquiring the software product, at least a portion of the database is visualized, and when a user makes modifications, these modifications are integrated into the entire software product. This method can lower the technical threshold for users, simplify the code modification process, and improve development efficiency.

[0048] Figure 3 A schematic diagram illustrating the process of adding data according to embodiments of the present disclosure is shown. In some embodiments, the interface includes an add data component (i.e., a second component), the database includes multiple fields including a primary key field (e.g., an ID field), a creation time field, and an update time field, and during user modification, if an operation is received on the add data component, a window (i.e., a first window) is provided for the newly added data entry. For example, a user can click on the add data component 310 on the interface to display two drop-down options: "Add Data Column" and "Add Data Row". For example, if the user clicks the "Add Data Row" option, window 320 will pop up.

[0049] In some embodiments, the editable content (i.e., the first editable content) is obtained based on window 320. Users can type the corresponding content in the edit boxes. In some embodiments, the editable items for the primary key field, creation time field, and update time field are grayed out by default and cannot be manually entered; only automatically generated values ​​are displayed, explicitly informing the user that these fields do not require manual editing. During the editing process, the edit boxes under different fields can provide different input spaces. Example input controls may include text boxes, drop-down selection boxes, date pickers, etc., used to match the data type of the field.

[0050] In some embodiments, newly added data entries are presented on the interface based on the edited content, wherein the values ​​of the primary key field, creation time field, and update time field of the newly added data entry are set according to a preset strategy. The newly added data entry is displayed, for example, below other data entries as part of a table. In some embodiments, the front-end code is modified to include the items to be displayed, and the database and back-end code are supplemented with support code for the newly added data entries. For example, the items to be displayed in the front-end code can be added based on the newly added data entries.

[0051] Regarding front-end code updates, the application can add a display configuration item for the data entry in the table rendering configuration of the front-end code. Simultaneously, the front-end pagination configuration will be updated. If the total number of data entries exceeds the single-page display limit after the addition, the total number of pages in the pagination control and the current page data count will be automatically adjusted to ensure the new entry is displayed correctly on the interface. Regarding database updates, the server model generates an INSERT statement for the new data entry, inserting all the integrated field values ​​into the corresponding data table. After insertion, a query operation is executed to verify whether the data was successfully written. If the writing fails, an error message is returned to the application. Regarding back-end code updates, the server model can supplement at least two types of support code: first, a data receiving interface, adding parameter receiving and validation logic for all fields of the data entry to ensure that the field values ​​transmitted from the front end conform to the database storage rules; second, a data query interface, updating the return logic of the query result set to ensure that subsequent query operations can accurately retrieve the new data entry. In this embodiment, users do not need to manually write or modify any code to achieve end-to-end adaptation of new data entries in front-end display, database storage, and back-end logic processing, further reducing the technical threshold for software development and improving the efficiency and completeness of data addition operations.

[0052] In some embodiments, fields and data entries are presented in a table. The interface includes a removal component (i.e., a third component) for the data entry in the database (i.e., the second data entry). If an operation is received on the removal component, the data entry is deleted from the table. The data entry is also removed from the database by the model, and the code associated with the second data entry is removed from the backend code by the model. In some embodiments, the data entry is simultaneously removed from the database by the model. In some embodiments, the code associated with the second data entry is removed from the backend code. For example, the backend code is first scanned for dedicated logic strongly associated with the second data entry, including customized query logic for the entry's primary key, corresponding data validation rules, and business processing branches that only adapt to the entry (such as state synchronization logic for a specific task). This ensures that subsequent logic operations no longer include the deleted entry, which helps to improve user modifications.

[0053] Similar to adding data entries, fields can also be added. In some embodiments, the interface includes an option to add a data column (i.e., a fourth component), which can be a different option from the option to add a data entry (e.g., add data component 310). And if an operation is received for the add data column component, a window for adding a field (i.e., a second window) is provided. In some embodiments, editable content (i.e., third editable content) is obtained based on the window. The user can enter an identifier for the field in the window; for example, the user can add a field "Responsible Person" to the displayed table.

[0054] In some embodiments, the newly added field "Responsible Person" is displayed on the interface based on the edited content. This newly added field can be listed on the right side of the table, and the value of each data entry in this column can be a default value. In some embodiments, the model supplements the new field in the database table and adds support code for the new field in the front-end and back-end code. For example, parameter receiving and validation logic for this field is added to the data receiving interface to ensure that the field value transmitted from the front-end conforms to the database storage rules. If the field is required, non-empty validation code is added in the back-end business logic layer. It should be noted that in the various embodiments described herein, these adjustments to the front-end code, back-end code, and database based on modifications can be recorded in prompts and performed by the model. In this embodiment, the user can complete the modification of the new field type without needing to operate or understand the code, thereby improving development efficiency.

[0055] like Figure 3 As shown, after the user clicks the "Add Data Column" option, window 330 is displayed. Window 330 includes a dialog box, and the application can receive input from the dialog box (i.e., the second input), as well as present the newly added field on the interface. The identifier and data type of the newly added field are determined by the model based on the input and the software product. For example, if the user enters "I want to add a 'Responsible Person' field," the model can analyze based on the user and the software product and automatically determine that the field name (i.e., column name) is "Responsible Person" and the data type is string.

[0056] Figure 4 A schematic diagram illustrating a process for modifying a value according to an embodiment of the present disclosure is shown. In some embodiments, the interface displays another data entry (i.e., a third data entry) that includes a first value for a first field, the first value being displayed in a first cell, and if an interactive action is received for the first value, a first edit box for the first value is displayed in the first cell, and second edit content for the first edit box is retrieved. For example, a user can hover a pointer over the cell (i.e., the first cell) where the value of the "Completion Status" field of the data entry with ID 1 is "Yes" (i.e., the first value). The application can provide an editing component 410 near "Yes," and when the user clicks the editing component 410, an edit box (i.e., the first edit box) is presented in that cell. The user can enter other values ​​in the edit box to replace the original value.

[0057] In some embodiments, "Yes" is modified according to the second edit content and presented in a table. For example, if the user changes "Yes" to "No", the value of the completion status field of the data entry with ID 1 in the table is changed to "No". In some embodiments, if the modified first value conforms to the corresponding data type, the database is modified by the model based on the modified first value. As mentioned above, the data type of this field is Boolean, and the modified value "No" conforms to the data type, so the model can modify the database based on the value "No". In some embodiments, if the modified first value does not conform to the corresponding data type, the model generates a correction suggestion 420 and presents the correction suggestion 420 on the interface. For example, if the user changes "Yes" to "Tomorrow", since the data type of this field is Boolean, the string "Tomorrow" does not conform to this data type, so correction suggestion 420 can be presented. The above analysis operations can be performed by the model. The modification suggestion can prompt the analysis process, such as why it does not conform to the data type.

[0058] Figure 5 A schematic diagram illustrating a process for modifying a field according to an embodiment of the present disclosure is shown. In some embodiments, the database includes a completion status field (i.e., a first field), which is displayed in a cell (i.e., a second cell), and if an interactive operation is received for the completion status field, an edit box (i.e., a second edit box) for the completion status field is displayed in the cell. At 502, the edit content for the edit box (i.e., fourth edit content) is obtained and the modified first field is presented. For example, a user can modify the completion status field to an ID field.

[0059] At the 504 error, the system checks if the modification conforms to validation rules. These rules can include, for example, preventing duplicate fields, as well as naming conventions and length limits. The application compares the field names in the edited content with all existing field names in the current table. If the current table is a related table (with foreign key relationships), the system also compares the field names in the related tables to ensure that field names are unique within the entire database's namespace. This check is triggered immediately after the user confirms the edits and requires no further action.

[0060] At point 506, if the modified first field does not meet the validation rules, the model generates and displays a prompt based on the modified first field and the software product. For example, if "Completion Status" is changed to "ID," which is duplicated with an existing ID field, the model generates a targeted prompt based on the modified first field, the business scenario of the software product, and existing field configurations. The prompt may appear as a pop-up dialog box or a red floating prompt text next to the cell, clearly showing the reason for the validation failure (e.g., "Field name ID already exists, please re-enter"). For example, the prompt could be "This modification may cause software crashes."

[0061] At step 508, if the modified first field conforms to the validation rules, the code referencing the first field in the database and backend code is modified accordingly. The validation rules indicate whether the first field name is duplicated. For example, the original identifier of the field in the database is updated to the modified field name, and the associated index is updated synchronously. In some embodiments, if the modified field name involves a change in the primary key attribute (e.g., changing "Completion Status" to "Responsible Person," and the "Responsible Person" field needs to be set as the primary key), the primary key constraint configuration is automatically supplemented, and the primary key index of the data table is adjusted synchronously. In some embodiments, the model scans all backend code files, locates and replaces all code locations referencing the original first field, including but not limited to data query statements, business logic judgment conditions (adjustment of logical branches based on field names), and interface parameter definitions (synchronization of field names in request / response bodies).

[0062] In this embodiment, users can directly trigger editing operations within the cells displaying fields, without needing specialized database tools or mastering complex operation commands. Once edited and confirmed, the subsequent validation process is triggered immediately, requiring no additional manual operation, significantly lowering the technical barrier for non-professional users to modify fields. Furthermore, this embodiment automatically completes field reference replacements at the database layer and backend code layer (query statements, business logic, interface parameters), eliminating the need for users to manually modify code or adjust database configurations, thus improving development efficiency.

[0063] In related technologies, releasing a software product requires a series of complex operations, such as registering a domain name, placing the code on a server accessible via the public internet (e.g., a virtual host), setting up DNS resolution services in the domain name service provider's backend, and deploying the website code, such as uploading local code to a specified directory on the server. However, the embodiments of this disclosure can achieve automatic release of software products. In some embodiments, the interface includes a release component (i.e., the fifth component), and if an operation is received on the release component, a pop-up window for editing the access address is presented, where a preset domain name is provided. For example, when a user trigger operation on the release component is detected (such as clicking, selecting, long-pressing, or other preset valid operations), the application can pop up a pop-up window for editing the access address, which pre-embeds a preset domain name that the application provider has already compliantly registered.

[0064] In some embodiments, the input publishing path (i.e., the first path) is obtained based on a pop-up window. This publishing path can be user-defined or randomly provided by the application. The publishing path specifies the storage location and access point of the software product within a preset domain name. In some embodiments, the application provides multiple automated verification mechanisms for the input publishing path: first, format verification, checking whether the path conforms to the directory naming conventions of the server's file system (e.g., prohibition of special characters, length limits, reasonable hierarchical structure, etc.); second, uniqueness verification, by querying currently occupied publishing paths on the server to determine if there is a conflict with the input path, and if a conflict exists, automatically prompting and recommending an available path; third, relevance verification, ensuring that the publishing path matches the access rules of the preset domain name (e.g., the correspondence between the path hierarchy and the domain's second-level directory). This allows the publishing service to be provided using paths under the domain name, omitting the process of applying for a domain name.

[0065] In some embodiments, the modified software product is published according to a preset domain name and its publishing path. Users can then access the software product using this preset domain name and path. In this embodiment, the publishing process is simplified, eliminating the need for users to possess expertise in domain name application, filing, DNS resolution, server maintenance, etc. By creating a preset compliant domain name and path, the user's software product is stored under a specific path on an existing domain name, allowing even non-professional users to quickly publish their software product.

[0066] In some embodiments, the modified software product includes modified front-end code, modified database, and modified back-end code. An access request for a first path of a first domain name is obtained, and a compilation result is obtained by compiling the modified front-end code, modified database, and modified back-end code. In some embodiments, the modified software product is displayed on the interface by rendering the compilation result. When the application obtains an access request for a preset domain name and publishing path, a layered compilation process can be initiated to ensure compatibility among the modified modules. For example, the back-end code's development language is matched to the corresponding compiler, performing syntax checks, code style verification (such as naming conventions, null pointer protection, and complete exception handling), and dependency package version adaptation (automatically downloading missing dependencies and resolving version conflicts), compiling to generate an executable file / bytecode file. For the front-end code, compilation and packaging generate static resource files (such as HTML / CSS / JS files). Next, the database, back-end compilation artifacts, and front-end compilation artifacts are integrated to generate a unified compilation result. Based on the unified compilation result, the overall interface framework (such as navigation bar, function area, data display area, and operation button area) is rendered to ensure that the product displayed on the interface fully matches the modified code and database. In this embodiment, users can publish their software products on the Internet with one click, thereby lowering the technical threshold and improving the publishing efficiency.

[0067] Figure 6 A schematic block diagram of an example device 600 according to some embodiments of the present disclosure is shown. Device 600 can be implemented by software, hardware, or a combination of both. Figure 6 As shown, the device 600 includes an acquisition module 610, a presentation module 620, and an update module 630.

[0068] In some embodiments, the acquisition module 610 may be configured to acquire a software product including front-end code, a database, and back-end code. The presentation module 620 may be configured to present at least a portion of the fields or data entries in the database in the interface. The update module 630 may be configured to present an updated software product, which is updated by the model based on the software product and modifications.

[0069] In some embodiments, the interface includes a first component, and the device 600 further includes a filter condition receiving module configured to present a first data entry on the interface in response to receiving a filter condition for the first component, wherein the first data entry is determined by the model from a set of data entries in a database based on the filter condition.

[0070] In some embodiments, the interface includes a second component, the database includes multiple fields including a primary key field, a creation time field, and an update time field, and the update module 630 includes: a first window module configured to provide a first window for adding data entries in response to receiving an operation on the second component; a first editing module configured to obtain first editing content based on the first window; and a new entry presentation module configured to present the new data entry on the interface based on the first editing content, wherein the values ​​of the primary key field, the creation time field, and the update time field of the new data entry are set according to a preset strategy, the front-end code is added with items to be displayed, and the database and back-end code are supplemented with support code for adding data entries.

[0071] In some embodiments, fields and data entries are presented in a table, the interface includes a third component for a second data entry in the database, and the apparatus 600 further includes: a deletion module configured to delete a second data entry from the table in response to receiving an operation on the third component; and wherein the second data entry is removed from the database by the model, and the code associated with the second data entry is removed from the backend code by the model.

[0072] In some embodiments, the interface displays a third data entry, the third data entry including a first value for a first field, the first value being displayed in a first cell, and the device 600 further includes: a first display module configured to display a first edit box for the first value in the first cell in response to receiving an interactive operation for the first value; a second acquisition module configured to acquire second edit content for the first edit box; a first modification module configured to modify the first value according to the second edit content, wherein if the modified first value conforms to the corresponding data type, the database is modified by the model based on the modified first value; and a suggestion module configured to present a correction suggestion on the interface in response to the modified first value not conforming to the corresponding data type, wherein the correction suggestion is generated by the model.

[0073] In some embodiments, the interface includes a fourth component, and the update module 630 includes: a second window module configured to provide a second window for the newly added field in response to receiving an operation on the fourth component; a third editing module configured to obtain third editing content based on the second window; a second presentation module configured to present the newly added field on the interface based on the third editing content; and wherein the newly added field is supplemented into a data table in the database by a model, and the support code for the newly added field is supplemented into the front-end code and the back-end code by a model.

[0074] In some embodiments, the second window includes a dialog box, and the device 600 further includes: a second input module configured to receive a second input to the dialog box; and a third presentation module configured to present a newly added field on the interface, wherein the identifier and data type of the newly added field are determined by the model based on the second input and the software product.

[0075] In some embodiments, the database includes a first field, the first field is displayed in a second cell, and the device 600 further includes: an interaction module configured to display a second edit box for the first field in the second cell in response to receiving an interaction operation for the first field; a third acquisition module configured to acquire fourth edit content for the second edit box and present the modified first field, wherein if the modified first field conforms to the validation rules, the database and the code referencing the first field in the backend code are modified by the model based on the modified first field, wherein the validation rules indicate whether the first field has a duplicate name; and a second validation module configured to present a prompt in response to the modified first field not conforming to the validation rules, wherein the prompt is generated by the model based on the modified first field and the software product.

[0076] In some embodiments, the interface includes a fifth component, and the device 600 further includes: a pop-up presentation module configured to present a pop-up window for editing an access address in response to receiving an operation on the fifth component, wherein a first domain name is provided; a path acquisition module configured to acquire an input first path based on the pop-up window; and a publishing module configured to publish the modified software product according to the first path of the first domain name.

[0077] In some embodiments, the modified software product includes modified front-end code, modified database, and modified back-end code, and the apparatus 600 further includes: a request acquisition module configured to acquire an access request for a first path of a first domain name; a compilation module configured to obtain a compilation result by compiling the modified front-end code, modified database, and modified back-end code; and a rendering module configured to display the modified software product on an interface by rendering the compilation result.

[0078] The division of modules or units in the embodiments of this disclosure is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. Furthermore, the functional units in the disclosed embodiments may be integrated into one unit, exist as separate physical entities, or two or more units may be integrated into one unit. The integrated unit described above can be implemented in hardware or as a software functional unit.

[0079] Figure 7 A block diagram of an example device 700 that can be used to implement embodiments of the present disclosure is shown. It should be understood that... Figure 7 The device 700 shown is merely an example and should not be construed as limiting the functionality and scope of the implementation described herein. For example, device 700 may correspond to the implementation described herein. Figure 1 The user equipment described above can be used to perform the above-described... Figures 1 to 5 The process. For example, device 700 may correspond to the electronic device of the third aspect of the invention.

[0080] like Figure 7 As shown, device 700 is in the form of a general-purpose computing device. Components of device 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage devices 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of device 700.

[0081] Device 700 typically includes multiple computer storage media. Such media can be any available media accessible to device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 720 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof). Storage device 730 can be removable or non-removable media and may include machine-readable media, such as flash drives, disks, or any other media capable of storing information and / or data (e.g., training data for training) and accessible within device 700.

[0082] Device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not specified in the original text... Figure 7 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various implementations of this disclosure.

[0083] The communication unit 740 enables communication with other computing devices via a communication medium. Additionally, the functionality of the components of device 700 can be implemented as a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, device 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.

[0084] Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc. Device 700 can also communicate as needed with one or more external devices (not shown) via communication unit 740. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with device 700, or with any device that enables device 700 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication can be performed via an input / output (I / O) interface (not shown).

[0085] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is provided that stores a computer program thereon, which, when executed by a processor, implements the methods described above.

[0086] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0087] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0088] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0089] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0090] Various implementations of this disclosure have been described above. The foregoing description is exemplary and not exhaustive, nor is it limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for updating a software product, comprising: Acquire software products including front-end code, database, and back-end code; Present at least a portion of the fields or data entries from the database in the interface; as well as In response to receiving a modification to the database via the interface, an updated software product is presented, the updated software product being updated by the model based on the software product and the modification.

2. The method of claim 1, wherein the interface includes a first component, and the method further includes: In response to receiving a filter condition for the first component, a first data entry is presented on the interface, wherein the first data entry is determined by the model from a set of data entries in the database based on the filter condition.

3. The method of claim 1, wherein the interface includes a second component, the database includes multiple fields, the multiple fields include a primary key field, a creation time field, and an update time field, and in response to receiving a modification to the database through the interface, presenting the updated software product includes: In response to receiving an operation for the second component, a first window is provided for the newly added data entry; The first edit content is obtained based on the first window; The newly added data entry is presented on the interface based on the first edited content. The values ​​of the primary key field, the creation time field, and the update time field of the newly added data entry are set according to a preset strategy. The front-end code is added with items to be displayed, and the database and back-end code are supplemented with support code for the newly added data entry.

4. The method of claim 1, wherein the fields and the data entries are presented in a table, the interface includes a third component for a second data entry of the database, and the method further includes: In response to receiving an operation for the third component, the second data entry is deleted from the table; as well as The second data entry is removed from the database by the model, and the code associated with the second data entry is removed from the backend code by the model.

5. The method according to claim 1, wherein the interface displays a third data entry, the third data entry including a first value, the first value being displayed in a first cell, and the method further comprising: In response to receiving an interactive operation for the first value, a first edit box for the first value is displayed in the first cell; Get the second edit content for the first edit box; The first value is modified according to the second edit content, wherein if the modified first value conforms to the corresponding data type, the database is modified by the model based on the modified first value; as well as In response to the modified first value not conforming to the corresponding data type, a correction suggestion is presented on the interface, wherein the correction suggestion is generated by the model.

6. The method of claim 1, wherein the interface includes a fourth component, and in response to receiving a modification to the database via the interface, presenting the updated software product comprises: In response to receiving an operation for the fourth component, a second window is provided for the newly added field; The third editing content is obtained based on the second window; The newly added field is presented on the interface based on the third edited content; and The newly added fields are added to the data tables of the database by the model, and the supporting code for the newly added fields is added to the front-end code and the back-end code by the model.

7. The method of claim 6, wherein the second window comprises a dialog box, and the method further comprises: Obtain a second input for the dialog box; as well as The newly added field is presented on the interface, wherein the identifier and data type of the newly added field are determined by the model based on the second input and the software product.

8. The method of claim 6, wherein the database includes a first field, the first field is displayed in a second cell, and the method further includes: In response to receiving an interactive operation for the first field, a second edit box for the first field is displayed in the second cell; Obtain the fourth edit content for the second edit box and present the modified first field, wherein if the modified first field meets the validation rules, the database and the code in the backend code that references the first field are modified by the model according to the modified first field, wherein the validation rules indicate whether the first field has a duplicate name; as well as In response to the modified first field not conforming to the validation rules, a prompt is displayed, wherein the prompt is generated by the model based on the modified first field and the software product.

9. The method of claim 1, wherein the interface includes a fifth component, and the method further includes: In response to receiving an operation for the fifth component, a pop-up window for editing the access address is presented, wherein the first domain name is provided; The first input path is obtained based on the pop-up window; as well as The modified software product is published according to the first path of the first domain name.

10. The method of claim 9, wherein the modified software product includes the modified front-end code, the modified database, and the modified back-end code, and the method further comprises: Obtain the access request for the first path of the first domain name; The compilation result is obtained by compiling the modified front-end code, the modified database, and the modified back-end code; as well as The modified software product is displayed on the interface by rendering the compilation results.

11. An apparatus for updating a software product, comprising: The acquisition module is configured to acquire software products including front-end code, database, and back-end code. The presentation module is configured to present at least a portion of the fields or data entries in the database in the interface; as well as The update module is configured to, in response to receiving a modification to the database via the interface, present an updated software product, the updated software product being updated by the model based on the software product and the modification.

12. An electronic device, comprising: At least one processing unit; At least one memory is coupled to the at least one processing unit and stores operations to be performed by the at least one processing unit, the operations causing the electronic device to perform the method according to any one of claims 1 to 10 when performed by the at least one processing unit.

13. A computer program product having a computer program stored thereon, which, when executed by a processor, implements the method according to any one of claims 1 to 10.