Upgrade management method and system for computer software
By building software update LAN and using cloud servers to decompose data packets for joint data transmission, the problem of user experience affected during computer software upgrade is solved, and seamless upgrades are achieved and service interruption risk is reduced.
Patent Information
- Application Number
- CN202510195888.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-21
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2045-02-21
AI Technical Summary
During the computer software upgrade process, users cannot use the historical version, and the large amount of data leads to a long download and installation time, especially in environments with limited bandwidth, which affects the user experience.
Build software updates the LAN, connects computer equipment through the LAN, runs the new version of the software using the cloud server, and decomposes and verifies data packets through joint data transmission and data verification modules to reduce the amount of data transmission.
It realizes that users will not be interrupted during the software upgrade process, reduces data transmission, improves user experience, and reduces maintenance costs and potential service interruption risks.
Smart Images

Figure CN120085892A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of software management, and particularly relates to an upgrade management method and system for computer software. Background Art
[0002] Software upgrade management refers to a set of systematic methods and tools for planning, testing, deploying, and monitoring the process of software updates, so as to ensure that functional improvements, security patches, and performance optimizations of applications or systems can be smoothly and effectively applied to the target environment. It involves starting from evaluating the necessity of a new version, preparing update packages, performing compatibility and regression tests, then distributing updates to all relevant devices through automated means, and finally verifying the success of the update and resolving possible problems. Good software upgrade management can not only improve the user experience, but also enhance the stability and security of the system, while reducing maintenance costs and the risk of potential service interruptions.
[0003] During the upgrade process of some computer software, users cannot use the historical version. When the data volume of computer software is large, downloading and installation take a lot of time, especially in an environment with limited bandwidth, which greatly affects the user experience. Summary of the Invention
[0004] The purpose of the present invention is to provide an upgrade management method for computer software, aiming to solve the problem that during the upgrade process of some computer software, users cannot use the historical version. When the data volume of computer software is large, downloading and installation take a lot of time, especially in an environment with limited bandwidth, which greatly affects the user experience.
[0005] The present invention is implemented as follows. An upgrade management method for computer software, the method includes: Construct a software update local area network, and the computer devices in the software update local area network are connected through the local area network; Obtain an update instruction, upload user information to the cloud server, run the new version of computer software in the cloud server, and transmit image information to the user's computer device to perform cloud interaction with the user; During the cloud interaction process, obtain the installation situation of the new version of computer software in the software update local area network through the cloud server, send a data transmission instruction to the corresponding computer device, and perform joint data transmission; During the joint data transmission process, receive the data packets sent by the computer devices in the software update local area network, extract the data packet information, perform data verification through the user device, and perform installation after verification.
[0006] Preferably, the steps of obtaining an update instruction, uploading user information to a cloud server, running a new version of computer software in the cloud server, and transmitting image information to the user's computer device for cloud interaction with the user specifically include: Obtain an update instruction, display an initial user interface, and after the user logs in, upload the user information to the cloud server; Load the new version of computer software through the cloud server, load the user information, and display the result of the data loading on the current user's computer device; Detect the input information of the user, synchronously send it to the cloud server, and receive feedback data from the cloud server to synchronously update the display screen to complete the cloud interaction process.
[0007] Preferably, the steps of obtaining the installation status of the new version of computer software in the software update local area network through the cloud server during the cloud interaction process, sending a data transmission instruction to the corresponding computer device for joint data transmission specifically include: Connect to the computer devices in the software update local area network through the cloud server, obtain the device software list, and select a group of computer devices with the lowest running load as the joint transmission devices; Decompose the new version of computer software through the cloud server, decompose it into multiple data transmission blocks, divide the data transmission blocks into dynamic data and static data, transmit the dynamic data to the user device through the cloud server, and transmit the static data to the user device through the joint transmission devices; Construct static transmission functions and dynamic transmission functions based on the dynamic data and static data, respectively split and transmit the dynamic data and static data. The dynamic data and static data are respectively split into dynamic data packets and static data packets. The cloud server synthesizes them based on the static transmission functions and dynamic transmission functions to obtain a data verification function, and sends it to the user device.
[0008] Preferably, the steps of receiving data packets sent by computer devices in the software update local area network during the joint data transmission process, extracting the data packet information, performing data verification through the user device, and installing after verification specifically include: Receive dynamic data packets and static data packets through the user device, and record the numbers of the dynamic data packets and static data packets and the included data packet information; Extract the data packet information through the user device, convert it into multiple groups of identity verification functions, import them into the data verification function for verification, and obtain the verification result; When the verification is passed, synthesize and install the dynamic data packets and static data packets through the user device. After receiving, the cloud server sends interactive data to the user device for relay operation through the user device.
[0009] Preferably, based on the verification result, the cloud server retransmits the static data packets that fail the verification.
[0010] Another object of the present invention is to provide an upgrade management system for computer software, the system comprising: A local area network construction module for constructing a software update local area network, and the computer devices within the software update local area network are connected through the local area network; A user interaction module for obtaining an update instruction, uploading user information to the cloud server, running a new version of computer software in the cloud server, and transmitting image information to the user's computer device to perform cloud interaction with the user; A joint transmission module for, during the cloud interaction process, obtaining the installation status of the new version of computer software in the software update local area network through the cloud server, sending a data transmission instruction to the corresponding computer device, and performing joint data transmission; A data verification module for, during the joint data transmission process, receiving the data packets sent by the computer devices within the software update local area network, extracting the data packet information, performing data verification through the user device, and installing after verification.
[0011] Preferably, the user interaction module comprises: A user information transmission unit for obtaining an update instruction, displaying an initial user interface, and uploading user information to the cloud server after the user logs in; A simulation loading unit for loading a new version of computer software through the cloud server, loading the user information, and displaying the result of the data loading on the current user's computer device; A data interaction unit for detecting the input information of the user, synchronously sending it to the cloud server, receiving the feedback data from the cloud server, and synchronously updating the display screen to complete the cloud interaction process.
[0012] Preferably, the joint transmission module comprises: A device information acquisition unit for connecting to the computer devices in the software update local area network through the cloud server, obtaining a device software list, and selecting a group of computer devices with the lowest running load as the joint transmission devices; A data partitioning unit for disassembling the new version of computer software through the cloud server, disassembling it into multiple data transmission blocks, dividing the data transmission blocks into dynamic data and static data, transmitting the dynamic data to the user device through the cloud server, and transmitting the static data to the user device through the joint transmission devices; A data transmission unit is used to construct a static transmission function and a dynamic transmission function based on dynamic data and static data, split and transmit the dynamic data and static data respectively. The dynamic data and static data are respectively split into dynamic data packets and static data packets. The cloud server synthesizes based on the static transmission function and the dynamic transmission function to obtain a data verification function, and sends it to the user device.
[0013] Preferably, the data verification module includes: A data receiving unit is used to receive dynamic data packets and static data packets through the user device, and record the numbers of the dynamic data packets and static data packets and the packet information contained therein; An identity verification unit is used to extract packet information through the user device, convert it into multiple groups of identity verification functions, import them into the data verification function for verification, and obtain a verification result; A relay display unit is used to synthesize and install the dynamic data packets and static data packets through the user device when the verification is passed. After receiving, the cloud server sends interaction data to the user device, and performs relay operation through the user device.
[0014] Preferably, the static data packets with verification failures are retransmitted by the cloud server based on the verification result.
[0015] An upgrade management method for computer software provided by the present invention can perform auxiliary upgrades through computer devices within a local area network by constructing a software update local area network, so as to reduce the data transmission volume. During the upgrade of computer software, the cloud server runs the new version of computer software to ensure that users can use it normally, and after the software upgrade is completed, it can seamlessly connect to real-time data to avoid interruption of use. Description of the Drawings
[0016] Figure 1 It is a flowchart of an upgrade management method for computer software provided by an embodiment of the present invention; Figure 2 It is a flowchart of steps for obtaining an update instruction, uploading user information to the cloud server, running a new version of computer software in the cloud server, and transmitting image information to the user's computer device for cloud interaction provided by an embodiment of the present invention; Figure 3 It is a flowchart of steps for obtaining the installation status of the new version of computer software in the software update local area network through the cloud server during cloud interaction, sending a data transmission instruction to the corresponding computer device, and performing joint data transmission provided by an embodiment of the present invention; Figure 4A flowchart of the steps for receiving a data packet sent by a computer device within a software update local area network during the combined data transmission process in an embodiment of the present invention, extracting the data packet information, performing data verification through a user device, and installing the data after verification; Figure 5 An architecture diagram of an upgrade management system for computer software provided in an embodiment of the present invention; Figure 6 An architecture diagram of a user interaction module provided in an embodiment of the present invention; Figure 7 An architecture diagram of a combined transmission module provided in an embodiment of the present invention; Figure 8 An architecture diagram of a data verification module provided in an embodiment of the present invention. Detailed implementation manners
[0017] In order to make the objectives, technical solutions, and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0018] As Figure 1 shown, a flowchart of a method for upgrading and managing computer software provided in an embodiment of the present invention, the method includes: S100, constructing a software update local area network, where computer devices within the software update local area network are connected through a local area network.
[0019] In this step, a software update local area network is constructed. Data access is allowed between computer devices located within the same software update local area network. Computer devices can authorize each other to obtain access permissions. Data connections are established between computer devices within the software update local area network through the local area network. For example, all computer devices under the same gateway perform data connections through the gateway. Computer devices can also be connected through a wireless network. Computer devices are all connected to a cloud server, and the cloud server is used to provide services for software updates.
[0020] S200, obtaining an update instruction, uploading user information to the cloud server, running a new version of computer software in the cloud server, and transmitting image information to the user's computer device to perform cloud interaction with the user.
[0021] In this step, when the computer device needs to be updated, the user issues an update instruction through the computer device. The update instruction is sent to the cloud server. The data sent synchronously with the update instruction includes user information, which contains the user's identity information, the version of the computer software to be updated, and the data to be processed. For example, if a certain file needs to be processed, the file is uploaded to the cloud server as a file to be processed. The computer software is run on the cloud server, verified and logged in based on the user information, and the file to be processed is synchronously imported. The cloud server synchronously transmits the screen displayed by the computer software to the computer device of the current user for display through the computer device. The computer device of the user then synchronously sends the user's operations to the cloud server, and the cloud server performs corresponding actions according to the user operations, thereby realizing cloud interaction with the user.
[0022] S300. During the cloud interaction process, obtain the installation status of the new version of the computer software in the software update local area network through the cloud server, and send a data transmission instruction to the corresponding computer device for joint data transmission.
[0023] In this step, during the cloud interaction process, obtain the installation status of the new version of the computer software in the software update local area network through the cloud server. Specifically, the cloud server detects whether the latest version of the computer software is installed on each computer device through the software update local area network, or can also send a query instruction to each computer device and receive the information feedback sent by the computer device, so as to identify the computer devices containing the new version of the computer software in the current software update local area network. Select a group of computer devices as joint transmission devices according to the running load of each computer device. Analyze the current new version of the computer software through the cloud server to determine the dynamic data and static data contained therein. Static data is data that will not change during the use of the computer software. Specifically, it can be divided according to folders. If all the data in a folder will not change during the operation of the new version of the computer software, it is divided into a static transmission block. On the contrary, if the data in a folder will change, it is divided into a dynamic transmission block. The dynamic transmission block is transmitted through the cloud server, and the static transmission block is transmitted through the computer devices in the software update local area network. To ensure data security, construct static transmission functions and dynamic transmission functions to determine the transmission size of the data packet.
[0024] S400. During the joint data transmission process, receive the data packets sent by the computer devices in the software update local area network, extract the data packet information, verify the data through the user device, and install it after verification.
[0025] In this step, during the combined data transmission, packets sent by computer devices within the software update local area network are received. When a computer device that needs to install the new version of computer software receives each packet, the size of the packet is recorded, and data verification is performed based on the size of the packet to determine the identity of each packet. After the packet verification passes, the packets are combined into a complete installation package for installation. At this time, the user's computer device runs the new version of computer software and takes over from the cloud server to continue performing subsequent operations.
[0026] As Figure 2 shown, as a preferred embodiment of the present invention, the steps of obtaining an update instruction, uploading user information to the cloud server, running the new version of computer software in the cloud server, and transmitting image information to the user's computer device for cloud interaction with the user specifically include: S201, obtain an update instruction, display the initial user interface. After the user logs in, upload the user information to the cloud server.
[0027] In this step, an update instruction is obtained. The update instruction is generated when the user clicks to update. At this time, the old version of the computer software displays the initial user interface, and the user logs in through their identity information. After the user logs in, the user identity verification is completed, and the files and user information that the user needs to process are obtained and packaged and transmitted to the cloud server.
[0028] S202, load the new version of computer software through the cloud server, and load the user information. Display the result of the data loading on the current user's computer device.
[0029] In this step, the new version of computer software is loaded through the cloud server. When each computer software is updated, the cloud server automatically downloads the corresponding new version of computer software. After receiving the user's update instruction, it loads the corresponding new version of computer software according to the user information and performs data processing according to the user information, and transmits the corresponding result to the user's computer device through an image.
[0030] S203, detect the user's input information, synchronously send it to the cloud server, and receive the feedback data from the cloud server to synchronously update the display screen to complete the cloud interaction process.
[0031] In this step, the user's input information is detected. The image transmitted by the cloud server is displayed on the user's computer device, and the user continues to operate according to the display screen. The user's computer device records the user's operations, such as the position of the mouse and the input information of the keyboard, and synchronously sends it to the cloud server to implement the cloud interaction process between the user and the cloud server.
[0032] AsFigure 3 As shown in the figure, as a preferred embodiment of the present invention, in the process of cloud interaction, the steps of obtaining the installation status of the new version of the computer software in the software update local area network through the cloud server, sending a data transmission instruction to the corresponding computer device, and performing joint data transmission specifically include: S301, connect to the computer devices in the software update local area network through the cloud server, obtain the device software list, and select a group of computer devices with the lowest running load as the joint transmission devices.
[0033] In this step, connect to the computer devices in the software update local area network through the cloud server, send a query instruction to each computer device. When the computer device receives the query instruction, generate a software list installed on the computer device, and synchronously record the running load of the computer device, such as CPU occupancy rate, memory occupancy rate, etc. Select a group of computer devices with the lowest load as the joint transmission devices. When the bandwidth of the gateway is greater than the preset value, multiple groups of computer devices can be selected as the joint transmission devices.
[0034] S302, disassemble the new version of the computer software through the cloud server, disassemble it into multiple data transmission blocks, divide the data transmission blocks into dynamic data and static data, and transmit the dynamic data to the user device through the cloud server, and transmit the static data to the user device through the joint transmission device.
[0035] In this step, disassemble the new version of the computer software through the cloud server. By running the new version of the computer software, determine whether the file content in each folder included in the new version of the computer software has changed. If the files in the folder have not changed during the trial run, divide the file into static data, otherwise divide it into dynamic data.
[0036] S303, construct static transmission functions and dynamic transmission functions based on the dynamic data and static data, disassemble and transmit the dynamic data and static data respectively. The dynamic data and static data are respectively disassembled into dynamic data packets and static data packets. The cloud server synthesizes based on the static transmission functions and dynamic transmission functions to obtain a data verification function, and sends it to the user device.
[0037] In this step, construct static transmission functions and dynamic transmission functions based on the dynamic data and static data, number each group of dynamic data and static data, and extract their physical memory occupancy. Construct dynamic data coordinates and static data coordinates. The abscissas of the dynamic data coordinates and static data coordinates are both numbers, and the ordinates are respectively the physical memory occupancy of the dynamic data or static data. Fit according to the dynamic data coordinates and static data coordinates respectively to obtain static transmission functions and dynamic transmission functions. For example, the static transmission function is , the dynamic transfer function is , synthesize based on the static transfer function and the dynamic transfer function to obtain a data verification function, that is, superimpose the static transfer function and the dynamic transfer function to obtain the data verification function , send the data verification function to the user's computer device, send the static transfer function to the combined transfer device, select a preset number of natural numbers as independent variables, such as selecting the one hundred natural numbers from 1 to 100, which means that 100 dynamic data packets and 100 static data packets will be generated. Substitute the independent variables into the corresponding static transfer function and dynamic transfer function in turn to obtain the first calculation value sequence and the second calculation value sequence. Determine the size of each dynamic data packet corresponding to each natural number based on the ratio of each calculation value in the first calculation value sequence. This natural number is the sending order of this dynamic data packet. Similarly, determine the size and sending order of the static data packet according to the second calculation value sequence. The ratio of the calculation values is expressed as: , where is the value of the -th calculation value, is the value of the -th calculation value, is the total number of calculation values. The size of each data packet (including dynamic data packets and static data packets) is expressed as , where M is the total data volume of the dynamic data packet or the static data packet.
[0038] For example Figure 4 As shown, as a preferred embodiment of the present invention, in the process of combined data transmission, the steps of receiving a data packet sent by a computer device in the software update local area network, extracting the data packet information, and performing data verification through the user device and then installing it specifically include: S401, receive the dynamic data packet and the static data packet through the user device, and record the numbers of the dynamic data packet and the static data packet and the included data packet information.
[0039] In this step, receive the dynamic data packet and the static data packet through the user device. For each received dynamic data packet or static data packet, record its number. The number of the N-th dynamic data packet and the number of the N-th static data packet are N, and extract the physical memory data of the corresponding data packet (the physical memory data of the dynamic data packet is expressed as Q, and the physical memory data of the static data packet is expressed as R) to construct the dynamic data verification coordinates (N, Q) and the static data verification coordinates (N, R).
[0040] S402, extract the data packet information through the user device, convert it into multiple groups of identity verification functions, import them into the data verification function for verification, and obtain the verification result.
[0041] S403. When the verification is passed, the user device synthesizes and installs the dynamic data packet and the static data packet. After receiving, the cloud server sends interactive data to the user device and relays the operation through the user device.
[0042] In this step, the user device extracts the data packet information, constructs the authentication coordinates according to the dynamic data verification coordinates (N, Q) and the static data verification coordinates (N, R), superimposes the ordinates of the dynamic data verification coordinates (N, Q) and the static data verification coordinates (N, R) to obtain the authentication coordinates (N, Q + R), substitutes the abscissa of the authentication coordinates into the data verification function, compares the calculated value with the ordinate of the authentication coordinates. If they are equal, it is determined that the verification is passed; otherwise, the verification fails. When all data packets pass the verification, all the received dynamic data packets and static data packets are synthesized to obtain a complete installation package for installation. For the authentication coordinates that do not pass the verification, the cloud server re-transmits the data corresponding to the static data packet corresponding to the authentication coordinates. After obtaining the installation package, it is installed and run. At this time, the cloud server transmits all the operation status data of the new version of the computer software to the user's computer device and loads it through the newly installed new version of the computer software on the user's computer device, thus ending the simulation operation of the cloud server and taking over the operation through the user's computer device, ensuring the continuity of the software operation.
[0043] As Figure 5 shown, a software upgrade management system for a computer software provided by an embodiment of the present invention includes: A local area network construction module 100 for constructing a software update local area network, and computer devices within the software update local area network are connected through the local area network.
[0044] In this system, the local area network construction module 100 constructs a software update local area network. Data access is allowed between computer devices located in the same software update local area network, and computer devices can authorize each other to obtain access permissions. Computer devices within the software update local area network establish a data connection through the local area network. For example, all computer devices under the same gateway establish a data connection through the gateway, and computer devices can also be connected through a wireless network. All computer devices are connected to the cloud server, and the cloud server is used to provide services for software updates.
[0045] A user interaction module 200 for obtaining update instructions, uploading user information to the cloud server, running a new version of computer software in the cloud server, and transmitting image information to the user's computer device for cloud interaction with the user.
[0046] In this system, when the computer device needs to be updated in the user interaction module 200, the user issues an update instruction through the computer device. The update instruction is sent to the cloud server, and the data sent synchronously with the update instruction includes user information, which contains the user's identity information, the version of the computer software to be updated, and the data to be processed. For example, if a certain file needs to be processed, the file is uploaded to the cloud server as a file to be processed. The computer software is run on the cloud server, verified and logged in based on the user information, and the file to be processed is synchronously imported. The cloud server synchronously transmits the screen displayed by the computer software to the computer device of the current user for display through the computer device. The user's computer device then synchronously sends the user's operations to the cloud server, and the cloud server performs corresponding actions according to the user operations, thereby realizing cloud interaction with the user.
[0047] The joint transmission module 300 is used to obtain the installation status of the new version of the computer software in the software update local area network through the cloud server during the cloud interaction process, and send a data transmission instruction to the corresponding computer device for joint data transmission.
[0048] In this system, during the cloud interaction process, the joint transmission module 300 obtains the installation status of the new version of the computer software in the software update local area network through the cloud server. Specifically, the cloud server detects whether the latest version of the computer software is installed on each computer device through the software update local area network, or can also send a query instruction to each computer device and receive the information feedback sent by the computer device, so as to identify the computer devices that contain the new version of the computer software in the current software update local area network. A group of computer devices is selected as joint transmission devices according to the operating load of each computer device. The cloud server analyzes the current new version of the computer software to determine the dynamic data and static data contained therein. The static data is the data that will not change during the use of the computer software. Specifically, it can be divided according to folders. If all the data in a folder will not change during the operation of the new version of the computer software, it is divided into a static transmission block. Conversely, if the data in a folder will change, it is divided into a dynamic transmission block. The dynamic transmission block is transmitted through the cloud server, and the static transmission block is transmitted through the computer devices in the software update local area network. To ensure data security, static transmission functions and dynamic transmission functions are constructed to determine the transmission size of the data packet.
[0049] The data verification module 400 is used to receive the data packet sent by the computer device in the software update local area network during the joint data transmission process, extract the data packet information, verify the data through the user device, and perform installation after verification.
[0050] In this system, during the combined data transmission, the data verification module 400 receives data packets sent by computer devices within the software update local area network. When a computer device that needs to install the new version of the computer software receives each data packet, it records the size of the data packet and performs data verification based on the size of the data packet to determine the identity of each data packet. After the data packet verification passes, the data packets are combined into a complete installation package for installation. At this time, the user's computer device runs the new version of the computer software and takes over from the cloud server to continue performing subsequent operations.
[0051] As Figure 6 shown, as a preferred embodiment of the present invention, the user interaction module 200 includes: A user information transmission unit 201, which is used to obtain an update instruction, display an initial user interface, and after the user logs in, upload the user information to the cloud server.
[0052] In this module, the user information transmission unit 201 obtains an update instruction. The update instruction is generated when the user clicks to update. At this time, the old version of the computer software displays the initial user interface. The user logs in through their identity information. After the user logs in, the verification of the user's identity is completed, and the files and user information that the user needs to process are obtained, and they are packaged and transmitted to the cloud server.
[0053] A simulation loading unit 202, which is used to load the new version of the computer software through the cloud server, load the user information, and display the result of the data loading on the current user's computer device.
[0054] In this module, the simulation loading unit 202 loads the new version of the computer software through the cloud server. When each computer software is updated, the cloud server automatically downloads the corresponding new version of the computer software. After receiving the user's update instruction, it loads the corresponding new version of the computer software according to the user information, performs data processing according to the user information, and transmits the corresponding result to the user's computer device through an image.
[0055] A data interaction unit 203, which is used to detect the user's input information, synchronously send it to the cloud server, receive feedback data from the cloud server, and synchronously update the display screen to complete the cloud interaction process.
[0056] In this module, the data interaction unit 203 detects the user's input information. The image transmitted by the cloud server is displayed on the user's computer device. The user then continues to operate according to the display screen. The user's computer device records the user's operations, such as the position of the mouse and the input information of the keyboard, and synchronously sends it to the cloud server to achieve the cloud interaction process between the user and the cloud server.
[0057] AsFigure 7 As shown in the figure, as a preferred embodiment of the present invention, the joint transmission module 300 includes: A device information acquisition unit 301, configured to connect to computer devices in the software update local area network through a cloud server, acquire a device software list, and select a group of computer devices with the lowest running load as joint transmission devices.
[0058] In this module, the device information acquisition unit 301 connects to computer devices in the software update local area network through a cloud server, sends a query instruction to each computer device. When the computer device receives the query instruction, it generates a software list installed on the computer device and synchronously records the running load of the computer device, such as CPU occupancy rate, memory occupancy rate, etc., and selects a group of computer devices with the lowest load as joint transmission devices. When the bandwidth of the gateway is greater than a preset value, multiple groups of computer devices can be selected as joint transmission devices.
[0059] A data partitioning unit 302, configured to disassemble the new version of computer software through a cloud server, disassemble it into multiple data transmission blocks, divide the data transmission blocks into dynamic data and static data, transmit the dynamic data to the user device through the cloud server, and transmit the static data to the user device through the joint transmission device.
[0060] In this module, the data partitioning unit 302 disassembles the new version of computer software through a cloud server. By running the new version of computer software, it determines whether the file content in each folder included in the new version of computer software has changed. If the files in the folder do not change during the trial run, the files are divided into static data, otherwise they are divided into dynamic data.
[0061] A data transmission unit 303, configured to construct a static transmission function and a dynamic transmission function based on the dynamic data and the static data, disassemble and transmit the dynamic data and the static data respectively. The dynamic data and the static data are respectively disassembled into dynamic data packets and static data packets. The cloud server synthesizes them based on the static transmission function and the dynamic transmission function to obtain a data verification function, and sends it to the user device.
[0062] In this module, the data transmission unit 303 constructs a static transmission function and a dynamic transmission function based on the dynamic data and the static data, numbers each group of dynamic data and static data, and extracts their physical memory occupancy. Construct dynamic data coordinates and static data coordinates. The abscissas of the dynamic data coordinates and the static data coordinates are both numbers, and the ordinates are respectively the physical memory occupancy of the dynamic data or the static data. Fit according to the dynamic data coordinates and the static data coordinates respectively to obtain the static transmission function and the dynamic transmission function. For example, the static transmission function is , and the dynamic transmission function is , synthesize based on the static transfer function and the dynamic transfer function to obtain a data verification function, that is, superimpose the static transfer function and the dynamic transfer function to obtain a data verification function , send the data verification function to the user's computer device, send the static transfer function to the joint transfer device, select a preset number of natural numbers as independent variables, such as selecting the one hundred natural numbers from 1 to 100, which means that 100 dynamic data packets and 100 static data packets will be generated. Substitute the independent variables into the corresponding static transfer function and dynamic transfer function in sequence to obtain the first calculated value sequence and the second calculated value sequence. Determine the size of each natural number corresponding dynamic data packet based on the ratio of each calculated value in the first calculated value sequence. This natural number is the sending order of the dynamic data packet. Similarly, determine the size and sending order of the static data packet according to the second calculated value sequence. The ratio of the calculated values is expressed as: , where is the value of the th calculated value, is the value of the th calculated value, is the total number of calculated values. The size of each data packet (including dynamic data packets and static data packets) is expressed as , where M is the total data volume of the dynamic data packet or the static data packet.
[0063] As Figure 8 shown, as a preferred embodiment of the present invention, the data verification module 400 includes: A data receiving unit 401, configured to receive dynamic data packets and static data packets through a user device, and record the numbers of the dynamic data packets and static data packets and the packet information contained therein.
[0064] In this module, the data receiving unit 401 receives dynamic data packets and static data packets through a user device. For each received dynamic data packet or static data packet, record its number. The number of the Nth dynamic data packet and the number of the Nth static data packet are N, and extract the physical memory data of the corresponding data packet (the physical memory data of the dynamic data packet is expressed as Q, and the physical memory data of the static data packet is expressed as R) to construct a dynamic data verification coordinate (N, Q) and a static data verification coordinate (N, R).
[0065] An authentication unit 402, configured to extract packet information through a user device, convert it into multiple groups of authentication functions, and import them into the data verification function for verification to obtain a verification result.
[0066] The relay display unit 403 is used to synthesize and install dynamic data packets and static data packets through the user device when the verification is passed. After receiving, the cloud server sends interaction data to the user device, and the relay operation is performed through the user device.
[0067] In this module, the packet information is extracted through the user device, and the authentication coordinates are constructed according to the dynamic data verification coordinates (N, Q) and the static data verification coordinates (N, R). The ordinates of the dynamic data verification coordinates (N, Q) and the static data verification coordinates (N, R) are superimposed to obtain the authentication coordinates (N, Q+R). The abscissa of the authentication coordinates is substituted into the data verification function, and the calculated value is compared with the ordinate of the authentication coordinates. If they are equal, it is determined that the verification is passed; otherwise, the verification fails. When all the data packets pass the verification, all the received dynamic data packets and static data packets are synthesized to obtain a complete installation package, and then the installation can be carried out. For the authentication coordinates that do not pass the verification, the data corresponding to the static data packets corresponding to the authentication coordinates are retransmitted through the cloud server. After obtaining the installation package, the installation and operation are carried out. At this time, the cloud server transmits all the operation status data of the new version of the computer software to the user's computer device, and is loaded through the newly installed new version of the computer software on the user's computer device, thereby ending the simulation operation of the cloud server and taking over the operation through the user's computer device, ensuring the continuous operation of the software.
[0068] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for upgrading computer software, characterized in that: The method comprises: Constructing a software update local area network, wherein computer devices in the software update local area network are connected via the local area network; Obtain update instructions, upload user information to the cloud server, run the new version of computer software in the cloud server, and transmit image information to the user's computer device to interact with the user in the cloud; During the cloud interaction process, the cloud server obtains the installation status of the new version of computer software in the software update local area network, sends data transmission instructions to the corresponding computer equipment, and performs joint data transmission; During the joint data transmission process, data packets sent from computer devices in the software update local area network are received, data packet information is extracted, data verification is performed through user devices, and installation is performed after verification.
2. The upgrade management method for computer software according to claim 1, characterized in that: The steps of obtaining update instructions, uploading user information to the cloud server, running the new version of computer software in the cloud server, transmitting image information to the user's computer device, and interacting with the user in the cloud specifically include: Get update instructions, display the initial user interface, and upload user information to the cloud server after the user logs in; Load the new version of computer software through the cloud server, load the user information, and display the results of the data loading on the current user's computer device; Detect the user's input information, send it synchronously to the cloud server, receive feedback data from the cloud server, synchronously update the display screen, and complete the cloud interaction process.
3. The upgrade management method for computer software according to claim 1, characterized in that: In the process of cloud interaction, the steps of obtaining the installation status of the new version of computer software in the software update local area network through the cloud server, sending a data transmission instruction to the corresponding computer device, and performing joint data transmission specifically include: Connect the computer devices in the software update local area network through the cloud server, obtain the device software list, and select a group of computer devices with the lowest operating load as joint transmission devices; Disassembling the new version of computer software through a cloud server into multiple data transmission blocks, dividing the data transmission blocks into dynamic data and static data, wherein the dynamic data is transmitted to the user device through the cloud server, and the static data is transmitted to the user device through a joint transmission device; Static transmission function and dynamic transmission function are constructed based on dynamic data and static data, and the dynamic data and static data are split and transmitted respectively. The dynamic data and static data are split into dynamic data packets and static data packets respectively. The cloud server synthesizes the static transmission function and the dynamic transmission function to obtain the data verification function and sends it to the user device.
4. The upgrade management method for computer software according to claim 3, characterized in that: The steps of receiving a data packet sent from a computer device in the software update local area network, extracting data packet information, performing data verification through a user device, and performing installation after verification specifically include: receiving a dynamic data packet and a static data packet through a user device, and recording numbers of the dynamic data packet and the static data packet and the data packet information contained therein; Extracting data packet information through the user device, converting it into multiple sets of identity verification functions, importing it into the data verification function for verification, and obtaining the verification result; When the verification is passed, the dynamic data packet and the static data packet are synthesized and installed through the user device. After receiving, the cloud server sends the interactive data to the user device and relays it through the user device.
5. The upgrade management method for computer software according to claim 4, characterized in that: Based on the verification results, the static data packets that failed the verification are retransmitted through the cloud server.
6. An upgrade management system for computer software, characterized in that: The system comprises: A local area network construction module, used to construct a software update local area network, wherein computer devices in the software update local area network are connected via the local area network; A user interaction module is used to obtain update instructions, upload user information to the cloud server, run the new version of computer software in the cloud server, and transmit image information to the user's computer device to interact with the user in the cloud; The joint transmission module is used to obtain the installation status of the new version of computer software in the software update local area network through the cloud server during the cloud interaction process, send data transmission instructions to the corresponding computer device, and perform joint data transmission; The data verification module is used to receive data packets sent from computer devices in the software update local area network during the joint data transmission process, extract data packet information, perform data verification through user devices, and install after verification.
7. The upgrade management system for computer software according to claim 6, characterized in that: The user interaction module comprises: A user information transmission unit, used to obtain update instructions, display the initial user interface, and upload user information to the cloud server after the user logs in; A simulation loading unit is used to load a new version of computer software through a cloud server, load user information, and display the result of data loading on the current user's computer device; The data interaction unit is used to detect the user's input information, send it synchronously to the cloud server, receive feedback data from the cloud server, synchronously update the display screen, and complete the cloud interaction process.
8. The upgrade management system for computer software according to claim 6, characterized in that: The joint transmission module comprises: A device information acquisition unit, used to connect with computer devices in the software update local area network through a cloud server, obtain a device software list, and select a group of computer devices with the lowest operating load as joint transmission devices; A data partitioning unit, used to disassemble the new version of computer software through the cloud server, disassemble it into multiple data transmission blocks, and divide the data transmission blocks into dynamic data and static data, wherein the dynamic data is transmitted to the user device through the cloud server, and the static data is transmitted to the user device through the joint transmission device; The data transmission unit is used to construct a static transmission function and a dynamic transmission function based on the dynamic data and the static data, split and transmit the dynamic data and the static data respectively, and split the dynamic data and the static data into dynamic data packets and static data packets respectively. The cloud server synthesizes the static transmission function and the dynamic transmission function to obtain a data verification function and sends it to the user device.
9. The upgrade management system for computer software according to claim 8, characterized in that: The data verification module comprises: A data receiving unit, used to receive dynamic data packets and static data packets through user equipment, and record numbers of the dynamic data packets and static data packets and the data packet information contained therein; The identity verification unit is used to extract data packet information through the user device, convert it into multiple groups of identity verification functions, import it into the data verification function for verification, and obtain the verification result; The relay display unit is used to synthesize and install the dynamic data packet and the static data packet through the user device when the verification is passed. After receiving, the cloud server sends the interactive data to the user device and performs relay operation through the user device.
10. The upgrade management system for computer software according to claim 9, characterized in that: Based on the verification results, the static data packets that failed the verification are retransmitted through the cloud server.
Citation Information
Patent Citations
Terminal software online upgrading system and method based on cloud computing environment
CN102945175A
Virtualization network function management upgrading method and apparatus and virtualization network function management server
CN105681060A
Software upgrading method, device, equipment, system and storage medium
CN112667271A
Server application hot deployment method and device, equipment and storage medium
CN116594634A
Cloud computing system and method based on image interaction
CN117424931A