[go: up one dir, main page]

TWI892062B - Server and method for self-positioning - Google Patents

Server and method for self-positioning

Info

Publication number
TWI892062B
TWI892062B TW111148825A TW111148825A TWI892062B TW I892062 B TWI892062 B TW I892062B TW 111148825 A TW111148825 A TW 111148825A TW 111148825 A TW111148825 A TW 111148825A TW I892062 B TWI892062 B TW I892062B
Authority
TW
Taiwan
Prior art keywords
response
server
access control
media access
port number
Prior art date
Application number
TW111148825A
Other languages
Chinese (zh)
Other versions
TW202428006A (en
Inventor
孫佩傑
Original Assignee
技鋼科技股份有限公司
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 技鋼科技股份有限公司 filed Critical 技鋼科技股份有限公司
Priority to TW111148825A priority Critical patent/TWI892062B/en
Publication of TW202428006A publication Critical patent/TW202428006A/en
Application granted granted Critical
Publication of TWI892062B publication Critical patent/TWI892062B/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

A server and a method for self-positioning are provided. The method includes: obtaining a first media access control (MAC) address; transmitting a broadcast message and receiving a response message corresponding to the broadcast message, wherein the response message includes a second MAC address and a communication port number of a switch corresponding to the second MAC address; storing the communication port number in response to the first MAC address matching the second MAC address; and transmitting a query response, wherein the query response includes the communication port number.

Description

用於自我定位的伺服器和方法Server and method for self-localization

本發明是有關於一種定位技術,且特別是有關於一種用於自我定位的伺服器和方法。The present invention relates to a positioning technology, and more particularly to a server and method for self-positioning.

近期,油冷(immersion cooling)伺服器的需求逐漸增加。為了便於管理,使用者可將多個伺服器浸入充滿單相(single phase)或雙相(two phase)油品的油箱中。為了維持油冷系統的冷卻能力,需要減少開啟或關閉油箱的次數,以避免油品散逸。若能為伺服器的維運人員提供伺服器的準確位置,將可大幅地降低維運人員開啟油箱以尋找伺服器的次數。Recently, demand for oil-immersion cooling servers has been increasing. For easier management, users can immerse multiple servers in a tank filled with single-phase or two-phase oil. To maintain the cooling capacity of the oil cooling system, it's important to minimize the number of times the tank needs to be opened and closed to prevent oil from escaping. Providing maintenance personnel with the precise location of servers can significantly reduce the number of times they need to open the tank to locate them.

本發明提供一種用於自我定位的伺服器和方法,可向使用者回報伺服器所對應的交換器通訊埠。The present invention provides a server and method for self-positioning, which can report the switch communication port corresponding to the server to the user.

本發明的一種用於自我定位的伺服器,包含處理器、儲存媒體以及收發器。儲存媒體儲存第一媒體存取控制位址。處理器耦接儲存媒體以及收發器,其中處理器經配置以執行:通過收發器傳送廣播訊息,並且通過收發器接收對應於廣播訊息的回應訊息,其中回應訊息包含第二媒體存取控制位址以及對應於第二媒體存取控制位址的交換器的通訊埠編號;響應於第一媒體存取控制位址與第二媒體存取控制位址匹配,將通訊埠編號儲存在儲存媒體中;以及通過收發器傳送查詢回應,其中查詢回應包含通訊埠編號。The present invention provides a self-positioning server, comprising a processor, a storage medium, and a transceiver. The storage medium stores a first media access control address. The processor is coupled to the storage medium and the transceiver, wherein the processor is configured to: transmit a broadcast message via the transceiver, and receive a response message corresponding to the broadcast message via the transceiver, wherein the response message includes a second media access control address and a port number of a switch corresponding to the second media access control address; store the port number in the storage medium in response to a match between the first media access control address and the second media access control address; and transmit a query response via the transceiver, wherein the query response includes the port number.

在本發明的一實施例中,上述的處理器更經配置以執行:通過收發器接收查詢請求;以及響應於接收查詢請求而傳送對應於查詢請求的查詢回應。In one embodiment of the present invention, the processor is further configured to: receive a query request via the transceiver; and transmit a query response corresponding to the query request in response to receiving the query request.

在本發明的一實施例中,上述的儲存媒體更儲存第一網際網路協定位址,其中處理器更經配置以執行:判斷第一網際網路協定位址與查詢請求是否匹配;以及響應於第一網際網路協定位址與查詢請求匹配而傳送查詢回應。In one embodiment of the present invention, the storage medium further stores a first Internet Protocol address, wherein the processor is further configured to: determine whether the first Internet Protocol address matches the query request; and send a query response in response to the first Internet Protocol address matching the query request.

在本發明的一實施例中,上述的處理器更經配置以執行:通過廣播訊息取得分配給伺服器的第一網際網路協定位址;以及使用第一網際網路協定位址進行通訊以取得回應訊息。In one embodiment of the present invention, the processor is further configured to: obtain a first IP address assigned to the server by broadcasting a message; and communicate using the first IP address to obtain a response message.

在本發明的一實施例中,上述的處理器包含基板管理控制器。In one embodiment of the present invention, the processor includes a baseboard management controller.

在本發明的一實施例中,上述的回應訊息包含多個媒體存取控制位址與交換器的多個通訊埠編號之間的映射關係。In one embodiment of the present invention, the response message includes a mapping relationship between a plurality of media access control addresses and a plurality of communication port numbers of the switch.

本發明的一種用於自我定位的方法,包含:取得第一媒體存取控制位址;傳送廣播訊息,並且接收對應於廣播訊息的回應訊息,其中回應訊息包含第二媒體存取控制位址以及對應於第二媒體存取控制位址的交換器的通訊埠編號;響應於第一媒體存取控制位址與第二媒體存取控制位址匹配,儲存通訊埠編號;以及傳送查詢回應,其中查詢回應包含通訊埠編號。The present invention provides a method for self-positioning, comprising: obtaining a first media access control address; transmitting a broadcast message and receiving a response message corresponding to the broadcast message, wherein the response message includes a second media access control address and a communication port number of a switch corresponding to the second media access control address; storing the communication port number in response to a match between the first media access control address and the second media access control address; and transmitting a query response, wherein the query response includes the communication port number.

基於上述,本發明的伺服器可通過廣播的方式取得與伺服器相對應的交換器的通訊埠編號。在接收到查詢請求後,伺服器可回授包含通訊埠編號的查詢回應至發送查詢請求的終端裝置,以幫助終端裝置的使用者定位伺服器。Based on the above, the server of the present invention can obtain the port number of the switch corresponding to the server through broadcasting. After receiving a query request, the server can return a query response containing the port number to the terminal device that sent the query request to help the user of the terminal device locate the server.

圖1根據本發明的一實施例繪示油冷系統10的示意圖。油冷系統10可包含一或多個伺服器100、交換器200以及油箱300。一或多個伺服器100可耦接交換器200,並可浸入充滿油品的油箱300中以進行冷卻。在各個伺服器100皆放入油箱300後,使用者可關閉油箱300以防止油品散逸。由於交換器200的通訊埠所連接的伺服器100皆位於油箱300中,故當使用者查詢到伺服器100對應於交換器200的通訊埠後,使用者可根據通訊埠定位出伺服器100的位置(即:伺服器100處於油箱300內)。FIG1 is a schematic diagram of an oil cooling system 10 according to an embodiment of the present invention. The oil cooling system 10 may include one or more servers 100, a switch 200, and an oil tank 300. One or more servers 100 may be coupled to the switch 200 and immersed in the oil tank 300, which is filled with oil, for cooling. After each server 100 is placed in the oil tank 300, the user may close the oil tank 300 to prevent the oil from escaping. Since the servers 100 connected to the communication ports of the switch 200 are all located in the oil tank 300, once the user finds the communication port corresponding to the server 100, the user can locate the server 100 based on the communication port (i.e., whether the server 100 is inside the oil tank 300).

圖2根據本發明的一實施例繪示一種用於自我定位的伺服器100的示意圖。伺服器100可包含處理器110、儲存媒體120以及收發器130。FIG2 is a schematic diagram of a server 100 for self-positioning according to an embodiment of the present invention. The server 100 may include a processor 110, a storage medium 120, and a transceiver 130.

處理器110例如是中央處理單元(central processing unit,CPU),或是其他可程式化之一般用途或特殊用途的微控制單元(micro control unit,MCU)、微處理器(microprocessor)、數位信號處理器(digital signal processor,DSP)、可程式化控制器、特殊應用積體電路(application specific integrated circuit,ASIC)、圖形處理器(graphics processing unit,GPU)、影像訊號處理器(image signal processor,ISP)、影像處理單元(image processing unit,IPU)、算數邏輯單元(arithmetic logic unit,ALU)、複雜可程式邏輯裝置(complex programmable logic device,CPLD)、現場可程式化邏輯閘陣列(field programmable gate array,FPGA)或其他類似元件或上述元件的組合。處理器110可耦接至儲存媒體120以及收發器130,並且存取和執行儲存於儲存媒體120中的多個模組和各種應用程式。在一實施例中,處理器110可由基板管理控制器(baseboard management controller,BMC)實施。The processor 110 may be, for example, a central processing unit (CPU), or other programmable general-purpose or special-purpose microcontrol unit (MCU), microprocessor, digital signal processor (DSP), programmable controller, application specific integrated circuit (ASIC), graphics processing unit (GPU), image signal processor (ISP), image processing unit (IPU), arithmetic logic unit (ALU), complex programmable logic device (CPLD), field programmable gate array (FPGA), or other similar components or combinations thereof. The processor 110 may be coupled to the storage medium 120 and the transceiver 130, and access and execute multiple modules and various applications stored in the storage medium 120. In one embodiment, the processor 110 may be implemented by a baseboard management controller (BMC).

儲存媒體120例如是任何型態的固定式或可移動式的隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)、硬碟(hard disk drive,HDD)、固態硬碟(solid state drive,SSD)或類似元件或上述元件的組合,而用於儲存可由處理器110執行的多個模組或各種應用程式。在本實施例中,儲存媒體120可儲存包含伺服器100的媒體存取控制(media access control,MAC)位址121、伺服器100的網際網路協定(Internet protocol,IP)位址122以及交換器200的通訊埠編號123等資訊。Storage medium 120 may be, for example, any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory, hard disk drive (HDD), solid state drive (SSD), or similar device or combination thereof, and is used to store multiple modules or various applications executable by processor 110. In this embodiment, storage medium 120 may store information including a media access control (MAC) address 121 of server 100, an Internet protocol (IP) address 122 of server 100, and a communication port number 123 of switch 200.

