Legal claims defining the scope of protection, as filed with the USPTO.
1. A task management method of an electronic storage device, comprising: sending a query command to the electronic storage device at a variable interval by a host to determine a status of a task queue of the electronic storage device, and the variable interval is associated at least to a task amount in the task queue; determining the variable interval according to the task amount in the task queue, wherein the more the task amount in the task queue is, the shorter the variable interval is determined; and the fewer the task amount in the task queue is, the longer the variable interval is determine; and obtaining a response information including the status of the task queue, wherein the status of the task queue comprises an information about whether a task preparation in the task queue is to be completed; wherein the host is arranged to comply with an embedded multimedia card (eMMC) standard to transmit signals to the storage device and receive signals from the storage device.
2. The task management method of the electronic storage device of claim 1 , further comprising: determining the variable interval further according to a priority order of the task in the task queue.
3. The task management method of an electronic storage device of claim 2 , wherein the higher the priority of the task is, the shorter the variable interval is determined; and the lower the priority of the task, the longer the variable interval is determined.
4. The task management method of an electronic storage device of claim 2 , wherein: the priority order of the task is determined according to the task priority order specified by a memory standard; or the priority order of the task is determined according to the task priority order specified by an operating system kernel; or the priority order of the task is determined according to the task priority order specified by an application scenario; or the priority order of the task is determined according to the task priority order specified by a hardware type.
5. The task management method of the electronic storage device of claim 2 , further comprising: after the response information indicating that the task preparation is to be completed, sending an execution command of the task according to the priority order.
6. The task management method of the electronic storage device of claim 1 , further comprising: when the response information indicating that the task preparation is not completed, continuously sending the query command to the electronic storage device at the variable interval; or when the response information indicating that the task preparation is completed, sending an execution command of the task.
7. The task management method of an electronic storage device of claim 6 , wherein the execution command of the task comprises reading data, writing data, or discarding tasks.
8. A task management method of an electronic storage device, comprising: sending a task by a host to the electronic storage device; determining whether a data transmission is being performed between the host and the electronic storage device; and when the data transmission is being performed between the host and the electronic storage device, determining a completion time of the data transmission between the host and the electronic storage device, and when the data transmission is completed, immediately sending a query command to the electronic storage device to determine a status of a task queue of the electronic storage device; and obtaining a response information including the status of the task queue, wherein the status of the task queue comprises an information about whether a task preparation in the task queue is to be completed; when the response information indicating that the task preparation is not completed, continuously sending the query command to the electronic storage device at a variable interval, and the variable interval is associated at least to a task amount in the task queue; determining the variable interval according to the task amount in the task queue, wherein the more the task amount in the task queue is, the shorter the variable interval is determined; and the fewer the task amount in the task queue is, the longer the variable interval is determine; and when the response information indicating that the task preparation is completed, sending an execution command of the task; wherein the host is arranged to comply with an embedded multimedia card (eMMC) standard to transmit signals to the storage device and receive signals from the storage device.
9. The task management method of the electronic storage device of claim 8 , further comprising: when the data transmission is not performed between the host and the electronic storage device, immediately sending the query command to the electronic storage device.
10. A host, comprising: a host controller; and a communication circuit, coupled to the host controller and utilized for causing the host controller to communicate with an external storage device, wherein the host controller is utilized for sending a query command to the external electronic storage device at a variable interval to determine a status of a task queue of the electronic storage device, and obtaining a response information including the status of the task queue, wherein the status of the task queue comprises an information about whether a task preparation in the task queue is to be completed; and the variable interval is associated at least to a task amount in the task queue; and the host controller is utilized for determining the variable interval according to the task amount in the task queue, wherein the more the task amount in the task queue is, the shorter the variable interval is determined; and the fewer the task amount in the task queue is, the longer the variable interval is determine; wherein the host is arranged to comply with an embedded multimedia card (eMMC) standard to transmit signals to the storage device and receive signals from the storage device.
Unknown
May 18, 2021
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.