Unlock instant, AI-driven research and patent intelligence for your innovation.

Conversation processing method, device and system

A device and processing process technology, applied in the computer field, can solve the problems of inability to obtain session data, inability to implement API calling devices, etc.

Active Publication Date: 2014-04-16
HUAWEI TECH CO LTD
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0017] exist figure 2 In the process shown in , the session data can only be set and extracted in one client API call process. If the client initiates two API calls, the second call cannot obtain the session data set by the first API call
[0018] To sum up, the current API open technology cannot realize that when the API calling device calls multiple APIs of the API agent successively, the API called later obtains the session data set during the previous API call, so as to realize the session association of multiple API calls

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Conversation processing method, device and system
  • Conversation processing method, device and system
  • Conversation processing method, device and system

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0198] In the API proxy engine 402, the API proxy execution module 4021 calls the transaction ID mapping module 4022 to complete the typical message definition of the mapping between the external transaction ID and the internal transaction ID.

[0199] Obtain internal transaction ID (API proxy execution module 4021->transaction ID mapping module 4022)

[0200] 1) Request message definition (as shown in Table 1):

[0201] Table 1

[0202]

[0203] 2) Response message definition (as shown in Table 2)

[0204] Table 2

[0205] parameter name

example 2

[0207] A typical message definition for API proxy engine 402 to cache session data to data cache 403 .

[0208] Set session (API Proxy Engine 402 -> Data Cache 403)

[0209] 1) Request message definition (as shown in Table 3):

[0210] table 3

[0211]

[0212] 2) Response message definition (as shown in Table 4):

[0213] Table 4

[0214] parameter name

example 3

[0216] The API proxy engine 402 acquires a typical message definition of session data from the data cache 403 .

[0217] Get Session (API Proxy Engine 402 <- Data Cache 403)

[0218] 1) Request message definition (as shown in Table 5):

[0219] table 5

[0220]

[0221] 2) Response message definition (as shown in Table 6):

[0222] Table 6

[0223]

[0224] In the following, the present invention will be described through specific examples.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of computers, in particular to a conversation processing method, device and system. The conversation processing method, device and system are used for realizing conversation correlation when multiple APIs on an API agent are called in sequence by an API calling device. According to the method, when the API agent executes the processing process of the first API, conversation data of a conversation corresponding to the first API are cached; when the API agent executes the processing process of the second API, the conversation data cached when the processing process of the first API is executed are obtained according to an external event ID which is used for identifying the conversation corresponding to the first API and is included in a request for calling the second API, and the conversation is processed according to the obtained conversation data. The API agent obtains the conversation data of the conversation corresponding to the first API according to the external event ID included in the request for calling the second API, and processes the conversation according to the obtained conversation data, and therefore conversation correlation between the first API and the second API is realized.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method, device and system for session processing. Background technique [0002] With the rapid development of Internet technology, more and more services can be provided through the Internet, such as: ordering meals, booking tickets, shopping, etc. In the traditional way, Internet service providers provide services to users through their own WEB portals. When customer needs change frequently, Internet service providers need to continuously update the interface of WEB portals according to customer needs, which makes maintenance difficult. [0003] Therefore, some Internet service providers open their services to the outside world in the form of application programming interfaces (Application Programming Interface, API). Third-party developers or Internet companies use these APIs to develop a variety of applications to meet user personalization and diverse needs. sexua...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06H04L29/08
CPCH04L67/14H04L67/561
Inventor 李世华
Owner HUAWEI TECH CO LTD