收發器130以無線或有線的方式傳送及接收訊號。收發器130還可以執行例如低噪聲放大、阻抗匹配、混頻、向上或向下頻率轉換、濾波、放大以及類似的操作。The transceiver 130 transmits and receives signals wirelessly or wiredly. The transceiver 130 may also perform operations such as low-noise amplification, impedance matching, frequency mixing, up- or down-frequency conversion, filtering, amplification, and the like.

圖3根據本發明的一實施例繪示取得通訊埠編號123的流程圖。在步驟S301中,處理器110可通過廣播訊息取得分配給伺服器100的網際網路協定位址122。具體來說,處理器110可通過收發器130傳送廣播訊息至與伺服器100通訊連接的電子裝置,包含交換器200。交換器200可根據廣播訊息為伺服器100分配網際網路協定位址122,並將包含網際網路協定位址122的資訊傳送給伺服器100。Figure 3 illustrates a flow chart for obtaining the communication port number 123 according to one embodiment of the present invention. In step S301, the processor 110 may obtain the IP address 122 assigned to the server 100 via a broadcast message. Specifically, the processor 110 may transmit the broadcast message via the transceiver 130 to electronic devices connected to the server 100, including the switch 200. The switch 200 may assign the IP address 122 to the server 100 based on the broadcast message and transmit information including the IP address 122 to the server 100.

