WO2018119662A1 - Procédé et appareil de mise à jour de noyau, et dispositif informatique - Google Patents

Procédé et appareil de mise à jour de noyau, et dispositif informatique Download PDF

Info

Publication number
WO2018119662A1
WO2018119662A1 PCT/CN2016/112370 CN2016112370W WO2018119662A1 WO 2018119662 A1 WO2018119662 A1 WO 2018119662A1 CN 2016112370 W CN2016112370 W CN 2016112370W WO 2018119662 A1 WO2018119662 A1 WO 2018119662A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
interface
logic
kernel
driving
Prior art date
Application number
PCT/CN2016/112370
Other languages
English (en)
Chinese (zh)
Inventor
彭瑞林
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP16923129.7A priority Critical patent/EP3385836B1/fr
Priority to PCT/CN2016/112370 priority patent/WO2018119662A1/fr
Priority to CN201680003769.6A priority patent/CN107003880B/zh
Priority to US16/004,044 priority patent/US10635511B2/en
Publication of WO2018119662A1 publication Critical patent/WO2018119662A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/545Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running

Definitions

  • the computer device When updating the loadable kernel module, the computer device performs the following steps in the kernel update method: first, the computer device invalidates the first interface mapping table, and the invalid first interface mapping table causes the The interface module stops sending a new service request to the first driving logic according to the first interface mapping table, where the new service request refers to the interface module after the first interface mapping table is invalidated Receiving a service request of the service application; then the computer device replaces the first drive logic module in the loadable kernel module with a second drive logic module, and the second drive logic module is an updated drive logic module
  • the second driving logic module includes second driving logic capable of providing a driving service for the service application; finally, the computer device records each interface in the interface module and the interface corresponding to the interface in a second interface mapping table Driving logic in the second drive logic module.
  • the interface module may send the new service request to the second drive logic of the second drive logic module according to the second interface mapping table.
  • the drive logic module executes drive logic in the drive logic module for responding to network I/O requests in the drive logic module, the drive logic for transmitting data carried by the network I/O request to the network.
  • the drive logic module executes drive logic for the file system driver in the drive logic module to respond to the write request, the drive logic for writing data carried by the write request to the file system.
  • the computer device 100 (specifically, the interface module) sets an invalid identifier for the driving logic (specifically, the interface of the driving logic) in the first interface mapping table, where the invalid identifier indicates that the interface module is configured according to the
  • the driving logic (specifically, the interface of the driving logic) found by the first interface mapping table is invalid; for the interface module, the invalid driving logic is not used according to the first interface mapping table (specifically, the driving logic may be Interface) forwards service requests.
  • the interface module forwards the received service request of the service application to the first driving logic corresponding to the interface that receives the service request according to the first interface mapping table, where the first driving logic module pair
  • the service request performs the first driving logic, where the first driving logic refers to driving logic that provides a driving service for the service application in the first driving logic module;

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

L'invention concerne un procédé et un appareil de mise à jour de noyau (700), et un dispositif informatique (100). Le dispositif informatique (100) exécute le procédé de mise à jour de noyau pour mettre à jour un module de noyau chargeable dans le noyau. Le procédé comprend les étapes suivantes : premièrement, configurer une première table de mappage d'interfaces comme étant invalide (S411), la première table de mappage d'interfaces invalide permettant à un module d'interface d'arrêter d'envoyer une demande de service d'une application de service à une logique de lecteur d'un premier module de logique de lecteur, de sorte que le premier module de logique de lecteur suspende la fourniture d'un service de lecteur à l'application de service ; puis, remplacer le premier module de logique de lecteur dans le module de noyau chargeable avec un deuxième module de logique de lecteur (S412) ; et dans une deuxième table de mappage d'interfaces, enregistrer chaque interface dans le module d'interface et une logique de lecteur dans le deuxième module de logique de lecteur correspondant à l'interface (S413). Après que le module de noyau chargeable a été mis à jour, le deuxième module de logique de lecteur exécute une logique de lecteur sur une nouvelle demande de service réacheminée par le module d'interface selon la deuxième table de mappage d'interfaces et, par conséquent, la fourniture d'un service de lecteur à l'application de service est récupérée.
PCT/CN2016/112370 2016-12-27 2016-12-27 Procédé et appareil de mise à jour de noyau, et dispositif informatique WO2018119662A1 (fr)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP16923129.7A EP3385836B1 (fr) 2016-12-27 2016-12-27 Procédé et appareil de mise à jour de noyau
PCT/CN2016/112370 WO2018119662A1 (fr) 2016-12-27 2016-12-27 Procédé et appareil de mise à jour de noyau, et dispositif informatique
CN201680003769.6A CN107003880B (zh) 2016-12-27 2016-12-27 内核更新方法和装置、计算机设备
US16/004,044 US10635511B2 (en) 2016-12-27 2018-06-08 Kernel update method and apparatus, and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/112370 WO2018119662A1 (fr) 2016-12-27 2016-12-27 Procédé et appareil de mise à jour de noyau, et dispositif informatique

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/004,044 Continuation US10635511B2 (en) 2016-12-27 2018-06-08 Kernel update method and apparatus, and computer device

Publications (1)

Publication Number Publication Date
WO2018119662A1 true WO2018119662A1 (fr) 2018-07-05

Family

ID=59431621

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112370 WO2018119662A1 (fr) 2016-12-27 2016-12-27 Procédé et appareil de mise à jour de noyau, et dispositif informatique

Country Status (4)

Country Link
US (1) US10635511B2 (fr)
EP (1) EP3385836B1 (fr)
CN (1) CN107003880B (fr)
WO (1) WO2018119662A1 (fr)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3376392A1 (fr) * 2017-03-15 2018-09-19 Siemens Aktiengesellschaft Procédé destiné au fonctionnement d'un système d'automatisation et système d'automatisation fonctionnant selon ledit procédé
US10503518B2 (en) * 2017-10-11 2019-12-10 Microsoft Technology Licensing, Llc Initializing hardware components using parallel driver loading and serial access granting
US10929122B1 (en) * 2019-10-23 2021-02-23 Microsoft Technology Licensing, Llc Modifying program modules in running applications
CN118054998B (zh) * 2024-04-15 2024-06-18 珠海星云智联科技有限公司 用于内核网络驱动的驱动器和驱动升级方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655801A (zh) * 2009-09-11 2010-02-24 华为技术有限公司 驱动软件升级的方法及装置
CN102830983A (zh) * 2011-06-14 2012-12-19 上海未来宽带技术及应用工程研究中心有限公司 一种可动态加载不同终端交换芯片驱动的方法
US20140359593A1 (en) * 2013-05-31 2014-12-04 Microsoft Corporation Maintaining known dependencies for updates
CN104679532A (zh) * 2013-11-27 2015-06-03 腾讯科技(深圳)有限公司 内核模块加载方法和装置
CN105335195A (zh) * 2015-11-02 2016-02-17 北京金山安全软件有限公司 一种设备驱动升级方法、装置及电子设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071856A1 (en) * 2003-09-26 2005-03-31 Kumar C.P. Vijay Dynamically loadable stub modules
US7818736B2 (en) * 2005-09-14 2010-10-19 International Business Machines Corporation Dynamic update mechanisms in operating systems
US20070174849A1 (en) * 2006-01-12 2007-07-26 Cheung Yan M Non-disruptive multipath device driver update system and method
US7890664B1 (en) * 2008-03-31 2011-02-15 Emc Corporation Methods and apparatus for non-disruptive upgrade by redirecting I/O operations
US8527665B2 (en) * 2011-04-15 2013-09-03 Ixia Redirecting function calls

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655801A (zh) * 2009-09-11 2010-02-24 华为技术有限公司 驱动软件升级的方法及装置
CN102830983A (zh) * 2011-06-14 2012-12-19 上海未来宽带技术及应用工程研究中心有限公司 一种可动态加载不同终端交换芯片驱动的方法
US20140359593A1 (en) * 2013-05-31 2014-12-04 Microsoft Corporation Maintaining known dependencies for updates
CN104679532A (zh) * 2013-11-27 2015-06-03 腾讯科技(深圳)有限公司 内核模块加载方法和装置
CN105335195A (zh) * 2015-11-02 2016-02-17 北京金山安全软件有限公司 一种设备驱动升级方法、装置及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3385836A4 *

Also Published As

Publication number Publication date
EP3385836A1 (fr) 2018-10-10
US20180293117A1 (en) 2018-10-11
CN107003880B (zh) 2020-04-03
EP3385836B1 (fr) 2023-07-05
CN107003880A (zh) 2017-08-01
EP3385836A4 (fr) 2019-02-20
US10635511B2 (en) 2020-04-28

Similar Documents

Publication Publication Date Title
JP5026509B2 (ja) マシンから仮想マシンへの変換
US9600315B2 (en) Seamless takeover of a stateful protocol session in a virtual machine environment
US9354907B1 (en) Optimized restore of virtual machine and virtual disk data
US8447826B1 (en) Method and apparatus for providing highly available storage groups
WO2018119662A1 (fr) Procédé et appareil de mise à jour de noyau, et dispositif informatique
US20110264776A1 (en) Deploying an operating system
WO2019061352A1 (fr) Procédé et dispositif de chargement de données
US10620871B1 (en) Storage scheme for a distributed storage system
WO2023061172A1 (fr) Procédé et appareil de mise à niveau d'application, dispositif informatique et système de puce
JP2004234114A (ja) 計算機システム、計算機装置、オペレーティングシステムの移送方法及びプログラム
US11922176B2 (en) Containerized firmware services
JP2007080012A (ja) 再起動方法、システム及びプログラム
WO2022242665A1 (fr) Procédé de stockage de données et dispositif associé
CN108334401B (zh) 实现逻辑卷动态分配并支持虚拟机动态迁移的系统及方法
CN114416148A (zh) 一种虚拟机管理程序热升级方法、装置及存储介质
US10942821B1 (en) Method and apparatus for dynamic binding and unbinding thin logical storage volumes to snapshots of a file system
CN113722147A (zh) 一种保持业务连接方法及相关设备
US20240211246A1 (en) Method and Apparatus for Upgrading Client Software
WO2023231572A1 (fr) Procédé et appareil de création de conteneur, et support de stockage
AU2012200600B2 (en) "Converting machines to virtual machines"
CN117687738A (zh) 一种缓存控制方法、装置和计算机设备
CN114003341A (zh) 分布式存储服务的升级方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2016923129

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2016923129

Country of ref document: EP

Effective date: 20180705

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16923129

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE