WO2014161344A1 - 一种下载统计方法、终端和服务器 - Google Patents

一种下载统计方法、终端和服务器 Download PDF

Info

Publication number
WO2014161344A1
WO2014161344A1 PCT/CN2013/088514 CN2013088514W WO2014161344A1 WO 2014161344 A1 WO2014161344 A1 WO 2014161344A1 CN 2013088514 W CN2013088514 W CN 2013088514W WO 2014161344 A1 WO2014161344 A1 WO 2014161344A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
server
request
url
data
Prior art date
Application number
PCT/CN2013/088514
Other languages
English (en)
French (fr)
Inventor
徐禄勇
罗小东
吴聪
双建平
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014161344A1 publication Critical patent/WO2014161344A1/zh

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]

Definitions

  • the present invention relates to the field of communications, and in particular to a download statistics method, a terminal, and a server.
  • a data service method based on a C/S mode (Client/Server mode, that is, a client/server mode) is widely used, and a service provider often places data on a designated server for corresponding Terminal device (client) download.
  • clients/Server mode that is, a client/server mode
  • clients typically place firmware/software upgrade packages for their mobile devices (mobile phones, data cards, tablets, etc.) on dedicated servers for terminal downloads.
  • the process of downloading the firmware/software upgrade package for the OMA-DM and DL protocols commonly used in the field of mobile communication is as follows: 1.
  • the terminal initiates a DM session request to the DM server, and carries its own ID number (usually an IMEI number) in the DM session message;
  • the DM server sends the corresponding DL server address (upgrade package url) to the mobile terminal through the DM session message;
  • the mobile terminal connects to the DL server for download.
  • One limitation of this method is that after the DM server sends the upgrade package url to the terminal, the DL server does not know which terminals have downloaded the upgrade package, which is not convenient for the DL server to correctly calculate the service effect, and is not conducive to improving the download service. .
  • SUMMARY OF THE INVENTION The technical problem to be solved by the present invention is to provide a download statistics method, a terminal, and a server, which facilitates the server to perform statistics on the detailed information of the download terminal, and is also beneficial to improving the download service.
  • an embodiment of the present invention provides a downloading statistics method, which is applied to a terminal, including: sending a first request carrying a terminal ID to a server; and acquiring a desire of the server to deliver according to the first request. Download the Uniform Resource Locator URL of the data; Processing the terminal ID and the URL of the data to be downloaded, generating a second request, and transmitting the second request to the server, causing the server to parse the terminal ID from the second request, and recording; receiving The server downloads data according to the URL of the data to be downloaded.
  • the terminal ID includes at least: a device model number, an ID number, and a software version number information; and the download data is a firmware/software upgrade package of the terminal.
  • the step of processing the terminal ID and the URL of the data to be downloaded to generate the second request includes: encoding the terminal ID and the URL of the data to be downloaded to generate a second request.
  • the embodiment of the present invention further discloses a terminal, including: a first sending module, configured to send a first request carrying a terminal ID to a server; and a first acquiring module, configured to acquire the server according to the first request a uniform resource locator URL to be downloaded; the first processing module is configured to process the terminal and the URL of the data to be downloaded, generate a second request, and send the second request to the server, so that The server parses the terminal ID from the second request, and records the first receiving module, and is configured to receive the download data that is sent by the server according to the URL of the data to be downloaded.
  • the terminal ID includes at least: a device model number, an ID number, and a software version number information; and the download data is a firmware/software upgrade package of the terminal.
  • the first processing module is configured to encode the terminal ID and the URL of the data to be downloaded to generate a second request.
  • an embodiment of the present invention further discloses a download statistics method, which is applied to a server, including: receiving, by a receiving terminal, a first request that carries a terminal ID; and acquiring, according to the first request, a uniform resource locator of data to be downloaded.
  • the step of processing the terminal ID and the URL of the data to be downloaded to generate a download address including the terminal ID includes: encoding the terminal ID and the URL of the data to be downloaded to generate a content The download address of the terminal ID.
  • the embodiment of the present invention further discloses a server, including: a second receiving module, configured to: receive, by the receiving terminal, a first request that carries a terminal ID; and a second acquiring module, configured to obtain, according to the first request, a uniform resource locator URL of the data; the second processing module is configured to process the terminal ID and the URL of the data to be downloaded, generate a download address including the terminal ID, and send the address to the terminal; Determining, by the terminal, a second request that is sent to the server according to the download address; the second sending module is configured to parse the terminal ID from the second request, and record, and download the data corresponding to the URL Send to the terminal.
  • a server including: a second receiving module, configured to: receive, by the receiving terminal, a first request that carries a terminal ID; and a second acquiring module, configured to obtain, according to the first request, a uniform resource locator URL of the data; the second processing module is configured to process the terminal ID and the URL of the data to be downloaded
  • the second processing module is configured to encode the terminal ID and the URL of the data to be downloaded to generate a download address including the terminal ID.
  • the embodiment of the present invention further discloses a downloading statistics method, which is applied to a terminal, where the method includes: sending a first request carrying a terminal ID to a first server; acquiring the first server according to the first And requesting the issued Uniform Resource Locator URL of the data to be downloaded; processing the terminal ID and the URL of the data to be downloaded, generating a second request, and sending the second request to the second server, so that the second server is The terminal ID is parsed and recorded in the second request, and the download data sent by the second server according to the URL of the data to be downloaded is received.
  • the terminal ID includes at least: a device model number, an ID number, and a software version number information; and the download data is a firmware/software upgrade package of the terminal.
  • the step of processing the terminal ID and the URL to be downloaded to generate the second request includes: encoding the terminal ID and the URL of the data to be downloaded, to generate the second request .
  • the first server is the same as the second server; or the first server is a DM server, and the second server is a DL server.
  • the embodiment of the present invention further discloses a terminal, including: a third sending module, configured to send a first request carrying a terminal ID to a first server; and a third obtaining module, configured to acquire the first server according to the a uniform resource locator URL to be downloaded by the first request; a third processing module, configured to process the terminal and the URL of the data to be downloaded, generate a second request, and send the second request to the second server And causing the second server to parse the terminal ID from the second request, and recording; the third receiving module is configured to receive the download data that is sent by the second server according to the URL of the data to be downloaded. .
  • the terminal ID includes at least: a device model number, an ID number, and a software version number information; and the download data is a firmware/software upgrade package of the terminal.
  • the first processing module is configured to encode the terminal ID and the URL of the data to be downloaded to generate the second request.
  • the first server is the same as the second server; or the first server is a DM server, and the second server is a DL server.
  • the embodiment of the present invention further discloses a downloading statistics method, which is applied to a first server, where the method includes: receiving, by a receiving terminal, a first request that carries a terminal ID; and acquiring, according to the first request, data to be downloaded.
  • the step of processing the terminal ID and the URL of the data to be downloaded to generate the download address including the terminal ID includes: encoding the terminal ID and the URL of the data to be downloaded, and generating The download address containing the terminal ID.
  • the first server is a DM server.
  • the embodiment of the present invention further discloses a download statistics method, which is applied to a second server, where the method includes: the second server receives a second request from a terminal, where the second request is in the following manner Generating: after the terminal sends the first request carrying the terminal ID to the first server, receiving the terminal that is generated by the first server and generated according to the terminal ID and the uniform resource locator URL of the data to be downloaded The download address of the ID, the terminal sends the download address to the second server according to the download address containing the terminal ID And the second server parses the terminal ID from the second request, records, and sends the download data corresponding to the URL to the terminal.
  • the first server is the same as the second server; or the first server is a DM server, and the second server is a DL server.
  • the embodiment of the present invention further discloses a DM server, including: a fourth receiving module, configured to receive, by the receiving terminal, a first request that carries the terminal ID; and a fourth acquiring module, configured to acquire, according to the first request, And downloading the uniform resource locator URL of the data; the fourth processing module is configured to process the terminal ID and the URL of the data to be downloaded, generate a download address including the terminal ID, and send the download address to the terminal.
  • the fourth processing module is configured to encode the terminal ID and the URL of the data to be downloaded to generate the download address including the terminal ID.
  • An embodiment of the present invention further discloses a DL server, including: a fifth receiving module, configured to receive a second request from a terminal, where the second request is generated by: sending, by the terminal, a carrying to a DM server After receiving the first request of the terminal ID, receiving, by the DM server, a download address including the terminal ID generated according to the terminal ID and a uniform resource locator URL of the data to be downloaded, the terminal according to the content
  • the downloading address of the terminal ID initiates the second request to the DL server;
  • the fifth sending module is configured to parse the terminal ID from the second request, record, and correspond to the URL
  • the download data is sent to the terminal.
  • FIG. 1 is a flow chart showing a method for downloading statistics of a terminal according to the present invention
  • FIG. 2 is a flow chart showing a first embodiment of a downloading statistical method of the present invention
  • FIG. 3 is a flow chart showing a method for downloading statistics of a server according to the present invention
  • Figure 4 is a flow chart showing a second embodiment of the download statistics method of the present invention.
  • the server delivers the upgrade package url to the terminal, the server does not know which terminal downloads the upgrade package, which is not convenient for the server to correctly count the service effect, and is not conducive to the improvement of the download service.
  • an embodiment of the present invention provides a download statistics method (the embodiment describes a first request and a second request sent to the same server), and is applied to a terminal, where the method includes: Step 11 Sending a first request carrying a terminal ID to the server.
  • the terminal ID includes at least: a device model number, an ID number, and software version number information;
  • Step 12 acquiring the server according to the first request The Uniform Resource Locator URL of the downloaded data to be downloaded;
  • Step 13 processing the terminal ID and the URL of the data to be downloaded, generating a second request, and sending the request to the server, so that the server The terminal ID is parsed and recorded in the second request.
  • the step of processing the terminal ID and the URL of the data to be downloaded to generate the second request may include: The terminal ID and the URL of the data to be downloaded are encoded to generate a second request.
  • FIG. 2 it is a preferred embodiment of a terminal solution for downloading a statistical method of the present invention (this embodiment describes a scheme in which a first request and a second request are sent to different servers (ie, DM and DL servers), The corresponding step description is basically the same as the process shown in FIG.
  • the basic processing method is basically the same as the steps shown in FIG. 1 except for the server, and is not described here.
  • the flowchart is used to describe the downloading statistics method on the server side.
  • the terminal first initiates a first request to the DM server, requests the url of the upgrade package, and then encodes the obtained uri and device ID information into a url (ID), and initiates a download request to the DL server (ie, the second request)
  • the DL server first receives the request from the url (ID)
  • the terminal ID information and the upgrade package url are decoded, and then the download statistics are sent and the corresponding upgrade package is delivered to the terminal.
  • Step S100 The terminal sends an upgrade request to the DM server, and carries the basic information of the terminal (such as the device model, ID number, software version number, etc.) in the request;
  • Step S101 The DM server detects whether there is any If the corresponding upgrade package of the device is executed, step S102 is performed, if no, step S107 is performed;
  • Step S102 the DM server sends the url of the upgrade package to the terminal;
  • Step S104 The terminal initiates a download request to the DL server by using the url (ID);
  • Step S105 The DL server decodes the ID information and the upgrade package url from the url (ID);
  • Step S106 The DL server performs the terminal ID number according to the obtained terminal ID number.
  • Step S107 The process ends.
  • the terminal actively encodes its own ID information into the uri of the upgrade package, and the DL server parses the terminal ID information by using a corresponding method to implement statistics of the download information of the terminal by the DL server.
  • An embodiment of the present invention further discloses a terminal (the embodiment describes a scheme in which the first request and the second request are sent to the same server), including: a first sending module, configured to send, to the server, a terminal ID a first requesting module, configured to acquire a uniform resource locator URL that is to be downloaded by the server according to the first request, and a first processing module, configured to: download the terminal and the to-be-downloaded Processing the URL of the data, generating a second request, and sending the second request to the server, causing the server to parse the terminal ID from the second request, and recording; the first receiving module is configured to receive the server The download data delivered according to the URL of the data to be downloaded.
  • the terminal ID includes at least: a device model, an ID number, and a software version number.
  • the download data is a firmware/software upgrade package of the terminal.
  • the first processing module may be configured to set the terminal ID. Encoding with the URL of the data to be downloaded to generate a second request.
  • the terminal actively encodes the ID information into the url of the upgrade package, and the DL server parses the terminal ID information by using a corresponding method to implement statistics on the download information of the terminal by the DL server.
  • the terminal may also put other necessary information except the ID information into the upgrade package url for use by the DL server. As shown in FIG.
  • an embodiment of the present invention further provides a download statistics method (the embodiment describes a first request and a second request sent to the same server), and is applied to the server, including: Step 21: The receiving terminal sends the first request carrying the terminal ID.
  • the terminal ID includes at least: a device model number, an ID number, and a software version number information.
  • Step 23 processing the terminal ID and the URL of the data to be downloaded, generating a download address including the terminal ID, and transmitting the address to the terminal, and receiving the terminal according to the content Determining, by the download address of the terminal ID, a second request initiated by the server to the server; as a preferred embodiment, processing the terminal ID and the URL of the data to be downloaded to generate a download containing the terminal ID
  • the step of the address may include: encoding the terminal ID and the URL of the data to be downloaded to generate a download address including the terminal ID.
  • Step 24 Parse the terminal ID from the second request, record, and send the download data corresponding to the URL to the terminal, where the download data is a firmware/software upgrade package of the terminal. As shown in FIG.
  • this embodiment describes a scheme in which a first request and a second request are sent to different servers (ie, DM and DL servers),
  • the corresponding step description is basically the same as the process shown in FIG. 3, except that the first request is sent to the DM server in the embodiment, and the second request is sent to the DL server. Only a preferred implementation manner is given below for this case.
  • the basic processing method is basically the same as the steps shown in FIG. 3 except for the server, and is not described here.
  • the flowchart is used to describe the server side download statistics method.
  • the terminal first requests the DM server first.
  • the DM server encodes the terminal ID information and the upgrade package url obtained by the terminal into a url (ID) and sends it to the terminal; the terminal sends a download request to the DL server by using the url (ID) (ie, the above The second request); after receiving the request, the DL server first decodes the terminal ID information and the upgrade package url from the url (ID), and then downloads the statistics and delivers the corresponding upgrade package to the terminal.
  • Step S200 The terminal sends an upgrade request to the DM server, and brings the terminal basic information (such as the device model, ID number, software version number, etc.) in the request;
  • Step S201 The DM server detects whether there is any If the corresponding upgrade package of the device is performed, the process proceeds to step S202. If no, the process proceeds to step S206.
  • Step S202 The DM server encodes the terminal ID information and the upgrade package url obtained by the terminal into a uri (ID) and sends the message to the terminal.
  • ID the terminal ID information obtained by the terminal into a uri
  • Step S203 The terminal initiates a download request to the DL server by using a url (ID);
  • Step S204 The DL server decodes the ID information and the upgrade package url from the url (ID);
  • Step S205 The DL server performs download statistics according to the acquired terminal ID information, And sending a corresponding upgrade package to the terminal;
  • Step S206 The process ends.
  • the terminal actively encodes the ID information into the url of the upgrade package, and the DL server encodes the terminal ID information and the upgrade package url into a url (ID) and sends the url (ID) to the terminal, and further After receiving the download request of the terminal, the terminal ID information is parsed by using a corresponding method to implement statistics of the download information of the terminal by the DL server.
  • An embodiment of the present invention further discloses a server (the embodiment describes a first request and a second request sent to the same server), and includes: a second receiving module, configured to receive, by the receiving terminal, a terminal ID a second requesting module, configured to acquire a uniform resource locator URL of the data to be downloaded according to the first request, and a second processing module configured to perform the terminal ID and the URL of the data to be downloaded Processing, generating a download address containing the terminal ID, and transmitting the same to the terminal; receiving a second request initiated by the terminal to the server according to the download address containing the terminal ID; The second sending module is configured to parse the terminal ID from the second request, record, and send the download data corresponding to the URL to the terminal.
  • the second processing module may be configured to encode the terminal ID and the URL of the data to be downloaded to generate a download address including the terminal ID.
  • the terminal ID information and the upgrade package url are encoded into a url (ID) and sent to the terminal, and after further receiving the download request of the terminal, the terminal ID information is parsed by using a corresponding method to implement the DL server pair.
  • Statistics of terminal download information In the above-described embodiment of the download statistics method and terminal applied to the server, the terminal may also put other necessary information except the ID information into the upgrade package url for use by the DL server.
  • the main idea of the present application is to carry information in the second request that can reflect the terminal ID.
  • the second request is generated by the terminal according to the URL and the terminal ID.
  • the URL and the terminal ID are generated by the server to generate a download address containing the terminal ID.
  • the servers involved in the first request and the second request may be the same server or different servers.
  • the following embodiments respectively name the servers as the first server and The second server, wherein the first server and the second server may be the same or different (for example, the first server is a DM server, and the second server is a DL server). The details are described below.
  • the embodiment of the present invention provides a method for downloading statistics, which is applied to a terminal, where the method includes: sending a first request carrying a terminal ID to a first server; and acquiring the first server according to the first request Sending a uniform resource locator URL of the data to be downloaded; processing the terminal ID and the URL of the data to be downloaded, generating a second request, and transmitting the second request to the second server, so that the second server is from the
  • the terminal ID is parsed and recorded in the second request, and the download data sent by the second server according to the URL of the data to be downloaded is received.
  • the terminal ID at least includes: a device model number, an ID number, and software version number information; and the download data is a firmware/software upgrade package of the terminal.
  • the step of processing the terminal ID and the URL to be downloaded to generate the second request includes: encoding the terminal ID and the URL of the data to be downloaded, Generating the second request.
  • the first server is the same as the second server; or the first server is a DM server, and the second server is a DL server.
  • the embodiment of the present invention provides a terminal, including: a third sending module, configured to send a first request carrying a terminal ID to a first server; and a third acquiring module, configured to acquire the first a uniform resource locator URL to be downloaded by the server according to the first request; the third processing module is configured to process the terminal and the URL of the data to be downloaded, generate a second request, and send Giving the second server, causing the second server to parse the terminal ID from the second request, and recording; the third receiving module is configured to receive the second server according to the URL to be downloaded according to the URL Send download data.
  • the terminal ID at least includes: a device model number, an ID number, and software version number information; and the download data is a firmware/software upgrade package of the terminal.
  • the first processing module is configured to encode the terminal ID and the URL of the data to be downloaded to generate the second request.
  • the first server is the same as the second server; or the first server is a DM server, and the second server is a DL server.
  • the embodiment of the present invention further provides a downloading statistics method, which is applied to a first server, where the method includes: receiving, by the receiving terminal, a first request that carries a terminal ID; and acquiring, according to the first request, the data to be downloaded.
  • the step of processing the terminal ID and the URL of the data to be downloaded to generate the download address including the terminal ID includes: the terminal ID and the data to be downloaded
  • the URL is encoded to generate the download address containing the terminal ID.
  • the first server is a DM server.
  • the embodiment of the present invention further provides a DM server, including: a fourth receiving module, configured to receive, by the receiving terminal, a first request that carries the terminal ID; and a fourth acquiring module, configured to be configured according to the a request, obtaining a uniform resource locator URL of the data to be downloaded; a fourth processing module, configured to process the terminal ID and the URL of the data to be downloaded, generate a download address including the terminal ID, and send the The terminal.
  • the fourth processing module is configured to encode the terminal ID and the URL of the data to be downloaded to generate the download address including the terminal ID.
  • the embodiment of the present invention further provides a downloading statistics method, which is applied to a second server, where the method includes: the second server receives a second request from a terminal, where the second request is generated by: After the terminal sends the first request carrying the terminal ID to the first server, the terminal receives the terminal ID generated by the first server according to the terminal ID and the uniform resource locator URL of the data to be downloaded.
  • the downloading address the terminal initiating the second request to the second server according to the download address containing the terminal ID; the second server parsing the terminal ID from the second request, And recording, and sending the download data corresponding to the URL to the terminal.
  • the first server is the same as the second server; or the first server is a DM server, and the second server is a DL server.
  • the embodiment of the present invention further provides a DL server, including: a fifth receiving module, configured to receive a second request from a terminal, where the second request is generated by: After transmitting the first request carrying the terminal ID, the DM server receives a download address that is generated by the DM server and is generated according to the terminal ID and a uniform resource locator URL of the data to be downloaded, and the terminal And sending the second request to the DL server according to the download address that includes the terminal ID; and the fifth sending module is configured to parse the terminal ID from the second request, record, and record The download data corresponding to the URL is sent to the terminal.
  • a DL server including: a fifth receiving module, configured to receive a second request from a terminal, where the second request is generated by: After transmitting the first request carrying the terminal ID, the DM server receives a download address that is generated by the DM server and is generated according to the terminal ID and a uniform resource locator URL of the data to be downloaded, and the terminal And sending the second request to the DL
  • the downloading statistics method, the terminal and the server according to the above embodiments of the present invention facilitate the server to perform statistics on the detailed information of the download terminal, and are also beneficial for improving the download service.
  • the above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Landscapes

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

Abstract

本发明提供一种下载统计方法、终端和服务器,其中该方法包括:向服务器发送携带有终端ID的第一请求;获取所述服务器根据所述第一请求下发的欲下载数据的统一资源定位符URL;将所述终端ID和所述欲下载数据的URL进行处理,生成第二请求,并发送给所述服务器,使所述服务器从所述第二请求中解析出所述终端ID,并记录;接收所述服务器根据所述欲下载数据的URL下发的下载数据。本发明的方案便于服务器对下载终端的详细信息进行统计,也有利于对下载服务进行改进。

Description

一种下载统计方法、 终端和服务器 技术领域 本发明涉及通信领域, 特别是指一种下载统计方法、 终端和服务器。 背景技术 随着网络技术的飞速发展, 基于 C/S模式 (Client/Server mode, 即, 客户端 /服务 器模式) 的数据服务方式被广泛使用, 服务提供商常常将数据放置于指定服务器上供 相应终端设备(客户端)下载。在移动通信领域, 运营商通常将旗下移动终端设备(手 机、 数据卡、 平板电脑等) 的固件 /软件升级包放置于专用服务器上供终端下载。 移动 通信领域常用的 OMA-DM和 DL协议下载固件 /软件升级包流程为: 1.终端向 DM服务器发起 DM会话请求,在 DM会话报文中带上自己的 ID号(通 常为 IMEI号);
2. DM服务器通过 DM会话报文将相应的 DL服务器地址 (升级包 url) 下发到 移动终端;
3. 移动终端连接到 DL服务器进行下载。 这种方法的一个局限性是 DM服务器下发升级包 url给终端之后, DL服务器不知 道最终哪些终端下载了升级包, 不便于 DL服务器对服务效果进行正确统计, 也不利 于对下载服务进行改进。 发明内容 本发明要解决的技术问题是提供一种下载统计方法、 终端和服务器, 便于服务器 对下载终端详细信息进行统计, 也利于对下载服务进行改进。 为解决上述技术问题, 本发明的实施例提供一种下载统计方法, 应用于终端, 包 括- 向服务器发送携带有终端 ID的第一请求; 获取所述服务器根据所述第一请求下发的欲下载数据的统一资源定位符 URL; 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成第二请求, 并发送给所 述服务器, 使所述服务器从所述第二请求中解析出所述终端 ID, 并记录; 接收所述服务器根据所述欲下载数据的 URL下发的下载数据。 其中, 所述终端 ID至少包括: 设备型号、 ID号、 软件版本号信息; 所述下载数 据为所述终端的固件 /软件升级包。 其中, 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成第二请求的步骤 包括: 将所述终端 ID和所述欲下载数据的 URL进行编码, 生成第二请求。 本发明的实施例还公开了一种终端, 包括: 第一发送模块, 设置为向服务器发送携带有终端 ID的第一请求; 第一获取模块, 设置为获取所述服务器根据所述第一请求下发的欲下载数据的统 一资源定位符 URL; 第一处理模块, 设置为将所述终端和所述欲下载数据的 URL进行处理, 生成第二 请求, 并发送给所述服务器, 使所述服务器从所述第二请求中解析出所述终端 ID, 并 记录; 第一接收模块,设置为接收所述服务器根据所述欲下载数据的 URL下发的下载数 据。 其中, 所述终端 ID至少包括: 设备型号、 ID号、 软件版本号信息; 所述下载数 据为所述终端的固件 /软件升级包。 其中, 所述第一处理模块设置为将所述终端 ID和所述欲下载数据的 URL进行编 码, 生成第二请求。 此外, 本发明的实施例还公开了一种下载统计方法, 应用于服务器, 包括: 接收终端发送携带有终端 ID的第一请求; 根据所述第一请求, 获取欲下载数据的统一资源定位符 URL; 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成含有所述终端 ID的下 载地址,并发送给所述终端;接收所述终端根据含有所述终端 ID的下载地址向所述服 务器发起的第二请求; 从所述第二请求中解析出所述终端 ID, 并记录, 并将所述 URL对应的下载数据 发送给终端。 其中, 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成含有所述终端 ID 的下载地址的步骤包括: 将所述终端 ID和所述欲下载数据的 URL进行编码, 生成含有所述终端 ID的下 载地址。 本发明的实施例还公开了一种服务器, 包括: 第二接收模块, 设置为接收终端发送携带有终端 ID的第一请求; 第二获取模块, 设置为根据所述第一请求, 获取欲下载数据的统一资源定位符 URL; 第二处理模块, 设置为将所述终端 ID和所述欲下载数据的 URL进行处理, 生成 含有所述终端 ID的下载地址,并发送给所述终端;接收所述终端根据所述下载地址向 所述服务器发起的第二请求; 第二发送模块, 设置为从所述第二请求中解析出所述终端 ID, 并记录, 并将所述 URL对应的下载数据发送给终端。 其中, 所述第二处理模块设置为将所述终端 ID和所述欲下载数据的 URL进行编 码, 生成含有所述终端 ID的下载地址。 本发明的实施例还公开了一种下载统计方法, 应用于终端, 其中, 所述方法包括: 向第一服务器发送携带有终端 ID的第一请求;获取所述第一服务器根据所述第一请求 下发的欲下载数据的统一资源定位符 URL; 将所述终端 ID和所述欲下载数据的 URL 进行处理, 生成第二请求, 并发送给第二服务器, 使所述第二服务器从所述第二请求 中解析出所述终端 ID, 并记录; 接收所述第二服务器根据所述欲下载数据的 URL下 发的下载数据。 其中, 所述终端 ID至少包括: 设备型号、 ID号、 软件版本号信息; 所述下载数 据为所述终端的固件 /软件升级包。 其中, 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成所述第二请求的 步骤包括: 将所述终端 ID和所述欲下载数据的 URL进行编码, 生成所述第二请求。 其中, 所述第一服务器与所述第二服务器相同; 或者, 所述第一服务器为 DM服 务器, 所述第二服务器为 DL服务器。 本发明的实施例还公开了一种终端, 包括: 第三发送模块, 设置为向第一服务器 发送携带有终端 ID的第一请求;第三获取模块,设置为获取所述第一服务器根据所述 第一请求下发的欲下载数据的统一资源定位符 URL; 第三处理模块, 设置为将所述终 端和所述欲下载数据的 URL进行处理, 生成第二请求, 并发送给第二服务器, 使所述 第二服务器从所述第二请求中解析出所述终端 ID, 并记录; 第三接收模块, 设置为接 收所述第二服务器根据所述欲下载数据的 URL下发的下载数据。 其中, 所述终端 ID至少包括: 设备型号、 ID号、 软件版本号信息; 所述下载数 据为所述终端的固件 /软件升级包。 其中, 所述第一处理模块设置为将所述终端 ID和所述欲下载数据的 URL进行编 码, 生成所述第二请求。 其中, 所述第一服务器与所述第二服务器相同; 或者, 所述第一服务器为 DM服 务器, 所述第二服务器为 DL服务器。 本发明的实施例还公开了一种下载统计方法, 应用于第一服务器, 其中, 所述方 法包括: 接收终端发送携带有终端 ID的第一请求; 根据所述第一请求, 获取欲下载数 据的统一资源定位符 URL; 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成 含有所述终端 ID的下载地址, 并发送给所述终端。 其中, 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成所述含有所述终 端 ID的下载地址的步骤包括: 将所述终端 ID和所述欲下载数据的 URL进行编码, 生成所述含有所述终端 ID的下载地址。 其中, 所述第一服务器为 DM服务器。 本发明的实施例还公开了一种下载统计方法, 应用于第二服务器, 其中, 所述方 法包括: 所述第二服务器接收来自终端的第二请求, 其中, 所述第二请求通过以下方 式产生:所述终端向第一服务器发送携带有终端 ID的第一请求后,接收所述第一服务 器发来的根据所述终端 ID和欲下载数据的统一资源定位符 URL生成的含有所述终端 ID的下载地址, 所述终端根据所述含有所述终端 ID的下载地址向所述第二服务器发 起所述第二请求; 所述第二服务器从所述第二请求中解析出所述终端 ID, 并记录, 并 将所述 URL对应的下载数据发送给所述终端。 其中, 所述第一服务器与所述第二服务器相同; 或者, 所述第一服务器为 DM服 务器, 所述第二服务器为 DL服务器。 本发明的实施例还公开了一种 DM服务器, 包括: 第四接收模块, 设置为接收终 端发送携带有终端 ID的第一请求; 第四获取模块, 设置为根据所述第一请求, 获取欲 下载数据的统一资源定位符 URL; 第四处理模块, 设置为将所述终端 ID和所述欲下 载数据的 URL进行处理, 生成含有所述终端 ID的下载地址, 并发送给所述终端。 其中, 所述第四处理模块设置为将所述终端 ID和所述欲下载数据的 URL进行编 码, 生成所述含有所述终端 ID的下载地址。 本发明的实施例还公开了一种 DL服务器, 包括: 第五接收模块, 设置为接收来 自终端的第二请求, 其中, 所述第二请求通过以下方式产生: 所述终端向 DM服务器 发送携带有终端 ID的第一请求后, 接收所述 DM服务器发来的根据所述终端 ID和欲 下载数据的统一资源定位符 URL生成的含有所述终端 ID的下载地址, 所述终端根据 所述含有所述终端 ID的下载地址向所述 DL服务器发起所述第二请求;第五发送模块, 设置为从所述第二请求中解析出所述终端 ID, 并记录, 并将所述 URL对应的下载数 据发送给终端。 本发明的上述技术方案的有益效果如下: 本发明实施例的下载统计方法, 终端和服务器, 便于服务器对下载终端详细信息 进行正确统计, 也有利于对下载服务进行改进。 附图说明 图 1表示本发明的应用于终端下载统计方法的流程图; 图 2表示本发明的下载统计方法第一实施例的流程图; 图 3表示本发明的应用于服务器下载统计方法的流程图; 图 4表示本发明的下载统计方法第二实施例的流程图。 具体实施方式 为使本发明要解决的技术问题、 技术方案和优点更加清楚, 下面将结合附图及具 体实施例进行详细描述。 本发明实施例针对现有的服务器下发升级包 url给终端之后, 服务器不知道最终 哪些终端下载了升级包, 不便于服务器对服务效果进行正确统计, 也不利于对下载服 务进行改进的问题, 提供了一种下载统计方法, 终端和服务器。 如图 1所示, 本发明的实施例提供了一种下载统计方法 (该实施例描述了第一请 求和第二请求发向相同的服务器的方案), 应用于终端, 该方法包括: 步骤 11 : 向服务器发送携带有终端 ID的第一请求, 优选地, 所述终端 ID至少包 括: 设备型号 (Model)、 ID号、 软件版本号信息; 步骤 12: 获取所述服务器根据所述第一请求下发的欲下载数据的统一资源定位符 URL; 步骤 13: 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成第二请求, 并 发送给所述服务器, 使所述服务器从所述第二请求中解析出所述终端 ID, 并记录; 作为一种优选的实施方式, 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成第二请求的步骤可以包括: 将所述终端 ID和所述欲下载数据的 URL进行编码, 生成第二请求。 步骤 14: 接收所述服务器根据所述欲下载数据的 URL下发的下载数据, 其中, 所述下载数据为所述终端的固件 /软件升级包。 如图 2所示, 是本发明的一种下载统计方法的终端解决方案优选实施例 (该实施 例描述了第一请求和第二请求发向不同的服务器 (即 DM和 DL服务器) 的方案, 对 应的步骤描述与图 1所示流程基本一致, 区别仅仅在于本实施例中第一请求发向 DM 服务器, 第二请求发向 DL服务器, 以下仅仅针对此种情况给出一种优选的实施方式, 基本的处理方法除了服务器不同之外, 与图 1所示步骤基本一致, 在此不再赘述) 的 流程图, 用于描述服务器侧的下载统计方法。 本实施例中, 终端先向 DM服务器发起 第一请求, 请求升级包的 url, 然后将获得 uri与设备 ID信息编码成 url (ID), 并向 DL服务器发起下载请求(即上述第二请求); DL服务器在收到请求后, 先从 url (ID) 中解码出终端 ID信息和升级包 url, 然后进行下载统计和下发相应升级包给终端。 本 实施例包括以下步骤: 步骤 S100: 终端向 DM服务器发送升级请求, 并在请求中带上终端基本信息(如 设备型号、 ID号、 软件版本号等); 步骤 S101 : DM服务器检测有无针对该设备的对应升级包, 有则执行步骤 S102, 无则执行步骤 S107; 步骤 S102: DM服务器将升级包的 url发送给终端; 步骤 S103: 终端将自身 ID信息和升级包 url编码成 url (ID); 步骤 S104: 终端用 url (ID) 向 DL服务器发起下载请求; 步骤 S105: DL服务器从 url(ID)中解码出 ID信息和升级包 url; 步骤 S106: DL服务器根据获取的终端 ID号进行下载统计, 并下发相应升级包给 终端; 步骤 S 107: 流程结束。 本发明的上述实施例由终端主动将自身 ID信息编码进升级包的 uri, DL服务器采 用相应方法解析出终端 ID信息来实现 DL服务器对终端下载信息的统计。 本发明的实施例还公开了一种终端 (该实施例描述了第一请求和第二请求发向相 同的服务器的方案), 包括: 第一发送模块, 设置为向服务器发送携带有终端 ID的第一请求; 第一获取模块, 设置为获取所述服务器根据所述第一请求下发的欲下载数据的统 一资源定位符 URL; 第一处理模块, 设置为将所述终端和所述欲下载数据的 URL进行处理, 生成第二 请求, 并发送给所述服务器, 使所述服务器从所述第二请求中解析出所述终端 ID, 并 记录; 第一接收模块,设置为接收所述服务器根据所述欲下载数据的 URL下发的下载数 据。 其中, 所述终端 ID至少包括: 设备型号、 ID号、 软件版本号信息所述下载数据 为所述终端的固件 /软件升级包; 其中, 所述第一处理模块可以设置为将所述终端 ID和所述欲下载数据的 URL进 行编码, 生成第二请求。 上述应用于终端的实施例中, 由终端主动将自身 ID信息编码进升级包的 url, DL 服务器采用相应方法解析出终端 ID信息来实现 DL服务器对终端下载信息的统计。 在上述的应用于终端的下载统计方法及终端的实施例中,终端也可以将除 ID信息 之外的其他必要信息一并放入升级包 url中供 DL服务器使用。 如图 3所示, 本发明的实施例还提供了一种下载统计方法 (该实施例描述了第一 请求和第二请求发向相同的服务器的方案), 应用于服务器, 包括: 步骤 21 : 接收终端发送携带有终端 ID的第一请求, 优选地, 所述终端 ID至少包 括: 设备型号 (Model)、 ID号、 软件版本号信息; 步骤 22: 根据所述第一请求, 获取欲下载数据的统一资源定位符 URL; 步骤 23: 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成含有所述终端 ID的下载地址, 并发送给所述终端, 接收所述终端根据含有所述终端 ID的所述下载 地址向所述服务器发起的第二请求; 作为一种优选的实施方式, 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成含有所述终端 ID的下载地址的步骤可以包括: 将所述终端 ID和所述欲下载数据的 URL进行编码, 生成含有所述终端 ID的下 载地址。 步骤 24: 从所述第二请求中解析出所述终端 ID, 并记录, 并将所述 URL对应的 下载数据发送给终端, 其中, 所述下载数据为所述终端的固件 /软件升级包。 如图 4所示, 是本发明的一种下载统计方法的服务器解决方案优选实施例 (该实 施例描述了第一请求和第二请求发向不同的服务器 (即 DM和 DL服务器) 的方案, 对应的步骤描述与图 3所示流程基本一致,区别仅仅在于本实施例中第一请求发向 DM 服务器, 第二请求发向 DL服务器, 以下仅仅针对此种情况给出一种优选的实施方式, 基本的处理方法除了服务器不同之外, 与图 3所示步骤基本一致, 在此不再赘述) 的 流程图, 用于描述服务器侧下载统计方法。 本实施例中, 终端先向 DM服务器第一请 求, 请求升级包的 url; DM服务器将从终端获取的终端 ID信息和升级包 url—起编码 成 url (ID) 下发给终端; 终端用 url (ID) 向 DL服务器发出下载请求 (即上述第二 请求); DL服务器在收到请求后, 先从 url (ID) 中解码出终端 ID信息和升级包 url, 然后进行下载统计和下发相应升级包给终端。 本实施例包括以下步骤: 步骤 S200: 终端向 DM服务器发送升级请求, 并在请求中带上终端基本信息(如 设备型号、 ID号、 软件版本号等); 步骤 S201 : DM服务器检测有无针对该设备的对应升级包, 有则执行步骤 S202, 无则执行步骤 S206; 步骤 S202: DM服务器将从终端获取的终端 ID信息和升级包 url—起编码成 uri (ID) 下发给终端; 步骤 S203: 终端用 url (ID) 向 DL服务器发起下载请求; 步骤 S204: DL服务器从 url(ID)中解码出 ID信息和升级包 url; 步骤 S205: DL服务器根据获取的终端 ID信息进行下载统计, 并下发相应升级包 给终端; 步骤 S206: 流程结束。 上述应用于服务器的下载统计方法实施例中,由终端主动将自身 ID信息编码进升 级包的 url, DL服务器将终端 ID信息与升级包 url编码成 url (ID)下发给终端, 并在 进一步收到终端的下载请求后,采用相应方法解析出终端 ID信息来实现 DL服务器对 终端下载信息的统计。 本发明的实施例还公开了一种服务器 (该实施例描述了第一请求和第二请求发向 相同的服务器的方案), 包括: 第二接收模块, 设置为接收终端发送携带有终端 ID的第一请求; 第二获取模块, 设置为根据所述第一请求, 获取欲下载数据的统一资源定位符 URL; 第二处理模块, 设置为将所述终端 ID和所述欲下载数据的 URL进行处理, 生成 含有所述终端 ID 的下载地址, 并发送给所述终端; 接收所述终端根据含有所述终端 ID的所述下载地址向所述服务器发起的第二请求; 第二发送模块, 设置为从所述第二请求中解析出所述终端 ID, 并记录, 并将所述 URL对应的下载数据发送给终端。 其中, 所述第二处理模块可以设置为将所述终端 ID和所述欲下载数据的 URL进 行编码, 生成含有所述终端 ID的下载地址。 上述服务器的实施例, 通过将终端 ID信息与升级包 url编码成 url (ID)下发给终 端, 并在进一步收到终端的下载请求后, 采用相应方法解析出终端 ID信息来实现 DL 服务器对终端下载信息的统计。 在上述的应用于服务器的下载统计方法及终端的实施例中,终端也可以将除 ID信 息之外的其他必要信息一并放入升级包 url中供 DL服务器使用。 从以上的实施例可以看出, 本申请的主要构思在于在第二请求中携带能够体现终 端 ID的信息, 这种信息在一系列实施例中, 是通过终端根据 URL和终端 ID生成第 二请求来实现的, 在另一系列实施例中, 是通过服务器将 URL和终端 ID生成含有终 端 ID的下载地址来实现的。在这两个系列的实施例中,第一请求和第二请求所涉及的 服务器可以是同一种服务器, 也可以是不同种服务器, 为了描述方便, 以下实施例将 服务器分别命名为第一服务器和第二服务器, 其中, 第一服务器与第二服务器可以相 同, 也可以不同 (例如, 第一服务器为 DM服务器, 第二服务器为 DL服务器)。 以下 进行详细描述。 本发明实施例提供了一种下载统计方法, 应用于终端, 其中, 所述方法包括: 向 第一服务器发送携带有终端 ID的第一请求;获取所述第一服务器根据所述第一请求下 发的欲下载数据的统一资源定位符 URL;将所述终端 ID和所述欲下载数据的 URL进 行处理, 生成第二请求, 并发送给第二服务器, 使所述第二服务器从所述第二请求中 解析出所述终端 ID, 并记录; 接收所述第二服务器根据所述欲下载数据的 URL下发 的下载数据。 优选地, 所述终端 ID至少包括: 设备型号、 ID号、 软件版本号信息; 所述下载 数据为所述终端的固件 /软件升级包。 作为一种优选的实施方式, 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成所述第二请求的步骤包括: 将所述终端 ID和所述欲下载数据的 URL进行编码, 生成所述第二请求。 优选地, 所述第一服务器与所述第二服务器相同; 或者, 所述第一服务器为 DM 服务器, 所述第二服务器为 DL服务器。 对应于以上的方法, 本发明实施例提供了一种终端, 包括: 第三发送模块, 设置 为向第一服务器发送携带有终端 ID的第一请求;第三获取模块,设置为获取所述第一 服务器根据所述第一请求下发的欲下载数据的统一资源定位符 URL; 第三处理模块, 设置为将所述终端和所述欲下载数据的 URL进行处理, 生成第二请求, 并发送给第二 服务器, 使所述第二服务器从所述第二请求中解析出所述终端 ID, 并记录; 第三接收 模块, 设置为接收所述第二服务器根据所述欲下载数据的 URL下发的下载数据。 优选地, 所述终端 ID至少包括: 设备型号、 ID号、 软件版本号信息; 所述下载 数据为所述终端的固件 /软件升级包。 优选地, 所述第一处理模块设置为将所述终端 ID和所述欲下载数据的 URL进行 编码, 生成所述第二请求。 优选地, 所述第一服务器与所述第二服务器相同; 或者, 所述第一服务器为 DM 服务器, 所述第二服务器为 DL服务器。 本发明实施例还提供了一种下载统计方法, 应用于第一服务器, 其中, 所述方法 包括: 接收终端发送携带有终端 ID的第一请求; 根据所述第一请求, 获取欲下载数据 的统一资源定位符 URL; 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成含 有所述终端 ID的下载地址, 并发送给所述终端。 作为一种优选的实施方式, 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成所述含有所述终端 ID的下载地址的步骤包括: 将所述终端 ID和所述欲下载数据 的 URL进行编码, 生成所述含有所述终端 ID的下载地址。 优选地, 所述第一服务器为 DM服务器。 对应于以上的方法, 本发明实施例还提供了一种 DM服务器, 包括: 第四接收模 块, 设置为接收终端发送携带有终端 ID的第一请求; 第四获取模块, 设置为根据所述 第一请求, 获取欲下载数据的统一资源定位符 URL; 第四处理模块, 设置为将所述终 端 ID和所述欲下载数据的 URL进行处理, 生成含有所述终端 ID的下载地址, 并发 送给所述终端。 作为一种优选地实施方式,所述第四处理模块设置为将所述终端 ID和所述欲下载 数据的 URL进行编码, 生成所述含有所述终端 ID的下载地址。 本发明实施例还提供了一种下载统计方法, 应用于第二服务器, 其中, 所述方法 包括: 所述第二服务器接收来自终端的第二请求, 其中, 所述第二请求通过以下方式 产生:所述终端向第一服务器发送携带有终端 ID的第一请求后,接收所述第一服务器 发来的根据所述终端 ID和欲下载数据的统一资源定位符 URL生成的含有所述终端 ID 的下载地址,所述终端根据所述含有所述终端 ID的下载地址向所述第二服务器发起所 述第二请求; 所述第二服务器从所述第二请求中解析出所述终端 ID, 并记录, 并将所 述 URL对应的下载数据发送给所述终端。 优选地, 所述第一服务器与所述第二服务器相同; 或者, 所述第一服务器为 DM 服务器, 所述第二服务器为 DL服务器。 对应于以上方法, 本发明实施例还提供了一种 DL服务器, 包括: 第五接收模块, 设置为接收来自终端的第二请求, 其中, 所述第二请求通过以下方式产生: 所述终端 向 DM服务器发送携带有终端 ID的第一请求后, 接收所述 DM服务器发来的根据所 述终端 ID和欲下载数据的统一资源定位符 URL生成的含有所述终端 ID的下载地址, 所述终端根据所述含有所述终端 ID的下载地址向所述 DL服务器发起所述第二请求; 第五发送模块, 设置为从所述第二请求中解析出所述终端 ID, 并记录, 并将所述 URL 对应的下载数据发送给终端。 本发明上述实施例所述的下载统计方法, 终端和服务器, 便于服务器对下载终端 的详细信息进行统计, 也有利于对下载服务进行改进。 以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普通技术人员 来说, 在不脱离本发明所述原理的前提下, 还可以作出若干改进和润饰, 这些改进和 润饰也应视为本发明的保护范围。

Claims

权 利 要 求 书
1. 一种下载统计方法, 应用于终端, 其中, 所述方法包括:
向服务器发送携带有终端 ID的第一请求;
获取所述服务器根据所述第一请求下发的欲下载数据的统一资源定位符 URL;
将所述终端 ID和所述欲下载数据的 URL进行处理, 生成第二请求, 并发 送给所述服务器,使所述服务器从所述第二请求中解析出所述终端 ID,并记录; 接收所述服务器根据所述欲下载数据的 URL下发的下载数据。
2. 根据权利要求 1所述的下载统计方法, 其中, 所述终端 ID至少包括: 设备型 号、 ID号、 软件版本号信息; 所述下载数据为所述终端的固件 /软件升级包。
3. 根据权利要求 1所述的下载统计方法, 其中, 将所述终端 ID和所述欲下载数 据的 URL进行处理, 生成第二请求的步骤包括:
将所述终端 ID和所述欲下载数据的 URL进行编码, 生成第二请求。
4. 一种终端, 包括:
第一发送模块, 设置为向服务器发送携带有终端 ID的第一请求; 第一获取模块, 设置为获取所述服务器根据所述第一请求下发的欲下载数 据的统一资源定位符 URL;
第一处理模块,设置为将所述终端和所述欲下载数据的 URL进行处理,生 成第二请求, 并发送给所述服务器, 使所述服务器从所述第二请求中解析出所 述终端 ID, 并记录; 第一接收模块,设置为接收所述服务器根据所述欲下载数据的 URL下发的 下载数据。
5. 根据权利要求 4所述的终端, 其中, 所述终端 ID至少包括: 设备型号、 ID号、 软件版本号信息; 所述下载数据为所述终端的固件 /软件升级包。
6. 根据权利要求 4 所述的终端, 其中, 所述第一处理模块设置为将所述终端 ID 和所述欲下载数据的 URL进行编码, 生成第二请求。
7. 一种下载统计方法, 应用于服务器, 其中, 所述方法包括:
接收终端发送携带有终端 ID的第一请求;
根据所述第一请求, 获取欲下载数据的统一资源定位符 URL; 将所述终端 ID和所述欲下载数据的 URL进行处理,生成含有所述终端 ID 的下载地址, 并发送给所述终端; 接收所述终端根据所述含有所述终端 ID 的 下载地址向所述服务器发起的第二请求;
从所述第二请求中解析出所述终端 ID, 并记录, 并将所述 URL对应的下 载数据发送给终端。
8. 根据权利要求 7所述的下载统计方法, 其中, 将所述终端 ID和所述欲下载数 据的 URL进行处理, 生成所述含有所述终端 ID的下载地址的步骤包括:
将所述终端 ID和所述欲下载数据的 URL进行编码, 生成所述含有所述终 端 ID的下载地址。
9. 一种服务器, 包括:
第二接收模块, 设置为接收终端发送携带有终端 ID的第一请求; 第二获取模块, 设置为根据所述第一请求, 获取欲下载数据的统一资源定 位符 URL;
第二处理模块,设置为将所述终端 ID和所述欲下载数据的 URL进行处理, 生成含有所述终端 ID 的下载地址, 并发送给所述终端; 接收所述终端根据所 述含有所述终端 ID的下载地址向所述服务器发起的第二请求;
第二发送模块, 设置为从所述第二请求中解析出所述终端 ID, 并记录, 并 将所述 URL对应的下载数据发送给终端。
10. 根据权利要求 9所述的服务器, 其中, 所述第二处理模块设置为将所述终端 ID 和所述欲下载数据的 URL进行编码, 生成所述含有所述终端 ID的下载地址。
11. 一种下载统计方法, 应用于终端, 其中, 所述方法包括:
向第一服务器发送携带有终端 ID的第一请求;
获取所述第一服务器根据所述第一请求下发的欲下载数据的统一资源定位 符 URL; 将所述终端 ID和所述欲下载数据的 URL进行处理, 生成第二请求, 并发 送给第二服务器, 使所述第二服务器从所述第二请求中解析出所述终端 ID, 并 记录;
接收所述第二服务器根据所述欲下载数据的 URL下发的下载数据。
12. 根据权利要求 11所述的下载统计方法, 其中, 所述终端 ID至少包括: 设备型 号、 ID号、 软件版本号信息; 所述下载数据为所述终端的固件 /软件升级包。
13. 根据权利要求 11所述的下载统计方法, 其中, 将所述终端 ID和所述欲下载数 据的 URL进行处理, 生成所述第二请求的步骤包括:
将所述终端 ID和所述欲下载数据的 URL进行编码, 生成所述第二请求。
14. 根据权利要求 11-13 中任一项所述的方法, 其中, 所述第一服务器与所述第二 服务器相同; 或者, 所述第一服务器为 DM服务器, 所述第二服务器为 DL服 务器。
15. 一种终端, 包括:
第三发送模块, 设置为向第一服务器发送携带有终端 ID的第一请求; 第三获取模块, 设置为获取所述第一服务器根据所述第一请求下发的欲下 载数据的统一资源定位符 URL;
第三处理模块,设置为将所述终端和所述欲下载数据的 URL进行处理,生 成第二请求, 并发送给第二服务器, 使所述第二服务器从所述第二请求中解析 出所述终端 ID, 并记录; 第三接收模块, 设置为接收所述第二服务器根据所述欲下载数据的 URL 下发的下载数据。
16. 根据权利要求 15所述的终端,其中,所述终端 ID至少包括: 设备型号、 ID号、 软件版本号信息; 所述下载数据为所述终端的固件 /软件升级包。
17. 根据权利要求 15所述的终端, 其中, 所述第一处理模块设置为将所述终端 ID 和所述欲下载数据的 URL进行编码, 生成所述第二请求。
18. 根据权利要求 15-17中任一项所述的终端, 其中, 所述第一服务器与所述第二 服务器相同; 或者, 所述第一服务器为 DM服务器, 所述第二服务器为 DL服 务器。
19. 一种下载统计方法, 应用于第一服务器, 其中, 所述方法包括: 接收终端发送携带有终端 ID的第一请求;
根据所述第一请求, 获取欲下载数据的统一资源定位符 URL; 将所述终端 ID和所述欲下载数据的 URL进行处理,生成含有所述终端 ID 的下载地址, 并发送给所述终端。
20. 根据权利要求 19所述的下载统计方法, 其中, 将所述终端 ID和所述欲下载数 据的 URL进行处理, 生成所述含有所述终端 ID的下载地址的步骤包括:
将所述终端 ID和所述欲下载数据的 URL进行编码, 生成所述含有所述终 端 ID的下载地址。
21. 根据权利要求 19或 20所述的下载统计方法, 其中, 所述第一服务器为 DM服 务器。
22. 一种下载统计方法, 应用于第二服务器, 其中, 所述方法包括:
所述第二服务器接收来自终端的第二请求, 其中, 所述第二请求通过以下 方式产生: 所述终端向第一服务器发送携带有终端 ID 的第一请求后, 接收所 述第一服务器发来的根据所述终端 ID和欲下载数据的统一资源定位符 URL生 成的含有所述终端 ID的下载地址, 所述终端根据所述含有所述终端 ID的下载 地址向所述第二服务器发起所述第二请求;
所述第二服务器从所述第二请求中解析出所述终端 ID, 并记录, 并将所述 URL对应的下载数据发送给所述终端。
23. 根据权利要求 22所述的下载统计方法,其中,所述第一服务器与所述第二服务 器相同; 或者, 所述第一服务器为 DM服务器, 所述第二服务器为 DL服务器。
24. 一种 DM服务器, 包括:
第四接收模块, 设置为接收终端发送携带有终端 ID的第一请求; 第四获取模块, 设置为根据所述第一请求, 获取欲下载数据的统一资源定 位符 URL;
第四处理模块,设置为将所述终端 ID和所述欲下载数据的 URL进行处理, 生成含有所述终端 ID的下载地址, 并发送给所述终端。
25. 根据权利要求 24所述的 DM服务器, 其中, 所述第四处理模块设置为将所述 终端 ID和所述欲下载数据的 URL进行编码, 生成所述含有所述终端 ID的下 载地址。
26. 一种 DL服务器, 包括:
第五接收模块, 设置为接收来自终端的第二请求, 其中, 所述第二请求通 过以下方式产生: 所述终端向 DM服务器发送携带有终端 ID的第一请求后, 接收所述 DM服务器发来的根据所述终端 ID和欲下载数据的统一资源定位符 URL生成的含有所述终端 ID的下载地址, 所述终端根据所述含有所述终端 ID 的下载地址向所述 DL服务器发起所述第二请求;
第五发送模块, 设置为从所述第二请求中解析出所述终端 ID, 并记录, 并 将所述 URL对应的下载数据发送给终端。
PCT/CN2013/088514 2013-07-23 2013-12-04 一种下载统计方法、终端和服务器 WO2014161344A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310311141.0A CN104348840A (zh) 2013-07-23 2013-07-23 一种下载统计方法、终端和服务器
CN201310311141.0 2013-07-23

Publications (1)

Publication Number Publication Date
WO2014161344A1 true WO2014161344A1 (zh) 2014-10-09

Family

ID=51657530

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/088514 WO2014161344A1 (zh) 2013-07-23 2013-12-04 一种下载统计方法、终端和服务器

Country Status (2)

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

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106712955A (zh) * 2015-11-18 2017-05-24 珠海金山办公软件有限公司 一种文件分享方法及装置
WO2018218419A1 (zh) * 2017-05-27 2018-12-06 福建联迪商用设备有限公司 一种提高下载效率的下载方法及其下载系统

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231744A (zh) * 2011-06-30 2011-11-02 Tcl集团股份有限公司 媒体文件保护方法、系统、媒体文件服务器和终端
CN102487399A (zh) * 2010-12-06 2012-06-06 中国移动通信集团上海有限公司 一种软件数据运行方法、系统、终端及业务服务器

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080163191A1 (en) * 2006-12-27 2008-07-03 International Business Machines Corporation System and method for file transfer management
KR20090074393A (ko) * 2008-01-02 2009-07-07 삼성전자주식회사 데이터 수신 방법 및 장치
CN101355569A (zh) * 2008-09-10 2009-01-28 北大方正集团有限公司 一种数字内容下载控制方法、装置及系统
KR101276857B1 (ko) * 2011-07-27 2013-06-18 엘지전자 주식회사 가전제품 및 이를 포함하여 이루어지는 온라인 시스템
CN102982119B (zh) * 2012-11-12 2015-12-09 上海够快网络科技有限公司 一种在线文件的编辑方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487399A (zh) * 2010-12-06 2012-06-06 中国移动通信集团上海有限公司 一种软件数据运行方法、系统、终端及业务服务器
CN102231744A (zh) * 2011-06-30 2011-11-02 Tcl集团股份有限公司 媒体文件保护方法、系统、媒体文件服务器和终端

Also Published As

Publication number Publication date
CN104348840A (zh) 2015-02-11

Similar Documents

Publication Publication Date Title
CA2559518C (en) Authentication and authorization architecture for an access gateway
CA2559647C (en) Third party access gateway for telecommunications services
CN108712485B (zh) 一种物联网设备的资源订阅方法和装置
SG158769A1 (en) Activation of communication sessions in a communication system
JP2005510802A5 (zh)
JP4992146B2 (ja) コンテンツプッシュサービス提供装置およびその方法、そのための移動端末およびその運用方法
JP2008541643A5 (zh)
WO2013004059A1 (zh) 版本升级方法、终端及版本升级系统
EP2930967A1 (en) Method and device for reporting traffic, and method and device for counting network traffic
WO2015070540A1 (zh) 一种终端的配对方法、终端及系统
WO2011127847A2 (zh) 非结构化补充业务服务内容的更新方法、装置及移动终端
EP2716083A1 (en) Method and apparatus for charging in a communication network
WO2014161344A1 (zh) 一种下载统计方法、终端和服务器
CN103973648B (zh) 应用数据推送方法、装置及系统
CN104301352B (zh) 双卡终端的适配方法和装置
WO2014015776A1 (zh) 一种灵活适应ims系统业务标签的业务解析方法
EP1764971B1 (en) Third party access gateway for telecommunications services
WO2012100547A1 (zh) 窗件资源的共享方法及系统
WO2012159291A1 (zh) 识别终端类型的方法及无线接入网设备
TWI289400B (en) Network device and method for retrieving configuration parameters of voice over Internet protocol thereof
WO2012034390A1 (zh) 无线终端配置方法和系统
WO2010097001A1 (zh) 数据业务处理方法、系统以及接入网
CN114143010B (zh) 数字证书获取方法、装置、终端、系统和存储介质
TWI499245B (zh) 閘道器及利用其建立網路語音通訊的方法
WO2017067224A1 (zh) 一种报文处理方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13881283

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13881283

Country of ref document: EP

Kind code of ref document: A1