CN107707656A - The remote loading method and system of operating system - Google Patents

The remote loading method and system of operating system Download PDF

Info

Publication number
CN107707656A
CN107707656A CN201710936617.8A CN201710936617A CN107707656A CN 107707656 A CN107707656 A CN 107707656A CN 201710936617 A CN201710936617 A CN 201710936617A CN 107707656 A CN107707656 A CN 107707656A
Authority
CN
China
Prior art keywords
node
operating system
terminal device
data
request
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.)
Pending
Application number
CN201710936617.8A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710936617.8A priority Critical patent/CN107707656A/en
Publication of CN107707656A publication Critical patent/CN107707656A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to computer communication technology field, a kind of remote loading method and system of operating system are disclosed, to simplify the renewal of operating system.The inventive method includes:Bootstrap is deployed in the terminal device with network access facility, and by operating system mirrored storage in the different node at least two geographical position with component content distribution network, and the node table for storing each node geo-location information is stored on each remote server;After terminal device initializes network configuration, bootstrap sends download request to corresponding remote server;The corresponding remote server judges whether this node is the node nearest away from terminal device, if it is, transmission operating system mirror image;Otherwise the nearest node being redirected on node table;Then terminal device initiates the HTTP request or HTTPS request of down operation system image according to redirection information again, up to loading and guiding operating system mirror image by operating system image download to internal memory.

Description

