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 the steps of:
- coupling the diagnostic source to a communication link;
receiving, via a receiver/transmitter module, the diagnostic request, wherein the step of the receiving the diagnostic request includes the steps of;
employing, by the receiver/transmitter module, a single binary package file bundled by one or more binary package files from one or more processors in the media controller, to update firmware on the one or more processors; and
supporting, by the receiver/transmitter module, two or more datagrams interleaved on the communication line;
parsing, by a corresponding request handling module of the media controller, the received diagnostic request, wherein each diagnostic source has a corresponding request handling module;
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, wherein the common diagnostic handling module handles all types of diagnostic requests from all diagnostic sources;
if the received diagnostic request requires a transfer of data form the diagnostic source;
performing, by the common diagnostic handling module, the data transfer between the media controller and the diagnostic source;
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, wherein each end diagnostic handling module is configured to perform a corresponding type of diagnostic request;
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.
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.
92 Citations
22 Claims
-
1. A method of processing, by a media controller, a diagnostic request received from a diagnostic source, the method comprising the steps of:
-
coupling the diagnostic source to a communication link; receiving, via a receiver/transmitter module, the diagnostic request, wherein the step of the receiving the diagnostic request includes the steps of; employing, by the receiver/transmitter module, a single binary package file bundled by one or more binary package files from one or more processors in the media controller, to update firmware on the one or more processors; and supporting, by the receiver/transmitter module, two or more datagrams interleaved on the communication line; parsing, by a corresponding request handling module of the media controller, the received diagnostic request, wherein each diagnostic source has a corresponding request handling module; 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, wherein the common diagnostic handling module handles all types of diagnostic requests from all diagnostic sources; if the received diagnostic request requires a transfer of data form the diagnostic source; performing, by the common diagnostic handling module, the data transfer between the media controller and the diagnostic source; 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, wherein each end diagnostic handling module is configured to perform a corresponding type of diagnostic request; 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A media controller comprising:
-
a plurality of communication links coupled to one or more diagnostic sources; a receiver/transmitter module receiving diagnostic requests from the one or more diagnostic sources, wherein the receiver/transmitter module employs a single binary package file bundled by one or more binary package tiles from one or more processors in the media controller, to update firmware on the one or more processors and supports two or more datagrams interleaved on the communication line; a plurality of request handling modules each corresponding to one of the plurality of communication links, the request handling modules configured to (i) receive a diagnostic request from a diagnostic source coupled to the corresponding communication link, and (ii) parse the received diagnostic request, wherein each diagnostic source type has a corresponding request handling module; 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) perform a transfer of data between the media controller and the diagnostic source, if the received diagnostic request requires data transfer from the diagnostic source, iii) parse the received diagnostic request, iv) provide the received diagnostic request to a corresponding one of a plurality of end diagnostic handling modules, v) perform the data transfer between the media controller and the diagnostic source, if the received diagnostic request requires the transfer of data to the diagnostic source, and vi) deallocate, when the received diagnostic request is complete, any allocated buffer space, wherein the common diagnostic handling module handles all types of diagnostic requests from all diagnostic sources; wherein the corresponding end diagnostic handling module is adapted to perform one or more diagnostic tasks of the received diagnostic request, wherein each end diagnostic handling module is configured to perform a corresponding type of diagnostic request. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory 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 the steps of:
-
coupling the diagnostic source to a communication link; receiving, via a receiver/transmitter module, the diagnostic request, wherein the step of the receiving the diagnostic request includes the steps of; employing, by the receiver/transmitter module, a single binary package file bundled by one or more binary package files from one or more processors in the media controller, to update firmware on the one or more processors; and supporting, by the receiver/transmitter module, two or more datagrams interleaved on the communication line; parsing, by a corresponding request handling module of the media controller, the received diagnostic request, wherein each diagnostic source has a corresponding request handling module; 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, wherein the common diagnostic handling module handles all types of diagnostic requests from all diagnostic sources; if the received diagnostic request requires a transfer of data form the diagnostic source; performing, by the common diagnostic handling module, the data transfer between the media controller and the diagnostic source; 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, wherein each end diagnostic handling module is configured to perform a corresponding type of diagnostic request; 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. - View Dependent Claims (19, 20, 21, 22)
-
Specification