Downloading method and device, computer equipment and storage medium
By introducing 5G network slicing technology and differential upgrade packages in FOTA upgrades, network resources are dynamically allocated, and the problems of network resource competition and upgrade failures between devices are solved, achieving efficient and secure equipment upgrades.
Patent Information
- Application Number
- CN202510507152.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2025-07-04
AI Technical Summary
During the existing FOTA upgrade process, competition among devices leads to slow download speed, unstable network quality leads to failure to upgrade, and fails to effectively manage and optimize network resources, making it difficult to complete large-scale equipment upgrades in a short period of time.
5G network slicing technology is introduced to dynamically allocate priority and network slicing based on device information, deploy upgrade packages through operator servers, and adopt differential upgrade packages and encryption mechanisms to ensure that the device completes upgrades quickly and reliably in the most suitable network slicing.
It improves the efficiency and success rate of FOTA upgrades, avoids network resource conflicts between devices, ensures rapid upgrade of key devices, reduces network transmission delay and bandwidth consumption, and improves security and user experience.
Smart Images

Figure CN120264262A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a download method, apparatus, computer device, and storage medium. Background Art
[0002] With the wide popularization of various devices such as smart phones, Internet of Things devices, and smart cars, the Firmware Over-The-Air (FOTA) technology for software upgrade of devices has become an important means to improve device performance, repair vulnerabilities, and update functions.
[0003] The FOTA technology allows device manufacturers to push upgrade packages to users' devices through cloud services, thereby realizing online upgrade and maintenance of the devices. In the current FOTA upgrade process, the upgrade package is usually deployed by the device manufacturer on a cloud server or a Content Delivery Network (CDN). The device will download the upgrade package from the cloud server or CDN through a wireless network and complete the upgrade. However, during peak periods or network congestion, different devices compete for limited bandwidth resources, which affects the download speed. At the same time, the instability of network quality may also cause the upgrade process to be interrupted. For example, when the network fluctuates or disconnects, the device may not be able to complete the firmware download, resulting in an upgrade failure. Summary of the Invention
[0004] Embodiments of this application provide a download method, apparatus, computer device, and storage medium, which improve the efficiency and success rate of FOTA upgrade.
[0005] In a first aspect, embodiments of this application provide a download method, which includes: receiving a first upgrade request message from a first device, where the first upgrade request message is used to request an upgrade of a first software of the first device; in response to the first upgrade request message, determining a first network slice from at least one network slice corresponding to the first software based on the device information of the first device, where the priorities of the respective network slices in the at least one network slice are different; and sending a first upgrade response message to the first device, where the first upgrade response message includes a first node identifier, and the first node identifier is used to identify a node of the first network slice, and the first node identifier is used for the first device to download an upgrade package of the first software from the node of the first network slice.
[0006] It can be seen that the first device can download the upgrade package in the corresponding network slice through the received first upgrade response message. The traffic between different network slices is isolated from each other, which can avoid conflicts of network resources between devices and improve the efficiency and success rate of FOTA upgrade of the first device.
[0007] In a possible implementation manner, determining a first network slice from at least one network slice corresponding to a first software based on the device information of a first device may include: determining the priority information of the first device based on the device information of the first device; and determining the first network slice from the at least one network slice based on the priority information of the first device and the priority information of the at least one network slice corresponding to the first software, where the priority of the first device matches the priority of the first network slice.
[0008] It can be seen that the operator server can determine the priority of the first device in real time through the device information of the first device, so as to determine the first network slice from at least one network slice, and allocate a most suitable network slice for the first device in the current network situation, which is beneficial to improving the efficiency of FOTA upgrade of the first device.
[0009] In a possible implementation manner, the method may further include: receiving the device information from the first device, where the device information includes one or more of the following: signal measurement value, device load information, and bandwidth information.
[0010] It can be seen that the operator server can obtain the device information of the first device, which is beneficial for the operator server to allocate a corresponding network slice for the first device through the device information of the first device.
[0011] In a possible implementation manner, determining the priority information of the first device based on the device information of the first device may include: when the signal measurement value of the first device is greater than a preset threshold, determining the priority information of the first device based on the device load information and / or bandwidth information of the first device.
[0012] It can be seen that when the signal quality of the first device is poor, it is possible to wait until the signal quality of the first device resumes to a better level, then determine the priority information of the first device, and then allocate a corresponding network slice for the first device, which is beneficial to improving the efficiency and success rate of FOTA upgrade of the first device.
[0013] In a possible implementation manner, the method may further include: configuring at least one network slice for the first software; and sending the upgrade package of the first software to each node of each network slice in the at least one network slice.
[0014] It can be seen that by deploying the upgrade package on the operator server, and the operator server is tightly integrated into the 5th-Generation (5G) mobile communication system network, it can quickly provide the required upgrade package according to the network slice of the first device, which can greatly reduce the network transmission delay and bandwidth consumption, and improve the efficiency and success rate of FOTA upgrade of the first device.
[0015] In a possible implementation, the method may further include: receiving a second upgrade request message from a second device, where the second upgrade request message is used to request an upgrade of a first software of the second device, and the receiving time of the first upgrade request message is the same as the receiving time of the second upgrade request message; in response to the second upgrade request message, based on the device information of the second device, determining a second network slice from at least one network slice corresponding to the first software, where the priority of the first network slice is higher than that of the second network slice, and the network resources allocated to the first network slice are greater than the network resources allocated to the second network slice; sending a second upgrade response message to the second device, where the second upgrade response message includes a second node identifier, and the second node identifier is used to identify the node of the second network slice, and the second node identifier is used for the second device to download an upgrade package of the first software from the node of the second network slice.
[0016] It can be seen that when multiple devices perform FOTA upgrades simultaneously, through the traffic isolation technology of 5G network slices, conflicts of network resources between different devices can be avoided, network congestion and insufficient bandwidth can be avoided, and the efficiency of large-scale device upgrades is improved. At the same time, for high-priority devices, more bandwidth and lower latency can be scheduled preferentially to ensure that the firmware of critical devices can be upgraded quickly and reliably.
[0017] In a possible implementation, the above upgrade package is a differential upgrade package.
[0018] It can be seen that the upgrade package is a differential upgrade package. The differential upgrade package only contains the different parts between the old and new versions of the firmware. It has a small data volume, can complete the download of the upgrade package faster, saves bandwidth and storage space, and improves the efficiency of FOTA upgrades for the first device.
[0019] In a second aspect, an embodiment of the present application provides another download method, which includes: sending a first upgrade request message to an operator server, where the first upgrade request message is used to request an upgrade of a first software of a first device; receiving a first upgrade response message from the operator server, where the first upgrade response message includes a first node identifier, and the first node identifier is used to identify the node of a first network slice; downloading an upgrade package of the first software from the node of the first network slice based on the first node identifier.
[0020] It can be seen that the first device receives the first node identifier of the first network slice corresponding to the first device in the operator device. After the first device is connected to the operator server, it can quickly obtain the upgrade package required by the first device at the first node identifier of the first network slice, which is beneficial to improving the efficiency of FOTA upgrades.
[0021] In a possible implementation, the method may further include: sending device information of the first device to the operator server, where the device information includes one or more of the following: signal measurement values, device load information, and bandwidth information.
[0022] It can be seen that the first device will send the device information of the first device to the operator server so that the operator server can understand the real-time network situation of the first device and allocate corresponding network slices for the first device according to the device information.
[0023] In a possible implementation, the method may further include: verifying the upgrade package of the first software; and upgrading the first software in response to the upgrade package of the first software passing the verification.
[0024] It can be seen that it is necessary to verify the upgrade package after downloading, and the upgrade package can be used to upgrade the first software only after passing the verification, which is beneficial to improving the security of FOTA upgrade.
[0025] In a third aspect, an embodiment of the present application provides a communication device for an operator server, and the communication device includes a transceiver unit and a processing unit.
[0026] The transceiver unit is configured to receive a first upgrade request message from the first device, where the first upgrade request message is used to request an upgrade of the first software of the first device;
[0027] The processing unit is configured to, in response to the first upgrade request message, determine a first network slice from at least one network slice corresponding to the first software based on the device information of the first device, and priorities of each network slice in the at least one network slice are different;
[0028] The transceiver unit is further configured to send a first upgrade response message to the first device, where the first upgrade response message includes a first node identifier, and the first node identifier is used to identify a node of the first network slice, and the first node identifier is used for the first device to download an upgrade package of the first software from the node of the first network slice.
[0029] In a possible implementation, the processing unit is further configured to determine priority information of the first device based on the device information of the first device; and determine the first network slice from the at least one network slice based on the priority information of the first device and the priority information of the at least one network slice corresponding to the first software, and the priority of the first device matches the priority of the first network slice.
[0030] In a possible implementation, the transceiver unit is further configured to receive device information from the first device, where the device information includes one or more of the following: signal measurement values, device load information, and bandwidth information.
[0031] In a possible implementation, the processing unit is further configured to determine the priority information of the first device based on the device load information and / or bandwidth information of the first device when the signal measurement value of the first device is greater than a preset threshold.
[0032] In a possible implementation, the processing unit is further configured to configure at least one network slice for the first software; and send the upgrade package of the first software to the nodes of each network slice in the at least one network slice respectively.
[0033] In a possible implementation, the transceiver unit is further configured to receive a second upgrade request message from a second device, where the second upgrade request message is used to request to upgrade the first software of the second device, and the receiving time of the first upgrade request message is the same as the receiving time of the second upgrade request message;
[0034] The processing unit is further configured to, in response to the second upgrade request message, determine a second network slice from at least one network slice corresponding to the first software based on the device information of the second device, where the priority of the first network slice is greater than that of the second network slice, and the network resources allocated to the first network slice are greater than those allocated to the second network slice;
[0035] The transceiver unit is further configured to send a second upgrade response message to the second device, where the second upgrade response message includes a second node identifier, and the second node identifier is used to identify the node of the second network slice, and the second node identifier is used for the second device to download the upgrade package of the first software from the node of the second network slice.
[0036] In a possible implementation, the above upgrade package is a differential upgrade package.
[0037] In a fourth aspect, an embodiment of the present application provides another communication device, which is used for a first device, and the communication device includes a transceiver unit and a processing unit.
[0038] The transceiver unit is configured to send a first upgrade request message to an operator server, where the first upgrade request message is used to request to upgrade the first software of the first device;
[0039] The transceiver unit is further configured to receive a first upgrade response message from the operator server, where the first upgrade response message includes a first node identifier, and the first node identifier is used to identify the node of the first network slice;
[0040] The processing unit is configured to download the upgrade package of the first software from the node of the first network slice based on the first node identifier.
[0041] In a possible implementation, the transceiver unit is further configured to send device information of the first device to an operator server, where the device information includes one or more of the following: signal measurement value, device load information, and bandwidth information.
[0042] In a possible implementation, the processing unit is further configured to verify an upgrade package of the first software; in response to the upgrade package of the first software passing the verification, upgrade the first software.
[0043] In a fifth aspect, an embodiment of the present application provides an electronic device, where the electronic device includes: a memory for storing a program; a processor for executing the program stored in the memory, and when the program is executed by the processor, the processor executes the method in the first aspect and any possible implementation manner in the first aspect, or executes the method in the second aspect and any possible implementation manner in the second aspect.
[0044] In a sixth aspect, an embodiment of the present application provides a computer storage medium, where a computer program is stored in the computer storage medium, and the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the method in the first aspect and any possible implementation manner in the first aspect, or executes the method in the second aspect and any possible implementation manner in the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a schematic diagram of a system architecture provided by an embodiment of the present application;
[0046] Figure 2 It is a schematic flowchart of a download method provided by an embodiment of the present application;
[0047] Figure 3 It is a schematic flowchart of an FOTA upgrade method provided by an embodiment of the present application;
[0048] Figure 4 It is a schematic structural diagram of a communication device provided by an embodiment of the present application;
[0049] Figure 5 It is a schematic structural diagram of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0050] Next, embodiments of the present application will be described with reference to the accompanying drawings in the embodiments of the present application.
[0051] In the description, claims and drawings of the present application, terms such as "first", "second", "third" and "fourth" are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally further comprises unlisted steps or units, or optionally further comprises other steps or units inherent to these processes, methods, products or devices.
[0052] It should be understood that in the present application, "at least one (item)" means one or more, and "a plurality" means two or more. "And / or" is used to describe the relationship between related objects and indicates that there can be three relationships. For example, "A and / or B" can mean: only A exists, only B exists, and both A and B exist at the same time. Among them, A and B can be singular or plural. The character " / " generally means that the related objects before and after are in an "or" relationship. "At least one (one) of the following" or a similar expression means any combination of these items, including any combination of single items (one) or plural items (one). For example, at least one (one) of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0053] Reference to "an embodiment" herein means that a particular feature, structure or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0054] As used in this specification, terms such as "component", "module", "system", etc. are used to represent computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. By way of illustration, both an application running on a computing device and the computing device can be components. One or more components can reside in a process and / or an execution thread, and a component can be located on one computer and / or distributed between two or more computers. In addition, these components can execute from various computer-readable media on which various data structures are stored. A component can communicate, for example, through local and / or remote processes according to a signal having one or more data packets (e.g., data from two components interacting with another component among a local system, a distributed system, and / or a network, such as data interacting with other systems through a signal on the Internet).
[0055] First, some terms used in this application are explained for the convenience of those skilled in the art to understand.
[0056] I. FOTA Technology
[0057] FOTA technology enables remote firmware upgrades over a network. It allows device manufacturers to push the latest upgrade packages to users' devices via a cloud server or CDN without the need for users to make a physical connection or visit a service center. This technology greatly improves the convenience and efficiency of upgrades, enabling users to obtain the latest system fixes and function optimizations anytime and anywhere.
[0058] In the embodiments of this application, the upgrade packages are deployed by the device manufacturer in the operator's server. The devices that need to be upgraded send upgrade requests to the operator's server, and the operator's server can quickly provide the upgrade packages required by the devices according to the network slices of the devices for the devices to complete the upgrade.
[0059] II. 5G Network Slicing Technology
[0060] 1. 5G Network Slicing Technology
[0061] 5G network slicing technology allows multiple virtual and isolated network slices to be created on a shared physical network infrastructure, and each network slice can be customized and managed according to the needs of specific services or applications.
[0062] The 5G network slicing technology utilizes Network Functions Virtualization (NFV) technology to transform traditional hardware network functions (such as routers, firewalls, base stations, etc.) into software modules that run on a general-purpose hardware platform, achieving virtualized deployment of network functions. This improves the flexibility and scalability of network resources. Meanwhile, with the help of Software Defined Network (SDN) technology, the 5G network slicing technology separates the control plane and data plane of the network, and centrally manages and schedules network resources through a centralized controller to achieve flexible and dynamic network configuration. This enables network slices to quickly adjust and optimize resource allocation according to service requirements. The 5G network slicing technology also uses traffic isolation technology to ensure that each network slice has independent network functions, configuration parameters, security policies, and management policies, guaranteeing that the quality of service and data between different network slices do not affect each other. This logical isolation provides a customized network environment and security guarantee for different services.
[0063] 2. Application Scenarios of 5G Network Slicing Technology
[0064] The 5G network includes three major application scenarios: enhanced mobile broadband (eMBB), massive machine-type communication (mMTC), and ultra-reliable low-latency communication (URLLC). The 5G network slicing technology is also widely applied in various scenarios to meet the diverse requirements of different industries and applications for network performance.
[0065] (1) Enhanced mobile broadband: Suitable for scenarios with high bandwidth requirements such as high-definition video streaming, virtual reality, and augmented reality. Network slices can provide a large amount of bandwidth to ensure a smooth experience for users.
[0066] (2) Massive machine-type communication: Suitable for Internet of Things scenarios such as smart homes and smart cities. Network slices can support the connection of a large number of devices and ensure reliable data transmission.
[0067] (3) Ultra-reliable low-latency communication: Suitable for scenarios with extremely high requirements for latency and reliability such as industrial control, autonomous driving, and remote medical treatment. Network slices can provide ultra-low latency and high reliability to ensure the smooth execution of critical tasks.
[0068] 3. Encryption Mechanism of 5G Network Slicing Technology
[0069] Each network slice in the 5G network slice has independent network functions, configuration parameters, security policies, and management policies, thus achieving isolation between slices logically. This isolation mechanism can effectively prevent data leakage and interference between slices. Inside the slice, advanced encryption algorithms (such as AES-256, etc.) are used to encrypt data to ensure the security of data during transmission and storage within the slice.
[0070] At the same time, the 5G network ensures that only authorized users and devices can access specific network slices by implementing a strict authentication process, effectively preventing illegal users from accessing slices and stealing or tampering with data within the slices. During the process of user equipment accessing the slice, encryption technology is used to protect the security of the access link. When communication is required between different slices, encryption technology is used to protect the security of the communication link, preventing data between slices from being stolen or tampered with during transmission and ensuring the confidentiality and integrity of communication between slices.
[0071] In the embodiment of this application, at least one network slice is configured for the device through the 5G network slice technology. The priorities of the individual network slices in the at least one network slice are different. More network resources are allocated to the network slices with high priorities to ensure that the firmware of critical devices can be upgraded quickly and reliably. At the same time, when multiple devices perform FOTA upgrades simultaneously, since each network slice has independent network functions, configuration parameters, security policies, and management policies, it can ensure that the quality of service and data between different network slices do not affect each other, avoiding conflicts of network resources between devices, network congestion, and insufficient bandwidth, and improving the efficiency of large-scale device upgrades. The encryption mechanism of the 5G network slice technology also enhances the security of FOTA upgrade data.
[0072] III. Personal Computer-Internet of Things (PC-IoT) Products
[0073] PC-IoT products refer to devices or systems that combine personal computer (PC) and Internet of Things (IoT) technologies. These products achieve the interconnection and interoperability between the PC and IoT devices by integrating sensors, communication modules, and software, thus expanding the functions and application scenarios of the PC.
[0074] PC-IoT products can automatically sense the surrounding environment, collect and analyze data, and make intelligent responses according to user needs. Through IoT technology, PC-IoT products can also be connected to other devices or systems to achieve data sharing and interaction. PC-IoT products usually have a modular design, and users can add or replace functional modules according to needs to achieve function expansion and upgrade.
[0075] PC-IoT products are widely used in various scenarios. In smart homes, PC-IoT products can serve as the control center of smart homes. By connecting various smart devices (such as smart bulbs, smart sockets, smart door locks, etc.), they can achieve intelligent management and control of the home. In industrial production environments, PC-IoT products can connect various sensors and actuators to achieve automated management and control of the production process, improving production efficiency and quality. PC-IoT products can also connect to security devices such as smart cameras and alarms to achieve real-time management and alarm functions, ensuring the safety of users.
[0076] In the embodiments of this application, a download method provided by this application can be applied to PC-IoT products so that users of PC-IoT products can obtain the latest system repairs and function optimizations anytime and anywhere.
[0077] In the existing FOTA upgrade process, all devices download firmware through a common network connection. This can lead to competition among different devices for limited bandwidth resources during peak periods or network congestion, thus affecting the download speed. The instability of network quality may also cause the upgrade process to be interrupted. For example, when there are network fluctuations or disconnections, the device may not be able to complete the download or installation of the upgrade package, resulting in upgrade failures. At the same time, the existing FOTA solutions do not consider the specific requirements of different devices or different scenarios. This lack of targeted upgrade methods not only fails to effectively manage and optimize network resources but may also cause waste of resources. When the number of devices is large, it is also very difficult for the existing FOTA solutions to complete the upgrade of all devices in a short time. This not only increases the uncertainty during the upgrade process but may also affect the availability of the devices and the user experience.
[0078] In view of this, the embodiments of this application provide a download method, device, computer device, and storage medium. This method deploys the upgrade package in the operator server and introduces 5G network slicing technology for customized design and management according to the network conditions and upgrade requirements of the devices, effectively improving the efficiency and success rate of FOTA upgrades, and achieving the upgrade of a large number of devices in the shortest time and efficiently, while ensuring the success rate and device availability.
[0079] Next, a system architecture applicable to the embodiments of this application will be introduced.
[0080] Please refer to Figure 1 , Figure 1 which is a schematic diagram of a system architecture provided by the embodiments of this application. As Figure 1 shown, this system architecture includes a first device 110 and an operator server 120. Data interaction can occur between the first device 110 and the operator server 120.
[0081] Among them, the first device 110 may be a PC-IoT product, a mobile phone, a wearable device, a tablet (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a terminal device that supports enhanced machine type communication (eMTC), long term evolution (LTE) of universal mobile communication technology, and / or supports narrowband Internet of Things (NB-IoT), etc. Embodiments of the present application do not limit the specific technologies and specific device forms adopted by the terminal device.
[0082] The operator server 120 uses SDN technology and NFV technology to build at least one dedicated, virtualized, and isolated logical network, that is, a network slice, for the first software of the first device 110 on a unified physical network infrastructure. Nodes are the basic components in the network slice, and each node undertakes specific network functions, such as routing, switching, caching, etc. The communication paths and resources between nodes are implemented by virtual links established by the SDN controller according to the global network information. In the embodiments of the present application, the nodes of the network slice have cache management functions, such as cache space management, cleaning of expired upgrade packages, etc.
[0083] In the embodiments of the present application, the upgrade package is deployed on the operator server 120. The operator server 120 can dynamically adjust the upgrade strategy based on the device status of the first device 110 (such as signal measurement values, device load, current network bandwidth, etc.), determine the most suitable network slice for the first device 110, and the first device 110 can quickly download the required upgrade package from the operator server according to the network slice. The transmission delay and bandwidth consumption during the FOTA upgrade process of the first device 110 are significantly reduced. At the same time, customized network resources are allocated to the first device 110 through the 5G network slice technology.
[0084] The following introduces the download method provided by the embodiments of the present application.
[0085] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of a download method provided by the embodiments of the present application. This method is applied to an operator server. As Figure 2 shown, the download method may include but is not limited to the following steps:
[0086] S201. The first device sends a first upgrade request message to the operator server. Correspondingly, the operator server receives the first upgrade request message from the first device.
[0087] In a possible implementation, the first device receives an upgrade notification from the device manufacturer. The upgrade notification is used to notify the first device that the first software in the first device needs to be firmware-upgraded. When the user sets automatic upgrade in the upgrade management of the first device, in response to the upgrade notification, the first device selects a time (such as at night) that does not affect the user's use of the device and sends a first upgrade request message to the operator server. The first upgrade request message is used to request an upgrade of the first software of the first device.
[0088] When the user sets manual upgrade in the upgrade management of the first device, in response to the upgrade notification, the first device can display the upgrade notification in a pop-up window on the interface currently used by the user. Optionally, in response to the upgrade notification, the first device can also display the upgrade notification in the settings of the first device. The first device sends a first upgrade request message to the operator server in response to receiving the user's click for an upgrade operation. The first upgrade request message is used to request an upgrade of the first software of the first device.
[0089] In another possible implementation, the first device periodically sends an upgrade inquiry message to the operator server. The upgrade inquiry message is used to inquire whether the first software of the first device needs to be upgraded on the operator server. When the operator server receives an upgrade notification from the device manufacturer, the upgrade notification is used to notify the operator server that the first software needs to be upgraded. In response to the upgrade inquiry message, the operator server sends an upgrade inquiry response message to the first device. The upgrade inquiry response message is used to notify the first device that the first software needs to be upgraded. The first device sends a first upgrade request message to the operator server in response to receiving the upgrade inquiry response message. The first upgrade request message is used to request an upgrade of the first software of the first device.
[0090] Optionally, when the first device receives an upgrade notification message indicating that the first device needs to be upgraded, the first device may also send a third upgrade request message to the operator server. Correspondingly, the operator server receives the third upgrade request message from the first device, and the third upgrade request message is used to request an upgrade of the first device.
[0091] S202. In response to the first upgrade request message, based on the device information of the first device, determine a first network slice from at least one network slice corresponding to the first software.
[0092] In a possible implementation, the operator server configures at least one network slice for the first software, and sends the upgrade package of the first software to the nodes of each network slice in the at least one network slice for caching. The upgrade package of the first software is sent by the device manufacturer to the operator server, and then sent by the operator server to the nodes of each network slice in the at least one network slice for caching. The operator server is a server close to the user side. Deploying the upgrade package on the operator server can quickly provide the upgrade package required by the device according to the network slice, can greatly reduce the network transmission delay and bandwidth consumption, and improve the efficiency of the device downloading the upgrade package.
[0093] The priorities of the individual network slices in the at least one network slice are different. For a network slice with a high priority, more bandwidth and lower latency can be preferentially scheduled to ensure that the device can complete the upgrade quickly and reliably. For a network slice with a low priority, the network resources that can be scheduled are less than those scheduled by the network slice with a high priority, but the network resources allocated to the low priority can also ensure that the device can complete the upgrade reliably.
[0094] In a possible implementation, the operator server receives the device information from the first device. The device information includes, but is not limited to, one or more of the following: signal measurement value, device load information, bandwidth information. The operator server periodically receives the device information from the first device; optionally, it may also be that the operator server periodically sends a first request message to the first device. The first request message is used to let the first device report the device information of the first device. After the first device receives the first request message, in response to the first request message, the first device sends the device information of the first device to the operator server.
[0095] Among them, the signal measurement value reflects the quality of the device signal in the current network environment; the device load information refers to the relevant data of the workload or task volume borne by the device during operation, which includes the processing capacity, resource utilization rate, task queue length, etc. of the device; the bandwidth information refers to the maximum data transmission rate or capacity that the device or network can achieve when transmitting data, including network bandwidth, device interface bandwidth, etc.
[0096] After receiving a first upgrade request message from a first device, in response to the first upgrade request message, based on the device information of the first device, a first network slice is determined from at least one network slice corresponding to the first software. Among them, based on the device information of the first device, determining the first network slice from at least one network slice corresponding to the first software may include: determining the priority information of the first device based on the device information of the first device; based on the priority information of the first device and the priority information of at least one network slice corresponding to the first software, determining the first network slice from at least one network slice, and the priority of the first device matches the priority of the first network slice. The operator server can dynamically determine the priority of the first device through the device information of the first device, so as to determine the first network slice from at least one network slice, allocate a most suitable network slice for the first device in the current network situation, and use the network resources in the first network slice to download the upgrade package of the first software for the first device, improving the download efficiency of the first software upgrade package and enhancing the efficiency of the first device's FOTA upgrade.
[0097] Exemplarily, assume that the operator server configures four network slices for the first software, and these four network slices correspond to the first to fourth priorities. Among them, the first priority is the highest priority, and the fourth priority is the lowest priority. For the network resources allocated to these four network slices, from the first priority to the fourth priority, they decrease in turn. That is, the network slice with the first priority is allocated the most network resources, which can ensure that the device can complete the upgrade quickly and reliably, and the network slice with the fourth priority is allocated the least network resources, but the network resources allocated to the network slice with the fourth priority can also ensure that the device can complete the upgrade reliably.
[0098] After receiving the first upgrade request message from the first device, in response to the first upgrade request message, based on the device information of the first device, it is determined that the first device belongs to the first priority, that is, the device needs to complete the upgrade quickly and reliably at this time. Based on the first priority information of the device and the priority information of the four network slices configured by the operator server for the first software, the first network slice is determined from these four network slices. Among them, the priority of the first network slice is also the first priority, and the priority of the first network slice matches the priority of the first device.
[0099] Optionally, after receiving the first upgrade request message from the first device, the first network slice may be determined from at least one network slice corresponding to the first software based on the first upgrade request message. Among them, the first upgrade request message includes the first priority information of the first device, and the priority information of the first network slice matches the first priority information of the first device.
[0100] Optionally, the first upgrade request message includes the first priority information of the first device. However, the operator server determines the second priority information of the first device based on the device information of the first device. The first priority information is different from the second priority information. The operator server needs to determine the third network slice for the first device from at least one network slice corresponding to the first software according to the second priority information of the first device. The priority information of the third network slice matches the second priority information of the first device.
[0101] In another possible implementation, determining the first network slice from at least one network slice corresponding to the first software based on the device information of the first device may further include: when the signal measurement value of the first device is greater than a preset threshold, determining the priority information of the first device based on the device load information and / or bandwidth information of the first device. After the operator server receives the device information of the first device, the device information includes the signal measurement value of the first device. If the signal measurement value of the first device is less than or equal to the preset threshold, that is, in the current network environment, the signal quality of the first device is poor. At this time, the first device is not upgraded first. When the signal measurement value of the first device is greater than the preset threshold, the priority information of the first device is determined based on the device load information and / or bandwidth information of the first device. Then, based on the priority information of the first device and the priority information of at least one network slice corresponding to the first software, the first network slice is determined from at least one network slice, and the priority of the first device matches the priority of the first network slice. When the signal quality of the first device is good, the FOTA upgrade of the first device is performed, which is beneficial to improving the efficiency and success rate of the FOTA upgrade of the first device.
[0102] Among them, when the first device is in a mobile network (such as the fourth-generation (4th-Generation, 4G) mobile communication system or 5G), the signal measurement value of the first device may include the reference signal received power (RSRP). At this time, the preset threshold can be set to -110 dBm. That is, when the RSRP value of the first device is less than or equal to -110 dBm, the signal quality of the first device is poor at this time, and the first software of the first device is not upgraded first. When the operator server receives the device information of the first device next time and the signal measurement value of the first device is greater than -110 dBm, the priority information of the first device is determined based on the device load information and / or bandwidth information of the first device.
[0103] When the first device is under a Wireless Fidelity (WiFi) network, the signal measurement value of the first device may include the Received Signal Strength Indication (RSSI). At this time, a preset threshold can be set to -70 dBm. That is, when the RSSI value of the first device is less than or equal to -70 dBm, the signal quality of the first device is poor, and the first software of the first device is not upgraded first. When the operator server receives the device information of the first device next time, and the signal measurement value of the first device is greater than -70 dBm at this time, the priority information of the first device is determined based on the device load information and / or bandwidth information of the first device.
[0104] S203. The operator server sends a first upgrade response message to the first device. The first upgrade response message includes a first node identifier. Correspondingly, the first device receives the first upgrade response message from the operator server.
[0105] Among them, the first node identifier is used to identify the node of the first network slice, and the first node identifier is used for the first device to download the upgrade package of the first software from the node of the first network slice.
[0106] After determining the first network slice corresponding to the first device, the operator server sends a first upgrade response message to the first device. The first upgrade response message includes a first node identifier. The first node identifier is used to identify the node of the first network slice, and the first node identifier is used for the first device to download the upgrade package of the first software from the node of the first network slice.
[0107] Among them, the upgrade package of the first software is a differential upgrade package. The differential upgrade package is an upgrade package generated by a differential algorithm (such as BSDiff), which only contains the different parts between the old and new version firmware, such as newly added files and modified parts. When it may be necessary to delete old files or configurations in the new version, when generating the differential upgrade package through the differential algorithm, "logical deletion" can be achieved by overwriting the old data block. For example, if a certain file is removed in the new version, the differential upgrade package may not contain the new data of the file, and the storage space of the file is directly released when the device is upgraded. Optionally, a first deletion instruction can also be added to the differential upgrade package. The first deletion instruction includes the file path or data block address to be deleted, and the first deletion instruction is used for the first device to process the file or data block to be deleted.
[0108] Delta upgrade packages only contain the differential data between the old and new versions. Therefore, users only need to download a smaller file to complete the upgrade, which significantly reduces the user's download time and data consumption. Especially in cases where network bandwidth is limited or data traffic is expensive, the user experience is greatly enhanced. At the same time, due to the reduced download volume, the upgrade process is faster, and users can complete the upgrade without having to wait for a long time. This improves user satisfaction with the device and applications and enhances user stickiness. For device manufacturers, delta upgrade packages reduce the consumption of server bandwidth and storage space, which lowers operating costs, makes more frequent updates possible, and maintains the stability and security of the system. Delta upgrade packages are usually smaller than full packages, easier to distribute and manage, which simplifies the upgrade process, reduces the likelihood of errors, and increases the success rate of the upgrade.
[0109] Optionally, the encryption mechanism in 5G network slicing technology can be used to encrypt and sign the upgrade package. Among them, common encryption algorithms include the Advanced Encryption Standard (AES), Elliptic Curve Cryptography (ECC), and so on. Select a suitable encryption algorithm according to the security requirements and performance requirements of the upgrade package. For example, the AES algorithm has the characteristics of fast speed and high security and is suitable for encrypting the upgrade package. Generate a unique encryption key for each network slice or upgrade package. This key should be long enough and complex to ensure its security. Use the selected encryption algorithm and the generated encryption key to encrypt the upgrade package. The encrypted upgrade package will become a ciphertext form and cannot be interpreted by unauthorized users. Generate a pair of signature keys for each device, including a private key and a public key. The private key is used by the operator server to sign the upgrade package, and the public key is used by the first device to verify the validity of the signature. The operator server uses the private key to digitally sign the encrypted upgrade package. The signature process will generate a signature value, which will be attached to the upgrade package to prove its origin and integrity. At the receiving end (i.e., the first device), use the public key to verify the signature value. If the verification passes, it means that the upgrade package has not been tampered with during transmission and indeed comes from a legitimate sender (i.e., the operator server), thereby further enhancing the security of the FOTA upgrade process.
[0110] In a possible implementation, the operator server simultaneously receives a first upgrade request message from a first device and a second upgrade request message from a second device. The first upgrade request message and the second upgrade request message are respectively used to request the upgrade of the same software, i.e., the first software, in the first device and the second device. In response to the first upgrade request message and the second upgrade request message, the operator server respectively determines a first network slice for the first device and a second network slice for the second device from at least one network slice corresponding to the first software based on the device information of the first device and the device information of the second device. The priority of the first device matches the priority of the first network slice, and the priority of the second device matches the priority of the second network slice. The operator server then sends a first upgrade response message to the first device and a second upgrade response message to the second device respectively. The first upgrade response message includes a first node identifier, which is used to identify the node of the first network slice and is used for the first device to download the upgrade package of the first software from the node of the first network slice; the second upgrade response message includes a second node identifier, which is used to identify the node of the second network slice and is used for the second device to download the upgrade package of the first software from the node of the second network slice. Since each network slice has independent network functions, configuration parameters, security policies, and management policies, it ensures that the service quality and data between different network slices do not affect each other. This logical isolation provides a customized network environment and security guarantee for different services, ensuring the efficiency and security of FOTA upgrades.
[0111] Among them, if the priority of the first device is different from the priority of the second device, then the first network slice is different from the second network slice. And when the priority of the first device is greater than the priority of the second device, the priority of the first network slice is greater than the priority of the second network slice, and the network resources that the first network slice can allocate for the first device are greater than the network resources that the second network slice can allocate for the second device. Exemplarily, the first network slice can allocate 500 Mbps of bandwidth for the first device so that the first device can complete the upgrade quickly and reliably; however, the network resources in the second network slice are less than those in the first network slice, and the second network slice can allocate 200 Mbps of bandwidth for the second device.
[0112] When the priority of the first device is less than the priority of the second device, the priority of the first network slice is less than the priority of the second network slice, and the network resources that the first network slice can allocate for the first device are less than the network resources that the second network slice can allocate for the second device.
[0113] Optionally, if the priority of the first device is the same as that of the second device, the first network slice and the second network slice are the same network slice, the network resources during the upgrade process of the first device are the same as those during the upgrade process of the second device, and the first node identifier is also the same as the second node identifier.
[0114] S204, based on the first node identifier, download the upgrade package of the first software from the nodes of the first network slice.
[0115] The first device determines the first network slice from at least one network slice based on the first node identifier, and then downloads the upgrade package of the first software from the nodes of the first network slice.
[0116] In a possible implementation, after the first device downloads the upgrade package of the first software, it is also necessary to verify the upgrade package of the first software. Among them, the verification of the upgrade package includes integrity verification, signature verification, version compatibility verification, security verification, and content correctness verification, etc. Integrity verification refers to verifying whether the upgrade package is complete during the download process and has not been tampered with or damaged. This is usually achieved by calculating the hash value of the upgrade package (such as MD5, SHA-256, etc.) and comparing it with the hash value provided by the operator's server; Signature verification checks whether the upgrade package has been signed by the operator's server to ensure its trusted source. Signature verification can prevent malicious software or unauthorized upgrade packages from being installed on the device; Version compatibility verification means confirming that the upgrade package is compatible with the software version on the current device to avoid upgrade failures or device anomalies caused by version mismatches; Security verification refers to checking whether the upgrade package contains malicious code or security vulnerabilities to ensure that the security of the device after the upgrade is not affected; Content correctness verification refers to verifying whether the file structure, configuration file, etc. in the upgrade package are correct to ensure that the upgrade process can proceed smoothly and the software can run normally after the upgrade.
[0117] After the upgrade package of the first software passes the verification, install the upgrade package. Before installing the upgrade package, the first device will ensure that all processes related to the first software have been closed to avoid file occupation or data conflicts. Optionally, according to the nature of the upgrade package and the user's needs, the first device can prompt the user to back up important data in case of data loss due to unexpected situations during the upgrade process.
[0118] The first device automatically starts the installation program. Optionally, the first device can also start the installation program according to a user instruction. This program is responsible for tasks such as decompressing the upgrade package, copying files, and updating configurations. After the installation is complete, the first device prompts the user to restart the first device or the first software to ensure that the new version can be correctly loaded and take effect. And the installation program will clean up the temporary files generated during the installation process to free up storage space and keep the system clean. The first device or the user can verify the upgrade result by running a test program, checking the software version information, or performing specific operations, etc., to ensure that the new version software can run properly and the functions meet the expectations.
[0119] It can be seen that through the download method provided by the embodiments of the present application, the upgrade package is deployed on the operator server and transmitted to the device through network slicing, which can significantly reduce the transmission delay due to crossing the public network and improve the upgrade speed. At the same time, through the 5G network slicing technology, dynamic network resource allocation is realized, so that it can be ensured that there is no network congestion or upgrade failure problem when millions of devices are upgraded simultaneously. Since each network slice has independent network functions, configuration parameters, security policies, and management policies, it can be ensured that the service quality and data between different network slices do not affect each other, making the data transmission during the upgrade process more secure and not easily affected by external network attacks. The encryption and authentication mechanisms of the 5G network slicing technology also further improve the security of data transmission.
[0120] Please refer to Figure 3 , Figure 3 which is a schematic flowchart of a FOTA upgrade method provided by the embodiments of the present application. As Figure 3 shown, the FOTA upgrade method may include but is not limited to the following steps:
[0121] S301, configure at least one network slice for the first software.
[0122] In the embodiments of the present application, after the operator server receives an upgrade notification from the device manufacturer, the operator server configures at least one network slice for the first software, and this upgrade notification is used to notify the operator server that the first software needs to be upgraded.
[0123] S302, send the upgrade package of the first software to the nodes of each network slice in at least one network slice respectively.
[0124] In the embodiments of the present application, after the operator server receives the upgrade package of the first software sent by the device manufacturer, it sends the upgrade package of the first software to the nodes of each network slice in at least one network slice for caching, so that the device that needs to upgrade the first software can download the upgrade package of the first software.
[0125] S303. The first device sends a first upgrade request message to the operator server. Correspondingly, the operator server receives the first upgrade request message from the first device.
[0126] In the embodiment of the present application, when the user needs to upgrade the first software, the first device sends a first upgrade request message to the operator server, and the first upgrade request message is used to request to upgrade the first software of the first device.
[0127] In a possible implementation manner, when the operator server receives the first upgrade request message of the first device, the operator server may also receive a second upgrade request message of a second device, and the second upgrade request message is used to request to upgrade the first software of the second device.
[0128] S304. In response to the first upgrade request message, based on the device information of the first device, determine a first network slice from at least one network slice corresponding to the first software.
[0129] In the embodiment of the present application, the operator server will receive the device information of the first device, where the device information includes, but is not limited to, one or more of the following: signal measurement value, device load information, bandwidth information. After the operator server receives the first upgrade request message of the first device, based on the device information of the first device, determine a first network slice from at least one network slice corresponding to the first software.
[0130] In a possible implementation manner, the operator server may determine the priority information of the first device based on the device information of the first device, and then determine the first network slice from at least one network slice based on the priority information of the first device and the priority information of at least one network slice corresponding to the first software, and the priority of the first device matches the priority of the first network slice.
[0131] In another possible implementation manner, when the operator server detects that the signal measurement value of the first device is greater than a preset threshold based on the device information of the first device, determine the priority information of the first device based on the device load information and / or bandwidth information of the first device. Then determine the first network slice from at least one network slice based on the priority information of the first device and the priority information of at least one network slice corresponding to the first software, and the priority of the first device matches the priority of the first network slice.
[0132] In a possible implementation, while the operator server receives a first upgrade request message from a first device, the operator server may also receive a second upgrade request message from a second device, where the second upgrade request message is used to request an upgrade of a first software of the second device. The operator server may allocate a first network slice for the first device based on the device information of the first device, and allocate a second network slice for the second device based on the device information of the second device. Among them, the first network slice and the second network slice may be the same network slice, in which case the priority of the first device is the same as that of the second device; the first network slice and the second network slice may be different, in which case the priority of the first device is different from that of the second device.
[0133] S305, the operator server sends a first upgrade response message to the first device, and the first upgrade response message includes a first node identifier. Correspondingly, the first device receives the first upgrade response message from the operator server.
[0134] In the embodiment of the present application, after the operator server determines a first network slice for the first device, the operator server sends a first upgrade response message to the first device, and the first upgrade response message includes a first node identifier, so that the first device can download an upgrade package in the first node of the first network slice according to the first node identifier.
[0135] S306, based on the first node identifier, download an upgrade package of the first software from a node of the first network slice.
[0136] In the embodiment of the present application, the first device connects to a node of the first network slice based on the first node identifier, and downloads an upgrade package of the first software from the node of the first network slice.
[0137] S307, verify the upgrade package of the first software.
[0138] In the embodiment of the present application, the first device verifies the upgrade package of the first software after downloading. The verification includes integrity verification, signature verification, version compatibility verification, and so on.
[0139] S308, in response to the upgrade package of the first software passing the verification, upgrade the first software.
[0140] In the embodiment of the present application, if the upgrade package of the first software passes the verification, install the upgrade package of the first software and complete the upgrade of the first software.
[0141] It can be seen that through the FOTA upgrade method provided by the embodiments of the present application, the upgrade package is deployed on the operator's server. These operator servers are tightly integrated into the 5G network and can quickly provide the required upgrade package according to the network slice of the device. During the FOTA upgrade process, the device connects to the operator's server through the 5G network to obtain the upgrade package. Since the upgrade package is deployed on the server close to the user side, it can greatly reduce the network transmission delay and bandwidth consumption, ensure the real-time nature of the upgrade process, and ensure that the firmware is upgraded in a timely and secure manner. At the same time, the 5G network slicing technology is used to dynamically adjust the upgrade strategy according to the device status (such as device load, current network bandwidth, etc.). For high-priority devices, more bandwidth and lower latency can be preferentially scheduled to ensure that the firmware of critical devices can be upgraded quickly and reliably. When multiple devices are upgraded simultaneously, the 5G network slicing technology provides a completely isolated network environment for different devices, which can avoid conflicts of network resources between devices, avoid network congestion and insufficient bandwidth, improve the efficiency of large-scale device upgrades, and enhance the security of FOTA upgrades.
[0142] Next, a communication device provided by the embodiments of the present application will be introduced.
[0143] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of a communication device provided by the embodiments of the present application. The communication device may include a transceiver unit 410 and a processing unit 420. Among them, the transceiver unit 410 may be a device with signal input (reception) or output (transmission), and is used for signal transmission with other devices or other components in the device.
[0144] The processing unit 420 may be a device with processing functions and may include one or more processors. The processor may be a general-purpose processor or a dedicated processor, etc. The processor may be a baseband processor or a central processing unit. The baseband processor may be used to process communication protocols and communication data, and the central processing unit may be used to control the device (such as a host node, a relay node, or a chip, etc.), execute software programs, and process the data of software programs.
[0145] The communication device may be used for the operator's server or the first device.
[0146] When the communication device is used for the operator's server, the communication device includes:
[0147] The transceiver unit 410 is used to receive a first upgrade request message from the first device, and the first upgrade request message is used to request an upgrade of the first software of the first device.
[0148] A processing unit 420, configured to, in response to a first upgrade request message, determine a first network slice from at least one network slice corresponding to a first software based on device information of a first device, where priorities of the respective network slices in the at least one network slice are different from each other.
[0149] A transceiver unit 410 is further configured to send a first upgrade response message to the first device, where the first upgrade response message includes a first node identifier, and the first node identifier is used to identify a node of the first network slice, and the first node identifier is used for the first device to download an upgrade package of the first software from the node of the first network slice.
[0150] In a possible implementation manner, the processing unit 420 is further configured to determine priority information of the first device based on the device information of the first device; and determine the first network slice from the at least one network slice based on the priority information of the first device and the priority information of the at least one network slice corresponding to the first software, where the priority of the first device matches the priority of the first network slice.
[0151] In a possible implementation manner, the transceiver unit 410 is further configured to receive device information from the first device, where the device information includes one or more of the following: signal measurement values, device load information, and bandwidth information.
[0152] In a possible implementation manner, the processing unit 420 is further configured to, when the signal measurement values of the first device are greater than a preset threshold, determine the priority information of the first device based on the device load information and / or bandwidth information of the first device.
[0153] In a possible implementation manner, the processing unit 420 is further configured to configure at least one network slice for the first software; and send the upgrade packages of the first software to the nodes of the respective network slices in the at least one network slice.
[0154] In a possible implementation manner, the transceiver unit 410 is further configured to receive a second upgrade request message from a second device, where the second upgrade request message is used to request an upgrade of the first software of the second device, and the reception time of the first upgrade request message is the same as the reception time of the second upgrade request message;
[0155] The processing unit 420 is further configured to, in response to the second upgrade request message, determine a second network slice from the at least one network slice corresponding to the first software based on the device information of the second device, where the priority of the first network slice is greater than the priority of the second network slice, and the network resources allocated to the first network slice are greater than the network resources allocated to the second network slice;
[0156] The transceiver unit 410 is further configured to send a second upgrade response message to the second device. The second upgrade response message includes a second node identifier, which is used to identify a node of the second network slice and is used for the second device to download an upgrade package of the first software from the node of the second network slice.
[0157] In a possible implementation manner, the above-mentioned upgrade package is a differential upgrade package.
[0158] When the communication device is used for the first device, the communication device includes:
[0159] The transceiver unit 410 is configured to send a first upgrade request message to the operator server. The first upgrade request message is used to request an upgrade of the first software of the first device; receive a first upgrade response message from the operator server. The first upgrade response message includes a first node identifier, which is used to identify a node of the first network slice.
[0160] The processing unit 420 is configured to download an upgrade package of the first software from the node of the first network slice based on the first node identifier.
[0161] In a possible implementation manner, the transceiver unit 410 is further configured to send device information of the first device to the operator server, where the device information includes one or more of the following: signal measurement value, device load information, and bandwidth information.
[0162] In a possible implementation manner, the processing unit 420 is further configured to verify the upgrade package of the first software; in response to the upgrade package of the first software passing the verification, upgrade the first software.
[0163] For the introduction of the technical effects brought by the communication device and any of its possible implementation manners, reference can be made to the introduction of the technical effects of the foregoing method embodiments, which will not be elaborated here.
[0164] According to the embodiments of the present application, Figure 4 Each unit in the communication device shown in can be separately or all combined into one or several other units to form, or a certain (some) unit can be further split into multiple smaller units with functional division to form, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above units are divided based on logical functions. In actual applications, the function of one unit can be implemented by multiple units, or the functions of multiple units can be implemented by one unit.
[0165] The embodiments of the present application further provide a computer device. Please refer to Figure 5 , Figure 5 is a schematic structural diagram of a computer device provided by the embodiments of the present application.
[0166] As shown Figure 5 in the figure, the computer device may include: one or more processors 510, one or more memories 530, one or more communication interfaces 520, and a bus 540. The above-mentioned processors 510, memories 530, and communication interfaces 520 are connected through the bus 540. The above computer device may be the communication device described in the foregoing description.
[0167] Among them, the memory 530 is used to store programs; the processor 510 is used to execute the programs stored in the above-mentioned memory. When the above programs are executed, the above-mentioned processor 510 executes the methods in any possible implementation manner of the above download method.
[0168] It should be understood that in the embodiments of the present application, the above-mentioned memory 530 includes but is not limited to a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (Compact Disc Read-Only Memory, CDROM), and an external memory other than computer memory and processor cache. A part of the above-mentioned memory 530 may also include a non-volatile random access memory. For example, the memory 530 may also store information about the device type.
[0169] The above-mentioned processor 510 may be one or more central processing units (CPUs). When the processor 510 is a single CPU, the CPU may be a single-core CPU or a multi-core CPU; the above-mentioned processor 510 may also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Arrays, FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0170] The steps executed in the foregoing embodiments may be based on the above Figure 5In the structural implementation of the computer device shown, the processor 510 can execute the implementation manner described in any optional embodiment of the download method provided in the embodiments of the present application, and can also execute the implementation manner of the communication device described in the embodiments of the present application. Specifically, the processor 510 can implement Figure 4 the functions of the processing unit 420 in the communication device shown in Figure 4 . The communication interface 520 can implement
[0171] the functions of the transceiver unit 410 in the communication device shown in Figure 2 and Figure 3 . The memory 530 can provide a cache when the above-mentioned processor 510 executes the implementation manner of the communication device described in the embodiments of the present application, and can also store the computer program required for the above-mentioned processor 510 to execute the implementation manner of the communication device described in the embodiments of the present application.
[0171] The embodiments of the present application also provide a computer storage medium. The computer program stored in the above-mentioned computer storage medium includes program instructions. When the above-mentioned program instructions are executed by a processor, the above-mentioned processor can implement the above-mentioned Figure 2 and Figure 3 shown methods.
[0172] The embodiments of the present application also provide a computer program product. The above-mentioned computer program product includes: instructions or a computer program; when the above-mentioned instructions or the above-mentioned computer program are executed, the above-mentioned Figure 2 and Figure 3 shown methods can be implemented.
[0173] The embodiments of the present application also provide a chip. The above-mentioned chip includes a processor, and the above-mentioned processor is used to execute instructions. When the above-mentioned processor executes the above-mentioned instructions, the above-mentioned chip can implement the above-mentioned Figure 2 and Figure 3 shown methods. Optionally, the above-mentioned chip further includes a communication interface, and the above-mentioned communication interface is used to receive or send signals.
[0174] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be completed by hardware related to a computer program. The above-mentioned computer program can be stored in a computer storage medium. When the above-mentioned computer program is executed, the processes of the above-mentioned method embodiments can be implemented. The foregoing computer storage media include: various media such as read-only memory ROM, random access memory RAM, magnetic disks, or optical discs that can store computer program codes.
Claims
1. A download method, characterized in that, Including: Receiving a first upgrade request message from a first device, where the first upgrade request message is used to request an upgrade of a first software of the first device; In response to the first upgrade request message, based on the device information of the first device, determining a first network slice from at least one network slice corresponding to the first software, where the priorities of the respective network slices in the at least one network slice are different; Sending a first upgrade response message to the first device, where the first upgrade response message includes a first node identifier, and the first node identifier is used to identify the node of the first network slice, and the first node identifier is used for the first device to download an upgrade package of the first software from the node of the first network slice.
2. The method according to claim 1, wherein The determining a first network slice from at least one network slice corresponding to the first software based on the device information of the first device includes: Based on the device information of the first device, determining priority information of the first device; Based on the priority information of the first device and the priority information of at least one network slice corresponding to the first software, determining a first network slice from the at least one network slice, where the priority of the first device matches the priority of the first network slice.
3. The method according to claim 2, wherein The method further includes: Receiving device information from the first device, where the device information includes one or more of the following: signal measurement value, device load information, bandwidth information.
4. The method according to claim 1, wherein The method further includes: Configuring the at least one network slice for the first software; Sending the upgrade packages of the first software to the nodes of the respective network slices in the at least one network slice.
5. The method according to claim 1, wherein The method further includes: Receiving a second upgrade request message from a second device, where the second upgrade request message is used to request an upgrade of the first software of the second device, and the receiving time of the first upgrade request message is the same as the receiving time of the second upgrade request message; In response to the second upgrade request message, based on the device information of the second device, determining a second network slice from the at least one network slice corresponding to the first software, where the priority of the first network slice is greater than the priority of the second network slice, and the network resources allocated to the first network slice are greater than the network resources allocated to the second network slice; Sending a second upgrade response message to the second device, where the second upgrade response message includes a second node identifier, and the second node identifier is used to identify the node of the second network slice, and the second node identifier is used for the second device to download an upgrade package of the first software from the node of the second network slice.
6. A download method, characterized in that, The method includes: Sending a first upgrade request message to an operator server, where the first upgrade request message is used to request an upgrade of a first software of a first device; Receiving a first upgrade response message from the operator server, where the first upgrade response message includes a first node identifier, and the first node identifier is used to identify the node of a first network slice; Based on the first node identifier, downloading an upgrade package of the first software from the node of the first network slice.
7. The method according to claim 6, characterized in that, The method further includes: Verify the upgrade package of the first software; In response to the upgrade package of the first software passing the verification, upgrade the first software.
8. A communication device, characterized in that, The communication device includes a unit for implementing the method according to any one of claims 1-5, or includes a unit for implementing the method according to any one of claims 6-7.
9. A computer device, characterized in that, Comprising: A memory and a processor; wherein: The memory is used to store a computer program, and the computer program includes program instructions; The processor is used to call the program instructions, so that the communication device executes the method according to any one of claims 1-5, or executes the method according to any one of claims 6-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the method according to any one of claims 1-5, or executes the method according to any one of claims 6-7.