Method and system for web application service

A service method and service system technology, applied in transmission systems, electrical components, etc., can solve problems such as increased system overhead, unavailable applications, and inability to guarantee dynamic real-time responses, achieving fast and accurate returns with low additional overhead

Active Publication Date: 2016-08-31
重庆天极云服科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] If you use an asynchronous loading mechanism implemented by technologies such as IFrame, although the entire application can be prevented from being unavailable to some extent, it still cannot avoid problems in the background that affect the appearance and response speed of the front-end.
At the same time, each asynchronously loaded module needs to start a new HTTP main thread, which will occupy the limited number of connections of the web application server, and the system overhead will also increase exponentially, making it difficult to cope with the massive Internet access
[0007] To sum up, the existing technology has the problem of being unable to guarantee a dynamic real-time response in the face of massive access, thus losing the service experience

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 web application service
  • Method and system for web application service
  • Method and system for web application service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] figure 1 A flow chart of one embodiment of the method of the present invention is shown, the method comprising the steps of:

[0020] A) After receiving the request from the client, create a main thread;

[0021] Generally, web services are performed through a browser, so the request is an HTTP request, and the main thread established is an HTTP thread.

[0022] B) In the main thread, generate a copy of said request;

[0023] Preferably, analyze the number of business modules involved in the request, and then generate copies equal to the number of business modules involved. That is, how many business modules are involved in the request, and how many copies are generated. The business module is pre-defined and set according to the specific service business.

[0024] More preferably, the business modules are independent of each other, that is to say, the Web service is divided into independent business modules according to the interaction of functions and data. The m...

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 system of Web application service. The method of the Web application service comprises steps: a main thread is built after a request of a client terminal is received; a copy of the request is generated in the main process; the copy is distributed to a related service module and overtime response time is set in the main process the related service module executes the service of the request; an execution result of the service module is waited in the overtime response time in the main process; according to the execution result and the overtime situation, response is sent to the client terminal in the main process; the main process is stopped. The invention further provides a system of the Web application service, the system of the Web application service comprises a service end controller and at least one service module, and the service end controller generates the copy of the request; the copy is distributed to the related service module and the overtime response time is set; the execution result of the related service module is waited in the overtime response time; according to the execution result and the overtime situation, the response is sent to the client terminal. According to the method and system of the Web applications service, even if a serious problem occurs in a certain service module, as long as the main process service is independent and healthy, the timeliness, the effectiveness and the availability of the service can be ensured and controlled.

Description

technical field [0001] The invention belongs to the field of Web applications, and relates to a Web application service method and system. Background technique [0002] As the status of network information technology in human life becomes more and more important, the amount of information carried by Internet sites is also increasing, especially the website portal pages as the main entrance of information are subject to a large number of visits, and need to quickly display visits As a result, it is even more unbearable to lose the service. Once the portal page cannot be accessed, even if there are no problems with other pages, the user will lose the experience of the entire website because there is no entry. Further, for dynamic portal pages that need to display real-time data from different business modules and different data sources, users cannot bear the delay of static pages due to their demand for immediacy of background data, so the pressure on the portal is even greate...

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 Patents(China)
IPC IPC(8): H04L29/08
Inventor 胡奇
Owner 重庆天极云服科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products