IP Library Granted Patent US 9,058,264
Granted Patent B2
US 9,058,264 · App. 13/570,722 · Granted Jun 16, 2015

Method for repairing communication abnormality between data card and host and data card

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,058,264
App. No.
13/570,722
Granted
Jun 16, 2015
Kind
B2
Abstract

An embodiment of the present invention provides a method for repairing a communication abnormality between a data card and a host. When an abnormality occurs on communication between a data card and a host, executing repair data in the data card to repair the operating system of the host; resetting the data card and reporting an optical disk descriptor; and detecting, by the data card, the type of the operating system of the host according to a received minicomputer system interface command. According to the embodiments of the present invention, in a process of communication between the data card and the host, when an abnormality occurs on the communication between the data card and the host and therefore the data card can no longer be used, the abnormality is able to be automatically repaired, thereby greatly improving repair efficiency and reducing a repair duration and repair complexity.

Claims (23)

1. A method for repairing a communication abnormality between a data card and a host having an operating system, the method comprising:

when an abnormality occurs on a communication between the data card and the host, executing repair data in the data card to repair the operating system of the host, wherein the abnormality comprises that the data card failed to receive a network card broadcast packet sent by the host after being switched to a network card mode;

resetting the data card, and reporting an optical disk descriptor; and

detecting, by the data card, a type of the operating system of the host according to a received minicomputer system interface command.

2. The method according to claim 1 , wherein executing repair data in the data card to repair the operating system of the host comprises:

resetting the data card, reporting a storage device descriptor, and mapping the data card as a storage device; and

executing the repair data in the data card that is mapped as the storage device to repair the operating system of the host.

3. The method according to claim 1 , wherein executing repair data in the data card to repair the operating system of the host comprises: deleting information of the data card already recorded in a registry of the operating system of the host.

4. The method according to claim 1 , wherein executing repair data in the data card to repair the operating system of the host comprises: deleting information of the data card already recorded in a registry of the operating system of the host and deleting a device information file in the host, the device information file installed in the host by the data card.

5. The method according to claim 1 , wherein after detecting the type of the operating system of the host, the method further comprises:

loading, by the host, a data card driver; and

receiving, by the data card, a network broadcast packet delivered by the host.

6. A data card, comprising:

a receiving unit configured to receive information delivered by a host, wherein the information comprises a minicomputer system interface command delivered by the host, or information that a device information file delivered by the host failed to be correctly installed, or a network card broadcast packet delivered by the host;

a judgment unit configured to judge whether an abnormality occurs on a communication between the data card and the host, and determines that an abnormality occurs on the communication between the data card and the host when the data card failed to receive, in a preset period of time, a minicomputer system interface command sent by the host, or the device information file in the data card failed to be correctly installed in the host, or the data card failed to receive the network card broadcast packet sent by the host after being switched to a network card mode;

a detection unit configured to identify a type of operating system of the host according to the minicomputer system interface command received from the host, wherein when a minicomputer system interface command with an operation code 0XA2 is received, the operating system is a first predetermined type, when a minicomputer system interface command with an operation code 0XBB is received, the operating system is a second predetermined type, and if neither of the foregoing two types of minicomputer system interface commands is received, the operating system is a third predetermined type;

a repair unit configured to, when an abnormality occurs on the communication between the data card and the host, execute repair data in the data card to repair the operating system of the host by:

deleting information of the data card already recorded in a registry of the operating system of the host, or

deleting the information of the data card already recorded in the registry of the operating system of the host and deleting the device information file in the host, wherein the device information file is installed in the host by the data card;

a storage unit configured to store the repair data;

a reset unit configured to reset the data card;

a switching unit configured to switch the data card to the network card mode; and

a network access unit configured to implement a wireless network access function.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 13, 2020
From: HUAWEI DEVICE CO., LTD.
To: SHARP KABUSHIKI KAISHA
Reel/Frame 054040/0334 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 19, 2018
From: HUAWEI DEVICE (SHENZHEN) CO., LTD.
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 047603/0039 →
CHANGE OF NAME Recorded Jun 12, 2018
From: HUAWEI DEVICE CO.,LTD.
To: HUAWEI DEVICE (SHENZHEN) CO., LTD.
Reel/Frame 046340/0590 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 23, 2012
From: GUI, YONGLIN; HAN, WEI; ZHU, GUANGZE; WANG, CHANGLIANG
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 029176/0029 →