CN108200165B - Request Transmission system, method, apparatus and storage medium - Google Patents

Request Transmission system, method, apparatus and storage medium Download PDF

Info

Publication number
CN108200165B
CN108200165B CN201711488524.XA CN201711488524A CN108200165B CN 108200165 B CN108200165 B CN 108200165B CN 201711488524 A CN201711488524 A CN 201711488524A CN 108200165 B CN108200165 B CN 108200165B
Authority
CN
China
Prior art keywords
access gateway
client
server
http request
destination server
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.)
Active
Application number
CN201711488524.XA
Other languages
Chinese (zh)
Other versions
CN108200165A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711488524.XA priority Critical patent/CN108200165B/en
Publication of CN108200165A publication Critical patent/CN108200165A/en
Application granted granted Critical
Publication of CN108200165B publication Critical patent/CN108200165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

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

Abstract

This application discloses a kind of request Transmission system, method, apparatus and storage mediums, belong to field of communication technology.The system includes: that client generates HTTP request;It determines in n access gateway for receiving the first access gateway of HTTP request;And HTTP request is sent to the first access gateway;First access gateway receives the HTTP request that client is sent;The destination server in m server is determined according to the client identification in HTTP request;And when the first access gateway and destination server foundation have communication connection, HTTP request is sent to destination server, the destination server is for storing the corresponding resource of client identification;Destination server receives HTTP request, and responds to HTTP request.The application can solve the larger problem of failure rate for the server access resource that client is determined from load balancer;The success rate of client request resource can be improved.

Description

Request Transmission system, method, apparatus and storage medium
Technical field
The invention relates to field of communication technology, in particular to a kind of request Transmission system, method, apparatus and storage Medium.
Background technique
Client can send hypertext transfer protocol (HyperText to server when accessing the resource in server Transfer Protocol, HTTP) request, after server receives the HTTP request, to the corresponding resource of client feedback.
When send HTTP request client quantity it is more when, in order to avoid multiple HTTP requests be all sent to it is same Server, the problem for causing the processing pressure of the server excessive will also include F5 load balancing between client and server Device, the F5 load balancer can distribute HTTP request according to the load of each server.Wherein, each F5 load balancer with At least one server is connected.
However, F5 load balancer determine processing HTTP request server when, the server determined than more random, At this point, the server may not save the corresponding resource of client, client request resource is caused to fail.
Summary of the invention
Request Transmission system, method, apparatus and storage medium provided by the embodiments of the present application can solve equal by loading The server of weighing apparatus random selection processing HTTP request, cause client from the failure rate of the corresponding resource of the server access compared with Big problem.The technical solution is as follows:
In a first aspect, providing a kind of request Transmission system, which includes: client, n access gateway and m clothes Business device, the client are connected with the n access gateway with the m server, and the n and the m are positive integer;
The client, for generating HTTP request;It determines in the n access gateway for connecing Receive the first access gateway of the HTTP request;And the HTTP request is sent to first access gateway, the HTTP Request carries the client identification of the client;
First access gateway, the HTTP request sent for receiving the client;According to the client Mark determines the destination server in the m server;And it is established in first access gateway and the destination server When having communication connection, the HTTP request is sent to the destination server, the destination server is for storing the visitor Family end identifies corresponding resource;
The destination server is responded for receiving the HTTP request, and to the HTTP request.
Second aspect provides a kind of request transmission method, is used in access gateway, the access gateway and client phase Even, and the access gateway is also connected at least one server;The described method includes:
The HTTP request that the client is sent is received, the HTTP request carries the client The client identification at end;
Destination server is determined according to the client identification, and the destination server is for storing the client identification Corresponding resource;
When having communication connection with destination server foundation, the HTTP request is sent to the destination service Device.
The third aspect provides a kind of request transmission method, in client, the client to be led to and n access net It closes and is connected, the n access gateway is also connected with m server, and the n and the m are positive integer;The described method includes:
HTTP request is generated, the HTTP request carries the client identification of the client;
Determine the first access gateway that the HTTP request is received in the n access gateway, the client identification is used In determining the destination server in the m server for first access gateway, the destination server is for storing institute State the corresponding resource of client identification;
The HTTP request is sent to first access gateway;
Receive the resource from the destination server of the access gateway feedback;Wherein, in first access When gateway and destination server foundation have communication connection, the access gateway is first access gateway.
Fourth aspect provides a kind of request transmitting device, is used in access gateway, the access gateway and client phase Even, and the access gateway is also connected at least one server;Described device includes:
Receiving unit, the HTTP request sent for receiving the client, the HTTP request Carry the client identification of the client;
Determination unit, for determining destination server according to the client identification, the destination server is for storing The corresponding resource of the client identification;
Transmission unit, for when having communication connection with destination server foundation, the HTTP request to be sent to The destination server.
5th aspect, provides a kind of request transmitting device, is used in client, the client and n access gateway It is connected, the n access gateway is also connected with m server, and the n and the m are positive integer;Described device includes:
Generation unit, for generating HTTP request, the HTTP request carries the client Client identification;
Determination unit, it is described for determining the first access gateway for receiving the HTTP request in the n access gateway Client identification is used to determine the destination server in the m server, the destination service for first access gateway Device is for storing the corresponding resource of the client identification;
Transmission unit, for the HTTP request to be sent to first access gateway;
Receiving unit, for receiving the resource from the destination server of the access gateway feedback;Wherein, exist When first access gateway and destination server foundation have communication connection, the access gateway is the first access net It closes.
6th aspect, provides a kind of access gateway, and the access gateway includes processor, is connected with the processor Memory, and the program instruction being stored on the memory, the processor realize second when executing described program instruction The request transmission method that aspect provides.
7th aspect, provides a kind of terminal, and the terminal includes processor, the memory that is connected with the processor, And it is stored in the program instruction on the memory, the processor realizes that the third aspect provides when executing described program instruction Request transmission method.
Eighth aspect, a kind of computer-readable medium are stored thereon with program instruction, and described program instruction is held by processor The request transmission method that second aspect provides is realized when row;Alternatively, the request transmission method that the third aspect provides.
Technical solution provided by the embodiments of the present application has the benefit that
By determining destination server according to the client identification in the HTTP request when receiving HTTP request;And When having communication connection with destination server creation, HTTP request is sent to destination server, by destination server to this HTTP request is responded;It can be different to avoid the server that client accesses and the server for the resource for storing the client The problem of causing, client request resource caused to fail;Since access network equipment can be determined to be stored with according to client identification Corresponding resource can be accessed in the destination server of corresponding resource, therefore, client by HTTP request, so as to mention The success rate of high client request resource.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Figure 1A is the structural schematic diagram for the request Transmission system that the relevant technologies provide;
Figure 1B is the structural schematic diagram for the request Transmission system that the application one embodiment provides;
Fig. 2 is the flow chart for the request transmission method that one exemplary embodiment of the application provides;
Fig. 3 is the flow chart for the request transmission method that one exemplary embodiment of the application provides;
Fig. 4 is the flow chart for the request transmission method that one exemplary embodiment of the application provides;
Fig. 5 is the schematic diagram for the concordance list that one exemplary embodiment of the application provides;
Fig. 6 is the flow chart for the request transmission method that another exemplary embodiment of the application provides;
Fig. 7 is the structural block diagram for the request transmitting device that the application one embodiment provides;
Fig. 8 is the structural block diagram for the request transmitting device that the application one embodiment provides;
Fig. 9 is the structural block diagram for the access gateway that the application one embodiment provides;
Figure 10 is the structural block diagram for the terminal that the application one embodiment provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
" first ", " second " used in present specification and claims and similar word are not offered as Any sequence, quantity or importance, and be used only to distinguish different component parts.Equally, the classes such as "one" or " one " It does not indicate that quantity limits like word yet, but indicates that there are at least one.The similar word such as " connection " or " connected " is not It is defined in physics or mechanical connection, but may include electrical connection, it is either direct or indirect.
" multiple " referred in application refer to two or more."and/or", the association for describing affiliated partner are closed System indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, individualism These three situations of B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Firstly, to this application involves several nouns be introduced.
F5 load balancer: being a kind of hardware device, for the load according to rear end equipment, based on load balancing principle point It is requested with hypertext transfer protocol (HyperText Transfer Protocol, HTTP).Wherein, rear end equipment refers to reception The equipment for the HTTP request that F5 load balancer is sent.Such as: rear end equipment is server or access gateway etc..
Optionally, F5 load balancer is other than with load-balancing function, further include applications exchange, session exchange, Condition monitoring, intelligent network address conversion, general duration, response error handle, 6 (Internet of internet protocol version Protocol Version 6, IPv6) gateway, advanced routing, intelligent port mirror image, Secure Socket Layer (Secure Sockets Layer, SSL) accelerate, intelligence HTTP compress, transmission control protocol (Transmission Control Protocol, TCP) it is excellent Change, the 7th layer of rate-shaping, content buffering, Content Transformation, connection acceleration, cache, Cookie encryption, selective content add It is close, using attaching filtering, refusal service (Denial of Service, DoS) attack and SYN Flood protection, firewall filtering Etc. functions, the application will not enumerate herein.
It should be added that although F5 load balancer it is powerful, F5 load balancer it is expansible Property is poor, that is, being difficult to expand other functions on the basis of F5 load balancer existing function.
Optionally, F5 load balancer can do Layer 4 load balancing;Alternatively, 7 layers of load balancing can also be done.
Layer 4 load balancing refers to when carrying out load balancing to server, and forwarding is determined how according to four layers of information Flow, such as: pass through the port of three layers of+four layers of Internet protocol (Internet Protocol Address, IP) of publication Number, to determine which flow needs to do load balancing.
7 layers of load balancing refer on the basis of 4 layers, consider further that the feature of application layer, such as: in addition to according to the end IP+80 Mouth discerns whether flow to be treated, can also (Uniform Resource Locator, URL), browser class according to 7 layers Not and at least one of language decides whether to progress load balancing.For example, if server is divided into two groups, one Group is Chinese language, and one group is english language, then 7 layers of load balancing can when client is to access server, It is automatic to distinguish user language, then select corresponding language server group to carry out load balance process.
Nginx server: being a kind of high performance HTTP and Reverse Proxy.Nginx server is a kind of software Server, Nginx server receive HTTP request using reverse proxy (Reverse Proxy) technology proxy server;Then, The multiple servers that HTTP request is dynamically transmitted on internal network are handled, and the result that will be obtained from server Return to client.Nginx server is interior by the way that the HTTP request received to be dynamically transmitted in a manner of reverse proxy Multiple servers on portion's network are handled, to achieve the purpose that load balancing.
It should be added that the function of Nginx server is fixed, scalability is also poor.
Access gateway: for receiving the HTTP request of client transmission, and according to the client identification in the HTTP request Determine the destination server for handling the HTTP request.
Optionally, since the development language of access gateway is that developer is customized, access gateway is in addition to can be with It forwards except HTTP request, other functions can also be expanded, that is, access gateway is compared to F5 load balancer and Nginx Scalability is stronger for server, such as: the extension function of access gateway is supported asynchronous by extension HTTP1.1 protocol realization HTTP request is forwarded, to improve the parallel processing capability of access gateway;IP blacklist is set, the IP having in IP blacklist is stopped The HTTP request of address;The total number of request of real-time statistics forwards overtime quantity;The flow control of interface level;Ssl protocol etc. is extended, The present embodiment will not enumerate herein.
In the request Transmission system that the relevant technologies provide, client is connected by F5 load balancer with multiple servers; Alternatively, client is connected by F5 load balancer and Nginx server with multiple servers.It is loaded with client by F5 For weighing apparatus and Nginx server are connected with multiple servers, with reference to Figure 1A, the request Transmission system include client 101, with The connected load balancer 102 of client 101, the Nginx server 103 being connected with load balancer 102 and with Nginx service The connected multiple servers 104 of device 103.
Client 101 is used to send HTTP request to load balancer 102;Load balancer 102 receives the HTTP request, And HTTP request is distributed to some Nginx server 103;After Nginx server 103 receives HTTP request, by this HTTP request distributes some server 104 into multiple servers 104.
Wherein, the server 104 that Nginx server 103 is determined is than more random, that is, receiving client 101 first The server 104 of the HTTP request of secondary transmission and the server 104 for the HTTP request for receiving second of client 101 transmission can Can be different, and the server that the server 104 for storing the corresponding resource of client 101 may be determined with Nginx server 103 104 is different, at this point, client 101 requests resource that may will fail.
It in some embodiments, may be by different server in order to improve the success rate that client 101 requests resource Resource in 104 synchronizes, at this point, the resource saved in Servers-all 104 is identical.However, client 101 may be always A portion server 104 will not be accessed, at this point, can both waste consumption when source synchronous to the part server 104 Resource, can also waste the memory space of the part server 104.
Based on above-mentioned technical problem, the application is provided the following technical solutions.
Figure 1B is the structural schematic diagram of the request Transmission system shown in the exemplary embodiment of the application, the system packet Client 110, n access gateway 120 and m server 130 are included, n and m are positive integer.Client 110 passes through n access Gateway 120 is connected with m server 130.
Wherein, client 110 is connected by wireless network or cable network with n access gateway 120, each access gateway 120 are connected by wireless network or cable network at least one server 130 in m server 130.Optionally, different 130 quantity of server that access gateway 120 connects can be identical, alternatively, can also be different.
Client 110 is run in terminal, and terminal includes but is not limited to: mobile phone, tablet computer, wearable device, intelligence The electronic equipments with communication function such as energy robot, smart home device, pocket computer on knee and desktop computer.
Client 110 distributes the HTTP request to first into n access gateway 120 for generating HTTP request Access gateway 121.Wherein, HTTP request carries the client identification of client.
Optionally, client identification can be user account number, E-mail address, identification card number, the silver of client registers Row card card number, random string;Alternatively, client identification is also possible to the device identification of terminal belonging to client, and such as: matchmaker Body access control (Media Access Control or Medium Access Control, MAC) address, device number etc..
Access gateway 120 can be the server of software realization, and access gateway 120 can be set in independent server master In machine.
Access gateway 120 (including the first access gateway 121) is used to receive the HTTP request of the transmission of client 110, and root The destination server 131 in m server 130 is determined according to the client identification in the HTTP request.In access gateway 120 and mesh When the mark foundation of server 131 has communication connection, access gateway 120 is also used to for HTTP request to be sent to destination server 131.
Wherein, destination server 131 is stored with the corresponding resource of client identification.
Optionally, each access gateway 120 is connected at least one server 130, which belongs to Same computer room.Computer room refers to the erection space for setting up server.
Optionally, the server 130 in each computer room is connected with multiple access gatewaies 120, multiple access gateway 120 with Server 130 in same computer room is connected by local area network.
Optionally, it can also be connected by wired or wireless mode between different access gatewaies 120.
Server 130 provides background service for client.Optionally, server 130 can be website (Web) server; Alternatively, being also possible to other types of server, the present embodiment is not construed as limiting this.Optionally, server 130 is referred to as Background server, Tomcat server etc., the present embodiment, which is not referred to as the name of server, to be limited.
Server 130 is used to receive the HTTP request of the transmission of access gateway 120, and responds to the HTTP request.It can Selection of land, server 130 carry out response to HTTP request and refer to: sending HTTP request requested resource to access gateway 120.
Optionally, the resource that server 130 is fed back is resource corresponding with the client identification in HTTP request, the money Source includes but is not limited to: at least one of text, picture, webpage, audio and video.
Optionally, request Transmission system provided in this embodiment is only that schematically, in actual implementation, which transmits System can also include other equipment, such as: the request Transmission system further includes the name server being connected with client 110 (Domain Name Server, DNS) etc..
Wherein, DNS also passes through cable network or wireless network and is connected with n access gateway 120, and DNS is for carrying out domain Conversion between name (domain name) and IP address (address).Schematically, DNS is used for the domain name in HTTP request Be converted to the IP address of server 130.
Optionally, in the application, wireless network or cable network use standard communication techniques and/or agreement.Network is usual For internet, it may also be any network, including but not limited to local area network (Local Area Network, LAN), Metropolitan Area Network (MAN) (Metropolitan Area Network, MAN), wide area network (Wide Area Network, WAN), mobile, wired or nothing Any combination of gauze network, dedicated network or Virtual Private Network).In some embodiments, using including hypertext markup Language (HyperText Mark-up Language, HTML), extensible markup language (Extensible Markup Language, XML) etc. technology and/or format represent the data by network exchange.It additionally can be used such as safe Socket layer (Secure Socket Layer, SSL), Transport Layer Security (Trassport Layer Security, TLS), void Quasi- dedicated network (Virtual Private Network, VPN), Internet Protocol Security (Internet Protocol Security, IPsec) etc. conventional encryption techniques encrypt all or some links.In further embodiments, can also make Replace or supplement above-mentioned data communication technology with customization and/or the exclusive data communication technology.
Fig. 2 is the flow chart of the request transmission method shown in the exemplary embodiment of the application.The present embodiment is with this Request transmission method is illustrated in the access gateway 120 in Transmission system for requesting shown in Figure 1B, the access net Pass is connected with client, and the access gateway is also connected at least one server, which includes following Step.
Step 201, the HTTP request that client is sent is received, which carries the client identification of client.
Step 202, destination server is determined according to client identification, the destination server is for storing client identification pair The resource answered.
Optionally, access gateway determines index mark according to the client identification in HTTP request;It is identified according to the index Destination server is determined in concordance list;The concordance list includes the index relative between index mark and destination server.
Optionally, concordance list is for balancedly distributing different client identifications to server.
Step 203, when having communication connection with destination server foundation, HTTP request is sent to destination server.
In conclusion request transmission method provided in this embodiment, by when receiving HTTP request, according to the HTTP Client identification in request determines destination server;And when having communication connection with destination server creation, HTTP is asked It asks and is sent to destination server, the HTTP request is responded by destination server;The service that can be accessed to avoid client The problem of device and the server for the resource for storing the client are inconsistent, and client request resource is caused to fail;Due to accessing net Equipment can determine the destination server for being stored with corresponding resource according to client identification, and therefore, client can pass through Corresponding resource is accessed in HTTP request, to improve the success rate of client request resource.
In addition, by the way that client is directly connected with access gateway, and it is not provided with load balancer, it is possible to reduce request passes Transmission assembly needed for defeated system reduces the complexity of request Transmission system.
Fig. 3 is the flow chart of the request transmission method shown in the exemplary embodiment of the application.The present embodiment is with this Request transmission method is illustrated in the client 110 in Transmission system for requesting shown in Figure 1B, the client and n A access gateway is connected, which is also connected with m server, and n and m are positive integer, which includes Following steps.
Step 301, HTTP request is generated.
Wherein, HTTP request carries the client identification of client.
Step 302, the first access gateway that HTTP request is received in n access gateway is determined.
Wherein, client identification is used to determine the destination server in m server, destination service for the first access gateway Device is for storing the corresponding resource of client identification.
Step 303, HTTP request is sent to the first access gateway.
Step 304, the resource from destination server of access gateway feedback is received;Wherein, in the first access gateway When having communication connection with destination server foundation, which is the first access gateway.
In conclusion request transmission method provided in this embodiment is made by carrying client identification in HTTP request Access gateway is obtained when receiving HTTP request, can be determined to be stored with the visitor according to the client identification in the HTTP request Family end identifies the destination server of corresponding resource;And when having communication connection with destination server creation, by HTTP request It is sent to destination server, the HTTP request is responded by destination server;Therefore, client can pass through HTTP request Corresponding resource is accessed, so as to improve the success rate of client request resource.
Fig. 4 is the flow chart of the request transmission method shown in the exemplary embodiment of the application.The present embodiment is with this Request transmission method for being illustrated in request Transmission system shown in Figure 1B, the system include: client, n connect Function Access Gateway and m server, the client are connected by n access gateway with m server, and n and m are positive integer, this is asked Seeking transmission method includes following steps.
Step 401, client generates HTTP request.
Optionally, client is when receiving the trigger action to a certain address URL, according to the client mark of the client Know and the address URL generates HTTP request.
Wherein, client identification is for determining the destination server for being stored with the corresponding resource of the client identification.
Optionally, in actual implementation, the quantity of the server with same domain name can be multiple, multiple server It may be distributed in the computer room of diverse geographic location, and multiple server may only one server storage client identification Corresponding resource, at this time, it may be necessary to determine the destination server for being stored with the resource from multiple server.
Optionally, client identification can be user account number, E-mail address, identification card number, the silver of client registers Row card card number, random string;Alternatively, client identification is also possible to the device identification of terminal belonging to client, and such as: matchmaker Body access control (Media Access Control or Medium Access Control, MAC) address, device number etc..
Step 402, access gateway sends current load capacity to client.
Optionally, each access gateway every preset duration sends current load capacity to client in n access gateway; Alternatively, the instruction according to client sends current load capacity.Optionally, preset duration can be developer's setting, and The preset duration can be 5 minutes, 10 minutes etc., and the present embodiment is not construed as limiting this.
Optionally, this step can execute before step 401;Alternatively, can also be executed after step 401;Alternatively, It is performed simultaneously with step 401, the present embodiment is not construed as limiting this.
Step 403, client receives the load capacity of n access gateway.
Step 404, client is determined in n access gateway and is asked for receiving HTTP according to the load capacity of n access gateway The first access gateway asked.
Optionally, the smallest access gateway of load capacity in n access gateway is determined as the first access gateway by client.
Alternatively, optionally, server identification is stored in client, at this point, client first determination and server identification pair At least one connected access gateway of the server answered;The smallest access gateway of load capacity at least one access gateway is true It is set to the first access gateway.At this point, being stored with the corresponding pass between server identification and at least one access gateway in client System.
Optionally, it is random from the server identification for each server being locally stored to can be client for server identification Selection;Alternatively, the server identification is the server identification for the server that client history accessed.
Optionally, server identification can be the number of server, computer room title where server, server IP At least one of erection geographic area of location, the port numbers of server and server.
Certainly, client can also select the first access gateway from n access gateway at random, and the present embodiment is not to client It holds and determines that the mode of the first access gateway limits.
Step 405, HTTP request is sent to the first access gateway by client.
Optionally, if client is directly connected with the first access gateway, client passes through between the first access gateway Communication connection, HTTP request is sent to the first access gateway by this;Alternatively, if client passes through dns server and first Access gateway is connected, then HTTP request is sent to the first access gateway by dns server by this by client.
Step 406, the first access gateway receives the HTTP request that client is sent.
Wherein, HTTP request carries the client identification of client.
Step 407, the first access gateway determines the destination server in m server according to client identification.
Optionally, when the first access gateway and destination server foundation have communication connection, step 408 is executed;First When access gateway and destination server have not set up communication connection, step 409 is executed.
Wherein, destination server is for storing the corresponding resource of client identification.
Optionally, the first access gateway determines the destination server in m server according to client identification, comprising: root Index mark is determined according to client identification;Destination server is determined in concordance list according to index mark.Wherein, concordance list includes Index relative between index mark and destination server.
Optionally, concordance list is for balancedly distributing different client identifications to server.Optionally, concordance list is silent Recognize and is arranged in n access gateway;Alternatively, concordance list is sent to n access gateway by other equipment.
Optionally, concordance list can be updated when establishing or deleting there are new server.
Wherein, the corresponding same index mark of multiple client mark.
In one example, index mark is determined according to client identification, comprising: cyclic redundancy is carried out to client identification Code (Cyclical Redundancy Check, CRC) operation, obtains intermediate value;The intermediate value is taken with default value Mould obtains index mark.Wherein, CRC operation is used to client identification being converted to digit strings;Modulo operation is for reducing The range of index server.
CRC operation can be CRC-16 operation, CRC-8 operation, CRC-4 operation etc., and the present embodiment is not construed as limiting this.
Certainly, in actual implementation, client can also convert index mark for client identification otherwise, The present embodiment is not construed as limiting this.
Optionally, index mark is referred to as barrel number code (bucket Identity, bucket ID);Alternatively, other Title, the present embodiment are not construed as limiting this.
In one example, destination server is determined in concordance list according to index mark, comprising: exist according to index mark The server identification of destination server is searched in concordance list;In at least one server with the server identification, determine HTTP request needs the destination server accessed.
Optionally, the first access gateway is according to the access information carried in HTTP request, from the server identification Destination server is determined at least one server.Wherein, access information includes but is not limited to: the version number of client, operation The version number of system, the address URL, the identifier of resource, protocol version and at least one of request method of resource.
Assuming that the concordance list stored in the first access gateway is as shown in figure 5, if the first access gateway is according in HTTP request The index determined of client identification be identified as B1, then server identification is Hangzhou computer room;First access gateway is according to HTTP Access information in request determines destination server from the server of Hangzhou computer room.
Step 408, when the first access gateway and destination server foundation have communication connection, which will HTTP request is sent to destination server, executes step 415.
Optionally, the first access gateway and destination server are established by local area network communicates to connect.Certainly, the first access net It closes to establish by other networks and destination server and communicate to connect, the present embodiment is not construed as limiting this.
Optionally, the first access gateway can also send success response to client, which includes destination server Server identification.Schematically, success response is sent based on http protocol, and server identification is that letter is preset in HTTP header Several values.
Optionally, the first access gateway can send success response before sending HTTP request;Alternatively, the first access net Pass can send success response after sending HTTP request;Alternatively, the first access gateway can send simultaneously HTTP request and Success response is sent, the present embodiment is not construed as limiting this.
Step 409, the first access gateway not with destination server foundation have communication connection when, first access gateway to Client sends failure response.
Failure response includes the server identification of preset state code and destination server, which is used to indicate One access gateway is not available.Schematically, failure response is sent based on http protocol, and server identification is in HTTP header The value of preset function.
The present embodiment does not limit the numerical value of preset state code, and schematically, the value of the preset state code is 306.
Step 410, client reception failure responds.
Step 411, client according to the server identification in failure response determine in n access gateway with destination server Establish the second access gateway for having communication connection.
Optionally, client determines in failure response according to the corresponding relationship between server identification and access gateway At least one corresponding access gateway of server identification;Load capacity the smallest second is selected to connect from least one access gateway Function Access Gateway.
Optionally, the load capacity of access gateway is that n access gateway is sent, and is stored in the client.
Step 412, client sends HTTP request to the second access gateway again according to preset state code.
Optionally, HTTP request includes at least one of client identification and server identification.
Optionally, if client is directly connected with the second access gateway, client passes through between the second access gateway Communication connection, HTTP request is sent to the second access gateway by this;Alternatively, if client passes through dns server and second Access gateway is connected, then HTTP request is sent to the second access gateway by dns server by this by client.
Step 413, the second access gateway receives HTTP request.
Wherein, the second access gateway is an access gateway in n access gateway.
Step 414, the second access gateway sends HTTP request to destination server.
Optionally, HTTP request is sent directly to target according to the access information in HTTP request by the second access gateway Server.Alternatively, the second access gateway determines index mark according to the client identification in HTTP request;Existed according to index mark Destination server is determined in concordance list;HTTP is sent to destination server.
Step 415, destination server receives HTTP request.
Step 416, destination server sends HTTP request requested resource to client by access gateway.
Wherein, when the first access gateway and destination server foundation have communication connection, access gateway is the first access net It closes;Alternatively, access gateway is the second access gateway when the first access gateway does not have communication connection with destination server foundation.
Step 417, client receives the resource from destination server of access gateway feedback.
In conclusion determining target according to the client identification in the HTTP request by when receiving HTTP request Server;And when having communication connection with destination server creation, HTTP request is sent to destination server, is taken by target Business device responds the HTTP request;It can be to avoid the service of the server that client accesses and the resource for storing the client The problem of device is inconsistent, and client request resource is caused to fail;Since access network equipment can be determined according to client identification It is stored with the destination server of corresponding resource, therefore, corresponding resource can be accessed in client by HTTP request, thus The success rate of client request resource can be improved.
In addition, by the way that client is directly connected with access gateway, and it is not provided with load balancer, it is possible to reduce request passes Transmission assembly needed for defeated system reduces the complexity of request Transmission system.
In addition, by the way that client identification is converted into index mark, due to the corresponding same index mark of multiple client mark Know, and the index relative between access gateway storage index mark and server identification, without storing all clients mark Index relative between server identification, therefore, it is possible to reduce the data volume of the concordance list of access gateway storage, to save The storage resource of access gateway.
In addition, by when the first access gateway and destination server do not set up communication connection, the first access gateway is to visitor Family end sends failure response, and the server identification of destination server is carried in the failure response;So that client is sent again When HTTP request, directly the HTTP request can be distributed to the second access gateway being connected with destination server, it is ensured that Client successful access is to destination server.
Optionally, it is based on above-mentioned each embodiment, after client gets the server identification of destination server, than Such as: after receiving success response or failure response, if desired sending other HTTP requests, then obtain destination server Server identification;The third access gateway for receiving other HTTP requests is determined according to server identification;Net is accessed to third It closes and sends other HTTP requests.
Optionally, third access gateway executes step 408 after receiving other HTTP requests.
The present embodiment by HTTP request carry destination server server identification, and the destination server be visitor The server that family end history accessed, therefore, client from the server can successful access to corresponding resource probability It is higher;This allow for client can according to the server identification of destination server, directly by HTTP request distribute to target Client access target clothes can be improved without executing the process of feeding back unsuccessful response in the second connected access gateway of server The efficiency of business device.
Optionally, with reference to Fig. 6, if establishing between the first access gateway and the second access gateway has communication connection, conduct The alternative steps of step 409 to 412, request transmission method provided by the present application further includes following steps:
Step 601, the first access gateway is built when not having communication connection with destination server foundation to destination server Vertical the second access gateway for having communication connection sends HTTP request.
Wherein, the second access gateway is an access gateway in n access gateway, and the second access gateway connects with first Function Access Gateway foundation has communication connection.
Optionally, the first access gateway can also send success response to client, which includes destination service The server identification of device.Schematically, success response is sent based on http protocol, and server identification is to preset in HTTP header The value of function.
The present embodiment by the first access gateway and the second access gateway foundation have communication connection when, the first access gateway HTTP request is directly forwarded to the second access gateway, so that the first access gateway is unsuccessfully rung without transmitting between client It answers, and client can save transfer resource without retransmitting HTTP request.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Referring to FIG. 7, the structural block diagram of the request transmitting device provided it illustrates the application one embodiment, this is asked Ask transmitting device being implemented in combination with as some or all of of access gateway by software, hardware or both.The access Gateway is connected with client, and the access gateway is connected at least one server;The apparatus may include: receiving unit 710, Determination unit 720 and transmission unit 730.
Receiving unit 710, the HTTP request sent for receiving the client, the HTTP request carry the visitor The client identification at family end;
Determination unit 720, for determining destination server according to the client identification, the destination server is for depositing Store up the corresponding resource of the client identification;
Transmission unit 730, for when having communication connection with destination server foundation, the HTTP request to be sent To the destination server.
Optionally, the determination unit 720, is used for:
Index mark is determined according to the client identification;
The destination server is determined in concordance list according to index mark;The concordance list includes the index mark Know the index relative between the destination server.
Optionally, the transmission unit 730, is also used to:
Current load capacity is sent to the client, the load capacity is used to determine described in reception for the client The access network equipment of HTTP request.
Optionally, the transmission unit 730, is also used to:
When not having communication connection with destination server foundation, Xiang Suoshu client sends failure response;
Wherein, the failure response includes the server identification of preset state code and the destination server, described default Status code is used to indicate the access gateway and is not available, and the server identification is established for determining with the destination server There is the access gateway of communication connection.
The step of related description in above method embodiment by access gateway referring to being executed.
Referring to FIG. 8, the structural block diagram of the request transmitting device provided it illustrates the application one embodiment, this is asked Ask transmitting device being implemented in combination with as some or all of of client by software, hardware or both.Client and n A access gateway is connected, and n access gateway is also connected with m server, and n and m are positive integer, the apparatus may include: it generates Unit 810, determination unit 820, transmission unit 830 and receiving unit 840.
Generation unit 810, for generating HTTP request, the HTTP request carries the client The client identification at end;
Determination unit 820, for determining the first access gateway for receiving the HTTP request in the n access gateway, The client identification is used to determine the destination server in the m server, the target for first access gateway Server is for storing the corresponding resource of the client identification;
Transmission unit 830, for the HTTP request to be sent to first access gateway;
Receiving unit 840, for receiving the resource from the destination server of the access gateway feedback;Its In, when first access gateway and destination server foundation have communication connection, the access gateway is described first Access gateway.
Optionally it is determined that unit 820, is also used to:
Obtain the load capacity of the n access gateway;Determine that described first connects according to the load capacity of the n access gateway Function Access Gateway.
Optionally, the receiving unit 840 is also used to not establish with the destination server in first access gateway When having communication connection, the failure response of the first access gateway feedback is received;The failure response include preset state code and The server identification of the destination server, the preset state code are used to indicate the access gateway and are not available;
The determination unit 820 is also used to be determined according to the server identification in the n access gateway and the mesh Mark server establishes the second access gateway for having communication connection;
The transmission unit 830 is also used to send institute to second access gateway again according to the preset state code State HTTP request.
The step of related description is referring in above method embodiment by client executing.
The application also provides a kind of computer-readable medium, is stored thereon with program instruction, and program instruction is held by processor The request transmission method that above-mentioned each embodiment of the method provides is realized when row.
Present invention also provides a kind of computer program products comprising instruction, when run on a computer, so that Computer executes the request transmission method that above-mentioned each embodiment of the method provides.
With reference to Fig. 9, it illustrates the structural block diagrams for the access gateway that one exemplary embodiment of the application provides.This Shen Please in access gateway may include one or more such as lower component: processor 910 and memory 920.
Processor 910 may include one or more processing core.Processor 910 utilizes various interfaces and connection Various pieces in entire access gateway, by run or execute the instruction being stored in memory 920, program, code set or Instruction set, and the data being stored in memory 920 are called, execute the various functions and processing data of access gateway.It is optional Ground, processor 910 can use Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate Array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 910 can integrating central processor (Central Processing Unit, CPU) and one or more of modem etc. combination.Wherein, the main processing operation system of CPU System and application program etc.;Modem is for handling wireless communication.It is understood that above-mentioned modem can not also It is integrated into processor 910, is realized separately through chip piece.
Optionally, above-mentioned each embodiment of the method mentions under realizing when processor 910 executes the program instruction in memory 920 The request transmission method that the access gateway of confession executes.
Memory 920 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non- transitory computer-readable storage medium).Memory 920 can be used for store instruction, program, generation Code, code set or instruction set.Memory 920 may include storing program area and storage data area, wherein storing program area can store Instruction for realizing operating system, the instruction at least one function, for realizing the finger of above-mentioned each embodiment of the method Enable etc.;Storage data area, which can be stored, uses created data etc. according to access gateway.
It should be added that the structure of terminal provided in this embodiment is only schematically, in actual implementation, to be somebody's turn to do Terminal can also include other assemblies, such as: by component, network interface etc., the present embodiment will not enumerate herein.
With reference to Figure 10, it illustrates the structural block diagrams for the terminal that one exemplary embodiment of the application provides.The application In terminal may include one or more such as lower component: processor 1010 and memory 1020.
Processor 1010 may include one or more processing core.Processor 1010 is connected using various interfaces and route The various pieces in entire terminal are connect, by running or executing the instruction being stored in memory 1020, program, code set or refer to Collection is enabled, and calls the data being stored in memory 1020, executes the various functions and processing data of terminal.Optionally, locate Reason device 1010 can use Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 1010 can integrating central processor (Central Processing Unit, CPU) and one or more of modem etc. combination.Wherein, the main processing operation system of CPU System and application program etc.;Modem is for handling wireless communication.It is understood that above-mentioned modem can not also It is integrated into processor 1010, is realized separately through chip piece.
Optionally, above-mentioned each embodiment of the method under being realized when processor 1010 executes the program instruction in memory 1020 The request transmission method of the client executing of offer.
Memory 1020 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non- transitory computer-readable storage medium).Memory 1020 can be used for store instruction, program, generation Code, code set or instruction set.Memory 1020 may include storing program area and storage data area, wherein storing program area can deposit Store up the instruction for realizing operating system, the instruction at least one function, for realizing above-mentioned each embodiment of the method Instruction etc.;Storage data area, which can be stored, uses created data etc. according to terminal.
It should be added that the structure of terminal provided in this embodiment is only schematically, in actual implementation, to be somebody's turn to do Terminal can also include other assemblies, such as: by component, display component, sensor module etc., the present embodiment is not another herein One enumerates.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (12)

1. a kind of request Transmission system, which is characterized in that the system comprises: client, n access gateway and m server, The client is connected by the n access gateway with the m server, and the n and the m are positive integer;
The client, for generating HTTP request;It determines in the n access gateway for receiving institute State the first access gateway of HTTP request;And the HTTP request is sent to first access gateway, the HTTP request Carry the client identification of the client;
First access gateway, the HTTP request sent for receiving the client;According to the client identification Determine the destination server in the m server;And have in the foundation of first access gateway and the destination server logical When letter connection, the HTTP request is sent to the destination server, the destination server is for storing the client Identify corresponding resource;
The destination server is responded for receiving the HTTP request, and to the HTTP request;
Wherein, first access gateway, for not with the destination server foundation have communication connection when, Xiang Suoshu client End sends failure response, and the failure response includes the server identification of preset state code and the destination server, described pre- If status code is used to indicate first access gateway and is not available;
The client, for receiving the failure response;According to the server identification determine in the n access gateway with The destination server establishes the second access gateway for having communication connection;And according to the preset state code again to described second Access gateway sends the HTTP request;
Second access gateway, for receiving the HTTP request;And the HTTP request is sent to the destination server.
2. system according to claim 1, which is characterized in that first access gateway is used for:
After receiving the HTTP request, index mark is determined according to the client identification;
The destination server is determined in concordance list according to index mark;The concordance list include index mark with Index relative between the destination server.
3. system according to claim 1, which is characterized in that
The access gateway, for sending current load capacity to the client;
The client, for receiving the load capacity of the n access gateway;Load capacity according to the n access gateway is true Fixed first access gateway.
4. a kind of request transmission method, which is characterized in that it is used in access gateway, the access gateway is connected with client, and The access gateway is also connected at least one server;The described method includes:
The HTTP request that the client is sent is received, the HTTP request carries the client Client identification;
Determine that destination server, the destination server are corresponding for storing the client identification according to the client identification Resource;
When not having communication connection with destination server foundation, Xiang Suoshu client sends failure response;
Wherein, the failure response includes the server identification of preset state code and the destination server, the preset state Code is used to indicate the access gateway and is not available, and the server identification is used to receive the failure response in the client Afterwards, determining that the second access gateway for having communication connection is established with the destination server, and make the client according to Preset state code sends the HTTP request to second access gateway again;
When having communication connection with destination server foundation, the HTTP request is sent to the destination server.
5. according to the method described in claim 4, it is characterized in that, the Hyper text transfer association for receiving the client and sending Before view HTTP request, further includes:
Current load capacity is sent to the client, the load capacity is used to determine that receiving the HTTP asks for the client The access gateway asked.
6. a kind of request transmission method, which is characterized in that in client, the client to be connected with n access gateway, institute It states n access gateway to be also connected with m server, the n and the m are positive integer;The described method includes:
HTTP request is generated, the HTTP request carries the client identification of the client;
Determine the first access gateway that the HTTP request is received in the n access gateway, the client identification is for supplying First access gateway determines the destination server in the m server, and the destination server is for storing the visitor Family end identifies corresponding resource;
The HTTP request is sent to first access gateway;
When first access gateway does not have communication connection with destination server foundation, first access gateway is received The failure response of feedback;The failure response includes the server identification of preset state code and the destination server, described pre- If status code is used to indicate first access gateway and is not available;
Determine to establish have the of communication connection according to the server identification with the destination server in the n access gateway Two access gatewaies;
The HTTP request is sent to second access gateway again according to the preset state code;
Wherein, when first access gateway and destination server foundation have communication connection, first access is received The resource from the destination server of gateway feedback.
7. according to the method described in claim 6, being asked it is characterized in that, determining and receiving the HTTP in the n access gateway The first access gateway asked, comprising:
Obtain the load capacity of the n access gateway;The first access net is determined according to the load capacity of the n access gateway It closes.
8. a kind of request transmitting device, which is characterized in that it is used in access gateway, the access gateway is connected with client, and The access gateway is also connected at least one server;Described device includes:
Receiving unit, the HTTP request sent for receiving the client, the HTTP request carry There is the client identification of the client;
Determination unit, for determining that destination server, the destination server are described for storing according to the client identification The corresponding resource of client identification;
Transmission unit, for when not having communication connection with destination server foundation, the transmission of Xiang Suoshu client unsuccessfully to be rung It answers;When having communication connection with destination server foundation, the HTTP request is sent to the destination server;Its In, the failure response includes the server identification of preset state code and the destination server, and the preset state code is used for Indicate that the access gateway is not available, the server identification is used for after the client receives the failure response, really It is fixed that the second access gateway for having communication connection is established with the destination server, and make the client according to the default shape State code sends the HTTP request to second access gateway again.
9. a kind of request transmitting device, which is characterized in that in client, the client to be connected with n access gateway, institute It states n access gateway to be also connected with m server, the n and the m are positive integer;Described device includes:
Generation unit, for generating HTTP request, the HTTP request carries the visitor of the client Family end mark;
Determination unit, for determining the first access gateway for receiving the HTTP request in the n access gateway, the client End mark is for determining that the destination server in the m server, the destination server are used for first access gateway In the corresponding resource of the storage client identification;
Transmission unit, for the HTTP request to be sent to first access gateway;
Receiving unit, for receiving institute when first access gateway does not have communication connection with destination server foundation State the failure response of the first access gateway feedback;The failure response includes the service of preset state code and the destination server Device mark, the preset state code are used to indicate first access gateway and are not available;
The determination unit, for according to the server identification determine in the n access gateway with the destination server Establish the second access gateway for having communication connection;
The transmission unit is asked for sending the HTTP to second access gateway again according to the preset state code It asks;
The receiving unit, for receiving when first access gateway and destination server foundation have communication connection The resource from the destination server of the first access gateway feedback.
10. a kind of access gateway, which is characterized in that the access gateway includes processor, the storage that is connected with the processor Device, and the program instruction being stored on the memory, the processor are realized when executing described program instruction as right is wanted Request transmission method described in asking 4 or 5.
11. a kind of terminal, which is characterized in that the terminal includes processor, the memory that is connected with the processor, Yi Jicun The program instruction on the memory is stored up, the processor is realized when executing described program instruction as claim 6 or 7 is any The request transmission method.
12. a kind of computer readable storage medium, which is characterized in that be stored thereon with program instruction, described program instruction is located It manages and realizes request transmission method as described in claim 4 or 5 when device executes;Alternatively, realizing such as any institute of claim 6 or 7 The request transmission method stated.
CN201711488524.XA 2017-12-29 2017-12-29 Request Transmission system, method, apparatus and storage medium Active CN108200165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711488524.XA CN108200165B (en) 2017-12-29 2017-12-29 Request Transmission system, method, apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711488524.XA CN108200165B (en) 2017-12-29 2017-12-29 Request Transmission system, method, apparatus and storage medium

Publications (2)

Publication Number Publication Date
CN108200165A CN108200165A (en) 2018-06-22
CN108200165B true CN108200165B (en) 2019-07-02

Family

ID=62587222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711488524.XA Active CN108200165B (en) 2017-12-29 2017-12-29 Request Transmission system, method, apparatus and storage medium

Country Status (1)

Country Link
CN (1) CN108200165B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111082953B (en) * 2018-10-19 2022-11-22 华为技术有限公司 Configuration method, device and related equipment
CN110691042A (en) * 2019-10-23 2020-01-14 上海艾融软件股份有限公司 Resource allocation method and device
CN111756789A (en) * 2019-12-30 2020-10-09 广州极飞科技有限公司 Request information distribution method and device, storage medium and electronic equipment
CN113452728A (en) * 2020-03-24 2021-09-28 阿里巴巴集团控股有限公司 Request message processing method and device
CN111556177B (en) * 2020-04-22 2021-04-06 腾讯科技(深圳)有限公司 Network switching method, device, equipment and storage medium
CN111787099B (en) * 2020-06-30 2023-07-28 北京金山安全软件有限公司 Multi-user application data database separation method, device, electronic equipment and storage medium
CN112565337B (en) * 2020-11-06 2022-09-30 北京奇艺世纪科技有限公司 Request transmission method, server, client, system and electronic equipment
CN114760360B (en) * 2020-12-29 2023-12-22 奇安信网神信息技术(北京)股份有限公司 Request response method, request response device, electronic equipment and computer readable storage medium
CN112910901B (en) * 2021-02-04 2023-09-12 百果园技术(新加坡)有限公司 Device selection method, device and storage medium
TWI763449B (en) * 2021-04-21 2022-05-01 中華電信股份有限公司 Method for accessing private network service and service gateway equipment
CN114040005A (en) * 2021-10-18 2022-02-11 中国联合网络通信集团有限公司 Data transmission method, device and storage medium
CN114006892A (en) * 2021-10-28 2022-02-01 北京达佳互联信息技术有限公司 Request processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570074A (en) * 2016-10-14 2017-04-19 深圳前海微众银行股份有限公司 Distributed database system and implementation method thereof
CN107231402A (en) * 2016-08-31 2017-10-03 北京新媒传信科技有限公司 HTTP request processing method, apparatus and system
CN107426341A (en) * 2017-09-13 2017-12-01 北京智芯微电子科技有限公司 The system and method that APP interacts with service end

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002007238A (en) * 2000-06-21 2002-01-11 Nec Corp Mobile communication system and its gateway selecting method
US8924527B2 (en) * 2009-03-04 2014-12-30 Cisco Technology, Inc. Provisioning available network resources

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231402A (en) * 2016-08-31 2017-10-03 北京新媒传信科技有限公司 HTTP request processing method, apparatus and system
CN106570074A (en) * 2016-10-14 2017-04-19 深圳前海微众银行股份有限公司 Distributed database system and implementation method thereof
CN107426341A (en) * 2017-09-13 2017-12-01 北京智芯微电子科技有限公司 The system and method that APP interacts with service end