在步驟S302中,處理器110可使用網際網路協定位址122進行通訊以取得回應訊息,其中回應訊息可包含多個媒體存取控制位址與交換器200的多個通訊埠編號之間的映射關係。處理器110可根據回應訊息的映射關係得知與交換器200的特定通訊埠相連接的電子裝置的媒體存取控制位址。In step S302, the processor 110 may communicate using the IP address 122 to obtain a response message. The response message may include mappings between multiple media access control addresses (MAC addresses) and multiple port numbers of the switch 200. Based on the mappings in the response message, the processor 110 may obtain the MAC address of the electronic device connected to a specific port of the switch 200.

具體來說,在取得網際網路協定位址122後,處理器110可基於網際網路協定位址122發送簡易網路管理通訊協定(simple network management protocol,SNMP)訊息至交換器200,以向交換器200詢問交換器200的每一個通訊埠(例如:與伺服器100相連接的通訊埠)所連接的電子裝置(例如:伺服器100)之媒體存取控制位址。交換器200可傳送對應於SNMP訊息的回應訊息至伺服器100,其中回應訊息可包含媒體存取控制位址以及對應於媒體存取控制位址的交換器200的通訊埠編號。Specifically, after obtaining the Internet Protocol address 122, the processor 110 may send a Simple Network Management Protocol (SNMP) message to the switch 200 based on the Internet Protocol address 122, thereby querying the switch 200 for the media access control address (MAC) of the electronic device (e.g., server 100) connected to each communication port of the switch 200 (e.g., the communication port connected to the server 100). The switch 200 may transmit a response message corresponding to the SNMP message to the server 100, wherein the response message may include the MAC address and the port number of the switch 200 corresponding to the MAC address.

