Business development method and device, storage medium and computer equipment

By creating independent modules for each business function and using common development plugins for code packaging, the problem of cross-departmental testing in multi-business projects was solved, enabling independent development and testing, saving costs, and improving efficiency.

CN115509499BActive Publication Date: 2026-06-09KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD
Filing Date
2022-10-18
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

In project development involving multiple business units and departments, existing technologies need to undergo regression testing on other business functions, resulting in a waste of manpower and time.

Method used

Create independent business modules for each business, package the code using a common development plugin, and insert the packaged files into script tags to achieve code separation and independent testing.

Benefits of technology

It enables independent packaging and release of different business functions, reducing cross-departmental communication and testing time, saving development costs, and improving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115509499B_ABST
    Figure CN115509499B_ABST
Patent Text Reader

Abstract

The application relates to the field of digital medical treatment, and discloses a business development method and device, a storage medium, and computer equipment. The method comprises the following steps: acquiring business identifiers of a plurality of businesses in a target project, and creating a business module corresponding to each business identifier to form a business module set containing all the business modules; when a business code packaging instruction for the target project sent by a target development terminal is received, a corresponding business module is queried from the business module set as an initial business module based on a target business identifier carried by the business code packaging instruction; a script tag of the target business is created in the initial business module, and a public development plug-in of the target project is sent to the target development terminal, so that the target development terminal references the public development plug-in to package the target business code into a target business code file; and the target business code file is inserted into the script tag to obtain a target business module. The method helps to reduce business development cost and improve business development efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of business development and digital healthcare technology, and in particular to a business development method and apparatus, storage medium, and computer equipment. Background Technology

[0002] In the business development process of a single project, collaborations often occur across multiple business units and departments. Due to the specific nature of the business, development tasks often rely on the cooperation of other business units, and the more business units involved, the more complex the process becomes. A drawback of this development approach is that when a company has multiple business modules and projects involve collaboration between multiple business departments, if a business line needs to modify a function, regression testing of other business functions is usually required to avoid impacting other business functions and wasting manpower and time from each business unit. Summary of the Invention

[0003] In view of this, this application provides a business development method and apparatus, storage medium, and computer equipment, which helps to improve development efficiency and reduce development costs.

[0004] According to one aspect of this application, a business development method is provided, the method comprising:

[0005] Obtain the business identifiers of multiple services in the target project, and create a business module corresponding to each business identifier to form a business module set containing all the business modules;

[0006] When a business code packaging instruction for the target project is received from the target development terminal, the corresponding business module is queried from the business module set as the initial business module based on the target business identifier carried by the business code packaging instruction.

[0007] In the initial business module, a script tag for the target business is created, and a common development plugin for the target project is sent to the target development terminal so that the target development terminal can use the common development plugin to package the target business code into the target business code file.

[0008] The target business code file is inserted into the script tag to obtain the target business module.

[0009] Optionally, after creating the script tag for the target business in the initial business module, the method further includes:

[0010] Set the insertion object of the script tag to the target business code file in the target development terminal;

[0011] Accordingly, the step of referencing the target business code file through the script tag to obtain the target business module includes:

[0012] Based on the insertion object set by the script tag, the target business code file in the target development terminal is inserted into the script tag to obtain the target business module.

[0013] Optionally, after querying the corresponding business module in the set of business modules as the initial business module, the method further includes:

[0014] Create a segmentation marker for the target service in the initial service module;

[0015] Accordingly, inserting the target business code file into the script tag to obtain the target business module includes:

[0016] The document object model structure in the target business code file is inserted into the partition mark, the business page corresponding to the target business is rendered based on the partition mark, and the business page is sent to the target development terminal for display.

[0017] When the target development terminal receives a confirmation instruction for the business page, the target business code file is inserted into the script tag to obtain the target business module.

[0018] Optionally, after creating the segmentation marker for the target service in the initial service module, the method further includes:

[0019] Set the insertion object of the partition marker to the document object model structure of the target business code file in the target development terminal;

[0020] Accordingly, inserting the document object model structure from the target business code file into the separator tag includes:

[0021] Based on the insertion object set by the partition marker, the document object model structure in the target business code file is inserted into the partition marker.

[0022] Optionally, the target development terminal references the common development plugin to package the target business code into the target business code file, including:

