CN104348840A - Download statistical method, terminal and server - Google Patents

Download statistical method, terminal and server Download PDF

Info

Publication number
CN104348840A
CN104348840A CN201310311141.0A CN201310311141A CN104348840A CN 104348840 A CN104348840 A CN 104348840A CN 201310311141 A CN201310311141 A CN 201310311141A CN 104348840 A CN104348840 A CN 104348840A
Authority
CN
China
Prior art keywords
terminal
server
request
url
downloading data
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.)
Pending
Application number
CN201310311141.0A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310311141.0A priority Critical patent/CN104348840A/en
Priority to PCT/CN2013/088514 priority patent/WO2014161344A1/en
Publication of CN104348840A publication Critical patent/CN104348840A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a download statistical method, a terminal and a server. The method includes: sending a first request carrying a terminal ID to a server; obtaining a uniform resource locator (URL) of data to be downloaded issued by the server according to the first request; processing the terminal ID and the URL of the data to be downloaded, generating a second request, sending the second request to the server, enabling the server to analyze the terminal ID from the second request and recording; and receiving download data issued by the server according to the URL of the data to be downloaded. The scheme of the download statistical method provided by the invention facilitates statistics of detailed information of a download terminal by the server, and is in favor of improving a download service.

Description

A kind of download statistics method, terminal and server
Technical field
The present invention relates to the communications field, refer to a kind of download statistics method, terminal and server especially.
Background technology
Along with the develop rapidly of network technology, the data, services mode based on C/S model (customer end/server mode) is widely used, and data placement is usually downloaded for corresponding terminal equipment (client) by service provider on given server.At moving communicating field, operator usually by under the firmware/software AKU of mobile terminal device (mobile phone, data card, panel computer etc.) be positioned in private server for terminal downloads.OMA-DM and DL agreement download firmware/software upgrade package flow process that moving communicating field is conventional is:
1. terminal initiates DM session request to DM server, brings oneself No. ID (being generally IMEI number) in DM session message;
Corresponding DL server address (AKU url) is issued to mobile terminal by DM session message by 2.DM server;
3. mobile terminal is connected to DL server and downloads.
A limitation of this method is that DM server issues AKU url to after terminal, and DL server does not know which terminal downloads final AKU, is not easy to DL server and correctly adds up service effectiveness, be unfavorable for improving download service yet.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of download statistics method, terminal and server, is convenient to server and adds up download terminal details, be also beneficial to and improve download service.
For solving the problems of the technologies described above, embodiments of the invention provide a kind of download statistics method, are applied to terminal, comprise:
The first request carrying Termination ID is sent to server;
Obtain the uniform resource position mark URL for downloading data that described server issues according to described first request;
By described Termination ID and the described URL process for downloading data, generate the second request, and send to described server, make described server parse described Termination ID from described second request, and record;
Receive described server according to the described downloading data issued for the URL of downloading data.
Wherein, described Termination ID at least comprises: unit type, No. ID, software version number information; Described downloading data is the firmware/software AKU of described terminal.
Wherein, by described Termination ID and the described URL process for downloading data, the step generating the second request is specially:
Described Termination ID and the described URL for downloading data are encoded, generates the second request.
Embodiments of the invention also disclose a kind of terminal, comprising:
First sending module, for sending the first request carrying Termination ID to server;
First acquisition module, for obtaining the uniform resource position mark URL for downloading data that described server issues according to described first request;
First processing module, for by described terminal and the described URL process for downloading data, generates the second request, and sends to described server, makes described server parse described Termination ID from described second request, and record;
First receiver module, for receiving described server according to the described downloading data issued for the URL of downloading data.
Wherein, described Termination ID at least comprises: unit type, No. ID, software version number information; Described downloading data is the firmware/software AKU of described terminal.
Wherein, described Termination ID and the described URL for downloading data are specifically encoded by described first processing module, generate the second request.
In addition, embodiments of the invention also disclose a kind of download statistics method, are applied to server, comprise:
Receiving terminal sends the first request carrying Termination ID;
According to described first request, obtain the uniform resource position mark URL for downloading data;
By described Termination ID and the described URL process for downloading data, generate download address, and send to described terminal; Described terminal is made to initiate the second request according to described download address to described server;
Described Termination ID is parsed from described second request, and record, and downloading data corresponding for described URL is sent to terminal.
Wherein, by described Termination ID and the described URL process for downloading data, the step generating download address is specially:
Described Termination ID and the described URL for downloading data are encoded, generates download address.
Embodiments of the invention also disclose a kind of server, comprising:
Second receiver module, sends the first request carrying Termination ID for receiving terminal;
Second acquisition module, for according to described first request, obtains the uniform resource position mark URL for downloading data;
Second processing module, for by described Termination ID and the described URL process for downloading data, generates download address, and sends to described terminal; Described terminal is made to initiate the second request according to described download address to described server;
Second sending module, for parsing described Termination ID from described second request, and record, and downloading data corresponding for described URL is sent to terminal.
Wherein, described Termination ID and the described URL for downloading data are specifically encoded by described second processing module, generate download address.
The beneficial effect of technique scheme of the present invention is as follows:
The download statistics method of the embodiment of the present invention, terminal and server, be convenient to server and correctly add up download terminal details, is also conducive to improving download service.
Accompanying drawing explanation
Fig. 1 represents the flow chart being applied to terminal downloads statistical method of the present invention;
Fig. 2 represents the flow chart of download statistics method first embodiment of the present invention;
Fig. 3 represents the flow chart being applied to server download statistics method of the present invention;
Fig. 4 represents the flow chart of download statistics method second embodiment of the present invention.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
The present invention is directed to existing server and issue AKU url to after terminal, server does not know which terminal downloads final AKU, be not easy to server correctly add up service effectiveness, also the problem that download service is improved is unfavorable for, provide a kind of download statistics method, terminal and server.
As shown in Figure 1, The embodiment provides a kind of download statistics method, be applied to terminal, comprise:
Step 11: send the first request carrying Termination ID to server, wherein, described Termination ID at least comprises: unit type (Model), No. ID, software version number information;
Step 12: obtain the uniform resource position mark URL for downloading data that described server issues according to described first request;
Step 13: by described Termination ID and the described URL process for downloading data, generate the second request, and send to described server, makes described server parse described Termination ID from described second request, and record;
Wherein, by described Termination ID and the described URL process for downloading data, the step generating the second request is specifically as follows:
Described Termination ID and the described URL for downloading data are encoded, generates the second request.
Step 14: receive described server according to the described downloading data issued for the URL of downloading data, wherein, described downloading data is the firmware/software AKU of described terminal.
As shown in Figure 2, be the flow chart of the terminal solution preferred embodiment of a kind of download statistics method of the present invention, for describing the download statistics method of server side.In the present embodiment, terminal first initiates the first request to DM server, and the url of request AKU, then becomes url(ID by acquisition url with device id information coding), and initiate download request (i.e. above-mentioned second request) to DL server; DL server after receiving the request, first from url(ID) decode terminal ID info and AKU url, then carry out download statistics and issue corresponding AKU to terminal.The present embodiment comprises the following steps:
Step S100: terminal sends upgrade request to DM server, and bring terminal essential information (as unit type, No. ID, software version number etc.) in the request;
Step S101:DM server detects with or without the respective upgrades bag for this equipment, has and then performs step S102, without then performing step S107;
The url of AKU is sent to terminal by step S102:DM server;
Step S103: self-ID information and AKU url are encoded into url(ID by terminal);
To DL server initiate download request step S104: terminal url(ID);
Step S105:DL server decodes id information and AKU url from url (ID);
Step S106:DL server carries out download statistics according to the Termination ID number obtained, and issues corresponding AKU to terminal;
Step S107: flow process terminates.
Self-ID information is initiatively encoded into the url of AKU, DL server by terminal and is adopted correlation method to parse terminal ID info to realize the statistics of DL server to terminal downloads information by the above embodiment of the present invention.
Embodiments of the invention also disclose a kind of terminal, comprising:
First sending module, for sending the first request carrying Termination ID to server;
First acquisition module, for obtaining the uniform resource position mark URL for downloading data that described server issues according to described first request;
First processing module, for by described terminal and the described URL process for downloading data, generates the second request, and sends to described server, makes described server parse described Termination ID from described second request, and record;
First receiver module, for receiving described server according to the described downloading data issued for the URL of downloading data.
Wherein, described Termination ID at least comprises: unit type, No. ID, downloading data described in software version number information is the firmware/software AKU of described terminal;
Wherein, described Termination ID and the described URL for downloading data can specifically be encoded by described first processing module, generate the second request.
Above-mentionedly be applied in the embodiment of terminal, initiatively being encoded by self-ID information into the url of AKU, DL server by terminal adopts correlation method to parse terminal ID info to realize the statistics of DL server to terminal downloads information.
In the above-mentioned download statistics method of terminal that is applied to and the embodiment of terminal, other necessary informations except id information also can be put into AKU url for DL server by terminal in the lump.
As shown in Figure 3, embodiments of the invention additionally provide a kind of download statistics method, are applied to server, comprise:
Step 21: receiving terminal sends the first request carrying Termination ID, and wherein, described Termination ID at least comprises: unit type (Model), No. ID, software version number information;
Step 22: according to described first request, obtain the uniform resource position mark URL for downloading data;
Step 23: by described Termination ID and the described URL process for downloading data, generate download address, and send to described terminal, makes described terminal initiate the second request according to described download address to described server;
Wherein, by described Termination ID and the described URL process for downloading data, the step generating download address is specifically as follows:
Described Termination ID and the described URL for downloading data are encoded, generates download address.
Step 24: parse described Termination ID from described second request, and record, and downloading data corresponding for described URL is sent to terminal, wherein, described downloading data is the firmware/software AKU of described terminal.
As shown in Figure 4, be the flow chart of the server solution preferred embodiment of a kind of download statistics method of the present invention, for describing server side download statistics method.In the present embodiment, terminal is first asked to DM server first, the url of request AKU; The terminal ID info obtained from terminal is encoded into url(ID by DM server together with AKU url) be handed down to terminal; Terminal url(ID) send download request (i.e. above-mentioned second request) to DL server; DL server after receiving the request, first from url(ID) decode terminal ID info and AKU url, then carry out download statistics and issue corresponding AKU to terminal.The present embodiment comprises the following steps:
Step S200: terminal sends upgrade request to DM server, and bring terminal essential information (as unit type, No. ID, software version number etc.) in the request;
Step S201:DM server detects with or without the respective upgrades bag for this equipment, has and then performs step S202, without then performing step S206;
The terminal ID info obtained from terminal is encoded into url(ID by step S202:DM server together with AKU url) be handed down to terminal;
To DL server initiate download request step S203: terminal url(ID);
Step S204:DL server decodes id information and AKU url from url (ID);
Step S205:DL server carries out download statistics according to the terminal ID info obtained, and issues corresponding AKU to terminal;
Step S206: flow process terminates.
Above-mentionedly be applied in the download statistics embodiment of the method for server, initiatively self-ID information is encoded into the url of AKU by terminal, terminal ID info and AKU url are encoded into url(ID by DL server) be handed down to terminal, and after the download request receiving terminal further, adopt correlation method to parse terminal ID info to realize the statistics of DL server to terminal downloads information.
Embodiments of the invention also disclose a kind of server, comprising:
Second receiver module, sends the first request carrying Termination ID for receiving terminal;
Second acquisition module, for according to described first request, obtains the uniform resource position mark URL for downloading data;
Second processing module, for by described Termination ID and the described URL process for downloading data, generates download address, and sends to described terminal; Described terminal is made to initiate the second request according to described download address to described server;
Second sending module, for parsing described Termination ID from described second request, and record, and downloading data corresponding for described URL is sent to terminal.
Wherein, described Termination ID and the described URL for downloading data specifically can be encoded by described second processing module, generate download address.
The embodiment of above-mentioned server, by terminal ID info and AKU url are encoded into url(ID) be handed down to terminal, and after the download request receiving terminal further, adopt correlation method to parse terminal ID info to realize the statistics of DL server to terminal downloads information.
In the above-mentioned download statistics method of server that is applied to and the embodiment of terminal, other necessary informations except id information also can be put into AKU url for DL server by terminal in the lump.
Download statistics method described in the above embodiment of the present invention, terminal and server, be convenient to the details of server to download terminal and add up, be also conducive to improving download service.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a download statistics method, is applied to terminal, it is characterized in that, comprising:
The first request carrying Termination ID is sent to server;
Obtain the uniform resource position mark URL for downloading data that described server issues according to described first request;
By described Termination ID and the described URL process for downloading data, generate the second request, and send to described server, make described server parse described Termination ID from described second request, and record;
Receive described server according to the described downloading data issued for the URL of downloading data.
2. download statistics method according to claim 1, is characterized in that, described Termination ID at least comprises: unit type, No. ID, software version number information; Described downloading data is the firmware/software AKU of described terminal.
3. download statistics method according to claim 1, is characterized in that, by described Termination ID and the described URL process for downloading data, the step generating the second request is specially:
Described Termination ID and the described URL for downloading data are encoded, generates the second request.
4. a terminal, is characterized in that, comprising:
First sending module, for sending the first request carrying Termination ID to server;
First acquisition module, for obtaining the uniform resource position mark URL for downloading data that described server issues according to described first request;
First processing module, for by described terminal and the described URL process for downloading data, generates the second request, and sends to described server, makes described server parse described Termination ID from described second request, and record;
First receiver module, for receiving described server according to the described downloading data issued for the URL of downloading data.
5. terminal according to claim 4, is characterized in that, described Termination ID at least comprises: unit type, No. ID, software version number information; Described downloading data is the firmware/software AKU of described terminal.
6. terminal according to claim 4, is characterized in that, described Termination ID and the described URL for downloading data are specifically encoded by described first processing module, generate the second request.
7. a download statistics method, is applied to server, it is characterized in that, comprising:
Receiving terminal sends the first request carrying Termination ID;
According to described first request, obtain the uniform resource position mark URL for downloading data;
By described Termination ID and the described URL process for downloading data, generate download address, and send to described terminal; Described terminal is made to initiate the second request according to described download address to described server;
Described Termination ID is parsed from described second request, and record, and downloading data corresponding for described URL is sent to terminal.
8. download statistics method according to claim 7, is characterized in that, by described Termination ID and the described URL process for downloading data, the step generating download address is specially:
Described Termination ID and the described URL for downloading data are encoded, generates download address.
9. a server, is characterized in that, comprising:
Second receiver module, sends the first request carrying Termination ID for receiving terminal;
Second acquisition module, for according to described first request, obtains the uniform resource position mark URL for downloading data;
Second processing module, for by described Termination ID and the described URL process for downloading data, generates download address, and sends to described terminal; Described terminal is made to initiate the second request according to described download address to described server;
Second sending module, for parsing described Termination ID from described second request, and record, and downloading data corresponding for described URL is sent to terminal.
10. server according to claim 9, is characterized in that, described Termination ID and the described URL for downloading data are specifically encoded by described second processing module, generate download address.
CN201310311141.0A 2013-07-23 2013-07-23 Download statistical method, terminal and server Pending CN104348840A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310311141.0A CN104348840A (en) 2013-07-23 2013-07-23 Download statistical method, terminal and server
PCT/CN2013/088514 WO2014161344A1 (en) 2013-07-23 2013-12-04 Download counting method, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310311141.0A CN104348840A (en) 2013-07-23 2013-07-23 Download statistical method, terminal and server

