CN114443481A - Information processing method, device and system - Google Patents

Information processing method, device and system Download PDF

Info

Publication number
CN114443481A
CN114443481A CN202210094072.1A CN202210094072A CN114443481A CN 114443481 A CN114443481 A CN 114443481A CN 202210094072 A CN202210094072 A CN 202210094072A CN 114443481 A CN114443481 A CN 114443481A
Authority
CN
China
Prior art keywords
service
information
party platform
platform
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210094072.1A
Other languages
Chinese (zh)
Inventor
马双亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Tuoxian Technology Co Ltd
Original Assignee
Beijing Jingdong Tuoxian Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Tuoxian Technology Co Ltd filed Critical Beijing Jingdong Tuoxian Technology Co Ltd
Priority to CN202210094072.1A priority Critical patent/CN114443481A/en
Publication of CN114443481A publication Critical patent/CN114443481A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses an information processing method, device and system. The information processing method comprises the following steps: acquiring a service association request sent by a third-party platform; wherein, the service association request carries a service identifier; acquiring test information of the service debugging completed by the third-party platform corresponding to the service identification; generating a service association executable code program according to the test information; and outputting the service correlation executable code program to a third-party platform, so that the third-party platform runs the service correlation executable code program. The method can realize the business association between the open business platform and the third-party platform without the participation of manpower, and saves time.

Description

Information processing method, device and system
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information processing method, apparatus, and system.
Background
With the rapid development of computer network technology, more and more different types of services are carried and implemented in computer networks, for example, a service platform is set to provide service services. In order to enable the service platform to better provide the service, the service platform is usually set as an open service platform, and the service platform can be associated with a third-party platform to output service data to the third-party platform so as to meet the service requirement of the third-party platform.
At present, an open service platform with mature platform capability generally provides an online service association sub-platform, a third-party platform becomes a development terminal of the open service platform through the service association sub-platform, and service association to the open service platform is performed by adopting service association information such as documents or examples (demo) provided by the service association sub-platform. The open service platform with immature platform capability directly provides an interface document comprising service interface information, and the third-party platform realizes service association to the open service platform based on the acquired interface document.
Aiming at an open service platform with mature platform capability or immature platform capability, manual participation at the side of the open service platform is needed in the service association process, and the association process lasts for a long time.
Content of application
In view of this, embodiments of the present application provide an information processing method, apparatus, and system, which can implement service association between an open service platform and a third-party platform without human intervention, and save time.
An embodiment of the present application provides an information processing method, including:
acquiring a service association request sent by a third-party platform; wherein, the service association request carries a service identifier;
acquiring test information of the service debugging completed by the third-party platform corresponding to the service identification;
generating a service association executable code program according to the test information;
and outputting the service correlation executable code program to the third-party platform, so that the third-party platform runs the service correlation executable code program.
An embodiment of the present application further provides an information processing apparatus, including: the device comprises a first acquisition unit, a second acquisition unit, a generation unit and an output unit;
the first obtaining unit is used for obtaining a service association request sent by a third-party platform; wherein, the service association request carries a service identifier;
the second obtaining unit is configured to obtain test information that the third-party platform corresponding to the service identifier obtained by the first obtaining unit has completed service debugging;
the generating unit is used for generating a service association executable code program according to the test information acquired by the second acquiring unit;
and the output unit is used for outputting the service-related executable code program generated by the generation unit to the third-party platform, so that the third-party platform runs the service-related executable code program.
An embodiment of the present application further provides an information processing system, where the system includes: the system comprises an open service platform and a third party platform;
the open service platform acquires a service association request sent by the third-party platform; wherein, the service association request carries a service identifier; acquiring test information of the service debugging completed by the third-party platform corresponding to the service identification; generating a service association executable code program according to the test information; outputting the service associated executable code program to the third-party platform;
the third party platform sends a service association request to the open service platform; and executing the service-associated executable code program after acquiring the service-associated executable code program provided by the open service platform.
An embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and is characterized in that the processor implements the information processing method when executing the program.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the information processing method.
According to the technical scheme, when the third-party platform needs to perform service association, the open service platform directly acquires debugging information of the completed service debugging and generates a service association executable code program according to the test information in the embodiment; the executable program code is output to a third-party platform, and the third-party platform can directly run the executable code to complete the service association. The scheme can realize the service association of the third-party platform and the open service platform under the condition of no manual work, and saves time.
Drawings
Fig. 1 is a schematic view of an information processing flow provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of an information processing flow provided in another embodiment of the present application;
FIG. 3 is a schematic diagram of a service debugging process in an embodiment of the present application;
fig. 4 is a schematic diagram of an association scheme of different services provided by an open service platform according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a flow chart in a directional inquiry association scheme provided by an open service platform according to an embodiment of the present application;
fig. 6 is a schematic interface list diagram of the open service platform provided in the embodiment of the present application in a selected process of acquiring doctor information;
fig. 7 is a schematic diagram illustrating an interface list of the open service platform provided by the embodiment of the present application under a selected forward submission inquiry flow;
fig. 8 is a schematic diagram of an interface mock process for a request class selected by a third party platform according to an embodiment of the present application;
fig. 9 is a schematic diagram of an interface mock process for a notification class selected by a third party platform according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an information handling system according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 12 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present application will be described in detail with specific examples. Several of the following embodiments may be combined with each other and some details of the same or similar concepts or processes may not be repeated in some embodiments.
It can be seen from the background art that, for an open service platform with mature platform capability or an open service platform with immature platform capability, the third-party platform is manually involved in the service association, and sometimes research and development personnel of the open service platform are also required to participate in the service association, so that the service association cost is high, and the association process is time-consuming.
In order to overcome the above problems, embodiments of the present application provide an information processing method, which avoids manual participation in a process of performing service association between a third-party platform and an open service platform, and adopts an intelligent guiding association process. The scheme can realize the service association of the third-party platform and the open service platform under the condition of no manual work, and saves the association time.
In the embodiment of the application, the open service platform stores the following information:
the association relation between the business identification and the process information, wherein each business identification corresponds to one or more process information;
the incidence relation between the process information and the interface information, wherein each process information corresponds to one or more interface information;
each interface information corresponds to test information;
wherein, the flow information includes: process name, process description information and whether selection is necessary;
the interface information includes: interface name, name of the process, interface description information, interface type and whether selection is necessary;
the test information includes: generating code related information and interface related parameter information;
generating a service debugging code on a third-party platform according to the relevant information of the generated code; and generating a service associated executable code program on the open service platform according to the code generating related information.
When the type of the interface is the request type, the test information corresponding to the interface information, namely the interface related parameter information, includes: parameters and parameter details of the interface;
when the type of the interface is the notification type, the test information corresponding to the interface information, that is, the interface related parameter information includes: parameters of the interface and path addresses of the parameter details.
The following describes in detail an information processing process of the third-party platform implemented in the embodiment of the present application with reference to the drawings.
Fig. 1 is a schematic diagram of an information processing flow provided in an embodiment of the present application. The method comprises the following specific steps:
step 101, acquiring a service association request sent by a third-party platform; wherein, the service association request carries the service identifier.
And 102, acquiring test information of the service debugging completed by the third-party platform corresponding to the service identification.
Before the service association is performed, the service debugging between the third-party platform and the service open platform needs to be completed.
The service debugging method in the embodiment of the application comprises the following specific steps:
the method comprises the steps of firstly, obtaining a service correlation debugging request sent by a third-party platform, wherein the service correlation debugging request carries a service identifier.
And secondly, acquiring corresponding process information according to the service identifier, and outputting the corresponding process information to a third-party platform for selection.
The open service platform acquires corresponding flow information according to the service identifier, wherein the flow information can be one or more.
And thirdly, acquiring corresponding interface information according to the process information selected by the third-party platform, and outputting the interface information to the third-party platform for selection.
When the selected flow information is one, the interface information selected based on the flow information may be one or more.
And step four, acquiring test information corresponding to the interface information according to the interface information selected by the third-party platform, and outputting the test information to the third-party platform for service debugging.
And the third-party platform generates a service debugging code according to the interface information, and carries out service debugging based on the interface parameter information in the interface information so as to finish service debugging.
And if a plurality of pieces of test information exist, performing service debugging on each piece of test information in sequence until all the test information is tested, namely completing the service debugging.
And 103, generating a service correlation executable code program according to the test information.
And 104, outputting the service association executable code program to a third-party platform, so that the third-party platform runs the service association executable code program.
And the third-party platform finishes the operation of the service association executable code program and finishes the service association.
In the embodiment of the application, when the third-party platform needs to perform service association, the open service platform directly acquires service debugging information of the completed service debugging and generates a service association executable code program according to the test information; the executable program code is output to a third-party platform, and the third-party platform can directly run the executable code to complete the service association. The scheme can realize the service association of the third-party platform and the open service platform under the condition of no manual work, and saves time.
Referring to fig. 2, fig. 2 is a schematic view of a service association process provided in another embodiment of the present application. The method comprises the following specific steps:
step 201, acquiring a service association request sent by a third-party platform; wherein, the service association request carries the service identifier.
In the embodiment of the application, when the third-party platform is specifically implemented, the third-party platform needs to be registered to the service open platform first, that is, a service page provided by the service open platform can be logged in.
And the service page can show the available service association process provided by the service open platform.
The third party platform may issue a service association request through page operations.
Step 202, obtaining test information of the completed service debugging of the third-party platform corresponding to the service identifier.
Before the service association is performed, the service debugging between the third-party platform and the service open platform needs to be completed.
The specific process of service debugging is shown in fig. 3. Fig. 3 is a schematic diagram of a service debugging process in the embodiment of the present application. The method comprises the following specific steps:
step 301, obtaining a service association debugging request sent by a third party platform, wherein the service association debugging request carries a service identifier.
And the third-party platform sends the service association debugging request by selecting a corresponding scheme displayed on a service page provided by the open service platform.
And step 302, acquiring corresponding process information according to the service identifier, and outputting the corresponding process information to a third-party platform for selection.
The open service platform acquires corresponding process information according to the service identifier, wherein the process information can be one or more, and all the process information needs to be output to a third-party platform through a service page.
And the third-party platform can browse all the business associated processes corresponding to the selected business through the service page.
The flow information includes whether the flow is a necessary flow, and the corresponding flow can be selected according to actual needs.
And 303, acquiring corresponding interface information according to the process information selected by the third-party platform, and outputting the interface information to the third-party platform for selection.
And the open service platform acquires corresponding interface information according to the process information selected by the third-party platform and outputs the interface information to the third-party platform through the service page.
The third-party platform can browse all interface information corresponding to the selected business association process through the service page; the interface information includes whether the interface is a necessary interface, and the corresponding interface can be selected according to actual needs.
And 304, acquiring test information corresponding to the interface information according to the interface information selected by the third-party platform, and outputting the test information to the third-party platform for service debugging.
The test information includes: generating code related information and interface related parameter information;
and generating service debugging codes on the third-party platform according to the generated code related information, for example, by using mock, where mock is a test code based on a test library (Moq), and may also be described as a test object, which is a test code implemented on a microsoft operation platform (NET) and used for performing a test process of a corresponding interface.
And in the process of debugging the service, running the service debugging code, acquiring a debugging result corresponding to the parameters of the interface, and feeding back the debugging result to the open service platform.
When the type of the interface is the request type, the test information corresponding to the interface information, namely the interface related parameter information, includes: parameters and parameter details of the interface; parameters and parameter details of the interface can be directly obtained;
when the type of the interface is the notification type, the test information corresponding to the interface information, that is, the interface related parameter information includes: the path address of the parameters and the parameter details of the interface can be obtained through the path address;
the interface parameters are used for generating corresponding debugging results during service debugging; the parameter details are used to describe the parameters in detail.
In this step, test information corresponding to the interface information is obtained and output to a third-party platform for service debugging, which specifically includes:
and acquiring test information corresponding to all selected interface information, and outputting the test information to the third-party platform so that the third-party platform sequentially carries out service debugging according to the test information corresponding to each interface information.
One or more process information is selected by the third-party platform; if the selected process information is one, one or more interface information selected aiming at the selected process information is selected; if the selected process information is multiple, the interface information selected for each selected process information is one or more. Therefore, the open service platform outputs one or more test information to the third party platform; if the number of the service pages is multiple, the service pages are displayed according to a certain sequence.
The third-party platform can generate test codes according to the test information corresponding to all the interfaces in sequence to debug the service; the service debugging can also be performed in sequence for the interface corresponding to each process, after the debugging of all the interfaces corresponding to one process is completed, the debugging of the interface corresponding to the next process is performed until the service debugging of all the interfaces corresponding to all the processes is completed, and the corresponding service debugging result is fed back to the open service platform.
And finishing the service debugging process.
Step 203, generating a service association executable code program based on the test information.
And 204, acquiring a debugging result generated when the third-party platform carries out service debugging according to the test information.
Step 205, performing fine-tuning deployment on the service-associated executable code program according to the debugging result.
The fine tuning deployment is firstly carried out and then the fine tuning deployment is output to the third-party platform, so that the service debugging efficiency can be accelerated.
And step 206, outputting the service association executable code program after fine tuning deployment to a third-party platform, so that the third-party platform runs the service association executable code program.
In the embodiment of the application, one or more third-party service platforms can be provided;
if a plurality of third party platforms exist, service association requests and service association debugging requests sent by the plurality of third party platforms can be synchronously acquired;
or, asynchronously acquiring service association requests and service association debugging requests sent by a plurality of third-party platforms.
The same service association debugging request and the service association request of different third-party platforms can be synchronously or asynchronously acquired, and synchronous or asynchronous processing is further performed, that is, the same service of a plurality of third-party platforms can be processed in parallel, or service association debugging and service association of different services can be processed.
Therefore, the embodiment of the application realizes the scheme that the intelligent guidance is carried out by the open service platform and the service association is carried out by the third-party platform in a self-service manner. The following specifically describes examples of the present application.
In the background art, when the provided open service platform and the third-party platform are associated with each other, generally, service association information such as documents or demos is obtained, developers of the two-party platform perform service communication related to the service association, follow up communication interface details and other series of processes, and then complete final service association under manual participation. Therefore, not only can the efficiency be low, but also if a plurality of third-party platforms need to be simultaneously associated with the open service platform, research and development personnel of the open service platform need to simultaneously deal with the research and development personnel of the plurality of third-party platforms, and the quality of service association cannot be guaranteed.
The open service platform of the embodiment of the application adopts an intelligent guiding process, and research personnel of the open service platform are not required to participate in the whole process in the service association process of the open service platform and the third-party platform.
The open service platform can guide the whole process of the third party platform.
Firstly, the open service platform displays all the capabilities that can be provided by the open service platform, and displays the capabilities in a service form.
Then, the open service platform enables the third party platform to access by itself in a guiding mode, the third party platform completes a complete process step by step according to the associated processes, and in the completion process, the third party platform can know which processes exist in the service association and which interfaces exist in the processes. And can know which links in the service need to call the interface of the open service platform and which links need to receive the notification of the open service platform. Therefore, after the whole service association is finished, the process is clearly known, parameters and calling nodes required by the interface in the process are also known, finally, executable code programs of the related interface can be downloaded according to the requirements of a third-party platform, and finally, the service association is quickly finished.
And thirdly, the open service platform records the completed interface and gives a prompt for the next step, when the open service platform enters the next step, the open service platform automatically matches the next interface or flow for the third-party platform according to the completed condition of the third-party platform, so that the whole scheme is completed in series, if the third-party platform temporarily exits the process, the third-party platform can directly enter the unfinished interface after reentering the process to perform the interface, and finally the third-party platform can clearly know what needs to be done, thereby completing the self-service mode through one-step guidance.
And finally, the open service platform monitors the process of the third-party platform in the process, when the third-party platform requests service association, all the processes of the service are output to the third-party platform for testing, information about process sequencing and reminding whether access is needed is output to the third-party platform, all the interfaces of the process are exposed when the third-party platform determines the processes, and whether access is needed is prompted according to the sequence. When the third-party platform tests, the open service platform records the current interface completion state of the third-party platform at each next interface in the process, and judges whether one process is completed or not, if so, the open service platform automatically switches to the next process, and if all the processes are completed, the service process is completed. The third-party platform directly performs the test process of the next interface by clicking the next button, and the open service platform guides and monitors the test to complete the whole service association step by step.
The process of the third-party platform of the open service platform is illustrated by taking the open service platform as the open inquiry service platform and performing service association on the open inquiry service of the open service platform as an example, and the specific steps are as follows:
step one, the third party platform registers in the open service platform to become a developer of the open service platform, and performs a self-service association process by using a guidance process function provided by the open service platform.
Step two, the open service platform provides the scheme of each service.
In this process, as shown in fig. 4, fig. 4 is a schematic diagram of an association scheme of each different service provided by the open service platform according to the embodiment of the present application. The system comprises a directional inquiry scheme, a non-directional inquiry scheme, a prescription scheme of a pharmacy shop, a one-key medicine purchasing scheme and an API medicine purchasing scheme, and is displayed to a third-party platform for selection.
And step three, the third-party platform can select a directional inquiry scheme through clicking and other operations, namely generating a test request, wherein the generated test request carries the service identifier.
And step four, the open service platform acquires a test request sent by the third-party platform, acquires a corresponding service association flow according to a service identifier carried by the test request, and outputs the corresponding service association flow to the third-party platform through a page.
As shown in fig. 5, fig. 5 is a schematic flow chart of a directed inquiry association scheme provided by an open service platform according to an embodiment of the present application. The flow list of the directional inquiry scheme comprises a flow for acquiring doctor information, a flow for forward submitting inquiry, a flow for canceling inquiry by a user, a flow for submitting customer complaints by the user and the like, wherein if necessary flow items exist, the flow items are directly selected, the third-party platform is directly considered to be selected, and if unnecessary options are included, the third-party platform indicates whether the third-party platform is selected according to the required selection.
The flow information corresponding to the flow list includes: the name of the process, the description information of the process and whether the process is necessary.
And step five, selecting corresponding business association process information by the third-party platform through operating the business association process button.
And step six, the open service platform acquires corresponding interface information according to the service association process selected by the third-party platform and outputs the interface information to the third-party platform through a page.
As shown in fig. 6, fig. 6 is a schematic interface list diagram of the open service platform provided in the embodiment of the present application under the selected flow of acquiring doctor information.
As shown in fig. 7, fig. 7 is a schematic diagram illustrating an interface list of the open service platform provided by the embodiment of the present application under a selected forward submission inquiry flow.
The interface information corresponding to the interface lists in fig. 6 and 7 includes: interface name, name of the process, interface description information, interface type and whether selection is necessary.
The interface also comprises a necessary interface and an optional interface, and the necessary interface is required to be accessed and the optional interface can be selected by the third-party platform according to the service requirement.
The interface types in fig. 6 and 7 are 2, one is a request type, which represents a third-party platform to send a request to the open service platform for interface call, the notification type represents the third-party platform to set a callback interface address, and the open service platform performs notification callback through the interface address set by the third-party platform. For example, the inquiry and consultation bill interface is a request-type interface, which is an interface of the third-party platform to call the open service platform, and the doctor consultation interface is a notification-type interface, which is an interface of the open service platform to call the third-party platform to perform message notification.
And step seven, after the third-party platform selects the interface information, the open service platform acquires service debugging information corresponding to the selected interface information and outputs the service debugging information to the third-party platform.
And step eight, the third-party platform sequentially carries out service debugging according to the service debugging information provided by the open service platform.
The test information includes: the basis information is used for generating the service debugging code, and the interface related parameter information;
the service debugging related information may generate a service debugging code, for example, the service debugging code is implemented by a mock, where the mock is a test code based on a test library (Moq), and may also be described as a test object, which is a test code implemented on a microsoft operation platform (NET) and used for performing a test process of a corresponding interface.
And in the process of debugging the service, running the service debugging code, acquiring a debugging result corresponding to the parameters of the interface, and feeding back the debugging result to the open service platform.
When the type of the interface is the request type, the test information corresponding to the interface information includes, that is, the interface related parameter information includes: parameters and parameter details of the interface; parameters and parameter details of the interface can be directly obtained;
when the type of the interface is the notification type, the test information corresponding to the interface information includes, that is, the interface related parameter information includes: the method comprises the steps that the path address of the parameters and parameter details of an interface can be obtained through the path address;
the interface parameters are used for generating corresponding debugging results during service debugging; the parameter details are used to describe the parameters in detail.
And carrying out a test debugging process of the interface of the request class.
In this process, as shown in fig. 8, fig. 8 is a diagram of a third party platform provided by the embodiment of the present application
Schematic diagram of the interface mock procedure of the selected request class. The third-party platform is displayed in the figure to acquire a directional doctor list in a paging mode, entry display is carried out on the interfaces of the request class, after the mock button is triggered, parameter links needing the third-party platform to call the interfaces and data results returned by the open service platform are displayed on the right side in the figure. Triggering the parameter details, checking the detailed description information of the access parameters, and triggering the next step to automatically enter the next interface process.
In this process, after the third-party platform finishes paging to obtain the targeted doctor list, it triggers the next test to enter the interface for doctor change synchronization shown in fig. 9.
Fig. 9 is a schematic diagram of an interface mock process for a notification class selected by a third party platform according to an embodiment of the present application. Fig. 9 shows that after the third-party platform enters the doctor information change synchronization interface, the third-party platform first needs to notify the address of the data, the address is used for the open service platform to call the third-party platform, after the doctor information is changed, the third-party platform is called through the notification address, the changed related information is synchronized, after the MOCK button is clicked, the link address of the right-side submitted parameter is generated, and the correct return result is given below. Clicking the parameter details can check the detailed description information of the access parameters, and clicking the next step to enter the next interface. And after the completion, the flow of acquiring the doctor information is ended.
And the step is to switch to the next interface in the process according to the process selected by the third-party platform and mark that the current interface is debugged.
If all the interfaces in the current process of the third-party platform are subjected to service debugging, the next process is switched to continue the service debugging until all the selected processes and all the services of the interfaces selected in the processes are debugged.
Step nine, after all the interfaces selected by the third-party platform carry out service debugging and feed back the debugging result, the service debugging of the selected service is completed.
The third party platform already has a certain understanding of the required service, the flow involved in the service and the required interface details in the flow.
In the process, the method is completely self-service without any developer for opening the service platform.
Step ten, the third party platform sends a service association request.
The third-party platform may initiate a service association request through a service association request set on the page, such as a service association request button, a service association request code button, and the like.
Step eleven, acquiring test information of the completed service debugging of the third-party platform corresponding to the service identification; and generating a service association executable code program based on the test information.
And step twelve, acquiring a debugging result generated when the third-party platform carries out service debugging according to the test information.
And step thirteen, carrying out fine adjustment and deployment on the service association executable code program according to the debugging result.
The fine tuning deployment is firstly carried out and then the fine tuning deployment is output to the third-party platform, so that the service debugging efficiency can be accelerated.
And step fourteen, outputting the service association executable code program after fine tuning deployment to a third party platform, and enabling the third party platform to run the service association executable code program to complete service association.
It can be seen that, when the service platform and the third-party platform are opened by adopting the process, the service association time of the third-party platform is greatly shortened, the third-party platform can know each minutia in the service after self-service debugging, the product research and development communication time is reduced, the compilable program codes generated by the opened service platform after the third-party platform finishes the knowledge are called and run, the final problem is solved, and the slowness caused by various environments, languages and the capacity of research and development personnel is avoided. The third-party platform can finish the operation quickly only by paying attention to the own service through the process.
Fig. 10 is a schematic diagram of a service association system according to an embodiment of the present application. The service association system comprises: the system comprises an open service platform and a third party platform;
the method comprises the steps that a service platform is opened, and a service association request sent by a third-party platform is obtained; wherein, the service association request carries a service identifier; acquiring test information of the completed service debugging of the third-party platform corresponding to the service identification; generating a service association executable code program according to the test information; outputting the service association executable code program to a third-party platform;
the third party platform sends a service association request to the open service platform; and executing the service associated executable code program after acquiring the service associated executable code program provided by the open service platform.
Wherein the content of the first and second substances,
the third-party platform further sends a service association debugging request; wherein, the service correlation debugging request carries a service identifier; acquiring process information provided by an open service platform, and selecting the process information; acquiring interface information provided by an open service platform, and selecting the interface information; and acquiring test information provided by the open service platform for testing.
Wherein the content of the first and second substances,
in the interface information sent by the open service platform, if the type of the interface is the request type, the test information corresponding to the interface information to which the interface belongs includes: parameters and parameter details of the interface; if the type of the interface is the notification type, the test information corresponding to the interface information to which the interface belongs includes: the parameters of the interface and the path address of the parameter details;
and the third-party platform acquires the test information provided by the open service platform, generates a test code according to the test information, carries out service debugging on the interface parameters and feeds back the acquired debugging result to the open service platform.
Wherein the content of the first and second substances,
one or more third party platforms;
if a plurality of third party platforms exist, the platform is opened, and service association requests and service association debugging requests sent by the plurality of third party platforms are synchronously acquired; or, asynchronously acquiring service association requests and service association debugging requests sent by a plurality of third-party platforms.
Wherein the content of the first and second substances,
the service platform is opened, and further after a service associated executable code program is generated according to the test information, a debugging result generated when the third-party platform carries out service debugging according to the test information is obtained; and carrying out fine-tuning deployment on the service associated executable code program according to the debugging result.
Wherein the content of the first and second substances,
the third-party platform is specifically used for acquiring the test information provided by the open service platform and sequentially debugging the service according to the test information corresponding to each interface information; one or more pieces of flow information selected by the third-party platform are selected; if the selected process information is one, one or more interface information selected aiming at the selected process information is selected; if the selected process information is multiple, the interface information selected for each selected process information is one or more.
Based on the same inventive concept, the embodiment of the application also provides an information processing device. Referring to fig. 11, fig. 11 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application. The information processing apparatus includes: a first acquisition unit 1101, a second acquisition unit 1102, a generation unit 1103, and an output unit 1104;
a first obtaining unit 1101, configured to obtain a service association request sent by a third party platform; wherein, the service association request carries a service identifier;
a second obtaining unit 1102, configured to obtain test information of service debugging completed by the third-party platform, where the test information corresponds to the service identifier obtained by the first obtaining unit 1101;
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;
an output unit 1104, configured to output the service association executable code program generated by the generation unit 1103 to a third-party platform, so that the third-party platform runs the service association executable code program, and completes service association.
Preferably, the first and second electrodes are formed of a metal,
the first obtaining unit 1101 is further configured to obtain a service association debugging request sent by a third party platform, where the service association debugging request carries a service identifier;
the second obtaining unit 1102 is further configured to obtain corresponding flow information according to the service identifier obtained by the first obtaining unit 1101, and output the flow information to the third-party platform for selection; acquiring corresponding interface information according to the process information selected by the third-party platform, and outputting the interface information to the third-party platform for selection; and according to the interface information selected by the third-party platform, acquiring test information corresponding to the interface information, and outputting the test information to the third-party platform for service debugging.
Preferably, the first and second electrodes are formed of a metal,
when the type of the interface is a request type, the test information corresponding to the interface information to which the interface belongs comprises: parameters and parameter details of the interface;
when the type of the interface is the notification type, the test information corresponding to the interface information to which the interface belongs includes: parameters of the interface and path addresses of the parameter details.
Preferably, the first and second electrodes are formed of a metal,
the first obtaining unit 1101 is further configured to obtain a plurality of third-party platforms, and if the number of the third-party platforms is multiple, synchronously obtain service association requests and service association debugging requests sent by the plurality of third-party platforms; or, asynchronously acquiring service association requests and service association debugging requests sent by a plurality of third-party platforms.
Preferably, the first and second electrodes are formed of a metal,
the generating unit 1103 is further configured to, after generating the service-associated executable code program according to the test information, obtain a debugging result generated when the third-party platform performs service debugging according to the test information; and carrying out fine-tuning deployment on the service associated executable code program according to the debugging result.
Preferably, the first and second electrodes are formed of a metal,
the output unit 1104 is specifically configured to output the test information to a third-party platform, so that the third-party platform sequentially performs service debugging according to the test information corresponding to each interface information; one or more pieces of flow information selected by the third-party platform are selected; if the selected process information is one, one or more interface information selected aiming at the selected process information is selected; if the selected process information is multiple, the interface information selected for each selected process information is one or more.
The units of the above embodiments may be integrated into one body, or may be separately deployed; may be combined into one unit or further divided into a plurality of sub-units.
In another embodiment, an electronic device is also provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the service association method when executing the program.
In another embodiment, a computer readable storage medium is also provided, having stored thereon computer instructions, which when executed by a processor, may implement the steps in the information processing method.
Fig. 12 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 12, 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 via the communication bus 1240. Processor 1210 may call logic instructions in memory 1230 to perform the following method:
acquiring a service association request sent by a third-party platform; wherein, the service association request carries a service identifier;
acquiring test information of the service debugging completed by the third-party platform corresponding to the service identification;
generating a service association executable code program according to the test information;
and outputting the service correlation executable code program to a third-party platform, so that the third-party platform runs the service correlation executable code program.
In addition, the logic instructions in the memory 1230 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. An information processing method, characterized in that the method comprises:
acquiring a service association request sent by a third-party platform; wherein, the service association request carries a service identifier;
acquiring test information of the service debugging completed by the third-party platform corresponding to the service identification;
generating a service association executable code program according to the test information;
and outputting the service correlation executable code program to the third-party platform, so that the third-party platform runs the service correlation executable code program.
2. The method of claim 1, wherein the process of traffic debugging comprises:
acquiring a service association debugging request sent by the third-party platform, wherein the service association debugging request carries a service identifier;
acquiring corresponding process information according to the service identification, and outputting the corresponding process information to the third-party platform for selection;
acquiring corresponding interface information according to the process information selected by the third-party platform, and outputting the interface information to the third-party platform for selection;
and according to the interface information selected by the third-party platform, acquiring test information corresponding to the interface information, and outputting the test information to the third-party platform for service debugging.
3. The method of claim 2,
when the type of the interface is a request type, the test information corresponding to the interface information to which the interface belongs comprises: parameters and parameter details of the interface;
when the type of the interface is the notification type, the test information corresponding to the interface information to which the interface belongs includes: parameters of the interface and path addresses of the parameter details.
4. The method of claim 2, wherein the third party platform is one or more; if the number of the third party platforms is multiple, the method further comprises the following steps:
synchronously acquiring service association requests and service association debugging requests sent by a plurality of third-party platforms;
or, asynchronously acquiring service association requests and service association debugging requests sent by a plurality of third-party service platforms.
5. The method of claim 1, wherein after the generating the service-associated executable code program according to the test information and before outputting the service-associated executable code program to the third-party platform, the method further comprises:
obtaining a debugging result generated when the third-party platform carries out service debugging according to the test information;
and carrying out fine-tuning deployment on the service associated executable code program according to the debugging result.
6. The method according to any one of claims 1 to 5, wherein the obtaining of the test information corresponding to the interface information and outputting of the test information to the third party platform for service debugging includes:
acquiring test information corresponding to all selected interface information, and outputting the test information to the third-party platform so that the third-party platform sequentially carries out service debugging according to the test information corresponding to each interface information;
one or more pieces of process information selected by the third-party platform are selected; if the selected process information is one, one or more interface information selected aiming at the selected process information is selected; if the selected process information is multiple, the interface information selected for each selected process information is one or more.
7. An information processing apparatus characterized in that the apparatus comprises: the device comprises a first acquisition unit, a second acquisition unit, a generation unit and an output unit;
the first obtaining unit is used for obtaining a service association request sent by a third-party platform; wherein, the service association request carries a service identifier;
the second obtaining unit is configured to obtain test information that the third-party platform corresponding to the service identifier obtained by the first obtaining unit has completed service debugging;
the generating unit is used for generating a service association executable code program according to the test information acquired by the second acquiring unit;
and the output unit is used for outputting the service-related executable code program generated by the generation unit to the third-party platform, so that the third-party platform runs the service-related executable code program.
8. An information processing system, the system comprising: the system comprises an open service platform and a third party platform;
the open service platform acquires a service association request sent by the third-party platform; wherein, the service association request carries a service identifier; acquiring test information of the service debugging completed by the third-party platform corresponding to the service identification; generating a service association executable code program according to the test information; outputting the service associated executable code program to the third-party platform;
the third party platform sends a service association request to the open service platform; and executing the service-associated executable code program after acquiring the service-associated executable code program provided by the open service platform.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-6 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 6.
CN202210094072.1A 2022-01-26 2022-01-26 Information processing method, device and system Pending CN114443481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210094072.1A CN114443481A (en) 2022-01-26 2022-01-26 Information processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210094072.1A CN114443481A (en) 2022-01-26 2022-01-26 Information processing method, device and system

Publications (1)

Publication Number Publication Date
CN114443481A true CN114443481A (en) 2022-05-06

Family

ID=81370029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210094072.1A Pending CN114443481A (en) 2022-01-26 2022-01-26 Information processing method, device and system

Country Status (1)

Country Link
CN (1) CN114443481A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382062A (en) * 2018-12-30 2020-07-07 贝壳技术有限公司 Joint debugging test method and device for house property transaction system and external mechanism business system
CN112052167A (en) * 2020-08-25 2020-12-08 北京梧桐车联科技有限责任公司 Method and device for generating test script code
CN112328501A (en) * 2020-11-30 2021-02-05 浙江诺诺网络科技有限公司 Test method, test device, electronic equipment and storage medium
CN112486824A (en) * 2020-11-30 2021-03-12 广州品唯软件有限公司 Use case code generation method and device, computer equipment and storage medium
CN113220272A (en) * 2021-04-27 2021-08-06 支付宝(杭州)信息技术有限公司 Method, device and equipment for accessing open capability of service platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382062A (en) * 2018-12-30 2020-07-07 贝壳技术有限公司 Joint debugging test method and device for house property transaction system and external mechanism business system
CN112052167A (en) * 2020-08-25 2020-12-08 北京梧桐车联科技有限责任公司 Method and device for generating test script code
CN112328501A (en) * 2020-11-30 2021-02-05 浙江诺诺网络科技有限公司 Test method, test device, electronic equipment and storage medium
CN112486824A (en) * 2020-11-30 2021-03-12 广州品唯软件有限公司 Use case code generation method and device, computer equipment and storage medium
CN113220272A (en) * 2021-04-27 2021-08-06 支付宝(杭州)信息技术有限公司 Method, device and equipment for accessing open capability of service platform

