Program development method, device, system and equipment

By acquiring page modification requirements and application data, a page modification requirement document is generated. Combined with application knowledge and component libraries, the problems of low efficiency and poor system compatibility in existing technologies are solved, achieving efficient end-to-end automated development and improved system compatibility.

CN120994164APending Publication Date: 2025-11-21ALIBABA (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510884197.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-27
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

Existing automated program development suffers from low efficiency, lack of understanding of application semantics and domain knowledge, resulting in insufficient support for complex scenarios, poor system compatibility, long project cycles, and a lot of repetitive manual operations.

Method used

By acquiring page redesign requirements, generating page redesign requirement documents, combining application knowledge and data, generating redesigned page program code, building page component libraries and design component libraries, achieving efficient cross-role collaboration, eliminating differences in tools and capabilities, and automatically generating front-end code.

Benefits of technology

It achieves an end-to-end automated development chain from requirements to program code, reduces repetitive manual operations, improves the efficiency of R&D collaboration, generates page code that can improve application metrics, and enhances system compatibility and development efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120994164A_ABST
    Figure CN120994164A_ABST
Patent Text Reader

Abstract

The invention discloses a program development method, device, system and equipment. The method comprises the following steps: obtaining page transformation demand information; according to the page transformation demand information, generating a page transformation demand document; and according to the page transformation demand document, generating a transformed page program code. By adopting the processing mode, tool and capability differences among roles such as a product user, a design user and a front-end developer are eliminated, boundaries of a product role, a design role and a front-end role are obscured, cross-role efficient collaboration is realized, an automatic path of a front-end code is directly generated from requirements, and the efficiency is improved. The end-to-end automatic development link from the demand to the program code is realized, the manual repeated operation in the production and research cooperation is reduced, such as the iteration time consumption of 1-N products and the upstream and downstream repeated communication cost, and the project period is compressed; therefore, the production and research cooperation efficiency can be effectively improved, so that the program development efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of software development technology, specifically to software development methods, apparatus and systems, and electronic devices. Background Technology

[0002] With the rapid development of cutting-edge technologies such as artificial intelligence (AI), machine learning (ML), and cloud computing, automated development is gradually becoming the new normal in software engineering. It not only changes the way developers work, but also brings revolutionary leaps in efficiency, cost, and quality to software projects. A typical automated development approach involves gathering requirements through multi-turn dialogues and automatically generating some or all of the code based on the content of these dialogues.

[0003] However, the inventors of this application discovered at least the following problems in the prior art during the implementation of this application: 1) Efficiency bottleneck: Traditional automated development involves a high proportion of repetitive manual operations and long project cycles, including requirement alignment and cross-role communication, resulting in low efficiency of automated development; 2) Lack of in-depth understanding of application semantics and domain knowledge, supporting only simple development scenarios and unable to support complex scenarios; 3) Lack of understanding of application components and existing systems, resulting in poor compatibility of the modified system, requiring adaptation to the online system for each system iteration update, which consumes a high proportion of time, and often makes it difficult to achieve the level of "executable and maintainable" in actual implementation. Summary of the Invention

[0004] This application provides a program development method to address the problem of low efficiency in automated program development in existing technologies. This application also provides a program development apparatus and system, as well as electronic equipment.

[0005] This application provides a program development method, including:

[0006] Obtain information on page redesign requirements;

[0007] Based on the page redesign requirements, generate a page redesign requirements document;

[0008] Based on the page modification requirements document, generate the modified page program code.

[0009] Optionally, the method further includes:

[0010] Acquire application knowledge and application data;

[0011] The step of generating a page modification requirement document based on the page modification requirement information includes:

[0012] Based on the page redesign requirements, application knowledge, and application data, a page redesign requirements document is generated.

[0013] Optionally, the page modification requirement information includes requirement information for improving application metrics;

[0014] The application data includes user behavior data;

[0015] The step of generating a page modification requirement document based on the page modification requirement information, the application knowledge, and the application data includes:

[0016] Based on the requirements for improving application metrics, the application knowledge, and the user behavior data, determine the page components that affect the application metrics;

[0017] Based on the application knowledge and / or the user behavior data, determine the page component modification method and form a page development requirements document.

[0018] Optionally, the application data may also include application metric data;

[0019] The step of obtaining page components that affect application metrics based on the application metric modification requirements, the application knowledge, and the user behavior data includes:

[0020] Based on the application knowledge, obtain the application sub-indicators that affect the application indicators;

[0021] Based on the data of the application sub-indicators, determine the target application sub-indicators that need to be adjusted;

[0022] Based on the user behavior data, identify the page components that affect the target application's sub-metrics.

[0023] Optionally, the user behavior data includes: user operation behavior data and user feedback behavior data.

[0024] Optionally, acquire application knowledge, including:

[0025] Acquire application system description knowledge and / or application indicator level knowledge.

[0026] Optionally, obtain application system description knowledge, including:

[0027] Acquire application system description knowledge and / or application system visual description knowledge.

[0028] Optionally, obtain application system application description class knowledge, including:

[0029] Obtain page semantic data and / or application knowledge data.

[0030] Optionally, acquire visual description knowledge of the application system, including:

[0031] Get the application's user interface data.

[0032] Optionally, acquire application indicator level knowledge, including:

[0033] Acquire knowledge of internal application indicator levels and / or external application indicator levels.

[0034] Optionally, acquire external application metrics level knowledge, including:

[0035] Obtain industry research data.

[0036] Optionally, generating the modified page program code based on the page modification requirement document includes:

[0037] Based on the page redesign requirements document, generate a page design document;

[0038] Based on the page design document, generate the modified page program code.

[0039] Optionally, generating a page design document based on the page modification requirement document includes:

[0040] Based on the page redesign requirements document, generate a page prototype as the first page design document;

[0041] Show the design document for the first page;

[0042] Obtain the modified image of the first page design document;

[0043] Based on the modified diagram, generate the second page design document.

[0044] Optional, also includes:

[0045] Build a page component library and a design component library;

[0046] Obtain the mapping between page components and design components;

[0047] The step of generating a page design document based on the page modification requirements document includes:

[0048] Based on the page redesign requirements document, obtain the target design component from the design component library;

[0049] Based on the target design components and design specifications, generate page design documents;

[0050] The step of generating modified page program code based on the page design document includes:

[0051] Retrieve the target page component corresponding to the target design component;

[0052] Based on the target page components, generate the modified page program code.

[0053] Optionally, modification suggestions for the page modification requirement document can be obtained through multi-round dialogue.

[0054] Based on the suggested modifications, the page redesign requirements document was revised.

[0055] This application also provides a program development method, including:

[0056] The requirement gathering unit is used to gather information on page modification requirements.

[0057] The requirement document generation unit is used to generate a page modification requirement document based on the page modification requirement information.

[0058] The page code generation unit generates the modified page program code based on the page modification requirement document.

[0059] This application provides an electronic device, including:

[0060] Processor; and

[0061] A memory for storing a program for implementing the method described in any of the preceding methods, wherein the device is powered on and the program of the method is executed by the processor.

[0062] This application discloses a program development system, comprising:

[0063] The client is used to obtain page modification requirement information and send the page modification requirement information to the server.

[0064] The server is used to receive the page modification requirement information; generate a page modification requirement document based on the page modification requirement information; and generate the modified page program code based on the page modification requirement document.

[0065] This application also provides a program development method for a client, including:

[0066] Obtain information on page redesign requirements;

[0067] The page modification requirement information is sent to the server, enabling the server to generate a page modification requirement document based on the page modification requirement information; and to generate the modified page program code based on the page modification requirement document.

[0068] This application also provides a program development method for a server, including:

[0069] Receive page modification request information sent by the client;

[0070] Based on the page redesign requirements, generate a page redesign requirements document;

[0071] Based on the page modification requirements document, generate the modified page program code.

[0072] This application also provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the various methods described above.

[0073] This application also provides a computer program product including instructions that, when run on a computer, cause the computer to perform the various methods described above.

[0074] Compared with the prior art, this application has the following advantages:

