Data request processing method and device

A data request processing and data request technology, applied in the network field, can solve the problem that the focused data request cannot be processed in time, and achieve the effect of smooth reading

Active Publication Date: 2018-09-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 0 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 completed, and then the online browsing or preloading, etc. Focus on data requests for processing. Since the network resources at this time are mainly used for offline downloads, current online browsing or preloading and other focused data requests cannot be processed in a timely manner.

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
  • Data request processing method and device
  • Data request processing method and device
  • Data request processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] This embodiment provides a data request processing method, see figure 1 , the method flow provided by this embodiment includes:

[0029] Step 101: Obtain the currently received data request, and determine the request type of the currently received data request; wherein, the request type is an offline data request or a focused data request, and the priority of the offline data request is lower than that 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 corresponding relationship between request type ...

Embodiment 2

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

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

[0047] Specifically, the request type includes, but is not limited to, an offline data request or a focused data request. In order to better process the data request so that the user can smoothly read the currently focused content, the method provided in this embodiment presets the corr...

Embodiment 3

[0075] An 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 or second embodiment above, see image 3 , the device consists of:

[0076] An acquisition module 31, configured to acquire a currently received data request;

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

[0078] The second determination 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] Wherein, the request type is an offline data request or a focused data request, and the priority ...

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 invention relates to the field of network technology, in particular to a data request processing method and device. Background technique [0002] With the rapid development of network technology, it has become a popular trend for users to read through reading software installed on terminals. The terminal not only supports offline downloading of content that users want to read, but also supports focused 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 is the content that the user is currently focusing on. When the user triggers the corresponding operation, the corresponding data request will be generated, and the generated data request will be 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 operation, ...

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): 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