Also Published As

Publication number Publication date
CN108200165A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN108200165B (en) Request Transmission system, method, apparatus and storage medium
CN107948324B (en) Request Transmission system, method, apparatus and storage medium
CN108200158B (en) Request Transmission system, method, apparatus and storage medium
Glaroudis et al. Survey, comparison and research challenges of IoT application protocols for smart farming
CN104580192B (en) The treating method and apparatus of the network access request of application program
US10498831B2 (en) Communication sessions at a CoAP protocol layer
CN109922053A (en) Data transmission method, device, electronic equipment and readable storage medium storing program for executing
JP3777302B2 (en) Communication distribution control device and storage medium storing communication distribution program
EP3576379A1 (en) Service layer interworking using mqtt protocol
CN108156038B (en) Request distribution method, device, access gateway and storage medium
RU2498520C2 (en) Method of providing peer-to-peer communication on web page
US20170054640A1 (en) Device and method for establishing connection in load-balancing system
CN107231402A (en) HTTP request processing method, apparatus and system
CN102469124B (en) Based on the implementation method of the mobile Internet business of AOG, gateway, agency and system
US7746824B2 (en) Method and apparatus for establishing multiple bandwidth-limited connections for a communication device
EP3750350B1 (en) Unique service identifier for a message proxy in a service based architecture
CN113572835B (en) Data processing method, network element equipment and readable storage medium
CN108156210A (en) The acquisition methods and device of target resource
CN109639782A (en) Message sends platform, method
CN107463453A (en) Method, apparatus, equipment and the storage medium to be communicated between same terminal different application
EP4246936A1 (en) Data processing method, function device and readable storage medium
CN107465666A (en) A kind of client ip acquisition methods and device
Cirani et al. mjCoAP: An open-source lightweight Java CoAP library for Internet of Things applications
CN112165449B (en) Control method of real-time authority of web application, electronic device and storage medium
CN1631018B (en) Method and apparatus to retrieve information in a network

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
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant