CN101515902A - Method and system for acquiring file transfer task state and equipment to be loaded - Google Patents
Method and system for acquiring file transfer task state and equipment to be loaded Download PDFInfo
- Publication number
- CN101515902A CN101515902A CNA2008100819309A CN200810081930A CN101515902A CN 101515902 A CN101515902 A CN 101515902A CN A2008100819309 A CNA2008100819309 A CN A2008100819309A CN 200810081930 A CN200810081930 A CN 200810081930A CN 101515902 A CN101515902 A CN 101515902A
- Authority
- CN
- China
- Prior art keywords
- file transfer
- transfer task
- execution
- status
- cancellation
- 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本发明实施例涉及一种文件传输任务状态获取方法、系统和待加载设备,其中,该获取方法包括:对接收到的文件传输任务控制命令进行响应,上报所述文件传输任务的执行状态,所述文件传输任务的执行状态包括尚未开始执行、下载过程中、完成下载正在写入存储设备、完成写入等待加载或完成文件传输。本发明实施例通过对文件传输任务控制命令进行响应,上报文件传输任务的执行状态,使得能够获取文件传输任务的准确执行状态。
Embodiments of the present invention relate to a method, a system, and a device to be loaded for obtaining the status of a file transfer task, wherein the obtaining method includes: responding to a received file transfer task control command, and reporting the execution status of the file transfer task, the The execution status of the above-mentioned file transfer task includes execution not yet started, downloading in progress, downloading completed and being written to the storage device, writing completed and waiting for loading, or file transfer completed. The embodiments of the present invention report the execution status of the file transfer task by responding to the file transfer task control command, so that the accurate execution status of the file transfer task can be obtained.
Description
技术领域 technical field
本发明涉及通信领域,尤其是一种文件传输任务状态获取方法、系统和待加载设备。The invention relates to the communication field, in particular to a method, a system and a device to be loaded for obtaining the state of a file transmission task.
背景技术 Background technique
数字用户线路(Digital Subscriber Line,DSL)作为一种宽带接入技术,已经得到了广泛的应用。基于宽带接入技术的各种应用,例如VoIP、IPTV等,需要各种各样的基于IP的终端设备,即IP应用终端,这些IP应用终端在业界被称为用户驻地设备(Customer Premises Equipment,CPE)。为了获得更高的稳定性、安全性和可用性,CPE往往需要对运行在其上的软件进行升级或配置更新。进一步地,软件升级或配置更新还可以给CPE增加新的功能,以更好地服务于用户。As a broadband access technology, Digital Subscriber Line (DSL) has been widely used. Various applications based on broadband access technology, such as VoIP, IPTV, etc., require a variety of IP-based terminal equipment, that is, IP application terminals. These IP application terminals are called Customer Premises Equipment (CPE) in the industry. CPE). In order to obtain higher stability, security and availability, CPE often needs to upgrade or update the configuration of the software running on it. Furthermore, software upgrades or configuration updates can also add new functions to the CPE to better serve users.
CPE上的软件进行升级或配置的操作是通过加载文件的方式实现,上述CPE的加载方法大致有两种:一种是从CPE外部向该CPE发送命令/消息让CPE加载;另一种是CPE自身定期地检查有关信息并实现加载。The operation of upgrading or configuring the software on the CPE is realized by loading files. There are roughly two ways to load the above CPE: one is to send commands/messages to the CPE from the outside of the CPE to let the CPE load; the other is to load the CPE Periodically check relevant information by itself and implement loading.
在目前的设备管理和自动配置工作框架中,CPE作为客户端,即待加载设备;自动配置服务器(Auto-configuration Server,ACS)作为服务器端,即加载服务器。CPE和ACS分别提供一些方法供对方调用,调用远程设备的方法就是向这个设备发送特定的消息并等待该设备响应此消息后返回的结果。ACS一般使用各种远程过程调用(Remote Procedure Call,RPC)方法来实现对CPE参数的修改和设置。In the current device management and automatic configuration work framework, CPE acts as the client, that is, the device to be loaded; the automatic configuration server (Auto-configuration Server, ACS) acts as the server, that is, the loading server. CPE and ACS respectively provide some methods for the other party to call. The method of calling the remote device is to send a specific message to the device and wait for the result returned after the device responds to the message. ACS generally uses various remote procedure call (Remote Procedure Call, RPC) methods to realize the modification and setting of CPE parameters.
在现有技术中,当CPE收到ACS的文件传输命令后,ACS可以通过GetQueuedTransfers RPC方法来查询CPE中文件传输任务的执行状态。CPE返回文件传输任务的执行状态,包括“尚未开始执行”、“执行过程中”和“完成文件传输”三种状态,分别表示尚未开始文件传输、正在执行文件传输和已经完成文件传输并且已经完成加载。但是,其中的“执行过程中”状态无法区分CPE正在下载文件、或者已经完成下载正在写入存储设备、或者已经完成下载并已经写入存储设备但是尚未加载这三种状态。若CPE正处于下载过程中,ACS可以取消CPE的该下载任务,但若CPE处于已经完成下载正在写入存储设备或者已经完成写入等待加载的状态,此时ACS无法取消CPE的该下载任务。In the prior art, after the CPE receives the file transfer command from the ACS, the ACS can query the execution status of the file transfer task in the CPE through the GetQueuedTransfers RPC method. The CPE returns the execution status of the file transfer task, including "not yet started", "in progress" and "file transfer completed", respectively indicating that the file transfer has not yet started, the file transfer is being executed, and the file transfer has been completed and has been completed load. However, the "in progress" state cannot distinguish between the three states that the CPE is downloading the file, or has completed the download and is writing to the storage device, or has completed the download and has been written to the storage device but has not yet been loaded. If the CPE is in the process of downloading, the ACS can cancel the download task of the CPE, but if the CPE is in the state of having completed the download and writing to the storage device or has completed writing and waiting to be loaded, the ACS cannot cancel the download task of the CPE at this time.
发明人发现现有技术至少存在下述缺陷:当ACS希望取消某一文件下载任务,根据GetQueuedTransfers查询得到的CPE返回的文件传输状态,无法根据“执行过程中”这一状态区分该任务是处于下载过程中,还是已经完成下载正在写入存储设备,或者是已经完成写入等待加载这三种状态,从而无法根据CPE的返回状态准确取消文件传输任务。The inventor found that the existing technology has at least the following defects: when the ACS wishes to cancel a file download task, the file transfer status returned by the CPE obtained from the GetQueuedTransfers query cannot be used to distinguish whether the task is in the process of downloading or not based on the status of "execution". During the process, the downloading has been completed and is being written to the storage device, or the writing has been completed and is waiting to be loaded, so the file transfer task cannot be accurately canceled according to the return status of the CPE.
发明内容 Contents of the invention
本发明实施例提供一种文件传输任务状态获取方法、系统和待加载设备,用以解决现有技术中加载服务器无法获取待加载设备中文件传输任务的准确执行状态,实现加载服务器可以根据待加载设备中文件传输任务的准确执行状态,对文件传输任务进行调整。Embodiments of the present invention provide a file transfer task status acquisition method, system, and device to be loaded to solve the problem that the loading server cannot obtain the accurate execution status of the file transfer task in the device to be loaded in the prior art, and realize that the loading server can Accurate execution status of the file transfer task in the device, and adjust the file transfer task.
本发明实施例提供了一种文件传输任务状态获取方法,包括:An embodiment of the present invention provides a method for obtaining a status of a file transfer task, including:
接收文件传输任务控制命令并响应,上报所述文件传输任务的执行状态,所述文件传输任务的执行状态包括尚未开始执行、下载过程中、完成下载正在写入存储设备、完成写入等待加载或完成文件传输。Receive the file transfer task control command and respond, and report the execution status of the file transfer task, the execution status of the file transfer task includes not yet started execution, in the process of downloading, completed downloading and writing to the storage device, completed writing and waiting for loading, or The file transfer is complete.
本发明实施例提供了一种待加载设备,包括:An embodiment of the present invention provides a device to be loaded, including:
接收模块,用于接收文件传输任务控制命令;A receiving module, configured to receive a file transfer task control command;
响应模块,用于响应所述接收模块接收到的文件传输任务控制命令,上报所述文件传输任务的执行状态,所述文件传输任务的执行状态包括尚未开始执行、下载过程中、完成下载正在写入存储设备、完成写入等待加载或完成文件传输。The response module is configured to respond to the file transfer task control command received by the receiving module, and report the execution status of the file transfer task. The execution status of the file transfer task includes execution not yet started, downloading, and downloading and writing. into the storage device, complete writing to wait for loading, or complete file transfer.
本发明实施例提供了一种文件传输任务状态获取系统,包括:An embodiment of the present invention provides a file transfer task status acquisition system, including:
加载服务器,用于向待加载设备发送文件传输任务控制命令;The loading server is used to send a file transfer task control command to the device to be loaded;
所述待加载设备,用于响应接收到的所述文件传输任务控制命令,上报所述文件传输任务的执行状态,包括所述文件传输任务的执行状态包括尚未开始执行、下载过程中、完成下载正在写入存储设备、完成写入等待加载或完成文件传输。The device to be loaded is configured to report the execution status of the file transfer task in response to the received file transfer task control command, including the execution status of the file transfer task including not yet started, in the process of downloading, and completed. Writing to the storage device, completing a write pending load, or completing a file transfer.
其中的加载服务器为自动配置服务器,待加载设备为用户驻地设备。The loading server is an automatic configuration server, and the equipment to be loaded is a customer premise equipment.
由上述技术方案可知,本发明实施例通过用户驻地设备响应自动配置服务器,向自动配置服务器上报文件传输任务的执行状态,包括尚未开始执行、下载过程中、完成下载正在写入存储设备、完成写入等待加载或完成文件传输等五个状态,使得自动配置服务器能够获取用户驻地设备中文件传输任务的准确执行状态。It can be seen from the above technical solution that the embodiments of the present invention report the execution status of the file transfer task to the automatic configuration server through the customer premises equipment responding to the automatic configuration server, including not yet started execution, in the process of downloading, completed downloading and writing to the storage device, and completed writing. Entering five states such as waiting for loading or completing file transfer, so that the automatic configuration server can obtain the accurate execution status of the file transfer task in the customer premises equipment.
附图说明 Description of drawings
图1为数字用户线路的组网方式示意图;Fig. 1 is a schematic diagram of a networking mode of a digital subscriber line;
图2为本发明文件传输任务状态获取方法的第一实施例的流程示意图;FIG. 2 is a schematic flowchart of a first embodiment of a method for obtaining a file transfer task state according to the present invention;
图3为本发明文件传输任务状态获取方法的第二实施例的流程示意图;FIG. 3 is a schematic flowchart of a second embodiment of the method for obtaining the status of a file transfer task in the present invention;
图4为本发明文件传输任务状态获取方法的第三实施例的流程示意图;FIG. 4 is a schematic flowchart of a third embodiment of the method for obtaining the status of a file transfer task according to the present invention;
图5为本发明待加载设备的具体实施例的结构示意图;Fig. 5 is a schematic structural view of a specific embodiment of the device to be loaded according to the present invention;
图6为本发明文件传输任务状态获取系统的具体实施例的结构示意图。FIG. 6 is a schematic structural diagram of a specific embodiment of the system for obtaining the status of a file transfer task according to the present invention.
具体实施方式 Detailed ways
如图1所示,为数字用户线路的组网方式示意图。该组网方式为:一个或多个用户驻地设备(Customer Premises Equipment,CPE)经由数字用户线路接入复用器(Digital Subscriber Line Access Multiplexer,DSLAM)、区域宽带网络、宽带远程接入服务器(Broad Remote Access Server,BRAS)等连接到自动配置服务器(Auto-configuration Server,ACS),ACS通过ACS北向接口与业务配置管理器连接。As shown in FIG. 1 , it is a schematic diagram of a networking mode of a digital subscriber line. The networking method is: one or more Customer Premises Equipment (CPE) via Digital Subscriber Line Access Multiplexer (Digital Subscriber Line Access Multiplexer, DSLAM), regional broadband network, broadband remote access server (Broadband Remote Access Server, BRAS) etc. are connected to the automatic configuration server (Auto-configuration Server, ACS), and the ACS is connected to the service configuration manager through the ACS northbound interface.
如图2所示,为本发明文件传输任务状态获取方法的第一实施例的流程示意图。本实施例包括以下步骤:As shown in FIG. 2 , it is a schematic flowchart of the first embodiment of the method for acquiring the status of a file transfer task according to the present invention. This embodiment includes the following steps:
步骤101、CPE向ACS发起请求,以建立CPE与ACS之间的连接,并准备开始进行会话;
步骤102、ACS向CPE发送文件传输任务查询命令,以查询CPE中文件传输任务的执行状态。
其中的文件传输任务查询命令可以查询本次会话中所发送的文件传输任务的执行状态,还可以查询本次会话之前的其他会话所发送的文件传输任务的执行状态。The file transfer task query command can query the execution status of the file transfer task sent in the current session, and can also query the execution status of the file transfer task sent in other sessions before the current session.
本步骤与上一步骤之间还可以存在其他RPC方法调用;There may also be other RPC method calls between this step and the previous step;
步骤103、CPE响应所述ACS所发送的文件传输任务查询命令,CPE向ACS上报各个文件传输任务的执行状态。Step 103: The CPE responds to the file transfer task query command sent by the ACS, and the CPE reports the execution status of each file transfer task to the ACS.
若为文件上传,则所述文件传输任务的执行状态可以包括但不限于以下各种状态:尚未开始启动状态、文件传输执行过程中或文件传输已完成。If it is a file upload, the execution state of the file transfer task may include, but not limited to, the following states: a state that has not yet started, a file transfer is in progress, or the file transfer has been completed.
若为文件下载,则所述文件传输任务的执行状态可以包括但不限于以下各种状态:尚未开始执行、下载过程中、完成下载正在写入存储设备、完成写入等待加载或完成文件传输。If it is a file download, the execution status of the file transfer task may include but not limited to the following states: execution has not yet started, in the process of downloading, downloading is completed and writing to the storage device, writing is completed and waiting to be loaded, or file transfer is completed.
本步骤中,需要对在现有技术中的GetQueuedTransfers RPC方法的CPE响应结构进行扩展,即将其中的原有状态2“执行过程中”细分为“下载过程中”、“完成下载正在写入存储设备”和“完成写入等待加载”三个状态。修改后的响应结构如表1所示,为修改后的Ge tQueuedTransfers RPC方法返回的文件传输任务执行状态表。In this step, it is necessary to expand the CPE response structure of the GetQueuedTransfers RPC method in the prior art, that is, to subdivide the original state 2 "in progress" into "downloading", "downloading is being written to storage" Device" and "Complete writing and waiting to load" three states. The modified response structure is shown in Table 1, which is the file transfer task execution status table returned by the modified GetQueuedTransfers RPC method.
表1修改后的GetQueuedTransfers RPC方法返回的文件传输任务执行状态表Table 1 File transfer task execution status table returned by the modified GetQueuedTransfers RPC method
表1中的状态参数的定义如下:1表示该文件传输尚未开始执行;2表示正处于下载过程中;3表示已经完成下载,正在写入存储设备;4表示已经写入存储设备处于等待加载过程中;5表示已经完成文件传输;The definition of the status parameters in Table 1 is as follows: 1 means that the file transfer has not started to execute; 2 means that it is in the process of downloading; 3 means that the download has been completed and is being written to the storage device; 4 means that the file has been written to the storage device and is waiting for the loading process Medium; 5 means the file transfer has been completed;
步骤104、关断连接,结束本次会话。本步骤与上一步骤之间还可以存在其他RPC方法调用。
本实施例通过CPE响应ACS所发送的文件传输任务查询命令,上报文件传输任务的执行状态,使得ACS能够获取CPE中文件传输任务的准确执行状态,以实现ACS可以根据CPE中文件传输任务的准确执行状态,对文件传输任务进行调整。In this embodiment, the CPE responds to the file transfer task query command sent by the ACS, and reports the execution status of the file transfer task, so that the ACS can obtain the accurate execution status of the file transfer task in the CPE, so that the ACS can obtain the accurate execution status of the file transfer task in the CPE. Execution status, adjust the file transfer task.
如图3所示,为本发明文件传输任务状态获取方法的第二实施例的流程示意图。与上一实施例相比,本实施例中步骤103与步骤104之间还可以包括ACS根据CPE所上报的文件传输任务的执行状态对文件传输任务进行调整的步骤。以取消删除为例对上述调整进行说明,本步骤还可以具体包括以下步骤:As shown in FIG. 3 , it is a schematic flow chart of the second embodiment of the method for acquiring the status of a file transfer task according to the present invention. Compared with the previous embodiment, the step between
步骤201、ACS判断所述文件传输任务的执行状态是否为下载过程中或尚未开始执行,如果是,则执行步骤202和步骤203;
步骤202、ACS向CPE发送文件传输任务取消命令,以取消CPE中文件传输任务的执行状态;
步骤203、CPE响应所述ACS所发送的文件传输任务取消命令,CPE向ACS上报取消文件传输任务的执行结果,所述取消文件传输任务的执行结果为取消成功。Step 203: The CPE responds to the file transfer task cancellation command sent by the ACS, and the CPE reports to the ACS the execution result of the canceled file transfer task, and the execution result of the canceled file transfer task is successful cancellation.
本实施例中,当ACS向CPE发送文件传输任务取消命令时,若所述文件传输任务的执行状态为其他三种状态,则CPE向ACS上报取消文件传输任务的执行结果均为取消失败。In this embodiment, when the ACS sends a file transfer task cancellation command to the CPE, if the execution status of the file transfer task is in the other three states, the CPE reports to the ACS that the execution results of the canceled file transfer task are all cancellation failures.
本实施例通过CPE响应ACS所发送的文件传输任务取消命令,上报文件传输任务的执行结果,使得ACS能够获取CPE中文件传输任务的准确执行状态,实现了ACS可以根据CPE中文件传输任务的准确执行状态,对文件传输任务进行取消等调整。In this embodiment, the CPE responds to the file transfer task cancellation command sent by the ACS, and reports the execution result of the file transfer task, so that the ACS can obtain the accurate execution status of the file transfer task in the CPE, and realizes that the ACS can obtain the accurate execution status of the file transfer task in the CPE. Execution status, and adjustments such as canceling the file transfer task.
如图4所示,为本发明文件传输任务状态获取方法的第三实施例的流程示意图。本发明实施例所涉及的CPE中文件传输任务准确执行状态,ACS不仅可以通过上述本发明文件传输任务状态获取方法的第一和第二实施例中CPE对ACS的文件传输任务查询命令的响应获得,还可以通过本实施例中CPE对ACS的文件传输任务取消命令的响应获得。本实施例描述了ACS向CPE发送文件传输任务取消命令,CPE在取消文件传输任务的同时,返回文件传输任务的执行状态作为对ACS的响应。本实施例中,ACS发送的文件传输任务取消命令的参数如表2所示,为文件传输任务取消命令的参数表;CPE对ACS文件传输任务取消命令的响应参数格式如表3所示,为文件传输任务取消命令的响应参数表;CPE对ACS文件传输任务取消命令的响应结构如表4所示,为文件传输任务取消命令的响应结构。As shown in FIG. 4 , it is a schematic flowchart of a third embodiment of the method for obtaining the status of a file transfer task according to the present invention. The exact execution status of the file transfer task in the CPE involved in the embodiment of the present invention can be obtained by the ACS not only through the response of the CPE to the file transfer task query command of the ACS in the first and second embodiments of the method for obtaining the file transfer task status of the present invention. , can also be obtained through the response of the CPE to the file transfer task cancel command of the ACS in this embodiment. This embodiment describes that the ACS sends a file transfer task cancellation command to the CPE, and the CPE returns the execution status of the file transfer task as a response to the ACS while canceling the file transfer task. In this embodiment, the parameters of the file transfer task cancellation command sent by the ACS are shown in Table 2, which is the parameter list of the file transfer task cancellation command; the CPE response parameter format to the ACS file transfer task cancellation command is shown in Table 3, which is The response parameter table of the file transfer task cancel command; the response structure of the CPE to the ACS file transfer task cancel command is shown in Table 4, which is the response structure of the file transfer task cancel command.
表2文件传输任务取消命令的参数表Table 2 The parameter list of the file transfer task cancellation command
表3文件传输任务取消命令的响应参数表Table 3 The response parameter list of the file transfer task cancellation command
表4文件传输任务取消命令的响应结构Table 4 The response structure of the file transfer task cancel command
表4中CPE的响应参数定义如下:1表示该文件传输尚未开始执行,取消成功;2表示正处于下载过程中,取消成功;3表示已经完成下载,正在写入存储设备,取消失败;4表示已经写入存储设备处于等待加载过程中,取消失败;5表示已经完成文件传输,取消失败。The response parameters of CPE in Table 4 are defined as follows: 1 means that the file transfer has not yet started, and the cancellation is successful; 2 means that it is in the process of downloading, and the cancellation is successful; 3 means that the download has been completed and is being written to the storage device, and the cancellation failed; 4 means that The storage device that has been written is in the process of waiting for loading, and the cancellation fails; 5 means that the file transfer has been completed, and the cancellation fails.
本实施例具体可以包括以下步骤:This embodiment may specifically include the following steps:
步骤301、CPE向ACS发起请求,以建立CPE与ACS之间的连接,并准备开始进行会话;
步骤302、ACS向CPE发送文件传输任务取消命令,以取消CPE中文件传输任务。In
其中的文件传输任务取消命令可以取消本次会话中所发送的文件传输任务,还可以取消本次会话之前的其他会话所发送的文件传输任务。The file transfer task cancel command can cancel the file transfer tasks sent in this session, and can also cancel the file transfer tasks sent by other sessions before this session.
本步骤与上一步骤之间还可以存在其他RPC方法调用;There may also be other RPC method calls between this step and the previous step;
步骤303、CPE响应所述ACS所发送的文件传输任务取消命令,CPE在对该文件传输任务的执行状态进行准确分析,确定是否取消该文件传输后,向ACS上报各个文件传输任务的取消结果,该结构还包括有各个文件传输任务的执行状态。
若为文件上传,则所述响应可以包括但不限于以下各种情况:尚未开始启动状态,取消成功、文件传输执行过程中,取消成功或文件传输已完成,取消失败。If it is a file upload, the response may include but not limited to the following situations: the startup status has not yet started, the cancellation is successful, the file transfer is in progress, the cancellation is successful, or the file transfer has been completed, and the cancellation fails.
若为文件下载,则所述响应可以包括但不限于以下各种情况:尚未开始执行,取消成功、下载过程中,取消成功、完成下载正在写入存储设备,取消失败、完成写入等待加载,取消失败或完成文件传输,取消失败。If it is a file download, the response may include but not limited to the following situations: execution has not yet started, cancellation is successful, download is in progress, cancellation is successful, download is completed and is being written to the storage device, cancellation fails, writing is completed and waiting to be loaded, Cancellation failed or completed file transfer, cancellation failed.
步骤304、关断连接,结束本次会话。本步骤与上一步骤之间还可以存在其他RPC方法调用。
本实施例通过CPE响应ACS所发送的文件传输任务取消命令,上报文件传输任务的执行结果,使得ACS能够获取CPE中文件传输任务的执行结果和准确执行状态。In this embodiment, the CPE responds to the file transfer task cancellation command sent by the ACS, and reports the execution result of the file transfer task, so that the ACS can obtain the execution result and accurate execution status of the file transfer task in the CPE.
如图5所示,为本发明待加载设备的具体实施例的结构示意图。本实施例包括相互连接的接收模块21和响应模块22。其中,接收模块21用于接收文件传输任务控制命令,上述传输任务控制命令可以包括但不限于传输任务查询命令、传输任务取消命令;响应模块22用于对接收模块21接收到的文件传输任务控制命令进行响应,上报所述文件传输任务的执行状态,所述文件传输任务的执行状态包括尚未开始执行、下载过程中、完成下载正在写入存储设备、完成写入等待加载或完成文件传输。As shown in FIG. 5 , it is a schematic structural diagram of a specific embodiment of the device to be loaded according to the present invention. This embodiment includes a receiving
本实施例通过响应模块对文件传输任务控制命令进行响应,上报所述文件传输任务的执行状态,包括尚未开始执行、下载过程中、完成下载正在写入存储设备、完成写入等待加载或完成文件传输上述五个状态,使得加载服务器能够获取待加载设备中文件传输任务的准确执行状态。In this embodiment, the response module responds to the file transfer task control command, and reports the execution status of the file transfer task, including not yet started execution, in the process of downloading, completing the download and writing to the storage device, completing writing and waiting for loading or completing the file The above five states are transmitted so that the loading server can obtain the accurate execution state of the file transfer task in the device to be loaded.
如图6所示,为本发明文件传输任务状态获取系统的具体实施例的结构示意图。本实施例包括相互连接的加载服务器10和待加载设备20。其中,加载服务器10用于发送文件传输任务控制命令,上述传输任务控制命令可以包括但不限于传输任务查询命令、传输任务取消命令;待加载设备20用于对接收到的加载服务器10发送的文件传输任务控制命令进行响应,上报所述文件传输任务的执行状态,所述文件传输任务的执行状态包括尚未开始执行、下载过程中、完成下载正在写入存储设备、完成写入等待加载或完成文件传输。其中的加载服务器为ACS,待加载设备为CPE。As shown in FIG. 6 , it is a schematic structural diagram of a specific embodiment of the system for obtaining the status of a file transfer task according to the present invention. This embodiment includes a
进一步地,ACS还可以用于根据所述文件传输任务的执行状态对文件传输任务进行调整。首先,ACS判断所述文件传输任务的执行状态是否为下载过程中或尚未开始执行,如果是,ACS则可以向CPE发送文件传输任务取消命令,以取消CPE中文件传输任务的执行状态;CPE接收到上述文件传输任务取消命令后,则向ACS上报取消文件传输任务的执行结果,所述取消文件传输任务的执行结果为取消成功。此外,当ACS向CPE发送文件传输任务取消命令时,若所述文件传输任务的执行状态为其他三种状态,则CPE向ACS上报取消文件传输任务的执行结果均为取消失败。本实施例通过CPE响应ACS所发送的文件传输任务取消命令,上报文件传输任务的执行结果,使得ACS能够获取CPE中文件传输任务的准确执行状态,实现了ACS可以根据CPE中文件传输任务的准确执行状态,对文件传输任务进行取消等调整。Further, the ACS may also be used to adjust the file transfer task according to the execution status of the file transfer task. First, the ACS judges whether the execution status of the file transfer task is in the process of downloading or has not yet been executed. If so, the ACS may send a file transfer task cancellation command to the CPE to cancel the execution status of the file transfer task in the CPE; the CPE receives After receiving the file transfer task cancel command, report the execution result of canceling the file transfer task to the ACS, and the execution result of canceling the file transfer task is successful cancellation. In addition, when the ACS sends a file transfer task cancellation command to the CPE, if the execution status of the file transfer task is in the other three states, the CPE reports to the ACS that the execution results of the canceled file transfer task are all cancellation failures. In this embodiment, the CPE responds to the file transfer task cancellation command sent by the ACS, and reports the execution result of the file transfer task, so that the ACS can obtain the accurate execution status of the file transfer task in the CPE, and realizes that the ACS can obtain the accurate execution status of the file transfer task in the CPE. Execution status, and adjustments such as canceling the file transfer task.
本实施例中的待加载设备20可以包括相互连接的接收模块21和响应模块22。其中,接收模块21用于接收文件传输任务控制命令,上述传输任务控制命令可以包括但不限于传输任务查询命令、传输任务取消命令;响应模块22用于对接收模块21接收到的文件传输任务控制命令进行响应,上报所述文件传输任务的执行状态,所述文件传输任务的执行状态包括尚未开始执行、下载过程中、完成下载正在写入存储设备、完成写入等待加载或完成文件传输。The
进一步地,当上述传输任务控制命令为传输任务取消命令时,响应模块还可以用于上报与所述文件传输任务的执行状态对应的文件传输任务的执行结果,所述文件传输任务的执行结果包括尚未开始执行,取消成功;下载过程中,取消成功;完成下载正在写入存储设备,取消失败;完成写入等待加载,取消失败;或完成文件传输,取消失败。本实施例通过CPE响应ACS所发送的文件传输任务取消命令,上报文件传输任务的执行结果,使得ACS能够获取CPE中文件传输任务的执行结果和准确执行状态。Further, when the above-mentioned transfer task control command is a transfer task cancel command, the response module can also be used to report the execution result of the file transfer task corresponding to the execution status of the file transfer task, and the execution result of the file transfer task includes The execution has not yet started, and the cancellation is successful; the download is in progress, and the cancellation is successful; the download is completed and writing to the storage device, and the cancellation fails; the writing is completed and waiting for loading, and the cancellation fails; or the file transfer is completed, and the cancellation fails. In this embodiment, the CPE responds to the file transfer task cancellation command sent by the ACS, and reports the execution result of the file transfer task, so that the ACS can obtain the execution result and accurate execution status of the file transfer task in the CPE.
以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be described in the foregoing embodiments Modifications are made to the recorded technical solutions, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2008100819309A CN101515902A (en) | 2008-02-22 | 2008-02-22 | Method and system for acquiring file transfer task state and equipment to be loaded |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2008100819309A CN101515902A (en) | 2008-02-22 | 2008-02-22 | Method and system for acquiring file transfer task state and equipment to be loaded |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN101515902A true CN101515902A (en) | 2009-08-26 |
Family
ID=41040201
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA2008100819309A Pending CN101515902A (en) | 2008-02-22 | 2008-02-22 | Method and system for acquiring file transfer task state and equipment to be loaded |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101515902A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104917785A (en) * | 2014-03-10 | 2015-09-16 | 中国银联股份有限公司 | File generation status table, file generation status reporting method and file transmission system |
| CN110077124A (en) * | 2019-04-28 | 2019-08-02 | 贵阳鸿德科技有限公司 | A kind of printer auxiliary device preventing paper waste |
| CN110737382A (en) * | 2019-09-29 | 2020-01-31 | 维沃移动通信有限公司 | A kind of picture management method and communication client |
| CN112769895A (en) * | 2020-12-18 | 2021-05-07 | 杭州涂鸦信息技术有限公司 | Group or scene control method and related device |
| CN118626234A (en) * | 2024-08-12 | 2024-09-10 | 成都赛力斯科技有限公司 | Operation response method and operation response device |
-
2008
- 2008-02-22 CN CNA2008100819309A patent/CN101515902A/en active Pending
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104917785A (en) * | 2014-03-10 | 2015-09-16 | 中国银联股份有限公司 | File generation status table, file generation status reporting method and file transmission system |
| CN104917785B (en) * | 2014-03-10 | 2018-09-21 | 中国银联股份有限公司 | File generated state table, file generated state report and document transmission system |
| CN110077124A (en) * | 2019-04-28 | 2019-08-02 | 贵阳鸿德科技有限公司 | A kind of printer auxiliary device preventing paper waste |
| CN110737382A (en) * | 2019-09-29 | 2020-01-31 | 维沃移动通信有限公司 | A kind of picture management method and communication client |
| CN112769895A (en) * | 2020-12-18 | 2021-05-07 | 杭州涂鸦信息技术有限公司 | Group or scene control method and related device |
| CN112769895B (en) * | 2020-12-18 | 2023-10-13 | 杭州涂鸦信息技术有限公司 | Group or scene control method and related device |
| CN118626234A (en) * | 2024-08-12 | 2024-09-10 | 成都赛力斯科技有限公司 | Operation response method and operation response device |
| CN118626234B (en) * | 2024-08-12 | 2024-10-22 | 成都赛力斯科技有限公司 | Operation response method and operation response device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100403690C (en) | User premises equipment configuration management method and system thereof | |
| US8966013B2 (en) | Unified device management method and system | |
| RU2533638C2 (en) | Data configuration method and device | |
| US10496397B2 (en) | System and method for providing automatic firmware update management | |
| US7620060B2 (en) | Method for automatically configuring terminal equipment | |
| CN110493067A (en) | A kind of method and device that API gateway service updates | |
| US20090254613A1 (en) | Method, apparatus, and system for acquiring and providing cpe function configuration information | |
| JP5753629B2 (en) | Method, device and system for managing mobile broadband devices | |
| CN112217845B (en) | Data transmission method based on Netconf protocol and related equipment | |
| WO2021073395A1 (en) | Yang model management method, apparatus and system, device, and storage medium | |
| CN101674198A (en) | Method and device for realizing stacking | |
| CN101515902A (en) | Method and system for acquiring file transfer task state and equipment to be loaded | |
| CN101483543A (en) | Network management method and system, terminal and automatic configuration server | |
| CN101631105A (en) | Method, device and system for configuration application | |
| CN115567388A (en) | Network slice configuration automatic update method, system, device and storage medium | |
| CN101183985B (en) | Method and system for issuing configuration commands incrementally | |
| CN105162769A (en) | Gateway authority transfer method and gateway authority transfer device | |
| EP2421291A1 (en) | Terminal for device management and method for initiating management session thereof | |
| CN101631112B (en) | Software uninstalling method and terminal | |
| CN100512116C (en) | Remote loading system and method for network equipment | |
| CN107395766A (en) | Decentralization communication system and implementation method based on HazelCast | |
| CN101442427A (en) | Method, system and apparatus for managing equipment | |
| CN100589406C (en) | A method and system for network management system compatibility | |
| CN100502302C (en) | Method of updating configuration file for embedded media terminal adapter | |
| CN101291248A (en) | Method, device and communication system for protecting important operations in management system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20090826 |