Publications (1)

Publication Number Publication Date
CN104348840A true CN104348840A (en) 2015-02-11

Family

ID=51657530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310311141.0A Pending CN104348840A (en) 2013-07-23 2013-07-23 Download statistical method, terminal and server

Country Status (2)

Country Link
CN (1) CN104348840A (en)
WO (1) WO2014161344A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017084499A1 (en) * 2015-11-18 2017-05-26 北京金山办公软件股份有限公司 File sharing method and apparatus
WO2018218419A1 (en) * 2017-05-27 2018-12-06 福建联迪商用设备有限公司 Downloading method for improving download efficiency and downloading system thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355569A (en) * 2008-09-10 2009-01-28 北大方正集团有限公司 Control method, apparatus and system for downloading digital content
CN101436927A (en) * 2006-12-27 2009-05-20 国际商业机器公司 System and method for file transfer management
US20090172130A1 (en) * 2008-01-02 2009-07-02 Samsung Electronics Co., Ltd. Method of and apparatus for downloading data
WO2013015655A2 (en) * 2011-07-27 2013-01-31 Lg Electronics Inc. Laundry machine and online system including the same
CN102982119A (en) * 2012-11-12 2013-03-20 上海够快网络科技有限公司 Editing method for online files

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487399B (en) * 2010-12-06 2015-08-19 中国移动通信集团上海有限公司 A kind of software data operating method, system, terminal and service server
CN102231744B (en) * 2011-06-30 2015-08-05 Tcl集团股份有限公司 media file protection method, system, media file server and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436927A (en) * 2006-12-27 2009-05-20 国际商业机器公司 System and method for file transfer management
US20090172130A1 (en) * 2008-01-02 2009-07-02 Samsung Electronics Co., Ltd. Method of and apparatus for downloading data
CN101355569A (en) * 2008-09-10 2009-01-28 北大方正集团有限公司 Control method, apparatus and system for downloading digital content
WO2013015655A2 (en) * 2011-07-27 2013-01-31 Lg Electronics Inc. Laundry machine and online system including the same
CN102982119A (en) * 2012-11-12 2013-03-20 上海够快网络科技有限公司 Editing method for online files

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017084499A1 (en) * 2015-11-18 2017-05-26 北京金山办公软件股份有限公司 File sharing method and apparatus
WO2018218419A1 (en) * 2017-05-27 2018-12-06 福建联迪商用设备有限公司 Downloading method for improving download efficiency and downloading system thereof

