[go: up one dir, main page]

TWI466023B - System and method for a server in communication with a plurality of client devices - Google Patents

System and method for a server in communication with a plurality of client devices Download PDF

Info

Publication number
TWI466023B
TWI466023B TW099114487A TW99114487A TWI466023B TW I466023 B TWI466023 B TW I466023B TW 099114487 A TW099114487 A TW 099114487A TW 99114487 A TW99114487 A TW 99114487A TW I466023 B TWI466023 B TW I466023B
Authority
TW
Taiwan
Prior art keywords
client
read
mac
mac value
server
Prior art date
Application number
TW099114487A
Other languages
Chinese (zh)
Other versions
TW201140439A (en
Inventor
Jun-Jia Lin
Xue-Wen Hong
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW099114487A priority Critical patent/TWI466023B/en
Publication of TW201140439A publication Critical patent/TW201140439A/en
Application granted granted Critical
Publication of TWI466023B publication Critical patent/TWI466023B/en

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Description

多用戶端共用伺服器的系統及方法System and method for multi-user shared server

本發明涉及一種多用戶端共用伺服器的系統及方法。The present invention relates to a system and method for a multi-user shared server.

目前,透過伺服器遠端啟動無硬碟工作的用戶端已經成為現實。當一台伺服器需要啟動多台用戶端時,需要為每一台用戶端制定一個作業系統,避免因出現重寫覆蓋系統文檔而造成的混亂。At present, it has become a reality to start a client without a hard disk through the server remote. When a server needs to start multiple clients, it is necessary to develop an operating system for each client to avoid confusion caused by overwriting the system documentation.

透過伺服器遠端啟動多個作業系統,一種方法是透過綁定IP位址,每個IP位址指定一個配置文檔,用戶端根據該指定的配置文檔啟動系統。其中,包含不同硬體的用戶端對應啟動不同類型的配置文檔,例如:包括1個中央處理器的用戶端和包括2個中央處理器的用戶端所適用的系統不同,對應不同的配置文檔。但是,各用戶端從伺服器獲取IP位址的方式是隨機的,不能根據不同的用戶端類型分配不同類型的配置文檔。One method of booting multiple operating systems through the server remotely is to bind a IP address, each IP address specifies a configuration document, and the client starts the system according to the specified configuration file. The client that includes different hardwares is configured to start different types of configuration documents. For example, a client that includes one central processor and a client that includes two central processors are different systems, and corresponding to different configuration documents. However, the manner in which each client obtains an IP address from the server is random, and different types of configuration documents cannot be assigned according to different client types.

鑒於以上內容,有必要提供一種多用戶端共用伺服器的系統及方法,可以根據用戶端的不同配置從伺服器讀取對應的配置文檔,並根據該配置文檔啟動用戶端的系統。In view of the above, it is necessary to provide a multi-user shared server system and method, which can read a corresponding configuration document from a server according to different configurations of the client, and start the system of the client according to the configuration file.

一種多用戶端共用伺服器的系統,該伺服器包括各用戶端的配置文檔、一個默認配置文檔、多個MAC位址表及各用戶端的硬體資訊與MAC位址表的對應關系列表,該多用戶端共用伺服器的系統包括:配置文檔讀取模組,用於從伺服器中讀取默認配置文檔,根據該默認配置文檔啟動用戶端的系統;識別模組,用於從用戶端讀取硬體資訊,根據所讀取的硬體資訊從伺服器中識別該用戶端所對應的MAC位址表;MAC值讀取模組,用於從所識別的MAC位址表中讀取一狀態標誌為未被使用的MAC值,並在所識別的MAC位址表中將所讀取MAC值的狀態標誌修改為已使用狀態;創建模組,用於在用戶端中創建一個暫存文檔,獲取用戶端中網卡的默認MAC值,將該默認MAC值儲存至該暫存文檔中;設置模組,用於將所述默認MAC值設置為從MAC位址表中讀取的MAC值;所述配置文檔讀取模組還用於根據所讀取的MAC值從伺服器中讀取相對應的配置文檔,並根據所讀取的配置文檔重新啟動用戶端的系統。A multi-user shared server system, the server includes a configuration file of each client, a default configuration document, multiple MAC address tables, and a correspondence list between the hardware information of each client and the MAC address table, which is more The system for sharing the server by the client includes: a configuration document reading module for reading the default configuration document from the server, starting the system of the user terminal according to the default configuration document; and identifying the module for reading the hard from the user end The body information identifies the MAC address table corresponding to the client from the server according to the read hardware information; the MAC value reading module is configured to read a status flag from the identified MAC address table. Is an unused MAC value, and in the identified MAC address table, the status flag of the read MAC value is modified to the used state; creating a module for creating a temporary document in the client, obtaining a default MAC value of the network card in the client, the default MAC value is stored in the temporary file; a setting module, configured to set the default MAC value to a MAC value read from the MAC address table; Configuration document reading module also To read from the server according to the MAC value corresponding to the read configuration file, and restart the client system configuration according to the read document.

一種多用戶端共用伺服器的方法,該伺服器包括各用戶端的配置文檔、一個默認配置文檔、多個MAC位址表及各用戶端的硬體資訊與MAC位址表的對應關系列表,該方法包括步驟:從伺服器中讀取默認配置文檔,根據該默認配置文檔啟動用戶端的系統;從用戶端讀取硬體資訊,根據所讀取的硬體資訊識別該用戶端所對應的MAC位址表;從所識別的MAC位址表中讀取一狀態標誌為未被使用的MAC值,並在所識別的MAC位址表中將所讀取MAC值的狀態標誌修改為已使用狀態;在用戶端中創建一個暫存文檔,獲取用戶端中網卡的默認MAC值,將該默認MAC值儲存至該暫存文檔中;將所述默認MAC值設置為從MAC位址表中讀取的MAC值;根據所讀取的MAC值從伺服器中讀取相對應的配置文檔,並根據所讀取的配置文檔重新啟動用戶端的系統。A method for sharing a server by a multi-user terminal, the server includes a configuration file of each client, a default configuration document, a plurality of MAC address tables, and a correspondence list between the hardware information of each client and a MAC address table, the method The method includes the following steps: reading a default configuration document from the server, starting a system of the client according to the default configuration document; reading hardware information from the client, and identifying a MAC address corresponding to the client according to the read hardware information Reading a status flag from the identified MAC address table to an unused MAC value, and modifying the status flag of the read MAC value to the used state in the identified MAC address table; Create a temporary file in the client, obtain a default MAC value of the network card in the client, and store the default MAC value in the temporary file; set the default MAC value to the MAC read from the MAC address table. Value; read the corresponding configuration document from the server according to the read MAC value, and restart the system of the client according to the read configuration document.

相較於習知技術,所述的多用戶端共用伺服器的系統及方法,可以在不同配置的用戶端共用同一伺服器時,根據用戶端的不同配置從伺服器讀取對應的配置文檔,並根據該配置文檔啟動用戶端的系統。Compared with the prior art, the multi-user shared server system and method can read corresponding configuration documents from the server according to different configurations of the user end when the users of different configurations share the same server, and Start the client's system according to the configuration document.

如圖1所示,係本發明多用戶端共用伺服器的系統較佳實施例的系統架構圖。該多用戶端共用伺服器的系統30應用於一個或多個用戶端3中(圖1中僅示出三個),所述用戶端3透過網路2與伺服器1通信連接。在本實施例中,所述網路2可以是企業內部網路(Intranet)或乙太網路(Ethernet),也可以是網際網路(Internet)或其他類型的通訊網絡。FIG. 1 is a system architecture diagram of a preferred embodiment of a system for sharing a server by a multi-user terminal according to the present invention. The multi-user shared server system 30 is applied to one or more subscribers 3 (only three are shown in FIG. 1), and the subscriber 3 is communicatively coupled to the server 1 via the network 2. In this embodiment, the network 2 may be an intranet or an Ethernet, or may be an Internet or other type of communication network.

所述用戶端3為安裝不同硬體且無硬碟的用戶端,例如:所述安裝不同硬體用戶端3包括安裝一個中央處理器的用戶端,安裝二個中央處理器的用戶端及安裝三個中央處理器的用戶端。The client 3 is a client that installs different hardware and has no hard disk. For example, the installation of different hardware clients 3 includes a client that installs a central processor, a user terminal that installs two central processors, and the installation. The client side of the three central processors.

所述伺服器1中儲存有每個用戶端3的配置文檔、一個默認配置文檔、多個MAC(Media Access Control,介質訪問控制)位址表及各用戶端3的硬體資訊與MAC位址表的對應關系列表。The server 1 stores a configuration file of each client 3, a default configuration document, multiple MAC (Media Access Control) address table, and hardware information and MAC address of each client 3. A list of correspondences for the table.

每一個MAC位址表包括具有相同硬體資訊的用戶端3的MAC記錄,例如:包括一個中央處理器的用戶端對應MAC位址表A,包括二個中央處理器的用戶端對應MAC位址表B,包括三個中央處理器的用戶端對應MAC位址表C。所述每條MAC記錄包括兩個欄位元,第一個欄位元用來儲存標示該條記錄是否使用的狀態標誌,例如:若第一欄位為“0”,則表示該條記錄沒有被使用,若第一欄位為“1”,則表示該條記錄已被使用,第二個欄位元用來儲存MAC值,每一個MAC值對應一個配置文檔。如圖4所示,為MAC位址表的示意圖,其中,a1為第一條記錄的第一個欄位元,“0”表示該條記錄的MAC值未被使用,a2為第一條記錄的第二個欄位元,“001122334400”為該條記錄的MAC值。b1為第二條記錄的第一個欄位元,“1”表示該條記錄的MAC值已被使用,b2為第二條記錄的第二個欄位元,“001122334401”為該條記錄的MAC值。Each MAC address table includes a MAC record of the client 3 having the same hardware information, for example, a client-side MAC address table A including a central processor, and a client-side MAC address including two central processors. Table B, the client side corresponding to the three central processors corresponds to the MAC address table C. Each of the MAC records includes two field bits, and the first field element is used to store a status flag indicating whether the record is used. For example, if the first field is “0”, it means that the record has no record. Used, if the first field is "1", it means that the record has been used, the second field is used to store the MAC value, and each MAC value corresponds to a configuration document. As shown in FIG. 4, it is a schematic diagram of a MAC address table, where a1 is the first field of the first record, "0" indicates that the MAC value of the record is not used, and a2 is the first record. The second field, "001122334400" is the MAC value of the record. B1 is the first field of the second record, "1" indicates that the MAC value of the record has been used, b2 is the second field of the second record, and "001122334401" is the record of the record. MAC value.

如圖2所示,係本發明多用戶端共用伺服器的系統較佳實施例的功能模組圖,在本實施例中以一個用戶端3中的多用戶端共用服務系統30為例進行說明。所述多用戶端共用服務系統30包括配置文檔讀取模組300、識別模組301、MAC值讀取模組302、創建模組303及設置模組304。本發明所稱的模組是完成一特定功能的電腦程式段,比程式更適合於描述軟體在電腦中的執行過程,因此在本發明以下對軟體描述中都以模組描述。As shown in FIG. 2, it is a functional module diagram of a system for sharing a server with a multi-user terminal according to the present invention. In this embodiment, a multi-user shared service system 30 in a client 3 is taken as an example for description. . The multi-user shared service system 30 includes a configuration document reading module 300, an identification module 301, a MAC value reading module 302, a creation module 303, and a setting module 304. The module referred to in the present invention is a computer program segment for performing a specific function, and is more suitable for describing the execution process of the software in the computer than the program. Therefore, the following description of the software is described in the module.

首先,配置文檔讀取模組300用於從伺服器1中讀取默認配置文檔,根據該默認配置文檔啟動用戶端3的系統。First, the configuration document reading module 300 is configured to read a default configuration document from the server 1, and activate the system of the client terminal 3 according to the default configuration document.

所述識別模組301用於從用戶端3讀取硬體資訊,根據所讀取的硬體資訊從伺服器1中識別該用戶端3所對應的MAC位址表。例如:包括一個中央處理器的用戶端對應MAC位址表A,包括二個中央處理器的用戶端對應MAC位址表B,包括三個中央處理器的用戶端對應MAC位址表C。The identification module 301 is configured to read the hardware information from the client 3, and identify the MAC address table corresponding to the client 3 from the server 1 according to the read hardware information. For example, the client side including a central processor corresponds to the MAC address table A, and the client side corresponding to the two central processors corresponds to the MAC address table B, and the client side corresponding to the three central processors corresponds to the MAC address table C.

所述MAC值讀取模組302用於從所識別的MAC位址表中讀取一未被使用的MAC值,並在所識別的MAC位址表中將所讀取MAC值的狀態標誌修改為已使用狀態。所述MAC值讀取模組302從所識別的MAC位址表中讀取第一個欄位為“0”的記錄,“0”表示該條記錄的MAC值未被使用,讀取該條記錄的MAC值,將該條記錄的狀態標誌“0”修改為“1”,以標示該條記錄已被使用。The MAC value reading module 302 is configured to read an unused MAC value from the identified MAC address table, and modify the status flag of the read MAC value in the identified MAC address table. Is the used state. The MAC value reading module 302 reads a record whose first field is "0" from the identified MAC address table, and "0" indicates that the MAC value of the record is not used, and reads the barcode. The recorded MAC value is changed to the status flag "0" of the record to "1" to indicate that the record has been used.

所述創建模組303用於在用戶端3中創建一個暫存文檔,獲取用戶端3中網卡的默認MAC值,將該默認MAC值儲存至該暫存文檔中。The creating module 303 is configured to create a temporary file in the client 3, obtain a default MAC value of the network card in the client 3, and store the default MAC value in the temporary file.

所述設置模組304用於將用戶端3中網卡31的默認MAC值設置為從MAC位址表中讀取的MAC值。The setting module 304 is configured to set the default MAC value of the network card 31 in the client 3 to the MAC value read from the MAC address table.

所述配置文檔讀取模組300還用於根據所讀取的MAC值從伺服器1中讀取相對應的配置文檔,並根據所讀取的配置文檔重新啟動用戶端3的系統。所述配置文檔載入模組在MAC值最前面加上01得到新的MAC值,將新的MAC值以2位元數字為一組,每組之間加上中線,即得到相對應的配置文檔的文檔案名。例如:若所讀取的MAC值為001122334400,則對應的配置文檔的文檔案名為01-00-11-22-33-44-00。The configuration document reading module 300 is further configured to read a corresponding configuration document from the server 1 according to the read MAC value, and restart the system of the user terminal 3 according to the read configuration document. The configuration document loading module adds 01 to the MAC value to obtain a new MAC value, and sets a new MAC value into a group of 2 digits, and a neutral line is added between each group to obtain a corresponding one. Configure the file name of the document. For example, if the read MAC value is 001122334400, the file name of the corresponding configuration file is 01-00-11-22-33-44-00.

所述設置模組304還用於當用戶端3退出系統時,將用戶端3中網卡31的MAC值設置為所述暫存文檔中儲存的默認MAC值,刪除所述暫存文檔,並在所識別的MAC位址表中將所讀取MAC值的狀態標誌修改為未使用狀態。例如:將標示MAC值為已使用狀態的狀態標誌“1”修改為標示MAC值為未使用狀態的狀態標誌“0”。The setting module 304 is further configured to: when the client 3 exits the system, set the MAC value of the network card 31 in the client 3 to the default MAC value stored in the temporary file, delete the temporary file, and The status flag of the read MAC value is modified to an unused state in the identified MAC address table. For example, the status flag "1" indicating that the MAC value is used is modified to the status flag "0" indicating that the MAC value is not used.

如圖3所示,係本發明多用戶端共用伺服器的方法較佳實施例的流程圖。首先,步驟S10,配置文檔讀取模組300從伺服器1中讀取默認配置文檔,根據該默認配置文檔啟動用戶端3的系統。As shown in FIG. 3, it is a flowchart of a preferred embodiment of a method for sharing a server by a multi-user terminal according to the present invention. First, in step S10, the configuration document reading module 300 reads the default configuration document from the server 1, and starts the system of the client terminal 3 according to the default configuration document.

步驟S11,識別模組301從用戶端3讀取硬體資訊,根據所讀取的硬體資訊從伺服器1中識別該用戶端3所對應的MAC位址表。In step S11, the identification module 301 reads the hardware information from the client 3, and identifies the MAC address table corresponding to the client 3 from the server 1 based on the read hardware information.

步驟S12,所述MAC值讀取模組302從所識別的MAC位址表中讀取一未被使用的MAC值,並在所識別的MAC位址表中將所讀取MAC值的狀態標誌修改為已使用狀態。所述MAC值讀取模組302從所識別的MAC位址表中讀取第一個欄位為“0”的記錄,“0”表示該條記錄的MAC值未被使用,讀取該條記錄的MAC值,將該條記錄的狀態標誌“0”修改為“1”,以標示該條記錄已被使用。Step S12, the MAC value reading module 302 reads an unused MAC value from the identified MAC address table, and displays the status flag of the read MAC value in the identified MAC address table. Change to the used state. The MAC value reading module 302 reads a record whose first field is "0" from the identified MAC address table, and "0" indicates that the MAC value of the record is not used, and reads the barcode. The recorded MAC value is changed to the status flag "0" of the record to "1" to indicate that the record has been used.

步驟S13,所述創建模組303在用戶端3中創建一個暫存文檔,獲取用戶端3中網卡的默認MAC值,將該默認MAC值儲存至該暫存文檔中。In step S13, the creating module 303 creates a temporary file in the client 3, obtains a default MAC value of the network card in the client 3, and stores the default MAC value in the temporary file.

步驟S14,所述設置模組304將用戶端3中網卡31的默認MAC值設置為從MAC位址表中讀取的MAC值。In step S14, the setting module 304 sets the default MAC value of the network card 31 in the client 3 to the MAC value read from the MAC address table.

步驟S15,配置文檔讀取模組300根據所讀取的MAC值從伺服器1中讀取相對應的配置文檔,根據所讀取的配置文檔重新啟動用戶端3的系統。所述配置文檔載入模組在MAC值最前面加上01得到新的MAC值,將新的MAC值以2位元數字為一組,每組之間加上中線,即得到相對應的配置文檔的文檔案名。In step S15, the configuration document reading module 300 reads the corresponding configuration document from the server 1 according to the read MAC value, and restarts the system of the client terminal 3 according to the read configuration document. The configuration document loading module adds 01 to the MAC value to obtain a new MAC value, and sets a new MAC value into a group of 2 digits, and a neutral line is added between each group to obtain a corresponding one. Configure the file name of the document.

步驟S16,所述設置模組304還用於當用戶端3退出系統時,將用戶端3中網卡31的MAC值設置為所述暫存文檔中儲存的默認MAC值,刪除所述暫存文檔,並在所識別的MAC位址表中將所讀取MAC值的狀態標誌修改為未使用狀態。In step S16, the setting module 304 is further configured to: when the user terminal 3 exits the system, set the MAC value of the network card 31 in the client 3 to the default MAC value stored in the temporary file, and delete the temporary document. And modifying the status flag of the read MAC value to an unused state in the identified MAC address table.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施例,本發明之範圍並不以上述實施例為限,舉凡熟悉本案技藝之人士援依本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and equivalent modifications or variations made by those skilled in the art in light of the spirit of the present invention are It should be covered by the following patent application.

1‧‧‧伺服器1‧‧‧Server

2‧‧‧網際網路2‧‧‧Internet

3‧‧‧用戶端3‧‧‧User side

30‧‧‧多用戶端共用伺服器的系統30‧‧‧Multi-user shared server system

300‧‧‧配置文檔讀取模組300‧‧‧Configuration Document Reading Module

301‧‧‧識別模組301‧‧‧identification module

302‧‧‧MAC值讀取模組302‧‧‧MAC value reading module

303‧‧‧創建模組303‧‧‧Create module

304‧‧‧設置模組304‧‧‧Setup Module

圖1係本發明多用戶端共用伺服器的系統較佳實施例的硬體架構圖。1 is a hardware architecture diagram of a preferred embodiment of a system for sharing a server with a multi-user terminal according to the present invention.

圖2係本發明多用戶端共用伺服器的系統較佳實施例的功能模組關聯圖。2 is a functional module association diagram of a preferred embodiment of a multi-user shared server of the present invention.

圖3係本發明多用戶端共用伺服器的方法較佳實施例的流程圖。3 is a flow chart of a preferred embodiment of a method for sharing a server by a multi-user terminal according to the present invention.

圖4係MAC地址表的示意圖。Figure 4 is a schematic diagram of a MAC address table.

30‧‧‧多用戶端共用伺服器的系統 30‧‧‧Multi-user shared server system

300‧‧‧配置文檔讀取模組 300‧‧‧Configuration Document Reading Module

301‧‧‧識別模組 301‧‧‧identification module

302‧‧‧MAC值讀取模組 302‧‧‧MAC value reading module

303‧‧‧創建模組 303‧‧‧Create module

304‧‧‧設置模組 304‧‧‧Setup Module

Claims (6)

一種多用戶端共用伺服器的系統,該伺服器包括各用戶端的配置文檔、一個默認配置文檔、多個MAC位址表及各用戶端的硬體資訊與MAC位址表的對應關系列表,該多用戶端共用伺服器的系統包括:
配置文檔讀取模組,用於從伺服器中讀取默認配置文檔,根據該默認配置文檔啟動用戶端的系統;
識別模組,用於從用戶端讀取硬體資訊,根據所讀取的硬體資訊從伺服器中識別該用戶端所對應的MAC位址表;
MAC值讀取模組,用於從所識別的MAC位址表中讀取一狀態標誌為未被使用的MAC值,並在所識別的MAC位址表中將所讀取MAC值的狀態標誌修改為已使用狀態;
創建模組,用於在用戶端中創建一個暫存文檔,獲取用戶端中網卡的默認MAC值,將該默認MAC值儲存至該暫存文檔中;
設置模組,用於將所述默認MAC值設置為從MAC位址表中讀取的MAC值;
所述配置文檔讀取模組還用於根據所讀取的MAC值從伺服器中讀取相對應的配置文檔,並根據所讀取的配置文檔重新啟動用戶端的系統。
A multi-user shared server system, the server includes a configuration file of each client, a default configuration document, multiple MAC address tables, and a correspondence list between the hardware information of each client and the MAC address table, which is more The system in which the client shares the server includes:
Configuring a document reading module for reading a default configuration document from the server, and starting the system of the user terminal according to the default configuration document;
The identification module is configured to read hardware information from the user end, and identify a MAC address table corresponding to the user end from the server according to the read hardware information;
The MAC value reading module is configured to read a status flag from the identified MAC address table as an unused MAC value, and display a status flag of the read MAC value in the identified MAC address table. Modified to the used state;
Creating a module for creating a temporary file in the client, obtaining a default MAC value of the network card in the client, and storing the default MAC value in the temporary file;
a setting module, configured to set the default MAC value to a MAC value read from a MAC address table;
The configuration document reading module is further configured to read a corresponding configuration document from the server according to the read MAC value, and restart the system of the user end according to the read configuration document.
如申請專利範圍第1項所述的多用戶端共用伺服器的系統,其中,所述設置模組還用於當用戶端退出系統時,將用戶端中網卡的MAC值設置為所述暫存文檔中儲存的默認MAC值,刪除所述暫存文檔,並在所識別的MAC位址表中將所讀取MAC值的狀態標誌修改為未使用狀態。The multi-user shared server system of claim 1, wherein the setting module is further configured to set a MAC value of the network card in the user end to the temporary storage when the user exits the system. The default MAC value stored in the document deletes the temporary file and modifies the status flag of the read MAC value to an unused state in the identified MAC address table. 如申請專利範圍第1項所述的多用戶端共用伺服器的系統,其中,所述每一個MAC位址表包括具有相同硬體資訊的用戶端的MAC記錄,每條記錄包括兩個欄位元,第一個欄位元用來儲存標示該條記錄是否使用的狀態標誌,第二個欄位元用來儲存MAC值。The multi-user shared server system of claim 1, wherein each of the MAC address tables includes a MAC record of a client having the same hardware information, and each record includes two field elements. The first field is used to store a status flag indicating whether the record is used. The second field is used to store the MAC value. 一種多用戶端共用伺服器的方法,該伺服器包括各用戶端的配置文檔、一個默認配置文檔、多個MAC位址表及各用戶端的硬體資訊與MAC位址表的對應關系列表,該方法包括步驟:
從伺服器中讀取默認配置文檔,根據該默認配置文檔啟動用戶端的系統;
從用戶端讀取硬體資訊,根據所讀取的硬體資訊識別該用戶端所對應的MAC位址表;
從所識別的MAC位址表中讀取一狀態標誌為未被使用的MAC值,並在所識別的MAC位址表中將所讀取MAC值的狀態標誌修改為已使用狀態;
在用戶端中創建一個暫存文檔,獲取用戶端中網卡的默認MAC值,將該默認MAC值儲存至該暫存文檔中;
將所述默認MAC值設置為從MAC位址表中讀取的MAC值;
根據所讀取的MAC值從伺服器中讀取相對應的配置文檔,並根據所讀取的配置文檔重新啟動用戶端的系統。
A method for sharing a server by a multi-user terminal, the server includes a configuration file of each client, a default configuration document, a plurality of MAC address tables, and a correspondence list between the hardware information of each client and a MAC address table, the method Including steps:
Reading the default configuration document from the server, and starting the system of the client according to the default configuration document;
Reading hardware information from the client, and identifying a MAC address table corresponding to the client according to the read hardware information;
Reading a status flag from the identified MAC address table as an unused MAC value, and modifying the status flag of the read MAC value to the used state in the identified MAC address table;
Creating a temporary file in the client, obtaining a default MAC value of the network card in the client, and storing the default MAC value in the temporary file;
Setting the default MAC value to a MAC value read from a MAC address table;
The corresponding configuration document is read from the server according to the read MAC value, and the system of the client is restarted according to the read configuration document.
如申請專利範圍第4項所述的多用戶端共用伺服器的方法,該方法還包括步驟:
當用戶端退出系統時,將用戶端中網卡的MAC值設置為所述暫存文檔中儲存的默認MAC值,刪除所述暫存文檔,並在所識別的MAC位址表中將所讀取MAC值的狀態標誌修改為未使用狀態。
The method for sharing a server by a multi-user terminal according to claim 4, wherein the method further comprises the steps of:
When the client exits the system, the MAC value of the network card in the client is set to the default MAC value stored in the temporary file, the temporary file is deleted, and the read is read in the identified MAC address table. The status flag of the MAC value is changed to the unused state.
如申請專利範圍第4項所述的多用戶端共用伺服器的方法,其中,所述每一個MAC位址表包括具有相同硬體資訊的用戶端的MAC記錄,每條記錄包括兩個欄位元,第二個欄位元用來儲存MAC值。The method for sharing a server by a multi-user terminal according to claim 4, wherein each of the MAC address tables includes a MAC record of a client having the same hardware information, and each record includes two field elements. The second field is used to store the MAC value.
TW099114487A 2010-05-06 2010-05-06 System and method for a server in communication with a plurality of client devices TWI466023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099114487A TWI466023B (en) 2010-05-06 2010-05-06 System and method for a server in communication with a plurality of client devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099114487A TWI466023B (en) 2010-05-06 2010-05-06 System and method for a server in communication with a plurality of client devices

Publications (2)

Publication Number Publication Date
TW201140439A TW201140439A (en) 2011-11-16
TWI466023B true TWI466023B (en) 2014-12-21

Family

ID=46760303

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099114487A TWI466023B (en) 2010-05-06 2010-05-06 System and method for a server in communication with a plurality of client devices

Country Status (1)

Country Link
TW (1) TWI466023B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030070063A1 (en) * 2001-10-05 2003-04-10 Adc Telecommunications, Inc. Configuration file caching
TW200538923A (en) * 2004-05-21 2005-12-01 Hon Hai Prec Ind Co Ltd System and method for Mac address allocating automatically
US20070115967A1 (en) * 2005-10-31 2007-05-24 Hewlett-Packard Development Company, L.P. Dynamic discovery of ISO layer-2 topology
TW201009618A (en) * 2008-08-07 2010-03-01 Yahoo Inc Context based search arrangement for mobile devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030070063A1 (en) * 2001-10-05 2003-04-10 Adc Telecommunications, Inc. Configuration file caching
TW200538923A (en) * 2004-05-21 2005-12-01 Hon Hai Prec Ind Co Ltd System and method for Mac address allocating automatically
US20070115967A1 (en) * 2005-10-31 2007-05-24 Hewlett-Packard Development Company, L.P. Dynamic discovery of ISO layer-2 topology
TW201009618A (en) * 2008-08-07 2010-03-01 Yahoo Inc Context based search arrangement for mobile devices

Also Published As

Publication number Publication date
TW201140439A (en) 2011-11-16

Similar Documents

Publication Publication Date Title
CN102713886B (en) Roaming application settings across multiple computing devices
CN107004032B (en) Mirror image file conversion method and device
JP4293234B2 (en) Connection management method and connection management server in thin client
US7363514B1 (en) Storage area network(SAN) booting method
US10146556B2 (en) System and method to perform an OS boot using service location protocol and launching OS using a dynamic update of network boot order without a reboot
TW201418995A (en) Cloud cluster system and booting and deployment method using for the same
CN104360883A (en) Method and system for configuring Raid (Redundant array of independent disks)
JP2020524869A (en) Virtual machine management
CN106354430A (en) Method and device for allocating RAID card based on BMC
US10126969B1 (en) Mechanism for non-disruptive virtual tape libraries removal and reconfiguration
CN104516794A (en) Database document backup method, device and system
CN106201648A (en) A kind of virtual machine creation method and device
JP6393612B2 (en) System backup device and backup method
CN107294763A (en) Network equipment method and apparatus
CN106789191A (en) A kind of automatic method for restarting of distributed deployment service processes and device
CN114640678A (en) Pod management method, device and medium based on SR-IOV
CN107291486B (en) An operating system installation method and device
CN102238140A (en) System and method for sharing server by clients
US20230300055A1 (en) Cloud agnostic service discovery
US20130238673A1 (en) Information processing apparatus, image file creation method, and storage medium
CN113687910B (en) Method, device, equipment and storage medium for managing USB equipment in cluster
JP5707760B2 (en) Information processing system, information processing apparatus, information processing method, information processing program, and recording medium on which the program is recorded
TWI466023B (en) System and method for a server in communication with a plurality of client devices
CN117201495B (en) Network creation method, device, computer equipment and storage medium in cloud service
WO2014047489A2 (en) Anonymous notification system and method with reduced traceability on end device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees