Edge computing system and method based on X86 and ARM mixed architecture

文档序号:1815845 发布日期:2021-11-09 浏览:18次 中文

阅读说明:本技术 一种基于x86和arm混合架构的边缘计算系统与方法 (Edge computing system and method based on X86 and ARM mixed architecture ) 是由 冷迪 陈瑞 李英 于 2021-08-27 设计创作,主要内容包括:本发明涉及一种基于X86和ARM混合架构的边缘计算系统与方法,包括上位机生成数据处理请求,并根据数据处理请求的类型发送给对应的节点应用模块;多个节点应用模块接收上位机的数据处理请求,并将数据处理请求传输给边缘计算模块;边缘计算模块对接收的数据处理请求进行分析,根据分析结果判断是否存在已有虚拟服务器,若存在已有虚拟服务器,则利用该已有虚拟服务器调用对应的节点应用模块的应用程序对数据处理请求进行数据处理,并将数据处理结果返回给对应的节点应用模块;该对应的节点应用模块将该数据处理结果返回给上位机。本发明能够节省了大量的计算资源,大大提高了边缘计算的效率。(The invention relates to an edge computing system and method based on an X86 and ARM mixed architecture, which comprises an upper computer generating a data processing request and sending the data processing request to a corresponding node application module according to the type of the data processing request; the node application modules receive data processing requests of the upper computer and transmit the data processing requests to the edge computing module; the edge computing module analyzes the received data processing request, judges whether an existing virtual server exists according to the analysis result, if the existing virtual server exists, the existing virtual server is used for calling an application program of the corresponding node application module to process data of the data processing request, and the data processing result is returned to the corresponding node application module; and the corresponding node application module returns the data processing result to the upper computer. The invention can save a large amount of computing resources and greatly improve the efficiency of edge computing.)

1. An edge computing system based on an X86 and ARM mixed architecture is characterized by comprising an upper computer, a plurality of node application modules and an edge computing module which are sequentially connected through a network; the plurality of node application modules respectively store different application programs;

the upper computer is used for: generating a data processing request, and sending the data processing request to a corresponding node application module according to the type of the data processing request;

the plurality of node application modules are to: receiving a data processing request of the upper computer, and transmitting the data processing request to the edge computing module;

the edge calculation module is to: analyzing the received data processing request, judging whether an existing virtual server exists according to an analysis result, if so, calling an application program of a corresponding node application module by using the existing virtual server to process the data of the data processing request, and returning a data processing result to the corresponding node application module; and the corresponding node application module returns the data processing result to the upper computer.

2. The X86 and ARM hybrid architecture based edge computing system of claim 1, wherein the edge computing module is further configured to: if the existing virtual server does not exist, generating a corresponding operating system and a corresponding bottom architecture according to the data processing request to form a virtual server, calling an application program of a corresponding node application module by using the virtual server to perform data processing on the data processing request, and returning a data processing result to the corresponding node application module; the corresponding node application module returns the data processing result to the upper computer; wherein the bottom layer architecture is an X86 architecture or an ARM architecture.

3. The X86 and ARM hybrid architecture based edge computing system of claim 2, wherein the edge computing module is specifically configured to: determining the type of the data processing request according to the attribute of the node application module which sends the data processing request; and according to the type of the data processing request and an operating system and a bottom framework required by the application program stored by the node application module.

4. The X86 and ARM hybrid architecture based edge computing system of claim 3, wherein the edge computing module comprises a request receiving module, a storage module, a processing module, an operating system generation module, an underlying architecture selection module; the request receiving module is used for receiving a data processing request sent by the node application module; the storage module is used for storing the data processing requests received by the request receiving module and transmitting the data processing requests to the processing module according to the storage time sequence; the processing module is used for analyzing the data processing request transmitted by the storage module and sending an analysis result to the operating system generation module and the bottom layer architecture selection module; the operating system generating module generates an operating system according to the analysis result; and the bottom layer architecture selection module generates and selects an X86 architecture or an ARM architecture as a bottom layer architecture according to the analysis result.

5. The X86 and ARM hybrid architecture based edge computing system of claim 3, wherein the edge computing module is further configured to: and periodically checking the request data of the plurality of application modules, and if the data processing request of any application module is not received in one period, deleting the virtual server corresponding to any application module.

6. The edge computing method of claim 1, wherein the method comprises the following steps:

step S10, the upper computer generates a data processing request and sends the data processing request to a corresponding node application module according to the type of the data processing request;

step S20, the node application module receives a data processing request of the upper computer and transmits the data processing request to the edge calculation module;

step S30, the edge computing module analyzes the received data processing request, judges whether there is a virtual server according to the analysis result, if there is a virtual server, the virtual server calls the application program of the corresponding node application module to process the data of the data processing request, and returns the data processing result to the corresponding node application module;

