Supercharge Your Innovation With Domain-Expert AI Agents!

A data request processing method and device

A technology of data request and processing method, applied in the computer field, can solve the problem of waste of server resources, and achieve the effect of saving operation cost and maintenance cost

Inactive Publication Date: 2017-09-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a data request processing method and device to at least solve the problem in the related art that because each game partition is assigned a separate server, the resources of some servers will be wasted when the load of the game partition is unbalanced. technical issues

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] According to an embodiment of the present invention, an embodiment of a data request processing method is provided.

[0027] Optionally, in this embodiment, the above data request processing method can be applied to such as figure 1 In the hardware environment constituted by the server 102 and the terminal 104 as shown. like figure 1 As shown, the server 102 is connected to the terminal 104 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The data request processing method in this embodiment of the present invention may be executed by the server 102, may also be executed by the terminal 104, and may also be executed jointly by the server 102 and the terminal 104. Wherein, the data request processing method performed by the terminal 104 in the embodiment of the present invention ma...

Embodiment 2

[0092] According to an embodiment of the present invention, a data request processing device for implementing the above data request processing method is also provided. Image 6 is a schematic diagram of an optional data request processing device according to an embodiment of the present invention, such as Image 6 As shown, the device may include: a first allocating unit 61, configured to allocate multiple threads; a second allocating unit 63, configured to allocate at least one partition to each thread in the multiple threads, wherein at least one of the partitions Each partition is used to receive a predetermined number of data requests; the processing unit 65 is configured to use multiple threads to process the data requests received in at least one partition corresponding to each thread.

[0093] It should be noted that the first allocation unit 61 in this embodiment can be used to execute step S202 in Embodiment 1 of the present application, and the processing unit 63 in...

Embodiment 3

[0103] According to an embodiment of the present invention, a terminal for implementing the above data request processing method is also provided.

[0104] Figure 12 is a structural block diagram of a terminal according to an embodiment of the present invention, such as Figure 12 As shown, the terminal may include: one or more (only one is shown in the figure) processor 201, memory 203, and transmission device 205, such as Figure 12 As shown, the terminal may also include an input and output device 207 .

[0105] Among them, the memory 203 can be used to store software programs and modules, such as program instructions / modules corresponding to the data request processing method and device in the embodiment of the present invention, and the processor 201 runs the software programs and modules stored in the memory 203, thereby Execute various functional applications and data processing, that is, realize the above-mentioned data request processing method. The memory 203 may...

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 provides a data request processing method and device. The method comprises the steps of distributing a plurality of threads; distributing at least one partition for each thread in the threads, wherein each partition in the at least one partition is used for receiving a preset number of data requests; through the multiple threads, processing data requests received in the at least one partition corresponding to each thread. The method and the device solve the problem in the prior art that sine a single server is distributed to each game partition, resources of some servers are wasted under the condition of unbalanced loads of the game partitions.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a data request processing method and device. Background technique [0002] Due to the particularity of the game server, many games need to open many partitions (such as QQ area 1, QQ area 2), and each area needs to correspond to at least one virtual machine, container, or physical machine server. Since the number of people in each district is different and the load is different, it is a serious waste of the computing power of the server. For internationalized mobile games, the number of people in many countries and regions is small, and many partitions are opened, which will cause a serious waste of servers. [0003] Considering the cost of the rack, the prior art usually does not adopt the solution of reducing the configuration of each physical server to increase the number of server physical machines, but reduces the configuration of virtual machines to more fully utilize serv...

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): G06F9/50G06F9/455
CPCG06F9/45558G06F9/505G06F9/5083G06F2009/4557G06F2209/5018
Inventor 吴双
Owner TENCENT TECH (SHENZHEN) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More