Similar Documents

Publication Publication Date Title
CN106020948B (en) A kind of process dispatch method and device
US20120297367A1 (en) Testing an application
CN107845011A (en) Method and apparatus for handling order
CN110221948A (en) Test script generation method, device, computer installation and storage medium
CA3129986A1 (en) Network testing method and device
CN112819508B (en) Electronic resource allocation method and device
CN112905492B (en) Verification method and device
CN108156053B (en) Service processing method, device, system and server
CN114443481A (en) Information processing method, device and system
CN107182078A (en) Method, terminal and the storage device of analysing terminal circuit domain dropping test report
CN114584500B (en) Asynchronous communication testing method and device and electronic equipment
CN112905457B (en) Software testing method and device
CN110705898A (en) Flow information processing method and related equipment
CN113691618B (en) Message notification method, device, message center and storage medium
CN112579833B (en) Service association relation acquisition method and device based on user operation data
CN115329383A (en) Data desensitization method, system and device based on adapter model
CN110992166B (en) Method and device for testing online loan application
CN108390924A (en) Order fulfillment method and device
CN114461520A (en) Software testing method and device and electronic equipment
CN112181802A (en) Test method and device
CN105843742A (en) Regression testing method and system
CN112417810A (en) Method, device and equipment for confirming content information in display window and storage medium
US20010024489A1 (en) Testing of telecommunication facilities
CN117114611A (en) Test data construction method, device, equipment and storage medium
CN110928785B (en) Method and device for testing preferential payment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination