A method and device for gray scale downgrading at the server side
A server-side, gray-scale technology, applied in the network field, can solve problems such as imminent danger threshold, server CPU usage rate surge, website cost surge, etc., to achieve the effect of reducing load and solving the problem of excessive load
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] figure 1 It is a flow chart of the steps of a method for downgrading the gray level of the server provided by the embodiment of the present invention.
[0049] refer to figure 1 As shown, the server-side gray scale downgrade method provided in this embodiment is applied to the client of the website, and the client refers to the application program through which the user can request data services from the server of the website, and can also be extended to run the above-mentioned application program. equipment. Here grayscale degradation refers to a scheme for smooth degradation between black and white. The method for downgrading the gray level of the server specifically includes the following steps:
[0050] S101: Determine whether the data returned by the server comes from a cache.
[0051] The data is returned by the server's page service layer according to the data request instruction initiated by the user through the client. The data includes a source identifier ...
Embodiment 2
[0069] Figure 4 It is a flow chart of steps of another method for downgrading the gray level of the server provided by the embodiment of the present invention.
[0070] refer to Figure 4 As shown, the server-side gray scale degradation method provided in this embodiment is applied to the server that provides data services for the client in the previous embodiment, including the page service layer. The method for downgrading the gray level of the server specifically includes the following steps:
[0071] S201: Detect the load when a client request is received.
[0072] When the data request sent by the user through the client is received, the load of the page service layer of the server is detected. The purpose of detecting the load is to determine whether the load exceeds the budgeted load threshold. If it exceeds, it indicates that the current load is relatively large, and the ability to process user requests is reduced accordingly. The preset load threshold is determin...
Embodiment 3
[0082] Figure 5 It is a structural block diagram of an apparatus for downgrading grayscale at a server provided by an embodiment of the present invention.
[0083] refer to Figure 5 As shown, the server-side grayscale degradation device provided by this embodiment is applied to the client of the website. The client refers to the application program through which the user can request data services from the server of the website, and can also be extended to run the above-mentioned application program. equipment. The device for gray level degradation at the server specifically includes a data source judgment module 10 , a first command processing module 20 and a third command processing module 30 .
[0084] The data source judging module 10 is used to judge whether the data returned by the server comes from cache.
[0085] The data is returned by the server's page service layer according to the data request instruction initiated by the user through the client. The data inclu...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com