CN109842654A - A kind for the treatment of method and apparatus of API service - Google Patents

A kind for the treatment of method and apparatus of API service Download PDF

Info

Publication number
CN109842654A
CN109842654A CN201711209012.5A CN201711209012A CN109842654A CN 109842654 A CN109842654 A CN 109842654A CN 201711209012 A CN201711209012 A CN 201711209012A CN 109842654 A CN109842654 A CN 109842654A
Authority
CN
China
Prior art keywords
processing
api service
process flow
api
user
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
CN201711209012.5A
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201711209012.5A priority Critical patent/CN109842654A/en
Publication of CN109842654A publication Critical patent/CN109842654A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the present application discloses a kind of processing method of API service, and it includes the first process flow corresponding with the customized process of user in API service process that API service processing unit, which obtains the API service process of user,.When executing the first process flow, data needed for API service processing unit sends the first process flow of execution to the corresponding external resource server of the customized process of the user, external resource server by being capable of handling the first process flow handles the first process flow, and obtains external resource server by handling the first processing result obtained after the first process flow from the external resource server.To, even if having the customized process of user in API service, API service processing unit can still complete the API service under the assistance of external resource server, allow user when using API service using the custom content being desirable for, the customized demand for meeting user, improves the usage experience of user.

Description

A kind for the treatment of method and apparatus of API service
Technical field
This application involves data processing fields, more particularly to a kind for the treatment of method and apparatus of API service.
Background technique
Software is a level for servicing (Software-as-a-Service, SaaS) and belonging to cloud service, can be user The service for being directed to particular problem, such as online navigation, translation on line etc. are provided.And SaaSization application programming interface (Application Programming Interface, API) service, which is similar to, services (Platform-as- between platform A-Service, PaaS) and SaaS between a kind of service, but both unlike PaaS provides complete support platform, also unlike SaaS provides complete software service, but for some types with hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP) form of API provides key service, such as specifically for translation on line, online navigation, online participle etc. The service of type.
There is customized demand using the user of SaaSization API service, such as taken for the SaaSization API of translation on line Business, some users wish to be able to use customized dictionary or customized series when using the SaaSization API service.
It in order to meet the customized demand of user, needs using external resource, such as aforementioned user is desirable for The resources such as customized dictionary, customized series are not present in the own resource of SaaSization API service.However, due to SaaSization API service is for example aforementioned described, does not have complete support platform, own resource can only be used to provide service for user, led SaaSization API service itself has been caused to be difficult to support the custom logic of user to develop, limit SaaSization API service applies model It encloses, reduces the usage experience of user.
Summary of the invention
In order to solve the above-mentioned technical problem, this application provides a kind for the treatment of method and apparatus of API service, so that user The customized demand of user can be met, user is improved when using API service using the custom content being desirable for Usage experience.
The embodiment of the present application discloses following technical solution:
In a first aspect, the embodiment of the present application provides a kind of processing method of application programming interface API service, it is described Method includes:
The API service process of user is obtained, the API service process includes at corresponding with the customized process of user first Manage process;
Determine that the corresponding external resource server of the customized process of Xiang Suoshu user is sent out when executing first process flow Send data needed for executing first process flow;
The first processing result that the external resource server returns is received, first processing result includes the outside The result that Resource Server obtains after handling first process flow.
Optionally, first processing result for receiving the external resource server and returning, comprising:
First processing result is checked;
If first processing result meets preset condition, first processing result is received;
If first processing result is unsatisfactory for the preset condition, first processing result is not handled.
Optionally, described send to the corresponding external resource server of the customized process of the user executes at described first Data needed for managing process, comprising:
Judge the application environment of the external resource server;
If the processing of data needed for the application environment of the external resource server and transmission first process flow The application environment of equipment is different, then by it is described execute first process flow needed for after data conversion format to the outside Resource Server is sent.
Optionally, the API service process for obtaining user, comprising:
The API service including the API service is obtained to request;
The API service process for handling the API service request is obtained according to the API service.
Optionally, after first processing result for receiving the external resource server return, the method is also Include:
Continue the processing to the API service according to first processing result.
Optionally, the API service process includes multiple process flows, flow processing sequentially, it is described first processing Next processing step of process is second processing process, and the second processing process is corresponding to the customized process of non-user Process flow, the processing continued according to first processing result to the API service, comprising:
The second processing process is handled to obtain second processing result according to first processing result.
Optionally, the API service process for obtaining user, comprising:
Control centre obtains the API service;
The control centre obtains the API service process of user according to the API service.
Optionally, the API service process includes multiple process flows, flow processing sequentially, third process flow Next processing step be first process flow, the third process flow be the customized process of non-user corresponding to Process flow, before executing first process flow, the method also includes:
The control centre sends the third process flow and the processing third processing stream to the API server The data of Cheng Suoxu;
Third process flow described in API server data processing according to needed for handling the third process flow obtains To third processing result;
The API server sends the third processing result to the control centre.
Optionally, the API service process includes multiple process flows, flow processing sequentially, it is described first processing Next processing step of process is second processing process, and the second processing process is corresponding to the customized process of non-user Process flow, the method also includes:
The control centre sends first processing result and second processing process to the API server;
The API server handles the second processing process according to first processing result and obtains second processing knot Fruit.
Optionally, if the second processing process is in the multiple process flow in flow processing sequentially last A process flow, the method also includes:
The API server returns to the second processing result to the sender of the API service.
Optionally, if the second processing process is in the multiple process flow in flow processing sequentially last A process flow, the method also includes:
The API server sends the second processing result to the control centre;
The control centre returns to the second processing result to the sender of the API service.
Second aspect, the embodiment of the present application provides a kind of processing unit of application programming interface API service, described Device includes first acquisition unit, the first transmission unit and the first receiving unit:
The first acquisition unit, for obtaining the API service process of user, the API service process includes and user Corresponding first process flow of customized process;
First transmission unit, when executing first process flow for determining, the customized process of Xiang Suoshu user Data needed for corresponding external resource server sends execution first process flow;
First receiving unit, the first processing result returned for receiving the external resource server, described the One processing result includes the result obtained after the external resource server handles first process flow.
Optionally, the second acquisition unit includes inspection unit, the second receiving unit and rejection unit:
The inspection unit, for checking first processing result;
Second receiving unit receives first processing if meeting preset condition for first processing result As a result;
The rejection unit, if the preset condition is unsatisfactory for for first processing result, not to described first Processing result is handled.
Optionally, first transmission unit includes judging unit and converting unit:
The judging unit, for judging the application environment of the external resource server;
The converting unit, if application environment and transmission first process flow for the external resource server The application environment of the processing equipment of required data is different, then by data conversion needed for execution first process flow It is sent after format to the external resource server.
Optionally, the first acquisition unit includes that the first acquisition subelement and second obtain subelement:
Described first obtains subelement, requests for obtaining the API service including the API service;
Described second obtains subelement, for being obtained according to the API service for handling the API service request API service process.
Optionally, described device further includes first processing units:
The first processing units, for continuing the processing to the API service according to first processing result.
The optional API service process includes multiple process flows, flow processing sequentially, first processing stream Next processing step of journey is second processing process, and the second processing process is place corresponding to the customized process of non-user Process is managed, the first processing units include the first processing subelement:
The first processing subelement, for being handled according to first processing result the second processing process Obtain second processing result.
Optionally, the first acquisition unit includes that third obtains subelement and the 4th acquisition subelement:
The third obtains subelement, obtains the API service for control centre;
Described 4th obtains subelement, obtains the API service stream of user according to the API service for the control centre Journey.
Optionally, the API service process includes multiple process flows, flow processing sequentially, third process flow Next processing step be first process flow, the third process flow be the customized process of non-user corresponding to Process flow, described device further include the second transmission unit, the second processing unit and third transmission unit:
Second transmission unit sends the third process flow to the API server for the control centre And data needed for the processing third process flow;
Described the second processing unit, for API server data according to needed for handling the third process flow It handles the third process flow and obtains third processing result;
The third transmission unit sends the third processing result to the control centre for the API server.
Optionally, the API service process includes multiple process flows, flow processing sequentially, it is described first processing Next processing step of process is second processing process, and the second processing process is corresponding to the customized process of non-user Process flow, described device further include the 4th transmission unit and third processing unit:
4th transmission unit sends first processing result to the API server for the control centre With second processing process;
The third processing unit is handled at described second for the API server according to first processing result Reason process obtains second processing result.
Optionally, if the second processing process is in the multiple process flow in flow processing sequentially last A process flow, described device further include the first return unit:
First return unit returns at described second for the API server to the sender of the API service Manage result.
Optionally, if the second processing process is in the multiple process flow in flow processing sequentially last A process flow, described device further include the 5th transmission unit and the second return unit:
5th transmission unit sends the second processing result to the control centre for the API server;
Second return unit returns at described second for the control centre to the sender of the API service Manage result.
The third aspect, the embodiment of the present application provides a kind of processing equipment of application programming interface API service, described Equipment includes processor and memory:
Said program code is transferred to the processor for storing program code by the memory;
The processor is used for according to the instruction execution following methods in said program code:
The API service process of user is obtained, the API service process includes at corresponding with the customized process of user first Manage process;
Determine that the corresponding external resource server of the customized process of Xiang Suoshu user is sent out when executing first process flow Send data needed for executing first process flow;
The first processing result that the external resource server returns is received, first processing result includes the outside The result that Resource Server obtains after handling first process flow.
Optionally, the processor is also used to according to the instruction execution following methods in said program code:
First processing result is checked;
If first processing result meets preset condition, first processing result is received;
If first processing result is unsatisfactory for the preset condition, first processing result is not handled.
Optionally, the processor is also used to according to the instruction execution following methods in said program code:
Judge the application environment of the external resource server;
If the processing of data needed for the application environment of the external resource server and transmission first process flow The application environment of equipment is different, then by it is described execute first process flow needed for after data conversion format to the outside Resource Server is sent.
Optionally, the processor is also used to according to the instruction execution following methods in said program code:
The API service including the API service is obtained to request;
The API service process for handling the API service request is obtained according to the API service.
Optionally, the processor is also used to according to the instruction execution following methods in said program code:
Continue the processing to the API service according to first processing result.
Optionally, the API service process includes multiple process flows, flow processing sequentially, it is described first processing Next processing step of process is second processing process, and the second processing process is corresponding to the customized process of non-user Process flow, the processor are also used to according to the instruction execution following methods in said program code:
The second processing process is handled to obtain second processing result according to first processing result.
Optionally, the processor is also used to according to the instruction execution following methods in said program code:
Control centre obtains the API service;
The control centre obtains the API service process of user according to the API service.
Optionally, the API service process includes multiple process flows, flow processing sequentially, third process flow Next processing step be first process flow, the third process flow be the customized process of non-user corresponding to Process flow, before executing first process flow, the processor is also used to according to the instruction in said program code Execute following methods:
The control centre sends the third process flow and the processing third processing stream to the API server The data of Cheng Suoxu;
Third process flow described in API server data processing according to needed for handling the third process flow obtains To third processing result;
The API server sends the third processing result to the control centre.
Optionally, the API service process includes multiple process flows, flow processing sequentially, it is described first processing Next processing step of process is second processing process, and the second processing process is corresponding to the customized process of non-user Process flow, the processor are also used to according to the instruction execution following methods in said program code:
The control centre sends first processing result and second processing process to the API server;
The API server handles the second processing process according to first processing result and obtains second processing knot Fruit.
Optionally, if the second processing process is in the multiple process flow in flow processing sequentially last A process flow, the processor are also used to according to the instruction execution following methods in said program code:
The API server returns to the second processing result to the sender of the API service.
Optionally, if the second processing process is in the multiple process flow in flow processing sequentially last A process flow, the processor are also used to according to the instruction execution following methods in said program code:
The API server sends the second processing result to the control centre;
The control centre returns to the second processing result to the sender of the API service.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage Instruction is stored in medium, when run on a computer, so that computer executes first aspect any one application program The processing method of programming interface API service.
The API service process of the available user of API service processing unit it can be seen from above-mentioned technical proposal, wherein It include the first process flow corresponding with the customized process of user in the API service process.Due to API service processing unit itself Resource Server is not sufficient to handle the first process flow, therefore when executing first process flow, API service processing unit Data needed for executing the first process flow can be sent to the corresponding external resource server of the customized process of the user, by energy The external resource server for enough handling the first process flow handles the first process flow, and API service processing unit can It is handled with obtaining external resource server from the external resource server by obtained after the first process flow of processing first As a result.To which even if having the customized process of user in the API service of user, API service processing unit still can be outside The API service task is completed under the assistance of portion's Resource Server, allows user when using API service using being desirable for Custom content, meet the customized demand of user, improve the usage experience of user.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is an Application Scenarios-Example figure provided by the embodiments of the present application;
Fig. 2 is that a kind of signaling of processing method of application programming interface API service provided by the embodiments of the present application is handed over Mutually figure;
Fig. 3 is a kind of signaling interaction diagram for handling API service provided by the embodiments of the present application;
Fig. 4 is a kind of signaling interaction diagram for handling API service provided by the embodiments of the present application;
Fig. 5 is a kind of signaling interaction diagram for handling API service provided by the embodiments of the present application;
Fig. 6 is a kind of signaling interaction diagram for handling API service provided by the embodiments of the present application;
Fig. 7 is a kind of signaling interaction diagram for handling API service provided by the embodiments of the present application;
Fig. 8 is a kind of signaling interaction diagram for handling API service provided by the embodiments of the present application;
Fig. 9 is a kind of structural frames of the processing unit of application programming interface API service provided by the embodiments of the present application Figure;
Figure 10 is a kind of structural frames of the processing equipment of application programming interface API service provided by the embodiments of the present application Figure.
Specific embodiment
With reference to the accompanying drawing, embodiments herein is described.
Inventor it has been investigated that, in traditional SaaSization API service, due to SaaSization API service can only use from Body resource provides service for user, but in some cases, the own resource in SaaSization API service may be unable to satisfy use All demands at family, user may be according to itself customized some resources of demand, however these resources are not in SaaSization API In own resource in service, therefore, resource customized for user, SaaSization API service cannot provide service for it, from And reduce the usage experience of user.
For example, when user uses the SaaSization API service for Google's translation on line, it is desirable to by translator of Chinese at indigenous language When, although providing a variety of detection language in the own resource of SaaSization API service for Google's translation on line, a variety of inspections It surveys there is no user's indigenous language to be detected in language, at this moment, which is the customized resource of user, due to SaaS Changing API service can only use own resource to provide service for user, result in SaaSization API service itself and be difficult to support user's Custom logic exploitation, i.e., SaaSization API service can not support service of Google's translation on line by translator of Chinese at indigenous language, Reduce the usage experience of user.
For another example, when user uses the SaaSization API service for high moral Online Map, user wants inquiry use and goes by air Mode of transportation from A to route, the time used on the ground B when, although online for high moral in the own resource of SaaSization API service Map provide drive, public transport, cycling, the multiple transportation modes such as walking, but there is no user institutes in the multiple transportation modes The mode of transportation by air, by plane to be inquired, at this moment, the mode of transportation that should be gone by air is the customized resource of user, due to SaaS Changing API service can only use own resource to provide service for user, result in SaaSization API service itself and be difficult to support user's Custom logic exploitation, i.e. SaaSization API service can not support high moral Online Map inquiry to use mode of transportation by air, by plane From A the route to the ground B, the service of time used, reduce the usage experience of user.
For this purpose, the embodiment of the present application provides a kind of solution regarding to the issue above, so that user can use Using the custom content being desirable for when API service, the customized demand of user is met, improve user uses body It tests.
For example, method provided by the embodiment of the present application can be using scene out shown in Fig. 1.In the scene In, it may include terminal 101, API service processing unit 102 and external resource server 103, wherein terminal 101 can be used as The sender of API service, API service processing unit 102 can obtain the API service process of user, API clothes from terminal 101 Process of being engaged in includes the first process flow corresponding with the customized process of user.When API service processing unit 102 is gone at first When managing process, since 102 own resource of API service processing unit can not be handled the first process flow, then at API service Data needed for reason device 102 will execute the first process flow are sent to the corresponding external resource service of the customized process of the user Device 103 is handled first process flow using external resource server 103, when external resource server 103 completes the The processing of one process flow, and after obtaining the first processing result, API service processing unit 102 is obtained from external resource server 103 The first processing result is taken, so that API service processing unit 102 completes the API under the assistance of external resource server 103 Service.
It should be noted that above-mentioned application scenarios are merely for convenience of understanding the present invention and showing, embodiment party of the invention Formula is unrestricted in this regard.On the contrary, embodiments of the present invention can be applied to applicable any scene.
The API service being previously mentioned in the embodiment of the present application can be user when using API service, and user is sent out by terminal Task sending, wishing the completion of API service processing unit.For example, the API service is the service for translation on line, if user When being desirable for the API service Chinese sentence " studying hard " being translated into indigenous language, then can be will be Chinese for the API service Sentence " studying hard " translates into indigenous language.
Process flow can be each processing step carried out required for processing API service, i.e. API service can be split into At least one process flow.For example, API service is that Chinese sentence " studying hard " is translated into indigenous language, API clothes are being handled When business, processing step 1: " will study hard " and segment, and can be divided into " good ", " good " and " study ";Processing step 2: in word The corresponding indigenous language of library lookup " good ", " good " and " study ", completes the API service.Processing step 1 therein and processing step Rapid 2 can be respectively as a process flow.
First process flow is and process flow corresponding to the customized process of user, i.e. money used in the process flow Source is not present in API service processing unit own resource, according to the customized resource of user demand.For example, being directed to Google When the SaaSization API service of translation on line, API service is that Chinese sentence " studying hard " is translated into indigenous language, due to SaaS Change unpromising Google's translation on line in the own resource of API service and indigenous language is provided, therefore, indigenous language can be user and make by oneself The dictionary of justice, that is to say, that search " good ", " good " and " study " corresponding indigenous language in dictionary in above-mentioned processing step 2 Actually searched in the customized dictionary of user, then, above-mentioned processing step 2 is used as a process flow reality On be the first process flow.
With reference to the accompanying drawing, the various non-limiting embodiments that the present invention will be described in detail.
Referring to fig. 2, Fig. 2 shows a kind of processing of application programming interface API service provided by the embodiments of the present application The signaling interaction diagram of method, this method comprises the following steps:
S201, the API service process for obtaining user, the API service process includes corresponding with the customized process of user First process flow.
In general, processing API service is a complete process, but due to may exist user in API service certainly Definition demand, causes API service processing unit to can handle a part of process of the API service, and another part process may need It wants external resource server to be handled, is taken to assist API service processing unit to complete the API using external resource server Business.Therefore, in order to determine which part process of the API service can be handled by API service processing unit, which part is flowed Journey needs external resource server to be handled, and API service can be split, i.e., will handle one of API service it is complete Process split into the API service process including the first process flow, wherein API service process may include at least one Manage process.
It should be noted that since user can complete to take the API by terminal to the request of API service processing unit The processing of business, and need a complete process for handling API service splitting at least one when the present embodiment processing API service A process flow, therefore, in the present embodiment, can be terminal by one that handles API service complete process split into A few process flow;It is also possible to be split into one that handles API service complete process by API service processing unit At least one process flow.
When one that handles API service complete process is split at least one process flow by terminal, terminal can be with At least one process flow split is sent to API service processing unit, so that API service processing unit is directly from the end End obtains at least one process flow for handling API service.
When one that handles API service complete process is split at least one process flow by API service processing unit When, API service request is sent to API service processing unit by terminal it is possible to be user, API service request can be with Including API service, API service processing unit is after API service request of the terminal acquisition including the API service, at the API service Reason device splits a complete process for handling the API service according to the API service, to obtain for handling State at least one process flow of API service request.
In the present embodiment in a kind of embodiment, API service processing unit may include in API server and control The heart, at this point, API service processing unit processing API service specific method will describe in detail subsequent.
In the present embodiment in another embodiment, API service processing unit can with an independent processing equipment, For example including API server, at this point, API service processing unit processing API service specific method will be also situated between in detail subsequent It continues.
S202, determine that the corresponding external resource of the customized process of Xiang Suoshu user takes when executing first process flow Data needed for business device sends execution first process flow.
In the present embodiment, since the first process flow is processing corresponding with the customized process of user in API service Process, resource needed for handling first process flow are not present in API service processing unit, need to be taken using external resource Business device.Therefore, when executing the first process flow, API service processing unit is to the corresponding outside of the customized process of the user Data needed for Resource Server sends execution first process flow, at using external resource server processing first Manage process.Wherein, the external resource server can be IaaS service or PaaS service etc..It should be noted that an API Processing may include the customized process of user, also may include the customized process of multiple users.For handling different user External resource server needed for customized process may be the same or different.In the embodiment of the present application, mainly with API It is illustrated for a customized process of user in processing.Moreover, not limiting the first processing stream in the embodiment of the present application Position of the journey in flow processing sequentially can be first processing step, be also possible to intermediate process steps, be also possible to most The latter processing step.
It should be noted that since external resource server and API service processing unit are likely to be at different application rings Border, so that the data format in API service processing unit can also exist not with the data format in external resource server Together, therefore, the first processing stream of data processing in API service processing unit can be used for external resource server Journey, API service processing unit may determine that the application environment of the external resource server, if the external resource server Application environment is different from the application environment of the API service processing unit, then, API service processing unit can be held described The format that data conversion needed for row first process flow can be used at the application environment of external resource server is backward The external resource server is sent.
Certainly, if the application environment of the application environment of the external resource server and the API service processing unit not Together, in order to allow API service processing unit by it is described execute first process flow needed for data be sent to external money Source server may also need API service processing unit and external resource server interface rules carrying out unification, so as to Data transmission is carried out between API service processing unit and external resource server.
S203, external resource server handle the first process flow to obtain the first processing result.
S204, the first processing result that the external resource server returns is received, first processing result includes institute State the result obtained after external resource server handles first process flow.
The external resource server is corresponding with the customized process of user, can be to the customized process of user corresponding first Process flow is handled, and external resource server completes after obtaining the first processing result the processing of the first process flow, can be with First processing result is sent to API service processing unit, so that API service processing unit obtains first processing result.Its In, in order to which the first processing result from external resource server can be used in API service processing unit, if the external resource The application environment of server is different from the application environment of the API service processing unit, then, API service processing unit can be with Subsequent processing is carried out after the format that the application environment that first processing result is converted into API service processing unit can be used again, Alternatively, external resource server the application environment that the first processing result is converted into API service processing unit can be used Format after to the API service processing unit send.
It should be noted that data needed for the present embodiment will execute the first process flow are sent to external resource service Device, and first process flow is handled in external resource server, API service processing unit need to only take from external resource Business device obtains external resource server and handles the first processing result that the first process flow obtains, and avoids unknown code write-in API service processing unit ensure that the safety of API service processing unit.
It is understood that in the first processing result there may be format not on or carry wooden horse etc. and influence API clothes The situation for processing unit safety of being engaged in order to guarantee clean, the safety of received first processing result, and then guarantees at API service The safety of device is managed, the API service processing unit checks first processing result;If first processing result Meet preset condition, the API service processing unit receives first processing result;If first processing result is unsatisfactory for The preset condition, the API service processing unit are not handled first processing result.Wherein, preset condition can To be that the first processing result does not carry wooden horse.
In the present embodiment, at least one process flow may include a process flow, also may include multiple processing Process, when at least one process flow includes a process flow, which can be the first process flow, then, It is the most termination for handling API service and obtaining that external resource server, which handles the first processing result that the first process flow obtains, Fruit.
When at least one process flow includes multiple process flows, for example, in addition to the first process flow further includes second Process flow, then, API service processing unit continues the processing requested the API service according to the processing result.If Sequentially, next processing step of first process flow is second processing process, the second processing stream to flow processing Journey is process flow corresponding to the customized process of non-user, then, external resource server handles the first process flow and obtains After first processing result, the first processing result can be sent to API service processing unit by external resource server, so as to API Service processing device is handled to obtain second processing result according to first processing result to the second processing process.
As can be seen from the above-described embodiment, at least one available for being used to handle API service of API service processing unit Process flow, wherein include at least one process flow with first corresponding to the customized process of user in the API service Process flow.Since API service processing unit own resource is not sufficient to handle the first process flow, therefore when execution described first When process flow, API service processing unit can send to the corresponding external resource server of the customized process of the user and execute Data needed for first process flow, by being capable of handling the external resource server of the first process flow to the first process flow It is handled, API service processing unit can obtain external resource server from the external resource server and pass through processing the The first processing result obtained after one process flow.To even if having the customized process of user, API service in API service Processing unit can still complete the API service under the assistance of external resource server, and user is taken using API Using the custom content being desirable for when business, the customized demand of user is met, the usage experience of user is improved.
In a kind of possible implementation of the present embodiment, if API service processing unit includes in API server and control The heart, when user sends API service by terminal, first way can be terminal and API service be sent to API service first Device, then API service is sent to control centre by API server, the complete stream that API service will be handled by control centre Journey splits at least one process flow;The second way can be terminal and API service be directly sent to control centre, by controlling One that handles API service complete process is split at least one process flow by center processed, the third implementation can be with It is that API service is sent to API server first by terminal, is torn open one that handles API service complete process by API server It is divided at least one process flow, then at least one process flow is sent to control centre by API server, by control centre Determine that each process flow handles position accordingly.In the present embodiment, in the first manner for API service processing unit The method of processing API service is introduced.
The method of API service processing unit processing API service can be as shown in figure 3, Fig. 3 shows a kind of processing API clothes The signaling interaction diagram of business.
Wherein, the method for API service processing unit processing API service may comprise steps of:
S301, API server send the API service to control centre.
When user sends API service by terminal, which first can be sent to API server by terminal, then by API server is sent to control centre, so that one that handles API service complete process is split at least one by control centre A process flow.
Certainly, API service can also be sent directly to control centre by terminal, so that control centre will handle API service A complete process split at least one process flow.
S302, control centre obtain at least one process flow for handling API service according to the API service.
Control centre splits at least one according to the API service received, by a complete process for handling API service A process flow, control centre can determine to be needed to be handled by external resource server at least one process flow The first process flow, so as to which when executing the first process flow, the first process flow is sent to external resource service Device is handled.
S303, when executing first process flow, control centre is to the corresponding outside of the customized process of the user Data needed for Resource Server sends execution first process flow.
S304, external resource server handle the first process flow to obtain the first processing result.
S305, external resource server send the first processing result to control centre.
S306, control centre check the first processing result.
If control centre determines that the first processing result is clean, safe, control centre receives first processing result;If There are when the security risks such as wooden horse in first processing result, the control centre can reject first processing result, keep away Exempt to enter control centre or API server due to the first processing result there are security risk, influences its safety.
It is understood that in the present embodiment, if control centre splits one that handles API service complete process When at multiple process flows, control centre is it needs to be determined that the processing stream that can be handled by API server in multiple process flow Journey, and the process flow for needing to be handled by external resource server, so that control centre can be by each processing stream Journey is sent to corresponding position.
It in this case, further include at third if at least one described process flow is other than the first process flow Manage process, and flow processing sequentially, next processing step of third process flow is first process flow, described Third process flow is process flow corresponding to the customized process of non-user, then, API service processing unit handles API clothes The method of business can be as shown in figure 4, Fig. 4 shows a kind of signaling interaction diagram for handling API service.
Figure 4, it is seen that before executing S303, the method also includes:
S401, control centre send the third process flow and the processing third processing to the API server Data needed for process.
A complete process for handling API service can be split at least one process flow by control centre, control Center can determine the third process flow at least one process flow can by API server using own resource into Row processing, in this way, the third process flow can be sent to API service by control centre when executing the third process flow Device is handled.
Third processing described in S402, API server data processing according to needed for handling the third process flow Process obtains third processing result.
S403, the API server send the third processing result to the control centre.
Due to flow processing sequentially, next processing step of third process flow is first process flow, At least one described process flow is provided to complete the processing to API service, therefore, may when handling the first process flow The third processing result can be used, then, the third processing result received can be sent to external resource clothes by control centre It is engaged in device, so that external resource server is handled the first process flow using third processing result, i.e. control centre is to institute Stating data needed for the corresponding external resource server of the customized process of user sends execution first process flow can wrap Include third processing result.
If at least one described process flow further includes second processing process other than the first process flow, and is being flowed In journey processing sequence, next processing step of first process flow is that second processing process described in second processing process is Process flow corresponding to the customized process of non-user, then, the method that API service processing unit handles API service can be as Shown in Fig. 5, Fig. 5 shows a kind of signaling interaction diagram for handling API service.
From figure 5 it can be seen that determining that the first processing result meets preset condition in control centre, the first processing knot is received After fruit, the method also includes:
S501, control centre send first processing result and second processing process to the API server.
S502, API server handle the second processing process according to first processing result and obtain second processing knot Fruit.
Since second processing process is process flow corresponding to the customized process of non-user, then, control centre can be with Determine that second processing process is handled by API server using own resource, control centre can send out second processing process Give API server.Since second processing process is next processing step of the first process flow, and API server is to second When process flow is handled, the first processing result may be utilized, therefore, the first processing result can be sent to by control centre API server, so that API server handles second processing process according to the first processing result.
It should be noted that second processing process can be used as in multiple process flows in flow processing sequentially last One process flow, in this case, the second processing result that API server processing second processing process obtains can be used as Handle the final result of the API service, i.e., API service sender wish to obtain by API service processing unit as a result, because This, API service processing unit can return to second processing result to the sender of API service, wherein the second processing result can To be directly returned to the sender of the API service by the API server for obtaining second processing result, API also can use Server will be sent to the control centre to second processing result first, then be returned to second processing result by control centre The sender of API processing.
Certainly, there may also be other process flows after second processing process, and the processing method of other process flows can According to other process flows to be that process flow corresponding to the customized process of non-user or user make by oneself as control centre Process flow corresponding to adopted process determines corresponding processing position.The processing method of other process flows is referred to aforementioned Processing method, details are not described herein again.
When API service processing unit includes API server and control centre, if being introduced by taking the aforementioned second way as an example The method that API service processing unit handles API service, then the method for API service processing unit processing API service can be such as Fig. 6 Shown, Fig. 6 shows a kind of signaling interaction diagram for handling API service.
Wherein, the method for API service processing unit processing API service may comprise steps of:
The complete process flow for handling the API service is split into according to the API service and is used to handle by S601, terminal At least one process flow of API service.
S602, control centre obtain at least one process flow for handling API service from terminal.
S603, control centre send to the corresponding external resource server of the customized process of the user executes described first Data needed for process flow.
S604, external resource server handle the first process flow to obtain the first processing result.
S605, external resource server send the first processing result to control centre.
When API service processing unit includes API server and control centre, if being introduced in the third aforementioned mode as an example The method that API service processing unit handles API service, then the method for API service processing unit processing API service can be such as Fig. 7 Shown, Fig. 7 shows a kind of signaling interaction diagram for handling API service.
Wherein, the method for API service processing unit processing API service may comprise steps of:
S701, terminal send API service to API server.
The complete process flow for handling the API service is split into use according to the API service by S702, API server In at least one process flow of processing API service.
S703, control centre obtain at least one process flow for handling API service.
S704, control centre send to the corresponding external resource server of the customized process of the user executes described first Data needed for process flow.
S705, external resource server handle the first process flow to obtain the first processing result.
S706, external resource server send the first processing result to control centre.
When API service processing unit only includes API server, when user sends API clothes to API server by terminal Business is then split by the complete process flow that API server is responsible for handling API processing and is used to handle API service extremely A few process flow, API server also needs to be responsible for determining can be by API server processing at least one process flow Process flow, and the first process flow for needing to be handled by external resource server, and executing the first processing stream Cheng Shi, data needed for providing the first process flow of processing for external resource server.In this case, API service is handled The method of device processing API service can be as shown in figure 8, Fig. 8 shows a kind of signaling interaction diagram for handling API service.
Wherein, the method for API service processing unit processing API service may comprise steps of:
S801, terminal send API service to API server.
S802, API server obtain at least one process flow for handling API service according to the API service.
S803, API server are sent to the corresponding external resource server of the customized process of the user executes described the Data needed for one process flow.
S804, external resource server handle the first process flow to obtain the first processing result.
S805, external resource server send the first processing result to control centre.
It is a kind of for the application programming interface service role for including user customized process based on aforementioned offer Processing method, the embodiment of the present application provide a kind of for the application programming interface service times for including the customized process of user The processing unit of business, Fig. 9 show a kind of for the application programming interface service role for including user customized process The structural block diagram of processing unit, described device include first acquisition unit 901, the first transmission unit 902 and the first receiving unit 903:
The first acquisition unit 901, for obtaining the API service process of user, the API service process include with Corresponding first process flow of the customized process in family;
First transmission unit 902, when executing first process flow for determining, the customized stream of Xiang Suoshu user Data needed for the corresponding external resource server of journey sends execution first process flow;
First receiving unit 903, the first processing result returned for receiving the external resource server are described First processing result includes the result obtained after the external resource server handles first process flow.
Optionally, the second acquisition unit includes inspection unit, the second receiving unit and rejection unit:
The inspection unit, for checking first processing result;
Second receiving unit receives first processing if meeting preset condition for first processing result As a result;
The rejection unit, if the preset condition is unsatisfactory for for first processing result, not to described first Processing result is handled.
Optionally, first transmission unit includes judging unit and converting unit:
The judging unit, for judging the application environment of the external resource server;
The converting unit, if application environment and transmission first process flow for the external resource server The application environment of the processing equipment of required data is different, then by data conversion needed for execution first process flow It is sent after format to the external resource server.
Optionally, the first acquisition unit includes that the first acquisition subelement and second obtain subelement:
Described first obtains subelement, requests for obtaining the API service including the API service;
Described second obtains subelement, for being obtained according to the API service for handling the API service request API service process.
Optionally, described device further includes first processing units:
The first processing units, for continuing the processing to the API service according to first processing result.
The optional API service process includes multiple process flows, flow processing sequentially, first processing stream Next processing step of journey is second processing process, and the second processing process is place corresponding to the customized process of non-user Process is managed, the first processing units include the first processing subelement:
The first processing subelement, for being handled according to first processing result the second processing process Obtain second processing result.
Optionally, the first acquisition unit includes that third obtains subelement and the 4th acquisition subelement:
The third obtains subelement, obtains the API service for control centre;
Described 4th obtains subelement, obtains the API service stream of user according to the API service for the control centre Journey.
Optionally, the API service process includes multiple process flows, flow processing sequentially, third process flow Next processing step be first process flow, the third process flow be the customized process of non-user corresponding to Process flow, described device further include the second transmission unit, the second processing unit and third transmission unit:
Second transmission unit sends the third process flow to the API server for the control centre And data needed for the processing third process flow;
Described the second processing unit, for API server data according to needed for handling the third process flow It handles the third process flow and obtains third processing result;
The third transmission unit sends the third processing result to the control centre for the API server.
Optionally, the API service process includes multiple process flows, flow processing sequentially, it is described first processing Next processing step of process is second processing process, and the second processing process is corresponding to the customized process of non-user Process flow, described device further include the 4th transmission unit and third processing unit:
4th transmission unit sends first processing result to the API server for the control centre With second processing process;
The third processing unit is handled at described second for the API server according to first processing result Reason process obtains second processing result.
Optionally, if the second processing process is in the multiple process flow in flow processing sequentially last A process flow, described device further include the first return unit:
First return unit returns at described second for the API server to the sender of the API service Manage result.
Optionally, if the second processing process is in the multiple process flow in flow processing sequentially last A process flow, described device further include the 5th transmission unit and the second return unit:
5th transmission unit sends the second processing result to the control centre for the API server;
Second return unit returns at described second for the control centre to the sender of the API service Manage result.
A kind for the treatment of method and apparatus of application programming interface API service based on aforementioned offer, the application are implemented Example provides a kind of processing equipment for application programming interface API service, and Figure 10 shows a kind of application programming The structural block diagram of the processing equipment of interface API service, the equipment 1000 include processor 1002 and memory 1001:
The memory 1001 is transferred to the processor for storing program code, and by said program code;
The processor 1002, for according to the instruction execution following methods in said program code:
The API service process of user is obtained, the API service process includes at corresponding with the customized process of user first Manage process;
Determine that the corresponding external resource server of the customized process of Xiang Suoshu user is sent out when executing first process flow Send data needed for executing first process flow;
The first processing result that the external resource server returns is received, first processing result includes the outside The result that Resource Server obtains after handling first process flow.
Optionally, the processor is also used to according to the instruction execution following methods in said program code:
First processing result is checked;
If first processing result meets preset condition, first processing result is received;
If first processing result is unsatisfactory for the preset condition, first processing result is not handled.
Optionally, the processor is also used to according to the instruction execution following methods in said program code:
Judge the application environment of the external resource server;
If the processing of data needed for the application environment of the external resource server and transmission first process flow The application environment of equipment is different, then by it is described execute first process flow needed for after data conversion format to the outside Resource Server is sent.
Optionally, the processor is also used to according to the instruction execution following methods in said program code:
The API service including the API service is obtained to request;
The API service process for handling the API service request is obtained according to the API service.
Optionally, the processor is also used to according to the instruction execution following methods in said program code:
Continue the processing to the API service according to first processing result.
Optionally, the API service process includes multiple process flows, flow processing sequentially, it is described first processing Next processing step of process is second processing process, and the second processing process is corresponding to the customized process of non-user Process flow, the processor are also used to according to the instruction execution following methods in said program code:
The second processing process is handled to obtain second processing result according to first processing result.
Optionally, the processor is also used to according to the instruction execution following methods in said program code:
Control centre obtains the API service;
The control centre obtains the API service process of user according to the API service.
Optionally, the API service process includes multiple process flows, flow processing sequentially, third process flow Next processing step be first process flow, the third process flow be the customized process of non-user corresponding to Process flow, before executing first process flow, the processor is also used to according to the instruction in said program code Execute following methods:
The control centre sends the third process flow and the processing third processing stream to the API server The data of Cheng Suoxu;
Third process flow described in API server data processing according to needed for handling the third process flow obtains To third processing result;
The API server sends the third processing result to the control centre.
Optionally, the API service process includes multiple process flows, flow processing sequentially, it is described first processing Next processing step of process is second processing process, and the second processing process is corresponding to the customized process of non-user Process flow, the processor are also used to according to the instruction execution following methods in said program code:
The control centre sends first processing result and second processing process to the API server;
The API server handles the second processing process according to first processing result and obtains second processing knot Fruit.
Optionally, if the second processing process is in the multiple process flow in flow processing sequentially last A process flow, the processor are also used to according to the instruction execution following methods in said program code:
The API server returns to the second processing result to the sender of the API service.
Optionally, if the second processing process is in the multiple process flow in flow processing sequentially last A process flow, the processor are also used to according to the instruction execution following methods in said program code:
The API server sends the second processing result to the control centre;
The control centre returns to the second processing result to the sender of the API service.
Processing method, device and the equipment of a kind of application programming interface API service based on aforementioned offer, the application Embodiment provides a kind of computer readable storage medium, and instruction is stored in the computer readable storage medium, when its When being run on computer, so that computer executes application programming interface API service described in any one of previous embodiment Processing method.
The API service process of the available user of API service processing unit it can be seen from above-mentioned technical proposal, wherein Include in the API service process and includes the first process flow corresponding with the customized process of user.Since API service processing fills It sets own resource server and is not sufficient to handle the first process flow, therefore when executing first process flow, at API service Managing device can be to number needed for corresponding external resource server transmission the first process flow of execution of the customized process of the user According to the external resource server by being capable of handling the first process flow handles the first process flow, API service processing Device can be obtained from the external resource server external resource server by obtained after the first process flow of processing the One processing result.To which even if having the customized process of user in the API service of user, API service processing unit still may be used To complete the API service task under the assistance of external resource server, allow user when using API service using uncommon It hopes the custom content used, meets the customized demand of user, improve the usage experience of user.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and foregoing routine can be stored in a computer readable storage medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned can be at least one in following media Kind: read-only memory (English: read-only memory, abbreviation: ROM), RAM, magnetic or disk etc. are various to be can store The medium of program code.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment it Between same and similar part may refer to each other, each embodiment focuses on the differences from other embodiments. For equipment and system embodiment, since it is substantially similar to the method embodiment, so describe fairly simple, The relevent part can refer to the partial explaination of embodiments of method.Equipment and system embodiment described above is only schematic , wherein unit may or may not be physically separated as illustrated by the separation member, it is shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs. Those of ordinary skill in the art can understand and implement without creative efforts.
The above, only a kind of specific embodiment of the application, but the protection scope of the application is not limited thereto, Within the technical scope of the present application, any changes or substitutions that can be easily thought of by anyone skilled in the art, Should all it cover within the scope of protection of this application.Therefore, the protection scope of the application should be with scope of protection of the claims Subject to.