在步驟S303中,處理器110可比對回應訊息中的媒體存取控制位址與儲存媒體120中的媒體存取控制位址121是否匹配。回應訊息中的媒體存取控制位址與儲存媒體120中的媒體存取控制位址121匹配代表回應訊息中的通訊埠編號與伺服器100相對應。據此,處理器110可響應於回應訊息中的媒體存取控制位址與儲存媒體120中的媒體存取控制位址121匹配而自回應訊息中取得相對應的通訊埠編號。In step S303, the processor 110 compares the MAC address in the response message with the MAC address 121 in the storage medium 120 to see if they match. A match between the MAC address in the response message and the MAC address 121 in the storage medium 120 indicates that the port number in the response message corresponds to the server 100. Accordingly, the processor 110 can obtain the corresponding port number from the response message in response to the match between the MAC address in the response message and the MAC address 121 in the storage medium 120.

在步驟S304中,處理器110可將自回應訊息取得的通訊埠編號儲存為儲存媒體120中的通訊埠編號123,並可重新執行步驟S301。換句話說,伺服器100是通過對應於通訊埠編號123的交換器200的通訊埠來與交換器200相連接。In step S304, the processor 110 may store the port number obtained from the response message as port number 123 in the storage medium 120 and re-execute step S301. In other words, the server 100 is connected to the switch 200 via the port of the switch 200 corresponding to port number 123.

圖4根據本發明的一實施例繪示查詢通訊埠編號的流程圖。在步驟S401中,外部終端裝置可基於事件傳送查詢請求至伺服器100。處理器110可通過收發器130接收查詢請求,其中查詢請求可包含伺服器100的網際網路協定位址122。舉例來說,當外部終端裝置偵測到網際網路協定位址122發生異常事件時,外部終端裝置可傳送包含網際網路協定位址122的查詢請求至伺服器100。FIG4 illustrates a flow chart for querying a communication port number according to an embodiment of the present invention. In step S401, an external terminal device may transmit a query request to server 100 based on an event. Processor 110 may receive the query request via transceiver 130, where the query request may include IP address 122 of server 100. For example, when the external terminal device detects an abnormal event at IP address 122, the external terminal device may transmit a query request including IP address 122 to server 100.

在步驟S402中,伺服器100的處理器110可響應於接收查詢請求而傳送對應於查詢請求的查詢回應至外部終端裝置,其中查詢回應可包含通訊埠編號123。在一實施例中,處理器110在接收查詢請求後檢查查詢請求中的資訊是否與網際網路協定位址123匹配。處理器110可響應於查詢請求與網際網路協定位址123匹配而傳送查詢回應至外部終端裝置。In step S402, the processor 110 of the server 100 may transmit a query response corresponding to the query request to the external terminal device in response to receiving the query request, wherein the query response may include the communication port number 123. In one embodiment, after receiving the query request, the processor 110 checks whether the information in the query request matches the Internet Protocol Address 123. In response to the query request matching the Internet Protocol Address 123, the processor 110 may transmit the query response to the external terminal device.

