Information Processing Method, Apparatus, and System
By generating and outputting business association executable code programs, the problem of manual participation in business association between open business platforms and third-party platforms is solved, and automated business associations are realized, saving time and costs.
Patent Information
- Application Number
- CN202210094072.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-26
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2042-01-26
AI Technical Summary
In the process of business association between open business platforms and third-party platforms, manual participation is required, resulting in high costs and long time.
By obtaining the service association request sent by the third-party platform, obtaining the test information corresponding to the service identity, generating the business association executable code program, and outputting it to the third-party platform, so that it can directly run the executable code to complete the business association.
The business relationship between the third-party platform and the open business platform is achieved without manual participation, saving time and cost.
Smart Images

Figure CN114443481B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an information processing method, device and system. Background Art
[0002] With the rapid development of computer network technology, more and more different types of business bearers are implemented in computer networks, such as setting up business platforms to provide business services. In order to enable the business platform to better provide business services, it is usually set up as an open business platform, which can be associated with a third-party platform and output business data to the third-party platform to meet the business needs of the third-party platform.
[0003] At present, open business platforms with mature platform capabilities generally provide online business association sub-platforms. Third-party platforms become development terminals of open business platforms through the business association sub-platforms, and use business association information such as documents or examples (demo) provided by the business association sub-platforms to carry out business association with the open business platform. Open business platforms with immature platform capabilities directly provide interface documents including business interface information, and third-party platforms realize business association with the open business platform based on the obtained interface documents.
[0004] For open business platforms with mature or immature platform capabilities, manual participation on the open business platform side is required during the business association process, and the association process lasts for a relatively long time.
[0005] Application Contents
[0006] In view of this, the embodiments of the present application provide an information processing method, device and system, which can realize the business association between the open business platform and the third-party platform without human intervention and save time.
[0007] The present application provides an information processing method, the method comprising:
[0008] Obtaining a service association request sent by a third-party platform; wherein the service association request carries a service identifier;
[0009] Acquire test information of completed service debugging of the third-party platform corresponding to the service identifier;
[0010] Generate a business-related executable code program according to the test information;
[0011] The business-related executable code program is output to the third-party platform, so that the third-party platform runs the business-related executable code program.
[0012] The embodiment of the present application also provides an information processing device, the device comprising: a first acquisition unit, a second acquisition unit, a generation unit and an output unit;
[0013] The first acquisition unit is used to acquire a service association request sent by a third-party platform; wherein the service association request carries a service identifier;
[0014] The second acquisition unit is used to acquire test information of the service debugging completed by the third-party platform corresponding to the service identifier acquired by the first acquisition unit;
[0015] The generating unit is configured to generate a service-related executable code program according to the test information acquired by the second acquiring unit;
[0016] The output unit is used to output the business-related executable code program generated by the generation unit to the third-party platform, so that the third-party platform runs the business-related executable code program.
[0017] The embodiment of the present application also provides an information processing system, the system comprising: an open business platform and a third-party platform;
[0018] The open business platform obtains a business association request sent by the third-party platform; wherein the business association request carries a business identifier; obtains test information of the business debugging completed by the third-party platform corresponding to the business identifier; generates a business association executable code program according to the test information; and outputs the business association executable code program to the third-party platform;
[0019] The third-party platform sends a service association request to the open service platform; after obtaining a service association executable code program provided by the open service platform, the service association executable code program is executed.
[0020] An embodiment of the present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the information processing method is implemented when the processor executes the program.
[0021] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, wherein the program implements the information processing method when executed by a processor.
[0022] As can be seen from the above technical solution, in the above embodiment, when the third-party platform needs to perform business association, the open business platform directly obtains the debugging information of the completed business debugging, and generates a business association executable code program according to the test information; the executable program code is output to the third-party platform, and the third-party platform directly runs the executable code to complete the business association. This solution can realize the business association between the third-party platform and the open business platform without human intervention, and saves time. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a schematic diagram of an information processing flow provided in an embodiment of the present application;
[0024] Figure 2 A schematic diagram of an information processing flow provided in another embodiment of the present application;
[0025] Figure 3 This is a schematic diagram of the service debugging process in the embodiment of this application;
[0026] Figure 4 A schematic diagram of association schemes for different services provided by the open service platform provided in an embodiment of the present application;
[0027] Figure 5 A schematic diagram of a process list in a targeted medical consultation association solution provided by an open business platform provided in an embodiment of the present application;
[0028] Figure 6 A schematic diagram of an interface list of the open business platform provided in an embodiment of the present application under the selected process of obtaining doctor information;
[0029] Figure 7 A schematic diagram of an interface list of the open business platform provided in an embodiment of the present application under the selected forward submission of a medical consultation form process;
[0030] Figure 8 A schematic diagram of the interface mock process for the request class selected by the third-party platform provided in an embodiment of the present application;
[0031] Fig. 9 A schematic diagram of the interface mock process of the notification class selected by the third-party platform provided in an embodiment of the present application;
[0032] Fig.10 A schematic diagram of an information processing system provided in an embodiment of the present application;
[0033] Fig.11 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application;
[0034] Fig.12 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0036] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0037] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0038] It can be seen from the background technology that no matter it is an open business platform with mature platform capabilities or an open business platform with immature platform capabilities, manual participation is required when conducting business association with a third-party platform, and sometimes the R&D personnel of the open business platform are also required to participate, which makes the business association cost high and the association process time-consuming.
[0039] In order to overcome the above problems, the embodiment of the present application provides an information processing method, which avoids manual participation in the process of business association between the third-party platform and the open business platform, and adopts intelligent guidance to the association process. This solution can realize the business association between the third-party platform and the open business platform without manual participation, and saves association time.
[0040] In this application example, the open service platform stores the following information:
[0041] The relationship between business identifiers and process information. Each business identifier corresponds to one or more process information.
[0042] The relationship between process information and interface information. Each process information corresponds to one or more interface information.
[0043] Each interface information corresponds to test information;
[0044] The process information includes: process name, process description information and whether it is required;
[0045] Interface information includes: interface name, name of the process to which it belongs, interface description, interface type, and whether it is required;
[0046] The test information includes: information related to the generated code and information related to the interface parameters;
[0047] Wherein, a business debugging code is generated on a third-party platform according to the information related to the generated code; and a business-related executable code program is generated on an open business platform according to the information related to the generated code.
[0048] When the type of the interface is a request type, the test information corresponding to the interface information, that is, the interface-related parameter information includes: interface parameters and parameter details;
[0049] When the type of the interface is a notification type, the test information corresponding to the interface information, that is, the interface-related parameter information includes: the parameters of the interface and the path address of the parameter details.
[0050] The following describes in detail the third-party platform information processing process implemented in the embodiments of the present application in conjunction with the accompanying drawings.
[0051] Figure 1 This is a schematic diagram of the information processing flow provided in an embodiment of the present application. The specific steps include:
[0052] Step 101: Obtain a service association request sent by a third-party platform; wherein the service association request carries a service identifier.
[0053] Step 102: Acquire test information of the service debugging completed by the third-party platform corresponding to the service identifier.
[0054] Before making business association, it is necessary to complete the business debugging between the third-party platform and the business open platform.
[0055] The specific steps of service debugging in the embodiment of the present application are:
[0056] The first step is to obtain a business-related debugging request sent by a third-party platform, wherein the business-related debugging request carries a business identifier.
[0057] The second step is to obtain the corresponding process information based on the business identifier and output it to the third-party platform for selection.
[0058] The open business platform obtains the corresponding process information according to the business identifier, and the process information here can be one or more.
[0059] The third step is to obtain the corresponding interface information according to the process information selected by the third-party platform, and output it to the third-party platform for selection.
[0060] When the selected process information is one, the interface information selected based on the process information may be one or more.
[0061] Step 4: According to the interface information selected by the third-party platform, the test information corresponding to the interface information is obtained, and output to the third-party platform for business debugging.
[0062] The third-party platform generates a service debugging code according to the interface information, and performs service debugging based on the interface parameter information in the interface information to complete the service debugging.
[0063] If there are multiple test information, service debugging is performed for each test information in turn until all test information are tested, that is, the service debugging is completed.
[0064] Step 103: Generate a business-related executable code program according to the test information.
[0065] Step 104: output the business-related executable code program to a third-party platform, so that the third-party platform runs the business-related executable code program.
[0066] The third-party platform completes running the business-related executable code program, and the business association is completed.
[0067] In the embodiment of the present application, when the third-party platform needs to perform business association, the open business platform directly obtains the business debugging information of the completed business debugging, and generates a business association executable code program according to the test information; the executable program code is output to the third-party platform, and the third-party platform directly runs the executable code to complete the business association. This solution can realize the business association between the third-party platform and the open business platform without human intervention, and saves time.
[0068] See also Figure 2 , Figure 2 This is a schematic diagram of a business association process provided in another embodiment of the present application. The specific steps include:
[0069] Step 201: Obtain a service association request sent by a third-party platform; wherein the service association request carries a service identifier.
[0070] When the embodiment of the present application is specifically implemented, the third-party platform needs to first register with the business open platform, that is, it can log in to the service page provided by the business open platform.
[0071] The service page can display the business-related processes provided by the business open platform.
[0072] The third-party platform can issue business association requests through page operations.
[0073] Step 202: Acquire test information of service debugging completed by the third-party platform corresponding to the service identifier.
[0074] Before making business association, it is necessary to complete the business debugging between the third-party platform and the business open platform.
[0075] For the specific business debugging process, see Figure 3 . Figure 3 This is a schematic diagram of the service debugging process in the embodiment of this application. The specific steps are:
[0076] Step 301: Obtain a service-related debugging request sent by a third-party platform, wherein the service-related debugging request carries a service identifier.
[0077] The third-party platform sends a service-related debugging request by selecting a corresponding solution displayed on a service page provided by the open service platform.
[0078] Step 302: Obtain corresponding process information according to the business identifier, and output it to the third-party platform for selection.
[0079] The open business platform obtains the corresponding process information according to the business identifier. The process information here can be one or more, and all need to be output to the third-party platform through the service page.
[0080] The third-party platform can browse all business-related processes corresponding to the selected business through the service page.
[0081] The process information includes whether the process is a required process, and the corresponding process can be selected according to actual needs.
[0082] Step 303: Obtain corresponding interface information according to the process information selected by the third-party platform, and output it to the third-party platform for selection.
[0083] The open business platform obtains corresponding interface information according to the process information selected by the third-party platform, and outputs it to the third-party platform through the service page.
[0084] The third-party platform can browse all interface information corresponding to the selected business-related process through the service page; the interface information includes whether the interface is a mandatory interface, and the corresponding interface can be selected according to actual needs.
[0085] Step 304: According to the interface information selected by the third-party platform, test information corresponding to the interface information is obtained, and output to the third-party platform for service debugging.
[0086] The test information includes: information related to the generated code and information related to the interface parameters;
[0087] Generate business debugging code on a third-party platform based on the generated code related information, such as through mock. Mock is a test code based on a test library (Moq), which can also be described as a test object. It is a test code implemented on a Microsoft operating platform (NET) and is used to perform a test process for a corresponding interface.
[0088] During the service debugging process, the service debugging code is run to obtain the debugging results corresponding to the interface parameters and feed them back to the open service platform.
[0089] When the type of the interface is a request type, the test information corresponding to the interface information, that is, the interface-related parameter information includes: interface parameters and parameter details; the interface parameters and parameter details can be directly obtained;
[0090] When the type of the interface is a notification type, the test information corresponding to the interface information, that is, the interface-related parameter information includes: the path address of the interface parameters and parameter details, and the interface parameters and parameter details can be obtained through the path address;
[0091] The interface parameters are used to generate corresponding debugging results during business debugging; the parameter details are used to describe the parameters in detail.
[0092] In this step, the test information corresponding to the interface information is obtained and output to the third-party platform for business debugging, including:
[0093] The test information corresponding to all the selected interface information is obtained and output to the third-party platform so that the third-party platform can perform service debugging according to the test information corresponding to each interface information in turn.
[0094] Since the process information selected by the third-party platform is one or more; if the selected process information is one, the interface information selected for the selected process information is one or more; if the selected process information is multiple, the interface information selected for each selected process information is one or more. Therefore, the test information output by the open business platform to the third-party platform is one or more; if there are multiple, they will be displayed on the service page in a certain order.
[0095] The third-party platform can generate test codes according to the test information corresponding to all interfaces in turn for business debugging; it can also debug the business of the interfaces corresponding to each process in turn. After all interfaces corresponding to a process are debugged, the interface corresponding to the next process can be debugged, until all interfaces corresponding to all processes are debugged, and the corresponding business debugging results are fed back to the open business platform.
[0096] At this point, the service debugging process is completed.
[0097] Step 203: Generate a business-related executable code program based on the test information.
[0098] Step 204, obtaining the debugging result generated when the third-party platform performs service debugging according to the test information.
[0099] Step 205: fine-tune and deploy the business-related executable code program according to the debugging result.
[0100] Fine-tune the deployment here first and then output it to the third-party platform to speed up business debugging efficiency.
[0101] Step 206: output the fine-tuned and deployed business-related executable code program to a third-party platform, so that the third-party platform runs the business-related executable code program.
[0102] In the embodiment of the present application, the third-party business platform may be one or more;
[0103] If there are multiple third-party platforms, the business association requests and business association debugging requests sent by the multiple third-party platforms can be obtained simultaneously;
[0104] Or, asynchronously obtain the business-related requests and business-related debugging requests sent by the plurality of third-party platforms.
[0105] The same business association debugging request and business association request of different third-party platforms can be obtained synchronously or asynchronously, and then processed synchronously or asynchronously, that is, the same business of multiple third-party platforms, or business association debugging and business association of different businesses can be processed in parallel.
[0106] In this way, the embodiment of the present application realizes a solution in which the open business platform performs intelligent guidance and the third-party platform performs business association in a self-service manner. The embodiment of the present application is described in detail below.
[0107] In the background technology, when the provided open business platform and the third-party platform are business-related, they generally obtain business-related information such as documents or demos, and the developers of the two platforms conduct business communication involved in the business association, and follow up on the communication interface details and other series of processes before the final business association can be completed with human participation. This will not only lead to low efficiency, but also if multiple third-party platforms need to conduct business associations with the open business platform at the same time, it will cause the R&D personnel of the open business platform to deal with the R&D personnel of multiple third-party platforms at the same time, and the quality of business association cannot be guaranteed.
[0108] The open business platform of the embodiment of the present application adopts an intelligent guidance process. During the business association process between the open business platform and the third-party platform, the R&D personnel of the open business platform do not need to participate in the entire process.
[0109] The open business platform can guide the entire process of the third-party platform.
[0110] First, the open business platform demonstrates all the capabilities it can provide in the form of business.
[0111] Then, the open business platform guides the third-party platform to access by itself. The third-party platform completes a complete process step by step according to the association process. During the completion process, you can understand which processes are involved in this business association and which interfaces are in the process. You can also know which links in the business need to call the interface of the open business platform and which links need to receive notifications from the open business platform. In this way, after the entire business association is completed, the process is clearly understood, and the parameters and call nodes required by the interface in the process are also understood. Finally, according to the needs of the third-party platform, the executable code program of the relevant interface can be downloaded, and the business association is quickly completed.
[0112] Again, the open business platform records the completed interface and gives a prompt for the next step. When entering the next step, the open business platform automatically matches the next interface or process for the third-party platform based on the completion status of the third-party platform. In this way, the entire plan is completed serially. If the third-party platform temporarily exits the process, it will directly enter the unfinished interface after re-entering and conduct the interface. Ultimately, the third-party platform can clearly understand what needs to be done, and complete it self-service through step-by-step guidance.
[0113] Finally, the open business platform monitors the process of the third-party platform during the process. When the third-party platform requests business association, it outputs the entire business process to the third-party platform for testing, and outputs the process sorting and reminder information on whether access is required to the third-party platform. When the third-party platform determines the process, it also exposes all the interfaces of the process and prompts whether access is required in order. When the third-party platform is testing, at each next step interface in the process, the open business platform records the current interface completion status of the third-party platform and determines whether a process is completed. If completed, it automatically switches to the next process. If all processes are processed, the business process is completed. The third-party platform directly proceeds to the test process of the next interface by clicking the Next button, and the open business platform guides and monitors the entire business association step by step.
[0114] Taking the open business platform as an open consultation business platform and associating its open consultation business as an example, the process of the open business platform third-party platform is explained. The specific steps are as follows:
[0115] Step 1: The third-party platform registers and logs in to the open business platform, becomes a developer of the open business platform, and uses the guided process function provided by the open business platform to perform a self-service business association process.
[0116] Step 2: Open the business platform to provide solutions for each business.
[0117] In this process, Figure 4 As shown, Figure 4 A schematic diagram of the association schemes of various different businesses provided by the open business platform provided in the embodiment of the present application, including a targeted consultation scheme, a non-targeted consultation scheme, a pharmacy prescription scheme, a one-click drug purchase scheme, and an API drug purchase scheme, which are displayed to a third-party platform for selection.
[0118] Step 3: The third-party platform can select a targeted consultation plan by clicking or other operations, that is, generate a test request, wherein the generated test request carries a service identifier.
[0119] Step 4: The open business platform obtains the test request sent by the third-party platform, obtains the corresponding business association process according to the business identifier carried in the test request, and outputs it to the third-party platform through a page.
[0120] like Figure 5 As shown, Figure 5 A schematic diagram of the process list in the directional consultation association scheme provided by the open business platform provided in the embodiment of the present application. In the process list of the directional consultation scheme, there are processes for obtaining doctor information, submitting consultation forms, canceling consultation forms by users, and submitting customer complaints by users, etc. If there are required process items, they are directly checked, and it is directly considered that the third-party platform has been selected. Non-required items are also included, and the third-party platform will check them as required to indicate whether the third-party platform has been selected.
[0121] The process information corresponding to the process list includes: process name, process description information and whether it is required.
[0122] Step 5: The third-party platform selects the corresponding business-related process information by operating the business-related process button.
[0123] Step 6: The open business platform obtains corresponding interface information according to the business association process selected by the third-party platform, and outputs it to the third-party platform through a page.
[0124] like Figure 6 As shown, Figure 6 A schematic diagram of the interface list of the open business platform provided in the embodiment of the present application under the selected doctor information acquisition process.
[0125] like Figure 7 As shown, Figure 7A schematic diagram of the interface list of the open business platform provided in an embodiment of the present application under the selected forward medical consultation form submission process.
[0126] Figure 6 and Figure 7 The interface information corresponding to the interface list in includes: interface name, name of the process to which it belongs, interface description information, interface type, and whether it is required.
[0127] The interface also includes mandatory interfaces and optional interfaces. Similarly, the third-party platform must access the mandatory interfaces according to business needs, and the optional interfaces can be selected by the third-party platform.
[0128] exist Figure 6 and Figure 7 There are two types of interfaces in the API. One is the request type, which means that the third-party platform sends a request to the open business platform for interface call. The notification type means that the third-party platform sets a callback interface address, and the open business platform uses the interface address set by the third-party platform to make a notification callback. For example, the consultation bill interface is a request interface, which means that the third-party platform needs to call the open business platform interface. The doctor consultation interface is a notification interface, which means that the open business platform calls the third-party platform interface for message notification.
[0129] Step 7: After the third-party platform selects the interface information, the open service platform obtains the service debugging information corresponding to the selected interface information and outputs it to the third-party platform.
[0130] Step 8: The third-party platform performs service debugging in sequence according to the service debugging information provided by the open service platform.
[0131] The test information includes: basis information for generating business debugging codes, and interface related parameter information;
[0132] Among them, business debugging code can be generated based on relevant information of business debugging, such as through mock. Mock is a test code based on the test library (Moq), which can also be described as a test object. It is a test code implemented on Microsoft's operating platform (NET) and is used to perform the testing process of the corresponding interface.
[0133] During the service debugging process, the service debugging code is run to obtain the debugging results corresponding to the interface parameters and feed them back to the open service platform.
[0134] When the type of the interface is a request type, the test information corresponding to the interface information includes, that is, the interface-related parameter information includes: interface parameters and parameter details; the interface parameters and parameter details can be directly obtained;
[0135] When the type of the interface is a notification type, the test information corresponding to the interface information includes, that is, the interface-related parameter information includes: the path address of the interface parameters and parameter details, and the interface parameters and parameter details can be obtained through the path address;
[0136] The interface parameters are used to generate corresponding debugging results during business debugging; the parameter details are used to describe the parameters in detail.
[0137] Carry out the test and debugging process of the interface of the request class.
[0138] In this process, Figure 8 As shown, Figure 8 The third-party platform provided in the embodiment of this application
[0139] Schematic diagram of the interface mock process of the selected request class. The figure shows that the third-party platform obtains the targeted doctor list by paging, and displays the input parameters of the request class interface. After triggering the mock button, the right side of the figure displays the parameter link that requires the third-party platform to call the interface, as well as the data results returned by the open business platform. Trigger parameter details to view detailed descriptions of the input and output parameters, and trigger the next step to automatically enter the next interface process.
[0140] In this process, after the third-party platform completes the paging to obtain the targeted doctor list, it triggers the next step to enter Fig. 9 The test of the interface for synchronizing doctor changes is shown.
[0141] Fig. 9 A schematic diagram of the interface mock process of the notification class selected by the third-party platform provided in an embodiment of the present application. Fig. 9 After the third-party platform enters the doctor information change synchronization interface, it must first obtain the data notification address. This address is used by the open business platform to call the third-party platform. When the doctor information changes, the third-party platform is called through this notification address to synchronize the relevant information of the change. After clicking the MOCK button, the link address for submitting parameters on the right is generated, and the correct return result is given below. Click Parameter Details to view the detailed description of the input and output parameters, and click Next to enter the next interface. After completion, the process of obtaining doctor information ends.
[0142] The above steps have completed the service debugging of one interface, and according to the process selected by the third-party platform, the next interface in the process is switched to and the current interface is marked as having been service debugged.
[0143] If all interfaces in the current process of the third-party platform have completed business debugging, it will switch to the next process to continue business debugging until all selected processes and interfaces selected in the processes have completed business debugging.
[0144] Step 9: After all interfaces selected by the third-party platform have been debugged and the debugging results are fed back, the business debugging of the selected business is completed.
[0145] The third-party platform already has a certain understanding of the required business, the processes involved in the business, and the interface details required in the process.
[0146] In this process, it is completely self-service and does not require any developers to open the business platform.
[0147] Step 10: The third-party platform sends a business association request.
[0148] The third-party platform can initiate a business association request through the business association request set on the page, such as a business association request button, a business association request code button, etc.
[0149] Step 11: Acquire the test information of the service debugging completed by the third-party platform corresponding to the service identifier; and generate a service-related executable code program based on the test information.
[0150] Step 12: Obtain the debugging result generated by the third-party platform when performing business debugging based on the test information.
[0151] Step 13: Based on the debugging results, fine-tune the deployment of the business-related executable code program.
[0152] Fine-tune the deployment here first and then output it to the third-party platform to speed up business debugging efficiency.
[0153] Step 14: Output the fine-tuned and deployed business-related executable code program to the third-party platform, so that the third-party platform runs the business-related executable code program to complete the business association.
[0154] It can be seen that the above process greatly shortens the business association time of the third-party platform when the open business platform and the third-party platform are used. After the third-party platform uses self-service business debugging, it can understand the details of the business, reducing the product development communication time. After understanding, the compiled program code generated by the open business platform is called and run to complete the final, avoiding the slow problems caused by various environments, languages and R&D personnel capabilities. The third-party platform only needs to focus on its own business, which can be completed quickly through the above process.
[0155] Fig.10 Schematic diagram of a business association system provided in an embodiment of the present application. The business association system includes: an open business platform and a third-party platform;
[0156] The business platform is opened to obtain a business association request sent by a third-party platform; wherein the business association request carries a business identifier; test information of business debugging completed by the third-party platform corresponding to the business identifier is obtained; a business association executable code program is generated according to the test information; and the business association executable code program is output to the third-party platform;
[0157] The third-party platform sends a business association request to the open business platform; after obtaining the business association executable code program provided by the open business platform, the business association executable code program is executed.
[0158] in,
[0159] The third-party platform further sends a business-related debugging request, wherein the business-related debugging request carries a business identifier; obtains process information provided by the open business platform and selects the process information; obtains interface information provided by the open business platform and selects the interface information; obtains test information provided by the open business platform and performs testing.
[0160] in,
[0161] In the interface information sent by the open service platform, if the type of the interface is a request type, the test information corresponding to the interface information to which the interface belongs includes: interface parameters and parameter details; if the type of the interface is a notification type, the test information corresponding to the interface information to which the interface belongs includes: interface parameters and path addresses of parameter details;
[0162] The third-party platform obtains the test information provided by the open business platform, generates test code according to the test information, and performs business debugging based on the interface parameters, and feeds back the obtained debugging results to the open business platform.
[0163] in,
[0164] The third-party platform is one or more;
[0165] If there are multiple third-party platforms, the open platform synchronously obtains the business-related requests and business-related debugging requests sent by the multiple third-party platforms; or asynchronously obtains the business-related requests and business-related debugging requests sent by the multiple third-party platforms.
[0166] in,
[0167] The open business platform further generates a business-related executable code program according to the test information, obtains the debugging results generated by the third-party platform when debugging the business according to the test information; and fine-tunes the deployment of the business-related executable code program according to the debugging results.
[0168] in,
[0169] The third-party platform is specifically used to obtain the test information provided by the open business platform, and to perform business debugging in turn according to the test information corresponding to each interface information; wherein, the process information selected by the third-party platform is one or more; if the selected process information is one, then the interface information selected for the selected process information is one or more; if the selected process information is multiple, then the interface information selected for each selected process information is one or more.
[0170] Based on the same inventive concept, an information processing device is also provided in the embodiment of the present application. Fig.11 , Fig.11 The information processing device provided in the embodiment of the present application is a schematic diagram of the structure of the information processing device. The information processing device includes: a first acquisition unit 1101, a second acquisition unit 1102, a generation unit 1103 and an output unit 1104;
[0171] The first acquisition unit 1101 is used to acquire a service association request sent by a third-party platform; wherein the service association request carries a service identifier;
[0172] The second acquisition unit 1102 is used to acquire test information of the service debugging completed by the third-party platform corresponding to the service identifier acquired by the first acquisition unit 1101;
[0173] A generating unit 1103, configured to generate a service-related executable code program according to the test information acquired by the second acquiring unit 1102;
[0174] The output unit 1104 is used to output the business-related executable code program generated by the generating unit 1103 to the third-party platform, so that the third-party platform runs the business-related executable code program to complete the business association.
[0175] Preferably,
[0176] The first acquisition unit 1101 is further configured to acquire a service-related debugging request sent by a third-party platform, wherein the service-related debugging request carries a service identifier;
[0177] The second acquisition unit 1102 is further used to acquire the corresponding process information according to the business identifier acquired by the first acquisition unit 1101, and output it to the third-party platform for selection; acquire the corresponding interface information according to the process information selected by the third-party platform, and output it to the third-party platform for selection; acquire the test information corresponding to the interface information according to the interface information selected by the third-party platform, and output it to the third-party platform for business debugging.
[0178] Preferably,
[0179] When the type of the interface is a request type, the test information corresponding to the interface information to which the interface belongs includes: interface parameters and parameter details;
[0180] When the type of the interface is a notification type, the test information corresponding to the interface information to which the interface belongs includes: parameters of the interface and path addresses of parameter details.
[0181] Preferably,
[0182] The first acquisition unit 1101 is further used to synchronously acquire business association requests and business association debugging requests sent by multiple third-party platforms if there are multiple third-party platforms; or asynchronously acquire business association requests and business association debugging requests sent by multiple third-party platforms.
[0183] Preferably,
[0184] The generating unit 1103 is further configured to, after generating the business-related executable code program according to the test information, obtain the debugging result generated when the third-party platform performs business debugging according to the test information; and fine-tune and deploy the business-related executable code program according to the debugging result.
[0185] Preferably,
[0186] The output unit 1104 is specifically used to output to the third-party platform so that the third-party platform can perform business debugging according to the test information corresponding to each interface information in turn; wherein, the process information selected by the third-party platform is one or more; if the selected process information is one, then the interface information selected for the selected process information is one or more; if the selected process information is multiple, then the interface information selected for each selected process information is one or more.
[0187] The units in the above-mentioned embodiments may be integrated into one body or deployed separately; they may be combined into one unit or further divided into multiple sub-units.
[0188] In another embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the business association method when executing the program.
[0189] In another embodiment, a computer-readable storage medium is provided, on which computer instructions are stored. When the instructions are executed by a processor, the steps in the information processing method can be implemented.
[0190] Fig.12 Schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. Fig.12As shown, the electronic device may include: a processor (Processor) 1210, a communication interface (Communications Interface) 1220, a memory (Memory) 1230 and a communication bus 1240, wherein the processor 1210, the communication interface 1220, and the memory 1230 communicate with each other through the communication bus 1240. The processor 1210 may call the logic instructions in the memory 1230 to execute the following method:
[0191] Obtaining a business association request sent by a third-party platform; wherein the business association request carries a business identifier;
[0192] Obtain the test information of the third-party platform corresponding to the business identifier that has completed business debugging;
[0193] Generate business-related executable code program based on test information;
[0194] The business-related executable code program is output to a third-party platform, so that the third-party platform runs the business-related executable code program.
[0195] In addition, the logic instructions in the above-mentioned memory 1230 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0196] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0197] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0198] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. An information processing method, It is characterized in that The method comprises: Obtaining a business association request sent by a third-party platform; wherein the business association request carries a business identifier; the third-party platform needs to first register with the business open platform, that is, can log in to the service page provided by the business open platform for it; the service page can display the available business association process provided by the business open platform; the third-party platform sends a business association request through page operations; Acquire test information of completed service debugging of the third-party platform corresponding to the service identifier; Generate a business-related executable code program according to the test information; Outputting the business-related executable code program to the third-party platform so that the third-party platform runs the business-related executable code program; The service debugging process includes: Obtaining a service-related debugging request sent by the third-party platform, wherein the service-related debugging request carries a service identifier; Acquire corresponding process information according to the business identifier, and output it to the third-party platform for selection; Acquire corresponding interface information according to the process information selected by the third-party platform, and output it to the third-party platform for selection; According to the interface information selected by the third-party platform, test information corresponding to the interface information is obtained and output to the third-party platform for service debugging.
2. The method according to claim 1, It is characterized in that When the type of the interface is a request type, the test information corresponding to the interface information to which the interface belongs includes: interface parameters and parameter details; When the type of the interface is a notification type, the test information corresponding to the interface information to which the interface belongs includes: parameters of the interface and path addresses of parameter details.
3. The method according to claim 1, It is characterized in that The third-party platform is one or more; if the third-party platform is multiple, the method further includes: Synchronously obtaining business-related requests and business-related debugging requests sent by multiple third-party platforms; Or, asynchronously obtain the business-related requests and business-related debugging requests sent by the plurality of third-party platforms.
4. The method according to claim 1, It is characterized in that After generating the business-related executable code program according to the test information and before outputting the business-related executable code program to the third-party platform, the method further includes: Obtaining a debugging result generated by the third-party platform when performing service debugging according to the test information; According to the debugging result, the business-related executable code program is fine-tuned and deployed.
5. The method according to any one of claims 1 to 4, It is characterized in that The obtaining test information corresponding to the interface information and outputting it to the third-party platform for business debugging includes: Acquire test information corresponding to all selected interface information, and output it to the third-party platform so that the third-party platform can perform service debugging according to the test information corresponding to each interface information in turn; The third-party platform may select one or more process information; if one process information is selected, one or more interface information may be selected for the selected process information; if multiple process information is selected, one or more interface information may be selected for each selected process information.
6. An information processing device, It is characterized in that The device comprises: a first acquisition unit, a second acquisition unit, a generation unit and an output unit; The first acquisition unit is used to acquire a business association request sent by a third-party platform; wherein the business association request carries a business identifier; the third-party platform needs to first register with the business open platform, that is, can log in to the service page provided by the business open platform for it; the service page can display the business association process provided by the business open platform; the third-party platform sends a business association request through page operations; The second acquisition unit is used to acquire test information of the service debugging completed by the third-party platform corresponding to the service identifier acquired by the first acquisition unit; the service debugging process includes: acquiring a service-related debugging request sent by the third-party platform, wherein the service-related debugging request carries a service identifier; acquiring corresponding process information according to the service identifier, and outputting it to the third-party platform for selection; acquiring corresponding interface information according to the process information selected by the third-party platform, and outputting it to the third-party platform for selection; acquiring test information corresponding to the interface information according to the interface information selected by the third-party platform, and outputting it to the third-party platform for service debugging; The generating unit is configured to generate a service-related executable code program according to the test information acquired by the second acquiring unit; The output unit is used to output the business-related executable code program generated by the generation unit to the third-party platform, so that the third-party platform runs the business-related executable code program.
7. An information processing system, It is characterized in that The system includes: an open business platform and a third-party platform; The open business platform obtains the business association request sent by the third-party platform; wherein the business association request carries a business identifier; obtains the test information of the third-party platform that has completed business debugging corresponding to the business identifier; generates a business association executable code program according to the test information; and outputs the business association executable code program to the third-party platform; the third-party platform needs to register with the business open platform first, that is, it can log in to the service page provided by the business open platform for it; the service page can display the business association process provided by the business open platform; the third-party platform issues a business association request through page operation; the process of business debugging includes: obtaining the business association debugging request sent by the third-party platform, wherein the business association debugging request carries a business identifier; obtaining the corresponding process information according to the business identifier, and outputting it to the third-party platform for selection; obtaining the corresponding interface information according to the process information selected by the third-party platform, and outputting it to the third-party platform for selection; obtaining the test information corresponding to the interface information according to the interface information selected by the third-party platform, and outputting it to the third-party platform for business debugging; The third-party platform sends a service association request to the open service platform; after obtaining a service association executable code program provided by the open service platform, the service association executable code program is executed.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the method according to any one of claims 1 to 5 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Joint debugging test method and device for real estate transaction system and external institution business system
CN111382062A
Case code generation method and device, computer equipment and storage medium
CN112486824A
Interface access test method and system
CN112835782A
Openability access method, device and apparatus of service platform
CN113220272A