WO2020147009A1 - Method and device for configuring fog node device, and computer readable medium - Google Patents

Method and device for configuring fog node device, and computer readable medium Download PDF

Info

Publication number
WO2020147009A1
WO2020147009A1 PCT/CN2019/071787 CN2019071787W WO2020147009A1 WO 2020147009 A1 WO2020147009 A1 WO 2020147009A1 CN 2019071787 W CN2019071787 W CN 2019071787W WO 2020147009 A1 WO2020147009 A1 WO 2020147009A1
Authority
WO
WIPO (PCT)
Prior art keywords
fog
node device
fog node
request
server
Prior art date
Application number
PCT/CN2019/071787
Other languages
French (fr)
Chinese (zh)
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 PCT/CN2019/071787 priority Critical patent/WO2020147009A1/en
Priority to CN201980078412.8A priority patent/CN113169996B/en
Publication of WO2020147009A1 publication Critical patent/WO2020147009A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the embodiments of the present disclosure generally relate to communication technologies, and more specifically, to methods, devices, and computer-readable media for configuring fog node devices.
  • Cloud computing has become more and more widely used. Cloud computing has some inherent features, such as scalability, on-demand resource allocation, reduced management work, and simple application and service provision. Cloud computing can provide terminal equipment or end users with outsourcing computing and storage functions, so that they will not worry about managing their own infrastructure, but enjoy flexible and convenient services.
  • cloud computing still has some limitations. Due to the introduction of the Internet of Things (IoT), the Internet of Things aims to connect billions of smart objects to the Internet, and these objects are expected to generate a large amount of data and send the data to the cloud for further processing, and then related actions. In fact, sending all the captured data to the cloud is not very useful. In addition, this method will also lead to waste of resources (such as network, storage, etc.). The connection between the cloud and the terminal device will cause longer delays, which is not suitable for delay-sensitive applications. In fact, some applications prefer to be processed nearby, which can reduce network transmission resource consumption, rapid response, and reduce response time.
  • IoT Internet of Things
  • Fog Computing is proposed as an extended concept of cloud computing.
  • Fog computing is not composed of powerful servers, but is composed of weaker and more scattered functional devices with idle resources, such as various devices that infiltrate factories, cars, electrical appliances, street lights, and people's material lives And other composition.
  • Fog computing can distribute services along the cloud-to-thing continuity to the vicinity of end users. It covers mobile and wired scenarios, traverses hardware and software, resides at the edge of the network, but can also access the network and end users.
  • Fog computing enables computing at the edge of the network, closer to the Internet of Things and/or end user equipment.
  • Fog computing can increase the battery life of terminal devices by reducing energy requirements, especially for mobile terminals in critical situations. It can also reduce the communication delay of certain selected applications with low edge latency. In addition, it can also achieve New value-added services, such as IoT applications.
  • the embodiments of the present disclosure relate to methods, devices, and computer-readable media for configuring fog node devices.
  • an embodiment of the present disclosure provides an electronic device.
  • the electronic device includes: at least one processor; and a memory coupled with the at least one processor, and an instruction is stored in the memory.
  • the instruction is executed by the at least one processor, the electronic device executes an action, and the action includes: slave fog node
  • the device sends a request for the network address of the fog server to the address management device.
  • the fog server is configured to manage the fog node device; receives the network address of the fog server from the address management device; and based on the network address, sends a request from the fog node device to the fog server. Information about the resources that the fog node device can provide.
  • the fog node device includes a Dynamic Host Configuration Protocol DHCP client, and the address management device includes a DHCP server.
  • sending a request for a network address to the address management device includes sending a DHCP discovery message or a DHCP request message to the address management device, the DHCP discovery message and the DHCP request message each including an indication of the request for the network address.
  • the address management device includes a router.
  • sending a request for a network address to the address management device includes sending a route request message to the address management device, and the route request message includes an indication of the request for the network address.
  • the action further includes: receiving an instruction to provide a service to the terminal device from the fog server, the service being determined based on information about the resource that the fog node device can provide; and using the resource to provide the service to the terminal device.
  • providing a service to a terminal device includes: receiving application code required to provide the service from the fog server; and providing the service by running the application code.
  • inventions of the present disclosure provide an electronic device.
  • the electronic device includes: at least one processor; and a memory coupled with the at least one processor, and an instruction is stored in the memory.
  • the instruction is executed by the at least one processor, the electronic device executes an action, and the action includes:
  • a request for the network address of the fog server is received from the fog node device, the fog server is configured to manage the fog node device; and the fog node device is sent the network address of the fog server.
  • the fog node device includes a Dynamic Host Configuration Protocol DHCP client, and the address management device includes a DHCP server.
  • receiving a request for a network address from the fog node device includes: receiving a DHCP discovery message or a DHCP request message from the fog node device, the DHCP discovery message and the DHCP request message each including an indication of the request for the network address.
  • the address management device includes a router.
  • receiving a request for a network address from the fog node device includes: receiving a routing request message from the fog node device, the routing request message including an indication of the request for the network address.
  • inventions of the present disclosure provide an electronic device.
  • the electronic device includes: at least one processor; and a memory coupled with the at least one processor, and an instruction is stored in the memory.
  • the instruction is executed by the at least one processor, the electronic device executes an action, and the action includes: At the office, receiving information related to the resources that the fog node device can provide from the fog node device; and managing the fog node device based on the information related to the resource.
  • the action further includes: in response to receiving a request to provide a service from the terminal device, determining whether the fog node device can provide the service based on information related to the resource; and in response to determining that the fog node device can provide the service, The fog node device sends an instruction to provide services to the terminal device.
  • the action further includes: sending application code required to provide services to the fog node device.
  • embodiments of the present disclosure provide a communication method.
  • the method includes: sending a request for a network address of a fog server from a fog node device to an address management device, and the fog server is configured to manage the fog node device.
  • the method also includes receiving the network address of the fog server from the address management device.
  • the method further includes sending information related to the resources that the fog node device can provide from the fog node device to the fog server based on the network address.
  • the embodiments of the present disclosure provide a communication method.
  • the method includes: at an address management device, receiving a request for a network address of a fog server from a fog node device, and the fog server is configured to manage the fog node device.
  • the method further includes: sending the network address of the fog server to the fog node device.
  • the embodiments of the present disclosure provide a communication method.
  • the method includes: at the fog server, receiving information related to the resources that the fog node device can provide from the fog node device.
  • the method also includes: managing the fog node device based on the information related to the resource.
  • inventions of the present disclosure provide a computer-readable storage medium.
  • the computer-readable storage medium includes program code stored thereon, which when executed by the device, causes the device to perform the method according to the fourth aspect.
  • inventions of the present disclosure provide a computer-readable storage medium.
  • the computer-readable storage medium includes program code stored thereon, which when executed by the device, causes the device to perform the method according to the fifth aspect.
  • inventions of the present disclosure provide a computer-readable storage medium.
  • the computer-readable storage medium includes a program code stored thereon, and when the program code is executed by an apparatus, the apparatus executes the method according to the sixth aspect.
  • Fig. 1 is a schematic diagram of a communication network in which embodiments described in the present disclosure can be implemented
  • Figure 2 shows a signaling diagram of communication according to certain embodiments of the present disclosure
  • Figure 3 shows a schematic diagram of a message format according to certain embodiments of the present disclosure
  • Figure 4 shows a schematic diagram of a message format according to some embodiments of the present disclosure
  • FIG. 5 shows a flowchart of an example method implemented at a fog node device according to some embodiments of the present disclosure
  • Figure 6 shows a flowchart of an example method implemented at an address management device according to some embodiments of the present disclosure
  • FIG. 7 shows a flowchart of an example method implemented at a fog server according to some embodiments of the present disclosure
  • Figure 8 shows a block diagram of a communication device according to some embodiments of the present disclosure.
  • circuit refers to one or more of the following:
  • a combination of hardware circuits and software such as (if applicable): (i) a combination of analog and/or digital hardware circuits and software/firmware, and (ii) any part of the hardware processor and software (including working together to Digital signal processors, software and memory that enable devices such as OLT or other computing devices to perform various functions); and
  • a hardware circuit and/or processor such as a microprocessor or a part of a microprocessor, which requires software (e.g. firmware) for operation, but may not have software when it is not required for operation.
  • circuit used herein also covers only a hardware circuit or a processor (or multiple processors), or a part of a hardware circuit or a processor, or an implementation of software or firmware accompanying it.
  • circuitry also covers baseband integrated circuits or processor integrated circuits or similar integrated circuits in OLT or other computing devices.
  • network device refers to any appropriate entity or device that can provide a cell or coverage so that a terminal device can access the network or receive services from it.
  • network equipment include, for example, a base station.
  • base station used herein can mean Node B (NodeB or NB), evolved Node B (eNodeB or eNB), gNB, remote radio unit (RRU), radio head (RH), remote radio head Terminal (RRH), repeater, or low power node such as pico base station, femto base station, etc.
  • terminal device or “user equipment” (UE) used herein refers to any entity or device capable of wireless communication with network devices or with each other.
  • the terminal device may include a mobile terminal (MT), a subscriber station (SS), a portable subscriber station (PSS), a mobile station (MS) or an access terminal (AT), the above-mentioned equipment in a vehicle, and a machine with communication function Or electrical appliances, etc.
  • fog node device refers to a device that can provide local computing resources and/or storage resources.
  • fog node devices may include routers, switches, access nodes, optical distribution nodes (ODN), gateways, optical line terminals (OLT), terminal devices, and so on.
  • fog server refers to a server that can provide information about the fog computing environment and manage the resources of the fog node device. For example, the fog server can select a fog node device that can provide corresponding resources in the fog computing environment for a computing or storage request of a terminal device to respond to the request.
  • address management device refers to any appropriate entity or device that manages the addresses of devices in the network.
  • the address management device may include a server, a router, and so on.
  • router refers to a layer three device that supports routing protocols and realizes network interconnection by forwarding data packets.
  • Fog is a "cloud close to the ground”, which extends the traditional cloud computing architecture to the edge of the network.
  • a device that can provide local computing resources and/or storage resources is called a “fog node device”, and a server that can provide information about the fog computing environment and manage the resources of the fog node device is called a “fog server”. How a device that wants to become a fog node device discovers a fog server to provide it with information about the resources that the device can provide has become an urgent problem to be solved.
  • the embodiments of the present disclosure propose a solution for implementing fog node device configuration in a fog computing environment.
  • the fog node device obtains the network address of the fog server from the address management device, and then communicates with the fog server based on the obtained network address.
  • the effective automatic configuration of the fog node device can be realized.
  • the configuration scheme of the fog node device according to the present disclosure will be described in detail with reference to FIGS. 1 to 7.
  • FIG. 1 illustrates an example communication system 100 in which embodiments of the present disclosure may be implemented.
  • the communication system 100 includes a fog node device 110, an address management device 120, and a fog server 130.
  • the address management device 120 is configured to manage the addresses of devices in the communication system 100.
  • the fog node device 110 obtains the network address of the fog server 130 from the address management device 120, and then communicates with the fog server 130 based on the obtained network address.
  • the fog server 130 can manage the fog node device 110.
  • the communication system 100 may include any suitable type and number of fog node devices and fog servers. In the case that the communication system 100 includes multiple fog servers, each fog server can manage different types of resources and any appropriate number of fog node devices in the communication system 100, thereby achieving load balancing.
  • the fog node device 110, the address management device 120 and the fog server 130 can communicate with each other.
  • the communication between the fog node device 110, the address management device 120 and the fog server 130 may follow any appropriate wireless communication technology and corresponding communication standards.
  • Examples of communication technologies include, but are not limited to, Long Term Evolution (LTE), LTE-Advanced (LTE-A), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Global System for Mobile Communications (GSM) , Orthogonal Frequency Division Multiple Access (OFDM), Wireless Local Area Network (WLAN), Worldwide Interoperability for Microwave Access (WiMAX), Bluetooth, Zigbee technology, Machine Type Communication (MTC), D2D, or M2M, etc.
  • LTE Long Term Evolution
  • LTE-A LTE-Advanced
  • WCDMA Wideband Code Division Multiple Access
  • CDMA Code Division Multiple Access
  • GSM Global System for Mobile Communications
  • OFDM Orthogonal Frequency Division Multiple Access
  • WLAN Wireless Local Area Network
  • communication can be performed according to any appropriate communication protocol, which includes, but is not limited to, Transmission Control Protocol (TCP)/Internet Protocol (IP), Hypertext Transfer Protocol (HTTP), User Datagram Protocol (UDP), Session Description protocol (SDP) and other protocols.
  • TCP Transmission Control Protocol
  • IP Internet Protocol
  • HTTP Hypertext Transfer Protocol
  • UDP User Datagram Protocol
  • SDP Session Description protocol
  • FIG. 2 shows a signaling diagram of a fog node device configuration process 200 according to some embodiments of the present disclosure.
  • the process 200 may be executed by the fog node device 110, the address management device 120, and the fog server 130 as shown in FIG. 1, for example. To facilitate discussion, the description of the process 200 will be performed in conjunction with the fog node device 110, the address management device 120, and the fog server 130. It should be understood that the process 200 may also include additional actions not shown and/or actions shown may be omitted, and the scope of the present disclosure is not limited in this respect.
  • the fog node device 110 sends 210 a request for the network address of the fog server 130 to the address management device 120.
  • the fog server 130 is configured to manage the fog node device 110.
  • the address management device 120 may be configured with the network address of the fog server 130 in advance. Thus, after receiving the request from the fog node device 110, the address management device 120 sends 220 the network address of the fog server 130 to the fog node device 110.
  • the fog node device 110 includes a Dynamic Host Configuration Protocol (DHCP) client
  • the address management device 120 includes a DHCP server.
  • DHCP Dynamic Host Configuration Protocol
  • the fog node device 110 may request the network address of the fog server 130 by sending a DHCP discovery (Discover) message to the address management device 120, where the DHCP discovery message includes an indication of the request for the network address of the fog server 130 .
  • the address management device 120 may send the network address of the fog server 130 by sending a DHCP reply (Reply) message to the fog node device 110.
  • the fog node device 110 may request the network address of the fog server 130 by sending a DHCP request (Request) message to the address management device 120, where the DHCP request message includes an indication of the request for the network address of the fog server 130.
  • the address management device 120 may send the network address of the fog server 130 by sending a DHCP acknowledgement (ACK) message to the fog node device 110.
  • ACK DHCP acknowledgement
  • the fog node device 110 requests the network address of the fog server 130 by sending a DHCP discovery message or a DHCP request message to the address management device 120
  • the predefined "DHCP fog server" in the DHCP discovery message or DHCP request message may be used.
  • FIG. 3 shows an example format of a DHCP fog server option 300 according to some embodiments of the present disclosure.
  • the fog server option 300 includes at least an option code 310, an option length 320, and a network address part 330.
  • Option code 310 can be defined as any suitable decimal value.
  • the option length 320 indicates the length of the network address part 330.
  • the network address part 330 is used to carry the network addresses of one or more fog servers.
  • the fog server 130 adopts an IPv4 address, so the length of the network address of a single fog server 130 is 4 octets. Therefore, the length of the network address portion 330 is an integer multiple of 4 octets.
  • the communication system 100 may include multiple fog servers, each configured as different types of resources.
  • the address management device 120 may provide the fog node device 110 with the network address of each of the fog servers.
  • the address management device 120 may add the network addresses of multiple fog servers to the network address part 330.
  • the fog node device 110 may select one of the multiple fog servers to communicate based on the resources it can provide, so that the resources of the fog node device 110 can be obtained. Best use.
  • the fog node device 110 may try to communicate with each of the multiple fog servers one by one.
  • IPv4 addresses In addition, as more and more IoT devices will be connected to the Internet, there may not be enough IPv4 addresses for future use. For this reason, an IPv6 address with a length of 128 bits (16 bytes) is used to solve the problem of IPv4 address exhaustion. Compared with IPv4 addresses, the address space of IPv6 is greatly increased, which can meet the future demand for network addressing.
  • the fog server 130 adopts an IPv6 address the DHCP fog server option may adopt the example format shown in FIG. 4.
  • the fog server option 400 includes at least an option code 410, an option length 420, and a network address part 430.
  • Option code 410 can be defined as any suitable decimal value.
  • the option length 420 indicates the length of the network address part 430.
  • the network address part 430 is used to carry the network addresses of one or more fog servers.
  • the fog server 140 adopts an IPv6 address, so the length of the network address of a single fog server 130 is 16 octets. Therefore, the length of the network address portion 430 is an integer multiple of 16 octets.
  • the address management device 120 may add the network address of each of the plurality of fog servers to the network address part 430.
  • the DHCP client can use the Parameter Request List Option (Parameter Request List Option) to request the value of the specified configuration parameter from the DHCP server.
  • the list of configuration parameters is specified as n octets (n is a natural number), where each octet is an option code of a predefined DHCP option. Therefore, the fog node device 110 including the DHCP client can add the option code of the DHCP fog server option to the parameter request list option, and add the parameter request list option to the DHCP discovery message or the DHCP request message, so as to include the DHCP server
  • the address management device 120 requests the network address of the fog server 130.
  • the fog node device 110 may add the option code 310 of the DHCP fog server option 300 shown in FIG. 3 or the option code 410 of the DHCP fog server option 400 shown in FIG. 4 to the parameter request list option, and request the parameter The list option is added to the DHCP discovery message or the DHCP request message in order to request the address management device 120 for the network address of the fog server 130.
  • the fog node device 110 requesting the address management device 120 for the network address of the fog server 130 based on the DHCP protocol is only an example, and is not intended to limit the scope of the present disclosure.
  • the fog node device 110 may request the network address of the fog server 130 from the address management device 120 based on any appropriate communication protocol.
  • the fog node device 110 may request the network address of the fog server 130 by sending a route request (Router Solicitation, RS) message to the address management device 120.
  • RS Route Request
  • the address management device 120 may provide the requested network address by sending a router advertisement (RA) message to the fog node device 110.
  • RA router advertisement
  • the fog node device 110 based on the network address of the fog server 130 obtained from the address management device 120, the fog node device 110 sends 230 to the fog server 130 information related to the resources that the fog node device 110 can provide.
  • the resources that the fog node device 110 can provide may include, but are not limited to: storage resources, computing resources, and services that the fog node device 110 can provide.
  • the services that the fog node device 110 can provide may include, but are not limited to: video surveillance, video conversion, video compression, environmental monitoring, firewall functions, etc. in a specific area.
  • the information related to the resources that the fog node device 110 can provide may include the physical location information of the fog node device 110 and the fog node device 110 Information about video surveillance equipment (such as cameras).
  • the fog server 130 may record the information of the fog node device 110 locally, so as to manage 240 the resources of the fog node device 110.
  • the fog server 130 may determine 250 whether the fog node device 110 can provide the service based on the information related to the resources that the fog node device 110 can provide. If the fog server 130 determines that the fog node device 110 can provide the service, the fog server 130 sends 260 an instruction to provide the service to the terminal device to the fog node device 110. After the fog node device 110 receives the instruction, it uses the resources it can provide to provide the service to the terminal device. After providing the service to the terminal device, the fog node device 110 sends 270 a report to the fog server 130 to indicate the completion of the instruction.
  • the services that the fog node device can provide also include the functions that the fog node device can provide, such as the video surveillance function of a specific area.
  • the service provision instruction sent by the fog server 130 to the fog node device 110 may also include an instruction to enable the fog node device 110 to provide a specific function.
  • the fog server 130 may push to the fog node device 110 the application code required to provide the service. After the fog node device 110 receives the application code, it provides the service by running the application code. In such an embodiment, the fog server 130 may send the instruction to provide the service and the application code required to provide the service to the fog node device 110 in parallel or sequentially.
  • FIG. 5 shows a flowchart of a method 500 implemented at a fog node device according to an embodiment of the present disclosure.
  • the method 500 will be described below with reference to FIG. 1 and taking implementation at the fog node device 110 shown in FIG. 1 as an example. It should be understood that the method 500 may further include additional steps not shown and/or the shown steps may be omitted, and the scope of the present disclosure is not limited in this respect.
  • a request for the network address of the fog server 130 is sent from the fog node device 110 to the address management device 120, and the fog server 130 is configured to manage the fog node device 110.
  • the network address of the fog server 130 is received from the address management device 120.
  • the fog node device 110 includes a Dynamic Host Configuration Protocol DHCP client
  • the address management device 120 includes a DHCP server.
  • sending a request for a network address to the address management device 120 includes sending a DHCP discovery message or a DHCP request message to the address management device 120, the DHCP discovery message and the DHCP request message each including an indication of the request for the network address.
  • the address management device 120 includes a router.
  • sending a request for a network address to the address management device 120 includes sending a route request message to the address management device 120, and the route request message includes an indication of the request for the network address.
  • the method 500 further includes: receiving an instruction to provide a service to the terminal device from the fog server 130, and the service is determined based on information about the resource that the fog node device 110 can provide; and using the resource to provide a service to the terminal device.
  • providing a service to a terminal device includes: receiving application code required to provide the service from the fog server 130; and providing the service by running the application code.
  • FIG. 6 shows a flowchart of a method 600 implemented at an address management device according to an embodiment of the present disclosure.
  • the method 600 will be described below with reference to FIG. 1 and taking the implementation at the address management device 120 shown in FIG. 1 as an example. It should be understood that the method 600 may further include additional steps not shown and/or the shown steps may be omitted, and the scope of the present disclosure is not limited in this respect.
  • the address management device 120 receives a request for the network address of the fog server 130 from the fog node device 110, and the fog server 130 is configured to manage the fog node device 110.
  • the address management device 120 sends the network address of the fog server 130 to the fog node device 110.
  • the fog node device 110 includes a Dynamic Host Configuration Protocol DHCP client
  • the address management device 120 includes a DHCP server.
  • receiving a request for a network address from the fog node device 110 includes: receiving a DHCP discovery message or a DHCP request message from the fog node device 110, the DHCP discovery message and the DHCP request message each including an indication of the request for the network address.
  • the address management device 120 includes a router.
  • receiving a request for a network address from the fog node device 110 includes: receiving a routing request message from the fog node device 110, the routing request message including an indication of the request for the network address.
  • FIG. 7 shows a flowchart of a method 700 implemented at a fog server according to an embodiment of the present disclosure.
  • the method 700 will be described below with reference to FIG. 1 and taking the implementation at the fog server 130 shown in FIG. 1 as an example. It should be understood that the method 700 may further include additional steps not shown and/or the shown steps may be omitted, and the scope of the present disclosure is not limited in this respect.
  • the fog server 130 receives information related to the resources that the fog node device 110 can provide from the fog node device 110.
  • the fog node device 110 is managed based on the information related to the resource.
  • the method 700 further includes: in response to receiving a request to provide a service from the terminal device, determining whether the fog node device 110 can provide the service based on information related to the resource; and in response to determining that the fog node device 110 can provide the service , Send an instruction to provide service to the terminal device to the fog node device 110.
  • the method 700 further includes: sending to the fog node device 110 application program codes required to provide services.
  • the operations and related features performed by the fog node device 110, the address management device 120, and the fog server 130 described above in conjunction with FIGS. 1 to 4 are also applicable to the methods 500, 600, and 700, and have the same effect. The specific details will not be repeated.
  • a device capable of executing the method 500 may include corresponding components for executing each step of the method 500. These components can be implemented in any suitable way. For example, it can be implemented by a circuit or a software module.
  • the apparatus includes: means for sending a request for the network address of the fog server from the fog node device to the address management device, the fog server is configured to manage the fog node device; and for receiving fog from the address management device A component for the network address of the server; and a component for sending information about the resources that the fog node device can provide from the fog node device to the fog server based on the network address.
  • the fog node device includes a Dynamic Host Configuration Protocol DHCP client, and the address management device includes a DHCP server.
  • the means for sending a request for a network address to an address management device includes: sending a DHCP discovery message or a DHCP request message to the address management device.
  • the DHCP discovery message and the DHCP request message each include a request for a network address. Instructions.
  • the address management device includes a router.
  • the means for sending a request for a network address to the address management device includes: sending a route request message to the address management device, the route request message including an indication of the request for the network address.
  • the apparatus further includes: a component for receiving an instruction to provide a service to a terminal device from the fog server, and the service is determined based on information about the resource that the fog node device can provide; and for using the resource to the terminal device.
  • a component for receiving an instruction to provide a service to a terminal device from the fog server and the service is determined based on information about the resource that the fog node device can provide; and for using the resource to the terminal device.
  • the components used to provide services to the terminal device include: components used to receive application code required to provide services from the fog server; and components used to provide services by running the application code.
  • a device capable of executing the method 600 may include corresponding components for executing each step of the method 600. These components can be implemented in any suitable way. For example, it can be implemented by a circuit or a software module.
  • the apparatus includes: means for receiving a request for the network address of the fog server from the fog node device at the address management device, the fog server being configured to manage the fog node device; and The fog node device sends the network address of the fog server.
  • the fog node device includes a Dynamic Host Configuration Protocol DHCP client, and the address management device includes a DHCP server.
  • the means for receiving a request for a network address from the fog node device includes: receiving a DHCP discovery message or a DHCP request message from the fog node device, the DHCP discovery message and the DHCP request message each including a network address The indicated part of the request.
  • the address management device includes a router.
  • the means for receiving a request for a network address from the fog node device includes: a means for receiving a route request message from the fog node device, the route request message including an indication of the request for the network address.
  • a device capable of executing the method 700 may include corresponding components for executing each step of the method 700. These components can be implemented in any suitable way. For example, it can be implemented by a circuit or a software module.
  • the apparatus includes: a component for receiving information related to resources that the fog node device can provide from the fog node device at the fog server; The part that the device manages.
  • the apparatus further includes: in response to receiving a request to provide a service from the terminal device, a component for determining whether the fog node device can provide the service based on information related to the resource; and in response to determining the fog node A component that can provide services to the fog node device and send instructions to provide services to the terminal device.
  • the apparatus further includes: a component for sending application code required to provide services to the fog node device.
  • FIG. 8 shows a block diagram of an electronic device 800 suitable for implementing embodiments of the present disclosure.
  • the device 800 may be used to implement the fog node device, address management device, or fog server in the embodiments of the present disclosure, such as the fog node device 110, the address management device 120, and the fog server 130 shown in FIG. 1.
  • the electronic device 800 may include one or more processors 810, one or more memories 820 coupled to the processor 810, and one or more transmitters coupled to the processor 810 and/ Or the receiver (TX/RX) 840.
  • the processor 810 may be of any suitable type suitable for the local technical environment, and may include, but is not limited to, general-purpose computers, special-purpose computers, microcontrollers, digital signal controllers (DSP), and processors based on multi-core processor architecture. One or more.
  • the electronic device 800 may have multiple processors, such as an application specific integrated circuit chip that is time-driven by a clock synchronized with the main processor.
  • the memory 820 may be of any suitable type suitable for the local technical environment, and may be implemented using any suitable data storage technology, as non-limiting examples, such as non-transitory computer-readable storage media, semiconductor-based storage devices, magnetic memory Components and systems, optical storage devices and systems, fixed storage and removable storage.
  • the program 830 may include program instructions that, when executed by the associated processor 810, enable the device 800 to operate according to an embodiment of the present disclosure, as described with reference to FIGS. 1 to 7.
  • the embodiments of the present disclosure may be implemented by computer software executable by the processor 810 of the electronic device 800, or by hardware, or by a combination of software and hardware.
  • the various exemplary embodiments of the present disclosure may be implemented in hardware or special purpose circuits, software, logic, or any combination thereof. Certain aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device.
  • firmware or software that may be executed by a controller, microprocessor, or other computing device.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on Chip
  • CPLD Complex Programmable Logic Device
  • program modules include routines, programs, libraries, objects, classes, components, data structures, etc., which perform specific tasks or implement specific abstract data structures.
  • functions of the program modules may be combined or divided among the described program modules.
  • the machine executable instructions for the program modules can be executed in local or distributed devices. In distributed devices, program modules can be located in both local and remote storage media.
  • the computer program code used to implement the method of the present disclosure can be written in one or more programming languages. These computer program codes can be provided to the processors of general-purpose computers, special-purpose computers, or other programmable data processing devices, so that when the program codes are executed by the computer or other programmable data processing devices, they will cause changes in the flowcharts and/or block diagrams. The functions/operations specified in are implemented.
  • the program code can be executed entirely on a computer, partly on a computer, as a stand-alone software package, partly on a computer and partly on a remote computer, or entirely on a remote computer or server.
  • a machine-readable medium may be any tangible medium that contains or stores a program for or related to an instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination thereof. More detailed examples of machine-readable storage media include electrical connections with one or more wires, portable computer disks, hard disks, random memory access (RAM), read-only memory (ROM), erasable programmable read-only Memory (EPROM or flash memory), optical storage device, magnetic storage device, or any suitable combination thereof.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

A method and device for configuring a fog node device, and a computer readable medium. The method comprises: sending, from a fog node device to an address management device, a request for the network address of a fog server (510), the fog server being configured to manage the fog node device; receiving the network address of the fog server from the address management device (520); and sending, from the fog node device to the fog server on the basis of the network address, information related to a resource that the fog node device can provide (530).

Description

配置雾节点设备的方法、设备及计算机可读介质Method, device and computer readable medium for configuring fog node device 技术领域Technical field
本公开的实施例总体上涉及通信技术,更具体地,涉及配置雾节点设备的方法、设备及计算机可读介质。The embodiments of the present disclosure generally relate to communication technologies, and more specifically, to methods, devices, and computer-readable media for configuring fog node devices.
背景技术Background technique
随着信息技术的发展,云计算得到了越来越广泛的应用。云计算具有一些固有的功能,如可扩展性,按需资源分配,减少管理工作,简单的应用程序和服务供应。云计算可以为终端设备或终端用户提供外包计算和存储功能,使他们不会为管理自己的基础设施而烦恼,而是享受灵活方便的服务。With the development of information technology, cloud computing has become more and more widely used. Cloud computing has some inherent features, such as scalability, on-demand resource allocation, reduced management work, and simple application and service provision. Cloud computing can provide terminal equipment or end users with outsourcing computing and storage functions, so that they will not worry about managing their own infrastructure, but enjoy flexible and convenient services.
然而,云计算仍然存在一些局限性。由于引入了物联网(IoT),所以物联网旨在将数十亿的智能对象连接到互联网,并且这些对象有望生成大量数据并将数据发送到云进行进一步处理,之后再产生相关动作。实际上,将捕获的所有数据发送到云中的用处不大。此外,这种方法还会导致资源浪费(例如网络,存储等)。云和终端设备之间的连接将导致更长的延迟,这不适合对延迟敏感的应用程序。事实上,有些应用更希望能就近被处理,这样可以减少网络传输资源消耗以及快速响应、降低反应时间。However, cloud computing still has some limitations. Due to the introduction of the Internet of Things (IoT), the Internet of Things aims to connect billions of smart objects to the Internet, and these objects are expected to generate a large amount of data and send the data to the cloud for further processing, and then related actions. In fact, sending all the captured data to the cloud is not very useful. In addition, this method will also lead to waste of resources (such as network, storage, etc.). The connection between the cloud and the terminal device will cause longer delays, which is not suitable for delay-sensitive applications. In fact, some applications prefer to be processed nearby, which can reduce network transmission resource consumption, rapid response, and reduce response time.
为了解决上述问题,雾计算(Fog Computing)作为云计算的延伸概念而被提出。雾计算并非由性能强大的服务器组成,而是由性能较弱、更为分散的各类具有空闲资源的功能设备组成,例如由渗入工厂、汽车、电器、街灯及人们物质生活中的各类设备等组成。雾计算可以将服务沿着云到物的连续性分布到终端用户附近。它涵盖移动和有线场景,遍历硬件和软件,驻留在网络边缘,但也可以通过接入网络和终端用户。雾计算使得能够在网络边缘进行计算,更接近物联网和/ 或终端用户设备。雾计算可以通过减少能源需求的操作来增加终端设备的电池寿命,特别是对于关键情况下的移动终端,并且还可以减少边缘低延迟的某些选定应用的通信延迟,此外,它还可以实现新的增值服务,例如作为物联网应用程序。In order to solve the above problems, Fog Computing is proposed as an extended concept of cloud computing. Fog computing is not composed of powerful servers, but is composed of weaker and more scattered functional devices with idle resources, such as various devices that infiltrate factories, cars, electrical appliances, street lights, and people's material lives And other composition. Fog computing can distribute services along the cloud-to-thing continuity to the vicinity of end users. It covers mobile and wired scenarios, traverses hardware and software, resides at the edge of the network, but can also access the network and end users. Fog computing enables computing at the edge of the network, closer to the Internet of Things and/or end user equipment. Fog computing can increase the battery life of terminal devices by reducing energy requirements, especially for mobile terminals in critical situations. It can also reduce the communication delay of certain selected applications with low edge latency. In addition, it can also achieve New value-added services, such as IoT applications.
发明内容Summary of the invention
总体上,本公开的实施例涉及用于配置雾节点设备的方法、设备及计算机可读介质。In general, the embodiments of the present disclosure relate to methods, devices, and computer-readable media for configuring fog node devices.
在第一方面,本公开的实施例提供一种电子设备。该电子设备包括:至少一个处理器;以及与至少一个处理器耦合的存储器,存储器中存储有指令,该指令在被至少一个处理器执行时,使得电子设备执行动作,该动作包括:从雾节点设备向地址管理设备发送针对雾服务器的网络地址的请求,雾服务器被配置为管理雾节点设备;从地址管理设备接收雾服务器的网络地址;以及基于网络地址,从雾节点设备向雾服务器发送与雾节点设备能够提供的资源有关的信息。In a first aspect, an embodiment of the present disclosure provides an electronic device. The electronic device includes: at least one processor; and a memory coupled with the at least one processor, and an instruction is stored in the memory. When the instruction is executed by the at least one processor, the electronic device executes an action, and the action includes: slave fog node The device sends a request for the network address of the fog server to the address management device. The fog server is configured to manage the fog node device; receives the network address of the fog server from the address management device; and based on the network address, sends a request from the fog node device to the fog server. Information about the resources that the fog node device can provide.
在一些实施例中,雾节点设备包括动态主机配置协议DHCP客户端,并且地址管理设备包括DHCP服务器。In some embodiments, the fog node device includes a Dynamic Host Configuration Protocol DHCP client, and the address management device includes a DHCP server.
在一些实施例中,向地址管理设备发送针对网络地址的请求包括:向地址管理设备发送DHCP发现消息或DHCP请求消息,DHCP发现消息和DHCP请求消息各自包括针对网络地址的请求的指示。In some embodiments, sending a request for a network address to the address management device includes sending a DHCP discovery message or a DHCP request message to the address management device, the DHCP discovery message and the DHCP request message each including an indication of the request for the network address.
在一些实施例中,地址管理设备包括路由器。In some embodiments, the address management device includes a router.
在一些实施例中,向地址管理设备发送针对网络地址的请求包括:向地址管理设备发送路由请求消息,路由请求消息包括针对网络地址的请求的指示。In some embodiments, sending a request for a network address to the address management device includes sending a route request message to the address management device, and the route request message includes an indication of the request for the network address.
在一些实施例中,该动作进一步包括:从雾服务器接收向终端设备提供服务的指令,该服务基于与雾节点设备所能够提供的资源的信息被确定;以及利用资源向终端设备提供该服务。In some embodiments, the action further includes: receiving an instruction to provide a service to the terminal device from the fog server, the service being determined based on information about the resource that the fog node device can provide; and using the resource to provide the service to the terminal device.
在一些实施例中,向终端设备提供服务包括:从雾服务器接收提供服务所需的应用程序代码;以及通过运行应用程序代码来提供服务。In some embodiments, providing a service to a terminal device includes: receiving application code required to provide the service from the fog server; and providing the service by running the application code.
在第二方面,本公开的实施例提供一种电子设备。该电子设备包括:至少一个处理器;以及与至少一个处理器耦合的存储器,存储器中存储有指令,该指令在被至少一个处理器执行时,使得电子设备执行动作,该动作包括:在地址管理设备处,从雾节点设备接收针对雾服务器的网络地址的请求,雾服务器被配置为对雾节点设备进行管理;以及向雾节点设备发送雾服务器的网络地址。In a second aspect, embodiments of the present disclosure provide an electronic device. The electronic device includes: at least one processor; and a memory coupled with the at least one processor, and an instruction is stored in the memory. When the instruction is executed by the at least one processor, the electronic device executes an action, and the action includes: At the device, a request for the network address of the fog server is received from the fog node device, the fog server is configured to manage the fog node device; and the fog node device is sent the network address of the fog server.
在一些实施例中,雾节点设备包括动态主机配置协议DHCP客户端,并且地址管理设备包括DHCP服务器。In some embodiments, the fog node device includes a Dynamic Host Configuration Protocol DHCP client, and the address management device includes a DHCP server.
在一些实施例中,从雾节点设备接收针对网络地址的请求包括:从雾节点设备接收DHCP发现消息或DHCP请求消息,DHCP发现消息和DHCP请求消息各自包括针对网络地址的请求的指示。In some embodiments, receiving a request for a network address from the fog node device includes: receiving a DHCP discovery message or a DHCP request message from the fog node device, the DHCP discovery message and the DHCP request message each including an indication of the request for the network address.
在一些实施例中,地址管理设备包括路由器。In some embodiments, the address management device includes a router.
在一些实施例中,从雾节点设备接收针对网络地址的请求包括:从雾节点设备接收路由请求消息,路由请求消息包括针对网络地址的请求的指示。In some embodiments, receiving a request for a network address from the fog node device includes: receiving a routing request message from the fog node device, the routing request message including an indication of the request for the network address.
在第三方面,本公开的实施例提供一种电子设备。该电子设备包括:至少一个处理器;以及与至少一个处理器耦合的存储器,存储器中存储有指令,该指令在被至少一个处理器执行时,使得电子设备执行动作,该动作包括:在雾服务器处,从雾节点设备接收与雾节点设备所能够提供的资源有关的信息;以及基于与资源有关的信息,对雾节点设备进行管理。In a third aspect, embodiments of the present disclosure provide an electronic device. The electronic device includes: at least one processor; and a memory coupled with the at least one processor, and an instruction is stored in the memory. When the instruction is executed by the at least one processor, the electronic device executes an action, and the action includes: At the office, receiving information related to the resources that the fog node device can provide from the fog node device; and managing the fog node device based on the information related to the resource.
在一些实施例中,该动作进一步包括:响应于从终端设备接收到提供服务的请求,基于与资源有关的信息确定雾节点设备是否能够提供服务;以及响应于确定雾节点设备能够提供服务,向雾节点设备发送向终端设备提供服务的指令。In some embodiments, the action further includes: in response to receiving a request to provide a service from the terminal device, determining whether the fog node device can provide the service based on information related to the resource; and in response to determining that the fog node device can provide the service, The fog node device sends an instruction to provide services to the terminal device.
在一些实施例中,该动作进一步包括:向雾节点设备发送提供服务所需的应用程序代码。In some embodiments, the action further includes: sending application code required to provide services to the fog node device.
在第四方面,本公开的实施例提供一种通信方法。该方法包括:从雾节点设备向地址管理设备发送针对雾服务器的网络地址的请求, 雾服务器被配置为管理雾节点设备。该方法还包括从地址管理设备接收雾服务器的网络地址。该方法还包括基于网络地址,从雾节点设备向雾服务器发送与雾节点设备能够提供的资源有关的信息。In a fourth aspect, embodiments of the present disclosure provide a communication method. The method includes: sending a request for a network address of a fog server from a fog node device to an address management device, and the fog server is configured to manage the fog node device. The method also includes receiving the network address of the fog server from the address management device. The method further includes sending information related to the resources that the fog node device can provide from the fog node device to the fog server based on the network address.
在第五方面,本公开的实施例提供一种通信方法。该方法包括:在地址管理设备处,从雾节点设备接收针对雾服务器的网络地址的请求,雾服务器被配置为对雾节点设备进行管理。该方法还包括:向雾节点设备发送雾服务器的网络地址。In the fifth aspect, the embodiments of the present disclosure provide a communication method. The method includes: at an address management device, receiving a request for a network address of a fog server from a fog node device, and the fog server is configured to manage the fog node device. The method further includes: sending the network address of the fog server to the fog node device.
在第六方面,本公开的实施例提供一种通信方法。该方法包括:在雾服务器处,从雾节点设备接收与雾节点设备所能够提供的资源有关的信息。该方法还包括:基于与资源有关的信息,对雾节点设备进行管理。In the sixth aspect, the embodiments of the present disclosure provide a communication method. The method includes: at the fog server, receiving information related to the resources that the fog node device can provide from the fog node device. The method also includes: managing the fog node device based on the information related to the resource.
在第七方面,本公开的实施例提供一种计算机可读存储介质。该计算机可读存储介质包括存储于其上的程序代码,该程序代码在被装置执行时,使装置执行根据第四方面的方法。In a seventh aspect, embodiments of the present disclosure provide a computer-readable storage medium. The computer-readable storage medium includes program code stored thereon, which when executed by the device, causes the device to perform the method according to the fourth aspect.
在第八方面,本公开的实施例提供一种计算机可读存储介质。该计算机可读存储介质包括存储于其上的程序代码,该程序代码在被装置执行时,使装置执行根据第五方面的方法。In an eighth aspect, embodiments of the present disclosure provide a computer-readable storage medium. The computer-readable storage medium includes program code stored thereon, which when executed by the device, causes the device to perform the method according to the fifth aspect.
在第九方面,本公开的实施例提供一种计算机可读存储介质。该计算机可读存储介质包括存储于其上的程序代码,该程序代码在被装置执行时,使装置执行根据第六方面的方法。In a ninth aspect, embodiments of the present disclosure provide a computer-readable storage medium. The computer-readable storage medium includes a program code stored thereon, and when the program code is executed by an apparatus, the apparatus executes the method according to the sixth aspect.
应当理解,发明内容部分中所描述的内容并非旨在限定本公开实施例的关键或重要特征,亦非用于限制本公开的范围。本公开的其它特征将通过以下的描述变得容易理解。It should be understood that the content described in the content of the invention is not intended to limit the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be easily understood by the following description.
附图说明BRIEF DESCRIPTION
结合附图并参考以下详细说明,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。在附图中,相同或相似的附图标记表示相同或相似的元素,其中:With reference to the accompanying drawings and the following detailed description, the above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent. In the drawings, the same or similar reference signs indicate the same or similar elements, in which:
图1是本公开描述的实施例可以在其中被实现的通信网络的示意 图;Fig. 1 is a schematic diagram of a communication network in which embodiments described in the present disclosure can be implemented;
图2示出了根据本公开的某些实施例的通信的信令图;Figure 2 shows a signaling diagram of communication according to certain embodiments of the present disclosure;
图3示出了根据本公开的某些实施例的消息格式的示意图;Figure 3 shows a schematic diagram of a message format according to certain embodiments of the present disclosure;
图4示出了根据本公开的某些实施例的消息格式的示意图;Figure 4 shows a schematic diagram of a message format according to some embodiments of the present disclosure;
图5示出了根据本公开的某些实施例的在雾节点设备处实施的示例方法的流程图;FIG. 5 shows a flowchart of an example method implemented at a fog node device according to some embodiments of the present disclosure;
图6示出了根据本公开的某些实施例的在地址管理设备处实施的示例方法的流程图;Figure 6 shows a flowchart of an example method implemented at an address management device according to some embodiments of the present disclosure;
图7示出了根据本公开的某些实施例的在雾服务器处实施的示例方法的流程图;FIG. 7 shows a flowchart of an example method implemented at a fog server according to some embodiments of the present disclosure;
图8示出了根据本公开的某些实施例的通信设备的框图。Figure 8 shows a block diagram of a communication device according to some embodiments of the present disclosure.
在所有附图中,相同或相似参数数字表示相同或相似的元素。In all the drawings, the same or similar parameter numbers indicate the same or similar elements.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Hereinafter, embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided for Have a more thorough and complete understanding of this disclosure. It should be understood that the drawings and embodiments of the present disclosure are only used for exemplary purposes, and are not used to limit the protection scope of the present disclosure.
在此使用的术语“电路”是指以下的一项或多项:The term "circuit" as used herein refers to one or more of the following:
(a)仅硬件电路实现方式(诸如仅模拟和/或数字电路的实现方式);以及(a) Only hardware circuit implementation (such as only analog and/or digital circuit implementation); and
(b)硬件电路和软件的组合,诸如(如果适用):(i)模拟和/或数字硬件电路与软件/固件的组合,以及(ii)硬件处理器的任意部分与软件(包括一起工作以使得诸如OLT或其他计算设备等装置执行各种功能的数字信号处理器、软件和存储器);以及(b) A combination of hardware circuits and software, such as (if applicable): (i) a combination of analog and/or digital hardware circuits and software/firmware, and (ii) any part of the hardware processor and software (including working together to Digital signal processors, software and memory that enable devices such as OLT or other computing devices to perform various functions); and
(c)硬件电路和/或处理器,诸如微处理器或者微处理器的一部分,其要求软件(例如固件)用于操作,但是在不需要软件用于操作 时可以没有软件。(c) A hardware circuit and/or processor, such as a microprocessor or a part of a microprocessor, which requires software (e.g. firmware) for operation, but may not have software when it is not required for operation.
电路的定义适用于此术语在本申请中(包括任意权利要求中)的所有使用场景。作为另一示例,在此使用的术语“电路”也覆盖仅硬件电路或处理器(或多个处理器)、或者硬件电路或处理器的一部分、或者其随附软件或固件的实现方式。例如,如果适用于特定权利要求元素,术语“电路”还覆盖基带集成电路或处理器集成电路或者OLT或其他计算设备中的类似的集成电路。The definition of circuit is applicable to all usage scenarios of this term in this application (including any claims). As another example, the term "circuit" used herein also covers only a hardware circuit or a processor (or multiple processors), or a part of a hardware circuit or a processor, or an implementation of software or firmware accompanying it. For example, if applicable to specific claim elements, the term "circuitry" also covers baseband integrated circuits or processor integrated circuits or similar integrated circuits in OLT or other computing devices.
在此使用的术语“网络设备”是指能够提供小区或覆盖以使得终端设备可以通过其接入网络或者从其接收服务的任意适当实体或者设备。网络设备的示例例如包括基站。在此使用的术语“基站”(BS)可以表示节点B(NodeB或者NB)、演进节点B(eNodeB或者eNB)、gNB、远端无线电单元(RRU)、射频头(RH)、远端无线电头端(RRH)、中继器、或者诸如微微基站、毫微微基站等的低功率节点等等。The term "network device" used herein refers to any appropriate entity or device that can provide a cell or coverage so that a terminal device can access the network or receive services from it. Examples of network equipment include, for example, a base station. The term "base station" (BS) used herein can mean Node B (NodeB or NB), evolved Node B (eNodeB or eNB), gNB, remote radio unit (RRU), radio head (RH), remote radio head Terminal (RRH), repeater, or low power node such as pico base station, femto base station, etc.
在此使用的术语“终端设备”或“用户设备”(UE)是指能够与网络设备之间或者彼此之间进行无线通信的任何实体或设备。作为示例,终端设备可以包括移动终端(MT)、订户台(SS)、便携式订户台(PSS)、移动台(MS)或者接入终端(AT)、车载的上述设备、以及具有通信功能的机器或者电器等。The term "terminal device" or "user equipment" (UE) used herein refers to any entity or device capable of wireless communication with network devices or with each other. As an example, the terminal device may include a mobile terminal (MT), a subscriber station (SS), a portable subscriber station (PSS), a mobile station (MS) or an access terminal (AT), the above-mentioned equipment in a vehicle, and a machine with communication function Or electrical appliances, etc.
在此使用的术语“雾节点设备”是指能够提供本地计算资源和/或存储资源的设备。作为示例,雾节点设备可以包括路由器、交换机、接入节点、光分配节点(ODN)、网关、光线路终端(OLT)、终端设备等。The term "fog node device" as used herein refers to a device that can provide local computing resources and/or storage resources. As an example, fog node devices may include routers, switches, access nodes, optical distribution nodes (ODN), gateways, optical line terminals (OLT), terminal devices, and so on.
在此使用的术语“雾服务器”是指能够提供雾计算环境的信息并且管理雾节点设备的资源的服务器。例如,雾服务器能够针对终端设备的计算或存储请求,选择雾计算环境中能够提供相应资源的雾节点设备,以对该请求进行响应。The term “fog server” used herein refers to a server that can provide information about the fog computing environment and manage the resources of the fog node device. For example, the fog server can select a fog node device that can provide corresponding resources in the fog computing environment for a computing or storage request of a terminal device to respond to the request.
在此使用的术语“地址管理设备”是指对网络中的设备的地址进行管理的任意适当实体或者设备。作为示例,地址管理设备可以包括服务器、路由器等。The term "address management device" as used herein refers to any appropriate entity or device that manages the addresses of devices in the network. As an example, the address management device may include a server, a router, and so on.
在此使用的术语“路由器”是指支持路由协议、通过转发数据包来实现网络互连的层三设备。The term "router" used here refers to a layer three device that supports routing protocols and realizes network interconnection by forwarding data packets.
在此使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”。其他术语的相关定义将在下文描述中给出。The term "including" and its variations as used herein are open-ended includes, that is, "including but not limited to". The term "based on" is "based at least in part on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment." Related definitions of other terms will be given in the description below.
雾是“接近地面的云”,它将传统的云计算架构扩展到网络边缘。能够提供本地计算资源和/或存储资源的设备被称为“雾节点设备”,能够提供雾计算环境的信息并且管理雾节点设备的资源的服务器被称为“雾服务器”。想要成为雾节点设备的设备如何发现雾服务器以向其提供该设备所能够提供的资源的信息,成为亟待解决的问题。Fog is a "cloud close to the ground", which extends the traditional cloud computing architecture to the edge of the network. A device that can provide local computing resources and/or storage resources is called a “fog node device”, and a server that can provide information about the fog computing environment and manage the resources of the fog node device is called a “fog server”. How a device that wants to become a fog node device discovers a fog server to provide it with information about the resources that the device can provide has become an urgent problem to be solved.
为了至少部分地解决上述问题,本公开的实施例提出了一种用于实现雾计算环境中的雾节点设备配置的方案。根据本公开的雾节点设备的配置方案,雾节点设备从地址管理设备获取雾服务器的网络地址,进而基于所获取的网络地址与雾服务器进行通信。利用本公开的方案,能够实现雾节点设备的有效的自动配置。在下文中,将参考图1至图7来详细描述根据本公开的雾节点设备的配置方案。In order to at least partially solve the above-mentioned problems, the embodiments of the present disclosure propose a solution for implementing fog node device configuration in a fog computing environment. According to the configuration scheme of the fog node device of the present disclosure, the fog node device obtains the network address of the fog server from the address management device, and then communicates with the fog server based on the obtained network address. With the solution of the present disclosure, the effective automatic configuration of the fog node device can be realized. Hereinafter, the configuration scheme of the fog node device according to the present disclosure will be described in detail with reference to FIGS. 1 to 7.
图1示出了本公开的实施例可以在其中实施的示例通信系统100。通信系统100包括雾节点设备110、地址管理设备120和雾服务器130。地址管理设备120被配置为管理通信系统100中的设备的地址。雾节点设备110从地址管理设备120获取雾服务器130的网络地址,进而基于所获取的网络地址与雾服务器130进行通信。由此,雾服务器130可以管理雾节点设备110。Figure 1 illustrates an example communication system 100 in which embodiments of the present disclosure may be implemented. The communication system 100 includes a fog node device 110, an address management device 120, and a fog server 130. The address management device 120 is configured to manage the addresses of devices in the communication system 100. The fog node device 110 obtains the network address of the fog server 130 from the address management device 120, and then communicates with the fog server 130 based on the obtained network address. Thus, the fog server 130 can manage the fog node device 110.
应当理解,图1所示的雾节点设备和雾服务器的数目仅仅是出于说明之目的而无意于限制。通信系统100可以包括任意适当类型和数目的雾节点设备和雾服务器。在通信系统100包括多个雾服务器的情况下,各个雾服务器可以管理通信系统100中的不同类型的资源和任意适当数目的雾节点设备,从而实现负载均衡。It should be understood that the number of fog node devices and fog servers shown in FIG. 1 is only for illustrative purposes and is not intended to be limiting. The communication system 100 may include any suitable type and number of fog node devices and fog servers. In the case that the communication system 100 includes multiple fog servers, each fog server can manage different types of resources and any appropriate number of fog node devices in the communication system 100, thereby achieving load balancing.
雾节点设备110、地址管理设备120和雾服务器130之间可以通 信。雾节点设备110、地址管理设备120和雾服务器130之间的通信可以遵循任意适当无线通信技术以及相应的通信标准。通信技术的示例包括但不限于,长期演进(LTE)、LTE-高级(LTE-A)、宽带码分多址接入(WCDMA)、码分多址(CDMA)、全球移动通信系统(GSM)、正交频分多址(OFDM)、无线局域网(WLAN)、全球微波接入互操作性(WiMAX)、蓝牙、Zigbee技术、机器类型通信(MTC)、D2D、或者M2M等等。而且,通信可以根据任意适当通信协议来执行,这些通信协议包括但不限于,传输控制协议(TCP)/互联网协议(IP)、超文本传输协议(HTTP)、用户数据报协议(UDP)、会话描述协议(SDP)等等协议。应该注意的是,虽然本公开的实施例主要使用了UDP协议作为示例进行描述,但是这仅仅是示例性的,本公开的技术方案完全可以使用其他合适的已有或未来开发的协议。The fog node device 110, the address management device 120 and the fog server 130 can communicate with each other. The communication between the fog node device 110, the address management device 120 and the fog server 130 may follow any appropriate wireless communication technology and corresponding communication standards. Examples of communication technologies include, but are not limited to, Long Term Evolution (LTE), LTE-Advanced (LTE-A), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Global System for Mobile Communications (GSM) , Orthogonal Frequency Division Multiple Access (OFDM), Wireless Local Area Network (WLAN), Worldwide Interoperability for Microwave Access (WiMAX), Bluetooth, Zigbee technology, Machine Type Communication (MTC), D2D, or M2M, etc. Moreover, communication can be performed according to any appropriate communication protocol, which includes, but is not limited to, Transmission Control Protocol (TCP)/Internet Protocol (IP), Hypertext Transfer Protocol (HTTP), User Datagram Protocol (UDP), Session Description protocol (SDP) and other protocols. It should be noted that although the embodiments of the present disclosure mainly use the UDP protocol as an example for description, this is only exemplary, and the technical solution of the present disclosure can use other suitable existing or future developed protocols.
图2示出了根据本公开的某些实施例的雾节点设备配置过程200的信令图。过程200例如可以由如图1所示的雾节点设备110、地址管理设备120和雾服务器130来执行。为了方便讨论,对过程200的描述将结合雾节点设备110、地址管理设备120和雾服务器130进行。应当理解,过程200还可以包括未示出的附加动作和/或可以省略所示出的动作,本公开的范围在此方面不受限制。FIG. 2 shows a signaling diagram of a fog node device configuration process 200 according to some embodiments of the present disclosure. The process 200 may be executed by the fog node device 110, the address management device 120, and the fog server 130 as shown in FIG. 1, for example. To facilitate discussion, the description of the process 200 will be performed in conjunction with the fog node device 110, the address management device 120, and the fog server 130. It should be understood that the process 200 may also include additional actions not shown and/or actions shown may be omitted, and the scope of the present disclosure is not limited in this respect.
雾节点设备110向地址管理设备120发送210针对雾服务器130的网络地址的请求。雾服务器130被配置为管理雾节点设备110。The fog node device 110 sends 210 a request for the network address of the fog server 130 to the address management device 120. The fog server 130 is configured to manage the fog node device 110.
地址管理设备120可以预先被配置有雾服务器130的网络地址。由此,在从雾节点设备110接收到请求后,地址管理设备120向雾节点设备110发送220雾服务器130的网络地址。The address management device 120 may be configured with the network address of the fog server 130 in advance. Thus, after receiving the request from the fog node device 110, the address management device 120 sends 220 the network address of the fog server 130 to the fog node device 110.
在一些实施例中,雾节点设备110包括动态主机配置协议(DHCP)客户端,并且地址管理设备120包括DHCP服务器。In some embodiments, the fog node device 110 includes a Dynamic Host Configuration Protocol (DHCP) client, and the address management device 120 includes a DHCP server.
在这样的实施例中,雾节点设备110可以通过向地址管理设备120发送DHCP发现(Discover)消息来请求雾服务器130的网络地址,其中DHCP发现消息包括针对雾服务器130的网络地址的请求的指示。相应地,地址管理设备120可以通过向雾节点设备110发送DHCP回 应(Reply)消息来发送雾服务器130的网络地址。In such an embodiment, the fog node device 110 may request the network address of the fog server 130 by sending a DHCP discovery (Discover) message to the address management device 120, where the DHCP discovery message includes an indication of the request for the network address of the fog server 130 . Accordingly, the address management device 120 may send the network address of the fog server 130 by sending a DHCP reply (Reply) message to the fog node device 110.
替选地,雾节点设备110可以通过向地址管理设备120发送DHCP请求(Request)消息来请求雾服务器130的网络地址,其中DHCP请求消息包括针对雾服务器130的网络地址的请求的指示。相应地,地址管理设备120可以通过向雾节点设备110发送DHCP确认(ACK)消息来发送雾服务器130的网络地址。Alternatively, the fog node device 110 may request the network address of the fog server 130 by sending a DHCP request (Request) message to the address management device 120, where the DHCP request message includes an indication of the request for the network address of the fog server 130. Accordingly, the address management device 120 may send the network address of the fog server 130 by sending a DHCP acknowledgement (ACK) message to the fog node device 110.
在雾节点设备110通过向地址管理设备120发送DHCP发现消息或DHCP请求消息来请求雾服务器130的网络地址的实施例中,可以通过DHCP发现消息或DHCP请求消息中的预定义的“DHCP雾服务器选项”来指示针对雾服务器130的网络地址的请求。In an embodiment in which the fog node device 110 requests the network address of the fog server 130 by sending a DHCP discovery message or a DHCP request message to the address management device 120, the predefined "DHCP fog server" in the DHCP discovery message or DHCP request message may be used. Option" to indicate a request for the network address of the fog server 130.
图3示出了根据本公开的某些实施例的DHCP雾服务器选项300的示例格式。如图所示,雾服务器选项300至少包括选项代码310、选项长度320和网络地址部分330。选项代码310可以被定义为任意适当的十进制值。选项长度320指示网络地址部分330的长度。网络地址部分330用于承载一个或多个雾服务器的网络地址。在图3的示例中,假定雾服务器130采用IPv4地址,因而单个雾服务器130的网络地址的长度为4个八位字节。因此,网络地址部分330的长度为4个八位字节的整数倍。FIG. 3 shows an example format of a DHCP fog server option 300 according to some embodiments of the present disclosure. As shown in the figure, the fog server option 300 includes at least an option code 310, an option length 320, and a network address part 330. Option code 310 can be defined as any suitable decimal value. The option length 320 indicates the length of the network address part 330. The network address part 330 is used to carry the network addresses of one or more fog servers. In the example of FIG. 3, it is assumed that the fog server 130 adopts an IPv4 address, so the length of the network address of a single fog server 130 is 4 octets. Therefore, the length of the network address portion 330 is an integer multiple of 4 octets.
如前所述,在一些实施例中,通信系统100可以包括多个雾服务器,分别被配置为不同类型的资源。在这样的实施例中,地址管理设备120可以向雾节点设备110提供多个雾服务器中的每一个雾服务器的网络地址。例如,在图3的示例中,地址管理设备120可以向网络地址部分330中添加多个雾服务器的网络地址。As mentioned above, in some embodiments, the communication system 100 may include multiple fog servers, each configured as different types of resources. In such an embodiment, the address management device 120 may provide the fog node device 110 with the network address of each of the fog servers. For example, in the example of FIG. 3, the address management device 120 may add the network addresses of multiple fog servers to the network address part 330.
在一些实施例中,在接收到多个雾服务器的网络地址后,雾节点设备110可以基于自身能够提供的资源来选择多个雾服务器之一以进行通信,从而使雾节点设备110的资源得到最佳利用。In some embodiments, after receiving the network addresses of multiple fog servers, the fog node device 110 may select one of the multiple fog servers to communicate based on the resources it can provide, so that the resources of the fog node device 110 can be obtained. Best use.
在其他实施例中,在接收到多个雾服务器的网络地址后,雾节点设备110可以逐个尝试与多个雾服务器中的每一个雾服务器进行通信。In other embodiments, after receiving the network addresses of multiple fog servers, the fog node device 110 may try to communicate with each of the multiple fog servers one by one.
此外,由于越来越多的物联网设备将连接到互联网,因此可能没 有足够的IPv4地址供将来使用。为此,采用长度为128位(16字节)的IPv6地址来解决IPv4地址耗尽的问题。与IPv4地址相比,IPv6的地址空间大大增加,可以满足未来对网络寻址的需求。在雾服务器130采用IPv6地址的情况下,DHCP雾服务器选项可以采用如图4所示的示例格式。In addition, as more and more IoT devices will be connected to the Internet, there may not be enough IPv4 addresses for future use. For this reason, an IPv6 address with a length of 128 bits (16 bytes) is used to solve the problem of IPv4 address exhaustion. Compared with IPv4 addresses, the address space of IPv6 is greatly increased, which can meet the future demand for network addressing. In the case where the fog server 130 adopts an IPv6 address, the DHCP fog server option may adopt the example format shown in FIG. 4.
如图4所示,雾服务器选项400至少包括选项代码410、选项长度420和网络地址部分430。选项代码410可以被定义为任意适当的十进制值。选项长度420指示网络地址部分430的长度。网络地址部分430用于承载一个或多个雾服务器的网络地址。在图4的示例中,假定雾服务器140采用IPv6地址,因而单个雾服务器130的网络地址的长度为16个八位字节。因此,网络地址部分430的长度为16个八位字节的整数倍。As shown in FIG. 4, the fog server option 400 includes at least an option code 410, an option length 420, and a network address part 430. Option code 410 can be defined as any suitable decimal value. The option length 420 indicates the length of the network address part 430. The network address part 430 is used to carry the network addresses of one or more fog servers. In the example of FIG. 4, it is assumed that the fog server 140 adopts an IPv6 address, so the length of the network address of a single fog server 130 is 16 octets. Therefore, the length of the network address portion 430 is an integer multiple of 16 octets.
在通信系统100包括多个雾服务器的实施例中,地址管理设备120可以向网络地址部分430中添加多个雾服务器中的每一个雾服务器的网络地址。In an embodiment in which the communication system 100 includes a plurality of fog servers, the address management device 120 may add the network address of each of the plurality of fog servers to the network address part 430.
可以理解,DHCP客户端可以利用参数请求列表选项(Parameter Request List Option)来向DHCP服务器请求指定的配置参数的值。配置参数的列表被规定为n个八位字节(n为自然数),其中每个八位字节为预定义的DHCP选项的选项代码。因此,包括DHCP客户端的雾节点设备110可以将DHCP雾服务器选项的选项代码添加到参数请求列表选项中,并且将该参数请求列表选项添加到DHCP发现消息或DHCP请求消息中,以便向包括DHCP服务器的地址管理设备120请求雾服务器130的网络地址。例如,雾节点设备110可以将图3所示的DHCP雾服务器选项300的选项代码310或图4所示的DHCP雾服务器选项400的选项代码410添加到参数请求列表选项中,并且将该参数请求列表选项添加到DHCP发现消息或DHCP请求消息中,以便向地址管理设备120请求雾服务器130的网络地址。It can be understood that the DHCP client can use the Parameter Request List Option (Parameter Request List Option) to request the value of the specified configuration parameter from the DHCP server. The list of configuration parameters is specified as n octets (n is a natural number), where each octet is an option code of a predefined DHCP option. Therefore, the fog node device 110 including the DHCP client can add the option code of the DHCP fog server option to the parameter request list option, and add the parameter request list option to the DHCP discovery message or the DHCP request message, so as to include the DHCP server The address management device 120 requests the network address of the fog server 130. For example, the fog node device 110 may add the option code 310 of the DHCP fog server option 300 shown in FIG. 3 or the option code 410 of the DHCP fog server option 400 shown in FIG. 4 to the parameter request list option, and request the parameter The list option is added to the DHCP discovery message or the DHCP request message in order to request the address management device 120 for the network address of the fog server 130.
应当理解,雾节点设备110基于DHCP协议来向地址管理设备120请求雾服务器130的网络地址仅是示例,无意于限制本公开的范围。 取决于具体实现,雾节点设备110可以基于任意适当的通信协议来向地址管理设备120请求雾服务器130的网络地址。例如,在地址管理设备120包括路由器的情况下,雾节点设备110可以通过向地址管理设备120发送路由请求(Router Solicitation,RS)消息来请求雾服务器130的网络地址,该路由请求消息包括针对雾服务器130的网络地址的请求的指示。作为响应,地址管理设备120可以通过向雾节点设备110发送路由器公告(Router Advertisement,RA)消息来提供所请求的网络地址。It should be understood that the fog node device 110 requesting the address management device 120 for the network address of the fog server 130 based on the DHCP protocol is only an example, and is not intended to limit the scope of the present disclosure. Depending on the specific implementation, the fog node device 110 may request the network address of the fog server 130 from the address management device 120 based on any appropriate communication protocol. For example, in the case where the address management device 120 includes a router, the fog node device 110 may request the network address of the fog server 130 by sending a route request (Router Solicitation, RS) message to the address management device 120. An indication of the request for the network address of the server 130. In response, the address management device 120 may provide the requested network address by sending a router advertisement (RA) message to the fog node device 110.
继续参考图2,基于从地址管理设备120获取的雾服务器130的网络地址,雾节点设备110向雾服务器130发送230与雾节点设备110能够提供的资源有关的信息。Continuing to refer to FIG. 2, based on the network address of the fog server 130 obtained from the address management device 120, the fog node device 110 sends 230 to the fog server 130 information related to the resources that the fog node device 110 can provide.
在一些实施例中,雾节点设备110能够提供的资源可以包括但不限于:存储资源、计算资源、以及雾节点设备110能够提供的服务等。雾节点设备110能够提供的服务可以包括但不限于:特定区域的视频监控、视频转换、视频压缩、环境监控、防火墙功能等。例如,在雾节点设备110能够提供的服务包括特定区域的视频监控服务的实施例中,与雾节点设备110能够提供的资源有关的信息可以包括雾节点设备110的物理位置信息和雾节点设备110的视频监控设备(例如摄像头)的信息。In some embodiments, the resources that the fog node device 110 can provide may include, but are not limited to: storage resources, computing resources, and services that the fog node device 110 can provide. The services that the fog node device 110 can provide may include, but are not limited to: video surveillance, video conversion, video compression, environmental monitoring, firewall functions, etc. in a specific area. For example, in an embodiment where the services that the fog node device 110 can provide include video surveillance services in a specific area, the information related to the resources that the fog node device 110 can provide may include the physical location information of the fog node device 110 and the fog node device 110 Information about video surveillance equipment (such as cameras).
在接收到雾节点设备110能够提供的资源有关的信息后,雾服务器130可以在本地记录雾节点设备110的信息,以便对雾节点设备110的资源进行管理240。After receiving the information about the resources that the fog node device 110 can provide, the fog server 130 may record the information of the fog node device 110 locally, so as to manage 240 the resources of the fog node device 110.
在一些实施例中,雾服务器130从终端设备接收到提供服务的请求后,可以基于与雾节点设备110能够提供的资源有关的信息,确定250雾节点设备110是否能够提供该服务。如果雾服务器130确定雾节点设备110能够提供该服务,则雾服务器130向雾节点设备110发送260向终端设备提供服务的指令。雾节点设备110接收到该指令后,利用自身能够提供的资源向终端设备提供该服务。在向终端设备提供该服务后,雾节点设备110向雾服务器130发送270报告,以指示指 令的完成。应当理解,雾节点设备能够提供的服务也包括雾节点设备能够提供的功能,例如特定区域的视频监控功能。就此而言,雾服务器130向雾节点设备110发送的提供服务的指令也可以包括使雾节点设备110提供特定功能的指令。In some embodiments, after the fog server 130 receives the request to provide the service from the terminal device, it may determine 250 whether the fog node device 110 can provide the service based on the information related to the resources that the fog node device 110 can provide. If the fog server 130 determines that the fog node device 110 can provide the service, the fog server 130 sends 260 an instruction to provide the service to the terminal device to the fog node device 110. After the fog node device 110 receives the instruction, it uses the resources it can provide to provide the service to the terminal device. After providing the service to the terminal device, the fog node device 110 sends 270 a report to the fog server 130 to indicate the completion of the instruction. It should be understood that the services that the fog node device can provide also include the functions that the fog node device can provide, such as the video surveillance function of a specific area. In this regard, the service provision instruction sent by the fog server 130 to the fog node device 110 may also include an instruction to enable the fog node device 110 to provide a specific function.
在一些实施例中,为了使雾节点设备110能够提供该服务,雾服务器130可以向雾节点设备110推送提供该服务所需的应用程序代码。雾节点设备110接收到该应用程序代码后,通过运行该应用程序代码来提供该服务。在这样的实施例中,雾服务器130可以将提供服务的指令和提供该服务所需的应用程序代码并行地或顺序地发送到雾节点设备110。In some embodiments, in order to enable the fog node device 110 to provide the service, the fog server 130 may push to the fog node device 110 the application code required to provide the service. After the fog node device 110 receives the application code, it provides the service by running the application code. In such an embodiment, the fog server 130 may send the instruction to provide the service and the application code required to provide the service to the fog node device 110 in parallel or sequentially.
图5示出了根据本公开的实施例的在雾节点设备处实施的方法500的流程图。为了描述方便,下面结合图1,以在图1所示的雾节点设备110处实施为例,对方法500进行描述。应当理解的是,方法500还可以包括未示出的附加步骤和/或可以省略所示出的步骤,本公开的范围在此方面不受限制。FIG. 5 shows a flowchart of a method 500 implemented at a fog node device according to an embodiment of the present disclosure. For the convenience of description, the method 500 will be described below with reference to FIG. 1 and taking implementation at the fog node device 110 shown in FIG. 1 as an example. It should be understood that the method 500 may further include additional steps not shown and/or the shown steps may be omitted, and the scope of the present disclosure is not limited in this respect.
在框510,从雾节点设备110向地址管理设备120发送针对雾服务器130的网络地址的请求,雾服务器130被配置为管理雾节点设备110。In block 510, a request for the network address of the fog server 130 is sent from the fog node device 110 to the address management device 120, and the fog server 130 is configured to manage the fog node device 110.
在框520,从地址管理设备120接收雾服务器130的网络地址。At block 520, the network address of the fog server 130 is received from the address management device 120.
在框530,基于网络地址,从雾节点设备110向雾服务器130发送与雾节点设备110能够提供的资源有关的信息。In block 530, based on the network address, information related to the resources that the fog node device 110 can provide is sent from the fog node device 110 to the fog server 130.
在一些实施例中,雾节点设备110包括动态主机配置协议DHCP客户端,并且地址管理设备120包括DHCP服务器。In some embodiments, the fog node device 110 includes a Dynamic Host Configuration Protocol DHCP client, and the address management device 120 includes a DHCP server.
在一些实施例中,向地址管理设备120发送针对网络地址的请求包括:向地址管理设备120发送DHCP发现消息或DHCP请求消息,DHCP发现消息和DHCP请求消息各自包括针对网络地址的请求的指示。In some embodiments, sending a request for a network address to the address management device 120 includes sending a DHCP discovery message or a DHCP request message to the address management device 120, the DHCP discovery message and the DHCP request message each including an indication of the request for the network address.
在一些实施例中,地址管理设备120包括路由器。In some embodiments, the address management device 120 includes a router.
在一些实施例中,向地址管理设备120发送针对网络地址的请 求包括:向地址管理设备120发送路由请求消息,路由请求消息包括针对网络地址的请求的指示。In some embodiments, sending a request for a network address to the address management device 120 includes sending a route request message to the address management device 120, and the route request message includes an indication of the request for the network address.
在一些实施例中,方法500进一步包括:从雾服务器130接收向终端设备提供服务的指令,服务基于与雾节点设备110所能够提供的资源的信息被确定;以及利用资源向终端设备提供服务。In some embodiments, the method 500 further includes: receiving an instruction to provide a service to the terminal device from the fog server 130, and the service is determined based on information about the resource that the fog node device 110 can provide; and using the resource to provide a service to the terminal device.
在一些实施例中,向终端设备提供服务包括:从雾服务器130接收提供服务所需的应用程序代码;以及通过运行应用程序代码来提供服务。In some embodiments, providing a service to a terminal device includes: receiving application code required to provide the service from the fog server 130; and providing the service by running the application code.
图6示出了根据本公开的实施例的在地址管理设备处实施的方法600的流程图。为了描述方便,下面结合图1,以在图1所示的地址管理设备120处实施为例,对方法600进行描述。应当理解的是,方法600还可以包括未示出的附加步骤和/或可以省略所示出的步骤,本公开的范围在此方面不受限制。FIG. 6 shows a flowchart of a method 600 implemented at an address management device according to an embodiment of the present disclosure. For the convenience of description, the method 600 will be described below with reference to FIG. 1 and taking the implementation at the address management device 120 shown in FIG. 1 as an example. It should be understood that the method 600 may further include additional steps not shown and/or the shown steps may be omitted, and the scope of the present disclosure is not limited in this respect.
在框610,地址管理设备120从雾节点设备110接收针对雾服务器130的网络地址的请求,雾服务器130被配置为对雾节点设备110进行管理。In block 610, the address management device 120 receives a request for the network address of the fog server 130 from the fog node device 110, and the fog server 130 is configured to manage the fog node device 110.
在框620,地址管理设备120向雾节点设备110发送雾服务器130的网络地址。In block 620, the address management device 120 sends the network address of the fog server 130 to the fog node device 110.
在一些实施例中,雾节点设备110包括动态主机配置协议DHCP客户端,并且地址管理设备120包括DHCP服务器。In some embodiments, the fog node device 110 includes a Dynamic Host Configuration Protocol DHCP client, and the address management device 120 includes a DHCP server.
在一些实施例中,从雾节点设备110接收针对网络地址的请求包括:从雾节点设备110接收DHCP发现消息或DHCP请求消息,DHCP发现消息和DHCP请求消息各自包括针对网络地址的请求的指示。In some embodiments, receiving a request for a network address from the fog node device 110 includes: receiving a DHCP discovery message or a DHCP request message from the fog node device 110, the DHCP discovery message and the DHCP request message each including an indication of the request for the network address.
在一些实施例中,地址管理设备120包括路由器。In some embodiments, the address management device 120 includes a router.
在一些实施例中,从雾节点设备110接收针对网络地址的请求包括:从雾节点设备110接收路由请求消息,路由请求消息包括针对网络地址的请求的指示。In some embodiments, receiving a request for a network address from the fog node device 110 includes: receiving a routing request message from the fog node device 110, the routing request message including an indication of the request for the network address.
图7示出了根据本公开的实施例的在雾服务器处实施的方法700 的流程图。为了描述方便,下面结合图1,以在图1所示的雾服务器130处实施为例,对方法700进行描述。应当理解的是,方法700还可以包括未示出的附加步骤和/或可以省略所示出的步骤,本公开的范围在此方面不受限制。FIG. 7 shows a flowchart of a method 700 implemented at a fog server according to an embodiment of the present disclosure. For the convenience of description, the method 700 will be described below with reference to FIG. 1 and taking the implementation at the fog server 130 shown in FIG. 1 as an example. It should be understood that the method 700 may further include additional steps not shown and/or the shown steps may be omitted, and the scope of the present disclosure is not limited in this respect.
在框710,雾服务器130从雾节点设备110接收与雾节点设备110所能够提供的资源有关的信息。In block 710, the fog server 130 receives information related to the resources that the fog node device 110 can provide from the fog node device 110.
在框720,基于与资源有关的信息,对雾节点设备110进行管理。In block 720, the fog node device 110 is managed based on the information related to the resource.
在一些实施例中,方法700进一步包括:响应于从终端设备接收到提供服务的请求,基于与资源有关的信息确定雾节点设备110是否能够提供服务;以及响应于确定雾节点设备110能够提供服务,向雾节点设备110发送向终端设备提供服务的指令。In some embodiments, the method 700 further includes: in response to receiving a request to provide a service from the terminal device, determining whether the fog node device 110 can provide the service based on information related to the resource; and in response to determining that the fog node device 110 can provide the service , Send an instruction to provide service to the terminal device to the fog node device 110.
在一些实施例中,方法700进一步包括:向雾节点设备110发送提供服务所需的应用程序代码。In some embodiments, the method 700 further includes: sending to the fog node device 110 application program codes required to provide services.
应理解,上文结合图1到图4描述的雾节点设备110、地址管理设备120和雾服务器130所执行的操作和相关的特征同样适用于方法500、600和700,并且具有同样的效果,具体细节不再赘述。It should be understood that the operations and related features performed by the fog node device 110, the address management device 120, and the fog server 130 described above in conjunction with FIGS. 1 to 4 are also applicable to the methods 500, 600, and 700, and have the same effect. The specific details will not be repeated.
在一些实施例中,能够执行方法500的装置(例如雾节点设备110)可以包括用于执行方法500各个步骤的相应部件。这些部件可以任意适当方式实现。例如,可以通过电路或者软件模块来实现。In some embodiments, a device capable of executing the method 500 (for example, the fog node device 110) may include corresponding components for executing each step of the method 500. These components can be implemented in any suitable way. For example, it can be implemented by a circuit or a software module.
在一些实施例中,该装置包括:用于从雾节点设备向地址管理设备发送针对雾服务器的网络地址的请求的部件,雾服务器被配置为管理雾节点设备;用于从地址管理设备接收雾服务器的网络地址的部件;以及用于基于网络地址,从雾节点设备向雾服务器发送与雾节点设备能够提供的资源有关的信息的部件。In some embodiments, the apparatus includes: means for sending a request for the network address of the fog server from the fog node device to the address management device, the fog server is configured to manage the fog node device; and for receiving fog from the address management device A component for the network address of the server; and a component for sending information about the resources that the fog node device can provide from the fog node device to the fog server based on the network address.
在一些实施例中,雾节点设备包括动态主机配置协议DHCP客户端,并且地址管理设备包括DHCP服务器。In some embodiments, the fog node device includes a Dynamic Host Configuration Protocol DHCP client, and the address management device includes a DHCP server.
在一些实施例中,用于向地址管理设备发送针对网络地址的请求的部件包括:向地址管理设备发送DHCP发现消息或DHCP请求消 息,DHCP发现消息和DHCP请求消息各自包括针对网络地址的请求的指示。In some embodiments, the means for sending a request for a network address to an address management device includes: sending a DHCP discovery message or a DHCP request message to the address management device. The DHCP discovery message and the DHCP request message each include a request for a network address. Instructions.
在一些实施例中,地址管理设备包括路由器。In some embodiments, the address management device includes a router.
在一些实施例中,用于向地址管理设备发送针对网络地址的请求的部件包括:向地址管理设备发送路由请求消息,路由请求消息包括针对网络地址的请求的指示。In some embodiments, the means for sending a request for a network address to the address management device includes: sending a route request message to the address management device, the route request message including an indication of the request for the network address.
在一些实施例中,该装置进一步包括:用于从雾服务器接收向终端设备提供服务的指令的部件,服务基于与雾节点设备所能够提供的资源的信息被确定;以及用于利用资源向终端设备提供服务的部件。In some embodiments, the apparatus further includes: a component for receiving an instruction to provide a service to a terminal device from the fog server, and the service is determined based on information about the resource that the fog node device can provide; and for using the resource to the terminal device. The parts of the equipment that provide services.
在一些实施例中,用于向终端设备提供服务的部件包括:用于从雾服务器接收提供服务所需的应用程序代码的部件;以及用于通过运行应用程序代码来提供服务的部件。In some embodiments, the components used to provide services to the terminal device include: components used to receive application code required to provide services from the fog server; and components used to provide services by running the application code.
在一些实施例中,能够执行方法600的装置(例如地址管理设备120)可以包括用于执行方法600各个步骤的相应部件。这些部件可以任意适当方式实现。例如,可以通过电路或者软件模块来实现。In some embodiments, a device capable of executing the method 600 (for example, the address management device 120) may include corresponding components for executing each step of the method 600. These components can be implemented in any suitable way. For example, it can be implemented by a circuit or a software module.
在一些实施例中,该装置包括:用于在地址管理设备处,从雾节点设备接收针对雾服务器的网络地址的请求的部件,雾服务器被配置为对雾节点设备进行管理;以及用于向雾节点设备发送雾服务器的网络地址的部件。In some embodiments, the apparatus includes: means for receiving a request for the network address of the fog server from the fog node device at the address management device, the fog server being configured to manage the fog node device; and The fog node device sends the network address of the fog server.
在一些实施例中,雾节点设备包括动态主机配置协议DHCP客户端,并且地址管理设备包括DHCP服务器。In some embodiments, the fog node device includes a Dynamic Host Configuration Protocol DHCP client, and the address management device includes a DHCP server.
在一些实施例中,用于从雾节点设备接收针对网络地址的请求的部件包括:用于从雾节点设备接收DHCP发现消息或DHCP请求消息,DHCP发现消息和DHCP请求消息各自包括针对网络地址的请求的指示的部件。In some embodiments, the means for receiving a request for a network address from the fog node device includes: receiving a DHCP discovery message or a DHCP request message from the fog node device, the DHCP discovery message and the DHCP request message each including a network address The indicated part of the request.
在一些实施例中,地址管理设备包括路由器。In some embodiments, the address management device includes a router.
在一些实施例中,用于从雾节点设备接收针对网络地址的请求的部件包括:用于从雾节点设备接收路由请求消息,路由请求消息包括针对网络地址的请求的指示的部件。In some embodiments, the means for receiving a request for a network address from the fog node device includes: a means for receiving a route request message from the fog node device, the route request message including an indication of the request for the network address.
在一些实施例中,能够执行方法700的装置(例如雾服务器130)可以包括用于执行方法700各个步骤的相应部件。这些部件可以任意适当方式实现。例如,可以通过电路或者软件模块来实现。In some embodiments, a device capable of executing the method 700 (for example, the fog server 130) may include corresponding components for executing each step of the method 700. These components can be implemented in any suitable way. For example, it can be implemented by a circuit or a software module.
在一些实施例中,该装置包括:用于在雾服务器处,从雾节点设备接收与雾节点设备所能够提供的资源有关的信息的部件;以及用于基于与资源有关的信息,对雾节点设备进行管理的部件。In some embodiments, the apparatus includes: a component for receiving information related to resources that the fog node device can provide from the fog node device at the fog server; The part that the device manages.
在一些实施例中,该装置进一步包括:用于响应于从终端设备接收到提供服务的请求,基于与资源有关的信息确定雾节点设备是否能够提供服务的部件;以及用于响应于确定雾节点设备能够提供服务,向雾节点设备发送向终端设备提供服务的指令的部件。In some embodiments, the apparatus further includes: in response to receiving a request to provide a service from the terminal device, a component for determining whether the fog node device can provide the service based on information related to the resource; and in response to determining the fog node A component that can provide services to the fog node device and send instructions to provide services to the terminal device.
在一些实施例中,该装置进一步包括:用于向雾节点设备发送提供服务所需的应用程序代码的部件。In some embodiments, the apparatus further includes: a component for sending application code required to provide services to the fog node device.
图8示出了适合实现本公开的实施例的电子设备800的框图。设备800可以用来实现本公开的实施例中的雾节点设备、地址管理设备或雾服务器,例如图1所示的雾节点设备110、地址管理设备120和雾服务器130。FIG. 8 shows a block diagram of an electronic device 800 suitable for implementing embodiments of the present disclosure. The device 800 may be used to implement the fog node device, address management device, or fog server in the embodiments of the present disclosure, such as the fog node device 110, the address management device 120, and the fog server 130 shown in FIG. 1.
如图8中的示例所示,电子设备800可以包括一个或多个处理器810、耦合到处理器810的一个或多个存储器820、以及耦合到处理器810的一个或多个发送器和/或接收器(TX/RX)840。As shown in the example in FIG. 8, the electronic device 800 may include one or more processors 810, one or more memories 820 coupled to the processor 810, and one or more transmitters coupled to the processor 810 and/ Or the receiver (TX/RX) 840.
处理器810可以是适用于本地技术环境的任何合适的类型,并且可以包括但不限于通用计算机、专用计算机、微控制器、数字信号控制器(DSP)以及基于多核处理器架构的处理器中的一种或多种。电子设备800可以具有多个处理器,诸如在时间上从动于与主处理器同步的时钟的专用集成电路芯片。The processor 810 may be of any suitable type suitable for the local technical environment, and may include, but is not limited to, general-purpose computers, special-purpose computers, microcontrollers, digital signal controllers (DSP), and processors based on multi-core processor architecture. One or more. The electronic device 800 may have multiple processors, such as an application specific integrated circuit chip that is time-driven by a clock synchronized with the main processor.
存储器820可以是适用于本地技术环境的任何合适的类型,并且可以使用任何合适的数据存储技术来实现,作为非限制示例,诸如非瞬态计算机可读存储介质、基于半导体的存储器件、磁存储器件和系统、光存储器件和系统、固定存储器和可移除存储器。The memory 820 may be of any suitable type suitable for the local technical environment, and may be implemented using any suitable data storage technology, as non-limiting examples, such as non-transitory computer-readable storage media, semiconductor-based storage devices, magnetic memory Components and systems, optical storage devices and systems, fixed storage and removable storage.
存储器820存储程序830的至少一部分。TX/RX 840用于双向 通信。TX/RX 840具有至少一个天线以促进通信,但实践中该设备可以具有若干个天线。通信接口可以表示与其它网元通信所需的任何接口。The memory 820 stores at least a part of the program 830. TX/RX 840 is used for two-way communication. The TX/RX 840 has at least one antenna to facilitate communication, but in practice the device may have several antennas. The communication interface can represent any interface required for communication with other network elements.
程序830可以包括程序指令,该程序指令在由相关联的处理器810执行时使得设备800能够根据本公开实施例进行操作,如参照图1至图7所述的那样。也就是说,本公开的实施例可以通过可由电子设备800的处理器810执行的计算机软件实现,或者通过硬件实现,或者通过软件和硬件的结合实现。The program 830 may include program instructions that, when executed by the associated processor 810, enable the device 800 to operate according to an embodiment of the present disclosure, as described with reference to FIGS. 1 to 7. In other words, the embodiments of the present disclosure may be implemented by computer software executable by the processor 810 of the electronic device 800, or by hardware, or by a combination of software and hardware.
一般而言,本公开的各种示例实施例可以在硬件或专用电路、软件、逻辑,或其任何组合中实施。某些方面可以在硬件中实施,而其他方面可以在可以由控制器、微处理器或其他计算设备执行的固件或软件中实施。当本公开的实施例的各方面被图示或描述为框图、流程图或使用某些其他图形表示时,将理解此处描述的方框、装置、系统、技术或方法可以作为非限制性的示例在硬件、软件、固件、专用电路或逻辑、通用硬件或控制器或其他计算设备,或其某些组合中实施。可用来实现本公开实施例的硬件器件的示例包括但不限于:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准品(ASSP)、片上系统(SOC)、复杂可编程逻辑器件(CPLD),等等。In general, the various exemplary embodiments of the present disclosure may be implemented in hardware or special purpose circuits, software, logic, or any combination thereof. Certain aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device. When various aspects of the embodiments of the present disclosure are illustrated or described as block diagrams, flowcharts, or using some other graphical representation, it will be understood that the blocks, devices, systems, techniques, or methods described herein can be regarded as non-limiting Examples are implemented in hardware, software, firmware, dedicated circuits or logic, general-purpose hardware or controllers or other computing devices, or some combination thereof. Examples of hardware devices that can be used to implement the embodiments of the present disclosure include, but are not limited to: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), etc.
作为示例,本公开的实施例可以在机器可执行指令的上下文中被描述,机器可执行指令诸如包括在目标的真实或者虚拟处理器上的器件中执行的程序模块中。一般而言,程序模块包括例程、程序、库、对象、类、组件、数据结构等,其执行特定的任务或者实现特定的抽象数据结构。在各实施例中,程序模块的功能可以在所描述的程序模块之间合并或者分割。用于程序模块的机器可执行指令可以在本地或者分布式设备内执行。在分布式设备中,程序模块可以位于本地和远程存储介质二者中。As an example, the embodiments of the present disclosure may be described in the context of machine-executable instructions, such as included in program modules executed in devices on a target's real or virtual processor. Generally speaking, program modules include routines, programs, libraries, objects, classes, components, data structures, etc., which perform specific tasks or implement specific abstract data structures. In various embodiments, the functions of the program modules may be combined or divided among the described program modules. The machine executable instructions for the program modules can be executed in local or distributed devices. In distributed devices, program modules can be located in both local and remote storage media.
用于实现本公开的方法的计算机程序代码可以用一种或多种编程语言编写。这些计算机程序代码可以提供给通用计算机、专用计算机或其他可编程的数据处理装置的处理器,使得程序代码在被计算 机或其他可编程的数据处理装置执行的时候,引起在流程图和/或框图中规定的功能/操作被实施。程序代码可以完全在计算机上、部分在计算机上、作为独立的软件包、部分在计算机上且部分在远程计算机上或完全在远程计算机或服务器上执行。The computer program code used to implement the method of the present disclosure can be written in one or more programming languages. These computer program codes can be provided to the processors of general-purpose computers, special-purpose computers, or other programmable data processing devices, so that when the program codes are executed by the computer or other programmable data processing devices, they will cause changes in the flowcharts and/or block diagrams. The functions/operations specified in are implemented. The program code can be executed entirely on a computer, partly on a computer, as a stand-alone software package, partly on a computer and partly on a remote computer, or entirely on a remote computer or server.
在本公开的上下文中,机器可读介质可以是包含或存储用于或有关于指令执行系统、装置或设备的程序的任何有形介质。机器可读介质可以是机器可读信号介质或机器可读存储介质。机器可读介质可以包括但不限于电子的、磁的、光学的、电磁的、红外的或半导体系统、装置或设备,或其任意合适的组合。机器可读存储介质的更详细示例包括带有一根或多根导线的电气连接、便携式计算机磁盘、硬盘、随机存储存取器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或闪存)、光存储设备、磁存储设备,或其任意合适的组合。In the context of the present disclosure, a machine-readable medium may be any tangible medium that contains or stores a program for or related to an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination thereof. More detailed examples of machine-readable storage media include electrical connections with one or more wires, portable computer disks, hard disks, random memory access (RAM), read-only memory (ROM), erasable programmable read-only Memory (EPROM or flash memory), optical storage device, magnetic storage device, or any suitable combination thereof.
另外,尽管操作以特定顺序被描绘,但这并不应该理解为要求此类操作以示出的特定顺序或以相继顺序完成,或者执行所有图示的操作以获取期望结果。在某些情况下,多任务或并行处理会是有益的。同样地,尽管上述讨论包含了某些特定的实施细节,但这并不应解释为限制任何发明或权利要求的范围,而应解释为对可以针对特定发明的特定实施例的描述。本说明书中在分开的实施例的上下文中描述的某些特征也可以整合实施在单个实施例中。反之,在单个实施例的上下文中描述的各种特征也可以分离地在多个实施例或在任意合适的子组合中实施。In addition, although the operations are depicted in a specific order, this should not be understood as requiring such operations to be completed in the specific order shown or in a sequential order, or to perform all illustrated operations to obtain desired results. In some cases, multitasking or parallel processing can be beneficial. Likewise, although the above discussion contains certain specific implementation details, this should not be construed as limiting the scope of any invention or claims, but as a description of specific embodiments that can be directed to specific inventions. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
尽管已经以特定于结构特征和/或方法动作的语言描述了主题,但是应当理解,所附权利要求中限定的主题并不限于上文描述的特定特征或动作。相反,上文描述的特定特征和动作是作为实现权利要求的示例形式而被公开的。Although the subject matter has been described in language specific to structural features and/or method actions, it should be understood that the subject matter defined in the appended claims is not limited to the specific features or actions described above. Rather, the specific features and actions described above are disclosed as example forms for implementing the claims.

Claims (33)

  1. 一种电子设备,包括:An electronic device, including:
    至少一个处理器;以及At least one processor; and
    与所述至少一个处理器耦合的存储器,所述存储器中存储有指令,所述指令在被所述至少一个处理器执行时,使得所述电子设备执行动作,所述动作包括:A memory coupled to the at least one processor, and the memory stores instructions that, when executed by the at least one processor, cause the electronic device to perform actions, and the actions include:
    从雾节点设备向地址管理设备发送针对雾服务器的网络地址的请求,所述雾服务器被配置为管理所述雾节点设备;Sending a request for the network address of the fog server from the fog node device to an address management device, the fog server being configured to manage the fog node device;
    从所述地址管理设备接收所述雾服务器的所述网络地址;以及Receiving the network address of the fog server from the address management device; and
    基于所述网络地址,从所述雾节点设备向所述雾服务器发送与所述雾节点设备能够提供的资源有关的信息。Based on the network address, information related to the resources that the fog node device can provide is sent from the fog node device to the fog server.
  2. 根据权利要求1所述的设备,其中所述雾节点设备包括动态主机配置协议DHCP客户端,并且所述地址管理设备包括DHCP服务器。The device according to claim 1, wherein the fog node device includes a Dynamic Host Configuration Protocol DHCP client, and the address management device includes a DHCP server.
  3. 根据权利要求2所述的设备,其中向所述地址管理设备发送针对所述网络地址的所述请求包括:The device according to claim 2, wherein sending the request for the network address to the address management device comprises:
    向所述地址管理设备发送DHCP发现消息或DHCP请求消息,所述DHCP发现消息和所述DHCP请求消息各自包括针对所述网络地址的所述请求的指示。Sending a DHCP discovery message or a DHCP request message to the address management device, where the DHCP discovery message and the DHCP request message each include an indication of the request for the network address.
  4. 根据权利要求1所述的设备,其中所述地址管理设备包括路由器。The device of claim 1, wherein the address management device includes a router.
  5. 根据权利要求4所述的设备,其中向所述地址管理设备发送针对所述网络地址的所述请求包括:The device according to claim 4, wherein sending the request for the network address to the address management device comprises:
    向所述地址管理设备发送路由请求消息,所述路由请求消息包括针对所述网络地址的所述请求的指示。Send a route request message to the address management device, where the route request message includes an indication of the request for the network address.
  6. 根据权利要求1所述的设备,其中所述动作进一步包括:The device of claim 1, wherein the action further comprises:
    从所述雾服务器接收向终端设备提供服务的指令,所述服务基于与所述雾节点设备所能够提供的所述资源的所述信息被确定;以及Receiving an instruction to provide a service to a terminal device from the fog server, the service being determined based on the information about the resource that the fog node device can provide; and
    利用所述资源向所述终端设备提供所述服务。The resource is used to provide the service to the terminal device.
  7. 根据权利要求6所述的设备,其中向所述终端设备提供所述服务包括:The device according to claim 6, wherein providing the service to the terminal device comprises:
    从所述雾服务器接收提供所述服务所需的应用程序代码;以及Receiving the application code required to provide the service from the fog server; and
    通过运行所述应用程序代码来提供所述服务。The service is provided by running the application code.
  8. 一种电子设备,包括:An electronic device, including:
    至少一个处理器;以及At least one processor; and
    与所述至少一个处理器耦合的存储器,所述存储器中存储有指令,所述指令在被所述至少一个处理器执行时,使得所述电子设备执行动作,所述动作包括:A memory coupled to the at least one processor, and the memory stores instructions that, when executed by the at least one processor, cause the electronic device to perform actions, and the actions include:
    在地址管理设备处,从雾节点设备接收针对雾服务器的网络地址的请求,所述雾服务器被配置为对所述雾节点设备进行管理;以及At the address management device, receiving a request for the network address of the fog server from the fog node device, the fog server being configured to manage the fog node device; and
    向所述雾节点设备发送所述雾服务器的所述网络地址。Sending the network address of the fog server to the fog node device.
  9. 根据权利要求8所述的设备,其中所述雾节点设备包括动态主机配置协议DHCP客户端,并且所述地址管理设备包括DHCP服务器。The device according to claim 8, wherein the fog node device includes a Dynamic Host Configuration Protocol DHCP client, and the address management device includes a DHCP server.
  10. 根据权利要求9所述的设备,其中从所述雾节点设备接收针对所述网络地址的所述请求包括:The device according to claim 9, wherein receiving the request for the network address from the fog node device comprises:
    从所述雾节点设备接收DHCP发现消息或DHCP请求消息,所述DHCP发现消息和所述DHCP请求消息各自包括针对所述网络地址的所述请求的指示。A DHCP discovery message or a DHCP request message is received from the fog node device, where the DHCP discovery message and the DHCP request message each include an indication of the request for the network address.
  11. 根据权利要求8所述的设备,其中所述地址管理设备包括路由器。The device of claim 8, wherein the address management device includes a router.
  12. 根据权利要求11所述的设备,其中从所述雾节点设备接收针对所述网络地址的所述请求包括:The device according to claim 11, wherein receiving the request for the network address from the fog node device comprises:
    从所述雾节点设备接收路由请求消息,所述路由请求消息包括针对所述网络地址的所述请求的指示。Receiving a routing request message from the fog node device, the routing request message including an indication of the request for the network address.
  13. 一种电子设备,包括:An electronic device, including:
    至少一个处理器;以及At least one processor; and
    与所述至少一个处理器耦合的存储器,所述存储器中存储有指令,所述指令在被所述至少一个处理器执行时,使得所述电子设备执行动作,所述动作包括:A memory coupled to the at least one processor, and the memory stores instructions that, when executed by the at least one processor, cause the electronic device to perform actions, and the actions include:
    在雾服务器处,从雾节点设备接收与所述雾节点设备所能够提供的资源有关的信息;以及At the fog server, receiving information related to the resources that the fog node device can provide from the fog node device; and
    基于与所述资源有关的所述信息,对所述雾节点设备进行管理。Based on the information related to the resource, the fog node device is managed.
  14. 根据权利要求13所述的设备,其中所述动作进一步包括:The device of claim 13, wherein the action further comprises:
    响应于从终端设备接收到提供服务的请求,基于与所述资源有关的所述信息确定所述雾节点设备是否能够提供所述服务;以及In response to receiving a request to provide a service from a terminal device, determine whether the fog node device can provide the service based on the information related to the resource; and
    响应于确定所述雾节点设备能够提供所述服务,向所述雾节点设备发送向所述终端设备提供所述服务的指令。In response to determining that the fog node device can provide the service, sending an instruction to the fog node device to provide the service to the terminal device.
  15. 根据权利要求14所述的设备,其中所述动作进一步包括:The device of claim 14, wherein the action further comprises:
    向所述雾节点设备发送提供所述服务所需的应用程序代码。Sending the application code required to provide the service to the fog node device.
  16. 一种通信方法,包括:A communication method including:
    从雾节点设备向地址管理设备发送针对雾服务器的网络地址的请求,所述雾服务器被配置为管理所述雾节点设备;Sending a request for the network address of the fog server from the fog node device to an address management device, the fog server being configured to manage the fog node device;
    从所述地址管理设备接收所述雾服务器的所述网络地址;以及Receiving the network address of the fog server from the address management device; and
    基于所述网络地址,从所述雾节点设备向所述雾服务器发送与所述雾节点设备能够提供的资源有关的信息。Based on the network address, information related to the resources that the fog node device can provide is sent from the fog node device to the fog server.
  17. 根据权利要求16所述的方法,其中所述雾节点设备包括动态主机配置协议DHCP客户端,并且所述地址管理设备包括DHCP服务器。The method according to claim 16, wherein the fog node device includes a Dynamic Host Configuration Protocol DHCP client, and the address management device includes a DHCP server.
  18. 根据权利要求17所述的方法,其中向所述地址管理设备发送针对所述网络地址的所述请求包括:18. The method of claim 17, wherein sending the request for the network address to the address management device comprises:
    向所述地址管理设备发送DHCP发现消息或DHCP请求消息,所述DHCP发现消息和所述DHCP请求消息各自包括针对所述网络地址的所述请求的指示。Sending a DHCP discovery message or a DHCP request message to the address management device, where the DHCP discovery message and the DHCP request message each include an indication of the request for the network address.
  19. 根据权利要求16所述的方法,其中所述地址管理设备包括路 由器。The method of claim 16, wherein the address management device includes a router.
  20. 根据权利要求19所述的方法,其中向所述地址管理设备发送针对所述网络地址的所述请求包括:The method of claim 19, wherein sending the request for the network address to the address management device comprises:
    向所述地址管理设备发送路由请求消息,所述路由请求消息包括针对所述网络地址的所述请求的指示。Send a route request message to the address management device, where the route request message includes an indication of the request for the network address.
  21. 根据权利要求16所述的方法,进一步包括:The method of claim 16, further comprising:
    从所述雾服务器接收向终端设备提供服务的指令,所述服务基于与所述雾节点设备所能够提供的所述资源的所述信息被确定;以及Receiving an instruction to provide a service to a terminal device from the fog server, the service being determined based on the information about the resource that the fog node device can provide; and
    利用所述资源向所述终端设备提供所述服务。The resource is used to provide the service to the terminal device.
  22. 根据权利要求21所述的方法,其中向所述终端设备提供所述服务包括:The method of claim 21, wherein providing the service to the terminal device comprises:
    从所述雾服务器接收提供所述服务所需的应用程序代码;以及Receiving the application code required to provide the service from the fog server; and
    通过运行所述应用程序代码来提供所述服务。The service is provided by running the application code.
  23. 一种通信方法,包括:A communication method including:
    在地址管理设备处,从雾节点设备接收针对雾服务器的网络地址的请求,所述雾服务器被配置为对所述雾节点设备进行管理;以及At the address management device, receiving a request for the network address of the fog server from the fog node device, the fog server being configured to manage the fog node device; and
    向所述雾节点设备发送所述雾服务器的所述网络地址。Sending the network address of the fog server to the fog node device.
  24. 根据权利要求23所述的方法,其中所述雾节点设备包括动态主机配置协议DHCP客户端,并且所述地址管理设备包括DHCP服务器。The method according to claim 23, wherein the fog node device includes a Dynamic Host Configuration Protocol DHCP client, and the address management device includes a DHCP server.
  25. 根据权利要求24所述的方法,其中从所述雾节点设备接收针对所述网络地址的所述请求包括:The method of claim 24, wherein receiving the request for the network address from the fog node device comprises:
    从所述雾节点设备接收DHCP发现消息或DHCP请求消息,所述DHCP发现消息和所述DHCP请求消息各自包括针对所述网络地址的所述请求的指示。A DHCP discovery message or a DHCP request message is received from the fog node device, where the DHCP discovery message and the DHCP request message each include an indication of the request for the network address.
  26. 根据权利要求23所述的方法,其中所述地址管理设备包括路由器。The method of claim 23, wherein the address management device includes a router.
  27. 根据权利要求26所述的方法,其中从所述雾节点设备接收针对所述网络地址的所述请求包括:The method of claim 26, wherein receiving the request for the network address from the fog node device comprises:
    从所述雾节点设备接收路由请求消息,所述路由请求消息包括针对所述网络地址的所述请求的指示。Receiving a routing request message from the fog node device, the routing request message including an indication of the request for the network address.
  28. 一种通信方法,包括:A communication method including:
    在雾服务器处,从雾节点设备接收与所述雾节点设备所能够提供的资源有关的信息;以及At the fog server, receiving information related to the resources that the fog node device can provide from the fog node device; and
    基于与所述资源有关的所述信息,对所述雾节点设备进行管理。Based on the information related to the resource, the fog node device is managed.
  29. 根据权利要求28所述的方法,进一步包括:The method of claim 28, further comprising:
    响应于从终端设备接收到提供服务的请求,基于与所述资源有关的所述信息确定所述雾节点设备是否能够提供所述服务;以及In response to receiving a request to provide a service from a terminal device, determine whether the fog node device can provide the service based on the information related to the resource; and
    响应于确定所述雾节点设备能够提供所述服务,向所述雾节点设备发送向所述终端设备提供所述服务的指令。In response to determining that the fog node device can provide the service, sending an instruction to the fog node device to provide the service to the terminal device.
  30. 根据权利要求29所述的方法,进一步包括:The method of claim 29, further comprising:
    向所述雾节点设备发送提供所述服务所需的应用程序代码。Sending the application code required to provide the service to the fog node device.
  31. 一种计算机可读介质,所述计算机可读介质上存储有指令,当所述指令在被机器的至少一个处理单元执行时,使得所述机器实现由权利要求16-22任一项所述的方法。A computer-readable medium having instructions stored on the computer-readable medium. When the instructions are executed by at least one processing unit of a machine, the machine implements the method described in any one of claims 16-22 method.
  32. 一种计算机可读介质,所述计算机可读介质上存储有指令,当所述指令在被机器的至少一个处理单元执行时,使得所述机器实现由权利要求23-27任一项所述的方法。A computer-readable medium having instructions stored on the computer-readable medium. When the instructions are executed by at least one processing unit of a machine, the machine implements the method described in any one of claims 23-27 method.
  33. 一种计算机可读介质,所述计算机可读介质上存储有指令,当所述指令在被机器的至少一个处理单元执行时,使得所述机器实现由权利要求28-30任一项所述的方法。A computer-readable medium having instructions stored on the computer-readable medium. When the instructions are executed by at least one processing unit of a machine, the machine realizes the method described in any one of claims 28-30 method.
