CN104184773B - A kind of data download method and system - Google Patents

A kind of data download method and system Download PDF

Info

Publication number
CN104184773B
CN104184773B CN201310198700.1A CN201310198700A CN104184773B CN 104184773 B CN104184773 B CN 104184773B CN 201310198700 A CN201310198700 A CN 201310198700A CN 104184773 B CN104184773 B CN 104184773B
Authority
CN
China
Prior art keywords
sequence number
download
database
server
downloading request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310198700.1A
Other languages
Chinese (zh)
Other versions
CN104184773A (en
Inventor
朱明程
徐元庆
孙燕
崔琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN MINGZHIYANG TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN MINGZHIYANG TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN MINGZHIYANG TECHNOLOGY Co Ltd filed Critical SHENZHEN MINGZHIYANG TECHNOLOGY Co Ltd
Priority to CN201310198700.1A priority Critical patent/CN104184773B/en
Publication of CN104184773A publication Critical patent/CN104184773A/en
Application granted granted Critical
Publication of CN104184773B publication Critical patent/CN104184773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of data download method and system, which includes: after user gets two dimensional code, and handheld terminal scans the two-dimensional code, and sends downloading request to server, and downloading request includes address, port numbers and the sequence number of server;Server judge it is received downloading request in sequence number whether store in the database, wherein database is previously stored with file corresponding to multiple sequence numbers and each sequence number, if so, execute next step;If it is not, then returning to error message to handheld terminal;Server authentication passes through, and sends return information to handheld terminal, and searches corresponding file according to the sequence number in downloading request in the database, and be sent to handheld terminal after the file found is handled;Handheld terminal receives return information and the file information from server, and plays out to the file information.Implement technical solution of the present invention, user experience is good, and at low cost.

Description

A kind of data download method and system
Technical field
The present invention relates to field of data transmission, more particularly, to a kind of data download method and system.
Background technique
Tourist visit a museum, show room, the scenic spots and historical sites etc. whens, especially there is dense history culture background in viewing Showpiece when, generally require to obtain the relevant background knowledge of showpiece.However, at present tourist understand relevant knowledge mode have it is following It is several: 1. explanation by conducting a sightseeing tour, but sometimes, tour guide is not very detailed to the explanation of some knowledge, and tourist also needs It is critical with tour guide, otherwise may miss related explanation, therefore user experience is poor;(2) pass through the speech guide system in exhibition section Understand relevant knowledge, still, this mode require for each tourist configure a guiding terminal, and need personal management these Terminal considerably increases the cost of scenic spot management.
Summary of the invention
The technical problem to be solved in the present invention is that above-mentioned poor user experience, defect at high cost for the prior art, A kind of data download method and system that user experience is good, at low cost is provided.
The technical solution adopted by the present invention to solve the technical problems is: constructing a kind of data download method, comprising:
A. after user gets two dimensional code, handheld terminal scans the two dimensional code, and sends downloading request to server, The downloading request includes sequence number with uniqueness in the two dimensional code;
B. server judge it is received downloading request in sequence number whether store in the database, wherein database It is previously stored with file corresponding to multiple sequence numbers and each sequence number, if so, executing next step;If it is not, then to Handheld terminal returns to error message;
C. server authentication passes through, and sends return information to handheld terminal, and request in the database according to the downloading In sequence number search corresponding file, and be sent to handheld terminal after the file found is handled;
D. handheld terminal receives and processes return information and the file information from server, and to the file information into Row plays.
In data download method of the present invention, database, which is also stored with, uses shape corresponding to each sequence number State, the use state are to be not used or used, and initial use state is unused;
Between the step B and the step C further include:
E. use state corresponding to each sequence number stored in server based on data library judges the downloading request In the use state of sequence number be to be not used or to have used, if being not used, then execute next step;If having made With being then not processed;
In the step C, server after having sent the file information to handheld terminal, also in the database will be described under The use state for carrying the sequence number in request is changed to use by being not used.
In data download method of the present invention, database is also stored with downloading shape corresponding to each sequence number State, the download state are not start to download or started to download, and initial download state is not start to download;
Between the step E and step C, further includes:
F. download state corresponding to each sequence number stored in server based on data library judges the downloading request In sequence number corresponding to download state be not start to download or started to download, if not starting to download, then execute next A step;If having started to download, then error message is returned to handheld terminal;
In the step C, server is when being verified, also in the database by the sequence number in the downloading request Corresponding download state is downloaded by not to be changed to start to download.
In data download method of the present invention, database is also stored with corresponding to each sequence number and is verified Time, effective time, expired time, and initial it is verified the time and initial expired time is null value;
In the step C, server also records the sequence in the downloading request when being verified in the database Current corresponding to number is verified the time, and right according to the sequence number institute in the downloading request stored in database The effective time answered calculates expired time, and when recording expired corresponding to the sequence number in the downloading request in the database Between;Moreover, including expired time in the return information sent to handheld terminal;
In the step D, handheld terminal is after receiving return information and the file information, also according to the return information In expired time control the play time of the file information.
In data download method of the present invention, in the step C, the file found is handled Step includes: the encapsulation of data and the encryption of data;
In the step D, to received the file information handle the step of include: data decryption and deblocking Dress.
The present invention also constructs a kind of data downloading system, including server and with the database of server communication connection, extremely A few handheld terminal, the handheld terminal includes: scan module, the first communication module and playing module, the server packet Include that there are judgment module, searching module, processing module and the second communication modules, wherein
The database, for file corresponding to multiple sequence numbers and each sequence number to be stored in advance;
The scan module, for after user gets two dimensional code, scanning the two dimensional code;
First communication module, for sending downloading request to server, the downloading request includes the two dimensional code In sequence number with uniqueness;Moreover, receiving return information and the file information from server;
The playing module, for being played out to the received the file information of the first communication module institute;
It is described there are judgment module, for judge second communication module sequence number in received downloading request be No storage is in the database;
The searching module, is connected to described there are judgment module, is verified for determination, and when being verified, Corresponding file is searched according to the sequence number in the downloading request in the database;
The processing module, for handling the file found;
Second communication module, for receiving the downloading request;When being verified, sends and return to handheld terminal Information, and the file information is sent to handheld terminal by treated.
In data downloading system of the present invention, the database is also stored with use corresponding to each sequence number State, the use state are to be not used or used, and initial use state is unused;
The server further include:
It is connected to the use state judgment module there are between judgment module and the searching module, in data When the sequence number being stored in the downloading request in library, shape is used according to corresponding to each sequence number stored in database State judges that the use state of the sequence number in the downloading request is to be not used or to have used;
Use state changes module, for after having sent the file information to handheld terminal, in the database will be described under The use state for carrying the sequence number in request is changed to use by being not used.
In data downloading system of the present invention, the database is also stored with downloading corresponding to each sequence number State, the download state are not start to download or started to download, and initial download state is not start to download;
The server further include:
The download state judgment module being connected between the use state judgment module and the searching module is used for The use state of sequence number in the downloading request is when being not used, according to corresponding to each sequence number stored in database Download state, judge that download state corresponding to the sequence number in the downloading request is not start downloading or under having started It carries;
Download state changes module, for downloading the sequence number in requesting for described in the database when being verified Corresponding download state is downloaded by not to be changed to start to download.
In data downloading system of the present invention, the database is also stored with verifying corresponding to each sequence number By time, effective time, expired time, and initially is null value by time and initial expired time;
The server further include:
Computing module, for when being verified, recording in the database corresponding to the sequence number in the downloading request It is current be verified the time, and it is effective according to corresponding to the sequence number in the downloading request stored in database Duration calculation expired time, and expired time corresponding to the sequence number in the downloading request is recorded in the database, moreover, It include expired time in the return information;Moreover,
The playing module, for after receiving return information and the file information, also according in the return information Expired time controls the play time of the file information.
In data downloading system of the present invention, the processing module includes the data packaging unit sum number being connected According to encryption unit;
The playing module includes the data decryption unit being connected, data decapsulation unit and file broadcast unit.
Implement technical solution of the present invention, for example, tourist passes through the two dimension on scanning bill when tourist browses scenic spot Code, and server is sent it to, if server judges that the two dimensional code is present in database, then it represents that it is verified, that is, Two dimensional code on user's bill is good for use, then, user is allowed to download the file information corresponding to the two dimensional code.When under user After having carried this document information, it can be played out on the handheld terminal of oneself.Therefore, compared with prior art, on the one hand, user is not It needs to miss related explanation immediately following tour guide, improve user experience;On the other hand, it for the manager at scenic spot, is not required to Special configuration terminal is wanted, these terminals of personal management is not needed yet, the cost of scenic spot management is greatly saved.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is the flow chart of data download method embodiment one of the present invention;
Fig. 2 is the flow chart of data download method embodiment two of the present invention;
Fig. 3 is the step of server handles the file found in data download method of the present invention preferred implementation The flow chart of example;
Fig. 4 is the logic chart of data downloading system embodiment one of the present invention;
Fig. 5 is the logic chart of data downloading system embodiment two of the present invention.
Specific embodiment
The flow chart of data download method embodiment one of the present invention as shown in Figure 1, illustrates, handheld terminal can first To be the devices such as smart phone, tablet computer that current user generally uses.The handheld terminal of user is established with server first Connection establishes connection by WIFI, certainly, handheld terminal can also for example, handheld terminal and server are in a local area network Connection is established by Ethernet and server.In addition, server is connect with database, and multiple sequences are previously stored in database File corresponding to row number and each sequence number.The data download method of the embodiment includes:
A. after user gets two dimensional code, handheld terminal scans the two dimensional code, and sends downloading request to server, Downloading request includes sequence number with uniqueness in the two dimensional code.In this step, for example, downloading request passes through HTTP (Hyper Text Transport Protocol, hypertext transfer protocol) mode is sent.Then it should be noted that, two Dimension code generates software by two dimensional code and is given birth to according to information such as a string sequence number, server address and port numbers with uniqueness At sequence number is generally made of three parts information: current time (nanosecond), clock sequence when generation, globally unique IEEE(Institute of Electrical and Electronics Engineers, U.S. electric and Electronics Engineer association Meeting) machine recognition number, to guarantee that aerial sequence number is unique when same.Moreover, sequence number usually uses hexadecimal table Show, the form of expression is for example are as follows: 550E8400-E29B-11D4-A716-446655440000.Two dimensional code, example are obtained about user It such as may is that when tourist goes sight-seeing scenic spot, two dimensional code obtained from the bill of purchase, certainly, for other applications, Two dimensional code can be obtained by other approach.The two dimensional code is the foundation that server determines whether user's downloading.In addition, working as user After scanning acquired two dimensional code using handheld terminal, downloading request, the form of expression are sent to server by HTTP mode Such as are as follows: http: // 192.168.1.1:8080/ETGS/serialNumber_check.action serialNumber= 550E8400-E29B-11D4-A716-446655440000, wherein http is the statement of requesting method, 192.168.1.1: 8080/ETGS is address and the port numbers of server, serialNumber_check.action serialNumber= 550E8400-E29B-11D4-A716-446655440000 is the judgment method and sequence number of request;
B. server judge it is received downloading request in sequence number whether store in the database, wherein database It is previously stored with file corresponding to multiple sequence numbers and each sequence number, if so, executing next step;If it is not, then to Handheld terminal returns to error message;
C. server authentication passes through, and sends return information to handheld terminal, and in the database according in downloading request Sequence number searches corresponding file, and handheld terminal is sent to after the file found is handled, and in this step, needs Illustrate, a sequence number can correspond to one or more files, and this document can be the letter such as picture, video, audio, text Breath;
D. handheld terminal receives return information and the file information from server, and broadcasts to the file information It puts.
By implementing the data download method, for example, tourist passes through the two dimension on scanning bill when tourist browses scenic spot Code, and server is sent it to, if server judges that the two dimensional code is present in database, then it represents that it is verified, that is, Two dimensional code on user's bill is good for use, then, user is allowed to download the file information corresponding to the two dimensional code.When under user After having carried this document information, it can be played out on the handheld terminal of oneself.Therefore, compared with prior art, on the one hand, user is not It needs to miss related explanation immediately following tour guide, improve user experience;On the other hand, it for the manager at scenic spot, is not required to Special configuration terminal is wanted, these terminals of personal management is not needed yet, the cost of scenic spot management is greatly saved.
Fig. 2 is the flow chart of data download method embodiment two of the present invention, and the data download method of the embodiment compares Fig. 1 Shown in data download method, step A is identical with step B, and this will not be repeated here, only illustrate different places below:
Data item name Data item meaning Data type Data length
sid Number int 11
serialNumber Sequence number varchar 60
used Use state varchar 10
upload Download state varchar 10
date It is verified the time Date
Period Effective time (hourage) Int 11
Expired Expired time Date
sdid Reserved item int 11
As shown above, database is also stored with use state corresponding to each sequence number, download state, is verified The data item such as time, effective time, expired time.Wherein, use state is to be not used or used, moreover, each sequence number The initial value of corresponding use state is 0, represents and is not used, after some sequence number use, server can be to the sequence Use state corresponding to number is modified;Download state is not start to download or started to download, moreover, each sequence number institute The initial value of corresponding download state is 0, and representative does not start to download, and the file corresponding to some sequence number starts to download When, server can modify to download state corresponding to the sequence number;In addition, be verified the time, expired time just Initial value is null value, when server authentication passes through, can record this in the database and be verified the time, and can be logical according to verifying Spend the time, effective time calculates expired time, and will be in expired time calculated record in database.
In addition, further including having between step B and step C:
E. use state corresponding to each sequence number stored in server based on data library judges in downloading request The use state of sequence number is to be not used or to have used, if being not used, then execute next step;If having used, then It is not processed;
F. download state corresponding to each sequence number stored in server based on data library judges in downloading request Download state corresponding to sequence number is not start to download or started to download, and if not starting to download, then executes next step Suddenly;If having started to download, then error message is returned to handheld terminal.
In addition, in step C, further includes: server is after having sent the file information to handheld terminal, also in the database The use state of sequence number in downloading request is changed to use by being not used;Server is when being verified, also in data Download state corresponding to the sequence number in downloading request is downloaded by not in library and is changed to start to download, and also in data The current time that is verified is recorded in library, and is had according to corresponding to the sequence number in the downloading request stored in database Duration calculation expired time is imitated, and expired time corresponding to the sequence number in record downloading request in the database;Moreover, to It include expired time in the return information that handheld terminal is sent;
In step D, handheld terminal is after receiving return information and the file information, also according to expired in return information The play time of time control the file information.
In the above-described embodiments, there are also following benefits: one, server is determined by judging the use state of the sequence number Allow or refusal user's download relevant information, so that it is guaranteed that the two dimensional code on a bill is only capable of can be used to prevent using primary Two dimensional code on user's bill is reused;Two, server is by judging that download state corresponding to the sequence number is fair to determine Perhaps or refuse user's download relevant information, to prevent two users download relevant information simultaneously;Three, server was by calculating Time phase, and the handheld terminal of user is sent it to, the handheld terminal of user controls downloaded phase according to the expired time The broadcasting for closing the file information, for example, user is only capable of checking the relevant information on the day of using bill.
In the step C of data download method of the invention, the step of server handles the file found Can include: the encapsulation of data and the encryption of data.Correspondingly, in step D, handheld terminal carries out the received the file information of institute The step of processing includes: the decryption and decapsulation of data.
Fig. 3 is the step of server handles the file found in data download method of the present invention preferred implementation The flow chart of example follows the steps below after server authentication passes through and finds corresponding document:
C1. judge whether the quantity of file corresponding to the sequence number in downloading request is more than or equal to 2, if so, executing Step C2;If it is not, the step of then exiting the encapsulation and encryption, directly sends the file to handheld terminal;
C2. first file is set as current file;
C3. the filename for obtaining current file, is then performed simultaneously step C4, C5;
C4. resolution file name is to generate head;
C5. this document is opened according to filename, to generate data portion;
C6. by head and data partial encapsulation at data packet;
C7. data packet is encrypted, for example, AES(Advanced Encryption Standard may be selected, it is advanced Encryption standard), DES(Data Encryption Algorithm, data encryption algorithm) Encryption Algorithm;
C8. judge whether current file is the last one file, if so, thening follow the steps C9;If it is not, thening follow the steps C0;
C9. multiple data packets are subjected to ciphered compressed, to form final data packet, the step is for example are as follows: first using close Code generating algorithm generates password, then carries out zip ciphered compressed to multiple data packets using the password;
C0. next file is set as current file, then executes step C3.
After being handled by using above-mentioned steps file, single file and whole file have obtained cryptoguard. Even if someone illegally gets the final data packet, due to incorrect password, and the content in data packet can not be taken out 's.
Fig. 4 is the logic chart of data downloading system embodiment one of the present invention, and the data downloading system of the embodiment includes hand Terminal 10, server 20 and database 30 are held, although illustrating only a handheld terminal 10 in figure, those skilled in the art are answered It can understand, the quantity of handheld terminal can be any, and the logic knot of the logical construction of other handheld terminals and handheld terminal 10 Structure is identical.Handheld terminal 10, database 30 respectively with 20 communication connection of server.Moreover, database 30 is more for being stored in advance File corresponding to a sequence number and each sequence number.Handheld terminal 10 includes: the first communication module 11, scan module 12 and broadcasts Amplification module 13.Server 20 includes the second communication module 21, there are judgment module 22, searching module 23 and processing modules 24.Its In, scan module 12 is used for after user gets two dimensional code, scans the two dimensional code.First communication module 11 is used for server Downloading request is sent, downloading request includes sequence number with uniqueness in two dimensional code;Moreover, being also used to receive from service The return information and the file information of device.Playing module 13 is used to broadcast the 11 received the file information of institute of the first communication module It puts.There are judgment module 22 be used for judge the second communication module 21 institute it is received download request in sequence number whether be stored in number According in library.Searching module 23 is used for when being verified, and is searched in the database according to the sequence number in downloading request corresponding File.Processing module 24 is for handling the file found.Second communication module 21 is for receiving downloading request;Also For sending return information to handheld terminal, and the file information is sent to handheld terminal 10 by treated when being verified.
Fig. 5 is the logic chart of data downloading system embodiment two of the present invention, and the data downloading system of the embodiment compares Fig. 4 Shown in embodiment one, the only difference is that: database 30 be also stored with use state corresponding to each sequence number, downloading shape State is verified time, effective time, expired time.Wherein, use state is to be not used or used.Download state is not Start to download or has started to download, moreover, it is not start to download that initial use state, which is unused, initial download state, Initial is null value by time and initial expired time.In addition, the server 20 of the embodiment also wraps about server It includes: use state judgment module 25, use state change module 26, download state judgment module 27, download state change module 28 and computing module 29.Wherein, use state judgment module 25 is used to be stored with the sequence in downloading request in database 30 Number when, according to use state corresponding to each sequence number stored in database 30, judge the sequence number in downloading request Use state is to be not used or to have used.Download state judgment module 27 is used for corresponding to the sequence number in downloading is requested Use state is, according to download state corresponding to each sequence number stored in database 30, to judge that downloading is asked when being not used Download state corresponding to the sequence number asked is not start to download or started to download.Download state is changed module 28 and is used for When being verified, download state corresponding to the sequence number in downloading request is downloaded by not in database 30 and is changed to Start to download.Computing module 29 is used for when being verified, and records the current time that is verified in database 30, and according to Effective time corresponding to the sequence number in downloading request stored in database 30 calculates expired time, and in database 30 Expired time corresponding to sequence number in middle record downloading request, moreover, including expired time in return information.In addition, making It is used for after having sent the file information to handheld terminal with state change module 26, by the sequence in downloading request in database 30 The use state of row number is changed to use by being not used.For the playing module 13 of handheld terminal 10, for receiving return After information and the file information, the play time of the file information is controlled also according to the expired time in return information.
Furthermore it is preferred that processing module 24 includes the data packaging unit being connected and DEU data encryption unit.Correspondingly, Playing module 13 includes data decryption unit, data decapsulation unit and the file broadcast unit being connected.
Finally it should be noted that, data download method of the invention and system may not only be applied to scenic spot management, for appointing What is the need for user identity to be verified downloading be applicable in.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the present invention can have various changes, combination and variation.All within the spirits and principles of the present invention, made Any modification, equivalent substitution, improvement and etc. should be included within scope of the presently claimed invention.

Claims (6)

1. a kind of data download method, for downloading showpiece relevant information characterized by comprising
A. after user gets the two dimensional code on bill, handheld terminal scans the two dimensional code, and sends and download to server Request, the downloading request includes sequence number with uniqueness in the two dimensional code;
B. server judge it is received downloading request in sequence number whether store in the database, wherein database is preparatory It is stored with file corresponding to multiple sequence numbers and each sequence number, if so, executing next step;If it is not, then to hand-held Terminal returns to error message;
E. use state corresponding to each sequence number stored in server based on data library judges in the downloading request The use state of sequence number is to be not used or to have used, wherein server, which is stored with, uses shape corresponding to each sequence number State, the use state be not used or used, and initial use state be it is unused, if unused, then under execution One step;If having used, then it is not processed;
F. download state corresponding to each sequence number stored in server based on data library judges in the downloading request Download state corresponding to sequence number is not start to download or started to download, wherein is stored with corresponding to each sequence number Download state, the download state be do not start download or started to download, and initial download state be do not start to download, if Not start to download, then next step is executed;If having started to download, then error message is returned to handheld terminal;
C. server authentication passes through, and sends return information to handheld terminal, and in the database according in downloading request Sequence number searches corresponding file, and is sent to handheld terminal after the file found is handled;
Meanwhile server also downloads the sequence in requesting for described in the database after having sent the file information to handheld terminal The use state of row number is changed to use by being not used;
Server when being verified, also in the database by it is described downloading request in sequence number corresponding to download state by Do not start downloading to be changed to start to download;
D. handheld terminal receives and processes return information and the file information from server, and broadcasts to the file information It puts.
2. data download method according to claim 1, which is characterized in that it is right that database is also stored with each sequence number institute That answers is verified time, effective time, expired time, and initial be verified time and initial expired time is empty Value;
In the step C, server also records the sequence number institute in the downloading request when being verified in the database It is corresponding it is current be verified the time, and according to corresponding to the sequence number in the downloading request stored in database Effective time calculates expired time, and records expired time corresponding to the sequence number in the downloading request in the database; Moreover, including expired time in the return information sent to handheld terminal;
In the step D, handheld terminal is after receiving return information and the file information, also according in the return information Expired time controls the play time of the file information.
3. data download method according to claim 1, which is characterized in that in the step C, to the text found The step of part is handled includes: the encapsulation of data and the encryption of data;
In the step D, to received the file information handle the step of include: data decryption and decapsulation.
4. a kind of data downloading system, for downloading showpiece relevant information, which is characterized in that lead to including server and with server Database, at least one handheld terminal of connection are interrogated, the handheld terminal includes: scan module, the first communication module and broadcasting Module, the server include that there are judgment module, searching module, processing module and the second communication modules, wherein
The database, for file corresponding to multiple sequence numbers and each sequence number to be stored in advance;
The scan module, for scanning the two dimensional code after user gets the two dimensional code on bill;
First communication module, for sending downloading request to server, the downloading request includes having in the two dimensional code There is the sequence number of uniqueness;Moreover, receiving return information and the file information from server;
The playing module, for being played out to the received the file information of the first communication module institute;
It is described there are judgment module, for judge second communication module sequence number in received downloading request whether deposit Storage is in the database;
The searching module, is connected to described there are judgment module, is verified for determination, and when being verified, in number Corresponding file is searched according to the sequence number in the downloading request according in library;
The processing module, for handling the file found;
Second communication module, for receiving the downloading request;When being verified, is sent to handheld terminal and return to letter Breath, and the file information is sent to handheld terminal by treated;
The server further include:
It is connected to the use state judgment module there are between judgment module and the searching module, in the database When the sequence number being stored in the downloading request, according to use state corresponding to each sequence number stored in database, The use state for judging the sequence number in the downloading request is to be not used or to have used, wherein the database also stores There is use state corresponding to each sequence number, the use state is to be not used or used, and initial use state is It is not used;
Use state changes module, in the database asking the downloading after having sent the file information to handheld terminal The use state of sequence number in asking is changed to use by being not used;
The download state judgment module being connected between the use state judgment module and the searching module, for described Downloading request in sequence number use state be not used when, according to corresponding to each sequence number stored in database under Load state judges that download state corresponding to the sequence number in the downloading request is downloaded not start or started to download, In, the database is also stored with download state corresponding to each sequence number, and the download state is not start downloading or Start to download, and initial download state is not start to download;
Download state changes module, in the database that the sequence number institute in the downloading request is right for when being verified The download state answered is downloaded by not to be changed to start to download.
5. data downloading system according to claim 4, which is characterized in that the database is also stored with each sequence number Corresponding to be verified time, effective time, expired time and initial is sky by time and initial expired time Value;
The server further include:
Computing module is worked as corresponding to the sequence number in the downloading request for being recorded in the database when being verified Preceding is verified time, and the effective time according to corresponding to the sequence number in the downloading request stored in database Expired time is calculated, and records expired time corresponding to the sequence number in the downloading request in the database, moreover, described It include expired time in return information;Moreover,
The playing module, for after receiving return information and the file information, also according to expired in the return information Time controls the play time of the file information.
6. data downloading system according to claim 4, which is characterized in that the processing module includes the data being connected Encapsulation unit and DEU data encryption unit;
The playing module includes the data decryption unit being connected, data decapsulation unit and file broadcast unit.
CN201310198700.1A 2013-05-24 2013-05-24 A kind of data download method and system Active CN104184773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310198700.1A CN104184773B (en) 2013-05-24 2013-05-24 A kind of data download method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310198700.1A CN104184773B (en) 2013-05-24 2013-05-24 A kind of data download method and system

Publications (2)

Publication Number Publication Date
CN104184773A CN104184773A (en) 2014-12-03
CN104184773B true CN104184773B (en) 2019-08-30

Family

ID=51965508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310198700.1A Active CN104184773B (en) 2013-05-24 2013-05-24 A kind of data download method and system

Country Status (1)

Country Link
CN (1) CN104184773B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463274A (en) * 2014-12-05 2015-03-25 林志辉 Explanation system based on code with uniqueness and method of explanation system
CN105791436A (en) * 2016-04-28 2016-07-20 杭州亿方云网络科技有限公司 File synchronization system and synchronization method thereof
CN108965570B (en) * 2017-05-17 2020-05-26 北京博瑞彤芸文化传播股份有限公司 Method for downloading ring data
CN107229959A (en) * 2017-06-05 2017-10-03 张家豪 A kind of graphical identification code processing method and processing device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848879A (en) * 2006-03-07 2006-10-18 李振宇 Mobile telephone scanning two-dimensional barcode inquiry line and the located position
CN101388066A (en) * 2007-09-12 2009-03-18 北京方维银通科技有限公司 Method for implementing two-dimensional code certification
CN101888604A (en) * 2010-04-23 2010-11-17 上海市七宝中学 Sight spot information self-service query system and method
CN201741202U (en) * 2010-01-26 2011-02-09 维鹏信息技术(上海)有限公司 Multifunctional automatic card vending device
CN102202051A (en) * 2011-04-07 2011-09-28 华南农业大学 Credible two-dimensional code system and application method thereof
CN102243739A (en) * 2011-07-04 2011-11-16 中国建设银行股份有限公司 Mobile-phone bank payment method, mobile-phone bank payment system and mobile-phone bank client based on two-dimension code
CN102316103A (en) * 2011-08-24 2012-01-11 广州宽度信息技术有限公司 Mobile phone advertisement media system and propagation method thereof
CN102917059A (en) * 2012-10-19 2013-02-06 北京奇虎科技有限公司 Client end and method for downloading application
CN103051733A (en) * 2013-01-22 2013-04-17 周万荣 Method, terminal and system for downloading data
CN103065116A (en) * 2012-12-31 2013-04-24 王石磊 Method and system capable of enabling client to recognize two-dimension code

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006201842A (en) * 2005-01-18 2006-08-03 Mitsubishi Electric Corp Passenger guidance system and passenger guidance server

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848879A (en) * 2006-03-07 2006-10-18 李振宇 Mobile telephone scanning two-dimensional barcode inquiry line and the located position
CN101388066A (en) * 2007-09-12 2009-03-18 北京方维银通科技有限公司 Method for implementing two-dimensional code certification
CN201741202U (en) * 2010-01-26 2011-02-09 维鹏信息技术(上海)有限公司 Multifunctional automatic card vending device
CN101888604A (en) * 2010-04-23 2010-11-17 上海市七宝中学 Sight spot information self-service query system and method
CN102202051A (en) * 2011-04-07 2011-09-28 华南农业大学 Credible two-dimensional code system and application method thereof
CN102243739A (en) * 2011-07-04 2011-11-16 中国建设银行股份有限公司 Mobile-phone bank payment method, mobile-phone bank payment system and mobile-phone bank client based on two-dimension code
CN102316103A (en) * 2011-08-24 2012-01-11 广州宽度信息技术有限公司 Mobile phone advertisement media system and propagation method thereof
CN102917059A (en) * 2012-10-19 2013-02-06 北京奇虎科技有限公司 Client end and method for downloading application
CN103065116A (en) * 2012-12-31 2013-04-24 王石磊 Method and system capable of enabling client to recognize two-dimension code
CN103051733A (en) * 2013-01-22 2013-04-17 周万荣 Method, terminal and system for downloading data

Also Published As

Publication number Publication date
CN104184773A (en) 2014-12-03

Similar Documents

Publication Publication Date Title
CN104137520B (en) A kind of information push method and device
CN108197891B (en) Electronic signing device and method based on block chain
CN103873692B (en) Method, device and system for resource sharing
CN104601590B (en) A kind of login method, server and mobile terminal
CN107590728A (en) A kind of method and system for net purchase secret protection
CN105722089B (en) A kind of equipment authentication method
CN106878265A (en) A kind of data processing method and device
CN104184773B (en) A kind of data download method and system
CA3080301A1 (en) Anonymity system for goods delivery
CN105516170B (en) Wi-Fi hotspot information sharing and connecting method and device and electronic equipment
CN104836782B (en) Server, client and data access method and system
CN113132973A (en) Equipment network distribution method and system and computer readable storage medium
CN108347428A (en) Accreditation System, the method and apparatus of application program based on block chain
KR20200055410A (en) Contract apparatus and method of blockchain using digital contents orginal key
CN106534150A (en) Identity authentication method and system, user terminal and website server
CN103685515A (en) Method and system for downloading application
CN109829122A (en) Obtain method and device, the storage medium, electronic device of ingress for service
CN105933322A (en) Plug-in service obtaining method, and plug-in service providing method and device
CN103561063B (en) A kind of method of Register top box and terminal
CN112150030A (en) Account management method based on multiple units and multiple identities, terminal equipment and storage medium
CN112231309A (en) Method, device, terminal equipment and medium for removing duplicate of longitudinal federal data statistics
CN106339623B (en) Login method and device
CN109726545A (en) A kind of information display method, equipment, computer readable storage medium and device
CN107196918A (en) A kind of method and apparatus of matched data
CN110263882A (en) Image generating method, information acquisition method, device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant