CN112925532B - Software installation method, information sending method and device - Google Patents

Software installation method, information sending method and device Download PDF

Info

Publication number
CN112925532B
CN112925532B CN201911244675.XA CN201911244675A CN112925532B CN 112925532 B CN112925532 B CN 112925532B CN 201911244675 A CN201911244675 A CN 201911244675A CN 112925532 B CN112925532 B CN 112925532B
Authority
CN
China
Prior art keywords
software
server
request
download information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911244675.XA
Other languages
Chinese (zh)
Other versions
CN112925532A (en
Inventor
陶冉
王子韬
吴钦
牛野
郑光迎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201911244675.XA priority Critical patent/CN112925532B/en
Publication of CN112925532A publication Critical patent/CN112925532A/en
Application granted granted Critical
Publication of CN112925532B publication Critical patent/CN112925532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Abstract

The embodiment of the application discloses a software installation method, an information sending method and a device, which realize automatic downloading of software for accessing a network. The software installation method comprises the following steps: the method comprises the steps that first equipment sends a first request to a first server, wherein the first request comprises identification of the first equipment; the first device receives the download information of the software sent by the first server according to the first request; the first device sends a second request to a second server, wherein the second request comprises the download information of the software; the first equipment receives software sent by the second server according to the second request; the first device installs the software for the first device to access a network.

Description

Software installation method, information sending method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a software installation method, an information sending method and an information sending device.
Background
The secure zero configuration (Secure Zero Touch Provisioning, SZTP) is a concept proposed by RFC8572, and has the meaning of providing a bootstrapping policy (bootstrapping strategy) that enables a device to securely obtain bootstrapping data without requiring physical installation, network connection and power lines, and enabling a device to be remotely started even by a non-technician without requiring any operation input, and automatically accessed without requiring manual operation.
The protocol focuses on the generation and initialization of configuration files for devices during secure access networks, but in some application scenarios, the device access network needs to install software to implement, and at present the protocol does not disclose how to automatically download software for the access network.
Disclosure of Invention
The embodiment of the application provides a software installation method, an information sending method and an information sending device, which realize automatic downloading of software for accessing a network.
In a first aspect, an embodiment of the present application provides a software installation method, where the method is applied to a first device, and the first device may be a base station or a terminal device. The method comprises the following steps: first, a first device sends a first request to a first server, the first request including an identification of the first device. In the embodiment of the present application, the first server is, for example, a bootstrap server. And secondly, the first equipment receives the download information of the software sent by the first server according to the first request. The software is for the first device to access a network. The first device then sends a second request to a second server, the second request including download information for the software. In this embodiment of the present application, the second server is, for example, a mirror server. And the first equipment receives the software sent by the second server according to the second request. The first device installs the software. According to the method and the device for downloading the software, the first device obtains the downloading information of the software from the first server and downloads the software from the second server according to the downloading information, so that the purpose of automatically downloading and installing the software without manual intervention is achieved.
Optionally, in order to ensure the security of the information, the downloaded information is encrypted downloaded information. The method further comprises the steps of: and the first equipment decrypts the encrypted download information to obtain decrypted download information.
Optionally, the downloaded information is encrypted by using a public key. The first device decrypting the encrypted download information includes: the first device decrypts the encrypted download information using a private key that matches the public key. Of course, encryption with a public key is just one possible implementation, and those skilled in the art can design themselves according to the specific situation.
Optionally, in order to monitor the state of the software, ensure smooth downloading, installation and operation of the software, the method further includes: the first device receives a third request sent by the control device, wherein the third request is used for inquiring the state information of the software. The first device obtains the state information of the software according to the third request and sends the state information of the software to the control device. In an embodiment of the present application, the state information of the software includes at least one or more of the following: whether the software is successfully downloaded, the reason for the failure of the software downloading, whether the software is successfully installed, the reason for the failure of the software installation, whether the software operates normally and the reason for the failure of the software operation.
In a second aspect, an embodiment of the present application provides an information sending method, where the method is applied to a first server, and the method includes the following steps: first, a first server receives a first request from a first device, the first request including an identification of the first device. The first server and the first device are described above, and are not described here. The first server may store a correspondence between the identifier of the first device and the download information of the software, and after the first server receives the first request, the download information of the software may be obtained according to the identifier of the first device in the first request and the correspondence, where the software is used for the first device to access the network. Finally, the first server sends the download information of the software to the first device.
Optionally, in order to ensure the security of the information, the sending, by the first server, the download information of the software to the first device includes: and the first server encrypts the download information of the software to obtain encrypted download information. The first server sends the encrypted download information to the first device.
There are various ways of encryption, for example encryption by means of a public key. Specifically, the first server acquires a public key generated by the first device, and then the first server encrypts the download information of the software according to the public key. It will be understood, of course, that the encryption method by the public key is not limited to the technical solution of the present application, and those skilled in the art may also select other encryption methods.
In a third aspect, an embodiment of the present application provides a software installation apparatus, where the apparatus is applied to a first device, the apparatus includes: a sending unit, configured to send a first request to a first server, where the first request includes an identifier of the first device; the receiving unit is used for receiving the download information of the software sent by the first server according to the first request; the sending unit is further configured to send a second request to a second server, where the second request includes download information of the software; the receiving unit is further configured to receive software sent by the second server according to the second request; the installation unit is used for installing the software, and the software is used for the first equipment to access a network.
Optionally, the download information is encrypted download information;
the apparatus further comprises: and the decryption unit is used for decrypting the encrypted download information to obtain decrypted download information.
Optionally, the receiving unit is further configured to receive a third request sent by the control device, where the third request is used to query state information of the software; the sending unit is further configured to obtain the state information of the software according to the third request, and send the state information of the software to the control device.
In a fourth aspect, an embodiment of the present application provides an information sending apparatus, where the apparatus is applied to a first server, and the apparatus includes: a receiving unit configured to receive a first request from a first device, the first request including an identification of the first device; the acquisition unit is used for acquiring the download information of the software corresponding to the first equipment according to the identification of the first equipment; and the sending unit is used for sending the download information of the software to the first equipment, wherein the software is used for the first equipment to access a network.
Optionally, the sending unit is configured to encrypt the download information of the software, obtain encrypted download information, and send the encrypted download information to the first device.
In a fifth aspect, embodiments of the present application provide an access method that is applied to a network device, such as a gateway. The method comprises the following steps: the network device receives the download information of the software, such as one or more of the software name, version number, and software owner of the software, sent by the control device. When the download information of the software meets the preset condition, the network equipment allows the first equipment to access the network, and the first equipment is equipment for installing the software. For example, when the software name of the software is a preset software name, the version number is not lower than the preset version number, and the software owner is a preset owner, the network device allows the first device to access the network. According to the embodiment of the application, the first equipment is allowed to access the network by acquiring the download information of the software, and when the download information of the software meets the preset condition, the automatic access of the first equipment is realized.
In a sixth aspect, an embodiment of the present application provides an access apparatus, where the apparatus is applied to a network device, the apparatus includes: the receiving unit is used for receiving the download information of the software sent by the control equipment; and the access unit is used for allowing the first equipment to access the network when the download information of the software meets the preset condition, wherein the first equipment is equipment for installing the software.
In a seventh aspect, embodiments of the present application further provide a storage medium including instructions that, when executed on a computer, cause the computer to perform the software installation method, the information transmission method, or the access method provided by the above method embodiments.
Drawings
FIG. 1 is a schematic diagram of a system 100 provided in an embodiment of the present application;
FIG. 2 is a flowchart of a software installation method according to an embodiment of the present application;
FIG. 3 is another flowchart of a software installation method according to an embodiment of the present application;
fig. 4 is a flowchart of an access method provided in an embodiment of the present application;
FIG. 5 is a block diagram of a software installation apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of a structure of an information sending device according to an embodiment of the present application;
fig. 7 is a block diagram of an access device according to an embodiment of the present application;
fig. 8 is a block diagram of a device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a software installation method which is used for realizing the purposes of automatically downloading and installing software for accessing a network.
For easy understanding, first, an application scenario of the embodiment of the present application will be described.
Referring to fig. 1, a schematic diagram of a system 100 according to an embodiment of the present application is provided.
In fig. 1, the system 100 includes a first device 101, a first server 102, a second server 103, a control device 104, and a network device 105.
The first device 101 is connected to the first server 102, the second server 103, the control device 104, and the network device 105, and the first server 102, the second server 103, and the network device 105 are connected to the control device 104.
In the embodiment of the present application, the first device 101 may be a base station or a terminal device. A terminal device may also be referred to as a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), a terminal, etc., which is a device that provides voice and/or data connectivity to a user, or a chip disposed in the device, for example, a handheld device, an in-vehicle device, etc., having a wireless connection function. Currently, examples of some terminal devices are: a mobile phone, desktop computer, tablet computer, notebook computer, palm computer, mobile internet device (mobile internet device, MID), wearable device, virtual Reality (VR) device, augmented reality (augmented reality, AR) device, wireless terminal in industrial control (industrial control), wireless terminal in unmanned (self driving), wireless terminal in teleoperation (remote medical surgery), wireless terminal in smart grid (smart grid), wireless terminal in transportation security (transportation safety), wireless terminal in smart city (smart city), wireless terminal in smart home (smart home), home gateway device supporting 5G-residential gateway,5G-RG supporting 5G access, etc.
The first server 102 is, for example, a bootstrap server (bootstrapping server), the second server 103 is, for example, a mirror server (image server), the control device 104 is, for example, a network management system (network management system, NMS), the network device 105 is, for example, a gateway (gateway), and the like.
Referring to fig. 2, a flowchart of a software installation method according to an embodiment of the present application is shown.
The following describes a software installation method provided in an embodiment of the present application with reference to fig. 1 and 2.
The software installation method provided by the embodiment of the application comprises the following steps:
s101: the first device sends a first request to a first server, the first request including an identification of the first device.
In the embodiment of the present application, the first device may be, for example, the first device 101 in the embodiment shown in fig. 1. The first server may be, for example, first server 102 in the embodiment shown in fig. 1.
In the embodiment of the application, the first device sends a first request to the first server, where the first request is used to obtain download information of software, and the software is used for the first device to access the network, that is, after the first device installs the software, the first device can access the network. The software for accessing the network may be one or more.
S102: the first server receives the first request, and obtains the download information of the software corresponding to the first device according to the identification of the first device in the first request.
In this embodiment of the present application, a correspondence between an identifier of a first device and download information of software may be stored in the first server, and after the first server receives the first request, the download information of software may be obtained according to the identifier of the first device in the first request and the correspondence.
In the embodiment of the application, the download information of the software is, for example, a software name, a version number, a download link, an available indication, and the like of the software. Wherein the indication is available to indicate whether the software can be downloaded.
In order to ensure the security of the downloaded information, in the embodiment of the present application, the first server may encrypt the downloaded information. Specific encryption methods are various, and the present application is not particularly limited.
S103: the first server sends download information of the software to the first device.
Alternatively, if the download information is encrypted, the first server sends the encrypted download information to the first device.
S104: the first device receives the download information of the software sent by the first server according to the first request.
Optionally, if the download information is encrypted, the first device decrypts the encrypted download information to obtain the decrypted download information.
S105: the first device sends a second request to the second server, the second request including download information of the software.
In the embodiment of the present application, the second server may be, for example, the second server 103. After receiving the download information of the software, the first device may initiate a second request to the second service, where the second request is used to download the software corresponding to the download information.
S106: and the second server receives the second request and sends corresponding software to the first device according to the download information of the software in the second request.
Specifically, the second server stores a corresponding relation between the download information and the software mirror image installation package, and after the second server receives the second request, the second server obtains the mirror image installation package of the software according to the download information in the second request and the corresponding relation, and sends the mirror image installation package to the first device.
S107: the first device receives and installs the software sent by the second server.
According to the method and the device for downloading the software, the first device obtains the downloading information of the software from the first server and downloads the software from the second server according to the downloading information, so that the purpose of automatically downloading and installing the software without manual intervention is achieved.
In addition, in the embodiment of the present application, in order to implement monitoring of a software state, optionally, the method may further include the following steps: the first device receives a third request sent by the control device, wherein the third request is used for inquiring the state information of the software. In the embodiment of the present application, the status information of the software may include whether the software is downloaded successfully, the reason why the software is downloaded failed, whether the software is installed successfully, the reason why the software is installed failed, whether the software operates normally, the reason why the software operates failed, and the like. The first device acquires the state information of the software according to the third request and sends the state information of the software to the control device so as to monitor the state of the software by the control device.
In addition, the interaction among the first device, the first server, the second server and the control device may be implemented by using a language such as Yang, which is not specifically limited in this application.
The software installation method provided in the embodiment of the present application is described below in conjunction with the application scenario shown in fig. 3.
S201, the first device generates a public key and a corresponding private key.
S202, the first device sends an authentication signature request to a certificate authority (certification authority, CA) device, wherein the authentication signature request includes an identification of the first device and a public key.
The CA device generates a signed certificate from the public key and sends the identity of the first device and the certificate to a certificate server (certificate server), the certificate comprising the public key S203.
The certificate server stores the correspondence between the identification of the first device and the certificate S204.
The identification of the first device may be, for example, a serial number of the first device.
The NMS device sends a query request to the certificate server, the query request comprising an identification of the first device S205.
And S206, the certificate server obtains a certificate corresponding to the identification of the first equipment according to the query request and the corresponding relation.
The certificate server sends the certificate to the NMS device S207.
S208, the NMS equipment verifies whether the certificate is legal or not, and if so, the public key is obtained according to the certificate.
The NMS device sends the identity of the first device and the public key to the bootstrap server S209.
The first device sends a first request to the bootstrap server, the first request comprising an identification of the first device S210.
S211, the bootstrap server determines the corresponding download information of the software according to the identification of the first device, and encrypts the download information by using a public key corresponding to the identification of the first device.
The bootstrap server sends the encrypted download information to the first device S212.
And S213, the first device decrypts the encrypted download information by using the private key to obtain decrypted download information.
The first device sends a second request to the mirror server, the second request comprising the decrypted download information S214.
And S215, the mirror image server obtains corresponding software according to the downloaded information.
S216, the mirror server sends software to the first device.
S217, the first device installs software.
The NMS device transmits a third request to the first device for querying status information of the software S218.
And S219, the first device acquires the state information of the software according to the third request and sends the state information of the software to the NMS device.
The software installation method realizes automatic installation of the software for accessing the network in the safety zero-contact configuration scene, reduces the installation error and improves the safety of the software installation. Meanwhile, the state information of the software can be timely obtained through monitoring the state of the software, so that the software can be ensured to run smoothly.
In addition to the software installation method, the embodiment of the application also provides an access method.
Referring to fig. 4, the access method includes the steps of:
s301, the control device acquires the downloading information of the software.
In the embodiment of the application, the control device may acquire the download information of the software from the first server. The control device and the first server are described above, and will not be described again here.
And S302, the control device sends the download information of the software to the network device.
In an embodiment of the present application, the network device may be, for example, the network device 105 shown in fig. 1.
And S303, the network equipment receives the download information of the software sent by the control equipment.
And S304, allowing the first equipment to access the network by the network equipment when the download information of the software meets the preset condition, wherein the first equipment is equipment for installing the software.
In the embodiment of the present application, the first device may be the first device 101 shown in fig. 1.
In the embodiment of the application, the download information of the software includes one or more of a software name, a version number, a software owner, and the like of the software. When the download information of the software meets the preset condition, the network equipment can allow the first equipment to access the network, so that the automatic access of the first equipment is realized. For example, when the software name of the software is a preset software name, the version number is not lower than the preset version number, and the software owner is a preset owner, the network device allows the first device to access the network.
It will be appreciated that the satisfaction of the preset condition by the download information of the software may be used as part of an access control list (access control lists, ACL) policy to determine whether to allow access by the first device.
Accordingly, referring to fig. 5, an embodiment of the present application provides a software installation apparatus 500, where the apparatus 500 is applied to a first device, and the first device may implement the functions of the first device in the embodiment shown in fig. 2 or fig. 3.
The apparatus 500 includes: a transmitting unit 501, a receiving unit 502, and an installing unit 503. Wherein, the sending unit 501 is configured to send a first request to a first server, where the first request includes an identifier of the first device. A receiving unit 502, configured to receive download information of software sent by the first server according to the first request; the sending unit 501 is further configured to send a second request to a second server, where the second request includes download information of the software; the receiving unit 502 is further configured to receive software sent by the second server according to the second request; an installation unit 503, configured to install the software, where the software is used for the first device to access a network.
For the description of the software installation apparatus 500, please refer to the description of the first device above, and the description is omitted here.
Accordingly, referring to fig. 6, an embodiment of the present application provides an information sending apparatus 600, where the apparatus 600 is applied to a first server, and the first server may implement the functions of the first server in the embodiment shown in fig. 2 or fig. 3.
The apparatus 600 includes: a receiving unit 601, configured to receive a first request from a first device, where the first request includes an identifier of the first device; an obtaining unit 602, configured to obtain, according to the identifier of the first device, download information of software corresponding to the first device; a sending unit 603, configured to send, to the first device, download information of the software, where the software is used for the first device to access a network.
For the description of the information transmitting apparatus 600, please refer to the description of the first server above, and the description is omitted here.
Accordingly, referring to fig. 7, an embodiment of the present application provides an access apparatus 700, where the apparatus 700 is applied to a network device, and the network device may implement the functions of the network device in the embodiment shown in fig. 4. The apparatus 700 includes: a receiving unit 701, configured to receive download information of software sent by a control device; and the access unit 702 is configured to allow the first device to access the network when the download information of the software meets a preset condition, where the first device is a device for installing the software.
For the description of the access device 700, please refer to the description of the network device above, and the description is omitted here.
Correspondingly, the embodiment of the application also provides software installation equipment corresponding to the software installation device 500, information sending equipment corresponding to the information sending device 600 and access equipment corresponding to the access device 700, wherein the equipment comprises a processor and a memory; a memory for storing instructions; and a processor for executing the instructions in the memory, performing the software installation method performed by the first device, the information transmission method performed by the first server, and the access method performed by the network device provided in the above method embodiments.
The hardware configuration of the software installation device corresponding to the software installation apparatus 500, the information transmission device corresponding to the information transmission apparatus 600, and the address application device corresponding to the access apparatus 700 may be as shown in fig. 8. Fig. 8 is a schematic structural diagram of an address application device according to an embodiment of the present application.
Referring to fig. 8, an apparatus 800 includes: a processor 810, a communication interface 820, and a memory 830. Where the number of processors 810 in device 800 may be one or more, one processor is illustrated in fig. 8. In the present embodiment, processor 810, communication interface 820, and memory 830 may be connected by a bus system or other means, such as bus system 840 in FIG. 8.
The processor 810 may be a central processing unit (central processing unit, CPU), a network processor (network processor, NP) or a combination of CPU and NP. The processor 810 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (programmable logic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL), or any combination thereof.
Memory 830 may include volatile memory (English) such as random-access memory (RAM); the memory 830 may also include a nonvolatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (HDD) or a Solid State Drive (SSD); memory 830 may also include a combination of the above types of memory.
Optionally, the memory 830 stores an operating system and programs, executable modules or data structures, or a subset thereof, or an extended set thereof, wherein the programs may include various operational instructions for performing various operations. The operating system may include various system programs for implementing various underlying services and handling hardware-based tasks. The processor 810 may read the program in the memory 830 to implement the service flow adjustment method provided in the embodiment of the present application.
The bus system 840 may be a peripheral component interconnect (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus system 840 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 8, but not only one bus or one type of bus.
The embodiment of the application also provides a software installation system, which comprises a first device and a first server, wherein the first device can execute the steps of the first device in the embodiment shown in fig. 2 and 3, and the first server can execute the steps of the first server in the embodiment shown in fig. 2 and 3.
The embodiment of the application also provides an access system, which comprises a network device and a control device, wherein the network device can execute the steps of the network device in the embodiment shown in fig. 4, and the control device can execute the steps of the control device in the embodiment shown in fig. 4.
The present application also provides a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method provided by the method embodiments above, performed by a first device.
The present application also provides a computer-readable storage medium comprising instructions that, when run on a computer, cause the computer to perform the method provided by the method embodiments above, performed by a first server.
The present application also provides a computer-readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method provided by the method embodiments above, performed by a network device.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural. "A and/or B" is considered herein to include A alone, B alone, and A+B.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, and the division of the units, for example, is merely a logic module division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be acquired according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each module unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units described above may be implemented either in hardware or in software module units.
The integrated units, if implemented in the form of software module units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the present invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above embodiments are further described in detail for the purpose, technical solution and advantageous effects of the present invention, and it should be understood that the above description is only an embodiment of the present invention.
The above embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. A method of installing software, the method comprising:
the method comprises the steps that first equipment sends a first request to a first server, wherein the first request comprises identification of the first equipment;
the first device receives the download information of the software sent by the first server according to the first request, wherein the download information is encrypted download information obtained by encrypting the first server by adopting a public key, and the public key corresponds to the identification of the first device, and the public key is sent to the first server after the validity verification of the certificate corresponding to the identification of the first device by the NMS device is passed; the first device sends a second request to a second server, wherein the second request comprises the download information of the software;
the first equipment receives software sent by the second server according to the second request;
the first device installs the software for the first device to access a network.
2. The method according to claim 1, wherein the method further comprises:
and the first equipment decrypts the encrypted download information to obtain decrypted download information.
3. The method of claim 2, wherein the first device decrypting the encrypted download information comprises:
the first device decrypts the encrypted download information using a private key that matches the public key.
4. A method according to any one of claims 1-3, wherein the method further comprises:
the first device receives a third request sent by the control device, wherein the third request is used for inquiring the state information of the software;
the first device obtains the state information of the software according to the third request and sends the state information of the software to the control device.
5. The method of claim 4, wherein the state information of the software includes at least one or more of:
whether the software is successfully downloaded, the reason for the failure of the software downloading, whether the software is successfully installed, the reason for the failure of the software installation, whether the software operates normally and the reason for the failure of the software operation.
6. The method of claim 1, wherein the first server is a bootstrap server; and/or, the second server is a mirror server.
7. An information transmission method, the method comprising:
a first server receives a first request from a first device, the first request including an identification of the first device;
the first server obtains the download information of the software corresponding to the first equipment according to the identification of the first equipment;
the first server sends the download information of the software to the first device, the software is used for the first device to access a network, the download information of the software is encrypted download information obtained by encrypting the first server by adopting a public key, the public key corresponds to the identification of the first device, and the public key is sent to the first server after the validity verification of the certificate corresponding to the identification of the first device by the NMS device is passed.
8. A software installation apparatus, the apparatus being applied to a first device, the apparatus comprising:
a sending unit, configured to send a first request to a first server, where the first request includes an identifier of the first device;
the receiving unit is used for receiving the download information of the software sent by the first server according to the first request, wherein the download information is encrypted download information obtained by encrypting the first server by adopting a public key, the public key corresponds to the identification of the first equipment, and the public key is sent to the first server after the validity verification of the certificate corresponding to the identification of the first equipment by the NMS equipment is passed; the sending unit is further configured to send a second request to a second server, where the second request includes download information of the software;
the receiving unit is further configured to receive software sent by the second server according to the second request;
the installation unit is used for installing the software, and the software is used for the first equipment to access a network.
9. The apparatus of claim 8, wherein the apparatus further comprises:
and the decryption unit is used for decrypting the encrypted download information to obtain decrypted download information.
10. The device according to claim 8 or 9, wherein,
the receiving unit is further configured to receive a third request sent by the control device, where the third request is used to query state information of the software;
the sending unit is further configured to obtain the state information of the software according to the third request, and send the state information of the software to the control device.
11. An information transmitting apparatus, the apparatus being applied to a first server, the apparatus comprising:
a receiving unit configured to receive a first request from a first device, the first request including an identification of the first device;
the acquisition unit is used for acquiring the download information of the software corresponding to the first equipment according to the identification of the first equipment;
the device comprises a sending unit, a first server and a second server, wherein the sending unit is used for sending the download information of the software to the first device, the software is used for accessing the first device into a network, the download information of the software is encrypted download information obtained by encrypting the first server by adopting a public key, the public key corresponds to the identification of the first device, and the public key is sent to the first server after the validity verification of the certificate corresponding to the identification of the first device by the NMS device is passed.
CN201911244675.XA 2019-12-06 2019-12-06 Software installation method, information sending method and device Active CN112925532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911244675.XA CN112925532B (en) 2019-12-06 2019-12-06 Software installation method, information sending method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911244675.XA CN112925532B (en) 2019-12-06 2019-12-06 Software installation method, information sending method and device

Publications (2)

Publication Number Publication Date
CN112925532A CN112925532A (en) 2021-06-08
CN112925532B true CN112925532B (en) 2023-07-14

Family

ID=76161874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911244675.XA Active CN112925532B (en) 2019-12-06 2019-12-06 Software installation method, information sending method and device

Country Status (1)

Country Link
CN (1) CN112925532B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4982430A (en) * 1985-04-24 1991-01-01 General Instrument Corporation Bootstrap channel security arrangement for communication network
CN1558606A (en) * 2004-02-10 2004-12-29 Ut斯达康通讯有限公司 Network terminal automatic configuration method
CN1933416A (en) * 2005-09-12 2007-03-21 中兴通讯股份有限公司 Long-distance on-line staging method with self-recovery function
CN101232395A (en) * 2007-12-27 2008-07-30 Ut斯达康通讯有限公司 Method for implementing network appliance to automatically collocation install
CN101242396A (en) * 2008-03-18 2008-08-13 北京直真节点技术开发有限公司 Zero-contact system and operation method for broadband access terminal service
CN101394674A (en) * 2008-11-06 2009-03-25 华为技术有限公司 Method, system for user to get access to network, and access side device
CN102780699A (en) * 2012-07-09 2012-11-14 广州杰赛科技股份有限公司 Protecting method and protecting system for authentication server software copyright
CN104125245A (en) * 2013-04-23 2014-10-29 华为终端有限公司 Method, device and system for automatic software downloading
WO2017097072A1 (en) * 2015-12-09 2017-06-15 北京奇虎科技有限公司 Software installation method and device
CN108241517A (en) * 2018-02-23 2018-07-03 武汉斗鱼网络科技有限公司 A kind of method for upgrading software, client and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10034118B2 (en) * 2015-04-30 2018-07-24 Lantronix, Inc. Zero-touch Wi-Fi

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4982430A (en) * 1985-04-24 1991-01-01 General Instrument Corporation Bootstrap channel security arrangement for communication network
CN1558606A (en) * 2004-02-10 2004-12-29 Ut斯达康通讯有限公司 Network terminal automatic configuration method
CN1933416A (en) * 2005-09-12 2007-03-21 中兴通讯股份有限公司 Long-distance on-line staging method with self-recovery function
CN101232395A (en) * 2007-12-27 2008-07-30 Ut斯达康通讯有限公司 Method for implementing network appliance to automatically collocation install
CN101242396A (en) * 2008-03-18 2008-08-13 北京直真节点技术开发有限公司 Zero-contact system and operation method for broadband access terminal service
CN101394674A (en) * 2008-11-06 2009-03-25 华为技术有限公司 Method, system for user to get access to network, and access side device
CN102780699A (en) * 2012-07-09 2012-11-14 广州杰赛科技股份有限公司 Protecting method and protecting system for authentication server software copyright
CN104125245A (en) * 2013-04-23 2014-10-29 华为终端有限公司 Method, device and system for automatic software downloading
WO2017097072A1 (en) * 2015-12-09 2017-06-15 北京奇虎科技有限公司 Software installation method and device
CN108241517A (en) * 2018-02-23 2018-07-03 武汉斗鱼网络科技有限公司 A kind of method for upgrading software, client and electronic equipment

Also Published As

Publication number Publication date
CN112925532A (en) 2021-06-08

Similar Documents

Publication Publication Date Title
US9864608B2 (en) Client authentication during network boot
CN108241517B (en) Software upgrading method, client and electronic equipment
CN101258505B (en) Secure software updates
TWI643508B (en) Smart routing system for IoT smart devices
JP7371103B2 (en) In-vehicle device upgrade method and related equipment
EP3682364B1 (en) Cryptographic services utilizing commodity hardware
EP1712992A1 (en) Updating of data instructions
CN105308560A (en) Method and apparatus for setting profile
CN103441997A (en) Content sharing method, device and system
CN110971398A (en) Data processing method, device and system
CN113099443A (en) Equipment authentication method, device, equipment and system
WO2014120436A2 (en) Framework for provisioning devices with externally acquired component-based identity data
CN112822177B (en) Data transmission method, device, equipment and storage medium
CN112632521A (en) Request response method and device, electronic equipment and storage medium
CN107040501B (en) Authentication method and device based on platform as a service
CN113613227B (en) Data transmission method and device of Bluetooth equipment, storage medium and electronic device
CN110213346B (en) Encrypted information transmission method and device
CN109450857B (en) Encrypted data configuration method, device, server, encryption equipment and storage medium
CN112925532B (en) Software installation method, information sending method and device
CN111885091A (en) Secure communication method, device, equipment and storage medium
US20220295288A1 (en) Profile Handling of a Batch of Identity Modules
CN113434837B (en) Method and device for equipment identity authentication and smart home system
KR101719129B1 (en) Cross-platform endpoint security system
CN111490880B (en) File receiving method and device
CN115016819A (en) Method for realizing firmware upgrade, authority management equipment and chip

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant