96
(12) 按 照 专 利 合 作 条 约 所 公 布 的 国 际 申 请
(19) 世 界 知 识 产 权 组 织
国 际 局
(10) 国 际 公 布 号
(43) 国 际 公 布 日
2018 年 7 月 5 日 (05.07.2018)
P C T
W O 2018/119662 A 1
(51) 国 际 专 利 分 类 号 :
LS, LU, LY, MA, MD, ME, MG, MK,
丽 ,
MW, MX, MY,
G06F 9/445 (2006.01)
MZ, NA, NG, NI, NO, NZ, OM, PA, PE, PG, PH, PL, PT,
(21) 国 际 申 请 号
QA, RO, RS, RU, RW, SA, SC, SD, SE, SG, SK, SL, SM,
PCT/CN20 16/1 12370
ST, SV, SY, TH, TJ, TM, TN, TR, TT, TZ, UA, UG, US,
(22) 国 际 申 请 日
2016 年 1 2 月 2 7 日 (27.12.2016)
UZ, VC, VN, ZA, ZM, Z W
。
(25) 申 请 语
中 文
(84) 指 定 国 (除 另 有 指 明 , 要 求 每 一 种 可 提 供 的 地 区
(26) 公 布 语 言
中 文
保 护 ):ARIPO (BW, GH, GM, KE, LR, LS, MW, MZ,
NA, RW, SD, SL, ST, SZ, TZ, UG, ZM, ZW), 欧 亚 (AM,
(71) 申 请 人 : 华 为 技 术 有 限 公 司 (HUAWEI
AZ, BY, KG, KZ, RU, TJ, TM), 欧 洲 (AL, AT, BE, BG,
TECHNOLOGIES CO., LTD.) [CN/CN] ; 中 国 广 东
CH, CY, CZ, DE, DK, EE, ES, FI, FR, GB, GR, HR, HU,
省 深 圳 市 龙 岗 区 坂 田 华 为 总 部 办 公 楼 ,
IE, IS, IT, LT, LU, LV, MC, MK, MT, NL, NO, PL, PT,
Guangdong 5 1 8 129 (CN) 。
RO, RS, SE, SI, SK, SM, TR), OAPI (BF, BJ, CF, CG, CI,
(72) 发 明 人 : 彭 瑞 林 (PENG, Ruilin) ; 中 国 广 东 省
CM, GA, GN, GQ, GW, KM, ML, MR, NE, SN, TD, TG)
。
深 圳 市 龙 岗 区 坂 田 华 为 总 部 办 公 楼 ,
Guangdong 5 1 8 129 (CN) 。
本 国 际 公 布 :
- 包 括 国 际 检 索 报 告 ( 条 约 第 2 1 条 (3)
) 。
(81) 指 定 国 (除 另 有 指 明 , 要 求 每 一 种 可 提 供 的 国 家
保 护 ) :AE, AG, AL, AM, AO, AT, AU, AZ, BA, BB, BG,
BH, BN, BR, BW, BY, BZ, CA, CH, CL, CN, CO, CR, CU,
CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, ES, FI, GB,
GD, GE, GH, GM, GT, HN, HR, HU, ID, IL, IN, IR, IS,
JP, KE, KG, KH, KN, KP, KR, KW, KZ, LA, LC, LK, LR,
(54) Title: KERNEL UPDATE METHOD AND APPARATUS, AND COMPUTER DEVICE
(54) 发 明 名 称 : 内 核 更 新 方 法 和 装 置 、 计 算 机 设 备
S 4 1
将 第 一 接 口 映 射 表 置 为 无 效
S41 1
Set a first interface mapping
table t o b e invalid
- S41 2 S412
Replace a first drive logic
module into a second drive
将 第 一 驱 动 逻 辑 模 块 替 换 为 第 一 驱 动 逻 辑 模 块
logic module
S413
In a second interface mapping
table, record each interface in
S41 3
the interface module and a
drive logic i n the second drive
在 第 一 接 Π映 射 表 中 记 录 接 π 模 块 中 的 每 个 接
logic module corresponding t o
π , 以 及 所 述 接 Π对 应 的 第 一 驱 动 逻 辑 模 块 中
the interface
的 驱 动 遝
图 4
(57) Abstract: A kernel update method and apparatus (700), and a computer device (100). The computer device (100) executes the
kernel update method t o update a loadable kernel module i n the kernel. The method comprises: firstly, setting a first interface mapping
table t o b e invalid (S41 1), the invalid first interface mapping table enabling a n interface module t o stop sending a service request o f
a service application t o a drive logic o f a first drive logic module, s o that the first drive logic module suspends provision o f a drive
service t o the service application; then, replacing the first drive logic module i n the loadable kernel module into a second drive logic
module (S4 1 2); and i n a second interface mapping table, recording each interface i n the interface module and a drive logic i n the second
drive logic module corresponding t o the interface (S413). After the loadable kernel module i s updated, the second drive logic module
executes a drive logic o n a new service request forwarded b y the interface module according t o the second interface mapping table, and
accordingly, the provision o f a drive service t o the service application i s recovered.
[ 见 续 页 ]
评论