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

Data upload method and device

A data upload and quantity technology, applied in the computer field, can solve the problems of incomplete data upload, incomplete content of cookies, loss, etc., and achieve the effect of avoiding incomplete data upload.

Active Publication Date: 2019-06-21
深圳市和唐汇智科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, it is found that the prior art has at least the following problems: Since the actual length of the Cookies may exceed the maximum length of Cookies allowed by the browser when obtaining the Cookies corresponding to the domain name under the browser, when the Cookies are too long Exceeding Cookies content will be forcibly deleted, resulting in incomplete Cookies content or complete loss of Cookies during the upload process, resulting in incomplete data upload

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0021] When uploading data to the server, in order to verify the identity of the user, cookies can usually be sent to the server together with the target file. Wherein, the target file may be a video file or an audio file, and this embodiment and subsequent embodiments do not specifically limit the type of the target file. The existing data upload method mainly directly uploads the obtained cookies and files to the server by directly obtaining the cookies corresponding to the domain name under the browser.

[0022] When uploading data, the actual length of Cookies may exceed the maximum length of Cookies allowed by the browser. Therefore, when obtaining local Cookies, the...

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 uploading method and device, which belongs to the field of computer technology. The method includes: for any domain name under any browser, obtain the cookies corresponding to any domain name locally; determine the length of Cookies corresponding to the obtained Cookies; obtain the complete Cookies corresponding to any domain name based on the Cookies length; Cookies and target files are uploaded to the server. This invention determines the length of Cookies corresponding to the obtained Cookies by locally obtaining Cookies corresponding to any domain name. According to the cookie length, obtain the complete cookies corresponding to any domain name. Filter the target files and upload complete cookies and target files to the server. Since the complete cookies corresponding to any domain name can be obtained based on the cookies obtained locally, incomplete data upload due to too long cookies is avoided. The subsequent server can perform user identity verification based on the uploaded complete cookies, so that verification will not fail due to incomplete cookies or complete loss of cookies.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, to a method and device for uploading data. Background technique [0002] Cookies are text files that are placed in the hard disk or memory of the user's computer by the web server when the user browses the website. When the user logs in to the website again, the website can take corresponding actions by reading the Cookies file in the computer and knowing the relevant information of the user, for example, displaying a welcome slogan on the page, or allowing the user to log in without entering the user name and password. Direct login and more. Since cookies have user attributes, when uploading files (such as video or audio files) to the web server, cookies can be carried at the same time to allow the web server to verify the identity of the user. Based on the above content, the existing data upload method mainly obtains the cookies corresponding to the domain nam...

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): H04L29/08H04L29/06
CPCH04L63/08H04L63/102H04L67/06H04L67/146
Inventor 潘龙
Owner 深圳市和唐汇智科技有限公司