CN107911248A - Upgrade method and device - Google Patents
Upgrade method and device Download PDFInfo
- Publication number
- CN107911248A CN107911248A CN201711205376.6A CN201711205376A CN107911248A CN 107911248 A CN107911248 A CN 107911248A CN 201711205376 A CN201711205376 A CN 201711205376A CN 107911248 A CN107911248 A CN 107911248A
- Authority
- CN
- China
- Prior art keywords
- message forwarding
- forwarding application
- memory field
- upgrade
- memory area
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
本申请实施例公开了升级方法和装置。该方法的一具体实施方式包括:响应于接收到包含目标报文转发应用信息的升级命令,对该目标报文转发应用信息进行校验,其中,该升级命令用于指示将原始报文转发应用升级为目标报文转发应用;响应于确定校验通过,获取该目标报文转发应用;在第二内存区已建立的连接的数量为预设数值时,将该第二内存区所运行的原始报文转发应用升级为该目标报文转发应用;在第一内存区已建立的连接的数量为该预设数值时,将该第一内存区所运行的原始报文转发应用升级为该目标报文转发应用。该实施方式提高了在大流量高并发场景下的热升级的适应性。
The embodiment of the present application discloses an upgrading method and device. A specific implementation manner of the method includes: in response to receiving an upgrade command containing target message forwarding application information, verifying the target message forwarding application information, wherein the upgrade command is used to instruct the original message forwarding application Upgrade to a target message forwarding application; in response to determining that the verification is passed, obtain the target message forwarding application; when the number of established connections in the second memory area is a preset value, the original The message forwarding application is upgraded to the target message forwarding application; when the number of established connections in the first memory area is the preset value, the original message forwarding application running in the first memory area is upgraded to the target message forwarding application. Text forwarding application. This implementation improves the adaptability of hot upgrades in scenarios with high traffic and high concurrency.
Description
技术领域technical field
本申请实施例涉及计算机技术领域,具体涉及互联网技术领域,尤其涉及升级方法和装置。The embodiments of the present application relate to the field of computer technology, specifically to the field of Internet technology, and in particular to an upgrade method and device.
背景技术Background technique
随着计算机技术的发展,出于产品迭代的持续性考虑以及异常情况的处理,报文转发应用的热升级是一个无法避免的过程。目前业内的报文转发应用在不同的应用场景下采用的升级方法主要包括更换内核模块、新进程取代原进程等。With the development of computer technology, due to the continuous consideration of product iteration and the handling of abnormal situations, the hot upgrade of message forwarding applications is an unavoidable process. Currently, packet forwarding applications in the industry adopt upgrade methods in different application scenarios, mainly including replacing kernel modules, replacing original processes with new processes, and so on.
通常,在报文转发功能通过内核模块完成的情况下,现有方式通过卸载旧版本内核模块并加载新版本的内核模块的方式进行升级,因而无法做到在线业务无损升级;在报文转发功能由用户态进行执行时,通过在原进行提供服务的同时创建新进程,新进程继承原进程的文件描述符后提供服务的方式进行升级,但此方式受转发性能限制,无法在大流量、高并发的场景下使用。Usually, when the message forwarding function is completed through the kernel module, the existing method upgrades by uninstalling the old version of the kernel module and loading the new version of the kernel module, so it is impossible to achieve non-destructive upgrade of online services; When executing in user mode, a new process is created while the original process provides services, and the new process inherits the file descriptor of the original process and then provides services for upgrading. However, this method is limited by forwarding performance and cannot be used in large traffic and high concurrency. use in scenarios.
发明内容Contents of the invention
本申请实施例提出了升级方法和装置。The embodiment of this application proposes an upgrade method and device.
第一方面,本申请实施例提供了一种服务器的升级方法,服务器的系统内存分为第一内存区和第二内存区,第一内存区与第二内存区运行有原始报文转发应用,该方法包括:响应于接收到包含目标报文转发应用信息的升级命令,对目标报文转发应用信息进行校验,其中,升级命令用于指示将原始报文转发应用升级为目标报文转发应用;响应于确定校验通过,获取目标报文转发应用;在第二内存区已建立的连接的数量为预设数值时,将第二内存区所运行的原始报文转发应用升级为目标报文转发应用;在第一内存区已建立的连接的数量为预设数值时,将第一内存区所运行的原始报文转发应用升级为目标报文转发应用。In the first aspect, the embodiment of the present application provides a method for upgrading a server. The system memory of the server is divided into a first memory area and a second memory area. The first memory area and the second memory area run original message forwarding applications. The method includes: verifying the target message forwarding application information in response to receiving an upgrade command containing target message forwarding application information, wherein the upgrade command is used to indicate that the original message forwarding application is upgraded to the target message forwarding application ; In response to determining that the verification is passed, obtain the target message forwarding application; when the number of established connections in the second memory area is a preset value, upgrade the original message forwarding application running in the second memory area to the target message A forwarding application: when the number of established connections in the first memory area is a preset value, upgrade the original message forwarding application running in the first memory area to a target message forwarding application.
在一些实施例中,在第二内存区已建立的连接的数量为预设数值时,将第二内存区所运行的原始报文转发应用升级为目标报文转发应用,包括:响应于接收到报文转发请求,确定第二内存区已建立的连接的数量是否为预设数值,若是,将第二内存区所运行的原始报文转发应用升级为目标报文转发应用,在运行有目标报文转发应用的第二内存区创建连接,并更新第二内存区已建立的连接的数量。In some embodiments, when the number of established connections in the second memory area is a preset value, upgrading the original message forwarding application running in the second memory area to the target message forwarding application includes: responding to receiving Message forwarding request, determine whether the number of established connections in the second memory area is a preset value, if so, upgrade the original message forwarding application running in the second memory area to the target message forwarding application, and run the target message forwarding application Create connections in the second memory area of the file forwarding application, and update the number of established connections in the second memory area.
在一些实施例中,在确定第二内存区已建立的连接的数量是否为预设数值之后,在第二内存区已建立的连接的数量为预设数值时,将第二内存区所运行的原始报文转发应用升级为目标报文转发应用,还包括:响应于确定第二内存区已建立的连接的数量不为预设数值,在第一内存区创建连接,并更新第一内存区已建立的连接的数量。In some embodiments, after determining whether the number of established connections in the second memory area is a preset value, when the number of established connections in the second memory area is a preset value, the Upgrading the original message forwarding application to the target message forwarding application also includes: in response to determining that the number of established connections in the second memory area is not a preset value, creating a connection in the first memory area, and updating the number of connections established in the first memory area The number of connections established.
在一些实施例中,在第一内存区已建立的连接的数量为预设数值时,将第一内存区所运行的原始报文转发应用升级为目标报文转发应用,包括:响应于接收到报文转发请求,确定第一内存区已建立的连接的数量是否为预设数值,若是,将第一内存区所运行的原始报文转发应用升级为目标报文转发应用,随机选择运行有目标报文转发应用的第一内存区和第二内存区中的任一内存区,在所选择的内存区中创建连接,并更新所选择的内存区已建立的连接的数量。In some embodiments, when the number of established connections in the first memory area is a preset value, upgrading the original message forwarding application running in the first memory area to the target message forwarding application includes: responding to receiving Message forwarding request, determine whether the number of established connections in the first memory area is a preset value, if so, upgrade the original message forwarding application running in the first memory area to the target message forwarding application, and randomly select the target message forwarding application to run Either one of the first memory area and the second memory area of the message forwarding application creates a connection in the selected memory area, and updates the number of established connections in the selected memory area.
在一些实施例中,在确定第一内存区已建立的连接的数量是否为预设数值之后,在第一内存区已建立的连接的数量为预设数值时,将第一内存区所运行的原始报文转发应用升级为目标报文转发应用,还包括:响应于确定第一内存区已建立的连接的数量不为预设数值,在第二内存区创建连接,并更新第二内存区已建立的连接的数量。In some embodiments, after determining whether the number of established connections in the first memory area is a preset value, when the number of established connections in the first memory area is a preset value, the Upgrading the original message forwarding application to the target message forwarding application also includes: in response to determining that the number of established connections in the first memory area is not a preset value, creating a connection in the second memory area, and updating the number of connections established in the second memory area The number of connections established.
在一些实施例中,在响应于接收到包含目标报文转发应用信息升级命令之前,该方法还包括:响应于接收到报文转发请求,随机选择第一内存区和第二内存区中的任一内存区,将所选择的内存区作为目标内存区,在目标内存区创建连接,并更新目标内存区已建立的连接的数量。In some embodiments, before responding to receiving the update command containing target message forwarding application information, the method further includes: randomly selecting any one of the first memory area and the second memory area in response to receiving the message forwarding request A memory area, using the selected memory area as the target memory area, creating a connection in the target memory area, and updating the number of established connections in the target memory area.
在一些实施例中,目标报文转发应用信息包括以下至少一项:目标报文转发应用的路径,目标报文转发应用的名称,目标报文转发应用的版本号,执行升级操作的用户信息,执行升级操作的操作时间,目标报文转发应用的校验信息。In some embodiments, the target message forwarding application information includes at least one of the following: the path of the target message forwarding application, the name of the target message forwarding application, the version number of the target message forwarding application, the user information for performing the upgrade operation, The operation time of performing the upgrade operation, and the verification information of the target packet forwarding application.
第二方面,本申请实施例提供了一种服务器的升级装置,服务器的系统内存分为第一内存区和第二内存区,第一内存区与第二内存区运行有原始报文转发应用,该装置包括:校验单元,配置用于响应于接收到包含目标报文转发应用信息的升级命令,对目标报文转发应用信息进行校验,其中,升级命令用于指示将原始报文转发应用升级为目标报文转发应用;获取单元,配置用于响应于确定校验通过,获取目标报文转发应用;第一升级单元,配置用于在第二内存区已建立的连接的数量为预设数值时,将第二内存区所运行的原始报文转发应用升级为目标报文转发应用;第二升级单元,配置用于在第一内存区已建立的连接的数量为预设数值时,将第一内存区所运行的原始报文转发应用升级为目标报文转发应用。In the second aspect, an embodiment of the present application provides an upgrade device for a server. The system memory of the server is divided into a first memory area and a second memory area. The first memory area and the second memory area run original message forwarding applications. The device includes: a verification unit configured to verify the target message forwarding application information in response to receiving an upgrade command containing the target message forwarding application information, wherein the upgrade command is used to instruct the original message forwarding application Upgrading to a target message forwarding application; the acquiring unit is configured to acquire the target message forwarding application in response to determining that the verification is passed; the first upgrading unit is configured to set the number of established connections in the second memory area as preset value, the original message forwarding application run by the second memory area is upgraded to the target message forwarding application; the second upgrading unit is configured for when the number of established connections in the first memory area is a preset value, the The original message forwarding application running in the first memory area is upgraded to the target message forwarding application.
在一些实施例中,第一升级单元进一步配置用于:响应于接收到报文转发请求,确定第二内存区已建立的连接的数量是否为预设数值,若是,将第二内存区所运行的原始报文转发应用升级为目标报文转发应用,在运行有目标报文转发应用的第二内存区创建连接,并更新第二内存区已建立的连接的数量。In some embodiments, the first upgrade unit is further configured to: in response to receiving the message forwarding request, determine whether the number of connections established in the second memory area is a preset value, and if so, update the number of connections run by the second memory area to The original message forwarding application is upgraded to a target message forwarding application, a connection is created in the second memory area running the target message forwarding application, and the number of established connections in the second memory area is updated.
在一些实施例中,第一升级单元进一步配置用于:响应于确定第二内存区已建立的连接的数量不为预设数值,在第一内存区创建连接,并更新第一内存区已建立的连接的数量。In some embodiments, the first upgrading unit is further configured to: create a connection in the first memory area in response to determining that the number of established connections in the second memory area is not a preset value, and update the established connection in the first memory area. the number of connections.
在一些实施例中,第二升级单元进一步配置用于:响应于接收到报文转发请求,确定第一内存区已建立的连接的数量是否为预设数值,若是,将第一内存区所运行的原始报文转发应用升级为目标报文转发应用,随机选择运行有目标报文转发应用的第一内存区和第二内存区中的任一内存区,在所选择的内存区中创建连接,并更新所选择的内存区已建立的连接的数量。In some embodiments, the second upgrade unit is further configured to: in response to receiving the message forwarding request, determine whether the number of connections established in the first memory area is a preset value, and if so, update the number of connections run by the first memory area to upgrade the original message forwarding application to the target message forwarding application, randomly select any one of the first memory area and the second memory area running the target message forwarding application, and create a connection in the selected memory area, And update the number of established connections in the selected memory area.
在一些实施例中,第二升级单元进一步配置用于:响应于确定第一内存区已建立的连接的数量不为预设数值,在第二内存区创建连接,并更新第二内存区已建立的连接的数量。In some embodiments, the second upgrading unit is further configured to: create a connection in the second memory area in response to determining that the number of established connections in the first memory area is not a preset value, and update the established connection in the second memory area. the number of connections.
在一些实施例中,该装置还包括:创建单元,配置用于响应于接收到报文转发请求,随机选择第一内存区和第二内存区中的任一内存区,将所选择的内存区作为目标内存区,在目标内存区创建连接,并更新目标内存区已建立的连接的数量。In some embodiments, the device further includes: a creating unit configured to randomly select any one of the first memory area and the second memory area in response to receiving the message forwarding request, and convert the selected memory area to As the target memory area, create a connection in the target memory area, and update the number of established connections in the target memory area.
在一些实施例中,目标报文转发应用信息包括以下至少一项:目标报文转发应用的路径,目标报文转发应用的名称,目标报文转发应用的版本号,执行升级操作的用户信息,执行升级操作的操作时间,目标报文转发应用的校验信息。In some embodiments, the target message forwarding application information includes at least one of the following: the path of the target message forwarding application, the name of the target message forwarding application, the version number of the target message forwarding application, the user information for performing the upgrade operation, The operation time of performing the upgrade operation, and the verification information of the target packet forwarding application.
第三方面,本申请实施例提供了一种服务器,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如升级方法中任一实施例的方法。In a third aspect, the embodiment of the present application provides a server, including: one or more processors; a storage device for storing one or more programs, when one or more programs are executed by one or more processors, One or more processors are caused to implement the method as in any embodiment of the upgrading method.
第四方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如升级方法中任一实施例的方法。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method in any embodiment of the upgrading method is implemented.
本申请实施例提供的升级方法和装置,通过对接收到的升级命令中的目标报文转发应用信息进行校验,而后在校验通过后获取目标报文转发应用,之后在第二内存区已建立的连接的数量为预设数值时,将第二内存区所运行的原始报文转发应用升级为该目标报文转发应用,最后在第一内存区已建立的连接的数量为该预设数值时,将该第一内存区所运行的原始报文转发应用升级为该目标报文转发应用,从而避免更换内核模块以致业务受损,可实现在线业务无损升级,同时,不同于采用新进程取代原进程方法受转发性能限制,本实施例提供的升级方法和装置可以在大流量高并发场景下使用,实现大流量高并发场景下的报文转发应用的热升级,从而提高了在大流量高并发场景下的热升级的适应性。The upgrade method and device provided in the embodiments of the present application verify the target message forwarding application information in the received upgrade command, and then obtain the target message forwarding application after the verification is passed, and then store the target message forwarding application in the second memory area. When the number of established connections is a preset value, upgrade the original message forwarding application running in the second memory area to the target message forwarding application, and finally the number of established connections in the first memory area is the preset value , the original message forwarding application running in the first memory area is upgraded to the target message forwarding application, thereby avoiding service damage due to replacement of the kernel module, and realizing non-destructive upgrade of online services. At the same time, it is different from using a new process to replace The original process method is limited by the forwarding performance. The upgrade method and device provided in this embodiment can be used in the scenario of large traffic and high concurrency, and realize the hot upgrade of the message forwarding application in the scenario of large traffic and high concurrency. The adaptability of hot upgrades in concurrent scenarios.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1是本申请可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which the present application can be applied;
图2是根据本申请的升级方法的一个实施例的流程图;Fig. 2 is a flow chart according to an embodiment of the upgrading method of the present application;
图3是根据本申请的升级方法的一个应用场景的示意图;FIG. 3 is a schematic diagram of an application scenario of the upgrading method according to the present application;
图4是根据本申请的升级方法的又一个实施例的流程图;Fig. 4 is a flow chart according to yet another embodiment of the upgrading method of the present application;
图5是根据本申请的升级装置的一个实施例的结构示意图;Fig. 5 is a schematic structural diagram of an embodiment of an upgrading device according to the present application;
图6是适于用来实现本申请实施例的服务器的计算机系统的结构示意图。Fig. 6 is a schematic structural diagram of a computer system suitable for implementing the server of the embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.
图1示出了可以应用本申请的升级方法或升级装置的示例性系统架构100。FIG. 1 shows an exemplary system architecture 100 to which the upgrading method or upgrading apparatus of the present application can be applied.
如图1所示,系统架构100可以包括终端设备101、102、103,网络104、106,报文转发服务器105和后台服务器107、108、109。网络104用以在终端设备101、102、103和报文转发服务器105之间提供通信链路的介质;网络106用以在报文转发服务器105和后台服务器107、108、109之间提供通信链路的介质。网络104、106可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the system architecture 100 may include terminal devices 101 , 102 , 103 , networks 104 , 106 , packet forwarding server 105 and background servers 107 , 108 , 109 . Network 104 is in order to provide the medium of communication link between terminal equipment 101,102,103 and message forwarding server 105; Network 106 is in order to provide communication link between message forwarding server 105 and background server 107,108,109 The medium of the road. The networks 104, 106 may include various connection types, such as wire, wireless communication links, or fiber optic cables, among others.
用户可以使用终端设备101、102、103通过网络104与报文转发服务器105交互,以接收或发送消息(例如报文转发请求)等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如网页浏览器应用、购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。Users can use terminal devices 101 , 102 , 103 to interact with message forwarding server 105 through network 104 to receive or send messages (such as message forwarding requests) and the like. Various communication client applications can be installed on the terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, and the like.
终端设备101、102、103可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture ExpertsGroup Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving PictureExperts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。Terminal devices 101, 102, 103 can be various electronic devices with display screens and support web browsing, including but not limited to smartphones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, moving picture Expert Compression Standard Audio Layer 3), MP4 (Moving PictureExperts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) Players, Laptop Portable Computers and Desktop Computers, etc.
报文转发服务器105可以运行有报文转发应用(例如,可以实现报文转发功能的程序、软件、二进制文件等)。报文转发服务器105的系统内存可以分为第一内存区和第二内存区,第一内存区与第二内存区可以运行有原始报文转发应用。报文转发服务器105可以接收升级命令,并对升级命令中的目标报文转发应用信息进行校验,还可以依次对第二内存区与第一内存区中所运行的原始报文转发应用进行升级,升级为目标报文转发应用。此外,报文转发服务器105还可以通过网络106与后台服务器107、108、109进行交互,并基于报文转发请求建立终端设备101、102、103与后台服务器107、108、109的连接,并生成连接信息等。The packet forwarding server 105 may run a packet forwarding application (for example, a program, software, binary file, etc. that can realize the packet forwarding function). The system memory of the message forwarding server 105 can be divided into a first memory area and a second memory area, and the first memory area and the second memory area can run original message forwarding applications. The message forwarding server 105 can receive the upgrade command, and verify the target message forwarding application information in the upgrade command, and can also upgrade the original message forwarding applications running in the second memory area and the first memory area in sequence , upgrade to the target packet forwarding application. In addition, the message forwarding server 105 can also interact with the backend servers 107, 108, and 109 through the network 106, and establish connections between the terminal devices 101, 102, and 103 and the backend servers 107, 108, and 109 based on the message forwarding request, and generate connection information, etc.
需要说明的是,本申请实施例所提供的升级方法一般由报文转发服务器105执行,相应地,升级装置一般设置于报文转发服务器105中。It should be noted that the upgrade method provided in the embodiment of the present application is generally executed by the message forwarding server 105 , and correspondingly, the upgrading device is generally set in the message forwarding server 105 .
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络、报文转发服务器和后台服务器。It should be understood that the numbers of terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation requirements, there may be any number of terminal devices, networks, message forwarding servers and background servers.
继续参考图2,示出了根据本申请的用于服务器的升级方法的一个实施例的流程200。该服务器的系统内存分为第一内存区和第二内存区,所述第一内存区与所述第二内存区运行有原始报文转发应用,该升级方法的流程200,包括以下步骤:Continuing to refer to FIG. 2 , a flow 200 of an embodiment of a method for upgrading a server according to the present application is shown. The system memory of the server is divided into a first memory area and a second memory area, the first memory area and the second memory area run original message forwarding applications, and the process 200 of the upgrading method includes the following steps:
步骤201,响应于接收到包含目标报文转发应用信息的升级命令,对目标报文转发应用信息进行校验。Step 201, in response to receiving an upgrade command including target message forwarding application information, verifying target message forwarding application information.
在本实施例中,升级方法运行于其上的电子设备(例如图1所示的报文转发服务器105)响应于接收到包含目标报文转发应用信息的升级命令,可以对目标报文转发应用信息进行校验。其中,上述升级命令可以用于指示将原始报文转发应用升级为目标报文转发应用。此处,上述目标报文转发应用信息可以包括与上述目标报文转发应用相关的各种信息,例如上述目标报文转发应用的路径、名称、创建时间、创建人信息等。需要说明的是,对上述目标报文转发应用信息进行校验,可以通过将上述目标报文转发应用信息中的各个信息与预置的相应的信息进行匹配的方式进行校验。对于上述目标报文转发应用信息中的每一个信息,若该信息与预设的相应的信息相匹配,则可以确定该信息通过校验;若否,则可以确定该信息未通过校验。响应于确定所包含的各个信息均通过校验,则可以确定上述目标报文转发应用信息通过校验;响应于确定所包含的信息中存在未通过校验的信息,则可以确定上述目标报文转发应用信息未通过校验。In this embodiment, the electronic device on which the upgrading method runs (for example, the message forwarding server 105 shown in FIG. 1 ) may update the target message forwarding application The information is verified. Wherein, the above upgrade command may be used to instruct to upgrade the original packet forwarding application to the target packet forwarding application. Here, the target message forwarding application information may include various information related to the target message forwarding application, such as the path, name, creation time, and creator information of the target message forwarding application. It should be noted that the verification of the above target message forwarding application information may be performed by matching each information in the above target message forwarding application information with the corresponding preset information. For each piece of information in the above target message forwarding application information, if the information matches the preset corresponding information, it can be determined that the information passes the verification; if not, it can be determined that the information fails the verification. In response to determining that each of the contained information has passed the verification, it can be determined that the target message forwarding application information has passed the verification; in response to determining that there is information that fails the verification in the contained information, it can be determined that the target message Forwarded application information failed verification.
步骤202,响应于确定校验通过,获取目标报文转发应用。Step 202, in response to determining that the verification is passed, acquire a target packet forwarding application.
在本实施例中,响应于确定校验通过,上述电子设备可以获取上述目标报文转发应用。具体地,由于上述目标报文转发应用信息可以包括上述目标报文转发应用的路径和名称等信息,上述电子设备可以直接从上述路径中获取与上述名称一致的上述目标报文转发应用。In this embodiment, in response to determining that the verification is passed, the above-mentioned electronic device may obtain the above-mentioned target packet forwarding application. Specifically, since the target packet forwarding application information may include information such as the path and name of the target packet forwarding application, the electronic device may directly obtain the target packet forwarding application consistent with the above name from the path.
步骤203,在第二内存区已建立的连接的数量为预设数值时,将第二内存区所运行的原始报文转发应用升级为目标报文转发应用。Step 203, when the number of established connections in the second memory area is a preset value, upgrade the original message forwarding application running in the second memory area to the target message forwarding application.
在本实施例中,上述电子设备可以在第二内存区已建立的连接的数量为预设数值(例如0)时,将第二内存区所运行的原始报文转发应用升级为目标报文转发应用。In this embodiment, the above-mentioned electronic device can upgrade the original message forwarding application running in the second memory area to target message forwarding when the number of established connections in the second memory area is a preset value (for example, 0). application.
实践中,客户端(例如图1所示的终端设备101、102、103)向上述电子设备发送报文转发请求后,上述电子设备会建立该客户端与后台服务器(例如图1所示的后台服务器107、108、109)的连接,并生成连接信息。其中,上述连接信息可以包括:该客户端的端口号、该客户端的IP地址(Internet Protocol Address,互联网协议地址)、后台服务器的IP地址、后台服务器的端口号、TCP(Transmission Control Protocol,传输控制协议)序列号、ACK(Acknowledgement,确认字符)号、统计信息(例如报文数目)等。在接收到更新请求且目标报文转发应用信息校验通过后,上述电子每接收到一个客户端发送的报文转发请求,均可以确定第二内存区已建立的连接数是否为上述预设数值,若不为上述预设数值,可以在第一内存区建立连接。当第二内存区的连接数下降为上述预设数值后,将上述第二内存区所运行的原始报文转发应用升级为目标报文转发应用。In practice, after the client (such as the terminal devices 101, 102, and 103 shown in FIG. 1 ) sends a message forwarding request to the above-mentioned electronic device, the above-mentioned electronic device will establish a connection between the client and the background server (such as the background server shown in FIG. 1 ). server 107, 108, 109), and generate connection information. Wherein, the above-mentioned connection information can include: the port number of the client, the IP address (Internet Protocol Address, Internet Protocol Address) of the client, the IP address of the background server, the port number of the background server, TCP (Transmission Control Protocol, transmission control protocol ) sequence number, ACK (Acknowledgment, confirmation character) number, statistical information (such as the number of packets), etc. After receiving the update request and passing the verification of the target message forwarding application information, each time the above electronics receives a message forwarding request sent by a client, it can determine whether the number of connections established in the second memory area is the above preset value , if it is not the above preset value, a connection can be established in the first memory area. When the number of connections in the second memory area drops to the preset value, the original message forwarding application running in the second memory area is upgraded to a target message forwarding application.
在本实施例中,上述电子设备可以通过以下步骤将第二内存区所运行的原始报文转发应用升级为目标报文转发应用:第一步,上述电子设备可以加载上述目标报文转发应用。第二步,读取动态链接库(Dynamic Link Library,DLL)文件。实践中,动态链接库文件是一种不可执行的二进制程序文件,它允许程序共享执行特殊任务所必需的代码和其他资源。需要说明的是,上述升级命令还可以包括上述动态链接库的路径与文件名称。上述电子设备可以直接从该路径中提取与该文件名称一致的二进制程序文件,即动态链接库文件。第三步,可以读取上述动态链接库文件中的函数名称。第四步,更新函数指针。此处,在更新函数指针后,后续的报文即可使用更新后的函数进行处理。第五步,更新版本信息。此处,上述电子设备可以通过一个数据结构记录版本信息,包括每次升级的版本号、操作时间、用户信息等信息。In this embodiment, the above-mentioned electronic device can upgrade the original message forwarding application running in the second memory area to the target message forwarding application through the following steps: first, the above-mentioned electronic device can load the above-mentioned target message forwarding application. The second step is to read the dynamic link library (Dynamic Link Library, DLL) file. In practice, a Dynamic Link Library file is a non-executable binary program file that allows programs to share code and other resources necessary to perform specific tasks. It should be noted that the above upgrade command may also include the path and file name of the above dynamic link library. The above-mentioned electronic device can directly extract the binary program file with the same name as the file, that is, the dynamic link library file, from the path. In the third step, the function name in the above dynamic link library file can be read. The fourth step is to update the function pointer. Here, after the function pointer is updated, subsequent messages can be processed using the updated function. The fifth step is to update the version information. Here, the above-mentioned electronic device may record version information through a data structure, including information such as version number of each upgrade, operation time, and user information.
步骤204,在第一内存区已建立的连接的数量为预设数值时,将第一内存区所运行的原始报文转发应用升级为目标报文转发应用。Step 204, when the number of established connections in the first memory area is a preset value, upgrade the original message forwarding application running in the first memory area to a target message forwarding application.
在本实施例中,上述电子设备可以在第一内存区已建立的连接的数量为预设数值时,将第一内存区所运行的原始报文转发应用升级为目标报文转发应用。在上述第二内存区所运行的原始报文转发应用升级为目标报文转发应用之后,上述电子设备上述电子每接收到一个客户端发送的报文转发请求,均可以确定第一内存区已建立的连接数是否为上述预设数值,若不为上述预设数值,可以在第二内存区建立连接。当第一内存区的连接数下降为上述预设数值后,将上述第一内存区所运行的原始报文转发应用升级为目标报文转发应用。In this embodiment, the electronic device may upgrade the original message forwarding application running in the first memory area to the target message forwarding application when the number of established connections in the first memory area is a preset value. After the original message forwarding application running in the above-mentioned second memory area is upgraded to the target message forwarding application, each time the above-mentioned electronic device receives a message forwarding request sent by a client, it can determine that the first memory area has been established Whether the number of connections is the above preset value, if not, a connection can be established in the second memory area. When the number of connections in the first memory area drops to the preset value, the original message forwarding application running in the first memory area is upgraded to a target message forwarding application.
在本实施例中,上述电子设备可以通过与步骤203相同的方式将第一内存区所运行的原始报文转发应用升级为目标报文转发应用,在此不再赘述。In this embodiment, the above-mentioned electronic device may upgrade the original message forwarding application running in the first memory area to the target message forwarding application in the same manner as step 203, which will not be repeated here.
继续参见图3,图3是根据本实施例的升级方法的应用场景的一个示意图。在图3的应用场景中,报文转发服务器的系统内存分为第一内存区301和第二内存区302,第一内存区301与第二内存区302运行有原始版本的报文转发应用(如标号303所示)。报文转发服务器在接收到包含目标报文转发应用信息的升级命令后,对该目标报文转发应用信息进行校验,获取目标版本的报文转发应用。而后,在第二内存区302已建立的连接的数量为0时,将第二内存区所运行的原始版本的报文转发应用升级为目标版本的报文转发应用(如标号304示)。之后,在第一内存区301已建立的连接的数量为0时,将第一内存区301所运行的原始版本的报文转发应用升级为目标版本的报文转发应用(如标号305所示)。Continue to refer to FIG. 3 , which is a schematic diagram of an application scenario of the upgrade method according to this embodiment. In the application scenario of FIG. 3 , the system memory of the message forwarding server is divided into a first memory area 301 and a second memory area 302, and the first memory area 301 and the second memory area 302 run the original version of the message forwarding application ( as indicated by reference number 303). After receiving the upgrade command including the target message forwarding application information, the message forwarding server verifies the target message forwarding application information to obtain the target version of the message forwarding application. Then, when the number of established connections in the second memory area 302 is 0, the original version of the message forwarding application running in the second memory area is upgraded to the target version of the message forwarding application (shown by reference number 304 ). Afterwards, when the number of established connections in the first memory area 301 is 0, upgrade the message forwarding application of the original version running in the first memory area 301 to the message forwarding application of the target version (as shown by the label 305) .
本申请的上述实施例提供的方法,通过对接收到的升级命令中的目标报文转发应用信息进行校验,而后在校验通过后获取目标报文转发应用,之后在第二内存区已建立的连接的数量为预设数值时,将第二内存区所运行的原始报文转发应用升级为该目标报文转发应用,最后在第一内存区已建立的连接的数量为该预设数值时,将该第一内存区所运行的原始报文转发应用升级为该目标报文转发应用,从而避免更换内核模块以致业务受损,可实现在线业务无损升级,同时,不同于采用新进程取代原进程方法受转发性能限制,本实施例提供的升级方法和装置可以在大流量高并发场景下使用,实现大流量高并发场景下的报文转发应用的热升级,从而提高了在大流量高并发场景下的热升级的适应性。In the method provided by the above-mentioned embodiments of the present application, the target message forwarding application information in the received upgrade command is verified, and then the target message forwarding application is obtained after the verification is passed, and then the target message forwarding application has been established in the second memory area. When the number of connections in the first memory area reaches the preset value, upgrade the original message forwarding application running in the second memory area to the target message forwarding application, and finally when the number of established connections in the first memory area reaches the preset value , upgrade the original message forwarding application running in the first memory area to the target message forwarding application, so as to avoid replacing the kernel module and causing business damage, and can realize online service without loss upgrade. At the same time, it is different from replacing the original The process method is limited by the forwarding performance. The upgrade method and device provided in this embodiment can be used in the scenario of large traffic and high concurrency, and realize the hot upgrade of the message forwarding application in the scenario of large traffic and high concurrency, thereby improving the performance of the application in large traffic and high concurrency The adaptability of hot upgrade in the scene.
进一步参考图4,其示出了用于服务器的升级方法的又一个实施例的流程400。该服务器的系统内存分为第一内存区和第二内存区,所述第一内存区与所述第二内存区运行有原始报文转发应用,该升级方法的流程400,包括以下步骤:Further referring to FIG. 4 , it shows a flow 400 of another embodiment of the method for upgrading a server. The system memory of the server is divided into a first memory area and a second memory area, and the first memory area and the second memory area run original message forwarding applications. The process 400 of the upgrade method includes the following steps:
步骤401,响应于接收到报文转发请求,随机选择第一内存区和第二内存区中的任一内存区,将所选择的内存区作为目标内存区,在目标内存区创建连接,并更新目标内存区已建立的连接的数量。Step 401, in response to receiving the message forwarding request, randomly select any one of the first memory area and the second memory area, use the selected memory area as the target memory area, create a connection in the target memory area, and update The number of established connections to the target memory area.
在本实施例中,升级方法运行于其上的电子设备(例如图1所示的报文转发服务器105)响应于接收到报文转发请求,可以随机选择上述第一内存区和上述第二内存区中的任一内存区,将所选择的内存区作为目标内存区,在上述目标内存区创建连接,并更新上述目标内存区已建立的连接的数量。此处,上述报文转发请求可以是客户端(例如图1所示的终端设备101、102、103)发送的。需要说明的是,上述客户端可以通过有线连接方式或者无线连接方式向上述电子设备发送上述报文转发请求。需要指出的是,上述无线连接方式可以包括但不限于3G/4G连接、WiFi连接、蓝牙连接、WiMAX连接、Zigbee连接、UWB(ultrawideband)连接、以及其他现在已知或将来开发的无线连接方式。In this embodiment, the electronic device on which the upgrade method runs (for example, the message forwarding server 105 shown in FIG. 1 ) may randomly select the above-mentioned first memory area and the above-mentioned second memory area in response to receiving the message forwarding request. Any memory area in the area, using the selected memory area as the target memory area, creating a connection in the above target memory area, and updating the number of established connections in the above target memory area. Here, the above packet forwarding request may be sent by the client (eg, the terminal devices 101, 102, 103 shown in FIG. 1). It should be noted that the above-mentioned client may send the above-mentioned message forwarding request to the above-mentioned electronic device through a wired connection or a wireless connection. It should be noted that the above wireless connection methods may include but not limited to 3G/4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultrawideband) connection, and other wireless connection methods known or developed in the future.
步骤402,响应于接收到包含目标报文转发应用信息的升级命令,对目标报文转发应用信息进行校验。Step 402: In response to receiving the upgrade command including the target message forwarding application information, verify the target message forwarding application information.
在本实施例中,响应于接收到包含目标报文转发应用信息的升级命令,可以对目标报文转发应用信息进行校验。其中,上述升级命令可以用于指示将原始报文转发应用升级为目标报文转发应用。此处,上述目标报文转发应用信息可以包括以下至少一项:上述目标报文转发应用的路径,上述目标报文转发应用的名称,上述目标报文转发应用的版本号,执行升级操作的用户信息,执行升级操作的操作时间,上述目标报文转发应用的校验信息。其中,上述校验信息可以是上述目标报文转发应用的二进制文件的MD5(Message DigestAlgorithm 5,消息摘要算法第五版)值。In this embodiment, in response to receiving the upgrade command including the target message forwarding application information, the target message forwarding application information may be verified. Wherein, the above upgrade command may be used to instruct to upgrade the original packet forwarding application to the target packet forwarding application. Here, the target message forwarding application information may include at least one of the following: the path of the target message forwarding application, the name of the target message forwarding application, the version number of the target message forwarding application, and the user performing the upgrade operation information, the operation time for performing the upgrade operation, and the verification information of the above-mentioned target packet forwarding application. Wherein, the verification information may be an MD5 (Message Digest Algorithm 5, message digest algorithm fifth edition) value of the binary file of the target message forwarding application.
需要说明的是,对上述目标报文转发应用信息进行校验,可以是对上述目标报文转发应用信息所包含的各个信息进行校验。响应于确定所包含的各个信息均校验通过,则可以确定上述目标报文转发应用信息通过校验;响应于确定所包含的信息中存在未通过校验的信息,则可以确定上述目标报文转发应用信息未通过校验。作为示例,对上述目标报文转发应用的路径进行校验,可以通过确定该路径是否存在来确定校验结果,若不存在,则该路径未通过校验;若存在,则该路径校验通过。对上述目标报文转发应用的名称进行校验,可以通过确定上述路径中是否与该名称相匹配的二进制文件来确定校验结果,若存在该二进制文件,则该名称通过校验;若不存在该二进制文件,则该名称未通过校验。对上述目标报文转发应用的版本号进行校验,可以通过确定该版本号所指示的版本是否新于上述原始报文转发应用的版本来确定是否通过校验,若新于上述原始报文转发应用的版本,则该版本号通过校验;若不新与上述原始报文转发应用的版本,则该版本号未通过校验。对执行升级操作的用户信息进行校验,可以通过确定该用户信息所指示的用户是否具备热升级权限来确定是否通过校验,若具备,则该用户信息通过校验;若不具备,则该用户信息未通过校验。对执行升级操作的操作时间进行校验,可以通过确定该操作时间是否大于上一次执行升级操作的操作时间确定是否通过校验,若大于,则该操作时间通过校验;若不大于,则该操作时间未通过校验。对上述目标报文转发应用的校验信息进行校验,可以是通过将上述MD5值与预设值进行匹配的方式确定上述校验信息是否通过校验,若匹配,则上述校验信息通过校验;若不匹配,则上述校验信息未通过校验。It should be noted that the verification of the above target packet forwarding application information may be the verification of each piece of information included in the above target packet forwarding application information. In response to determining that all the included information passes the verification, it can be determined that the target message forwarding application information passes the verification; in response to determining that there is information that fails the verification in the included information, it can be determined that the target message Forwarded application information failed verification. As an example, to verify the path of the above-mentioned target message forwarding application, the verification result can be determined by determining whether the path exists. If it does not exist, the path fails the verification; if it exists, the path verification passes . To verify the name of the above target message forwarding application, the verification result can be determined by determining whether there is a binary file matching the name in the above path. If the binary file exists, the name passes the verification; if it does not exist the binary, the name fails validation. Verifying the version number of the above-mentioned target message forwarding application can determine whether the verification is passed by determining whether the version indicated by the version number is newer than the version of the above-mentioned original message forwarding application, if it is newer than the above-mentioned original message forwarding application If the version of the application is not updated, the version number has passed the verification; if it is not newer than the version of the original message forwarding application, the version number has not passed the verification. To verify the user information performing the upgrade operation, it can be determined whether the user indicated by the user information has the hot upgrade authority to determine whether the verification has passed. If yes, the user information has passed the verification; if not, the user information has passed the verification. User information failed verification. To verify the operation time of performing the upgrade operation, you can determine whether the operation time is greater than the operation time of the last upgrade operation to determine whether the verification is passed. If it is greater, the operation time passes the verification; if it is not greater, the Operation time failed validation. To verify the verification information of the above-mentioned target message forwarding application, it may be determined whether the above-mentioned verification information passes the verification by matching the above-mentioned MD5 value with a preset value. If it matches, the above-mentioned verification information passes the verification. verification; if they do not match, the above verification information has not passed the verification.
步骤403,响应于确定校验通过,获取目标报文转发应用。Step 403, in response to determining that the verification is passed, acquire the target packet forwarding application.
在本实施例中,响应于确定校验通过,电子设备可以获取目标报文转发应用。具体地,由于目标报文转发应用信息可以包括目标报文转发应用的路径和名称等信息,电子设备可以直接从路径中获取与名称一致的目标报文转发应用。In this embodiment, in response to determining that the verification is passed, the electronic device may acquire the target message forwarding application. Specifically, since the target packet forwarding application information may include information such as a path and a name of the target packet forwarding application, the electronic device may directly obtain the target packet forwarding application with the same name from the path.
步骤404,响应于接收到报文转发请求,确定第二内存区已建立的连接的数量是否为上述预设数值,若是,将第二内存区所运行的原始报文转发应用升级为目标报文转发应用,在运行有目标报文转发应用的第二内存区创建连接,并更新第二内存区已建立的连接的数量。Step 404, in response to receiving the message forwarding request, determine whether the number of established connections in the second memory area is the above preset value, if so, upgrade the original message forwarding application running in the second memory area to the target message The forwarding application creates a connection in the second memory area running the target packet forwarding application, and updates the number of established connections in the second memory area.
在本实施例中,响应于接收到客户端发送的报文转发请求,上述电子设备可以确定上述第二内存区已建立的连接的数量是否为预设数值(例如0)。若是,可以将第二内存区所运行的原始报文转发应用升级为目标报文转发应用,而后,在运行有目标报文转发应用的第二内存区创建连接,并更新第二内存区已建立的连接的数量。In this embodiment, in response to receiving a message forwarding request sent by the client, the electronic device may determine whether the number of established connections in the second memory area is a preset value (for example, 0). If so, the original message forwarding application running in the second memory area can be upgraded to the target message forwarding application, and then, a connection is established in the second memory area running the target message forwarding application, and the established second memory area is updated. the number of connections.
步骤405,响应于确定第二内存区已建立的连接的数量不为预设数值,在第一内存区创建连接,并更新第一内存区已建立的连接的数量。Step 405, in response to determining that the number of established connections in the second memory area is not a preset value, create a connection in the first memory area, and update the number of established connections in the first memory area.
在本实施例中,上述电子设备响应于确定上述第二内存区已建立的连接的数量不为上述预设数值,可以在上述第一内存区创建连接,并更新第一内存区已建立的连接的数量。而后,可以重新执行步骤404。In this embodiment, in response to determining that the number of established connections in the second memory area is not the preset value, the electronic device may create a connection in the first memory area and update the established connections in the first memory area quantity. Then, step 404 may be re-executed.
步骤406,在第二内存区所运行的原始报文转发应用升级为目标报文转发应用之后,响应于接收到报文转发请求,确定第一内存区已建立的连接的数量是否为预设数值,若是,将第一内存区所运行的原始报文转发应用升级为目标报文转发应用,随机选择运行有目标报文转发应用的第一内存区和第二内存区中的任一内存区,在所选择的内存区中创建连接,并更新所选择的内存区已建立的连接的数量。Step 406, after the original message forwarding application running in the second memory area is upgraded to the target message forwarding application, in response to receiving a message forwarding request, determine whether the number of established connections in the first memory area is a preset value , if so, upgrade the original message forwarding application running in the first memory area to the target message forwarding application, randomly select any one of the first memory area and the second memory area running the target message forwarding application, Create a connection in the selected memory area, and update the number of established connections in the selected memory area.
在本实施例中,在第二内存区所运行的原始报文转发应用升级为目标报文转发应用之后,上述电子设备响应于接收到报文转发请求,可以确定第一内存区已建立的连接的数量是否为上述预设数值。若是,可以将上述第一内存区所运行的原始报文转发应用升级为目标报文转发应用,并随机选择运行有上述目标报文转发应用的上述第一内存区和上述第二内存区中的任一内存区,在所选择的内存区中创建连接,并更新所选择的内存区已建立的连接的数量。In this embodiment, after the original message forwarding application running in the second memory area is upgraded to the target message forwarding application, the electronic device may determine the connection established in the first memory area in response to receiving the message forwarding request Whether the quantity of is the above preset value. If so, the original message forwarding application running in the first memory area can be upgraded to a target message forwarding application, and the above-mentioned first memory area and the above-mentioned second memory area running the above-mentioned target message forwarding application can be randomly selected. Any memory area, create a connection in the selected memory area, and update the number of established connections in the selected memory area.
需要说明的是,在上述第一内存区和第二内存区中均运行有上述目标报文转发应用后,响应于上述电子设备接收到报文转发请求,可以重新执行步骤401。It should be noted that after the target message forwarding application is running in both the first memory area and the second memory area, step 401 may be re-executed in response to the message forwarding request received by the electronic device.
步骤407,响应于确定第一内存区已建立的连接的数量不为预设数值,在第二内存区创建连接,并更新第二内存区已建立的连接的数量。Step 407, in response to determining that the number of established connections in the first memory area is not a preset value, create a connection in the second memory area, and update the number of established connections in the second memory area.
在本实施例中,上述电子设备响应于确定上述第一内存区已建立的连接的数量不为上述预设数值,可以在上述第二内存区创建连接,并更新上述第二内存区已建立的连接的数量。而后,可以重新执行步骤406。In this embodiment, in response to determining that the number of established connections in the first memory area is not the preset value, the electronic device may create connections in the second memory area and update the established connections in the second memory area. The number of connections. Then, step 406 may be re-executed.
从图4中可以看出,与图2对应的实施例相比,本实施例中的升级方法的流程400突出了在三种状态下接收到报文转发请求后所执行步骤。由此,本实施例描述的方案可以实现在线业务无损升级,在提高了在大流量高并发场景下的热升级的适应性,提高了报文转发应用热升级的灵活性。It can be seen from FIG. 4 that, compared with the embodiment corresponding to FIG. 2 , the process 400 of the upgrade method in this embodiment highlights the steps performed after receiving a message forwarding request in three states. Therefore, the solution described in this embodiment can realize lossless upgrade of online services, improve the adaptability of hot upgrade in scenarios with high traffic and high concurrency, and improve the flexibility of hot upgrade for message forwarding applications.
进一步参考图5,作为对上述各图所示方法的实现,本申请提供了一种升级装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于服务器中,该服务器的系统内存分为第一内存区和第二内存区,所述第一内存区与所述第二内存区运行有原始报文转发应用。With further reference to Figure 5, as an implementation of the methods shown in the above figures, the present application provides an embodiment of an upgrading device, which corresponds to the method embodiment shown in Figure 2, and the device can specifically be applied to In the server, the system memory of the server is divided into a first memory area and a second memory area, and the original message forwarding application runs in the first memory area and the second memory area.
如图5所示,本实施例所述的升级装置500包括:校验单元501,配置用于响应于接收到包含目标报文转发应用信息的升级命令,对上述目标报文转发应用信息进行校验,其中,上述升级命令用于指示将原始报文转发应用升级为目标报文转发应用;获取单元502,配置用于响应于确定校验通过,获取上述目标报文转发应用;第一升级单元503,配置用于在上述第二内存区已建立的连接的数量为预设数值时,将上述第二内存区所运行的原始报文转发应用升级为上述目标报文转发应用;第二升级单元504,配置用于在上述第一内存区已建立的连接的数量为上述预设数值时,将上述第一内存区所运行的原始报文转发应用升级为上述目标报文转发应用。As shown in FIG. 5 , the upgrade device 500 described in this embodiment includes: a verification unit 501 configured to verify the above-mentioned target message forwarding application information in response to receiving an upgrade command containing the target message forwarding application information. verification, wherein the upgrade command is used to instruct to upgrade the original message forwarding application to a target message forwarding application; the obtaining unit 502 is configured to obtain the above target message forwarding application in response to determining that the verification is passed; the first upgrading unit 503, configured to upgrade the original message forwarding application running in the second memory area to the target message forwarding application when the number of established connections in the second memory area is a preset value; the second upgrading unit 504, configured to upgrade the original message forwarding application running in the first memory area to the target message forwarding application when the number of established connections in the first memory area is the preset value.
在本实施例中,校验单元501响应于接收到包含目标报文转发应用信息的升级命令,对目标报文转发应用信息进行校验。In this embodiment, the checking unit 501 checks the target message forwarding application information in response to receiving the upgrade command including the target message forwarding application information.
在本实施例中,获取单元502响应于确定校验通过,获取目标报文转发应用。In this embodiment, the obtaining unit 502 obtains the target message forwarding application in response to determining that the verification is passed.
在本实施例中,第一升级单元503在第二内存区已建立的连接的数量为预设数值时,将第二内存区所运行的原始报文转发应用升级为目标报文转发应用。In this embodiment, the first upgrading unit 503 upgrades the original message forwarding application running in the second memory area to the target message forwarding application when the number of established connections in the second memory area is a preset value.
在本实施例中,第二升级单元504在第一内存区已建立的连接的数量为预设数值时,将第一内存区所运行的原始报文转发应用升级为目标报文转发应用。In this embodiment, the second upgrading unit 504 upgrades the original message forwarding application running in the first memory area to the target message forwarding application when the number of established connections in the first memory area is a preset value.
在本实施例的一些可选的实现方式中,上述第一升级单元503可以进一步配置用于响应于接收到报文转发请求,确定上述第二内存区已建立的连接的数量是否为预设数值,若是,将上述第二内存区所运行的原始报文转发应用升级为上述目标报文转发应用,在运行有上述目标报文转发应用的上述第二内存区创建连接,并更新上述第二内存区已建立的连接的数量。In some optional implementations of this embodiment, the above-mentioned first upgrading unit 503 may be further configured to, in response to receiving a packet forwarding request, determine whether the number of established connections in the above-mentioned second memory area is a preset value , if yes, upgrade the original message forwarding application running in the above-mentioned second memory area to the above-mentioned target message forwarding application, create a connection in the above-mentioned second memory area running the above-mentioned target message forwarding application, and update the above-mentioned second memory The number of connections the zone has established.
在本实施例的一些可选的实现方式中,上述第一升级单元503可以进一步配置用于响应于确定上述第二内存区已建立的连接的数量不为上述预设数值,在上述第一内存区创建连接,并更新上述第一内存区已建立的连接的数量。In some optional implementations of this embodiment, the above-mentioned first upgrading unit 503 may be further configured to, in response to determining that the number of established connections in the above-mentioned second memory area is not the above-mentioned preset value, The area creates connections, and updates the number of established connections in the above-mentioned first memory area.
在本实施例的一些可选的实现方式中,上述第二升级单元504可以进一步配置用于响应于接收到报文转发请求,确定上述第一内存区已建立的连接的数量是否为上述预设数值,若是,将上述第一内存区所运行的原始报文转发应用升级为上述目标报文转发应用,在运行有上述目标报文转发应用的上述第一内存区创建连接,并更新上述第一内存区已建立的连接的数量。In some optional implementations of this embodiment, the second upgrading unit 504 may be further configured to, in response to receiving a message forwarding request, determine whether the number of established connections in the first memory area is the preset Value, if yes, upgrade the original message forwarding application running in the above first memory area to the above target message forwarding application, create a connection in the above first memory area running the above target message forwarding application, and update the above first The number of established connections to the memory area.
在本实施例的一些可选的实现方式中,上述第二升级单元504可以进一步配置用于响应于确定上述第一内存区已建立的连接的数量不为上述预设数值,在上述第二内存区创建连接,并更新上述第二内存区已建立的连接的数量。In some optional implementations of this embodiment, the second upgrading unit 504 may be further configured to, in response to determining that the number of established connections in the first memory area is not the preset value, The zone creates a connection, and updates the number of established connections in the above-mentioned second memory zone.
在本实施例的一些可选的实现方式中,该装置还可以包括创建单元(图中未示出)。其中,上述创建单元可以配置用于响应于接收到报文转发请求,随机选择上述第一内存区和上述第二内存区中的任一内存区,将所选择的内存区作为目标内存区,在上述目标内存区创建连接,并更新上述目标内存区已建立的连接的数量。In some optional implementation manners of this embodiment, the apparatus may further include a creating unit (not shown in the figure). Wherein, the above creating unit may be configured to randomly select any one of the above first memory area and the above second memory area in response to receiving the message forwarding request, and use the selected memory area as the target memory area. The above-mentioned target memory area creates a connection, and updates the number of established connections in the above-mentioned target memory area.
在本实施例的一些可选的实现方式中,上述目标报文转发应用信息可以包括以下至少一项上述目标报文转发应用的路径,上述目标报文转发应用的名称,上述目标报文转发应用的版本号,执行升级操作的用户信息,执行升级操作的操作时间,上述目标报文转发应用的校验信息。In some optional implementations of this embodiment, the target message forwarding application information may include at least one of the following: the path of the target message forwarding application, the name of the target message forwarding application, and the target message forwarding application version number, user information for performing the upgrade operation, operation time for performing the upgrade operation, and verification information of the above-mentioned target message forwarding application.
本申请的上述实施例提供的装置,通过校验单元501对接收到的升级命令中的目标报文转发应用信息进行校验,而后获取单元502在校验通过后获取目标报文转发应用,之后第一升级单元503在第二内存区已建立的连接的数量为预设数值时,将第二内存区所运行的原始报文转发应用升级为该目标报文转发应用,最后第二升级单元504在第一内存区已建立的连接的数量为该预设数值时,将该第一内存区所运行的原始报文转发应用升级为该目标报文转发应用,从而避免更换内核模块以致业务受损,可实现在线业务无损升级,同时,不同于采用新进程取代原进程方法受转发性能限制,本实施例提供的升级方法和装置可以在大流量高并发场景下使用,实现大流量高并发场景下的报文转发应用的热升级,从而提高了在大流量高并发场景下的热升级的适应性。The device provided by the above-mentioned embodiments of the present application uses the verifying unit 501 to verify the target message forwarding application information in the received upgrade command, and then the obtaining unit 502 obtains the target message forwarding application after the verification is passed, and then The first upgrade unit 503 upgrades the original message forwarding application run by the second memory zone to the target message forwarding application when the number of established connections in the second memory zone is a preset value, and finally the second upgrade unit 504 When the number of established connections in the first memory area is the preset value, the original message forwarding application running in the first memory area is upgraded to the target message forwarding application, thereby avoiding the replacement of the kernel module and causing business damage , which can realize lossless upgrade of online services. At the same time, unlike the method of replacing the original process with a new process, which is limited by the forwarding performance, the upgrade method and device provided in this embodiment can be used in a scenario with large traffic and high concurrency, and realizes The hot upgrade of the packet forwarding application improves the adaptability of the hot upgrade in the scenario of large traffic and high concurrency.
下面参考图6,其示出了适于用来实现本申请实施例的服务器的计算机系统600的结构示意图。图6示出的服务器仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring now to FIG. 6 , it shows a schematic structural diagram of a computer system 600 suitable for implementing the server of the embodiment of the present application. The server shown in FIG. 6 is only an example, and should not limit the functions and scope of use of this embodiment of the present application.
如图6所示,计算机系统600包括中央处理单元(CPU)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储部分608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有系统600操作所需的各种程序和数据。CPU 601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6 , a computer system 600 includes a central processing unit (CPU) 601 that can be programmed according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage section 608 into a random-access memory (RAM) 603 Instead, various appropriate actions and processes are performed. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601 , ROM 602 , and RAM 603 are connected to each other via a bus 604 . An input/output (I/O) interface 605 is also connected to the bus 604 .
以下部件连接至I/O接口605:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。The following components are connected to the I/O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 608 including a hard disk, etc. and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc. is mounted on the drive 610 as necessary so that a computer program read therefrom is installed into the storage section 608 as necessary.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质611被安装。在该计算机程序被中央处理单元(CPU)601执行时,执行本申请的方法中限定的上述功能。需要说明的是,本申请所述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication portion 609 and/or installed from removable media 611 . When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the method of the present application are performed. It should be noted that the computer-readable medium described in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括校验单元、获取单元、第一升级单元和第二升级单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,校验单元还可以被描述为“对目标报文转发应用信息进行校验的单元”。The units involved in the embodiments described in the present application may be implemented by means of software or by means of hardware. The described units may also be set in a processor, for example, it may be described as: a processor includes a verification unit, an acquisition unit, a first upgrade unit, and a second upgrade unit. Wherein, the names of these units do not constitute a limitation on the unit itself under certain circumstances, for example, the verification unit may also be described as "a unit that verifies the application information of target packet forwarding".
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的装置中所包含的;也可以是单独存在,而未装配入该装置中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该装置执行时,使得该装置:响应于接收到包含目标报文转发应用信息的升级命令,对该目标报文转发应用信息进行校验,其中,该升级命令用于指示将原始报文转发应用升级为目标报文转发应用;响应于确定校验通过,获取该目标报文转发应用;在第二内存区已建立的连接的数量为预设数值时,将该第二内存区所运行的原始报文转发应用升级为该目标报文转发应用;在第一内存区已建立的连接的数量为该预设数值时,将该第一内存区所运行的原始报文转发应用升级为该目标报文转发应用。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be included in the device described in the above embodiments, or it may exist independently without being assembled into the device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the device, the device: in response to receiving an upgrade command containing target message forwarding application information, the target message The forwarding application information is verified, wherein the upgrade command is used to indicate that the original message forwarding application is upgraded to a target message forwarding application; in response to determining that the verification is passed, the target message forwarding application is obtained; the second memory area has When the number of established connections is a preset value, the original message forwarding application running in the second memory area is upgraded to the target message forwarding application; the number of established connections in the first memory area is the preset value , the original message forwarding application running in the first memory area is upgraded to the target message forwarding application.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover the technical solutions formed by the above-mentioned technical features or without departing from the above-mentioned inventive concept. Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with technical features with similar functions disclosed in (but not limited to) this application.
Claims (16)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711205376.6A CN107911248B (en) | 2017-11-27 | 2017-11-27 | Upgrading method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711205376.6A CN107911248B (en) | 2017-11-27 | 2017-11-27 | Upgrading method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107911248A true CN107911248A (en) | 2018-04-13 |
| CN107911248B CN107911248B (en) | 2020-11-10 |
Family
ID=61847796
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711205376.6A Active CN107911248B (en) | 2017-11-27 | 2017-11-27 | Upgrading method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107911248B (en) |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1271322A3 (en) * | 2001-06-27 | 2006-04-12 | Nokia Corporation | Crash recovery system |
| US7636740B2 (en) * | 2004-12-17 | 2009-12-22 | Electronic And Telecommunications Research Institute | Database cache system |
| WO2014166265A1 (en) * | 2013-04-12 | 2014-10-16 | Tencent Technology (Shenzhen) Company Limited | Method, terminal, cache server and system for updating webpage data |
| CN105511928A (en) * | 2015-12-28 | 2016-04-20 | 努比亚技术有限公司 | System upgrading device and method |
| TW201617903A (en) * | 2014-11-14 | 2016-05-16 | 凱為公司 | Managing buffered communication between sockets |
| CN106202271A (en) * | 2016-06-30 | 2016-12-07 | 携程计算机技术(上海)有限公司 | The read method of the product database of OTA |
| WO2017067448A1 (en) * | 2015-10-22 | 2017-04-27 | 深圳市中兴微电子技术有限公司 | Firmware-over-the-air upgrade method, system and computer storage medium |
| CN107346308A (en) * | 2016-05-04 | 2017-11-14 | 阿里巴巴集团控股有限公司 | The call method and device of data in a kind of group system |
-
2017
- 2017-11-27 CN CN201711205376.6A patent/CN107911248B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1271322A3 (en) * | 2001-06-27 | 2006-04-12 | Nokia Corporation | Crash recovery system |
| US7636740B2 (en) * | 2004-12-17 | 2009-12-22 | Electronic And Telecommunications Research Institute | Database cache system |
| WO2014166265A1 (en) * | 2013-04-12 | 2014-10-16 | Tencent Technology (Shenzhen) Company Limited | Method, terminal, cache server and system for updating webpage data |
| TW201617903A (en) * | 2014-11-14 | 2016-05-16 | 凱為公司 | Managing buffered communication between sockets |
| WO2017067448A1 (en) * | 2015-10-22 | 2017-04-27 | 深圳市中兴微电子技术有限公司 | Firmware-over-the-air upgrade method, system and computer storage medium |
| CN105511928A (en) * | 2015-12-28 | 2016-04-20 | 努比亚技术有限公司 | System upgrading device and method |
| CN107346308A (en) * | 2016-05-04 | 2017-11-14 | 阿里巴巴集团控股有限公司 | The call method and device of data in a kind of group system |
| CN106202271A (en) * | 2016-06-30 | 2016-12-07 | 携程计算机技术(上海)有限公司 | The read method of the product database of OTA |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107911248B (en) | 2020-11-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106598667B (en) | Method and device for repairing kernel vulnerabilities | |
| KR102042723B1 (en) | Methods for updating applications | |
| TWI712956B (en) | Method and device for updating mobile terminal application program | |
| US10069940B2 (en) | Deployment meta-data based applicability targetting | |
| CN106843976B (en) | Method and apparatus for generating image file | |
| WO2019015272A1 (en) | Information processing method and device | |
| WO2017166447A1 (en) | Method and device for loading kernel module | |
| CN108052615A (en) | Access request processing method, device, medium and electronic equipment | |
| CN113420010B (en) | Database management method, device, electronic equipment and storage medium | |
| CN111598575A (en) | Business process control method and device, electronic equipment and readable storage medium | |
| WO2019029451A1 (en) | Method for publishing mobile applications and electronic apparatus | |
| CN110209416A (en) | Application software update method, device, terminal and storage medium | |
| CN109814889B (en) | Method and apparatus for updating source code base | |
| CN113779004A (en) | A method and device for data verification | |
| CN110391938A (en) | Method and apparatus for deploying services | |
| CN110795328A (en) | Interface testing method and device | |
| US9207913B2 (en) | API publication on a gateway using a developer portal | |
| CN110928571A (en) | Business program development method and apparatus | |
| CN114625479A (en) | Cloud edge collaborative application management method in edge computing and corresponding device | |
| CN110442349A (en) | Method and apparatus for servicing dilatation | |
| CN113448602B (en) | Version update method and device | |
| EP3839760A1 (en) | Analytics content network for content delivery embedding | |
| CN112559024A (en) | Method and device for generating transaction code change list | |
| CN109218338B (en) | Information processing system, method and device | |
| EP2680135B1 (en) | Methods for updating applications |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |