Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data sending method and device

A data sending method and a technology for allocating data, which are applied in the computer field and can solve problems such as high resource occupation, affecting system performance, and high system resource occupation

Active Publication Date: 2014-04-09
BEIJING QIHOO TECH CO LTD
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Now many websites will carry out promotions and other activities during certain time periods, and may set up lottery activities during the activities. In the prior art, its server fully opens the distribution authority of the prize data at the specified time during the activity. When the client user clicks on the lottery , which reaches the lottery probability, then the server will extract one of these prize data and distribute it to the client user. When the lottery time is over, it will count which prize data has been sent out and which has not been sent out. The execution process is basically similar to the aforementioned process. Therefore, for the system, each data to be allocated is equivalent to a queue, waiting for the client that meets the preliminary requirements to extract, the system resource occupation is high, which affects system performance, and the data to be allocated is arbitrarily obtained, and finally in the system statistics Which distribution data has not been sent out and which data has been sent out, it is also necessary to traverse each distribution data, high resource usage, slow speed, and low efficiency; and its prize data may be distributed in an instant, and there will be no prize data to send in the remaining time

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] refer to figure 1 , which shows a schematic flowchart of a data sending method of the present invention, which may specifically include:

[0068] Step 102, obtaining the allocation data to be allocated, and the first time node and the second time node to be allocated;

[0069] In the embodiment of the present invention, the application scenario of distributing prize data on the network platform is taken as an example for illustration, then the distribution data may be prize data, and the present invention does not limit the specific application scenario.

[0070] For example, if the network platform sets up N awards, the technicians will upload the prize data of the N awards, and then set the time period to be allocated. The time period is determined by the first time node and the second time node, such as 2013-9-3023: 59---2013-10-300:00.

[0071] Step 104, obtaining the total number N of allocated data in the allocated data, and randomly determining N different time...

Embodiment 2

[0111] refer to figure 2 , which shows a schematic flow chart of a data sending method of the present invention, which may specifically include:

[0112] Step 202, the server obtains the distribution data to be distributed, and the first time node and the second time node to be distributed;

[0113] Such as Figure 2a The present invention can set the activity time period, and then set the prize distribution time period. For example, the activity date of the special supply machine anniversary activity is set as 2013-6-19 23:55 to 2013-7-6 00:00, and the distribution date is set as 2013 -6-22 23:55 to 2013-7-4 00:00, the distribution time is set from 8:00 to 22:00.

[0114] In the embodiment of the present invention, for the distribution of prize data by the network platform, the prize data and sending time may be uploaded first. Such as Figure 2a , which is a list of prizes obtained after uploading, including 4 levels of prizes in total. Editing and deleting of prize da...

Embodiment 3

[0130] refer to image 3 , which shows a schematic structural diagram of a data sending device, including:

[0131] A data acquisition module 302, adapted to acquire the allocation data to be allocated, and the first time node and the second time node to be allocated;

[0132] The dot module 304 is adapted to obtain the total number N of the allocated data in the allocated data, and randomly determine N different time nodes i between the first time node and the second time node;

[0133] The queue storage module 306 is adapted to associate each time node i with the allocated data, and put the allocated data into the data queue in order;

[0134] The authority analysis module 308 is adapted to determine whether the client has the authority to acquire allocated data according to the data queue according to the initiation time point and time node i of the data acquisition request after receiving the data acquisition request from the client;

[0135] The data sending module 310 ...

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 data sending method and device, and relates to the field of computers. The method includes acquiring distribution data to be distributed and a first time node and a second time node which are to be distributed; acquiring a total number N of the distribution data in the distribution data, and randomly determining N different time nodes i between the first time node and the second time node; corresponding each time node i to the distribution data, and placing the distribution data into data queues in sequence; after a data acquiring request from a client terminal is received, acquiring the initiate time of the request and the time node i according to the data, and determining whether or not the client terminal has the permission to acquire the distribution data according to the data queues; if so, acquiring and sending the distribution data to the client terminal according to the data queues. The method is convenient to maintain, occupation of system resources can be reduced, data performances can be further improved, and statistical efficiency can be improved in process of distribution data statistics.

Description

technical field [0001] The invention relates to the field of computers, in particular to a data sending method and device. Background technique [0002] There is a data sending method in the prior art, that is, at a specified time point for a certain period of time, the authority of the limited data to be distributed is disclosed to the client, and the client sends a request to obtain the data to be distributed in any order. However, this method of releasing all permissions at one time and arbitrarily obtaining the data to be allocated, for the system, maintains each data to be allocated and waits for the client that meets the preliminary requirements to extract it, which takes up high system resources and affects system performance. , and the data to be allocated is arbitrarily acquired. Finally, when the system counts which allocation data has not been sent and which data has been sent, it also needs to traverse each allocation data, which takes up high resources, slow spe...

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 Applications(China)
IPC IPC(8): G06F9/44H04L29/06G06Q30/02
Inventor 季士普任寰
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products