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

Method and system for processing network service request

A processing method and network service technology, applied in the processing method and system field of network service requests, can solve the problems of reduced concurrent processing capabilities, cumbersome development, and reduced efficiency, and achieve the effect of simplifying operations and shielding tedious tasks

Inactive Publication Date: 2012-08-01
亿赞普(北京)科技有限公司
View PDF5 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The inventors of the present invention found that, in such as figure 1 and figure 2 In the communication process shown, since the business request sent by the browser to the server is in the form of key=value, too many underlying details are exposed and the communication process is too complicated
[0012] In addition, the above process is not object-oriented transmission, resulting in a lot of repetitive work when parsing requests, and the development is also cumbersome
More specifically, in the above process, before the browser sends the request, because the parameter object supported by the background server is generally inconsistent with the object supported by the client, the object parameter (for example, javascript object) needs to be parsed as key=value formal parameters, and on the background server side, key=value formal parameters need to be reassembled into objects (such as java objects). Therefore, when the logical relationship before the parameters is very complicated, the parsing work will be very cumbersome, thereby reducing efficiency
[0013] In addition, in previous javaWeb projects, static resources (js, css, image, etc.) and dynamic resources (java programs, etc.) Decreased volume and reduced concurrent processing capacity

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
  • Method and system for processing network service request
  • Method and system for processing network service request
  • Method and system for processing network service request

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0038] image 3 It is a schematic flowchart of a method for processing a service request in an embodiment of the present invention. like image 3 As shown, the service request processing method in the embodiment of the present invention mainly includes the following steps.

[0039] Step S31, the client (i.e. the SendRequest node) utilizes network access software such as a browser or network access software such as a smart phone device Serialize the object of the request to be sent to the background server, and then send a request including the serialized request string (referred to as string) to the background server, that is, send the request string that will be serialized to the background server Get the request string as a request parameter. For example, as an example of serializing the requested object, you can serialize the json object requested by Javascript to obtain a json string; you can also serialize the requested object in other transmission formats, such as XM...

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 discloses a method and a system for processing a network service request. The method comprises the following steps that: a client serializes an object of a request to be transmitted to a background server, and transmits a request taking a request character string obtained by the serialization as a parameter to the background server; the background server receives the request from the client, and de-serializes the request character string in the received request to obtain a corresponding object; the background server acquires an object to be fed back on the basis of the corresponding object, and serializes the object to be fed back to obtain a feedback character string; and the client receives the feedback character string, and de-serializes the feedback character string to obtain corresponding object information. By the method, the operation of the client and / or the background server is simplified.

Description

technical field [0001] The invention relates to browser / server (B / S) interaction technology, in particular to a method and system for processing network service requests. Background technique [0002] figure 1 It is a schematic diagram of the communication process between the typical client and the background server at present. figure 2 With figure 1 The corresponding layered schematic block diagram. [0003] like figure 1 and figure 2 As shown, the current communication between the browser of the client and the background server mainly includes the following steps: [0004] In step S11, the browser parses the javascript object parameter into a parameter string in the form of key=value, and sends a request to the background server. Obviously, in order to obtain the analysis result, it is necessary to extract the variable name and expected value in the javascript object, which is a relatively cumbersome work. [0005] Step S12, the background server judges and distri...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L1/16
Inventor 张大千罗峰黄苏支李娜
Owner 亿赞普(北京)科技有限公司
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