在步驟S403中,外部終端裝置可根據通訊埠編號123顯示伺服器100的實體位置以供維運人員參考。具體來說,外部終端裝置可預存通訊埠編號123與實體位置的映射關係。例如,外部終端裝置可儲存指示與通訊埠編號123的通訊埠連接的裝置(即:伺服器100)設置在油箱300之中的映射關係。當外部終端裝置接收到包含通訊埠編號123的查詢回應後,外部終端裝置可根據查詢回應以及映射關係輸出伺服器100的實體位置。例如,外部終端裝置可將伺服器100的實體位置輸出至顯示器以顯示給維運人員參考。In step S403, the external terminal device may display the physical location of server 100 based on communication port number 123 for reference by maintenance personnel. Specifically, the external terminal device may pre-store a mapping relationship between communication port number 123 and physical locations. For example, the external terminal device may store a mapping relationship indicating that the device connected to the communication port with communication port number 123 (i.e., server 100) is located within fuel tank 300. When the external terminal device receives a query response including communication port number 123, the external terminal device may output the physical location of server 100 based on the query response and the mapping relationship. For example, the external terminal device may output the physical location of server 100 to a display for reference by maintenance personnel.

在步驟S404中,當維運人員重設好發生異常的伺服器100後,伺服器100可重新執行如圖3所示的步驟以自動執行自我定位流程。In step S404, after the maintenance personnel reset the server 100 that has the abnormality, the server 100 can re-execute the steps shown in FIG. 3 to automatically perform the self-positioning process.

圖5根據本發明的一實施例繪示一種用於自我定位的方法的流程圖,其中所述方法可由如圖2所示的伺服器100實施。在步驟S501中,取得第一媒體存取控制位址。在步驟S502中,傳送廣播訊息,並且接收對應於廣播訊息的回應訊息,其中回應訊息包含第二媒體存取控制位址以及對應於第二媒體存取控制位址的交換器的通訊埠編號。在步驟S503中,響應於第一媒體存取控制位址與第二媒體存取控制位址匹配,儲存通訊埠編號。在步驟S504中,傳送查詢回應,其中查詢回應包含通訊埠編號。FIG5 is a flow chart illustrating a method for self-localization according to an embodiment of the present invention, wherein the method may be implemented by the server 100 shown in FIG2 . In step S501, a first media access control address is obtained. In step S502, a broadcast message is transmitted, and a response message corresponding to the broadcast message is received, wherein the response message includes a second media access control address and a port number of a switch corresponding to the second media access control address. In step S503, in response to a match between the first media access control address and the second media access control address, the port number is stored. In step S504, a query response is transmitted, wherein the query response includes the port number.

綜上所述,本發明的伺服器可在取得IP位址後,通過廣播的方式取得交換器的回應,進而取得與伺服器相對應的交換器的通訊埠編號。在伺服器取得通訊埠編號後,若伺服器接收到與其IP位址匹配的查詢請求,伺服器可回授查詢回應給發出查詢請求的終端裝置,以提供與伺服器相對應的通訊埠編號給發出查詢請求的終端裝置。使用者可通過終端裝置得知伺服器所對應的交換器之通訊埠編號。通訊埠編號可幫助使用者迅速且準確地找到伺服器所在位置。In summary, after obtaining an IP address, the server of the present invention can broadcast a response from the switch, thereby obtaining the port number of the switch corresponding to the server. After obtaining the port number, if the server receives a query request that matches its IP address, it can return a query response to the terminal device that issued the query, providing the port number corresponding to the server. Users can then use the terminal device to obtain the port number of the switch corresponding to the server. The port number helps users quickly and accurately locate the server.

10:油冷系統 100:伺服器 110:處理器 120:儲存媒體 121:媒體存取控制位址 122:網際網路協定位址 123:通訊埠編號 130:收發器 200:交換器 300:油箱 S301、S302、S303、S304、S401、S402、S403、S404、S501、S502、S503、S504:步驟 10: Oil cooling system 100: Server 110: Processor 120: Storage media 121: Media access control address 122: Internet protocol address 123: Port number 130: Transceiver 200: Switch 300: Fuel tank S301, S302, S303, S304, S401, S402, S403, S404, S501, S502, S503, S504: Steps