and step S40, the corresponding node application module returns the data processing result to the upper computer.

7. The edge calculation method according to claim 6, wherein the step S30 includes:

if the existing virtual server does not exist, the edge computing module generates a corresponding operating system and a corresponding bottom layer framework according to the data processing request to form a virtual server, the virtual server is utilized to call an application program of a corresponding node application module to perform data processing on the data processing request, and a data processing result is returned to the corresponding node application module; the corresponding node application module returns the data processing result to the upper computer; wherein the bottom layer architecture is an X86 architecture or an ARM architecture.

8. The edge calculation method of claim 7, wherein the edge calculation module is specifically configured to: determining the type of the data processing request according to the attribute of the node application module which sends the data processing request; and according to the type of the data processing request and an operating system and a bottom framework required by the application program stored by the node application module.

9. The edge computing method according to claim 8, wherein the edge computing module comprises a request receiving module, a storage module, a processing module, an operating system generating module, and an underlying architecture selecting module; the request receiving module is used for receiving a data processing request sent by the node application module; the storage module is used for storing the data processing requests received by the request receiving module and transmitting the data processing requests to the processing module according to the storage time sequence; the processing module is used for analyzing the data processing request transmitted by the storage module and sending an analysis result to the operating system generation module and the bottom layer architecture selection module; the operating system generating module generates an operating system according to the analysis result; and the bottom layer architecture selection module generates and selects an X86 architecture or an ARM architecture as a bottom layer architecture according to the analysis result.

10. The edge calculation method of claim 8, further comprising the steps of:

step S50, the edge calculation module periodically checks the request data of the plurality of application modules, and if a data processing request of any application module is not received in one period, deletes the virtual server corresponding to the any application module.

Technical Field

The invention relates to the technical field of edge computing of processors, in particular to an edge computing system based on a mixed architecture of X86 and ARM.

Background

The edge computing technology is an open platform integrating network, computing, storage and application core capabilities at one side close to an object or a data source to provide nearest-end service nearby. The application program is initiated at the edge side, so that a faster network service response is generated, and the basic requirements of the industry in the aspects of real-time business, application intelligence, safety, privacy protection and the like are met. The edge computation is between the physical entity and the industrial connection, or on top of the physical entity. And the cloud computing still can access the historical data of the edge computing.

Although the types and the number of the edge computing architectures of the X86 and ARM hybrid architectures on the market are very large, the edge computing architecture of the X86 and ARM hybrid architectures has the following technical problems: for the data processing requirements of the upper computer equipment in the internet of things, task analysis and distribution are required to be carried out each time when the request of the upper computer equipment is processed, and a large amount of computing resources are required to be consumed to determine which framework is used for processing.

Disclosure of Invention

The present invention is directed to an edge computing system and method based on a hybrid architecture of X86 and ARM to solve the above technical problems.

In order to achieve the above object, an embodiment of the present invention provides an edge computing system based on a hybrid architecture of X86 and ARM, including an upper computer, a plurality of node application modules, and an edge computing module, which are sequentially connected via a network; the plurality of node application modules respectively store different application programs;

the upper computer is used for: generating a data processing request, and sending the data processing request to a corresponding node application module according to the type of the data processing request;

the plurality of node application modules are to: receiving a data processing request of the upper computer, and transmitting the data processing request to the edge computing module;

the edge calculation module is to: analyzing the received data processing request, judging whether an existing virtual server exists according to an analysis result, if so, calling an application program of a corresponding node application module by using the existing virtual server to process the data of the data processing request, and returning a data processing result to the corresponding node application module; and the corresponding node application module returns the data processing result to the upper computer.

Preferably, the edge calculation module is further configured to: if the existing virtual server does not exist, generating a corresponding operating system and a corresponding bottom architecture according to the data processing request to form a virtual server, calling an application program of a corresponding node application module by using the virtual server to perform data processing on the data processing request, and returning a data processing result to the corresponding node application module; the corresponding node application module returns the data processing result to the upper computer; wherein the bottom layer architecture is an X86 architecture or an ARM architecture.

Preferably, the edge calculation module is specifically configured to: determining the type of the data processing request according to the attribute of the node application module which sends the data processing request; and according to the type of the data processing request and an operating system and a bottom framework required by the application program stored by the node application module.

Preferably, the edge calculation module comprises a request receiving module, a storage module, a processing module, an operating system generation module and a bottom layer architecture selection module; the request receiving module is used for receiving a data processing request sent by the node application module; the storage module is used for storing the data processing requests received by the request receiving module and transmitting the data processing requests to the processing module according to the storage time sequence; the processing module is used for analyzing the data processing request transmitted by the storage module and sending an analysis result to the operating system generation module and the bottom layer architecture selection module; the operating system generating module generates an operating system according to the analysis result; and the bottom layer architecture selection module generates and selects an X86 architecture or an ARM architecture as a bottom layer architecture according to the analysis result.

