Process upgrading method and device and electronic equipment
A process and upgraded technology, applied in the computer field, can solve problems such as disconnection of user connections, unavailable services, inability to cope with changes in business data and business processes, and achieve the effect of avoiding downtime and switching of service processes
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0080] Embodiment 1. A method for upgrading a Redis process, such as figure 1 As shown, including steps S110-S140:
[0081] S110. After the upgrade is determined, exit the asynchronous event loop of the dynamic library corresponding to the current version of the kernel; wherein, the dynamic library includes each business logic of the Redis process;
[0082] S120, transfer the kernel environment data in the current Redis instance to the kernel of the new version;
[0083] S130. Trigger the new version of the kernel to use the kernel environment data to initialize;
[0084] S140. Enter the asynchronous event loop in the dynamic library corresponding to the new version of the kernel.
[0085] This embodiment can realize the hot upgrade of the Redis process; the hot upgrade means that the purpose of function upgrade is achieved by adding / modifying / deleting related functional modules without stopping the program / service. Generally, it is also called non-stop upgrade, or non-stop...
Embodiment 2
[0179] Embodiment 2. An upgrade device for a Redis process, such as Figure 4 shown, including:
[0180] Trigger module 41, after being used to determine to upgrade, withdraw from the asynchronous event cycle of the dynamic storehouse corresponding to current version kernel; Wherein, described dynamic storehouse comprises each business logic of Redis process;
[0181] Transfer module 42, for passing the kernel environment data in the current Redis instance to the new version kernel;
[0182] The initialization module 43 is used to trigger the new version of the kernel to use the kernel environment data to initialize;
[0183] The startup module 44 is used to enter the asynchronous event loop in the dynamic library corresponding to the new version of the kernel.
[0184] In this embodiment, the triggering module 41 is the part responsible for exiting the ae loop of the current version of the kernel after the upgrading is confirmed in the upgrading device, and it may be softwa...
Embodiment 3
[0202] Embodiment 3, an electronic device for upgrading a Redis process, including: a memory and a processor;
[0203] The memory is used to save the program for upgrading the Redis process; when the program for upgrading the Redis process is read and executed by the processor, the following operations are performed:
[0204] After determining the upgrade, exit the asynchronous event loop of the dynamic library corresponding to the current version of the kernel; wherein, the dynamic library includes each business logic of the Redis process;
[0205] Transfer the kernel environment data in the current Redis instance to the new version kernel;
[0206] Trigger the new version of the kernel to initialize using the kernel environment data;
[0207] Enter the asynchronous event loop in the dynamic library corresponding to the new version of the kernel.
[0208] In an implementation manner, the transfer of the kernel environment data in the current Redis instance to the new versio...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com