Claims (14)

1. a kind of processing method of application programming interface API service, which is characterized in that the described method includes:
The API service process of user is obtained, the API service process includes the first processing stream corresponding with the customized process of user Journey;
Determine that the corresponding external resource server transmission of the customized process of Xiang Suoshu user is held when executing first process flow Data needed for row first process flow;
The first processing result that the external resource server returns is received, first processing result includes the external resource The result that server obtains after handling first process flow.
2. the method according to claim 1, wherein first for receiving the external resource server and returning Processing result, comprising:
First processing result is checked;
If first processing result meets preset condition, first processing result is received;
If first processing result is unsatisfactory for the preset condition, first processing result is not handled.
3. the method according to claim 1, wherein described to the corresponding external money of the customized process of the user Data needed for source server sends execution first process flow, comprising:
Judge the application environment of the external resource server;
If the processing equipment of data needed for the application environment of the external resource server and transmission first process flow Application environment it is different, then by it is described execute first process flow needed for after data conversion format to the external resource Server is sent.
4. the method according to claim 1, wherein the API service process for obtaining user, comprising:
The API service including the API service is obtained to request;
The API service process for handling the API service request is obtained according to the API service.
5. the method according to claim 1, wherein in receive that the external resource server returns the After one processing result, the method also includes:
Continue the processing to the API service according to first processing result.
6. according to the method described in claim 5, flowing it is characterized in that, the API service process includes multiple process flows In journey processing sequence, next processing step of first process flow is second processing process, the second processing process It is described to be continued according to first processing result to the API service for process flow corresponding to the customized process of non-user Processing, comprising:
The second processing process is handled to obtain second processing result according to first processing result.
7. the method according to claim 1, wherein the API service process for obtaining user, comprising:
Control centre obtains the API service;
The control centre obtains the API service process of user according to the API service.
8. being flowed the method according to the description of claim 7 is characterized in that the API service process includes multiple process flows In journey processing sequence, next processing step of third process flow is first process flow, the third process flow For process flow corresponding to the customized process of non-user, before executing first process flow, the method also includes:
The control centre sends the third process flow and the processing third process flow institute to the API server The data needed;
Third process flow described in API server data processing according to needed for handling the third process flow obtains the Three processing results;
The API server sends the third processing result to the control centre.
9. being flowed the method according to the description of claim 7 is characterized in that the API service process includes multiple process flows In journey processing sequence, next processing step of first process flow is second processing process, the second processing process For process flow corresponding to the customized process of non-user, the method also includes:
The control centre sends first processing result and second processing process to the API server;
The API server handles the second processing process according to first processing result and obtains second processing result.
10. according to the method described in claim 9, it is characterized in that, if the second processing process is the multiple processing stream The last one process flow in journey in flow processing sequentially, the method also includes:
The API server returns to the second processing result to the sender of the API service.
11. according to the method described in claim 9, it is characterized in that, if the second processing process is the multiple processing stream The last one process flow in journey in flow processing sequentially, the method also includes:
The API server sends the second processing result to the control centre;
The control centre returns to the second processing result to the sender of the API service.
12. a kind of processing unit of application programming interface API service, which is characterized in that described device includes the first acquisition Unit, the first transmission unit and the first receiving unit:
The first acquisition unit, for obtaining the API service process of user, the API service process includes making by oneself with user Corresponding first process flow of adopted process;
First transmission unit, when executing first process flow for determining, the customized process of Xiang Suoshu user is corresponding External resource server send execute first process flow needed for data;
First receiving unit, the first processing result returned for receiving the external resource server, at described first Managing result includes the result obtained after the external resource server handles first process flow.
13. a kind of processing equipment for application programming interface API service, which is characterized in that the equipment includes processing Device and memory:
Said program code is transferred to the processor for storing program code by the memory;
The processor is used for according to the instruction execution following methods in said program code:
The API service process of user is obtained, the API service process includes the first processing stream corresponding with the customized process of user Journey;
Determine that the corresponding external resource server transmission of the customized process of Xiang Suoshu user is held when executing first process flow Data needed for row first process flow;
The first processing result that the external resource server returns is received, first processing result includes the external resource The result that server obtains after handling first process flow.
14. a kind of computer readable storage medium, it is stored with instruction in the computer readable storage medium, when it is in computer When upper operation, so that computer perform claim requires the processing of application programming interface API service described in 1-11 any one Method.
CN201711209012.5A 2017-11-27 2017-11-27 A kind for the treatment of method and apparatus of API service Pending CN109842654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711209012.5A CN109842654A (en) 2017-11-27 2017-11-27 A kind for the treatment of method and apparatus of API service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711209012.5A CN109842654A (en) 2017-11-27 2017-11-27 A kind for the treatment of method and apparatus of API service

Publications (1)

Publication Number Publication Date
CN109842654A true CN109842654A (en) 2019-06-04

Family

ID=66880565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711209012.5A Pending CN109842654A (en) 2017-11-27 2017-11-27 A kind for the treatment of method and apparatus of API service

Country Status (1)

Country Link
CN (1) CN109842654A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686253A (en) * 2008-09-23 2010-03-31 华为技术有限公司 Service selecting method, device and system thereof
CN103491114A (en) * 2012-06-11 2014-01-01 中兴通讯股份有限公司 Method and system for integrating machine-to-machine application and third-party service, and application agent
CN103533006A (en) * 2012-07-06 2014-01-22 中兴通讯股份有限公司 United cloud disk client, server, system and united cloud disk service method
CN103942093A (en) * 2013-01-23 2014-07-23 阿里巴巴集团控股有限公司 Service processing method and system
US20160134932A1 (en) * 2014-06-23 2016-05-12 Google Inc. Camera System API For Third-Party Integrations
CN106020998A (en) * 2016-05-24 2016-10-12 深圳市智物联网络有限公司 Service invoke method and device
CN106302125A (en) * 2016-08-19 2017-01-04 上海智臻智能网络科技股份有限公司 A kind of solicited message is responded method, Apparatus and system
US20170300785A1 (en) * 2016-04-14 2017-10-19 Linkedln Corporation Deep convolutional neural network prediction of image professionalism

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686253A (en) * 2008-09-23 2010-03-31 华为技术有限公司 Service selecting method, device and system thereof
CN103491114A (en) * 2012-06-11 2014-01-01 中兴通讯股份有限公司 Method and system for integrating machine-to-machine application and third-party service, and application agent
CN103533006A (en) * 2012-07-06 2014-01-22 中兴通讯股份有限公司 United cloud disk client, server, system and united cloud disk service method
CN103942093A (en) * 2013-01-23 2014-07-23 阿里巴巴集团控股有限公司 Service processing method and system
US20160134932A1 (en) * 2014-06-23 2016-05-12 Google Inc. Camera System API For Third-Party Integrations
US20170300785A1 (en) * 2016-04-14 2017-10-19 Linkedln Corporation Deep convolutional neural network prediction of image professionalism
CN106020998A (en) * 2016-05-24 2016-10-12 深圳市智物联网络有限公司 Service invoke method and device
CN106302125A (en) * 2016-08-19 2017-01-04 上海智臻智能网络科技股份有限公司 A kind of solicited message is responded method, Apparatus and system

Similar Documents

Publication Publication Date Title
US11093707B2 (en) Adversarial training data augmentation data for text classifiers
US10452703B2 (en) Using ontologies to comprehend regular expressions
KR102180994B1 (en) Adaptive artificial neural network selection techniques
US10380246B2 (en) Validating topical data of unstructured text in electronic forms to control a graphical user interface based on the unstructured text relating to a question included in the electronic form
US11189269B2 (en) Adversarial training data augmentation for generating related responses
WO2015141700A1 (en) Dialogue system construction support apparatus and method
JP5973655B2 (en) Auto-complete content
US9836451B2 (en) Dynamic tokens for an expression parser
US20170060549A1 (en) Generating a predictive data structure
US20190205343A1 (en) Sharing server conversational context between multiple cognitive engines
KR20190069655A (en) Method and apparatus of providing deep learning development platform based on cloud computing
US11226832B2 (en) Dynamic generation of user interfaces based on dialogue
US10796090B2 (en) Quick language detection with language neutral functionality
US20200134025A1 (en) Augmentation of a Text Representation Model
US20170228261A1 (en) Context-aware task processing for multiple devices
CN116467607B (en) Information matching method and storage medium
CN109842654A (en) A kind for the treatment of method and apparatus of API service
US20190325322A1 (en) Navigation and Cognitive Dialog Assistance
CN108170679A (en) It can recognize that the semantic matching method and system of natural language description based on computer
US11520783B2 (en) Automated validity evaluation for dynamic amendment
US20240037128A1 (en) Methods and systems for ambiguity resolution in conversations managed by a virtual assistant server
CN111858864A (en) Method and device for realizing slot filling, electronic equipment and readable medium
CN116560665B (en) Method and device for generating and processing data and credit card marketing rule engine system
JP2005157823A (en) Knowledge base system, inter-word meaning relation determination method in the same system and computer program
US20230412475A1 (en) Extracting corrective actions from information technology operations

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190604

RJ01 Rejection of invention patent application after publication