Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data pushing method and data pushing device based on open application programming interface

A programming interface and data push technology, which is applied in the Internet field, can solve problems such as low efficiency and small data push volume, and achieve the effects of improving performance, reducing pressure, and improving push efficiency

Active Publication Date: 2016-05-11
ADVANCED NEW TECH CO LTD
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved in this application is to provide a data push method based on an open application programming interface, in order to solve the inefficiency of large data push in the prior art due to the small amount of data push in each OpenAPI call problems, so as to avoid a large number of calls to OpenAPI in a short period of time, reduce the pressure on the server as much as possible, and improve the performance of the server as much as possible

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
  • Data pushing method and data pushing device based on open application programming interface
  • Data pushing method and data pushing device based on open application programming interface
  • Data pushing method and data pushing device based on open application programming interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0087] Corresponding to the method provided in Embodiment 1 of the data push method based on the open application programming interface of the present application, see Figure 4 , the present application also provides Embodiment 1 of a data push device based on an open application programming interface. In this embodiment, the device may include:

[0088] The registration response module 401 is configured to respond to the registration request sent by each data-providing client, and correspondingly save the first identity information and first authority information of each data-providing client; the first identity information is used to uniquely identify a provider For the data client, the first permission information is used to indicate that an open application programming interface that the data client can call is provided.

[0089] The first authentication module 402 is configured to perform the current first identity information and current first permission information of ...

Embodiment 2

[0102] Corresponding to the method provided in Embodiment 2 of the data push method based on the open application programming interface of the present application, see Figure 5 , the present application also provides Embodiment 2 of a data push device based on an open application programming interface. In this embodiment, the device may include:

[0103] The second authentication module 501, in response to the subscription request sent by each subscription data client, authenticates each second identity information and second permission information of the subscription data client; the second identity information is used for unique identification Subscribing to the data client, the second permission information is used to indicate the subscription type of the data subscribed by the subscribing data client.

[0104] Wherein, the second authentication module 501 may include:

[0105] The third judging submodule is used to refer to the second identity information to judge whethe...

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 provides a data pushing method and a data pushing device based on an open application programming interface. The method comprises the following steps: correspondingly storing first identity information and first privilege information of data providing clients in response to registration requests sent by the data providing clients; authenticating the current first identity information and the current first privilege information of the current data providing client in response to a call request of a current open application programming interface initiated by the current data providing client; establishing a long connection with the current data providing client if the current first identity information and the current first privilege information of the current data providing client pass authentication; and receiving target data pushed by the current data providing client on the long connection. According to the embodiment, call of a lot of Open APIs in a short period of time is avoided, and the pushing efficiency during big data pushing is improved. Due to less interaction between the clients and a server, the pressure of the server is reduced, and the performance of the server is improved.

Description

technical field [0001] The present application relates to the field of the Internet, in particular to a method and device for pushing data based on an open application programming interface. Background technique [0002] In the Internet age, some services of the website can be packaged into a series of application programming interfaces (APIs) that are easily recognizable by computers and opened up for use by third-party developers. This kind of API is called OpenAPI. The platform that provides OpenAPI is called an open platform. OpenAPI calls are transmitted through the Internet with the Hypertext Transfer Protocol (HTTP-Hypertext transfer protocol). Every time the client calls OpenAPI, it can submit a request to the server, and the server returns the result to the client after receiving the request and processing it. Based on the continuous development of the open platform business, more and more developers are developing around the open platform, and the requirements for...

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
Inventor 田锟
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products