CN111294288A - Traffic identification method and device, application program interface gateway and storage medium - Google Patents

Traffic identification method and device, application program interface gateway and storage medium Download PDF

Info

Publication number
CN111294288A
CN111294288A CN202010056851.3A CN202010056851A CN111294288A CN 111294288 A CN111294288 A CN 111294288A CN 202010056851 A CN202010056851 A CN 202010056851A CN 111294288 A CN111294288 A CN 111294288A
Authority
CN
China
Prior art keywords
user request
identification
application program
program interface
interface gateway
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
CN202010056851.3A
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.)
Shenzhen Zhumo Technology Co Ltd
Original Assignee
Shenzhen Zhumo 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 Shenzhen Zhumo Technology Co Ltd filed Critical Shenzhen Zhumo Technology Co Ltd
Priority to CN202010056851.3A priority Critical patent/CN111294288A/en
Publication of CN111294288A publication Critical patent/CN111294288A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2483Traffic characterised by specific attributes, e.g. priority or QoS involving identification of individual flows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a traffic identification method, a traffic identification device, an application program interface gateway and a storage medium. The application program interface gateway responds to a user request, and performs flow identification on the user request to obtain a flow identification result; wherein the flow identification result at least comprises a flow type; the application program interface gateway updates the user request according to the flow identification result; and the application program interface gateway sends the updated user request to a service system matched with the updated user request so that the service system executes the service matched with the updated user request. By using the technical scheme of the invention, unified flow identification of the user request can be realized, the flow identification cost is saved, and the flow identification efficiency is improved.

Description

Traffic identification method and device, application program interface gateway and storage medium
Technical Field
The embodiments of the present invention relate to traffic identification technologies, and in particular, to a traffic identification method, apparatus, application program interface gateway, and storage medium.
Background
With the development of internet technology, it is a common business requirement to implement different business service logics for different users, so that traffic identification needs to be performed on user requests.
In the prior art, a service system at a back end performs traffic identification on a user request, or the service system calls a traffic identification service system to perform traffic identification on the user request, and after a traffic identification result is obtained, different service logics are executed according to different traffic types.
In the process of implementing the invention, the inventor finds that the prior art has the following defects: when the service system at the back end performs flow identification, the service systems need to develop codes and logics of the flow identification respectively and perform flow identification independently, and when the service system at the back end calls the flow identification service system to perform flow identification, the service systems need to be connected with the flow identification service system respectively. In the prior art, a traffic identification mode easily causes code redundancy, and increases traffic identification cost.
Disclosure of Invention
Embodiments of the present invention provide a traffic identification method and apparatus, an application program interface gateway, and a storage medium, so as to implement unified traffic identification for user requests, save traffic identification cost, and improve traffic identification efficiency.
In a first aspect, an embodiment of the present invention provides a traffic identification method, where the method includes:
the application program interface gateway responds to a user request, and performs flow identification on the user request to obtain a flow identification result; wherein the flow identification result at least comprises a flow type;
the application program interface gateway updates the user request according to the flow identification result;
and the application program interface gateway sends the updated user request to a service system matched with the updated user request so that the service system executes the service matched with the updated user request.
In a second aspect, an embodiment of the present invention further provides a traffic identification apparatus, where the apparatus includes:
the traffic identification result acquisition module is used for responding to a user request, carrying out traffic identification on the user request and acquiring a traffic identification result; wherein the flow identification result at least comprises a flow type;
the user request updating module is used for updating the user request according to the flow identification result;
and the user request sending module is used for sending the updated user request to a service system matched with the updated user request so as to enable the service system to execute the service matched with the updated user request.
In a third aspect, an embodiment of the present invention further provides an application program interface gateway, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the traffic identification method according to any one of the embodiments of the present invention.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a traffic identification method according to any one of the embodiments of the present invention.
The embodiment of the invention identifies the flow of the user request through the application program interface gateway, updates the user request according to the flow identification result and sends the user request to the corresponding service system. The method and the system solve the problems of code redundancy and low traffic identification efficiency caused by the fact that each service system at the back end performs traffic identification on the received user request in the prior art. The method and the device realize unified flow identification of the user request, save the flow identification cost and improve the flow identification efficiency.
Drawings
Fig. 1 is a flowchart of a traffic identification method according to a first embodiment of the present invention;
fig. 2a is a flowchart of a traffic identification method according to a second embodiment of the present invention;
FIG. 2b is a flow chart of traffic identification for a user request suitable for use in embodiments of the present invention;
FIG. 2c is a flow chart of application program interface gateway based traffic identification suitable for use in embodiments of the present invention;
fig. 3 is a flowchart of a traffic identification method in the third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a flow rate identification device in a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an application program interface gateway in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a traffic identification method according to an embodiment of the present invention, where this embodiment is applicable to a case where a user request needs to be subjected to traffic identification, so as to implement different service logics for different traffic types, and the method may be executed by a traffic identification device, which may be implemented by software and/or hardware and is generally integrated in an application program interface gateway.
As shown in fig. 1, the technical solution of the embodiment of the present invention specifically includes the following steps:
s110, responding to a user request, the application program interface gateway identifies the traffic of the user request, and obtains a traffic identification result.
Wherein the traffic identification result at least comprises a traffic type.
The API gateway may be a server Application item, which is the only entry of the system, and is used to shield the internal architecture of the real background system, provide a customized API Interface for each client or access end to access, and handle all non-service functions.
The user request may be a request initiated by a user through a client to instruct a back-end service system to provide a certain service. In one particular example, obtaining the list of product information may be a user request.
Traffic identification may be the analysis of a user request to derive a user tag or traffic attributes to which the request belongs. In a specific example, through traffic identification, it can be known that a user corresponding to a user request is a new user, and a traffic attribute of the user request is a new user traffic.
The traffic identification result may be an identification result obtained by identifying traffic for the user request. The traffic type may be a type of traffic corresponding to the user request, and in a specific example, the traffic type may be user traffic in shenzhen, new user traffic, or the like.
In the embodiment of the invention, the application program interface gateway identifies the flow to obtain the flow identification result. The application program interface gateway is used as a main body of flow identification, and the method has the advantages that the flow identification is uniformly carried out on the user request, the code redundancy can be avoided, and the efficiency of the flow identification is improved. And when the processing logic of the flow identification needs to be modified, only corresponding modification needs to be carried out on the application program interface gateway, so that the operation is simple, and the user experience is improved.
And S120, the application program interface gateway updates the user request according to the flow identification result.
In the embodiment of the invention, after the application program interface gateway obtains the traffic identification result, the user request is updated, so that the service system at the back end can acquire the traffic identification result corresponding to the user request according to the updated user request.
In an optional embodiment of the present invention, the updating, by the api gateway, the user request according to the traffic identification result may include: and the application program interface gateway generates a flow identification result identifier according to the flow identification result, and adds the flow identification result identifier into the user request to obtain an updated user request.
In the embodiment of the invention, the user request is updated by generating the traffic identification result identifier and adding the traffic identification result identifier to the user request.
In a specific example, the application program interface gateway may mark the traffic recognition result identifier for the user request by adding an annotation to the user request. In another specific example, the application programming interface gateway may directly add the traffic recognition result identifier to a request header of an HTTP (hypertext Transfer Protocol) request of the user request. The embodiment does not limit the specific manner of adding the traffic identification result identifier to the user request.
S130, the application program interface gateway sends the updated user request to a service system matched with the updated user request, so that the service system executes the service matched with the updated user request.
The service system is used for responding to the request of the user and executing corresponding service logic, and different types of services can correspond to different service systems. In a specific example, when a user browses a shopping website, the functions of displaying the commodity price and displaying the commodity inventory can be two different service systems.
In the embodiment of the invention, the application program interface gateway sends the user request added with the flow identification result identifier to the service system corresponding to the user request, and after receiving the user request, the service system can acquire the flow identification result of the user request and execute corresponding business logic for the user request according to the flow identification result. In a specific example, after receiving a user request, the service system knows that a traffic identification result of the user request is new user traffic, and may issue a coupon for the new user to the user.
According to the technical scheme of the embodiment, the flow identification is carried out on the user request through the application program interface gateway, the user request is updated according to the flow identification result, and the user request is sent to the corresponding service system. The method and the system solve the problems of code redundancy and low traffic identification efficiency caused by the fact that each service system at the back end performs traffic identification on the received user request in the prior art. The method and the device realize unified flow identification of the user request, save the flow identification cost and improve the flow identification efficiency.
Example two
Fig. 2a is a flowchart of a traffic identification method according to a second embodiment of the present invention, where the embodiment of the present invention further embodies the step of performing traffic identification on a user request by an application program interface gateway on the basis of the above-mentioned embodiment.
Correspondingly, as shown in fig. 2a, the technical solution of the embodiment of the present invention specifically includes the following steps:
s210, the application program interface gateway responds to a user request, obtains at least one item of request data, and extracts target data in the request data.
The request data may be data acquired according to a user request, and the function of the request data is to perform traffic identification analysis on the user request according to the request data. Optionally, the application program interface gateway may obtain the request parameter according to a user request, and obtain the request data according to the request parameter. The target data may be selected from the request data, and is used for acquiring corresponding information from the external service system according to the target data.
In the embodiment of the invention, after receiving the user request, the application program interface gateway acquires the request data according to the user request and acquires the target data in the request data.
In an alternative embodiment of the invention, the request data may comprise at least one of: user identification, order identification, request address, browser identification, client type, request source, and business parameters.
The user identifier may correspond to user-related information and is an identity identifier of the user. The order identification may correspond to order related information. The request address may be the client location where the user request was sent. The browser identification may be an identification indicating the type of browser, operating system, browser kernel, etc. information used by the user. The client type may be the type of the client that sent the user request, and in a specific example, the client type may be an ios client, an android client, or a web client. The request source may be an external activity indicating whether the source of the user request is an external activity. The service parameter may be used to indicate a service activity that needs to be performed on the user request.
In an optional embodiment of the present invention, when the target data is the user identifier, the obtaining, by the application program interface gateway, the target information according to the target data may include: and the application program interface gateway acquires user information matched with the user identification as target information in a user center according to the user identification.
In the embodiment of the invention, when the target data is the user identifier, the application program interface gateway acquires the user information matched with the user identifier in the user center. In one particular example, the user information may include whether the user made an account, whether the user first committed, whether the user was a loan user, and the like.
In an optional embodiment of the present invention, when the target data is an order identifier, the obtaining, by the application program interface gateway, the target information according to the target data may include: and the application program interface gateway acquires the service information matched with the order mark as target information in a data center according to the order mark.
In the embodiment of the invention, when the target data is the order identification, the application program interface gateway acquires the service information matched with the order identification in the data center. In one particular example, the business information may include order type, order status, and payment information, among others.
S220, the application program interface gateway obtains target information according to the target data, and performs flow identification on the user request according to the target information and the request data to obtain a flow identification result.
The target information may be related information obtained from an external service according to target data in the request data.
In the embodiment of the invention, after the application program interface gateway acquires the target data from the request data, the application program interface gateway acquires the target information according to the target data, and performs traffic identification analysis according to the target information and the request data to obtain the traffic identification result requested by the user.
And S230, the application program interface gateway generates a flow identification result identifier according to the flow identification result, and adds the flow identification result identifier into the user request to obtain an updated user request.
S240, the application program interface gateway sends the updated user request to a service system matched with the updated user request, so that the service system executes the service matched with the updated user request.
In an alternative embodiment of the present invention, fig. 2b is a flowchart of traffic identification for a user request, which is applicable to the embodiment of the present invention. As shown in fig. 2b, after the API gateway obtains the request information in the user request, the API gateway obtains the request data in the request information, and performs traffic identification analysis based on the user data obtained in the user center, the service data obtained in the data center, other data obtained in other external services, and the request data. And after the traffic identification analysis result is obtained, adding a traffic identification to the user request, and sending the user request to a back-end service system.
In another alternative embodiment of the present invention, fig. 2c is a flowchart of flow identification based on an application program interface gateway, which is applicable to the embodiment of the present invention, and as shown in fig. 2c, an API gateway collects request data according to a user request sent by a client, acquires user data and service data from other external services such as a user center and a data center, performs flow identification analysis according to the request data, the user data and the service data, obtains a flow type, generates a flow identifier according to the flow type, the flow identifier corresponds to a user tag, and adds the flow identifier to an HTTP request header of the user request. And after receiving the user request, the back-end service acquires the user label according to the HTTP request head of the user request, and executes the service logic corresponding to the user label according to the user label.
According to the technical scheme of the embodiment, request data are obtained through an application program interface gateway according to a user request, target information is obtained according to target data in the request data, flow identification is carried out according to the target information and the request data, a flow identification result identifier is generated according to an obtained flow identification result, the flow identification result identifier is added into the user request, and the updated user request is sent to a corresponding service system. The method and the system solve the problems of code redundancy and low traffic identification efficiency caused by the fact that each service system at the back end performs traffic identification on the received user request in the prior art. The method and the device realize unified flow identification of the user request, save the flow identification cost and improve the flow identification efficiency.
EXAMPLE III
Fig. 3 is a flowchart of a traffic identification method according to a third embodiment of the present invention, where the embodiment of the present invention further embodies the step of performing traffic identification on the user request by the application program interface gateway on the basis of the above-mentioned embodiment.
Correspondingly, as shown in fig. 3, the technical solution of the embodiment of the present invention specifically includes the following steps:
s310, the application program interface gateway sends the user request to a flow identification service system and obtains a flow identification result fed back by the flow identification service system.
The traffic identification service system may be an external service system for performing traffic identification.
In the embodiment of the invention, the application program interface gateway calls the flow identification service system, sends the user request to the flow identification service system and receives the flow identification result returned by the flow identification service system.
The method has the advantages that the unified flow identification of the user request can be realized only by arranging the interface at the application program interface gateway and butting with the flow identification service system, so that the butting cost is saved, and the flow identification efficiency is improved.
And S320, the application program interface gateway generates a flow identification result identifier according to the flow identification result, and adds the flow identification result identifier into the user request to obtain an updated user request.
S330, the application program interface gateway sends the updated user request to a service system matched with the updated user request, so that the service system executes the service matched with the updated user request.
According to the technical scheme of the embodiment, the flow identification service system is called through the application program interface gateway to perform flow identification on the user request, the flow identification result identification is generated according to the obtained flow identification result, the flow identification result identification is added into the user request, and the updated user request is sent to the corresponding service system. The method and the system solve the problems of code redundancy and low traffic identification efficiency caused by the fact that each service system at the back end performs traffic identification on the received user request in the prior art. The method and the device realize unified flow identification of the user request, save the flow identification cost and improve the flow identification efficiency.
Example four
Fig. 4 is a schematic structural diagram of a traffic identification apparatus according to a fourth embodiment of the present invention, where the apparatus is executed by an application program interface gateway, and the apparatus includes: a traffic identification result obtaining module 410, a user request updating module 420 and a user request sending module 430. Wherein:
a traffic identification result obtaining module 410, configured to respond to a user request, perform traffic identification on the user request, and obtain a traffic identification result; wherein the flow identification result at least comprises a flow type;
a user request updating module 420, configured to update the user request according to the traffic identification result;
a user request sending module 430, configured to send the updated user request to a service system matched with the updated user request, so that the service system executes a service matched with the updated user request.
According to the technical scheme of the embodiment, the flow identification is carried out on the user request through the application program interface gateway, the user request is updated according to the flow identification result, and the user request is sent to the corresponding service system. The method and the system solve the problems of code redundancy and low traffic identification efficiency caused by the fact that each service system at the back end performs traffic identification on the received user request in the prior art. The method and the device realize unified flow identification of the user request, save the flow identification cost and improve the flow identification efficiency.
On the basis of the above embodiment, the traffic identification result obtaining module 410 includes:
the target data extraction unit is used for responding to the user request, acquiring at least one item of request data and extracting target data in the request data;
and the traffic identification result acquisition unit is used for acquiring target information according to the target data, and performing traffic identification on the user request according to the target information and the request data to acquire a traffic identification result.
On the basis of the above embodiment, the request data includes at least one of: user identification, order identification, request address, browser identification, client type, request source, and business parameters.
On the basis of the above embodiment, the target data is a user identifier;
the traffic identification result acquisition unit includes:
and the user information acquisition subunit is used for acquiring the user information matched with the user identifier in the user center as target information according to the user identifier.
On the basis of the above embodiment, the target data is an order identifier;
the traffic identification result acquisition unit includes:
and the service information acquisition subunit is used for acquiring the service information matched with the order mark as target information in the data center according to the order mark.
On the basis of the above embodiment, the apparatus further includes:
and the flow identification service system calling module is used for sending the user request to a flow identification service system and acquiring the flow identification result fed back by the flow identification service system.
On the basis of the above embodiment, the user request updating module 420 includes:
and the traffic identification result identifier generating unit is used for generating a traffic identification result identifier according to the traffic identification result, and adding the traffic identification result identifier into the user request to obtain an updated user request.
The flow identification device provided by the embodiment of the invention can execute the flow identification method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an application program interface gateway according to a fifth embodiment of the present invention, as shown in fig. 5, the application program interface gateway includes a processor 70, a memory 71, an input device 72, and an output device 73; the number of processors 70 in the application program interface gateway may be one or more, and one processor 70 is taken as an example in fig. 5; the processor 70, memory 71, input device 72 and output device 73 in the application programming interface gateway may be connected by a bus or other means, such as by a bus connection in fig. 5.
The memory 71 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as the modules corresponding to the traffic identification method in the embodiment of the present invention (for example, the traffic identification result obtaining module 410, the user request updating module 420, and the user request sending module 430 in the traffic identification device). The processor 70 executes various functional applications of the api gateway and data processing by executing software programs, instructions and modules stored in the memory 71, that is, implements the above-described traffic recognition method. The method comprises the following steps:
the application program interface gateway responds to a user request, and performs flow identification on the user request to obtain a flow identification result; wherein the flow identification result at least comprises a flow type;
the application program interface gateway updates the user request according to the flow identification result;
and the application program interface gateway sends the updated user request to a service system matched with the updated user request so that the service system executes the service matched with the updated user request.
The memory 71 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 71 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 71 may further include memory located remotely from processor 70, which may be connected to an application programming interface gateway through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 72 may be used to receive input numeric or character information and generate key signal inputs relating to user settings and function controls of the application program interface gateway. The output device 73 may include a display device such as a display screen.
EXAMPLE six
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a traffic identification method, including:
the application program interface gateway responds to a user request, and performs flow identification on the user request to obtain a flow identification result; wherein the flow identification result at least comprises a flow type;
the application program interface gateway updates the user request according to the flow identification result;
and the application program interface gateway sends the updated user request to a service system matched with the updated user request so that the service system executes the service matched with the updated user request.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the traffic identification method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the traffic identification apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A traffic identification method, comprising:
the application program interface gateway responds to a user request, and performs flow identification on the user request to obtain a flow identification result; wherein the flow identification result at least comprises a flow type;
the application program interface gateway updates the user request according to the flow identification result;
and the application program interface gateway sends the updated user request to a service system matched with the updated user request so that the service system executes the service matched with the updated user request.
2. The method of claim 1, wherein the application program interface gateway performs traffic identification on the user request in response to the user request, and obtains a traffic identification result, comprising:
the application program interface gateway responds to the user request, acquires at least one item of request data and extracts target data in the request data;
and the application program interface gateway acquires target information according to the target data, and performs traffic identification on the user request according to the target information and the request data to acquire a traffic identification result.
3. The method of claim 2, wherein the request data comprises at least one of: user identification, order identification, request address, browser identification, client type, request source, and business parameters.
4. The method of claim 3, wherein the target data is a user identification;
the application program interface gateway acquires target information according to the target data, and the acquisition comprises the following steps:
and the application program interface gateway acquires user information matched with the user identification as target information in a user center according to the user identification.
5. The method of claim 3, wherein the target data is an order identification;
the application program interface gateway acquires target information according to the target data, and the acquisition comprises the following steps:
and the application program interface gateway acquires the service information matched with the order identification as target information in a data center according to the order identification.
6. The method of claim 1, wherein the application program interface gateway performs traffic identification on the user request in response to the user request to obtain a traffic identification result, and further comprising:
and the application program interface gateway sends the user request to a flow identification service system and acquires the flow identification result fed back by the flow identification service system.
7. The method according to any of claims 1-6, wherein the updating the user request by the API gateway based on the traffic identification comprises:
and the application program interface gateway generates a flow identification result identifier according to the flow identification result, and adds the flow identification result identifier into the user request to obtain an updated user request.
8. A flow identification device, applied to an application program interface gateway, includes:
the traffic identification result acquisition module is used for responding to a user request, carrying out traffic identification on the user request and acquiring a traffic identification result; wherein the flow identification result at least comprises a flow type;
the user request updating module is used for updating the user request according to the flow identification result;
and the user request sending module is used for sending the updated user request to a service system matched with the updated user request so as to enable the service system to execute the service matched with the updated user request.
9. An application program interface gateway comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the traffic recognition method according to any of claims 1 to 7.
10. A storage medium containing computer-executable instructions for performing the traffic identification method of any of claims 1-7 when executed by a computer processor.
CN202010056851.3A 2020-01-16 2020-01-16 Traffic identification method and device, application program interface gateway and storage medium Pending CN111294288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010056851.3A CN111294288A (en) 2020-01-16 2020-01-16 Traffic identification method and device, application program interface gateway and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010056851.3A CN111294288A (en) 2020-01-16 2020-01-16 Traffic identification method and device, application program interface gateway and storage medium