PCT/CN2019/071787 2019-01-15 2019-01-15 Method and device for configuring fog node device, and computer readable medium WO2020147009A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/071787 WO2020147009A1 (en) 2019-01-15 2019-01-15 Method and device for configuring fog node device, and computer readable medium
CN201980078412.8A CN113169996B (en) 2019-01-15 2019-01-15 Method, apparatus and computer readable medium for configuring a fog node apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/071787 WO2020147009A1 (en) 2019-01-15 2019-01-15 Method and device for configuring fog node device, and computer readable medium

Publications (1)

Publication Number Publication Date
WO2020147009A1 true WO2020147009A1 (en) 2020-07-23

Family

ID=71613480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/071787 WO2020147009A1 (en) 2019-01-15 2019-01-15 Method and device for configuring fog node device, and computer readable medium

Country Status (2)

Country Link
CN (1) CN113169996B (en)
WO (1) WO2020147009A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286887A (en) * 2008-06-12 2008-10-15 杭州华三通信技术有限公司 Method, device and system for realizing terminal registry
US20130109398A1 (en) * 2010-12-02 2013-05-02 At&T Intellectual Property I, L.P Method and apparatus for planning mobile switching centers in a wireless network
CN106911762A (en) * 2017-01-16 2017-06-30 西安电子科技大学 A kind of framework calculated based on mist in SDN and its processing method
CN108848170A (en) * 2018-06-22 2018-11-20 山东大学 A kind of mist cluster management system and method based on nagios monitoring

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6466986B1 (en) * 1999-12-30 2002-10-15 Nortel Networks Limited Method and apparatus for providing dynamic host configuration protocol (DHCP) tagging
CN106851746A (en) * 2016-12-26 2017-06-13 上海交通大学 The method for realizing software definition QoS configurations in radio sensing network is calculated based on mist

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286887A (en) * 2008-06-12 2008-10-15 杭州华三通信技术有限公司 Method, device and system for realizing terminal registry
US20130109398A1 (en) * 2010-12-02 2013-05-02 At&T Intellectual Property I, L.P Method and apparatus for planning mobile switching centers in a wireless network
CN106911762A (en) * 2017-01-16 2017-06-30 西安电子科技大学 A kind of framework calculated based on mist in SDN and its processing method
CN108848170A (en) * 2018-06-22 2018-11-20 山东大学 A kind of mist cluster management system and method based on nagios monitoring

Also Published As

Publication number Publication date
CN113169996B (en) 2023-08-01
CN113169996A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
US20220124147A1 (en) Application relocation method and apparatus
EP3210432B1 (en) Routing uplink packets from a user equipment
KR101692259B1 (en) Method and apparatus and computer readable record media for communication on Wi-Fi(wireless fidelity) direct multi-group network
US11812309B2 (en) Communications method, apparatus, and system
US10560929B2 (en) Resource request method and system, device, and network side node
JP2018516507A (en) Machine-type communication method, terminal, and base station
TW201436630A (en) Systems and methods for reduced latency when establishing communication with a wireless communication system (2)
US11172398B2 (en) Data transmission control method and related product
WO2021036925A1 (en) Communication method and apparatus
JP2016500936A (en) Data partitioning method and device
TW201735604A (en) D2D communication method, terminal equipment, and network equipment
US20240340077A1 (en) Satellite switching method, apparatus, storage medium, and chip system
US20230156833A1 (en) Packet Forwarding Method, Apparatus, and System
WO2023024931A1 (en) Inter-device communication method and apparatus
US20230199870A1 (en) Application method of computing bearer and apparatus
WO2022012468A1 (en) Routing configuration method and apparatus
CN113382468A (en) Address allocation method for local network device, electronic device, and storage medium
WO2018188186A1 (en) Handover method and device
CN109691166B (en) Identification of neighboring network nodes in a wireless communication network
US10499443B2 (en) Data transmission method, related device, and system
WO2015096734A1 (en) Downlink transmission method for service data, and packet data gateway
WO2020147009A1 (en) Method and device for configuring fog node device, and computer readable medium
CN104662991A (en) Apparatus and method for communication
US10880862B2 (en) Paging for converged enterprise private radio service and Wi-Fi access deployments
CN111107122B (en) Method, apparatus and computer readable medium for discovering fog resources in a network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19910730

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19910730

Country of ref document: EP

Kind code of ref document: A1