CN113452586B - Method and device for registering edge computing node and intelligent home system - Google Patents
Method and device for registering edge computing node and intelligent home system Download PDFInfo
- Publication number
- CN113452586B CN113452586B CN202110656333.XA CN202110656333A CN113452586B CN 113452586 B CN113452586 B CN 113452586B CN 202110656333 A CN202110656333 A CN 202110656333A CN 113452586 B CN113452586 B CN 113452586B
- Authority
- CN
- China
- Prior art keywords
- service
- edge computing
- computing node
- type
- allocation table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/76—Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
- H04L47/762—Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions triggered by the network
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
技术领域technical field
本申请涉及智慧家庭技术领域,例如涉及一种边缘计算节点注册的方法、装置和智慧家庭系统。The present application relates to the field of smart home technology, for example, to a method and device for edge computing node registration and a smart home system.
背景技术Background technique
目前,智慧家庭的边缘计算节点需要注册到家庭云平台上,而终端设备需要注册到边缘计算节点上,边缘计算节点承担了部分家庭云平台的计算和存储的能力。现有的注册流程如下:At present, the edge computing nodes of the smart home need to be registered on the home cloud platform, and terminal devices need to be registered on the edge computing nodes. The edge computing nodes undertake part of the computing and storage capabilities of the home cloud platform. The current registration process is as follows:
(1)边缘计算节点发送注册请求到家庭云平台,携带资源利用率;(1) The edge computing node sends a registration request to the home cloud platform, carrying resource utilization;
(2)家庭云平台向边缘计算节点确认注册成功,并为该边缘计算节点分配相应的业务、该边缘计算节点为给业务的分配的计算资源和存储资源、优先级;(2) The home cloud platform confirms to the edge computing node that the registration is successful, and assigns the corresponding service to the edge computing node. The edge computing node is the computing resource and storage resource assigned to the service, and the priority;
(3)边缘计算节点广播自己,告知终端设备自己的计算和存储的能力以及优先级;(3) The edge computing node broadcasts itself to inform the terminal device of its own computing and storage capabilities and priorities;
(4)终端设备根据计算和存储以及优先级,选择注册的边缘计算节点。(4) The terminal device selects the registered edge computing node according to the computing, storage and priority.
在实现本公开实施例的过程中,发现相关技术中至少存在如下问题:In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in related technologies:
现有技术中,家庭云平台为边缘计算节点分配业务以及对应计算资源和存储资源;而智慧家庭业务覆盖了用户生活的方方面面,呈现出碎片化的特点,并且,随着智能家电的智能化水平的提高,一些具备计算和存储能力的智能家电也可作为边缘计算节点,例如智能电视和智能冰箱均可作为边缘计算节点,同时,这些智能家电往往适合处理特定场景的业务数据,例如智能电视适合计算、存储和管理客厅的业务数据,智能冰箱适合计算、存储和管理厨房的业务数据,可见,现有的家庭云平台为边缘计算节点分配业务的方式并不适合以智能家电作为边缘计算节点的情景,前述现有技术处理智慧家庭中碎片化的业务的效率比较低。In the existing technology, the home cloud platform allocates services and corresponding computing resources and storage resources for edge computing nodes; while the smart home business covers all aspects of users' lives, showing the characteristics of fragmentation, and, with the intelligent level of smart home appliances Some smart home appliances with computing and storage capabilities can also be used as edge computing nodes, such as smart TVs and smart refrigerators, and these smart home appliances are often suitable for processing business data in specific scenarios, such as smart TVs are suitable for Calculate, store and manage the business data of the living room, and the smart refrigerator is suitable for calculating, storing and managing the business data of the kitchen. It can be seen that the way the existing home cloud platform distributes services to edge computing nodes is not suitable for using smart home appliances as edge computing nodes. Scenario, the efficiency of the aforementioned existing technologies in handling fragmented services in smart homes is relatively low.
发明内容Contents of the invention
为了对披露的实施例的一些方面有基本的理解,下面给出了简单的概括。所述概括不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围,而是作为后面的详细说明的序言。In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is presented below. The summary is not intended to be an extensive overview nor to identify key/important elements or to delineate the scope of these embodiments, but rather serves as a prelude to the detailed description that follows.
本公开实施例提供了一种边缘计算节点注册的方法、装置和智慧家庭系统,以解决现有技术处理智慧家庭中碎片化的业务的效率比较低的技术问题。Embodiments of the present disclosure provide a method and device for edge computing node registration and a smart home system, so as to solve the technical problem of relatively low efficiency in processing fragmented services in smart homes in the prior art.
在一些实施例中,边缘计算节点注册的方法应用于家庭云平台,所述边缘计算节点注册的方法包括:在接收到第一边缘计算节点注册请求时,接收所述第一边缘计算节点发送的所述第一边缘计算节点的第一支持业务;获得已注册的第二边缘计算节点的第二支持业务;In some embodiments, the method for registering an edge computing node is applied to the home cloud platform, and the method for registering an edge computing node includes: receiving a registration request sent by the first edge computing node when receiving a registration request from the first edge computing node The first support service of the first edge computing node; obtaining the second support service of the registered second edge computing node;
如果所述第二支持业务中存在被所述第一支持业务覆盖的第一类业务,且,所述第二支持业务中存在不被所述第一支持业务覆盖的第二类业务,则调整所述第二边缘计算节点的第二业务分配表中为所述第一类业务和所述第二类业务分配的计算资源和/或存储资源;将调整后的第二业务分配表发送至所述第二边缘计算节点;创建所述第一边缘计算节点的第一业务分配表,并将所述第一业务分配表发送至所述第一边缘计算节点;其中,所述第一业务分配表中包括为所述第一支持业务中的业务分配的计算资源和/或存储资源。If there is a first type of service covered by the first support service in the second support service, and there is a second type of service not covered by the first support service in the second support service, then adjust Computing resources and/or storage resources allocated for the first type of service and the second type of service in the second service allocation table of the second edge computing node; sending the adjusted second service allocation table to the The second edge computing node; create the first service allocation table of the first edge computing node, and send the first service allocation table to the first edge computing node; wherein, the first service allocation table includes computing resources and/or storage resources allocated for services in the first support service.
可选地,调整所述第二边缘计算节点的第二业务分配表中为所述第一类业务和所述第二类业务分配的计算资源和/或存储资源,包括:减少所述第二业务分配表中为所述第一类业务分配的计算资源和/或存储资源。Optionally, adjusting the computing resources and/or storage resources allocated to the first type of service and the second type of service in the second service allocation table of the second edge computing node includes: reducing the second Computing resources and/or storage resources allocated to the first type of service in the service allocation table.
可选地,减少所述第二业务分配表中为所述第一类业务分配的计算资源和/或存储资源,包括:减少所述第一类业务对应的计算资源和/或存储资源的资源预留率,或者,减少所述第一类业务对应的计算资源和/或存储资源的具体数值。Optionally, reducing the computing resources and/or storage resources allocated to the first type of business in the second business allocation table includes: reducing the computing resources and/or storage resources corresponding to the first type of business Reserve rate, or reduce the specific value of computing resources and/or storage resources corresponding to the first type of business.
可选地,调整所述第二边缘计算节点的第二业务分配表中为所述第一类业务和所述第二类业务分配的计算资源和/或存储资源,包括:Optionally, adjusting the computing resources and/or storage resources allocated for the first type of service and the second type of service in the second service allocation table of the second edge computing node includes:
增加所述第二业务分配表中为所述第二类业务分配的计算资源和/或存储资源。Increase the computing resources and/or storage resources allocated for the second type of service in the second service allocation table.
可选地,增加所述第二业务分配表中为所述第二类业务分配的计算资源和/或存储资源,包括:Optionally, increasing the computing resource and/or storage resource allocated for the second type of service in the second service allocation table includes:
可选地,增加所述第二业务分配表中为所述第二类业务分配的计算资源和/或存储资源,包括:增加所述第二类业务对应的计算资源和/或存储资源的资源预留率,或者,增加所述第二类业务对应的计算资源和/或存储资源的具体数值。Optionally, increasing the computing resources and/or storage resources allocated to the second type of business in the second business allocation table includes: increasing the computing resources and/or storage resources corresponding to the second type of business Reserve rate, or increase the specific value of computing resources and/or storage resources corresponding to the second type of service.
可选地,创建所述第一边缘计算节点的第一业务分配表,包括:为所述第一支持业务中的各业务分配预设的计算资源和/或存储资源。Optionally, creating the first service allocation table of the first edge computing node includes: allocating preset computing resources and/or storage resources to each service in the first supported service.
在一些实施例中,边缘计算节点注册的方法应用于第一边缘计算节点,所述边缘计算节点注册的方法包括:In some embodiments, the edge computing node registration method is applied to the first edge computing node, and the edge computing node registration method includes:
在向家庭云平台发送注册请求时,向所述家庭云平台发送所述第一边缘计算节点的第一支持业务,以使所述家庭云平台在已注册的第二边缘计算节点的第二支持业务中存在被所述第一支持业务覆盖的第一类业务,且,所述第二支持业务中存在不被所述第一支持业务覆盖的第二类业务的情况下,调整第二边缘计算节点的第二业务分配表中为所述第一类业务和所述第二业务分配的计算资源和/或存储资源,进而将调整后的第二业务分配表发送至所述第二边缘计算节点;When sending a registration request to the home cloud platform, send the first support service of the first edge computing node to the home cloud platform, so that the second support service of the registered second edge computing node on the home cloud platform If there is a first type of service covered by the first support service in the service, and there is a second type of service not covered by the first support service in the second support service, adjust the second edge computing Computing resources and/or storage resources allocated for the first type of service and the second service in the second service allocation table of the node, and then send the adjusted second service allocation table to the second edge computing node ;
接收所述家庭云平台发送的第一业务分配表,并根据所述第一业务分配表为所述第一支持业务中的业务分配计算资源和/或存储资源。Receive the first service allocation table sent by the home cloud platform, and allocate computing resources and/or storage resources to services in the first supporting service according to the first service allocation table.
在一些实施例中,边缘计算节点注册的方法应用于已注册的第二边缘计算节点,所述边缘计算节点注册的方法包括:In some embodiments, the edge computing node registration method is applied to a registered second edge computing node, and the edge computing node registration method includes:
在第一边缘计算节点注册时,接收家庭云平台发送的调整后的第二业务分配表;其中,所述调整后的第二业务分配表是通过如下方式获得的:在所述第二边缘计算节点的第二支持业务中存在被第一边缘计算节点的第一支持业务覆盖的第一类业务,且,所述第二支持业务中存在不被所述第一支持业务覆盖的第二类业务的情况下,家庭云平台调整所述第二边缘计算节点的原有的第二业务分配表中为所述第一类业务和第二类业务分配的计算资源和/或存储资源,获得所述调整后的第二业务分配表;When the first edge computing node registers, the adjusted second service allocation table sent by the home cloud platform is received; wherein, the adjusted second service allocation table is obtained in the following manner: on the second edge computing There is a first type of service covered by the first support service of the first edge computing node in the second support service of the node, and there is a second type of service not covered by the first support service in the second support service In the case of , the home cloud platform adjusts the computing resources and/or storage resources allocated for the first type of service and the second type of service in the original second service allocation table of the second edge computing node, and obtains the The adjusted second business allocation table;
根据所述调整后的第二业务分配表调整为所述第一类业务和所述第二类业务分配的计算资源和/或存储资源。The computing resources and/or storage resources allocated for the first type of service and the second type of service are adjusted according to the adjusted second service allocation table.
在一些实施例中,智慧家庭系统包括家庭云平台、第一边缘计算节点和第二边缘计算节点,其中,In some embodiments, the smart home system includes a home cloud platform, a first edge computing node, and a second edge computing node, wherein,
在所述第一边缘计算节点向所述家庭云平台发送注册请求时,所述第一边缘计算节点向所述家庭云平台发送所述第一边缘计算节点的第一支持业务;When the first edge computing node sends a registration request to the home cloud platform, the first edge computing node sends the first support service of the first edge computing node to the home cloud platform;
所述家庭云平台获得已注册的所述第二边缘计算节点的第二支持业务;The home cloud platform obtains the second support service of the registered second edge computing node;
如果所述第二支持业务中存在被所述第一支持业务覆盖的第一类业务,且,所述第二支持业务中存在不被所述第一支持业务覆盖的第二类业务,则所述家庭云平台调整所述第二边缘计算节点的第二业务分配表中为所述第一类业务和所述第二类业务分配的计算资源和/或存储资源;If there is a first type of service covered by the first support service in the second support service, and there is a second type of service not covered by the first support service in the second support service, then the The home cloud platform adjusts the computing resources and/or storage resources allocated for the first type of service and the second type of service in the second service allocation table of the second edge computing node;
所述家庭云平台将调整后的第二业务分配表发送至所述第二边缘计算节点;The home cloud platform sends the adjusted second service allocation table to the second edge computing node;
所述第二边缘计算节点根据所述调整后的第二业务分配表调整为所述第一类业务和所述第二类业务分配的计算资源和/或存储资源;The second edge computing node adjusts computing resources and/or storage resources allocated to the first type of service and the second type of service according to the adjusted second service allocation table;
所述家庭云平台创建所述第一边缘计算节点的第一业务分配表,并将所述第一业务分配表发送至所述第一边缘计算节点;其中,所述第一业务分配表中包括为所述第一支持业务中的业务分配的计算资源和/或存储资源;The home cloud platform creates a first service allocation table of the first edge computing node, and sends the first service allocation table to the first edge computing node; wherein, the first service allocation table includes Computing resources and/or storage resources allocated for services in the first supporting service;
所述第一边缘计算节点根据所述第一业务分配表为所述第一支持业务中的业务分配计算资源和/或存储资源。The first edge computing node allocates computing resources and/or storage resources to services in the first supported service according to the first service allocation table.
在一些实施例中,边缘计算节点注册的装置包括处理器和存储有程序指令的存储器,所述处理器被配置为在执行所述程序指令时,执行前述实施例提供的边缘计算节点注册的方法。In some embodiments, the device for registering an edge computing node includes a processor and a memory storing program instructions, and the processor is configured to execute the method for registering an edge computing node provided in the foregoing embodiments when executing the program instructions .
本公开实施例提供的边缘计算节点注册的方法、装置和智慧家庭系统,可以实现以下技术效果:The edge computing node registration method, device and smart home system provided by the embodiments of the present disclosure can achieve the following technical effects:
在注册智能家电充当的边缘计算节点时,获得该边缘计算节点的支持业务,并依据该支持业务以及已注册的边缘计算节点的支持业务,适应性的调整已注册的边缘计算节点为所支持的业务分配的计算资源和/或存储资源,这样可使各边缘计算节点处理擅长的业务,并为各业务分配适当的计算资源和/或存储资源,提高了处理智慧家庭中碎片化的业务的效率。When registering an edge computing node as a smart home appliance, obtain the support service of the edge computing node, and adaptively adjust the registered edge computing node as the supported service based on the support service and the support service of the registered edge computing node The computing resources and/or storage resources allocated by the business, so that each edge computing node can handle the business it is good at, and allocate appropriate computing resources and/or storage resources for each business, which improves the efficiency of handling fragmented business in the smart home .
以上的总体描述和下文中的描述仅是示例性和解释性的,不用于限制本申请。The foregoing general description and the following description are exemplary and explanatory only and are not intended to limit the application.
附图说明Description of drawings
一个或一个以上实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件视为类似的元件,并且其中:One or more embodiments are exemplified by corresponding drawings, and these exemplifications and drawings do not constitute limitations to the embodiments, and elements with the same reference numerals in the drawings are regarded as similar elements, and where:
图1是本公开实施例提供的一种智慧家庭系统的实施环境的示意图;FIG. 1 is a schematic diagram of an implementation environment of a smart home system provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一种边缘计算节点注册的方法的示意图;FIG. 2 is a schematic diagram of a method for edge computing node registration provided by an embodiment of the present disclosure;
图3是本公开实施例提供的一种边缘计算节点注册的方法的示意图;FIG. 3 is a schematic diagram of a method for edge computing node registration provided by an embodiment of the present disclosure;
图4是本公开实施例提供的一种边缘计算节点注册的方法的示意图;FIG. 4 is a schematic diagram of a method for edge computing node registration provided by an embodiment of the present disclosure;
图5是本公开实施例提供的一种智慧家庭系统的示意图;Fig. 5 is a schematic diagram of a smart home system provided by an embodiment of the present disclosure;
图6是本公开实施例提供的一种边缘计算节点注册的装置的示意图。Fig. 6 is a schematic diagram of an apparatus for edge computing node registration provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或一个以上实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。In order to understand the characteristics and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the embodiments of the present disclosure. In the following technical description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawings.
本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开实施例的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。The terms "first", "second" and the like in the description and claims of the embodiments of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the data so used may be interchanged under appropriate circumstances so as to facilitate the embodiments of the disclosed embodiments described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion.
除非另有说明,术语“多个”表示两个或两个以上。Unless stated otherwise, the term "plurality" means two or more.
本公开实施例中,字符“/”表示前后对象是一种“或”的关系。例如,A/B表示:A或B。In the embodiments of the present disclosure, the character "/" indicates that the preceding and following objects are an "or" relationship. For example, A/B means: A or B.
术语“和/或”是一种描述对象的关联关系,表示可以存在三种关系。例如,A和/或B,表示:A或B,或,A和B这三种关系。The term "and/or" is an associative relationship describing objects, indicating that there can be three relationships. For example, A and/or B means: A or B, or, A and B, these three relationships.
图1是本公开实施例提供的一种智慧家庭系统的实施环境的示意图。如图1所示,智慧家庭系统包括家庭云平台11、终端设备13以及边缘计算节点12。Fig. 1 is a schematic diagram of an implementation environment of a smart home system provided by an embodiment of the present disclosure. As shown in FIG. 1 , the smart home system includes a
其中,家庭云平台11指的是可以提供计算和存储的服务器,可以是一台服务器,也可以是多台服务器组成的服务器集群。Wherein, the
终端设备13包括智慧家庭应用场景中的智能设备,例如,终端设备13包括但不限于:智能冰箱、智能电视、智能洗衣机、智能空调、智能音箱、智能灯以及智能窗帘等,还可以包括智慧家庭应用场景中的传感器,例如温度传感器、湿度传感器等。The
边缘计算节点12指的是智慧家庭网络中具有较强计算能力和存储能力的设备,例如网关。随着智能设备的发展,一些智能设备也可作为这里的边缘计算节点12,例如,智能冰箱、智能电视、智能洗衣机等均可作为智慧家庭网络中的边缘计算节点12。The
图2是本公开实施例提供的一种边缘计算节点注册的方法的示意图。该实施例以将边缘计算节点注册的方法应用于家庭云平台进行示例性说明。结合图2所示,边缘计算节点注册的方法包括:Fig. 2 is a schematic diagram of a method for edge computing node registration provided by an embodiment of the present disclosure. This embodiment is exemplified by applying the method of edge computing node registration to the home cloud platform. As shown in Figure 2, the methods for edge computing node registration include:
S201、在接收到第一边缘计算节点的注册请求时,接收第一边缘计算节点发送的第一边缘计算节点的第一支持业务。S201. When receiving the registration request of the first edge computing node, receive the first support service of the first edge computing node sent by the first edge computing node.
其中,第一支持业务中的业务是第一边缘计算节点擅长处理的业务。Wherein, the services in the first supporting service are services that the first edge computing node is good at processing.
在一些应用场景中,智能冰箱和智能电视均可充当第一边缘计算节点,智能冰箱充当的第一边缘计算节点擅长计算、存储和管理厨房的业务数据;智能电视充当的第一边缘计算节点擅长计算、存储和管理客厅的业务数据。智能冰箱充当的第一边缘计算节点所支持的第一支持业务可以包括易燃气体浓度报警,炉灶、吸油烟机以及冰箱本身的状态数据上报以及终端设备控制等业务;智能电视充当的第一边缘计算节点所支持的第一支持业务可以包括客厅内灯具、空调等业务数据上报,以及客厅能灯具、空调等设备的控制等业务。In some application scenarios, both smart refrigerators and smart TVs can act as the first edge computing node. The first edge computing node that the smart refrigerator acts as is good at computing, storing and Calculate, store and manage the business data of the living room. The first supporting services supported by the first edge computing node acted by the smart refrigerator may include flammable gas concentration alarm, status data reporting of the stove, range hood and refrigerator itself, and terminal device control; the first edge computing node acted by the smart TV The first support service supported by the computing node may include services such as data reporting of lamps and air conditioners in the living room, and services such as control of lamps, air conditioners and other equipment in the living room.
注册请求可包括第一边缘计算节点的第一支持业务,这样家庭云平台在接收第一边缘计算节点的注册请求,即为接收第一边缘计算节点发送的第一边缘计算节点的第一支持业务。The registration request may include the first support service of the first edge computing node, so that the home cloud platform receives the registration request of the first edge computing node, that is, receives the first support service of the first edge computing node sent by the first edge computing node .
相对应地,在第一边缘计算节点向家庭云平台发送注册请求时,第一边缘计算节点向家庭云平台发送第一边缘计算节点的第一支持业务。Correspondingly, when the first edge computing node sends a registration request to the home cloud platform, the first edge computing node sends the first support service of the first edge computing node to the home cloud platform.
第一边缘计算节点的第一支持业务也可包含在独立于注册请求的信息中,即,家庭云平台先接收第一边缘计算节点的注册请求,再接收第一边缘计算节点发送的第一边缘计算节点的第一支持业务。The first support service of the first edge computing node may also be included in the information independent of the registration request, that is, the home cloud platform first receives the registration request of the first edge computing node, and then receives the first edge computing node sent by the first edge computing node. The first support service of the computing node.
S202、获得已注册的第二边缘计算节点的第二支持业务。S202. Obtain the second support service of the registered second edge computing node.
同样地,第二支持业务中的业务是第二边缘计算节点擅长处理的业务。Likewise, the services in the second supporting service are services that the second edge computing node is good at processing.
在一些应用场景中,第二边缘计算节点的数量为一个或多个,每个第二边缘计算节点均对应一个第二支持业务。In some application scenarios, there are one or more second edge computing nodes, and each second edge computing node corresponds to a second supporting service.
家庭云平台可向第二边缘计算节点发送查询第二支持业务的查询信息,第二边缘计算节点响应于该查询信息,向家庭云平台反馈第二支持业务,这样家庭云平台即可获得第二支持业务。The home cloud platform can send query information for querying the second supported service to the second edge computing node, and the second edge computing node responds to the query information and feeds back the second supported service to the home cloud platform, so that the home cloud platform can obtain the second service. Support the business.
或者,在第二边缘计算节点注册的过程中,家庭云平台存储每个第二边缘计算节点的第二支持业务,在需要获得第二支持业务时,只需在家庭云平台本地执行查询操作,即可获得第二支持业务。Or, during the registration process of the second edge computing node, the home cloud platform stores the second supporting service of each second edge computing node, and when it is necessary to obtain the second supporting service, it only needs to execute the query operation locally on the home cloud platform, You can get the second support business.
可选地,边缘计算节点注册的方法还包括:在第一边缘计算节点注册前,获得终端设备的第一需求业务,如果第一需求业务中存在不被第二支持业务覆盖的第三类业务,则接受终端设备注册第三类业务的请求。Optionally, the method for edge computing node registration further includes: before the first edge computing node registers, obtaining the first demand service of the terminal device, if there is a third type of service in the first demand service that is not covered by the second support service , then accept the request of the terminal device to register the third type of service.
相对应地,在第一边缘计算节点注册前,终端设备向家庭云平台发送第一需求业务,终端设备将第一需求业务中被第二支持业务覆盖的业务注册至第二边缘计算节点,将第三类业务注册至家庭云平台。Correspondingly, before the registration of the first edge computing node, the terminal device sends the first demand service to the home cloud platform, and the terminal device registers the service covered by the second support service in the first demand service to the second edge computing node, and The third type of business is registered to the family cloud platform.
这里的第一需求业务指的是终端设备所需的业务,可以包括设备状态数据上报、终端设备的报警数据的上报、终端设备控制等。The first required service here refers to the service required by the terminal device, which may include reporting of device status data, reporting of alarm data of the terminal device, terminal device control, and the like.
这里的接受终端设备注册第三类业务的请求,表示家庭云平台允许终端设备将第三类业务注册至家庭云平台。Accepting the request of the terminal device to register the third type of service here means that the home cloud platform allows the terminal device to register the third type of service to the home cloud platform.
在一些具体应用中,在家庭云平台接收到第一需求业务之后,比对第一需求业务中的业务和第二支持业务中的业务,终端设备可依据比较结果,注册第一需求业务中的业务。In some specific applications, after the home cloud platform receives the first required service, it compares the services in the first required service with the services in the second supported service, and the terminal device can register the first required service according to the comparison result. business.
如果第二支持业务中可覆盖全部终端设备的第二需求业务,则终端设备将第二需求业务中的业务注册至第二边缘计算节点;If the second support service can cover the second demand service of all terminal devices, the terminal device registers the service in the second demand service with the second edge computing node;
如果第二支持业务中可覆盖终端设备的第二需求业务的部分业务,则终端设备将第二需求业务中的部分业务注册至第二边缘计算节点,将第二需求业务中的不被第二支持业务覆盖的第三类业务注册至家庭云平台,此时家庭云平台接受终端设备注册第三类业务的请求;If the second support service can cover part of the second demand service of the terminal device, the terminal device will register part of the second demand service to the second edge computing node, and register the part of the second demand service to the second edge computing node. Support the registration of the third type of business covered by the business to the home cloud platform, and at this time, the home cloud platform accepts the request of the terminal device to register the third type of business;
如果第二支持业务与第一需求业务不存在相同业务,则第一需求业务中的业务均属于第三类业务,终端设备将第一需求业务中的全部业务注册至家庭云平台。If the second support service and the first demand service do not have the same service, then the services in the first demand service all belong to the third type of service, and the terminal device registers all the services in the first demand service to the home cloud platform.
采用上述技术方案,可在已注册的第二边缘计算节点不支持终端设备的第一需求业务中的部分或全部业务的情况,确保终端设备顺利完成注册。By adopting the above technical solution, it is possible to ensure that the terminal device successfully completes the registration when the registered second edge computing node does not support some or all of the services in the first demanded service of the terminal device.
S203、如果第二支持业务中存在被第一支持业务覆盖的第一类业务,且,第二支持业务中存在不被第一支持业务覆盖的第二类业务,则调整第二边缘计算节点的第二业务分配表中为第一类业务和第二类业务分配的计算资源和/或存储资源。S203. If there is a first type of service covered by the first support service in the second support service, and there is a second type of service not covered by the first support service in the second support service, adjust the Computing resources and/or storage resources allocated to the first type of service and the second type of service in the second service allocation table.
在一些应用场景中,可通过如下方式调整第二边缘计算节点的第二业务分配表中为第一类业务和第二类业务分配的计算资源和/或存储资源:减少第二业务分配表中为第一类业务分配的计算资源和/或存储资源;或者,增加第二业务分配表中为第二类业务分配的计算资源和/或存储资源。In some application scenarios, the computing resources and/or storage resources allocated for the first type of service and the second type of service in the second service allocation table of the second edge computing node can be adjusted in the following manner: Computing resources and/or storage resources allocated for the first type of service; or, increasing the computing resources and/or storage resources allocated for the second type of service in the second service allocation table.
上述方案通过调整第二业务分配表中为第一类业务和第二类业务分配的计算资源和存储资源,对第一类业务和第二类业务占用的计算资源和/或存储资源进行优化,可以使每个边缘计算节点更高效地处理其擅长处理的业务,使得边缘计算方法更好地适用于每个边缘计算节点均对应擅长处理的业务的场景。The above solution optimizes the computing resources and/or storage resources occupied by the first type of business and the second type of business by adjusting the computing resources and storage resources allocated for the first type of business and the second type of business in the second business allocation table, It is possible to make each edge computing node more efficiently process the business it is good at processing, so that the edge computing method is better applicable to the scenario where each edge computing node corresponds to the business it is good at processing.
在一些实际应用中,可通过如下方式减少第二业务分配表中为第一类业务分配的计算资源和/或存储资源:减少第一类业务对应的计算资源和/或存储资源的资源预留率,或者,减少第一类业务对应的计算资源和/或存储资源的具体数值。In some practical applications, the computing resources and/or storage resources allocated to the first type of business in the second business allocation table can be reduced by reducing the resource reservation of computing resources and/or storage resources corresponding to the first type of business rate, or reduce the specific value of computing resources and/or storage resources corresponding to the first type of business.
在一些实际应用中,可通过如下方式增加第二业务分配表中为第二类业务分配的计算资源和/或存储资源:增加第二类业务对应的计算资源和/或存储资源的资源预留率,或者,增加第二类业务对应的计算资源和/或存储资源的具体数值。In some practical applications, the computing resources and/or storage resources allocated for the second type of business in the second business allocation table can be increased by increasing the resource reservation of computing resources and/or storage resources corresponding to the second type of business rate, or increase the specific value of computing resources and/or storage resources corresponding to the second type of business.
在第二边缘计算节点的数量为多个的情况下,调整每个第二边缘计算节点的第二业务分配表中为第一类业务和第二业务分配的计算资源和/或存储资源。When there are multiple second edge computing nodes, adjust the computing resources and/or storage resources allocated for the first type of service and the second service in the second service allocation table of each second edge computing node.
S204、将调整后的第二业务分配表发送至第二边缘计算节点。S204. Send the adjusted second service allocation table to the second edge computing node.
第二边缘计算节点接收该调整后的第二业务分配表,并依据该调整后的第二业务分配表调整为第一类业务和第二业务实际分配的计算资源和/或存储资源。The second edge computing node receives the adjusted second service allocation table, and adjusts computing resources and/or storage resources actually allocated to the first type of service and the second service according to the adjusted second service allocation table.
在第二边缘计算节点的数量为多个的情况下,为每个第二边缘计算节点发送对应的调整后的第二业务分配表。When there are multiple second edge computing nodes, a corresponding adjusted second service allocation table is sent for each second edge computing node.
S205、创建第一边缘计算节点的第一业务分配表,并将第一业务分配表发送至第一边缘计算节点。S205. Create a first service allocation table of the first edge computing node, and send the first service allocation table to the first edge computing node.
其中,第一业务分配表中包括为第一支持业务中的业务分配的计算资源和/或存储资源。在第一业务分配表中,可以用具体数值表示为第一支持业务中的业务分配的计算资源和/或存储资源,也可用资源占用率表示为第一支持业务中的业务分配的计算资源和/或存储资源。Wherein, the first service allocation table includes computing resources and/or storage resources allocated for services in the first support service. In the first business allocation table, the computing resources and/or storage resources allocated to the business in the first supporting business can be represented by specific numerical values, and the computing resources and/or storage resources allocated to the business in the first supporting business can also be represented by the resource occupancy rate. /or storage resources.
第一边缘计算节点接收到第一业务分配表后,依据第一业务分配表为第一支持业务中的业务实际分配计算资源和/或存储资源。After receiving the first service allocation table, the first edge computing node actually allocates computing resources and/or storage resources to services in the first supported service according to the first service allocation table.
在一些实际应用中,创建第一边缘计算节点的第一业务分配表,包括:为第一支持业务中的各业务分配预设的计算资源和/或存储资源。In some practical applications, creating the first service allocation table of the first edge computing node includes: allocating preset computing resources and/or storage resources to each service in the first supported service.
在注册智能家电充当的边缘计算节点时,获得该边缘计算节点的支持业务,并依据该支持业务以及已注册的边缘计算节点的支持业务,适应性的调整已注册的边缘计算节点为所支持的业务分配的计算资源和/或存储资源,这样可使各边缘计算节点处理擅长的业务,并为各业务分配适当的计算资源和/或存储资源,提高了处理智慧家庭中碎片化的业务的效率。When registering an edge computing node as a smart home appliance, obtain the support service of the edge computing node, and adaptively adjust the registered edge computing node as the supported service based on the support service and the support service of the registered edge computing node The computing resources and/or storage resources allocated by the business, so that each edge computing node can handle the business it is good at, and allocate appropriate computing resources and/or storage resources for each business, which improves the efficiency of handling fragmented business in the smart home .
在前述实施例中提到,在第一边缘计算节点注册前,获得终端设备的第一需求业务,如果第一需求业务中存在不被第二支持业务覆盖的第三类业务,则接受终端设备注册第三类业务的请求,即,在第一边缘计算节点注册时,终端设备已经将第三类业务注册至家庭云平台。As mentioned in the foregoing embodiments, before the registration of the first edge computing node, the first required service of the terminal device is obtained, and if there is a third type of service in the first required service that is not covered by the second supported service, the terminal device is accepted The request for registering the third type of service, that is, when the first edge computing node registers, the terminal device has already registered the third type of service to the home cloud platform.
在这种情况下,如果第一支持业务覆盖第三类业务,则家庭云平台将第一边缘计算节点的标识(例如第一边缘计算节点的地址)发送至终端设备,终端设备根据第一边缘计算节点的标识,将第三类业务注册至第一边缘计算节点,或者,第一边缘计算广播自身的第一支持业务以及业务资源(例如计算资源和/或存储资源),终端设备接收到第一支持业务后,如果第一边缘计算节点的业务资源可满足终端设备的计算需求以及存储需求,则终端设备将第三类业务注册至第一边缘计算节点。In this case, if the first supported service covers the third type of service, the home cloud platform sends the identity of the first edge computing node (for example, the address of the first edge computing node) to the terminal device, and the terminal device Computing the identification of the node, registering the third type of service to the first edge computing node, or, the first edge computing broadcasts its own first support service and service resources (such as computing resources and/or storage resources), and the terminal device receives the first edge computing node Once the service is supported, if the service resources of the first edge computing node can meet the computing requirements and storage requirements of the terminal device, the terminal device will register the third type of service to the first edge computing node.
在终端设备将第三类业务注册至第一边缘计算节点后,边缘计算节点注册的方法还包括:接收第一边缘计算节点发送的请求第三类业务的运行数据的请求信息;向第一边缘计算节点发送第三类业务的运行数据。After the terminal device registers the third type of service to the first edge computing node, the method for registering the edge computing node further includes: receiving the request information for the operation data of the third type of service sent by the first edge computing node; The computing nodes send the operation data of the third type of service.
如果第一支持业务覆盖第三类业务中的部分业务,则接收第一边缘计算节点发送的请求第三类业务中的部分业务的运行数据的请求信息,向第一边缘计算节点发送第三类业务中的部分业务的运行数据;If the first support service covers part of the third type of business, the request information for the operation data of part of the third type of business sent by the first edge computing node is received, and the third type of service is sent to the first edge computing node. Operational data of part of the business;
如果第一支持业务覆盖第三类业务中的全部业务,则接收第一边缘计算节点发送的请求第三类业务的全部业务的运行数据的请求信息,向第一边缘计算节点发送第三类业务的全部业务的运行数据。If the first support business covers all services in the third type of business, then receive the request information for the operation data of all services of the third type of business sent by the first edge computing node, and send the third type of business to the first edge computing node Operational data of all businesses.
这样可将第三类业务的运行数据同步到第一边缘计算节点,第一边缘计算节点可为第三类业务提供持续的计算服务以及存储服务,使需求第三类业务的终端设备可不间断运行。In this way, the operating data of the third type of business can be synchronized to the first edge computing node, and the first edge computing node can provide continuous computing services and storage services for the third type of business, so that the terminal equipment that requires the third type of business can run uninterrupted .
图3是本公开实施例提供的一种边缘计算节点注册的方法的示意图。本实施例以将该边缘计算节点注册的方法应用于第一边缘计算节点进行示例性说明。结合图3所示,边缘计算节点注册的方法包括:Fig. 3 is a schematic diagram of a method for edge computing node registration provided by an embodiment of the present disclosure. In this embodiment, the method for registering an edge computing node is applied to a first edge computing node for an exemplary description. As shown in Figure 3, the methods for edge computing node registration include:
S301、在向家庭云平台发送注册请求时,向家庭云平台发送第一边缘计算节点的第一支持业务。S301. When sending a registration request to the home cloud platform, send the first support service of the first edge computing node to the home cloud platform.
边缘计算节点向家庭云平台发送的第一支持业务可以使家庭云平台在已注册的第二边缘计算节点的第二支持业务中存在被第一支持业务覆盖的第一类业务,且,第二支持业务中存在不被第一支持业务覆盖的第二类业务的情况下,调整第二边缘计算节点的第二业务分配表中为第一类业务和第二业务分配的计算资源和/或存储资源,进而将调整后的第二业务分配表发送至第二边缘计算节点。The first support service sent by the edge computing node to the home cloud platform may cause the home cloud platform to include the first type of service covered by the first support service in the registered second support service of the second edge computing node, and the second In the case that there is a second type of service not covered by the first support service in the supporting service, adjust the computing resources and/or storage allocated for the first type of service and the second service in the second service allocation table of the second edge computing node resources, and then send the adjusted second service allocation table to the second edge computing node.
家庭云平台在调整第二边缘计算节点的第二业务分配表之后,还创建第一业务分配表,并将第一业务分配表发送至第一边缘计算节点。其中,第一业务分配表中包括为第一支持业务中的业务分配的计算资源和/或存储资源。After adjusting the second service allocation table of the second edge computing node, the home cloud platform also creates the first service allocation table and sends the first service allocation table to the first edge computing node. Wherein, the first service allocation table includes computing resources and/or storage resources allocated for services in the first support service.
注册请求可包括第一边缘计算节点的第一支持业务,这样在向家庭云平台发送注册请求,即为向家庭云平台发送第一边缘计算节点的第一支持业务。The registration request may include the first support service of the first edge computing node, so sending the registration request to the home cloud platform is sending the first support service of the first edge computing node to the home cloud platform.
第一边缘计算节点的第一支持业务也可包含在独立于注册请求的信息中,即,第一边缘计算节点先向家庭云平台发送注册请求,再向家庭云平台发送第一边缘计算节点的第一支持业务。The first support service of the first edge computing node may also be included in information independent of the registration request, that is, the first edge computing node first sends a registration request to the home cloud platform, and then sends the first edge computing node’s information to the home cloud platform. First support business.
S302、接收家庭云平台发送的第一业务分配表,并根据第一业务分配表为第一支持业务中的业务分配计算资源和/或存储资源。S302. Receive the first service allocation table sent by the home cloud platform, and allocate computing resources and/or storage resources to services in the first supported service according to the first service allocation table.
在注册智能家电充当的边缘计算节点时,获得该边缘计算节点的支持业务,并依据该支持业务以及已注册的边缘计算节点的支持业务,适应性的调整已注册的边缘计算节点为所支持的业务分配的计算资源和/或存储资源,这样可使各边缘计算节点处理擅长的业务,并为各业务分配适当的计算资源和/或存储资源,提高了处理智慧家庭中碎片化的业务的效率。When registering an edge computing node as a smart home appliance, obtain the support service of the edge computing node, and adaptively adjust the registered edge computing node as the supported service based on the support service and the support service of the registered edge computing node The computing resources and/or storage resources allocated by the business, so that each edge computing node can handle the business it is good at, and allocate appropriate computing resources and/or storage resources for each business, which improves the efficiency of handling fragmented business in the smart home .
在一些应用场景中,在第一边缘计算节点注册前,终端设备的第一需求业务中存在不被第二支持业务覆盖的第三类业务,且终端设备已向家庭云平台注册第三类业务,第一边缘计算节点的第一支持业务覆盖第三类业务。In some application scenarios, before the registration of the first edge computing node, there is a third type of service that is not covered by the second support service in the first demand service of the terminal device, and the terminal device has registered the third type of service with the home cloud platform , the first support service of the first edge computing node covers the third type of service.
在第一边缘计算节点根据第一业务分配表为第一支持业务中的业务分配计算资源和/或存储资源之后,可由家庭云平台将第一边缘计算节点的标识(例如第一边缘计算节点的地址)发送至终端设备,终端设备根据第一边缘计算节点的标识,将第三类业务注册至第一边缘计算节点,或者,第一边缘计算节点广播第一支持业务以及业务资源(例如计算资源和/或存储资源),终端设备接收到第一业务后,如果第一边缘计算节点的业务资源可满足终端设备的计算需求以及存储需求,则终端设备将第三类业务注册至第一边缘计算节点。After the first edge computing node allocates computing resources and/or storage resources to the services in the first supported service according to the first service allocation table, the identification of the first edge computing node (for example, the ID of the first edge computing node address) to the terminal device, and the terminal device registers the third type of service with the first edge computing node according to the identification of the first edge computing node, or, the first edge computing node broadcasts the first support service and service resources (such as computing resources and/or storage resources), after the terminal device receives the first service, if the service resources of the first edge computing node can meet the computing requirements and storage requirements of the terminal device, the terminal device will register the third type of service with the first edge computing node node.
在终端设备将第三类业务注册至第一边缘计算节点后,边缘计算节点注册的方法还包括:向家庭云平台发送请求第三类业务的运行数据的请求信息;接收家庭云平台发送的第三类业务的运行数据。After the terminal device registers the third type of service to the first edge computing node, the method for registering the edge computing node further includes: sending request information requesting the operation data of the third type of service to the home cloud platform; receiving the first edge computing node sent by the home cloud platform Operational data of the three types of business.
如果第一支持业务覆盖第三类业务中的部分业务,则向家庭云平台发送请求第三类业务中的部分业务的运行数据的请求信息;接收家庭云平台发送的第三类业务中的部分业务的运行数据。If the first support service covers part of the third type of business, send request information to the home cloud platform for the operation data of part of the third type of business; receive part of the third type of business sent by the home cloud platform business operating data.
如果第一支持业务覆盖第三类业务中的全部业务,则向家庭云平台发送请求第三类业务的全部业务的运行数据的请求信息;接收家庭云平台发送的第三类业务的全部业务的运行数据。If the first support business covers all the services in the third type of business, then send request information to the family cloud platform to request the operation data of all the services of the third type of business; receive the information of all the services of the third type of business sent by the family cloud platform Operating data.
这样可将第三类业务的运行数据同步到第一边缘计算节点,第一边缘计算节点可为第三类业务提供后续计算服务以及存储服务,使需求第三类业务的终端设备可不间断运行。In this way, the operating data of the third type of business can be synchronized to the first edge computing node, and the first edge computing node can provide subsequent computing services and storage services for the third type of business, so that the terminal equipment that requires the third type of business can run uninterrupted.
图4是本公开实施例提供的一种边缘计算节点注册的方法的示意图。该实施例以将边缘计算节点注册的方法应用在已注册的第二边缘计算节点,进行示例性说明。结合图4所示,边缘计算节点注册的方法包括:Fig. 4 is a schematic diagram of a method for edge computing node registration provided by an embodiment of the present disclosure. In this embodiment, the method for registering an edge computing node is applied to a registered second edge computing node for an exemplary description. As shown in Figure 4, the methods for edge computing node registration include:
S401、在第一边缘计算节点注册时,接收家庭云平台发送的调整后的第二业务分配表。S401. When the first edge computing node registers, receive the adjusted second service allocation table sent by the home cloud platform.
其中,调整后的第二业务分配表是通过如下方式获得的:在第二边缘计算节点的第二支持业务中存在被第一边缘计算节点的第一支持业务覆盖的第一类业务,且,第二支持业务中存在不被第一支持业务覆盖的第二类业务的情况下,家庭云平台调整第二边缘计算节点的原有的第二业务分配表中为第一类业务和第二类业务分配的计算资源和/或存储资源,获得调整后的第二业务分配表;Wherein, the adjusted second service allocation table is obtained in the following manner: there is a first type of service covered by the first support service of the first edge computing node in the second support service of the second edge computing node, and, In the case that there is a second type of service not covered by the first support service in the second support service, the home cloud platform adjusts the original second service allocation table of the second edge computing node to be the first type of service and the second type of service computing resources and/or storage resources allocated by the business, and obtain an adjusted second business allocation table;
S402、根据调整后的第二业务分配表调整为第一类业务和第二类业务分配的计算资源和/或存储资源。S402. Adjust computing resources and/or storage resources allocated to the first type of service and the second type of service according to the adjusted second service allocation table.
在注册智能家电充当的边缘计算节点时,获得该边缘计算节点的支持业务,并依据该支持业务以及已注册的边缘计算节点的支持业务,适应性的调整已注册的边缘计算节点为所支持的业务分配的计算资源和/或存储资源,这样可使各边缘计算节点处理擅长的业务,并为各业务分配适当的计算资源和/或存储资源,提高了处理智慧家庭中碎片化的业务的效率。When registering an edge computing node as a smart home appliance, obtain the support service of the edge computing node, and adaptively adjust the registered edge computing node as the supported service based on the support service and the support service of the registered edge computing node The computing resources and/or storage resources allocated by the business, so that each edge computing node can handle the business it is good at, and allocate appropriate computing resources and/or storage resources for each business, which improves the efficiency of handling fragmented business in the smart home .
图5是本公开实施例提供的一种智慧家庭系统的示意图。该智慧家庭系统包括家庭云平台、第一边缘计算节点和第二边缘计算节点,本实施例在家庭云平台、第一边缘计算节点和第二边缘计算节点的通信交互的角度对边缘计算节点注册的方法进行示例性说明,如图5所示:Fig. 5 is a schematic diagram of a smart home system provided by an embodiment of the present disclosure. The smart home system includes a home cloud platform, a first edge computing node, and a second edge computing node. In this embodiment, the edge computing node is registered to The method is exemplified, as shown in Figure 5:
S501、在第一边缘计算节点向家庭云平台发送注册请求时,第一边缘计算节点向家庭云平台发送第一边缘计算节点的第一支持业务;S501. When the first edge computing node sends a registration request to the home cloud platform, the first edge computing node sends the first support service of the first edge computing node to the home cloud platform;
S502、家庭云平台获得已注册的第二边缘计算节点的第二支持业务;S502. The home cloud platform obtains the second support service of the registered second edge computing node;
S503、如果第二支持业务中存在被第一支持业务覆盖的第一类业务,且,第二支持业务中存在不被第一支持业务覆盖的第二类业务,则家庭云平台调整第二边缘计算节点的第二业务分配表中为第一类业务和第二类业务分配的计算资源和/或存储资源;S503. If there is a first type of service covered by the first support service in the second support service, and there is a second type of service not covered by the first support service in the second support service, the home cloud platform adjusts the second edge Computing resources and/or storage resources allocated for the first type of service and the second type of service in the second service allocation table of the computing node;
S504、家庭云平台将调整后的第二业务分配表发送至第二边缘计算节点;S504. The home cloud platform sends the adjusted second service allocation table to the second edge computing node;
S505、第二边缘计算节点根据调整后的第二业务分配表调整为第一类业务和第二类业务分配的计算资源和/或存储资源;S505. The second edge computing node adjusts the computing resources and/or storage resources allocated for the first type of service and the second type of service according to the adjusted second service allocation table;
S506、家庭云平台创建第一边缘计算节点的第一业务分配表,并将第一业务分配表发送至第一边缘计算节点;S506. The home cloud platform creates a first service allocation table of the first edge computing node, and sends the first service allocation table to the first edge computing node;
其中,第一业务分配表中包括为第一支持业务中的业务分配的计算资源和/或存储资源;S506可在S505之前执行,也可在S505之后执行,本公开实施例不对S505和S506的先后顺序做限定;Wherein, the first service allocation table includes the computing resources and/or storage resources allocated for the services in the first support service; S506 can be performed before S505, or can be performed after S505, and the embodiment of the present disclosure does not apply to S505 and S506 The sequence is limited;
S507、第一边缘计算节点根据第一业务分配表为第一支持业务中的业务分配计算资源和/或存储资源。S507. The first edge computing node allocates computing resources and/or storage resources to services in the first supported service according to the first service allocation table.
在一些实施例中,边缘计算节点注册的装置包括处理器和存储有程序指令的存储器,处理器被配置为在执行程序指令时,执行前述实施例提供的边缘计算节点注册的方法。In some embodiments, the device for registering an edge computing node includes a processor and a memory storing program instructions, and the processor is configured to execute the method for registering an edge computing node provided in the foregoing embodiments when executing the program instructions.
图6是本公开实施例提供的一种边缘计算节点注册的装置的示意图。结合图6所示,边缘计算节点注册的装置包括:Fig. 6 is a schematic diagram of an apparatus for edge computing node registration provided by an embodiment of the present disclosure. As shown in Figure 6, the device registered by the edge computing node includes:
处理器(processor)61和存储器(memory)62,还可以包括通信接口(Communication Interface)63和总线64。其中,处理器61、通信接口63、存储器62可以通过总线64完成相互间的通信。通信接口63可以用于信息传输。处理器61可以调用存储器62中的逻辑指令,以执行前述实施例提供的边缘计算节点注册的方法。A processor (processor) 61 and a memory (memory) 62 may also include a communication interface (Communication Interface) 63 and a
此外,上述的存储器62中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above-mentioned logic instructions in the
存储器62作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器61通过运行存储在存储器62中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的方法。The
存储器62可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器62可以包括高速随机存取存储器,还可以包括非易失性存储器。The
本公开实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令设置为执行前述实施例提供的边缘计算节点注册的方法。An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, and the computer-executable instructions are configured to execute the method for registering an edge computing node provided in the foregoing embodiments.
本公开实施例提供了一种计算机程序产品,计算机程序产品包括存储在计算机可读存储介质上的计算机程序,计算机程序包括程序指令,当程序指令被计算机执行时,使计算机执行前述实施例提供的边缘计算节点注册的方法。An embodiment of the present disclosure provides a computer program product. The computer program product includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer is made to execute the information provided in the foregoing embodiments. Method for edge computing node registration.
上述的计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The above-mentioned computer-readable storage medium may be a transitory computer-readable storage medium, or a non-transitory computer-readable storage medium.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或一个以上指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例中方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机读取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solutions of the embodiments of the present disclosure can be embodied in the form of software products, which are stored in a storage medium and include one or more instructions to enable a computer device (which may be a personal computer, a server, or a network equipment, etc.) to execute all or part of the steps of the methods in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc. A medium that can store program code, or a transitory storage medium.
以上描述和附图充分地示出了本公开的实施例,以使本领域的技术人员能够实践它们。其他实施例可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施例的部分和特征可以被包括在或替换其他实施例的部分和特征。而且,本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法或者设备中还存在另外的相同要素。本文中,每个实施例重点说明的可以是与其他实施例的不同之处,各个实施例之间相同相似部分可以互相参见。对于实施例公开的方法、产品等而言,如果其与实施例公开的方法部分相对应,那么相关之处可以参见方法部分的描述。The above description and drawings sufficiently illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, procedural, and other changes. The examples merely represent possible variations. Individual components and functions are optional unless explicitly required, and the order of operations may vary. Portions and features of some embodiments may be included in or substituted for those of other embodiments. Also, the terms used in the present application are used to describe the embodiments only and are not used to limit the claims. As used in the examples and description of the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well unless the context clearly indicates otherwise . Additionally, when used in this application, the term "comprise" and its variants "comprises" and/or comprising (comprising) etc. refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these. Without further limitations, an element qualified by the statement "comprising a ..." does not preclude the presence of additional identical elements in the process, method or apparatus comprising the element. Herein, what each embodiment focuses on may be the difference from other embodiments, and the same and similar parts of the various embodiments may refer to each other. For the method, product, etc. disclosed in the embodiment, if it corresponds to the method part disclosed in the embodiment, then the relevant part can refer to the description of the method part.
本领域技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,可以取决于技术方案的特定应用和设计约束条件。技术人员可以对每个特定的应用来使用不同方法以实现所描述的功能,但是这种实现不应认为超出本公开实施例的范围。技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software may depend on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functions using different methods for each specific application, but such implementation should not be considered as exceeding the scope of the disclosed embodiments. Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
本文所披露的实施例中,所揭露的方法、产品(包括但不限于装置、设备等),可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,可以仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例。另外,在本公开实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of units may only be a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or may be Integrate into another system, or some features may be ignored, or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms. A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
附图中的流程图和框图显示了根据本公开实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,模块、程序段或代码的一部分包含一个或一个以上用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more executable instruction. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by dedicated hardware implemented in combination with computer instructions.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110656333.XA CN113452586B (en) | 2021-06-11 | 2021-06-11 | Method and device for registering edge computing node and intelligent home system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110656333.XA CN113452586B (en) | 2021-06-11 | 2021-06-11 | Method and device for registering edge computing node and intelligent home system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113452586A CN113452586A (en) | 2021-09-28 |
| CN113452586B true CN113452586B (en) | 2023-04-07 |
Family
ID=77811329
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110656333.XA Active CN113452586B (en) | 2021-06-11 | 2021-06-11 | Method and device for registering edge computing node and intelligent home system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113452586B (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112732440A (en) * | 2021-01-07 | 2021-04-30 | 中国铁塔股份有限公司 | Resource allocation method, device, cloud platform server and edge node device |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105516242A (en) * | 2015-11-23 | 2016-04-20 | 华为技术有限公司 | Storage resource distribution method and storage resource distribution system |
| US11412052B2 (en) * | 2018-12-28 | 2022-08-09 | Intel Corporation | Quality of service (QoS) management in edge computing environments |
| CN109819037B (en) * | 2019-01-29 | 2022-02-15 | 武汉鸿瑞达信息技术有限公司 | Method and system for self-adaptive calculation and communication |
| CN110661861A (en) * | 2019-09-19 | 2020-01-07 | 北京邮电大学 | Wisdom logistics business system |
| CN110769059B (en) * | 2019-10-28 | 2021-08-17 | 中国矿业大学 | A collaborative service deployment and business allocation method for regional edge computing IoT |
| CN111866949B (en) * | 2020-07-31 | 2022-07-29 | 西安工业大学 | Method, system, equipment and storage medium for setting edge server in smart city |
| CN112187891B (en) * | 2020-09-16 | 2022-06-10 | 国网浙江省电力有限公司信息通信分公司 | Load optimization method and device of edge computing node set based on multiple services |
-
2021
- 2021-06-11 CN CN202110656333.XA patent/CN113452586B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112732440A (en) * | 2021-01-07 | 2021-04-30 | 中国铁塔股份有限公司 | Resource allocation method, device, cloud platform server and edge node device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113452586A (en) | 2021-09-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109151009B (en) | A MEC-based CDN node allocation method and system | |
| CN104486589B (en) | Access method and device in video monitoring system based on GVRP | |
| CN113625589B (en) | Equipment control method and device, electronic equipment and storage medium | |
| CN102763373A (en) | Method and apparatus for using service of home network device based on remote access | |
| CN101499995A (en) | Service scheduling method, system and apparatus for service scheduling | |
| CN114363881A (en) | IP address allocation method, device, equipment and medium | |
| CN118400339B (en) | Tenant management method, device, controller and storage medium | |
| CN105722040B (en) | Method, device and system for transmitting business messages | |
| CN104539752B (en) | Access method and system between multilevel field platform | |
| WO2016086544A1 (en) | Network interface configuration method and apparatus for network device and storage medium | |
| CN112134964A (en) | Controller distribution method, computer equipment, storage medium and network service system | |
| CN106790734B (en) | Network address allocation method and device | |
| CN113452763B (en) | Smart home business registration method and device and smart home system | |
| CN114615272B (en) | Method and system for scheduling media data forwarding server | |
| CN113452586B (en) | Method and device for registering edge computing node and intelligent home system | |
| CN105681266B (en) | A kind of communication cluster method and device of mediaphone MMTel | |
| US20180367647A1 (en) | Wireless communication module based cloud access method and system | |
| CN106878485B (en) | Message processing method and device | |
| CN108551477A (en) | Data transmission channel establishment system, network storage device, server and method | |
| CN106230980A (en) | A kind of address configuration method, Apparatus and system | |
| CN107995125B (en) | Traffic scheduling method and device | |
| CN111988446B (en) | Message processing method and device, electronic equipment and storage medium | |
| CN113515055B (en) | Edge computing node and terminal device registration methods, devices and smart home systems | |
| CN113904871A (en) | Network slice access method, PCF entity, terminal and communication system | |
| CN115801727A (en) | Domain name resolution method, domain name resolution device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |