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

Data upload method and device

A data uploading and quantity technology, applied in the computer field, can solve problems such as incomplete data uploading, incomplete content of Cookies, loss, etc., and achieve the effect of avoiding incomplete data uploading

Active Publication Date: 2017-06-13
深圳市和唐汇智科技有限公司
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 upload method and device, and belongs to the technical field of computers. The method comprises the following steps: for any domain name under any browser, acquiring Cookies corresponding to the any domain name locally; determining the Cookies length corresponding to the acquired Cookies; acquiring complete Cookies corresponding to the any domain time according to the Cookies length; and uploading the complete Cookies and a target file to a server. The data upload method provided by the invention locally acquires the Cookies corresponding to the any domain name and determines the Cookies length corresponding to the acquired Cookies; acquires the complete Cookies corresponding to the any domain name according to the Cookies length; and filters the target file, and uploads the complete Cookies and the target file to the server. Since the complete Cookies corresponding to the any domain name can be acquired according to the locally acquired Cookies, incomplete data uploading due to too long Cookies can be avoided. A subsequent server can carry out user authentication based on the uploaded complete Cookies, which does not result in authentication failures due to the incomplete Cookies or Cookies complete loss.

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