[0023] The target development terminal configures a local code compilation tool based on the public development plugin, and uses the configured local code compilation tool to package the target business code to generate the target business code file.

[0024] Optionally, setting the insertion object of the script tag to the target business code file in the target development terminal includes:

[0025] The script tag is inserted into a file with a preset name in the target development terminal, wherein the preset name includes the target business name;

[0026] Accordingly, the step of packaging the target business code using the configured local code compilation tool to generate the target business code file includes:

[0027] The target business code is packaged using the configured local code compilation tool, and the packaged file is named according to the preset name to obtain the target business code file.

[0028] Optionally, after querying the set of business modules for the corresponding initial business module based on the target business identifier carried by the business code packaging instruction, the method further includes:

[0029] If there is no initial service module corresponding to the target service identifier, a service addition request is sent to the management terminal, and feedback information on the service addition request is received.

[0030] When the feedback information indicates that addition is allowed, a business module corresponding to the target business identifier is created as the initial business module of the target business;

[0031] When the feedback message indicates "reject adding", a prompt message is sent to the target development terminal.

[0032] According to another aspect of this application, a business development apparatus is provided, the apparatus comprising:

[0033] The business creation module is used to obtain the business identifiers of multiple businesses in the target project and create a business module corresponding to each business identifier, thus forming a business module set that includes all the business modules.

[0034] The query module is used to query the set of business modules as the initial business module when it receives a business code packaging instruction for the target project sent by the target development terminal;

[0035] The tag creation module is used to create script tags for the target business in the initial business module and send the common development plugin of the target project to the target development terminal so that the target development terminal can use the common development plugin to package the target business code into the target business code file.

[0036] The insertion module is used to insert the target business code file into the script tag to obtain the target business module.

[0037] Optionally, the label creation module is further configured to:

[0038] After creating the script tag for the target business in the initial business module, the insertion object of the script tag is set to the target business code file in the target development terminal;

[0039] Accordingly, the insertion module is further configured to:

[0040] Based on the insertion object set by the script tag, the target business code file in the target development terminal is inserted into the script tag to obtain the target business module.

[0041] Optionally, the label creation module is further configured to:

[0042] After querying the corresponding business module in the set of business modules as the initial business module, a segmentation mark for the target business is created in the initial business module;

[0043] Accordingly, the insertion module is further configured to:

[0044] The document object model structure in the target business code file is inserted into the partition mark, the business page corresponding to the target business is rendered based on the partition mark, and the business page is sent to the target development terminal for display.

[0045] When the target development terminal receives a confirmation instruction for the business page, the target business code file is inserted into the script tag to obtain the target business module.

[0046] Optionally, the label creation module is further configured to:

[0047] After creating the segmentation mark of the target business in the initial business module, the insertion object of the segmentation mark is set as the document object model structure of the target business code file in the target development terminal;

[0048] Accordingly, the insertion module is further configured to:

[0049] Based on the insertion object set by the partition marker, the document object model structure in the target business code file is inserted into the partition marker.

[0050] Optionally, the target development terminal configures a local code compilation tool based on the public development plugin, and uses the configured local code compilation tool to package the target business code to generate the target business code file.

[0051] Optionally, the label creation module is further configured to:

[0052] The script tag is inserted into a file with a preset name in the target development terminal, wherein the preset name includes the target business name;

[0053] The target development terminal uses the configured local code compilation tool to package the target business code, and names the packaged file according to the preset name to obtain the target business code file.

[0054] Optionally, the device further includes:

[0055] The service addition module is used to query the set of service modules for the target service identifier carried by the service code packaging instruction, and if there is no initial service module corresponding to the target service identifier, send a service addition request to the management terminal and receive feedback information on the service addition request.

[0056] The tag creation module is also used to create a business module corresponding to the target business identifier when the feedback information indicates that addition is allowed, as the initial business module of the target business;

[0057] The service addition module is also used to send a prompt message to the target development terminal when the feedback information is "reject addition".

[0058] According to another aspect of this application, a storage medium is provided that stores a computer program thereon, which, when executed by a processor, implements the above-described business development method.

[0059] According to another aspect of this application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor executes the program to implement the above-described business development method.