圖1根據本發明的一實施例繪示油冷系統的示意圖。 圖2根據本發明的一實施例繪示一種用於自我定位的伺服器的示意圖。 圖3根據本發明的一實施例繪示取得通訊埠編號的流程圖。 圖4根據本發明的一實施例繪示查詢通訊埠編號的流程圖。 圖5根據本發明的一實施例繪示一種用於自我定位的方法的流程圖。 Figure 1 is a schematic diagram of an oil cooling system according to an embodiment of the present invention. Figure 2 is a schematic diagram of a server for self-positioning according to an embodiment of the present invention. Figure 3 is a flowchart of obtaining a communication port number according to an embodiment of the present invention. Figure 4 is a flowchart of querying a communication port number according to an embodiment of the present invention. Figure 5 is a flowchart of a method for self-positioning according to an embodiment of the present invention.

S501、S502、S503、S504:步驟 S501, S502, S503, S504: Steps

Claims (7)

一種用於自我定位的伺服器,包括:收發器;儲存媒體,儲存第一媒體存取控制位址;以及處理器,耦接所述儲存媒體以及所述收發器,其中所述處理器經配置以執行:通過所述收發器傳送廣播訊息,並且通過所述收發器接收對應於所述廣播訊息的回應訊息,其中所述回應訊息包括第二媒體存取控制位址以及對應於所述第二媒體存取控制位址的交換器的通訊埠編號;響應於所述第一媒體存取控制位址與所述第二媒體存取控制位址匹配,將所述通訊埠編號儲存在所述儲存媒體中;以及通過所述收發器傳送查詢回應,其中所述查詢回應包括所述通訊埠編號。A server for self-positioning includes: a transceiver; a storage medium storing a first media access control address; and a processor coupled to the storage medium and the transceiver, wherein the processor is configured to: transmit a broadcast message through the transceiver, and receive a response message corresponding to the broadcast message through the transceiver, wherein the response message includes a second media access control address and a port number of a switch corresponding to the second media access control address; store the port number in the storage medium in response to a match between the first media access control address and the second media access control address; and transmit a query response through the transceiver, wherein the query response includes the port number. 如請求項1所述的伺服器,其中所述處理器更經配置以執行:通過所述收發器接收查詢請求;以及響應於接收所述查詢請求而傳送對應於所述查詢請求的所述查詢回應。The server of claim 1, wherein the processor is further configured to: receive a query request through the transceiver; and transmit the query response corresponding to the query request in response to receiving the query request. 如請求項2所述的伺服器,其中所述儲存媒體更儲存第一網際網路協定位址,其中所述處理器更經配置以執行:判斷所述第一網際網路協定位址與所述查詢請求是否匹配;以及響應於所述第一網際網路協定位址與所述查詢請求匹配而傳送所述查詢回應。The server of claim 2, wherein the storage medium further stores a first Internet Protocol address, wherein the processor is further configured to: determine whether the first Internet Protocol address matches the query request; and send the query response in response to the first Internet Protocol address matching the query request. 如請求項1所述的伺服器,其中所述處理器更經配置以執行:通過所述廣播訊息取得分配給所述伺服器的第一網際網路協定位址;以及使用所述第一網際網路協定位址進行通訊以取得所述回應訊息。The server of claim 1, wherein the processor is further configured to: obtain a first Internet Protocol address assigned to the server through the broadcast message; and communicate using the first Internet Protocol address to obtain the response message. 如請求項1所述的伺服器,其中所述處理器包括基板管理控制器。A server as described in claim 1, wherein the processor includes a baseboard management controller. 如請求項1所述的伺服器,其中所述回應訊息包括多個媒體存取控制位址與所述交換器的多個通訊埠編號之間的映射關係。The server as described in claim 1, wherein the response message includes a mapping relationship between multiple media access control addresses and multiple communication port numbers of the switch. 一種用於自我定位的方法,包括:取得第一媒體存取控制位址;傳送廣播訊息,並且接收對應於所述廣播訊息的回應訊息,其中所述回應訊息包括第二媒體存取控制位址以及對應於所述第二媒體存取控制位址的交換器的通訊埠編號;響應於所述第一媒體存取控制位址與所述第二媒體存取控制位址匹配,儲存所述通訊埠編號;以及傳送查詢回應,其中所述查詢回應包括所述通訊埠編號。A method for self-positioning includes: obtaining a first media access control address; transmitting a broadcast message and receiving a response message corresponding to the broadcast message, wherein the response message includes a second media access control address and a port number of a switch corresponding to the second media access control address; storing the port number in response to a match between the first media access control address and the second media access control address; and transmitting a query response, wherein the query response includes the port number.
TW111148825A 2022-12-20 2022-12-20 Server and method for self-positioning TWI892062B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111148825A TWI892062B (en) 2022-12-20 2022-12-20 Server and method for self-positioning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111148825A TWI892062B (en) 2022-12-20 2022-12-20 Server and method for self-positioning

