Method and device for processing data request

A data request processing and data request technology, applied in the network field, can solve the problem of focusing data requests not being processed in a timely manner, and achieve the effect of smooth reading

Active Publication Date: 2014-09-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] According to the way of processing data requests in the existing technology, when the user triggers the offline download operation, if the online browsing or preloading and other focusing operations are immediately triggered, the offline data request processing needs to be comp

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 device for processing data request
  • Method and device for processing data request
  • Method and device for processing data request

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0027] Example one

[0028] This embodiment provides a method for processing data requests, see figure 1 , The method flow provided in this embodiment includes:

[0029] Step 101: Obtain the currently received data request, and determine the request type of the currently received data request; where the request type is an offline data request or a focused data request, and the priority of the offline data request is lower than the priority of the focused data request;

[0030] Step 102: Determine the priority of the currently received data request according to the preset correspondence between the request type and the priority and the request type of the currently received data request;

[0031] Further, before determining the priority of the currently received data request according to the preset correspondence between the request type and the priority and the request type of the currently received data request, the method further includes:

[0032] Set the correspondence between reque...

Example Embodiment

[0044] Example two

[0045] The embodiment of the present invention provides a method for processing a data request. The method for processing a data request provided in this embodiment will now be explained in detail with reference to the content of the first embodiment. See figure 2 , The method flow provided in this embodiment includes:

[0046] Step 201: Set the corresponding relationship between the request type and priority, and store the corresponding relationship between the request type and priority; where the request type is offline data request or focused data request, and the priority of offline data request is lower than that of focused data request Priority

[0047] Specifically, the request types include, but are not limited to, offline data requests or focused data requests. In order to better process the data request so that the user can read the currently focused content smoothly, the method provided in this embodiment presets the corresponding relationship betwe...

Example Embodiment

[0074] Example three

[0075] The embodiment of the present invention provides a data request processing device, which is used to execute the data request processing method provided in the first embodiment or the second embodiment, see image 3 , The device includes:

[0076] The obtaining module 31 is used to obtain the currently received data request;

[0077] The first determining module 32 is configured to determine the request type of the currently received data request;

[0078] The second determining module 33 is configured to determine the priority of the currently received data request according to the preset correspondence between the request type and the priority and the request type of the currently received data request;

[0079] The processing module 34 is configured to process the currently received data request according to the priority of the currently received data request;

[0080] Among them, the request type is an offline data request or a focused data request, and t...

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 device for processing a data request, and belongs to the technical field of networks. The method comprises the steps that the currently-received data request is acquired, and the request type of the currently-received data request is determined; the priority of the currently-received data request is determined according to a preset corresponding relation of the request type and the priority and the request type of the currently-received data request, and the currently-received data request is processed according to the priority of the currently-received data request; the request type is an off-line data request or a focusing data request, and the priority of the off-line data request is lower than that of the focusing data request. Due to the fact that the priority of the off-line data request is lower than that of the focusing data request, when the priority of the currently-received data request is determined according to the request type of the currently-received data request, and the currently-received data request is processed according to the priority of the currently-received data request, priority processing can be carried out on the focusing data request if the currently-received data request is the focusing data request, and therefore the focusing data request can be processed in time.

Description

Technical field [0001] The present invention relates to the field of network technology, in particular to a method and device for processing data requests. Background technique [0002] With the rapid development of network technology, it has become a popular trend for users to read through the reading software installed on the terminal. The terminal not only supports offline downloading of the content that the user wants to read, but also supports focusing operations such as online browsing or preloading for users when there is a network. Among them, the content corresponding to focusing operations such as online browsing and preloading are all the content that the user is currently focusing on. When a user triggers a corresponding operation, a corresponding data request is generated, and the generated data request is processed to perform the corresponding operation, thereby satisfying the user's reading needs. [0003] In the prior art, when a user triggers an offline download ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
CPCG06F16/957
Inventor 赵千千薄川川刘天扬
Owner TENCENT TECH (SHENZHEN) CO LTD
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