Also Published As

Publication number Publication date
WO2014161344A1 (en) 2014-10-09

Similar Documents

Publication Publication Date Title
EP2640005A3 (en) Method for terminal configuration and management and terminal device
DE602005022635D1 (en) MANAGEMENT OF ANONYMOUS COMMUNICATION BETWEEN USERS ON THE BASIS OF IDENTIFICATION OF WIRELESS CONNECTIONS WITH A SHORT RANGE
ATE495637T1 (en) SERVICE PROVIDER ACTIVATION
CN103634774B (en) A kind of method and apparatus that charging is carried out to wireless side local flow
SG159401A1 (en) Setting up communication sessions
CN105100021B (en) Triggering method, device and system for device management session
JP5545368B2 (en) Wireless communication method, wireless communication apparatus, and wireless communication system
EP2375590A3 (en) Method of allocating radio resources in multi-carrier system
CN101296443A (en) Multi-standby terminal and method for self-registration
CN109104726A (en) The authentication method and related device, system and medium of network slice
US20170280410A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
CN102917340A (en) Multimode terminal management upgrading method and device
CN104144409A (en) Over-the-air card writing method and system and home location register
CN103024719A (en) Mobility management entity (MME) selection method and MME selection system for terminal group
CN104348840A (en) Download statistical method, terminal and server
CN103987017B (en) A kind of method and system for being used to set up service access in a wlan
CN104683973B (en) Management method and system are automatically configured based on intelligent terminal
CN102355639A (en) Real-time group short number updating method, system and related equipment
CN106804035A (en) A kind of electronic equipment brush machine control method and system
WO2012034390A1 (en) Method and system for configuring wireless terminal
CN105743939A (en) Message push method and device
CN105517142A (en) WLAN positioning method, terminal, and WLAN access server
CN103841078A (en) Network protocol voice telephone software upgrading system and software upgrading method
CN106534279A (en) Dynamic native interface invoking method and system
CN105610937A (en) System and method for obtaining visitor and access device information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150211