Publications (2)

Publication Number Publication Date
TW202428006A TW202428006A (en) 2024-07-01
TWI892062B true TWI892062B (en) 2025-08-01

Family

ID=92928619

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111148825A TWI892062B (en) 2022-12-20 2022-12-20 Server and method for self-positioning

Country Status (1)

Country Link
TW (1) TWI892062B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200537846A (en) * 2003-11-20 2005-11-16 Ibm Automatic configuration of the network devices via connection to specific switch ports
US6982953B1 (en) * 2000-07-11 2006-01-03 Scorpion Controls, Inc. Automatic determination of correct IP address for network-connected devices
TW201941630A (en) * 2014-01-27 2019-10-16 美商費瑟朵股份有限公司 Systems and methods for peer to peer communication
US20220110085A1 (en) * 2019-01-11 2022-04-07 Apple Inc. Systems and methods of providing new radio positioning
CN115250422A (en) * 2021-04-26 2022-10-28 北京小米移动软件有限公司 An information interaction method, device, electronic device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6982953B1 (en) * 2000-07-11 2006-01-03 Scorpion Controls, Inc. Automatic determination of correct IP address for network-connected devices
TW200537846A (en) * 2003-11-20 2005-11-16 Ibm Automatic configuration of the network devices via connection to specific switch ports
TW201941630A (en) * 2014-01-27 2019-10-16 美商費瑟朵股份有限公司 Systems and methods for peer to peer communication
US20220110085A1 (en) * 2019-01-11 2022-04-07 Apple Inc. Systems and methods of providing new radio positioning
CN115250422A (en) * 2021-04-26 2022-10-28 北京小米移动软件有限公司 An information interaction method, device, electronic device and storage medium

Also Published As

Publication number Publication date
TW202428006A (en) 2024-07-01

Similar Documents

Publication Publication Date Title
EP3739826B1 (en) Communication method, system and apparatus
EP3709569B1 (en) Method of distributing information regarding one or more electrical devices and systems for the same
US20220321582A1 (en) Hierarchical scanning of internet connected assets
CN110224942B (en) Message processing method, device and storage medium
CN113452592A (en) Cross-cloud data access method and device under hybrid cloud architecture
CN104937908B (en) For the method and apparatus of connection management
US9015344B2 (en) Method, apparatus and system for managing private network remotely using session initiation protocol
US9894032B1 (en) Method and apparatus of establishing a connection between devices using cached connection information
CN110392066A (en) A kind of method and apparatus of access service
CN110266766B (en) Method and system for constructing anti-attack distributed network node and terminal equipment
CN112565018A (en) Flow statistical method, device, gateway equipment and storage medium
CN115942331A (en) Method and system for network distribution of Matter equipment
TWI892062B (en) Server and method for self-positioning
US20220046028A1 (en) Method and system for determining a state of an account in a network device running a light client protocol of a distributed ledger technology network
CN112099942B (en) Port multiplexing method, system, terminal, server, equipment and storage medium
JP7426409B2 (en) Methods, devices, equipment and storage media for determining edge applications
WO2023169052A1 (en) Cascading method and apparatus, electronic device, and storage medium
US11171868B2 (en) Systems and methods for centrally-assisted distributed hash table
CN105281944A (en) Method for setting network protocol address and service management system
CN107360275A (en) A kind of Forecasting Methodology and device of symmetric NAT port
CN118233412A (en) Server and method for self-positioning
EP2845374B1 (en) Address system
CN115004657A (en) Addressing method, addressing system and addressing device
CN114338794B (en) Service message pushing method and device, electronic equipment and storage medium
CN114301989A (en) Information transfer method, device and system