Unlock instant, AI-driven research and patent intelligence for your innovation.

Data packet transmission method and device

A transmission method and data packet technology, applied in the field of data packet transmission method and device, can solve problems such as private data leakage, achieve the effect of improving security and increasing the difficulty of fraudulently obtaining data

Active Publication Date: 2015-02-04
北京财视科技有限公司
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

, and then the server can return the corresponding response data to the illegal user, so that the illegal user can obtain this part of the data, resulting in the leakage of private data

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] see figure 1 as shown, figure 1 It is a flow chart of a data packet transmission method provided in this embodiment. Among them, when the client accesses the server-side data, it needs to establish a long connection. After the long connection is established, this embodiment needs to do the following steps:

[0056] Step 101, determine the current data packet to be sent;

[0057] Step 102, inserting a first verification code into the data packet, the first verification code can be provided by the server, wherein, each time the server receives a legitimate data packet, it generates a random character string and returns it to the client , so that when the client needs to send a data packet to the server again in the same long connection, the random character string received from the server after sending the last data packet is inserted into the current data packet as the first verification code;

[0058] Step 103, sending the data packet carrying the first verification ...

Embodiment 2

[0073] Because in the specific implementation process of the first embodiment, the server needs to have a corresponding program to be able to perform data communication with the client. Such as figure 2 as shown, figure 2 A flow chart of another data packet transmission method provided by this embodiment is shown. After the client establishes a long connection with the server, the server needs to perform the following steps:

[0074] Step 201, receiving the data packet currently sent by the client, the data packet includes a first verification code; wherein, the first verification code is generated and returned to the server after receiving the previous data packet in the same long connection Client's random string;

[0075] Step 202, determine the process where the long connection established for the client is located, and take out the verification reference information from the process; the verification reference information is generated and saved after receiving the la...

Embodiment 3

[0096] Corresponding to the data packet transmission method provided in Embodiment 1, this embodiment of the present invention also provides a data packet transmission device, see image 3 , the device can include:

[0097] The data packet to be sent determining unit 301 is used to determine the current data packet to be sent after establishing a long connection with the server;

[0098] The first verification code inserting unit 302 is configured to insert a first verification code into the data packet, wherein the first verification code is provided by the server, and the server generates random characters each time it receives a legitimate data packet string, and return it to the client, so that when the client needs to send a data packet to the server again in the same long connection, it will insert the random string received from the server after sending the last data packet as the first verification code the current data packet;

[0099] A data packet sending unit 303...

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 embodiment of the invention discloses a data packet transmission method and device. The data packet transmission method comprises the following steps: after establishing the long connection with a server end, determining a current to-be-sent data packet; inserting a first verification code into the data packet, wherein the first verification code is provided by the server end, the server end generates a random character string after a valid data packet is received by the server end in each time and returns the random character string to a client, and then the client can conveniently take the random character string, received from the server end after the last data packet is sent, as the first verification code and insert the random character string into the current data packet when the data packet needs to be sent to the server end again in the same long connection; sending the data packet carrying the first verification code to the server end so as to enable the server end to verify the first verification code carried by the data packet by virtue of the last-time first verification code generated in the same long connection, and returning response after the verification is validated. According to the data packet transmission method and device, the safety of network data communication is improved.

Description

technical field [0001] The invention relates to the technical field of network data communication, in particular to a data packet transmission method and device. Background technique [0002] With the continuous development of information technology, network data communication is becoming more and more convenient, and people are increasingly relying on network communication in their lives, and various websites are also emerging. Some of the data provided by the web servers are public data, that is, all users can access them, such as some portal websites. In addition, some web servers provide users with the function of saving private data, such as social networking sites, recruitment sites, and so on. Because this kind of data is private, it generally does not need and should not be known by other users. Therefore, the server can open up private data storage areas for different users, store the private data of each user independently, and only allow users to access . [00...

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): H04L29/06
CPCH04L63/06H04L63/0838
Inventor 沈文策
Owner 北京财视科技有限公司