Processing Diagnostic Requests for Direct Block Access Storage Devices
First Claim
1. A method of processing, by a media controller, a diagnostic request received from a diagnostic source, the method comprising:
- parsing, by a corresponding request handling module of the media controller, the received diagnostic request;
if the received diagnostic request requires allocation of buffer space;
allocating, by a common diagnostic handling module of the media controller, buffer space in a buffer of the media controller for the received diagnostic request;
providing, by the common diagnostic handling module, the received diagnostic request to a corresponding one of a plurality of end diagnostic handling modules of the media controller;
performing, by the end diagnostic handling module, one or more diagnostic tasks of the received diagnostic request;
if the received diagnostic request requires a transfer of data to the diagnostic source;
performing, by the common diagnostic handling module, the data transfer between the media controller and the diagnostic source; and
deallocating, by the common diagnostic handling module, the allocated buffer space,wherein each diagnostic task is performed by a corresponding one of the plurality of end diagnostic handling modules, each diagnostic source type has a corresponding request handling module, and the common diagnostic handling module is common for all diagnostic source types.
7 Assignments
0 Petitions
Accused Products
Abstract
Described embodiments provide a media controller for processing a diagnostic request received from a diagnostic source. The received diagnostic request is parsed by a corresponding request handling module of the media controller, where each diagnostic source type has a corresponding request handling module. If the received diagnostic request requires allocation of buffer space, a common diagnostic handling module of the media controller allocates buffer space in a buffer for the received diagnostic request. The common diagnostic handling module is common for all diagnostic source types. The common diagnostic handling module provides the received diagnostic request to a corresponding one of a plurality of end diagnostic handling modules. The end diagnostic handling module performs the diagnostic tasks. If the received diagnostic request requires a transfer of data to the diagnostic source, the common diagnostic handling module performs the data transfer between the media controller and the diagnostic source.
105 Citations
21 Claims
-
1. A method of processing, by a media controller, a diagnostic request received from a diagnostic source, the method comprising:
-
parsing, by a corresponding request handling module of the media controller, the received diagnostic request; if the received diagnostic request requires allocation of buffer space; allocating, by a common diagnostic handling module of the media controller, buffer space in a buffer of the media controller for the received diagnostic request; providing, by the common diagnostic handling module, the received diagnostic request to a corresponding one of a plurality of end diagnostic handling modules of the media controller; performing, by the end diagnostic handling module, one or more diagnostic tasks of the received diagnostic request; if the received diagnostic request requires a transfer of data to the diagnostic source; performing, by the common diagnostic handling module, the data transfer between the media controller and the diagnostic source; and deallocating, by the common diagnostic handling module, the allocated buffer space, wherein each diagnostic task is performed by a corresponding one of the plurality of end diagnostic handling modules, each diagnostic source type has a corresponding request handling module, and the common diagnostic handling module is common for all diagnostic source types. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 21)
-
-
10. A media controller comprising:
-
a plurality of communication links coupled to one or more diagnostic sources; a plurality of request handling modules each corresponding to one of the plurality of communication links, the request handling modules adapted to receive a diagnostic request from a diagnostic source coupled to the corresponding communication link; a common diagnostic handling module adapted to i) allocate buffer space in a buffer of the media controller, if the received diagnostic request requires allocation of buffer space, ii) provide the received diagnostic request to a corresponding one of a plurality of end diagnostic handling modules, iii) perform data transfer between the media controller and the diagnostic source, and iv) deallocate, when the received diagnostic request is complete, any allocated buffer space; wherein the corresponding end diagnostic handling module is adapted to perform one or more diagnostic tasks of the received diagnostic request, and wherein each request handling module corresponds to a diagnostic source type and the common diagnostic handling module is common for all diagnostic source types. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A machine-readable storage medium, having encoded thereon program code, wherein, when the program code is executed by a machine, the machine implements a method of processing, by a media controller, a diagnostic request received from a diagnostic source, the method comprising:
-
parsing, by a corresponding request handling module of the media controller, the received diagnostic request; if the received diagnostic request requires allocation of buffer space; allocating, by a common diagnostic handling module of the media controller, buffer space in a buffer of the media controller for the received diagnostic request; providing, by the common diagnostic handling module, the received diagnostic request to a corresponding one of a plurality of end diagnostic handling modules of the media controller; performing, by the end diagnostic handling module, one or more diagnostic tasks of the received diagnostic request; if the received diagnostic request requires a transfer of data to the diagnostic source; performing, by the common diagnostic handling module, the data transfer between the media controller and the diagnostic source; and deallocating, by the common diagnostic handling module, the allocated buffer space, wherein each diagnostic task is performed by a corresponding one of the plurality of end diagnostic handling modules, each diagnostic source type has a corresponding request handling module, and the common diagnostic handling module is common for all diagnostic source types. - View Dependent Claims (17, 18, 19, 20)
-
Specification