[0060] By employing the above technical solutions, this application provides a business development method, apparatus, storage medium, and computer equipment. This method creates corresponding business modules for multiple businesses included in a target project. Upon receiving a business code packaging instruction for the target project from a target development terminal, it determines the initial business module matching the target business among the pre-created business modules. A script tag is created in the initial business module, and a common development plugin for the target project is sent to the target development terminal. Further, the target development terminal uses the common development plugin to package the target business code into a target business code file, and then inserts the target business code file into the script tag to obtain the target business module. This application's embodiment creates separate business modules for different businesses within a project, creates script tags within the business modules, and provides a common development plugin for the target project to different development terminals. These terminals then use the common development plugin to package their respective business code. Finally, the packaged file is inserted into the script tag of the corresponding business module to form independent business modules. This achieves code separation and independent packaging for different businesses, supporting independent release and testing of different businesses, saving business development costs, and improving business development efficiency.

[0061] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0062] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0063] Figure 1 A flowchart illustrating a business development method provided in an embodiment of this application is shown;

[0064] Figure 2 A flowchart illustrating another business development method provided in an embodiment of this application is shown;

[0065] Figure 3 A schematic diagram of the structure of a business development apparatus provided in an embodiment of this application is shown. Detailed Implementation

[0066] The present application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the embodiments of the present application can be combined with each other.

[0067] This embodiment provides a business development method, such as Figure 1As shown, the method includes:

[0068] Step 101: Obtain the business identifiers of each of the multiple businesses in the target project, and create a business module corresponding to each business identifier to form a business module set containing all the business modules.

[0069] The business development method for a target project provided in this application embodiment can be implemented based on a business development framework provided for the target project. This business development method can be applied to a central server that references the business development framework. The target project can be a medical-related project, containing multiple medical services, such as appointment registration services, electronic medical record services, and medical insurance services. In this embodiment, a target project can be collaboratively developed by different departments, with each department responsible for developing one or more of the services. The business development framework provides a common packaging plugin for the target project. First, it obtains the business identifiers of the multiple services contained in the target project and creates a corresponding business module for each service. The business modules can be named according to the business identifier, or each business module can be assigned a unique number corresponding to the business identifier, so that each service can be independently placed in the corresponding business module, realizing code separation, independent packaging, and independent release of each service. For example, multiple business floors can be set for the multiple services contained in the target project, with each service corresponding to one business floor.

[0070] Step 102: When a business code packaging instruction for the target project is received from the target development terminal, the corresponding business module is queried from the business module set as the initial business module based on the target business identifier carried by the business code packaging instruction.

[0071] Secondly, when a department completes code development for the business it is responsible for and is ready to package the business code, it can send a business code packaging instruction for the target project to the central server through the target development terminal. The target development terminal can be the computer equipment used by the department to develop the business. The business code packaging instruction carries the target business identifier of the target business that needs to be packaged. Based on the target business identifier, a pre-created business module that matches the target business identifier is determined as the initial business module of the target business.

[0072] Step 103: Create a script tag for the target business in the initial business module, and send the common development plugin of the target project to the target development terminal so that the target development terminal can use the common development plugin to package the target business code into the target business code file.

[0073] Next, the `document.createElement` method is used to create a script tag for the target business in the initial business module, and a common development plugin for the target project is sent to the target development terminal. After receiving the common development plugin, the target development terminal uses the common development plugin to complete the packaging of the local target business code, forming the target business code file.

[0074] Step 104: Insert the target business code file into the script tag to obtain the target business module.

[0075] Finally, the target development terminal packages the target business code, resulting in the target business code file. The central server then inserts this file into the script tag of the initial business module, creating the target business module and completing the development of that target business portion of the project. This method of development allows the target business module to be separated from other business code, enabling independent packaging and deployment of different business codes. If modifications to the target business code are needed, only independent testing of that target business is required, eliminating the need to test other business codes simultaneously. This saves development costs and improves development efficiency.

[0076] By applying the technical solution of this embodiment, corresponding business modules are created for each of the multiple services included in the target project. After receiving the business code packaging instruction for the target project sent by the target development terminal, the initial business module matching the target business is determined from the pre-created business modules. Script tags are created in the initial business module, and the common development plugin for the target project is sent to the target development terminal. Further, after the target development terminal uses the common development plugin to package the target business code into a target business code file, the target business code file is inserted into the script tag to obtain the target business module. This embodiment creates separate business modules for different services within a project, creates script tags in the business modules, and provides the common development plugin for the target project to different development terminals. The development terminals then use the common development plugin to package their respective business code. Finally, the packaged file is inserted into the script tag of the corresponding business module to form their independent business modules. This achieves code separation and independent packaging for different services, supporting independent release and testing of different services, saving business development costs, and improving business development efficiency.

[0077] Furthermore, as a refinement and extension of the specific implementation methods of the above embodiments, and to fully illustrate the specific implementation process of this embodiment, another business development method is provided, such as... Figure 2 As shown, the method includes:

[0078] Step 201: Obtain the business identifiers of each of the multiple businesses in the target project, and create a business module corresponding to each business identifier to form a business module set containing all the business modules.

[0079] In this embodiment of the application, the basic business information of each business included in the target project, such as the business identifier, can be obtained through the interface. Then, for each business included in the target project, a business module corresponding to the business identifier of each business can be created so that the corresponding business module can be found based on the business identifier.

[0080] Step 202: When a business code packaging instruction for the target project is received from the target development terminal, determine whether there is an initial business module in the business module set that corresponds to the target business identifier; if so, proceed to step 206.

[0081] In this embodiment, when the target development terminal sends a business code packaging instruction for the target project to the central server, the business code packaging instruction can carry the target project identifier and the target business identifier. The central server can determine which business modules are pre-created for the target project based on the target project identifier, and based on the target business identifier carried in the business code packaging instruction, it first determines whether these business modules contain the initial business module corresponding to the target business identifier. If so, it continues to execute the steps related to the development of the target business.

[0082] Step 203: If the service does not exist, send a service addition request to the management terminal and receive feedback information on the service addition request.

[0083] Step 204: When the feedback information indicates that addition is allowed, create a business module corresponding to the target business identifier as the initial business module of the target business, and then execute step 206.

[0084] Step 205: When the feedback information is "reject adding", send a prompt message to the target development terminal.

[0085] If the target service does not exist, a service addition request can be sent to the management terminal corresponding to the target project to inquire whether the management terminal allows the target service to be added to the target project. If the management terminal replies that it allows the addition, a service module corresponding to the new target service will be created for the target project. If the management terminal replies that it refuses to add the service, a prompt message will be sent to the target development terminal to indicate that the target project does not contain the target service. Technical personnel can first determine whether an incorrect packaging command was sent, or they can further request the management terminal to authorize the addition of the new target service to the target project.

[0086] Step 206: Create a script tag for the target business in the initial business module, and set the insertion object of the script tag to the target business code file in the target development terminal.

[0087] Step 207: Create a segmentation marker for the target service in the initial service module; set the insertion object of the segmentation marker to the document object model structure of the target service code file in the target development terminal.

[0088] Next, after obtaining the initial business module of the target business, script tags and div tags (i.e., separator tags) are created within the initial business module. Corresponding insertion objects are then set for the script tags and separator tags. The insertion object for the script tags is the target business code file in the target development terminal, while the insertion object for the separator tags is the DOM (Document Object Model) structure within the target business code file, in order to complete the business code packaging. For example, a div tag is created using the `document.createElement` method, and its `id` is set to the unique ID configured in the backend for that business level. `document.body.AppendChild` is then used to insert this div tag. Similarly, a script tag is created using the `document.createElement` method, and `document.body.appendChild` is used to insert the business function js file (i.e., the target business code file) configured in the backend for that business level.

[0089] Step 208: Send the common development plugin of the target project to the target development terminal so that the target development terminal can configure a local code compilation tool based on the common development plugin and use the configured local code compilation tool to package the target business code and generate the target business code file.

[0090] In this embodiment, the target development terminal configures its local code compilation tool (e.g., webpack) using a common development plugin. This allows the local code compilation tool to reference the global compilation method provided by the common development plugin and use the configured local code compilation tool to package the target business code, resulting in the target business code file, i.e., the JS file. The common development plugin can be React, MD5, Redux, etc. Each business logic module references the global compilation method provided by the main framework when packaging its code, ensuring consistency across business logic modules. The target development terminal can export the globally compiled methods of League Manager using the public development plugin, which can include: getTfsImg: concatenate image links; requestApi: initiate network request method; getUserId: retrieve basic user information; removeUserId: delete basic user information from localstorage; getCookie, setCookie, delCookie: set, get, and delete cookie methods; getMobileOS: retrieve basic phone information; setLocalStorage, getLocalStorage, removeLocalStorage: set, get, and delete localstorage methods; makeLog: record access data method; getVersionCode: retrieve client version information; showAlert: alert error message box; showToast: toast error message box; showConfirm: confirm message box; pajkLink: link redirection method.

[0091] In this embodiment of the application, step 206 may optionally include: setting the insertion object of the script tag to a file with a preset name in the target development terminal, wherein the preset name includes the target business name; correspondingly, step 208 includes: using the configured local code compilation tool to package the target business code, and naming the packaged file according to the preset name to obtain the target business code file.

[0092] In this embodiment, the insertion target of the script tag can be set to a file with a preset name in the target development terminal. Specifically, it can be a .js file named after the target business name. For example, if the target business is duojin-medical, the script tag can be set to insert the duojin-medical.js file. Furthermore, when packaging the code on the target development terminal, the packaged target business code file is named with a preset name, such as duojin-medical.js, so that the .js file can be accurately inserted into the script tag later.

[0093] Step 209: Based on the insertion object set by the partition marker, insert the document object model structure in the target business code file into the partition marker.

[0094] Step 210: Render the business page corresponding to the target business based on the segmentation mark, and send the business page to the target development terminal for display; when the target development terminal receives a confirmation instruction for the business page, insert the target business code file into the script tag to obtain the target business module.

[0095] Finally, the Document Object Model (DOM) structure from the packaged target business code file is inserted into the delimiter tags of the target business. Based on the placement of text, images, tables, etc., as specified in the delimiter tags, the corresponding business page is rendered and sent to the target development terminal for display. Developers can judge whether the target business meets expectations based on the business page. If it does, they can send a confirmation command to the central server. The central server then inserts the target business code file into the script tag, forming the target business module. If the business page does not meet expectations, developers can modify the target business code and repackage the modified code. The central server removes the inserted content from the delimiter tags in the initial business module and inserts the Document Object Model structure from the new packaged file into the delimiter tags, rendering the target business page again for developer confirmation.

[0096] By applying the technical solution of this embodiment, in projects involving numerous business functions, the previous practice required multiple departments to coordinate time for requirement discussions and technical seminars, with a single department undertaking the development work. Due to unfamiliarity with the business functions, various problems would continuously arise during the development process, necessitating constant contact with product and development teams in various business departments to confirm issues, wasting a significant amount of development time. This framework separates the code for each business function, packages it independently, and releases it independently. Each business function is developed by its own developers, greatly reducing cross-departmental requirement communication, discussions, and scheduling. In subsequent system maintenance, it also reduces the time and manpower consumed by cross-departmental collaboration, saving substantial manpower and improving development efficiency.

[0097] Furthermore, as Figure 1 To specifically implement the method, this application provides a business development apparatus, such as... Figure 3 As shown, the device includes:

[0098] The business creation module is used to obtain the business identifiers of multiple businesses in the target project and create a business module corresponding to each business identifier, thus forming a business module set that includes all the business modules.

[0099] The query module is used to query the set of business modules as the initial business module when it receives a business code packaging instruction for the target project sent by the target development terminal;

[0100] The tag creation module is used to create script tags for the target business in the initial business module and send the common development plugin of the target project to the target development terminal so that the target development terminal can use the common development plugin to package the target business code into the target business code file.

[0101] The insertion module is used to insert the target business code file into the script tag to obtain the target business module.

[0102] Optionally, the label creation module is further configured to:

[0103] After creating the script tag for the target business in the initial business module, the insertion object of the script tag is set to the target business code file in the target development terminal;

[0104] Accordingly, the insertion module is further configured to:

[0105] Based on the insertion object set by the script tag, the target business code file in the target development terminal is inserted into the script tag to obtain the target business module.

[0106] Optionally, the label creation module is further configured to:

[0107] After querying the corresponding business module in the set of business modules as the initial business module, a segmentation mark for the target business is created in the initial business module;

[0108] Accordingly, the insertion module is further configured to:

[0109] The document object model structure in the target business code file is inserted into the partition mark, the business page corresponding to the target business is rendered based on the partition mark, and the business page is sent to the target development terminal for display.

[0110] When the target development terminal receives a confirmation instruction for the business page, the target business code file is inserted into the script tag to obtain the target business module.

[0111] Optionally, the label creation module is further configured to:

[0112] After creating the segmentation mark of the target business in the initial business module, the insertion object of the segmentation mark is set as the document object model structure of the target business code file in the target development terminal;

[0113] Accordingly, the insertion module is further configured to:

[0114] Based on the insertion object set by the partition marker, the document object model structure in the target business code file is inserted into the partition marker.

[0115] Optionally, the target development terminal configures a local code compilation tool based on the public development plugin, and uses the configured local code compilation tool to package the target business code to generate the target business code file.

[0116] Optionally, the label creation module is further configured to:

[0117] The script tag is inserted into a file with a preset name in the target development terminal, wherein the preset name includes the target business name;

[0118] The target development terminal uses the configured local code compilation tool to package the target business code, and names the packaged file according to the preset name to obtain the target business code file.

[0119] Optionally, the device further includes:

[0120] The service addition module is used to query the set of service modules for the target service identifier carried by the service code packaging instruction, and if there is no initial service module corresponding to the target service identifier, send a service addition request to the management terminal and receive feedback information on the service addition request.

[0121] The tag creation module is also used to create a business module corresponding to the target business identifier when the feedback information indicates that addition is allowed, as the initial business module of the target business;

[0122] The service addition module is also used to send a prompt message to the target development terminal when the feedback information is "reject addition".

[0123] It should be noted that other corresponding descriptions of the functional units involved in the business development apparatus provided in this application embodiment can be found by referring to... Figures 1 to 2 The corresponding descriptions in the method will not be repeated here.

[0124] Based on the above, Figures 1 to 2Accordingly, this application also provides a storage medium storing a computer program, which, when executed by a processor, implements the above-described method. Figures 1 to 2 The business development methodology shown.

[0125] Based on this understanding, the technical solution of this application can be embodied in the form of a software product. This software product can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, or portable hard drive), and includes several instructions to cause a computer device (such as a personal computer, server, or network device) to execute the methods described in the various implementation scenarios of this application.

[0126] Based on the above, Figures 1 to 2 The method shown, and Figure 3 To achieve the above objectives, the present application also provides a computer device, specifically a personal computer, server, network device, etc., as shown in the virtual device embodiment. This computer device includes a storage medium and a processor; the storage medium stores a computer program; the processor executes the computer program to achieve the above-described objectives. Figures 1 to 2 The business development methodology shown.

[0127] Optionally, the computer device may also include a user interface, a network interface, a camera, radio frequency (RF) circuitry, sensors, audio circuitry, a Wi-Fi module, etc. The user interface may include a display screen, input units such as a keyboard, etc., and optional user interfaces may also include USB interfaces, card reader interfaces, etc. The network interface may optionally include standard wired interfaces, wireless interfaces (such as Bluetooth interfaces, Wi-Fi interfaces), etc.

[0128] Those skilled in the art will understand that the computer device structure provided in this embodiment does not constitute a limitation on the computer device, and may include more or fewer components, or combine certain components, or have different component arrangements.

[0129] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages and stores the hardware and software resources of a computer device, supporting the operation of information processing programs and other software and / or programs. The network communication module is used to enable communication between the various components within the storage medium, as well as communication with other hardware and software within the physical device.

[0130] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms, or by hardware implementation to create corresponding business modules for multiple services included in the target project. After receiving the business code packaging instruction for the target project sent by the target development terminal, the initial business module matching the target business is determined among the pre-created business modules. Script tags are created in the initial business module, and the common development plugin of the target project is sent to the target development terminal. Further, after the target development terminal uses the common development plugin to package the target business code into a target business code file, the target business code file is inserted into the script tag to obtain the target business module. In this embodiment, different business modules are created for different services in a project. Script tags are created in the business modules, and the common development plugin of the target project is provided to different development terminals so that the development terminals can use the common development plugin to complete the packaging of their respective business code. Finally, the packaged file is inserted into the script tag of the corresponding business module to form their respective independent business modules. This realizes the separation and independent packaging of code for different services, so as to support the independent release and independent testing of different services, save business development costs, and improve business development efficiency.

[0131] Those skilled in the art will understand that the accompanying drawings are merely schematic diagrams of a preferred embodiment, and the modules or processes shown in the drawings are not necessarily essential for implementing this application. Those skilled in the art will understand that the modules in the apparatus of the embodiment can be distributed within the apparatus of the embodiment as described, or can be modified to be located in one or more apparatuses different from this embodiment. The modules of the above-described embodiment can be combined into one module, or further divided into multiple sub-modules.

[0132] The serial numbers in this application are for descriptive purposes only and do not represent the superiority or inferiority of any particular implementation scenario. The above disclosures are merely a few specific implementation scenarios of this application; however, this application is not limited thereto, and any variations conceived by those skilled in the art should fall within the protection scope of this application.

Claims

1. A business development method, characterized in that, The method includes: Obtain the business identifiers of multiple services in the target project, and create a business module corresponding to each business identifier to form a business module set containing all the business modules; When a business code packaging instruction for the target project is received from the target development terminal, the corresponding business module is queried from the business module set as the initial business module based on the target business identifier carried by the business code packaging instruction. In the initial business module, script tags and differentiation marks for the target business are created, and a common development plugin for the target project is sent to the target development terminal so that the target development terminal can use the common development plugin to package the target business code into a target business code file. When the target development terminal receives a confirmation instruction for the business page corresponding to the target business, the target business code file is inserted into the script tag to obtain the target business module; The method further includes, after sending the common development plugin of the target project to the target development terminal so that the target development terminal can use the common development plugin to package the target business code into a target business code file, inserting the document object model structure of the target business code file into the partition mark, rendering the business page based on the partition mark, and sending the business page to the target development terminal for display.

2. The method according to claim 1, characterized in that, After creating the script tag for the target business in the initial business module, the method further includes: Set the insertion object of the script tag to the target business code file in the target development terminal; Accordingly, inserting the target business code file into the script tag to obtain the target business module includes: Based on the insertion object set by the script tag, the target business code file in the target development terminal is inserted into the script tag to obtain the target business module.

3. The method according to claim 1, characterized in that, After creating the segmentation marker for the target service in the initial service module, the method further includes: Set the insertion object of the partition marker to the document object model structure of the target business code file in the target development terminal; Accordingly, inserting the document object model structure from the target business code file into the separator tag includes: Based on the insertion object set by the partition marker, the document object model structure in the target business code file is inserted into the partition marker.

4. The method according to any one of claims 2 to 3, characterized in that, The target development terminal uses the common development plugin to package the target business code into a target business code file, including: The target development terminal configures a local code compilation tool based on the public development plugin, and uses the configured local code compilation tool to package the target business code to generate the target business code file.

5. The method according to claim 4, characterized in that, Setting the insertion object of the script tag to the target business code file in the target development terminal includes: The script tag is inserted into a file with a preset name in the target development terminal, wherein the preset name includes the target business name; Accordingly, the step of packaging the target business code using the configured local code compilation tool to generate the target business code file includes: The target business code is packaged using the configured local code compilation tool, and the packaged file is named according to the preset name to obtain the target business code file.

6. The method according to claim 1, characterized in that, After querying the set of business modules for the corresponding business module as the initial business module based on the target business identifier carried by the business code packaging instruction, the method further includes: If there is no initial service module corresponding to the target service identifier, a service addition request is sent to the management terminal, and feedback information on the service addition request is received. When the feedback information indicates that addition is allowed, a business module corresponding to the target business identifier is created as the initial business module of the target business; When the feedback message indicates "reject adding", a prompt message is sent to the target development terminal.

7. A business development apparatus, characterized in that, The device includes: The business creation module is used to obtain the business identifiers of multiple businesses in the target project and create a business module corresponding to each business identifier, thus forming a business module set that includes all the business modules. The query module is used to query the set of business modules as the initial business module when it receives a business code packaging instruction for the target project sent by the target development terminal; The tag creation module is used to create script tags and distinguishing marks for the target business in the initial business module, and send the common development plugin of the target project to the target development terminal so that the target development terminal can use the common development plugin to package the target business code into a target business code file; An insertion module is used to insert the target business code file into the script tag when the target development terminal receives a confirmation instruction for the business page corresponding to the target business, thereby obtaining the target business module; The tag creation module is further configured to insert the document object model structure from the target business code file into the partition tag, render the business page based on the partition tag, and send the business page to the target development terminal for display.

8. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the business development method as described in any one of claims 1 to 6.

9. A computer device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized in that, When the processor executes the computer program, it implements the business development method according to any one of claims 1 to 6.