The remote loading method and system of operating system
Technical field
The present invention relates to computer communication technology field, more particularly to a kind of remote loading method of operating system and it is System.
Background technology
With the development of Internet of Things and smart home, functional requirement more and more higher of the user to all kinds of internet-of-things terminals, because This small-scale operating system designed for Internet of Things is also increasingly common on relevant device.It is traditional for terminal device Architecture design is that system image is stored in locally-stored equipment, such as Nor Flash or Nand Flash chips.However, Such design system update process it is complex, such as need by wired renewal or TFTP renewal, renewal speed also by Be formed on the writing speed of storage facilities, for may frequent updating equipment, usage experience is unsatisfactory.
The content of the invention
Present invention aims at the remote loading method and system for disclosing a kind of operating system, to simplify operating system more Newly.
To achieve the above object, the invention discloses a kind of remote loading method of operating system, including:
Bootstrap is deployed in the terminal device with network access facility, the bootstrap is assigned with respective operations The initial URI (Uniform Resource Identifier, Uniform Resource Identifier) that system image is downloaded, and by the behaviour The different node at least two geographical position is stored in component content distribution network as system image, and will store the respectively section The node table of point geographical location information is stored on each remote server;
After the terminal device initializes network configuration, the bootstrap is according to the operating system image download Initial URI domain name mapping obtain corresponding to remote server IP address (Internet Protocol, interconnect between network Agreement), foundation is connected with the TCP (Transmission Control Protocol transmission control protocols) of the remote server, And the HTTP that the download operating system mirror image is sent to the remote server (HyperText Transfer Protocol, surpasses Text transfer protocol) request or HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer, it is with safely for the HTTP passages of target) request;
The remote server corresponding to the initial URI is sentenced according to the IP address of the terminal device carried in the request Whether this disconnected node is the node nearest away from the terminal device, if it is, transmission operating system mirror image;Otherwise it is redirected to Nearest node on the node table, and while redirection message is transmitted to the terminal device, reset by UDP notices To node;
Initial URI in the bootstrap is replaced with what the redirection message was reassigned by the terminal device URI, initiate to download the HTTP request or HTTPS request of the operating system mirror image again, until by the operating system mirror image Internal memory is downloaded to load and guide the operating system mirror image.
To achieve the above object, invention additionally discloses a kind of remote loading system of operating system, including:
Terminal device, is deployed with bootstrap, and the bootstrap is assigned with the initial of respective operations system image download URI;
Content distributing network, by being stored with different at least two node internettings of the operating system mirror image and geographical position Composition, and the node table for storing the respectively node geo-location information is stored on each remote server;
The terminal device is additionally operable to:After network configuration is initialized, by the bootstrap according to the operating system Remote server IP address corresponding to the initial URI of image download domain name mapping acquisition, establishes the TCP with the remote server Connection, and the HTTP request or HTTPS request for downloading the operating system mirror image are sent to the remote server;And by described in Initial URI in bootstrap replaces with the URI that redirection message is reassigned, and initiates to download the operating system mirror image again HTTP request or HTTPS request, until by the operating system image download to internal memory with load and guide it is described operation be System mirror image;
Remote server corresponding to the initial URI, for the IP according to the terminal device carried in the request Address judges whether this node is the node nearest away from the terminal device, if it is, transmission operating system mirror image;Otherwise weigh The nearest node being directed on the node table, and while the redirection message is transmitted to the terminal device, pass through The node that UDP notices are redirected to.
The invention has the advantages that:
All mirror image can be downloaded from server when equipment starts every time, similar to without disk Windows.With traditional local system Compare, the invention has the advantages that:
(1) it is relatively simple, to update terminal system, during in particular for batch updating equipment.
(2) it, can remotely be updated by internet, and be not limited to LAN.
(3), operating system mirror image is only just downloaded to local when equipment starts, and will not preserve for a long time, is not easy to be intercepted Or replicate, system image can not be obtained by reading locally-stored equipment.Also, the bootstrap of the present invention supports HTTPS, Communication process is difficult to be monitored.
(4), support to be downloaded acceleration by simple content distributing network or point-to-point method.
Further, the inventive method and system, which can also provide, a set of can preserve data on the remote server Solution.Specifically include:
User data is divided into two classes and is stored in any node in the content distributing network, Yi Leiwei by the terminal device With JSON format transmissions and the text data of storage, one kind is binary data;And the two classes data are respectively with filename the whole network Unique two files preserve, and one is JSON files, a binary data file;
When the terminal device needs to read and write text data, by data packet and it is stored in HTTP or HTTPS messages, The opereating specification of binary data is specified by the Range header fields of HTTP or HTTPS request head, when equipment needs to read and write text data When, data storage is at message text;And
When the user data includes starting the system data of the operating system, by the link of the system data with The bootstrap association.
Below with reference to accompanying drawings, the present invention is further detailed explanation.
Brief description of the drawings
The accompanying drawing for forming the part of the application is used for providing a further understanding of the present invention, schematic reality of the invention Apply example and its illustrate to be used to explain the present invention, do not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is JSON (JavaScript Object Notation, JS object tag) the read-write envelopes of the embodiment of the present invention Pack arrangement;
Fig. 2 is the remote loading method flow diagram of the operating system based on HTTP patterns of the embodiment of the present invention;
Fig. 3 is the remote loading method flow diagram of the operating system based on HTTPS patterns of the embodiment of the present invention;
Fig. 4 is the real network topology example figure of the embodiment of the present invention.
Embodiment
Embodiments of the invention are described in detail below in conjunction with accompanying drawing, but the present invention can be defined by the claims Implement with the multitude of different ways of covering.
Embodiment 1
The present embodiment discloses a kind of remote loading method of operating system, including:
Step S1, bootstrap is deployed in the terminal device with network access facility, wherein, the bootstrap is specified There is the initial URI that respective operations system image is downloaded, and operating system mirrored storage is different at least two geographical position Node is stored in each remote service with component content distribution network, and by the node table for storing the respectively node geo-location information On device.
In the present embodiment, bootstrap is responsible for drives terminal equipment, and is led to remote server with HTTP or HTTPS agreements Letter, to download the system image and data that need to start.Related operating system includes but is not limited to design for Internet of Things Small-scale operating system.Optionally, the node in the content distributing network of the present embodiment is divided into two kinds, one kind be as host node with The remote server of geographical position parsing and download service is provided;A kind of is the minor node for only providing download service;Preferably, institute There is application to be handled by host node, apply for have recorded the port numbers of applicant's opening in message, accepting server can be attempted to examine The validity of the port, if effectively, record its IP, port, application node type and corresponding geographical position, and by these Information is sent to each other host nodes;In addition, new host node can ask after completing application to the node for accepting application before Node listing is sought to provide analysis service.
Step S2, after terminal device initializes network configuration, bootstrap is initial according to operating system image download Remote server IP address corresponding to URI domain name mapping acquisition, foundation are connected with the TCP of the remote server, and remote to this Journey server sends the HTTP request or HTTPS request of down operation system image.
In the present embodiment, parsing can be serviced especially by DNS (Domain Name System, domain name system) to correspond to Server ip address.
Step S3, the remote server corresponding to initial URI is sentenced according to the IP address of the terminal device carried in request Whether this disconnected node is the node nearest away from terminal device, if it is, transmission operating system mirror image;Otherwise it is redirected to node Nearest node on table, and while redirection message is transmitted to terminal device, pass through the node that is redirected to of UDP notices.
Step S4, the initial URI in bootstrap is replaced with the URI that redirection message reassigns, weight by terminal device The new HTTP request or HTTPS request for initiating down operation system image, up to operating system image download to internal memory is added Carry and guide operating system mirror image.
In the present embodiment, it is preferable that also include:
User data is divided into two classes and is stored in any node in content distributing network by terminal device, and one kind is with JSON lattice Formula is transmitted and the text data of storage, and one kind is binary data;And the two classes data are respectively with filename the whole network unique two Individual file preserves, and one is JSON files, a binary data file;Wherein, when terminal device needs to read and write text data When, by data packet and it is stored in HTTP or HTTPS messages, the opereating specification of binary data is by HTTP or HTTPS request The Range header fields of head are specified;When equipment needs to read and write text data, data storage is at message text;On the other hand, when with When user data includes the system data of start-up operation system, the link of system data is associated with bootstrap.Thereby, this implementation The general operating system mirror image suitable for same type terminal device can individually be stored and pass through content delivery network by example Network is found nearest node and accelerated to be downloaded, and at the same time, some exclusive user data of each specific user is carried out independent Storage optimizes the storage organization of whole system, effectively prevent corresponding any terminal equipment to take into account the independence of user All operating system mirror images and user data carry out centralized and unified storage caused by data volume it is big the problems such as, and simplify and be The complexity of system O&M.
Optionally, as shown in figure 1, the one-level title of the packet structure of HTTP or HTTPS messages transmitted by terminal device For " read " and " write ", value corresponding to " read " title is the data JSON tables for needing to read, and the table only needs title, Value meeting being serviced device is ignored;Value corresponding to " write " title is needs the data JSON tables write, if value is sky, server is then The name/value pair can be deleted;When request includes " read " and " write " simultaneously, corresponding server then can first read and write again Enter.
The opereating specification of binary data is specified by the Range header fields of HTTP/HTTPS request headers, and its form is:" n-m ", N and m is natural number and m >=n.During reading, message content meeting being serviced device is ignored.During write-in, if the length of message content is small In the length that Range header fields are specified, then scope meeting being serviced device is deleted corresponding to the part lacked, if the length of message content is small In the length that Range header fields are specified, the data having more can be ignored.
For the above-mentioned remote loading method of the present embodiment, its flow is as schemed when using http protocol loading remote system It is specific as follows shown in 2:
Step 1, equipment start, and initialize network configuration, specifically divide the following steps:
Step 1.1, detection device locally configure with the presence or absence of default IP, if there is legal configuration, using this configure into Row initialization, if in the absence of step 2 is gone to, then, then goes to step 1.2.
Step 1.2, IP configurations are obtained using DHCP, then go to step 2.
Whether step 2, inspection system image download URI domain name have parsed, if not parsing, are parsed by DNS service Corresponding server ip.
Step 3, establish TCP with server using server ip and be connected, and sent to remote server and download mirror image HTTP request.
Step 4, remote server respective request, judge whether this node is to save recently according to the geographical position of request source IP Point, it is the nearest node being otherwise redirected on node table then using HTTP transmission operating system mirror images, and is notified by UDP The node being redirected to, inform that destination node prepares file in advance to respond upcoming request.
Step 5, bootstrap receive response message, if operating system mirror image, then preserve mirror image to internal memory, close afterwards TCP connections, and jump to step 6.If redirection message, then current system image download URI is replaced with into the URI of redirection simultaneously Jump to step 2.
Step 6, load and guide operating system mirror image.
Its flow is as shown in figure 3, specific as follows when using HTTPS agreements loading remote system:
Step 1, equipment start, and initialize network configuration, specifically divide the following steps:
Step 1.1, detection device locally configure with the presence or absence of default IP, if there is legal configuration, using this configure into Row initialization, if in the absence of step 2 is gone to, then, then goes to step 1.2.
Step 1.2, IP configurations are obtained using DHCP, then go to step 2.
Whether step 2, inspection system image download URI domain name have parsed, if not parsing, are parsed by DNS service Corresponding server ip.
Step 3, establish TCP with server with server ip and be connected, HTTPS request is sent to remote server.
Step 4, remote server respond and return to the safety certificate for coded communication.
Step 5, bootstrap checking certificate simultaneously are attempted to shake hands by cipher mode and remote server.
Step 6, bootstrap send the download mirror request for including equipment Serial Number.
Step 7, remote server respective request, judge whether this node is to save recently according to the geographical position of request source IP Point, it is the nearest node being otherwise redirected on node table then using HTTPS transmission operating system mirror images, and is notified by UDP The node being redirected to, inform that destination node prepares file in advance to respond upcoming request.
Step 8, bootstrap receive response message, if operating system mirror image, then preserve mirror image to internal memory, close afterwards TCP connections, and jump to step 9.If redirection message, then current system image download URI is replaced with into the URI of redirection simultaneously Jump to step 2.
Step 9, load and guide operating system mirror image.
Embodiment 2
Corresponding with above method embodiment, the present embodiment discloses a kind of remote loading system of operating system, including:
Terminal device, is deployed with bootstrap, and bootstrap is assigned with the initial URI of respective operations system image download;
Content distributing network, by being stored with the different at least two node internetting groups of operating system mirror image and geographical position Into, and the node table for storing the respectively node geo-location information is stored on each remote server;
Terminal device is additionally operable to:After network configuration is initialized, by bootstrap according to the first of operating system image download Beginning URI domain name mapping obtain corresponding to remote server IP address, foundation is connected with the TCP of the remote server, and to this Remote server sends the HTTP request or HTTPS request of down operation system image;And by the initial URI in bootstrap The URI that redirection message is reassigned is replaced with, initiates the HTTP request or HTTPS request of down operation system image again, Up to loading and guiding operating system mirror image by operating system image download to internal memory;
Remote server corresponding to initial URI, for being judged according to the IP address of the terminal device carried in request Whether this node is the node nearest away from terminal device, if it is, transmission operating system mirror image;Otherwise it is redirected to node table On nearest node, and while redirection message is transmitted to terminal device, pass through the node that is redirected to of UDP notices.
Preferably, the present embodiment terminal device is additionally operable to:
User data is divided into two classes and is stored in any node in content distributing network, one kind be with JSON format transmissions and The text data of storage, one kind is binary data;And the two classes data are protected with unique two files of filename the whole network respectively Deposit, one is JSON files, a binary data file;
When terminal device needs to read and write text data, by data packet and it is stored in HTTP or HTTPS messages, two enter The opereating specification of data processed is specified by the Range header fields of HTTP or HTTPS request head, when equipment needs to read and write text data, Data storage is at message text;And
When user data includes the system data of start-up operation system, the link of system data and bootstrap are closed Connection.
Alternatively, the one-level of the packet structure of the HTTP or HTTPS messages transmitted by terminal device entitled " read " and " write ", value corresponding to " read " title are the data JSON tables for needing to read, and the table only needs title, and value being serviced Device is ignored;Value corresponding to " write " title is needs the data JSON tables write, if value is sky, server can then delete the name Title/value pair;When request includes " read " and " write " simultaneously, corresponding server then can first read and write again.
Alternatively, the node in the system content distributing network is divided into two kinds, and one kind is to provide geography as host node Location resolution and the remote server of download service;A kind of is the minor node for only providing download service;System is avoided respectively to save with this Point all sets the system redundancy caused by analytical capabilities, is easy to the extension of content distributing network.
The method and system provided for above-mentioned two embodiment, it is further provided following two concrete application examples.
【Example 1】
Zephyr is remotely started by HTTP using Grub2
Grub2 is a kind of linux system bootstrap increased income, and support passes through HTTP activation systems.Zephyr is a kind of Specifically for the miniature linux system of Internet of Things exploitation.The terminal device of this example is that Intel Minnow Board Max are opened Plate is sent out, remote server provides HTTP download services using Apache.
In this example, terminal device is located at the 192.168.3/24 network segments, and server is located at the 192.168.1/24 network segments, IP Location is 192.168.1.10, and two network segments are connected by NAT router, and specific real network structure is as shown in Figure 4.
, it is necessary to change compiling configuration to ensure that the bootstrap of output supports HTTP and network service work(when compiling Grub2 Energy.When writing Grub2 startup configuration, the machine IP is appointed as 192.168.3.10, the URI of system image is appointed as 192.168.1.10/zephyr。
After development board starts, meeting automatic running bootstrap Grub2, Grub2 sends to download to server HTTP and asked Ask, server respective request simultaneously sends system image, and Grub2 is received and started mirror image, into Zephyr systems.
【Example 2】
Remotely start the Zephyr mirror images on CDN by HTTP using Grub2
The equipment of the example and example 1 are just the same, are drawn by the Grub2 on Minnow Board Max development boards Guiding systems start, and server then has two, and one is located at Changsha, and another is located at Hong Kong, and two-server all deploys The Zephyr mirror images that Minnow Board Max are used.Development board also is located at Changsha, and the file address of its boot configuration record The server in Hong Kong is pointed to, after development board starts, sends HTTP download requests to the server in Hong Kong, server receives request Afterwards, the source IP address of read requests bag first, then the ground of service acquisition equipment is inquired about using the IP geographical position of head of a station's instrument Position is managed, and by result cache to the machine, then contrasts with the node location in node listing, finds the section nearest from equipment Point, as a result for positioned at the server in Changsha.Hong Kong server returns to 301 redirections comprising Changsha server address afterwards.If After the standby result for receiving redirection, continue to send to Changsha server and ask.Changsha server can also inquire about and cache request bag Source IP address.Query Result and node listing contrast are found that the machine is nearest node.Changsha server will afterwards Zephyr system images are transferred to equipment.Grub2 is received and is started mirror image, and leads into Zephyr systems.
To sum up, the remote loading method and system of the operating system disclosed in the embodiment of the present invention, when equipment starts every time Mirror image will be downloaded from server, similar to without disk Windows.Compared with traditional local system, the invention has the advantages that:
(1) it is relatively simple, to update terminal system, during in particular for batch updating equipment.
(2) it, can remotely be updated by internet, and be not limited to LAN.
(3), operating system mirror image is only just downloaded to local when equipment starts, and will not preserve for a long time, is not easy to be intercepted Or replicate, system image can not be obtained by reading locally-stored equipment.Also, the bootstrap of the present invention supports HTTPS, Communication process is difficult to be monitored.
(4), support to be downloaded acceleration by simple content distributing network or point-to-point method.
(5) a set of solution that can preserve data on the remote server, is provided.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (8)

1. a kind of remote loading method of operating system, it is characterised in that including:
Bootstrap is deployed in the terminal device with network access facility, the bootstrap is assigned with respective operations system The initial URI of image download, and by the operating system mirrored storage in the different node at least two geographical position to form Content distributing network, and the node table for storing the respectively node geo-location information is stored on each remote server;
After the terminal device initializes network configuration, the bootstrap is initial according to the operating system image download Remote server IP address corresponding to URI domain name mapping acquisition, foundation are connected with the TCP of the remote server, and remote to this Journey server sends the HTTP request or HTTPS request for downloading the operating system mirror image;
The remote server corresponding to the initial URI judges this according to the IP address of the terminal device carried in the request Whether node is the node nearest away from the terminal device, if it is, transmission operating system mirror image;Otherwise it is redirected to described Nearest node on node table, and while redirection message is transmitted to the terminal device, be redirected to by UDP notices Node;
The terminal device replaces with the initial URI in the bootstrap URI that the redirection message reassigns, weight The new HTTP request or HTTPS request for initiating to download the operating system mirror image, until by the operating system image download extremely Internal memory is to load and guide the operating system mirror image.
2. the remote loading method of operating system according to claim 1, it is characterised in that also include:
User data is divided into two classes and is stored in any node in the content distributing network by the terminal device, one kind be with JSON format transmissions and the text data of storage, one kind is binary data;And the two classes data respectively with filename the whole network only One two files preserve, and one is JSON files, a binary data file;
When the terminal device needs to read and write text data, by data packet and it is stored in HTTP or HTTPS messages, two enter The opereating specification of data processed is specified by the Range header fields of HTTP or HTTPS request head, when equipment needs to read and write text data, Data storage is at message text;And
When the user data includes starting the system data of the operating system, by the link of the system data with it is described Bootstrap associates.
3. the remote loading method of operating system according to claim 2, it is characterised in that transmitted by the terminal device HTTP or HTTPS messages packet structure one-level entitled " read " and " write ", value corresponding to " read " title is The data JSON tables read are needed, the table only needs title, and value meeting being serviced device is ignored;Value corresponding to " write " title is to need The data JSON tables to be write, if value is sky, server can then delete the name/value pair;When request simultaneously comprising " read " and When " write ", corresponding server then can first read and write again.
4. the remote loading method of the operating system according to claim 1,2 or 3, it is characterised in that the content distribution Node in network is divided into two kinds, and a kind of is to provide the remote service of geographical position parsing and download service as host node Device;A kind of is the minor node for only providing download service.
A kind of 5. remote loading system of operating system, it is characterised in that including:
Terminal device, is deployed with bootstrap, and the bootstrap is assigned with the initial URI of respective operations system image download;
Content distributing network, by being stored with the different at least two node internetting groups of the operating system mirror image and geographical position Into, and the node table for storing the respectively node geo-location information is stored on each remote server;
The terminal device is additionally operable to:After network configuration is initialized, by the bootstrap according to the operating system mirror image Remote server IP address corresponding to the initial URI downloaded domain name mapping acquisition, establishes and connects with the TCP of the remote server Connect, and the HTTP request or HTTPS request for downloading the operating system mirror image are sent to the remote server;And draw described Initial URI in helical pitch sequence replaces with the URI that redirection message is reassigned, and initiates to download the operating system mirror image again HTTP request or HTTPS request, up to loading and guiding the operating system by the operating system image download to internal memory Mirror image;
Remote server corresponding to the initial URI, for the IP address according to the terminal device carried in the request Judge whether this node is the node nearest away from the terminal device, if it is, transmission operating system mirror image;Otherwise redirect Nearest node on to the node table, and while the redirection message is transmitted to the terminal device, led to by UDP Know the node being redirected to.
6. the remote loading system of operating system according to claim 5, it is characterised in that the terminal device is also used In:
User data is divided into two classes and is stored in any node in the content distributing network, one kind be with JSON format transmissions and The text data of storage, one kind is binary data;And the two classes data are protected with unique two files of filename the whole network respectively Deposit, one is JSON files, a binary data file;
When the terminal device needs to read and write text data, by data packet and it is stored in HTTP or HTTPS messages, two enter The opereating specification of data processed is specified by the Range header fields of HTTP or HTTPS request head, when equipment needs to read and write text data, Data storage is at message text;And
When the user data includes starting the system data of the operating system, by the link of the system data with it is described Bootstrap associates.
7. the remote loading system of operating system according to claim 6, it is characterised in that transmitted by the terminal device HTTP or HTTPS messages packet structure one-level entitled " read " and " write ", value corresponding to " read " title is The data JSON tables read are needed, the table only needs title, and value meeting being serviced device is ignored;Value corresponding to " write " title is to need The data JSON tables to be write, if value is sky, server can then delete the name/value pair;When request simultaneously comprising " read " and When " write ", corresponding server then can first read and write again.
8. the remote loading system of the operating system according to claim 5,6 or 7, it is characterised in that the content distribution Node in network is divided into two kinds, and a kind of is to provide the remote service of geographical position parsing and download service as host node Device;A kind of is the minor node for only providing download service.
CN201710936617.8A 2017-10-10 2017-10-10 The remote loading method and system of operating system Pending CN107707656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710936617.8A CN107707656A (en) 2017-10-10 2017-10-10 The remote loading method and system of operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710936617.8A CN107707656A (en) 2017-10-10 2017-10-10 The remote loading method and system of operating system

Publications (1)

Publication Number Publication Date
CN107707656A true CN107707656A (en) 2018-02-16

Family

ID=61184086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710936617.8A Pending CN107707656A (en) 2017-10-10 2017-10-10 The remote loading method and system of operating system

Country Status (1)

Country Link
CN (1) CN107707656A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144529A (en) * 2018-08-02 2019-01-04 郑州市景安网络科技股份有限公司 Brush method, apparatus, equipment and readable storage medium storing program for executing under operating system template
CN109819027A (en) * 2019-01-21 2019-05-28 郑州云海信息技术有限公司 A kind of server system remote start-up method, device, equipment and storage medium
CN110502280A (en) * 2019-07-09 2019-11-26 宇龙计算机通信科技(深圳)有限公司 Starting method, apparatus, storage medium and the terminal of Android operation system
CN111679884A (en) * 2020-05-18 2020-09-18 广东海光云科技股份有限公司 Data deployment method and device
CN111966051A (en) * 2020-07-02 2020-11-20 佛山科学技术学院 Rapid loading method and system for industrial operating system
CN112887503A (en) * 2021-01-13 2021-06-01 珠海奔图电子有限公司 Image forming device, server, system and method
CN116405316A (en) * 2023-05-26 2023-07-07 苏州浪潮智能科技有限公司 Method, device, equipment, medium and special machine management system for starting special machine

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0538133B1 (en) * 1991-10-17 1999-02-10 Bull S.A. Download of an operating system over a network
CN1447258A (en) * 2003-04-22 2003-10-08 清华大学 Networked computers with no local operation system
CN1670698A (en) * 2005-04-06 2005-09-21 清华大学 Transparent computing based computing apparatus and method
CN1916846A (en) * 2005-08-17 2007-02-21 联想(北京)有限公司 Method for automatic deploying operate system
CN101064729A (en) * 2006-04-27 2007-10-31 中国电信股份有限公司 System and method for realizing FTP download service through CDN network
CN101964821A (en) * 2010-10-12 2011-02-02 北京中科院软件中心有限公司 Method and system for loading operating environment of remote terminal
CN102999345A (en) * 2012-12-06 2013-03-27 华为技术有限公司 Operating system loading method, equipment and system
CN106547602A (en) * 2016-12-09 2017-03-29 中南大学 A kind of manufacture method of the operating system mirror image suitable for the loading of iSCSI protocol long distance wireless
CN106549976A (en) * 2016-12-09 2017-03-29 中南大学 A kind of method for authenticating user identity and ' In System Reconfiguration Method suitable for transparent computing system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0538133B1 (en) * 1991-10-17 1999-02-10 Bull S.A. Download of an operating system over a network
CN1447258A (en) * 2003-04-22 2003-10-08 清华大学 Networked computers with no local operation system
CN1670698A (en) * 2005-04-06 2005-09-21 清华大学 Transparent computing based computing apparatus and method
CN1916846A (en) * 2005-08-17 2007-02-21 联想(北京)有限公司 Method for automatic deploying operate system
CN101064729A (en) * 2006-04-27 2007-10-31 中国电信股份有限公司 System and method for realizing FTP download service through CDN network
CN101964821A (en) * 2010-10-12 2011-02-02 北京中科院软件中心有限公司 Method and system for loading operating environment of remote terminal
CN102999345A (en) * 2012-12-06 2013-03-27 华为技术有限公司 Operating system loading method, equipment and system
CN106547602A (en) * 2016-12-09 2017-03-29 中南大学 A kind of manufacture method of the operating system mirror image suitable for the loading of iSCSI protocol long distance wireless
CN106549976A (en) * 2016-12-09 2017-03-29 中南大学 A kind of method for authenticating user identity and ' In System Reconfiguration Method suitable for transparent computing system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144529A (en) * 2018-08-02 2019-01-04 郑州市景安网络科技股份有限公司 Brush method, apparatus, equipment and readable storage medium storing program for executing under operating system template
CN109819027A (en) * 2019-01-21 2019-05-28 郑州云海信息技术有限公司 A kind of server system remote start-up method, device, equipment and storage medium
CN110502280A (en) * 2019-07-09 2019-11-26 宇龙计算机通信科技(深圳)有限公司 Starting method, apparatus, storage medium and the terminal of Android operation system
CN110502280B (en) * 2019-07-09 2024-01-05 宇龙计算机通信科技(深圳)有限公司 Android operating system starting method and device, storage medium and terminal
CN111679884A (en) * 2020-05-18 2020-09-18 广东海光云科技股份有限公司 Data deployment method and device
CN111966051A (en) * 2020-07-02 2020-11-20 佛山科学技术学院 Rapid loading method and system for industrial operating system
CN112887503A (en) * 2021-01-13 2021-06-01 珠海奔图电子有限公司 Image forming device, server, system and method
CN116405316A (en) * 2023-05-26 2023-07-07 苏州浪潮智能科技有限公司 Method, device, equipment, medium and special machine management system for starting special machine
CN116405316B (en) * 2023-05-26 2023-08-25 苏州浪潮智能科技有限公司 Method, device, equipment, medium and special machine management system for starting special machine

Similar Documents

Publication Publication Date Title
CN107707656A (en) The remote loading method and system of operating system
CN101232395B (en) Method for implementing network appliance to automatically collocation install
US8554911B2 (en) Mimic support address resolution
US7395342B2 (en) Pre-execution environment compliant dynamic host configuration protocol relay agent
US7369563B2 (en) Method and apparatus for sharing a single internet protocol address without a network address translation in an internet access gateway for a local network
EP1635256A1 (en) Communication system and method for upgrade of user terminal software and user terminal upgraded by same
US20120317254A1 (en) Network platform in a network device ecosystem
WO2006057743A2 (en) Method of transporting a pci express packet over an ip packet network
US20030131078A1 (en) Methods and apparatuses to configure and deploy servers
CN102027732A (en) Providing access over an ip network to a server application program
TW201541919A (en) Scalable address resolution
CN101808131A (en) Method for automatically upgrading network terminal edition
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
EP3552370B1 (en) Implementing service function chains
CN106411742A (en) Message transmission method and device
CN109889625A (en) Access method, equipment and the computer readable storage medium of server
CN107113333A (en) The configuration of server apparatus
CN108804711A (en) A kind of method, apparatus and computer readable storage medium of data processing
CN115242882A (en) Method and device for accessing k8s container environment based on transport layer route
CN109819027A (en) A kind of server system remote start-up method, device, equipment and storage medium
CN101931615A (en) Network equipment downloading files by equipment identification codes and method thereof
US6957247B1 (en) Internet system
US20200396105A1 (en) Method for the remote management of a device connected to a residential gateway
US6839764B2 (en) Domain encapsulation
JP4434062B2 (en) Automatic access method to Web server installed device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180216