Publications (1)

Publication Number Publication Date
CN111294288A true CN111294288A (en) 2020-06-16

Family

ID=71022273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010056851.3A Pending CN111294288A (en) 2020-01-16 2020-01-16 Traffic identification method and device, application program interface gateway and storage medium

Country Status (1)

Country Link
CN (1) CN111294288A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113965421A (en) * 2021-12-23 2022-01-21 北京微步在线科技有限公司 Application program interface acquisition method and device and application program interface analysis method and device
CN114422440A (en) * 2022-03-28 2022-04-29 北京沃丰时代数据科技有限公司 Gray scale distribution method and device, electronic equipment and storage medium
CN114900448A (en) * 2022-05-30 2022-08-12 上海亿通国际股份有限公司 Micro-service gateway flow management method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170749A (en) * 2007-12-05 2008-04-30 华为技术有限公司 A method for realizing differential service in WAP group and WAP gateway
US10015167B1 (en) * 2017-03-17 2018-07-03 Accenture Global Solutions Limited Extensible key management system for application program interfaces
US10120734B1 (en) * 2016-08-29 2018-11-06 Equinix, Inc. Application programming interface and services engine with application-level multi-tenancy
US10187264B1 (en) * 2017-02-14 2019-01-22 Intuit Inc. Gateway path variable detection for metric collection
CN109344345A (en) * 2018-10-16 2019-02-15 翟红鹰 Data access system and access method, terminal and storage medium based on block chain
CN110225104A (en) * 2019-05-24 2019-09-10 深圳市明源云科技有限公司 Data capture method, device and terminal device
US10476860B1 (en) * 2016-08-29 2019-11-12 Amazon Technologies, Inc. Credential translation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170749A (en) * 2007-12-05 2008-04-30 华为技术有限公司 A method for realizing differential service in WAP group and WAP gateway
US10120734B1 (en) * 2016-08-29 2018-11-06 Equinix, Inc. Application programming interface and services engine with application-level multi-tenancy
US10476860B1 (en) * 2016-08-29 2019-11-12 Amazon Technologies, Inc. Credential translation
US10187264B1 (en) * 2017-02-14 2019-01-22 Intuit Inc. Gateway path variable detection for metric collection
US10015167B1 (en) * 2017-03-17 2018-07-03 Accenture Global Solutions Limited Extensible key management system for application program interfaces
CN109344345A (en) * 2018-10-16 2019-02-15 翟红鹰 Data access system and access method, terminal and storage medium based on block chain
CN110225104A (en) * 2019-05-24 2019-09-10 深圳市明源云科技有限公司 Data capture method, device and terminal device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113965421A (en) * 2021-12-23 2022-01-21 北京微步在线科技有限公司 Application program interface acquisition method and device and application program interface analysis method and device
CN114422440A (en) * 2022-03-28 2022-04-29 北京沃丰时代数据科技有限公司 Gray scale distribution method and device, electronic equipment and storage medium
CN114900448A (en) * 2022-05-30 2022-08-12 上海亿通国际股份有限公司 Micro-service gateway flow management method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN110263275B (en) Method and device for accessing webpage, mobile terminal and storage medium
US11038975B2 (en) Information pushing method and device
CN110688598B (en) Service parameter acquisition method and device, computer equipment and storage medium
CN107784552B (en) Information push task execution method and device, computer equipment and storage medium
CN111294288A (en) Traffic identification method and device, application program interface gateway and storage medium
US20120017222A1 (en) Interface For Telecommunication Services Using Uniform Resource Identifiers
CN107391277B (en) Information processing method and device
CN107274222B (en) Advertisement putting method and device
CN110602056A (en) Service parameter transmission method and device
CN111988418B (en) Data processing method, device, equipment and computer readable storage medium
CN114024972A (en) Long connection communication method, system, device, equipment and storage medium
CN109885347B (en) Method, device, terminal, system and storage medium for acquiring configuration data
WO2014176896A1 (en) System and method for updating information in an instant messaging application
US10044874B2 (en) Telephone number based information loading method and device
CN110688581A (en) Information real-time pushing method and device, computing equipment and medium
CN114219466A (en) Transfer information processing method and device, electronic equipment and storage medium
CN112073512B (en) Data processing method and device
CN115951923B (en) Subscription event management method, display system, device and storage medium
CN114675982A (en) General method and system for acquiring data of service integration system
CN108600255B (en) Mock service management method, device, computer equipment and storage medium
US20210012320A1 (en) Data Processing Method Based on NFC Label, System and Server Thereof
CN114564270B (en) List component rendering and front-end display method, device, equipment and medium of page
CN116362206A (en) File processing method, device, equipment and medium
CN115599669A (en) Debugging method and device of microservice, electronic equipment and readable storage medium
CN111489212B (en) Order billing method, device, equipment and medium based on big data

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