[0075] The program development method provided in this application involves obtaining page modification requirement information; generating a page modification requirement document based on the page modification requirement information; and generating modified page program code based on the page modification requirement document. This approach eliminates the differences in tools and capabilities among product users, design users, and front-end developers, blurring the boundaries between these roles and enabling efficient cross-role collaboration. It achieves an automated path from requirements to front-end code generation, realizing an end-to-end automated development chain from requirements to program code. This reduces repetitive manual operations in R&D collaboration, such as the time spent on product iterations from 1 to N, and the costs of repeated communication with upstream and downstream partners, thus shortening the project cycle. Therefore, it can effectively improve the efficiency of R&D collaboration, thereby improving program development efficiency.

[0076] Furthermore, the program development method provided in this application embodiment acquires application knowledge and application data; and generates a page modification requirement document based on the page modification requirement information, the application knowledge, and the application data. This processing approach enables a deep understanding of application semantics and domain knowledge by combining application semantics and domain knowledge, allowing for the parsing of higher-level requirements such as "reducing user churn rate" and the generation of page code that can improve application metrics.

[0077] Furthermore, the program development method provided in this application embodiment acquires application knowledge and application data; page modification requirement information includes requirement information for improving application metrics; the application data includes user behavior data and / or application metric data; based on the requirement information for improving application metrics, the application knowledge, and the user behavior data and / or application metric data, page components affecting application metrics are determined; based on the application knowledge, user behavior data, and / or application metric data, the page component modification method is determined, forming a page development requirement document. This processing method enables a deep understanding of application semantics and domain knowledge by combining application semantics and domain knowledge related to user behavior and application metrics, allowing for the parsing of higher-level requirements such as "reducing user churn rate" and the generation of page code that can improve application metrics.

[0078] Furthermore, the program development method provided in this application embodiment involves: constructing a page component library and a design component library; obtaining the correspondence between page components and design components; obtaining target design components from the design component library based on the page modification requirement document; generating a page design document based on the target design component and design specifications; obtaining the target page component corresponding to the target design component; and generating the modified page program code based on the target page component. This approach aligns the component library with the online system by combining design assets, achieving an understanding of application components and the existing system. The modified system has better compatibility, each system iteration update does not require adaptation to the online system, the generated code does not require manual refactoring, and the actual implementation can reach the level of "executable and maintainable". Attached Figure Description

[0079] Figure 1 A flowchart illustrating an embodiment of the program development method provided in this application;

[0080] Figure 2 This application provides a schematic diagram of the structure of an embodiment of the program development apparatus. Detailed Implementation

[0081] Many specific details are set forth in the following description to provide a full understanding of this application. However, this application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this application; therefore, this application is not limited to the specific embodiments disclosed below.

[0082] This application provides methods, apparatus, and systems for program development, as well as electronic devices. The various solutions are described in detail below in each embodiment.

[0083] First Embodiment

[0084] Please refer to Figure 1This is a flowchart of the program development method of this application. In this embodiment, the method may include the following steps:

[0085] Step S101: Obtain page modification requirements information.

[0086] Page redesign requests can be described in natural language, such as a one-sentence request. For example, a page redesign request could be "Improve the shopping cart purchase conversion rate on the homepage of application A" or "I need to add a new module to the homepage of application A; please design a suitable layout for me," and so on.

[0087] In one example, step S101 can be implemented as follows: the client obtains page modification requirement information; correspondingly, the method provided in this application embodiment may further include the following steps: the client sends page modification requirement information to the server; correspondingly, steps S103 and S105 are executed by the server. This processing method allows users to input page modification requirement information through the client; the server parses the page modification requirement information to generate a page modification requirement document; and based on the requirement document, the modified page program code is generated; thus, it can effectively improve the user experience.

[0088] In one example, the method provided in this application embodiment may further include the following steps: obtaining modification requirement information for the page redesign requirement document through a multi-turn dialogue; and modifying the page redesign requirement document according to the modification requirement information. This approach allows users to provide modification suggestions for the page redesign requirement document automatically generated by the system, and the system automatically modifies the generated page redesign requirement document based on the user's suggestions; therefore, it can effectively improve the user experience.

[0089] In one example, the server can provide the client with a page redesign requirement document; the client obtains modification requirements information for the document through a multi-turn dialogue; the server then modifies the document based on these requirements. This approach effectively improves the user experience.

[0090] Step S103: Generate a page modification requirement document based on the page modification requirement information.

[0091] This step generates a complete Page Redesign Requirements Document (PRD) based on the page redesign requirements information described in natural language.

[0092] In one example, the method provided in this application embodiment may further include the following steps: acquiring application knowledge and application data; generating a page modification requirement document based on the page modification requirement information includes: generating a page modification requirement document based on the page modification requirement information, the application knowledge, and the application data. Application knowledge refers to knowledge-based data of the application system, which allows for a deeper understanding of domain knowledge. Application data refers to data generated during the operation of the application system, which allows for a deeper understanding of application semantics. This processing method enables a deeper understanding of application semantics and domain knowledge, resulting in a page modification requirement document that better meets application needs; therefore, it can effectively improve the accuracy of the page modification requirement document.

[0093] In one example, the page redesign requirement information includes requirements for improving application metrics; the application data includes at least one of the following: user behavior data and application metric data; generating a page redesign requirement document based on the page redesign requirement information, the application knowledge, and the application data includes: determining page components affecting application metrics based on the requirements for improving application metrics, the application knowledge, and the user behavior data and / or application metric data; determining the redesign method for page components based on the application knowledge, user behavior data, and / or application metric data, thus forming a page development requirement document. The user behavior data includes at least one of the following: user operation behavior data and user feedback behavior data. The application metric data includes application metrics at various levels, such as primary application metrics, secondary application metrics, etc. Secondary application metrics affect primary application metrics, and secondary application metrics are referred to as sub-metrics of primary application metrics. This processing method enables a deep understanding of application semantics and domain knowledge by combining application semantics related to user behavior and application metrics, and can parse high-level requirements such as "reducing user churn rate" to generate page code that can improve application metrics.

[0094] For example, the requirement for improving application metrics is "to increase shopping cart purchase conversion rate"; based on user behavior, the page components that affect the shopping cart purchase conversion rate include: coupon redemption components, checkout process components, etc.; thus, the page component modification methods include: placing the coupon redemption component before opening the checkout page, and simplifying the checkout process of the checkout process components.

[0095] For example, the requirement information for improving application metrics is "to increase shopping cart purchase conversion rate"; based on the application metrics, the page components that affect the shopping cart purchase conversion rate include: component A; therefore, the page component modification methods include: adjusting the style and content of component A, etc.

[0096] For example, the requirement information for improving application metrics is "to increase shopping cart purchase conversion rate"; based on application metrics and user behavior, the page components that affect the shopping cart purchase conversion rate include: component B; thus, the page component modification methods include: the style and content of the entire component B.

[0097] In one example, determining the page components affecting application metrics based on the requirements for improving application metrics, the application knowledge, and user behavior data and / or application metric data includes: obtaining application sub-metrics affecting the application metrics based on the application knowledge; determining the target application sub-metric that needs adjustment based on the application sub-metric data; and determining the page components affecting the target application sub-metric based on the user behavior data. Application sub-metrics can be types of issues that need improvement in the application metrics. This approach can uncover deeper issues affecting application metrics and modify the page components that cause these issues; therefore, it can further improve the accuracy of the requirements document.

[0098] The following example provides a more intuitive explanation of the specific implementation process of the above step, "Based on the requirements for improving application metrics, the application knowledge, and user behavior data and / or application metric data, determine the page components that affect application metrics." This step may include the following sub-steps:

[0099] 1) Based on the application knowledge, obtain the impact of application sub-indicators that affect the application indicators;

[0100] For example, the sub-metrics (application sub-metrics) of "shopping cart purchase conversion rate" (application metric) include: shopping cart abandonment rate, checkout process complexity, and price and inventory transparency.

[0101] 2) Obtain application sub-indicator data;

[0102] For example, sub-metrics affecting "shopping cart abandonment rate" include: shipping costs, inventory levels, and whether coupons were claimed. Based on user behavior data regarding shipping costs and inventory levels, we can determine whether users felt the shipping costs were high or were dissatisfied with the inventory levels. Based on user coupon claiming behavior data, we can determine whether users claimed coupons. We can then obtain the number of users who abandoned their shopping cart due to high shipping costs, dissatisfaction with inventory levels, and the number of users who abandoned their shopping cart without claiming coupons. Based on these user numbers and the total number of users with shopping carts, we can obtain the shopping cart abandonment rate.

[0103] 3) Based on the application sub-indicator data, determine the target application sub-indicators that need to be adjusted;

[0104] For example, if the shopping cart abandonment rate is higher than a threshold, it is determined that the shopping cart abandonment rate needs to be adjusted.

[0105] 4) Based on the user behavior data, determine the page components that affect the target application's sub-metrics;

[0106] For example, based on user behavior data, if the main reason for the low shopping cart abandonment rate is that users did not claim coupons, the coupon claiming component can be modified, such as changing it to a coupon recommendation component. If the low shopping cart abandonment rate is also due to high shipping costs, the shipping component should be modified, such as displaying the total price including shipping and indicating free shipping for specific amounts. If the low shopping cart abandonment rate is also due to unclear inventory, the inventory component should be modified, such as using color-coded inventory status.

[0107] In one example, acquiring application knowledge includes: acquiring application system description knowledge and / or application metric level knowledge. Acquiring application system description knowledge includes: acquiring application system application description knowledge and / or application system visual description knowledge. Acquiring application system application description knowledge includes: acquiring page semantic data and / or application knowledge data. Acquiring application system visual description knowledge includes: acquiring application user interface data. Acquiring application metric level knowledge includes: acquiring internal application metric level knowledge and / or external application metric level knowledge. Acquiring external application metric level knowledge includes: acquiring industry research data.

[0108] In one example, the method provided in this application embodiment may further include the following steps: obtaining a requirement document corpus dataset; generating application knowledge and application data based on the corpus dataset, wherein the application knowledge and application data are referred to as a semantic dataset. This processing approach allows for the collection of corpus data from page development requirement documents across multiple application systems, and the extraction of semantic data from the corpus dataset to form a semantic dataset, thereby better refining the application context.

[0109] In one example, acquiring the requirements document corpus dataset includes: an application system description corpus dataset; a user behavior corpus dataset; and an application metrics corpus dataset. The application system description corpus describes the application itself; based on this corpus, we can understand what the application is like. The user behavior corpus describes user behavior characteristics; based on this corpus, we can understand how users use the application. The application metrics corpus describes the characteristics of application data; based on this corpus, we can understand the application metrics levels. This processing approach enables the automated program development system to deeply understand application semantics and domain knowledge; therefore, it can improve the accuracy of the requirements document.

[0110] In one example, obtaining the corpus dataset for application system description includes: obtaining the corpus dataset for application system application description; obtaining the corpus dataset for application system visual description. The application system description corpus can be further divided into application system application description (application class) and application system visual description (visual class). Obtaining the corpus dataset for application system application description includes: obtaining the page semantic dataset; obtaining the application knowledge dataset. Page semantic data refers to data describing the meaning of application pages, which can be collected from the program code management system. Application knowledge data refers to data describing the domain knowledge of the application, which can be obtained from page development requirement documents (PRD), application knowledge bases, and frequently asked questions (FAQ) knowledge bases. Obtaining the corpus dataset for application system visual description includes: obtaining the application user interface dataset. The visual application description corpus includes the application user interface (UI) dataset. Application UI data refers to data describing the application UI design, which can be obtained from the enterprise design asset system (Done), component system, and HTML documents.

[0111] In one example, acquiring a corpus dataset of user behavior includes: acquiring an objective user behavior corpus dataset; and acquiring a subjective user behavior corpus dataset. User behavior corpus can be further divided into objective user behavior (objective category) and subjective user behavior (subjective category). Acquiring an objective user behavior corpus dataset includes: acquiring a user behavior dataset, which can be collected from a log system. Acquiring a subjective user behavior corpus dataset includes: acquiring a user feedback dataset, which can be collected from a work order system.