Preferably, the edge calculation module is further configured to: and periodically checking the request data of the plurality of application modules, and if the data processing request of any application module is not received in one period, deleting the virtual server corresponding to any application module.

The embodiment of the present invention further provides an edge computing method implemented by the edge computing system based on the X86 and ARM hybrid architecture, including the following steps:

step S10, the upper computer generates a data processing request and sends the data processing request to a corresponding node application module according to the type of the data processing request;

step S20, the node application module receives a data processing request of the upper computer and transmits the data processing request to the edge calculation module;

step S30, the edge computing module analyzes the received data processing request, judges whether there is a virtual server according to the analysis result, if there is a virtual server, the virtual server calls the application program of the corresponding node application module to process the data of the data processing request, and returns the data processing result to the corresponding node application module;

and step S40, the corresponding node application module returns the data processing result to the upper computer.

Preferably, the step S30 includes:

if the existing virtual server does not exist, the edge computing module generates a corresponding operating system and a corresponding bottom layer framework according to the data processing request to form a virtual server, the virtual server is utilized to call an application program of a corresponding node application module to perform data processing on the data processing request, and a data processing result is returned to the corresponding node application module; the corresponding node application module returns the data processing result to the upper computer; wherein the bottom layer architecture is an X86 architecture or an ARM architecture.

Preferably, the edge calculation module is specifically configured to: determining the type of the data processing request according to the attribute of the node application module which sends the data processing request; and according to the type of the data processing request and an operating system and a bottom framework required by the application program stored by the node application module.

Preferably, the edge calculation module comprises a request receiving module, a storage module, a processing module, an operating system generation module and a bottom layer architecture selection module; the request receiving module is used for receiving a data processing request sent by the node application module; the storage module is used for storing the data processing requests received by the request receiving module and transmitting the data processing requests to the processing module according to the storage time sequence; the processing module is used for analyzing the data processing request transmitted by the storage module and sending an analysis result to the operating system generation module and the bottom layer architecture selection module; the operating system generating module generates an operating system according to the analysis result; and the bottom layer architecture selection module generates and selects an X86 architecture or an ARM architecture as a bottom layer architecture according to the analysis result.

Preferably, the method further comprises the steps of:

step S50, the edge calculation module periodically checks the request data of the plurality of application modules, and if a data processing request of any application module is not received in one period, deletes the virtual server corresponding to the any application module.

The embodiment of the invention at least has the following beneficial effects:

the edge computing system provided by the embodiment of the invention can generate the corresponding virtual server according to the data processing requirement of the upper computer and process the data processing requirement by using the virtual server, for the newly added node application module, the edge computing module establishes the corresponding virtual server only when the data processing requirement is carried out for the first time, and then the virtual server executes the corresponding application of the node application module, and the task analysis and distribution are not required to be carried out when the request of the upper computer equipment is processed each time, so that a large amount of computing resources are saved, and the edge computing efficiency is greatly improved.

Additional features and advantages of embodiments of the invention will be set forth in the description which follows.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

Fig. 1 is a schematic diagram of an edge computing system according to an embodiment of the invention.

Fig. 2 is a schematic diagram of an edge calculation module according to an embodiment of the invention.

Fig. 3 is a flowchart of an edge calculation method according to another embodiment of the invention.

The labels in the figure are:

the system comprises a host computer 1, a node 2, a node application module 3, an edge calculation module 31, a request receiving module 32, a storage module 33, a processing module 34, an operating system generation module and a bottom layer architecture selection module 35.

Detailed Description

Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In addition, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, well known means have not been described in detail so as not to obscure the present invention.

Referring to fig. 1, an embodiment of the present invention provides an edge computing system based on an X86 and ARM hybrid architecture, including an upper computer, a plurality of node application modules, and an edge computing module, which are sequentially connected via a network; the plurality of node application modules respectively store different application programs;

the upper computer is used for: generating a data processing request, and sending the data processing request to a corresponding node application module according to the type of the data processing request;

the plurality of node application modules are to: receiving a data processing request of the upper computer, and transmitting the data processing request to the edge computing module;

the edge calculation module is to: analyzing the received data processing request, judging whether an existing virtual server exists according to an analysis result, if so, calling an application program of a corresponding node application module by using the existing virtual server to process the data of the data processing request, and returning a data processing result to the corresponding node application module; and the corresponding node application module returns the data processing result to the upper computer.

The edge computing system provided by the embodiment of the invention can generate the corresponding virtual server according to the data processing requirement of the upper computer and process the data processing requirement by using the virtual server, for the newly added node application module, the edge computing module establishes the corresponding virtual server only when the data processing requirement is carried out for the first time, and then the virtual server executes the corresponding application of the node application module, and the task analysis and distribution are not required to be carried out when the request of the upper computer equipment is processed each time, so that a large amount of computing resources are saved, and the edge computing efficiency is greatly improved.

Specifically, the edge calculation module is further configured to: if the existing virtual server does not exist, generating a corresponding operating system and a corresponding bottom architecture according to the data processing request to form a virtual server, calling an application program of a corresponding node application module by using the virtual server to perform data processing on the data processing request, and returning a data processing result to the corresponding node application module; the corresponding node application module returns the data processing result to the upper computer; wherein the bottom layer architecture is an X86 architecture or an ARM architecture. Specifically, in this embodiment, according to the specific situation of processing data, an operating system and an underlying architecture matched with the operating system are built, so that the edge computing module can perform fast processing on the data, the data processing includes, for example, image recognition, information fusion, device fault detection, device state evaluation, and the like, different data processing needs to be implemented based on different application programs, that is, program codes are operated to obtain processing results, and the application programs are stored in the node application module in advance.

Specifically, the edge calculation module is further specifically configured to: determining the type of the data processing request according to the attribute of the node application module which sends the data processing request; and according to the type of the data processing request and an operating system and a bottom framework required by the application program stored by the node application module.

Specifically, the edge calculation module comprises a request receiving module, a storage module, a processing module, an operating system generation module and a bottom layer architecture selection module; the request receiving module is used for receiving a data processing request sent by the node application module; the storage module is used for storing the data processing requests received by the request receiving module and transmitting the data processing requests to the processing module according to the storage time sequence; the processing module is used for analyzing the data processing request transmitted by the storage module and sending an analysis result to the operating system generation module and the bottom layer architecture selection module; the operating system generating module generates an operating system according to the analysis result; and the bottom layer architecture selection module generates and selects an X86 architecture or an ARM architecture as a bottom layer architecture according to the analysis result.

Specifically, the edge calculation module is further configured to: and periodically checking the request data of the plurality of application modules, and if the data processing request of any application module is not received in a period, such as one month, and the data processing request indicates that the virtual server corresponding to the application module is not used for a long time, deleting the virtual server corresponding to any application module to release the space of the edge computing module.

Referring to fig. 3, an embodiment of the present invention further provides an edge calculation method implemented by the edge calculation system based on the hybrid X86 and ARM architecture, including the following steps:

step S10, the upper computer generates a data processing request and sends the data processing request to a corresponding node application module according to the type of the data processing request;

step S20, the node application module receives a data processing request of the upper computer and transmits the data processing request to the edge calculation module;

step S30, the edge computing module analyzes the received data processing request, judges whether there is a virtual server according to the analysis result, if there is a virtual server, the virtual server calls the application program of the corresponding node application module to process the data of the data processing request, and returns the data processing result to the corresponding node application module;

and step S40, the corresponding node application module returns the data processing result to the upper computer.

Specifically, the step S30 includes:

if the existing virtual server does not exist, the edge computing module generates a corresponding operating system and a corresponding bottom layer framework according to the data processing request to form a virtual server, the virtual server is utilized to call an application program of a corresponding node application module to perform data processing on the data processing request, and a data processing result is returned to the corresponding node application module; the corresponding node application module returns the data processing result to the upper computer; wherein the bottom layer architecture is an X86 architecture or an ARM architecture.

Specifically, the edge calculation module is specifically configured to: determining the type of the data processing request according to the attribute of the node application module which sends the data processing request; and according to the type of the data processing request and an operating system and a bottom framework required by the application program stored by the node application module.

Specifically, the edge calculation module comprises a request receiving module, a storage module, a processing module, an operating system generation module and a bottom layer architecture selection module; the request receiving module is used for receiving a data processing request sent by the node application module; the storage module is used for storing the data processing requests received by the request receiving module and transmitting the data processing requests to the processing module according to the storage time sequence; the processing module is used for analyzing the data processing request transmitted by the storage module and sending an analysis result to the operating system generation module and the bottom layer architecture selection module; the operating system generating module generates an operating system according to the analysis result; and the bottom layer architecture selection module generates and selects an X86 architecture or an ARM architecture as a bottom layer architecture according to the analysis result.

Specifically, the method further comprises the following steps:

step S50, the edge calculation module periodically checks the request data of the plurality of application modules, and if a data processing request of any application module is not received in one period, deletes the virtual server corresponding to the any application module.

The above-mentioned embodiment system corresponds to the above-mentioned embodiment method, and therefore, the content that is not described in detail in the above-mentioned embodiment method can be obtained by referring to the content of the above-mentioned embodiment system, and is not described herein again.

Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种存算一体的集成芯片

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!