Recommended processing methods, equipment, media and program products for business components
By implementing the business component recommendation processing method on the server side, using the business function description file and the preset component sharing database for intelligent matching, the inefficiency of manually finding and copying business components in business application development is solved, and the development efficiency and reliability of business functions are improved.
Patent Information
- Application Number
- CN202411732463.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-04-04
AI Technical Summary
During the business application development process, developers need to manually find and copy similar business components, resulting in high time costs and low development efficiency.
By implementing the business component recommendation processing method on the server side, extracting identification information using the business function description file, querying the preset component sharing database, intelligently matching and recommending suitable business component codes, and reducing manual operations.
Improve the efficiency of business application development, reduce the time to manually find and copy business components, and ensure the reliability of business functions.
Smart Images

Figure CN119760222A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer application technology, and in particular to a method, device, medium and program product for recommending a business component. Background Art
[0002] In the modern business application development process, relevant developers need to write each business component according to the development requirements of the business application. As the functions of business applications become more diverse, improving development efficiency becomes a need.
[0003] In the related art, it is considered that when developing business applications, there are often similar business scenarios. For example, business application A and business application B are both housing applications. A is a relatively complete housing application for internal channel broker operations, and application B is a new housing application developed for external channel broker operations. B is probably a reduced version of A, and the two contain multiple similar business functions. Therefore, when developing business applications, technicians find other similar reference business applications, obtain all business components of other reference business applications, and manually find suitable business components in all business components for copying.
[0004] However, the above method of manually searching for business components and copying them is time-consuming and leads to low development efficiency. Summary of the invention
[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a method, device, medium and program product for processing recommendation of a business component.
[0006] The disclosed embodiment provides a method for processing business component recommendations, which is applied to a server and comprises: in response to obtaining a business component recommendation request sent by a development end, obtaining a business function description file of a business application to be developed, and extracting business function identification information according to the business function description file; querying a preset component sharing database according to the business function identification information, wherein the preset component sharing database includes at least one business component package, each of the business component packages includes a candidate business component code for a business parameter value to be filled, and component description information corresponding to the candidate business component code, matching each of the component description information with the business function identification information, and determining at least one recommended business component code corresponding to the component description information that has been matched successfully; and sending a recommendation message for the at least one recommended business component code to the development end.
[0007] The disclosed embodiment provides a method for developing and processing a business application, which is applied at a development end, and includes: sending a business component recommendation request to a server, and obtaining a recommendation message for at least one recommended business component code fed back by the server, wherein the server obtains a business function description file of the business application to be developed in response to obtaining the business component recommendation request sent by the development end, extracts business function identification information according to the business function description file, and queries a preset component sharing database according to the business function identification information, wherein the preset component sharing database includes at least one business component package, each of the business component packages includes a candidate business component code for a business parameter value to be filled, and component description information corresponding to the candidate business component code, each of the component description information is matched with the business function identification information, and the at least one recommended business component code corresponding to the component description information that is successfully matched is determined; the at least one recommended business component code is recommended and displayed; and in response to obtaining a user's selection operation on a target recommended business component code in the at least one recommended business component code, the target recommended business component code is filled in the development interface of the business application.
[0008] The disclosed embodiment also provides a device for processing business component recommendations, which is applied to a server and includes: a first acquisition module, used to obtain a business function description file of a business application to be developed in response to a business component recommendation request sent by a development end; an extraction module, used to extract business function identification information based on the business function description file; a matching processing module, used to query a preset component shared database based on the business function identification information, wherein the preset component shared database includes at least one business component package, each of the business component packages includes a candidate business component code for a business parameter value to be filled, and component description information corresponding to the candidate business component code, each of the component description information is matched with the business function identification information, and at least one recommended business component code corresponding to the component description information that is successfully matched is determined; a recommendation processing module, used to send a recommendation message for the at least one recommended business component code to the development end.
[0009] The present disclosure provides a device for developing and processing a business application. The device is applied at a development end and includes: a sending module, which is used to send a business component recommendation request to a server; a second acquisition module, which is used to obtain a recommendation message for at least one recommended business component code fed back by the server, wherein the server, in response to obtaining the business component recommendation request sent by the development end, obtains a business function description file of the business application to be developed, extracts business function identification information according to the business function description file, and queries a preset component sharing database according to the business function identification information, wherein the preset component sharing database includes at least one business component package, each of which includes a candidate business component code to be filled with a business parameter value and component description information corresponding to the candidate business component code, matches each of the component description information with the business function identification information, and determines the at least one recommended business component code corresponding to the component description information that matches successfully; a display processing module, which is used to perform recommendation display processing on the at least one recommended business component code; and a filling processing module, which is used to fill the target recommended business component code on the development interface of the business application in response to obtaining a user's selection operation on the target recommended business component code in the at least one recommended business component code.
[0010] An embodiment of the present disclosure also provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the recommended processing method of the business component provided in the embodiment of the present disclosure, or the development processing method of the business application.
[0011] The embodiments of the present disclosure also provide a computer-readable storage medium, which stores a computer program, and the computer program is used to execute the recommended processing method of the business component or the development processing method of the business application as provided in the embodiments of the present disclosure.
[0012] The embodiments of the present disclosure also provide a computer program product, including a computer program, wherein the computer program is executed by a processor to implement a recommended processing method for a business component or a development processing method for a business application as provided in the embodiments of the present disclosure.
[0013] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0014] In response to obtaining a business component recommendation request sent by the development end, obtain the business function description file of the business application to be developed, extract the business function identification information according to the business function description file, and then query the preset component sharing database according to the business function identification information, wherein the preset component sharing database includes at least one business component package, each business component package includes a candidate business component code to be filled with business parameter values, and component description information corresponding to the candidate business component code, match each component description information with the business function identification information, determine at least one recommended business component code corresponding to the successfully matched component description information, and send a recommendation message for at least one recommended business component code to the development end. In this technical solution, intelligent matching and recommendation of business component codes help improve development efficiency and ensure the reliability of business functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0016] Figure 1 A flowchart of a method for developing and processing a business application provided by an embodiment of the present disclosure;
[0017] Figure 2 A schematic diagram of an upload interface provided by an embodiment of the present disclosure;
[0018] Figure 3 A flowchart of a method for developing and processing a business application provided by an embodiment of the present disclosure;
[0019] Figure 4 A schematic diagram of an input reminder interface provided by an embodiment of the present disclosure;
[0020] Figure 5 A recommended interaction diagram of a business component provided in an embodiment of the present disclosure;
[0021] Figure 6 A schematic diagram of the structure of a recommendation processing device for a business component provided in an embodiment of the present disclosure;
[0022] Figure 7 A schematic diagram of the structure of a business application development and processing device provided in an embodiment of the present disclosure;
[0023] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0025] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0026] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0027] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0028] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0029] In order to solve the above problems, the embodiments of the present disclosure provide a method for developing and processing business applications. In this method, business component codes are intelligently matched based on the development of business applications, without the need to manually search and copy related business component codes, which helps to improve the development efficiency of business applications.
[0030] For the sake of comprehensiveness, the following first focuses on the server side to explain the recommended processing method of the business component of the embodiment of the present disclosure. The method is introduced below in conjunction with a specific embodiment.
[0031] Figure 1 The present invention provides a flow chart of a method for developing and processing a business application, which can be executed by a device for developing and processing a business application, wherein the device can be implemented by software and / or hardware and can generally be integrated in a server. Figure 1 As shown, the method includes:
[0032] Step 101 , in response to obtaining a business component recommendation request sent by a development end, obtaining a business function description file of a business application to be developed, and extracting business function identification information according to the business function description file.
[0033] In an embodiment of the present disclosure, a business component recommendation request sent by a development end is obtained, and in response to the obtained business component recommendation request, a business function description file of the business application to be developed is obtained, wherein the business function description file is any file for describing the application function of the business application, including but not limited to at least one of a user interface design drawing, a requirement document, etc. of the business application.
[0034] Among them, in some possible embodiments, the business function description file may be carried in the business component recommendation request, so that the business function description file may be extracted from the business component recommendation request;
[0035] In some possible embodiments, the server may also actively obtain the business function description file. For example, in this embodiment, after obtaining the business component recommendation request, the server sends a request to obtain the business function description file to the development end, and obtains the business function description file fed back by the development end.
[0036] Further, after obtaining the business function description file, the business function identification information is extracted according to the business function description file, wherein the business function identification information may be any information identifying the business function, and the specific information content of the business function identification information is related to the business function description file, and an example is as follows:
[0037] In some possible embodiments, the business function description file includes a user interface design drawing of the business application. Therefore, in this embodiment, image features of the user interface design drawing can be extracted to determine the image features as business function identification information.
[0038] In this embodiment, an image feature extraction model can be pre-trained, wherein the image feature extraction model pre-learns to extract image features associated with each business function based on an input user interface design drawing. Thus, the user interface design drawing of the business application can be input into the image feature extraction model to extract the image features corresponding to each business function as business function identification information.
[0039] In some possible examples, the business function description file includes a requirement document for a business application, wherein the requirement document contains descriptive text describing the business functions included in the business application. Thus, in this embodiment, business function keywords in the requirement document can be extracted, for example, "property list view" etc. can be extracted as business function keywords, and then, the business function keywords are determined as business function identification information.
[0040] In this embodiment, a keyword extraction model can be pre-trained based on a large amount of sample data, wherein the keyword extraction model pre-learns to extract business function keywords associated with each business function based on the input requirement document. Thus, the requirement document of the business application can be input into the keyword extraction model to extract the corresponding business function keywords as business function identification information.
[0041] In some possible embodiments, image features of each business function included in the user interface design diagram and business function keywords of each business function in the requirement document may be extracted, and the image features and business function keywords may be used as business function identification information.
[0042] Step 102: querying a preset component sharing database according to the business function identification information, wherein the preset component sharing database includes at least one business component package, each business component package includes a candidate business component code to be filled with a business parameter value, and component description information corresponding to the candidate business component code.
[0043] Each component description information is matched with the business function identification information to determine at least one recommended business component code corresponding to the successfully matched component description information.
[0044] It should be noted that, in one embodiment of the present disclosure, a preset component sharing database is maintained in advance, and the preset component sharing database includes at least one business component package, each business component package includes a candidate business component code to be filled with business parameter values, and component description information corresponding to the candidate business component code, wherein the component description information includes any type of information for describing the component function, such as business component images and business component description keywords.
[0045] Among them, in some possible embodiments, the server can identify the initial business component code of each business component in the currently developed historical business application, delete the business parameter values to be filled in, obtain the user interface image area and / or the corresponding requirement document corresponding to the business component code, package the deleted business component code and / or the corresponding requirement document into a business component package, and save the business component package to the preset component sharing database.
[0046] In some possible embodiments, relevant technical personnel may also actively upload the business component package, that is, the server provides a business component package upload interface on the development end, and the technical personnel upload the relevant information of the business component on the upload interface, and the server generates the business component package according to the uploaded relevant information.
[0047] The style of the upload interface can be set according to the scene requirements, for example, Figure 2As shown, the upload interface may include a component description information upload area and a component code upload area, wherein the component description information upload area may upload a user interface screenshot corresponding to the business component, and the component code upload area may upload a business component code corresponding to the business component. In this embodiment, the business parameters in the business component code may be actively identified, and the parameter attribute information corresponding to the business parameters may be displayed in the corresponding area, and the parameter attribute information may include the business parameter type, business parameter function description information, and the like.
[0048] In this embodiment, each component description information is matched with the business function identification information. In some possible embodiments, reference component description information that is consistent with the information type of the business function identification information is extracted from each component description information, and the information similarity between the reference component description information and the business function identification information is calculated. The business function identification information corresponding to the reference component description information whose information similarity is greater than a preset similarity threshold is determined to be the successfully matched component description information, and then, at least one recommended business component code corresponding to the successfully matched component description information is determined.
[0049] For example, if the component description information includes a screenshot of the business component, and the business function identification information includes an image feature of each business function, the image feature of the screenshot may be extracted, and the image feature may be matched with the image feature of each business function, etc. In this embodiment, at least one recommended business component code corresponding to the successfully matched component description information is determined, for example, at least one business component code corresponding to the component description information having a matching degree greater than a preset matching degree threshold may be used as the corresponding recommended business component code.
[0050] Step 103: Send a recommendation message for at least one recommended business component code to the development end.
[0051] After determining at least one recommended business component code, a recommendation message for the at least one recommended business component code is sent to the development end, thereby realizing intelligent recommendation of business component codes without the need for relevant personnel to manually query relevant business components.
[0052] In summary, the recommended processing method for business components of the disclosed embodiment, in response to obtaining a business component recommendation request sent by the development end, obtains the business function description file of the business application to be developed, extracts the business function identification information according to the business function description file, and then queries the preset component sharing database according to the business function identification information, wherein the preset component sharing database includes at least one business component package, each business component package includes a candidate business component code with a business parameter value to be filled, and component description information corresponding to the candidate business component code, matches each component description information with the business function identification information, determines at least one recommended business component code corresponding to the successfully matched component description information, and sends a recommendation message for at least one recommended business component code to the development end. In this technical solution, intelligent matching and recommendation of business component codes help improve development efficiency and ensure the reliability of business functions.
[0053] Next, the development processing method of the business application of the embodiment of the present disclosure is described focusing on the development end.
[0054] Figure 3 A flowchart of a method for developing and processing a business application provided in an embodiment of the present disclosure is provided. The method can be executed by a device for developing and processing a business application, wherein the device can be implemented by software and / or hardware and can generally be integrated in a development terminal, such as Figure 3 As shown, the method includes:
[0055] Step 301: Send a service component recommendation request to a server, and obtain a recommendation message for at least one recommended service component code fed back by the server, wherein:
[0056] In response to obtaining a business component recommendation request sent by the development end, the server obtains a business function description file of the business application to be developed, extracts business function identification information based on the business function description file, and queries a preset component sharing database based on the business function identification information, wherein the preset component sharing database includes at least one business component package, each business component package includes a candidate business component code with a business parameter value to be filled in, and component description information corresponding to the candidate business component code, matches each component description information with the business function identification information, and determines at least one recommended business component code corresponding to the successfully matched component description information.
[0057] The steps for obtaining the recommended service component code may refer to the method described above mainly on the server side.
[0058] In one embodiment of the present disclosure, the development end sends a business component recommendation request to the server, and then obtains a recommendation message for at least one recommended business component code fed back by the server.
[0059] In different application scenarios, the development end sends business component recommendation requests to the server in different ways, as shown in the following examples:
[0060] In some possible examples, the business development end may provide a request interface for requesting a business component recommendation. If the business development end triggers the request interface, a business component recommendation request is sent to the server.
[0061] In this embodiment, when the request interface is triggered, a business function description file upload interface can also be displayed, and technical developers can upload business function description files on this upload interface, so that the uploaded business function description files can be carried in the sent business component recommendation request.
[0062] Step 302: Perform recommendation display processing on at least one recommended service component code.
[0063] Since the at least one recommended business component code is not necessarily applicable to business applications, in one embodiment of the present disclosure, at least one recommended business component code is subjected to recommendation display processing to intuitively display the at least one recommended business component code.
[0064] It should be noted that in different application scenarios, the methods for performing recommendation display processing on at least one recommendation business component code are different, and examples are as follows:
[0065] In some possible embodiments, a recommendation tag corresponding to each recommended business component code may be generated, and the recommendation tag may include a business function name corresponding to the recommended business component code, or a call link corresponding to the business component code.
[0066] In this embodiment, at least one recommendation tag corresponding to at least one recommended business component code is displayed on the preset recommendation interface.
[0067] In some possible embodiments, a user interface diagram corresponding to a recommended business component code may be obtained, wherein the user interface diagram only includes the recommended business components corresponding to the recommended business component code, or the recommended business components corresponding to the recommended business components are marked in the user interface diagram, wherein the marking method may be any method that highlights the "recommended business component" without limitation.
[0068] In some possible embodiments, the business component package corresponding to each recommended business component code can be obtained, and at least one business component package corresponding to at least one recommended business component code can be displayed on the preset recommendation interface, that is, the recommended business component package is displayed comprehensively and intuitively to prevent users from misselecting the corresponding business component.
[0069] Step 303 : in response to obtaining a user's selection operation on a target recommended business component code in at least one recommended business component code, filling in the target recommended business component code on a development interface of a business application.
[0070] In this embodiment, a user's selection operation on a target recommended business component code in at least one recommended business component code is obtained, and in response to obtaining the user's selection operation on the target recommended business component code in at least one recommended business component code, the target recommended business component code is filled in the development interface of the business application, thereby, the user can fill in the corresponding target recommended business component code without writing it, and the target recommended business component code is read from a preset component shared database, not written by the user, and therefore has higher reliability and can better guarantee the functional reliability of the business application.
[0071] It should be understood that although the business components are reusable, the business parameters of the business components may be different in different business applications. Therefore, before filling in the target recommended business component code on the development interface of the business application, an input reminder of the business parameter values to be filled in for the target recommended business component code may also be displayed, wherein the input reminder may display each business parameter to be filled in in the form of a list, and the filling area corresponding to the business parameter value to be filled in. In order to ensure the availability of the filled business parameter value, in one embodiment of the present disclosure, if the parameter attribute information corresponding to the displayed business parameter of the recommended business component is obtained in advance (for example, Figure 2 In the scenario shown, the parameter attribute information corresponding to the business parameter is obtained), and the corresponding parameter attribute information can also be displayed when the input reminder is displayed, so as to fill in the corresponding business parameter value according to the parameter attribute information. Among them, in order to make it easier for users to fill in the business parameter value, the parameter function description information of each business parameter to be filled in the business parameter value can also be displayed (the parameter function description information is obtained in advance).
[0072] As a possible embodiment, if the target business parameters include "request", "renderRowKey", and "renderRowCondent", the parameter attribute information includes the parameter format, the parameter type corresponding to "request" is "String", and the parameter function description information is "get list data"; the parameter type corresponding to "renderRowKey" is "Hash", and the parameter function description information is "render list key"; the parameter type corresponding to "renderRowCondent" is "List", and the parameter function description information is "render list content", then Figure 4As shown, the business parameter value filling areas corresponding to "request", "renderRowKey" and "renderRowCondent" are displayed on the input reminder interface, and the parameter type and parameter function description information corresponding to each business parameter are displayed in the corresponding position. This not only makes it convenient for users to fill in business parameter values, but also avoids the unavailability of business parameter values.
[0073] Then, the target business parameter value of the target recommended business component code input by the user according to the input prompt is obtained, and the target business parameter value is filled in the target recommended business component code.
[0074] Of course, in one embodiment of the present disclosure, the business parameter values of the target recommended business component can also be identified according to the requirement document of the business application, and then, before filling in the target recommended business component code on the development interface of the business application, the target business parameter values can be filled in the target recommended business component code.
[0075] In general, in the embodiments of the present disclosure, referring to Figure 5 In response to receiving the business component recommendation request sent by the development end, the server obtains the business function description file of the business application to be developed, queries the preset component shared database according to the business function identification information, matches each component description information with the business function identification information, determines at least one recommended business component code corresponding to the successfully matched component description information, and sends a recommendation message for at least one recommended business component code to the development end. The development end obtains the recommendation message for at least one recommended business component code fed back by the server, performs recommendation display processing on at least one recommended business component code, and in response to obtaining the user's selection operation on the target recommended business component code in at least one recommended business component code, fills the target recommended business component code on the development interface of the business application. In this way, the development efficiency of business applications is significantly improved and the development quality of business applications is guaranteed.
[0076] In summary, the development and processing method of the business application of the embodiment of the present disclosure sends a business component recommendation request to the server, obtains the recommendation message for at least one recommended business component code fed back by the server, wherein the server obtains the business function description file of the business application to be developed in response to the business component recommendation request sent by the development end, extracts the business function identification information according to the business function description file, and queries the preset component sharing database according to the business function identification information, wherein the preset component sharing database includes at least one business component package, each business component package includes a candidate business component code of a business parameter value to be filled, and component description information corresponding to the candidate business component code, matches each component description information with the business function identification information, determines at least one recommended business component code corresponding to the component description information that matches successfully, and then, performs recommendation display processing on at least one recommended business component code, and in response to obtaining the user's selection operation of the target recommended business component code in at least one recommended business component code, fills the target recommended business component code on the development interface of the business application. In this technical solution, the user can directly select the recommended business component code to realize the filling of the business component code, without manually writing the business component code, thereby improving the development efficiency of the business application and ensuring the code quality of the business application.
[0077] In order to implement the above embodiment, the present disclosure also proposes a business application development and processing device. Figure 6 This is a schematic diagram of the structure of a recommendation processing device for a business component provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated in a server. Figure 6 As shown, the device includes: a first acquisition module 610, an extraction module 620, a matching processing module 630, and a recommendation processing module 640, wherein:
[0078] A first acquisition module 610 is used to acquire a business function description file of a business application to be developed in response to acquiring a business component recommendation request sent by a development end;
[0079] An extraction module 620, configured to extract business function identification information according to the business function description file;
[0080] The matching processing module 630 is used to query the preset component sharing database according to the business function identification information, wherein the preset component sharing database includes at least one business component package, each business component package includes a candidate business component code to be filled with a business parameter value, and component description information corresponding to the candidate business component code,
[0081] Match each component description information with the business function identification information, and determine at least one recommended business component code corresponding to the successfully matched component description information;
[0082] The recommendation processing module 640 is used to send a recommendation message for at least one recommended business component code to the development end.
[0083] In one embodiment of the present disclosure, the business function description file includes a user interface design diagram of the business application and / or a requirement document of the business application. The extraction module 620 is used to:
[0084] Extracting image features of each business function included in the user interface design diagram, and / or extracting business function keywords of each business function in the requirement document;
[0085] Determine the image features and / or the business function keywords as business function identification information.
[0086] In one embodiment of the present disclosure, the matching processing module 630 is used to: extract reference component description information consistent with the information type of the business function identification information from each component description information;
[0087] Calculate the information similarity between the reference component description information and the business function identification information;
[0088] Determine that the business function identification information corresponding to the reference component description information whose information similarity is greater than a preset similarity threshold is the component description information that has been matched successfully;
[0089] At least one recommended business component code corresponding to the successfully matched component description information is determined.
[0090] The recommendation processing device for business components provided in the embodiments of the present disclosure can execute the recommendation processing method for business components provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0091] In order to implement the above embodiment, the present disclosure also proposes a business application development and processing device.
[0092] Figure 7 This is a schematic diagram of the structure of a business application development and processing device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated on the development end. Figure 7 As shown, the device includes: a sending module 710, a second acquisition module 720, a display processing module 730, and a filling processing module 740. Among them,
[0093] A sending module 710, configured to send a service component recommendation request to a server;
[0094] The second acquisition module 720 is used to acquire a recommendation message for at least one recommended business component code fed back by the server, wherein:
[0095] In response to obtaining the business component recommendation request sent by the development end, the server obtains a business function description file of the business application to be developed, extracts business function identification information according to the business function description file, queries a preset component sharing database according to the business function identification information, wherein the preset component sharing database includes at least one business component package, each business component package includes a candidate business component code to be filled with a business parameter value, and component description information corresponding to the candidate business component code, matches each component description information with the business function identification information, and determines at least one recommended business component code corresponding to the successfully matched component description information;
[0096] A display processing module 730, configured to perform recommendation display processing on at least one recommended business component code;
[0097] The filling processing module 740 is used to fill the target recommended business component code on the development interface of the business application in response to obtaining a user's selection operation on the target recommended business component code in the at least one recommended business component code.
[0098] In one embodiment of the present disclosure, the display processing module 730 is used to:
[0099] Generate a recommendation tag corresponding to each recommended business component code;
[0100] At least one recommendation tag corresponding to at least one recommended business component code is displayed on the preset recommendation interface.
[0101] In one embodiment of the present disclosure, the display processing module 730 is used to:
[0102] Get the business component package corresponding to each recommended business component code;
[0103] At least one business component package corresponding to at least one recommended business component code is displayed on a preset recommendation interface.
[0104] In one embodiment of the present disclosure, it further includes: a parameter filling module, which is used to:
[0105] Display an input reminder for the business parameter value to be filled in for the target recommended business component code;
[0106] Obtain the target business parameter value of the target recommended business component code input by the user according to the input prompt;
[0107] Fill in the target business parameter value in the target recommendation business component code.
[0108] The business application development and processing device provided in the embodiments of the present disclosure can execute the business application development and processing method provided in any embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method.
[0109] In order to implement the above embodiments, the present disclosure also proposes a computer program product, including a computer program / instruction, which, when executed by a processor, implements the recommended processing method of the business component or the development processing method of the business application in the above embodiments.
[0110] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. The electronic device in an embodiment of the present disclosure may include the above-mentioned server, or a development terminal.
[0111] The following specific reference Figure 8 , which shows a schematic diagram of the structure of an electronic device 800 suitable for implementing the embodiment of the present disclosure. The electronic device 800 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0112] like Figure 8 As shown, the electronic device 800 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a memory 808 to a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0113] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a memory 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0114] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the memory 808, or installed from the ROM 802. When the computer program is executed by the processor 801, the recommended processing method of the business component of the embodiment of the present disclosure is executed, or the above-mentioned functions defined in the development processing method of the business application are executed.
[0115] In addition to the above-mentioned methods and devices, the embodiments of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, cause the processor to perform the method provided by the embodiments of the present disclosure. The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present disclosure, the programming languages including object-oriented programming languages such as Java, C++, etc., and also conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on a user computing device, partially on a user device, as an independent software package, partially on a user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0116] In addition, the embodiments of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions, when executed by a processor, cause the processor to perform the method provided by the embodiments of the present disclosure. The computer-readable storage medium may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may, for example, include but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the recommended processing method of the business component of the embodiment of the present disclosure, or the above functions defined in the development processing method of the business application.
[0117] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0118] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for processing recommendation of a business component, the method being applied to a server, characterized in that: include: In response to obtaining the business component recommendation request sent by the development end, obtaining a business function description file of the business application to be developed, and extracting business function identification information according to the business function description file; A preset component sharing database is queried according to the business function identification information, wherein the preset component sharing database includes at least one business component package, each of the business component packages includes a candidate business component code to be filled with a business parameter value, and component description information corresponding to the candidate business component code, Matching each component description information with the business function identification information, and determining at least one recommended business component code corresponding to the successfully matched component description information; A recommendation message for the at least one recommended business component code is sent to the development end.
2. The method according to claim 1, characterized in that The business function description file includes a user interface design diagram of the business application and / or a requirement document of the business application, and the extracting the business function identification information according to the business function description file includes: Extracting image features of each business function included in the user interface design diagram, and / or extracting business function keywords of each business function in the requirement document; The image feature is determined, and / or the business function keyword is the business function identification information.
3. The method according to claim 1 or 2, characterized in that The step of matching each component description information with the business function identification information and determining at least one recommended business component code corresponding to the successfully matched component description information includes: Extracting reference component description information consistent with the information type of the business function identification information from each component description information; Calculating information similarity between the reference component description information and the service function identification information; Determine that the business function identification information corresponding to the reference component description information whose information similarity is greater than a preset similarity threshold is the successfully matched component description information; Determine at least one candidate business component code corresponding to the successfully matched component description information as the at least one recommended business component code.
4. A method for developing and processing a business application, characterized in that: The method is applied on the development side, including: Sending a service component recommendation request to a server, and obtaining a recommendation message for at least one recommended service component code fed back by the server, wherein: The server, in response to obtaining a business component recommendation request sent by the development end, obtains a business function description file of the business application to be developed, extracts business function identification information according to the business function description file, queries a preset component sharing database according to the business function identification information, wherein the preset component sharing database includes at least one business component package, each of the business component packages includes a candidate business component code to be filled with a business parameter value, and component description information corresponding to the candidate business component code, matches each of the component description information with the business function identification information, and determines the at least one recommended business component code corresponding to the successfully matched component description information; Performing recommendation display processing on the at least one recommended service component code; In response to obtaining a user's selection operation on a target recommended business component code in the at least one recommended business component code, the target recommended business component code is filled in the development interface of the business application.
5. The method according to claim 4, characterized in that The performing recommendation display processing on the at least one recommended service component code includes: Generating a recommendation tag corresponding to each of the recommended business component codes; At least one of the recommendation tags corresponding to the at least one recommended business component code is displayed on a preset recommendation interface.
6. The method according to claim 4, characterized in that The performing recommendation display processing on the at least one recommended service component code includes: Obtaining the business component package corresponding to each of the recommended business component codes; At least one of the business component packages corresponding to the at least one recommended business component code is displayed on a preset recommendation interface.
7. The method according to any one of claims 4 to 6, characterized in that: Before filling the target recommendation business component code on the development interface of the business application, the method further includes: Displaying an input reminder for a business parameter value to be filled in for the target recommended business component code; Acquire a target service parameter value of the target recommended service component code input by the user according to the input prompt; Fill the target service parameter value in the target recommendation service component code.
8. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the recommended processing method of the business component described in any one of claims 1-3 above, or the development processing method of the business application described in any one of claims 4-7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to execute the recommendation processing method of the business component described in any one of claims 1-3 above, or the development processing method of the business application described in any one of claims 4-7.
10. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the recommended processing method for the business component described in any one of claims 1 to 3, or the development processing method for the business application described in any one of claims 4 to 7.
Citation Information
Cited By
Financial service-based component recommendation method, system and equipment and storage medium
CN121233103A