[0112] In one example, acquiring the corpus dataset for application indicator levels includes: acquiring the corpus dataset for internal application indicator levels; and acquiring the corpus dataset for external application indicator levels. Application indicator levels can be further divided into internal and external application indicator levels. Acquiring the corpus dataset for internal application indicator levels includes: acquiring the application goal dataset; and acquiring the application effect indicator set. The application goal data describes the desired application goals, and can be collected from a performance OKR system. The application effect indicators describe the actual application results, and can be collected from business intelligence (BI) systems. Acquiring the corpus dataset for external application indicator levels includes: acquiring an industry research dataset, which can be collected from the internet.

[0113] As can be seen from the foregoing, the method provided in this application embodiment can extract data from multiple application systems as corpus data for page development requirement documents. In specific implementation, it may be necessary to interface with the usage permissions of multiple systems.

[0114] Step S105: Generate the modified page program code according to the page modification requirement document.

[0115] In one example, step S105 includes: generating a page design document based on the page modification requirement document; and generating the modified page program code based on the page design document. This approach combines automatically generated design documents with a manual backup mechanism to achieve a segmented delivery model; therefore, it effectively balances program generation efficiency and quality.

[0116] In one example, the step of generating a page design document based on the page modification requirement document includes: generating a first page design document, such as a page prototype, based on the page modification requirement document; displaying the first page design document; obtaining a modified image of the first page design document; and generating a second page design document based on the modified image, such as modifying the page prototype based on the modified image. This approach allows for the generation of a first page design document (such as an HTML prototype) based on the page modification requirement document. When fine-tuning is needed, the first page design document is converted into a design image (such as a MasterGo design draft), and a deliverable front-end page is generated based on the adjusted page design document. Therefore, the value of the requirement-to-design phase is reduced from days to hours, or even minutes, achieving a 10-100 times efficiency improvement.

[0117] In one example, the method provided in this application embodiment may further include the following steps: constructing a page component library and a design component library; obtaining the correspondence between page components and design components; generating a page design document based on the page modification requirement document includes: obtaining a target design component from the design component library based on the page modification requirement document; generating a page design document based on the target design component and design specifications; generating modified page program code based on the page design document includes: obtaining a target page component corresponding to the target design component; generating modified page program code based on the target page component. This processing method enables the generation of a front-end component library that meets application requirements, a design component library that users convert into design drafts, a one-to-one mapping between components in the front-end component library and the design component library, a deeper understanding of application components and design assets, and the generation of page program code. This standardizes the original delivery model and improves consistency and flexibility.

[0118] As can be seen from the above embodiments, the program development method provided in this application obtains page modification requirement information; generates a page modification requirement document based on the page modification requirement information; and generates modified page program code based on the page modification requirement document. This approach eliminates the differences in tools and capabilities among product users, design users, and front-end developers, blurring the boundaries between product roles, design roles, and front-end roles, enabling efficient cross-role collaboration and an automated path for directly generating front-end code from requirements. This achieves an end-to-end automated development chain from requirements to program code, reducing repetitive manual operations in product development collaboration, such as the time spent on product iterations from 1 to N, and the costs of repeated communication with upstream and downstream partners, thus shortening the project cycle. Therefore, it can effectively improve the efficiency of product development collaboration, thereby improving program development efficiency.

[0119] Second Embodiment

[0120] In the above embodiments, a program development method is provided. Correspondingly, this application also provides a program development apparatus. This apparatus corresponds to the embodiments of the method described above. Since the apparatus embodiments are basically similar to the method embodiments, the description is relatively simple, and relevant details can be found in the description of the method embodiments. The apparatus embodiments described below are merely illustrative.

[0121] This application also provides a program development apparatus, comprising: a requirements acquisition unit 1 for acquiring page modification requirements information; a requirements document generation unit 2 for generating a page modification requirements document based on the page modification requirements information; and a page code generation unit 3 for generating modified page program code based on the page modification requirements document.

[0122] In one example, the apparatus further includes: a data acquisition unit for acquiring application knowledge and application data; the step of generating a page modification requirement document based on the page modification requirement information includes: generating a page modification requirement document based on the page modification requirement information, the application knowledge, and the application data.

[0123] In one example, the page redesign requirement information includes requirements for improving application metrics; the application data includes user behavior data and / or application metric data; generating a page redesign requirement document based on the page redesign requirement information, the application knowledge, and the application data includes: determining the page components affecting the application metrics based on the requirements for improving application metrics, the application knowledge, and the user behavior data and / or application metric data; determining the redesign methods for the page components based on the application knowledge, user behavior data, and / or application metric data, and forming a page development requirement document.

[0124] In one example, determining the page components affecting the application metrics based on the application metrics improvement requirements and the application knowledge, as well as user behavior data and / or application metric data, includes: obtaining application sub-metrics affecting the application metrics based on the application knowledge; determining the target application sub-metrics that need to be adjusted based on the application sub-metric data; and determining the page components affecting the target application sub-metrics based on the user behavior data.

[0125] In one example, generating the modified page program code based on the page modification requirement document includes: generating a page design document based on the page modification requirement document; and generating the modified page program code based on the page design document.

[0126] In one example, generating a page design document based on the page modification requirement document includes: generating a page prototype as a first page design document based on the page modification requirement document; displaying the first page design document; obtaining a modified image of the first page design document; and generating a second page design document based on the modified image.

[0127] In one example, the apparatus further includes: a component library building unit for building a page component library and a design component library; a component correspondence acquisition unit for acquiring the correspondence between page components and design components; the step of generating a page design document based on the page modification requirement document includes: acquiring a target design component from the design component library based on the page modification requirement document; generating a page design document based on the target design component and design specifications; the step of generating modified page program code based on the page design document includes: acquiring a target page component corresponding to the target design component; generating modified page program code based on the target page component.

[0128] In one example, modification suggestions for the page redesign requirement document are obtained through a multi-turn dialogue; the page redesign requirement document is then modified based on these suggestions.

[0129] Third Embodiment

[0130] In the above embodiments, a program development method is provided. Correspondingly, this application also provides an electronic device. This device corresponds to the embodiments of the above method. Since the device embodiments are basically similar to the method embodiments, the description is relatively simple, and relevant details can be found in the description of the method embodiments. The device embodiments described below are merely illustrative.

[0131] The electronic device of this embodiment includes: a memory and a processor; the memory is used to store a program for implementing the method, and the device is powered on and runs the program of the above-described program development method through the processor.

[0132] Memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0133] In specific implementations, the electronic device may also include one or more of the following components: a power supply component, an input / output (I / O) interface, and a communication component. The power supply component provides power to various components of the electronic device. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device. The I / O interface provides an interface between the processor 503 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. The communication component is configured to facilitate wired or wireless communication between the electronic device and user devices (such as smartphones, tablets, etc.).

[0134] Fourth embodiment

[0135] In the above embodiments, a program development method was provided. Correspondingly, this application also provides a program development system. This system corresponds to the embodiments of the method described above. Since the system embodiments are basically similar to the method embodiments, the description is relatively simple; relevant details can be found in the descriptions of the method embodiments. The system embodiments described below are merely illustrative.

[0136] The program development system of this embodiment includes: a client, used to obtain page modification requirement information; send the page modification requirement information to a server; a server, used to receive the page modification requirement information; generate a page modification requirement document based on the page modification requirement information; and generate modified page program code based on the page modification requirement document.

[0137] In one example, a user submitting a page redesign request uses a first client, while a user modifying the page redesign request document uses a second client. The first client is used to obtain page redesign request information and send it to the server. Specifically, the server generates a first page design document based on the page redesign request document and provides it to the second client. The second client displays the first page design document, obtains a modified image of the first page design document, and sends the modified image to the server. Specifically, the server generates a second page design document based on the modified image and generates the redesigned page program code based on the second page design document.

[0138] Fifth Embodiment

[0139] This application also provides a computer-readable storage medium. Since the embodiments of the computer-readable storage medium are substantially similar to the method embodiments, the description is relatively simple; relevant details can be found in the description of the method embodiments. The computer-readable storage medium embodiments described below are merely illustrative.

[0140] In this embodiment, a non-transitory computer-readable storage medium including instructions is provided, such as a memory including instructions, which can be executed by a processor of an electronic device to complete the content risk identification method provided by this disclosure. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0141] It should be noted that the embodiments of this application may involve the use of user data. In practical applications, user-specific personal data may be used in the scheme described herein within the scope permitted by applicable laws and regulations, provided that it complies with the applicable laws and regulations of the country (e.g., with the user's explicit consent, with the user being properly notified, etc.).

[0142] Although this application discloses preferred embodiments as described above, it is not intended to limit this application. Any person skilled in the art can make possible changes and modifications without departing from the spirit and scope of this application. Therefore, the scope of protection of this application should be determined by the scope defined in the claims of this application.

[0143] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0144] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0145] 1. Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include non-transitory computer-readable media, such as modulated data signals and carrier waves.

[0146] 2. Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

Claims

1. A program development method, characterized in that, include: Obtain information on page redesign requirements; Based on the page redesign requirements, generate a page redesign requirements document; Based on the page modification requirements document, generate the modified page program code.

2. The method according to claim 1, characterized in that, Also includes: Acquire application knowledge and application data; The step of generating a page modification requirement document based on the page modification requirement information includes: Based on the page redesign requirements, application knowledge, and application data, a page redesign requirements document is generated.

3. The method according to claim 2, characterized in that, The page modification requirements include requirements for improving application metrics; The application data includes: user behavior data and / or application metric data; The step of generating a page modification requirement document based on the page modification requirement information, the application knowledge, and the application data includes: Based on the requirements for improving application metrics and the application knowledge, as well as user behavior data and / or application metric data, determine the page components that affect the application metrics. Based on the application knowledge, user behavior data, and / or application metric data, determine the page component modification method and form a page development requirements document.

4. The method according to claim 3, characterized in that, The step of determining the page components affecting application metrics based on the requirement information for improving application metrics, the application knowledge, and user behavior data and / or application metric data includes: Based on the application knowledge, obtain the application sub-indicators that affect the application indicators; Based on the application sub-indicator data, determine the target application sub-indicators that need to be adjusted; Based on the user behavior data, identify the page components that affect the target application's sub-metrics.

5. The method according to claim 1, characterized in that, The step of generating the modified page program code based on the page modification requirement document includes: Based on the page redesign requirements document, generate a page design document; Based on the page design document, generate the modified page program code.

6. The method according to claim 5, characterized in that, The step of generating a page design document based on the page modification requirements document includes: Based on the page redesign requirements document, generate the first page design document; Show the design document for the first page; Obtain the modified image of the first page design document; Based on the modified diagram, generate the second page design document.

7. The method according to claim 5, characterized in that, Also includes: Build a page component library and a design component library; Obtain the mapping between page components and design components; The step of generating a page design document based on the page modification requirements document includes: Based on the page redesign requirements document, obtain the target design component from the design component library; Based on the target design components and design specifications, generate page design documents; The step of generating modified page program code based on the page design document includes: Retrieve the target page component corresponding to the target design component; Based on the target page components, generate the modified page program code.

8. A program development method, characterized in that, include: The requirement gathering unit is used to gather information on page modification requirements. The requirement document generation unit is used to generate a page modification requirement document based on the page modification requirement information. The page code generation unit generates the modified page program code based on the page modification requirement document.

9. An electronic device, characterized in that, include: processor; as well as A memory for storing a program for implementing the method according to any one of claims 1 to 7, wherein the device is powered on and the program for running the method is executed by the processor.

10. A program development system, characterized in that, include: The client is used to obtain information on page modification requirements; Send the page modification request information to the server; The server is used to receive the page modification requirement information; generate a page modification requirement document based on the page modification requirement information; and generate the modified page program code based on the page modification requirement document.

11. A program development method for a client, characterized in that, include: Obtain information on page redesign requirements; Send the page modification requirement information to the server, so that the server can generate a page modification requirement document based on the page modification requirement information; Based on the page modification requirements document, generate the modified page program code.

12. A program development method for a server, characterized in that, include: Receive page modification request information sent by the client; Based on the page redesign requirements, generate a page redesign requirements document; Based on the page modification requirements document, generate the modified page program code.