CN113055209A - Arranging method and device for edge calculation - Google Patents

Arranging method and device for edge calculation Download PDF

Info

Publication number
CN113055209A
CN113055209A CN201911377641.8A CN201911377641A CN113055209A CN 113055209 A CN113055209 A CN 113055209A CN 201911377641 A CN201911377641 A CN 201911377641A CN 113055209 A CN113055209 A CN 113055209A
Authority
CN
China
Prior art keywords
node
theme
nodes
preset
computing node
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.)
Granted
Application number
CN201911377641.8A
Other languages
Chinese (zh)
Other versions
CN113055209B (en
Inventor
张冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201911377641.8A priority Critical patent/CN113055209B/en
Publication of CN113055209A publication Critical patent/CN113055209A/en
Application granted granted Critical
Publication of CN113055209B publication Critical patent/CN113055209B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an arrangement method and device for edge calculation, wherein the method comprises the following steps: displaying a preset interface under the condition of receiving a layout instruction; the preset interface comprises preset nodes and an arrangement area; the nodes comprise a computing node and a device node; the computing node is used for indicating an edge end module; responding to the operation of dragging any one of preset nodes to the layout area, and displaying the node in the layout area; generating a connecting line having a direction between a first node and a second node in response to a connecting operation from the first node to the second node in the layout area; the direction of the connecting line indicates that the output of the first node is the input of the second node; and generating a configuration file for calculating the edge end according to the connecting line between the nodes in the layout area. The method and the device can reduce the difficulty of manual operation and reduce the error rate.

Description

Arranging method and device for edge calculation
Technical Field
The invention relates to the field of industrial internet, in particular to a layout method and a device for edge calculation.
Background
For edge computing, it is generally required to perform layout at a cloud, control modules to be executed at an edge end at the cloud (for convenience of description, program modules to be executed are referred to as edge end modules), and control an execution flow of each edge end module at the edge end.
At present, generally, manual arrangement is performed at a cloud end, and in order to decouple edge modules in edge ends, specifically, the edge modules are configured manually by editing configuration files, and input topics and output topics of each edge module. Taking any edge end module as an example, configuring an input theme and an output theme for the edge end module, receiving data from the corresponding input theme by the edge end module, and storing an execution result in the corresponding output theme.
However, the arrangement mode of manually writing the configuration file has the problems of high manual operation difficulty and high error rate.
Disclosure of Invention
In view of the above, the present invention provides an edge calculation orchestration method and apparatus that overcomes or at least partially solves the above problems.
The application provides an arrangement method of edge calculation, which comprises the following steps:
displaying a preset interface under the condition of receiving a layout instruction; the preset interface comprises preset nodes and an arrangement area; the nodes comprise a computing node and a device node; the computing node is used for indicating an edge end module;
in response to an operation of dragging any one of the preset nodes to the layout area, displaying the node in the layout area;
generating a connection line having a direction between a first node and a second node in response to a connection operation from the first node to the second node in the marshalling area; the direction of the connecting line indicates that the output of the first node is the input of the second node;
and generating a configuration file for calculating the edge end according to the connecting line between the nodes in the layout area.
Optionally, the generating a configuration file for edge calculation according to the connection line between the nodes in the layout area includes:
generating an input theme and an output theme of the calculation nodes in the arrangement area according to a preset theme generation rule and the arrangement represented by the direction of the connecting lines between the nodes in the arrangement area;
and generating a configuration file for edge calculation according to the nodes in the arrangement area and the input theme and the output theme of the calculation nodes in the arrangement area.
Optionally, the preset theme generation rule includes:
configuring the output theme of the last computing node as a preset theme; the last calculation node is a node arranged at the last in the arrangement region;
configuring an input topic of a first computing node as a device node; a node arranged at the first in the arrangement area is an equipment node, and the first computing node is a computing node connected with the equipment node;
for any intermediate computing node, configuring the input theme of the intermediate node as the output theme of the previous node, wherein the output theme of the intermediate computing node is the input theme of the next node; the intermediate computing node is a node in the arrangement area except for the equipment node, the first computing node and the last computing node.
Optionally, the method further includes:
acquiring data from the preset theme;
and carrying out preset processing according to the acquired data.
The present application also provides an arrangement apparatus for edge calculation, including:
the display device is used for displaying a preset interface under the condition of receiving the arranging instruction; the preset interface comprises preset nodes and an arrangement area; the nodes comprise a computing node and a device node; the computing node is used for indicating an edge end module;
the first response module is used for responding to the operation of dragging any one of the preset nodes to the layout area and displaying the node in the layout area;
a second response module, configured to generate a connection line having a direction between a first node and a second node in response to a connection operation from the first node to the second node in the marshalling area; the direction of the connecting line indicates that the output of the first node is the input of the second node;
and the generating module is used for generating a configuration file for calculating the edge end according to the connecting line between the nodes in the layout area.
Optionally, the generating module is configured to generate a configuration file for edge calculation according to a connection line between nodes in the layout area, and includes:
the generating module is specifically configured to generate an input theme and an output theme of the computing nodes in the arrangement area according to a preset theme generating rule and the arrangement represented by the direction of the connecting line between the nodes in the arrangement area; and generating a configuration file for edge calculation according to the nodes in the arrangement area and the input theme and the output theme of the calculation nodes in the arrangement area.
Optionally, the preset theme generation rule includes:
configuring the output theme of the last computing node as a preset theme; the last calculation node is a node arranged at the last in the arrangement region;
configuring an input topic of a first computing node as a device node; a node arranged at the first in the arrangement area is an equipment node, and the first computing node is a computing node connected with the equipment node;
for any intermediate computing node, configuring the input theme of the intermediate node as the output theme of the previous node, wherein the output theme of the intermediate computing node is the input theme of the next node; the intermediate computing node is a node in the arrangement area except for the equipment node, the first computing node and the last computing node.
Optionally, the method further includes:
the acquisition module is used for acquiring data from the preset theme;
and the preprocessing module is used for performing preset processing according to the acquired data.
The present application further provides a storage medium including a stored program, wherein the program executes any one of the above edge calculation arranging methods.
The application also provides a device, which comprises at least one processor, at least one memory connected with the processor, and a bus; the processor and the memory complete mutual communication through the bus; the processor is used for calling the program instructions in the memory to execute the arrangement method of any edge calculation.
By means of the technical scheme, in the arrangement method and the arrangement device for the edge calculation, a preset interface is displayed under the condition that an arrangement instruction is received, and the preset interface comprises preset nodes and arrangement areas; the nodes comprise equipment nodes and computing nodes; responding to an operation of dragging any node in the preset nodes to the layout area, and displaying the node in the layout area; in response to a connection operation from a first node to a second node in the layout area, a connection line having a direction is generated between the first node and the second node.
On the one hand, in the application, for the nodes needing to be arranged, a user only needs to drag the corresponding nodes to the arrangement area and establish the connecting lines of the nodes, and any dragged node and any established connecting line are displayed in the arrangement area, so that the visualization function is realized, the operation is convenient, and the operation difficulty is reduced. In addition, the user can visually see the data transmission direction among the nodes, so that the error rate of establishing the connecting lines among the nodes in the arranging area is low;
on the other hand, the direction of the connecting line of the nodes in the layout area represents the data transmission direction between the connected nodes, so that the configuration file for edge calculation can be generated according to the connecting line of the nodes in the layout area, that is, the generation process of the configuration file is automatic generation, and the error rate can be further reduced.
In conclusion, the manual operation difficulty can be reduced, and the error rate can be reduced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 shows a flow diagram of an orchestration method of edge computation;
FIG. 2 shows a schematic diagram of a preset page presented in the case of receiving an orchestration instruction for edge computation;
FIG. 3 is a schematic diagram illustrating a connection relationship between nodes in an organization area;
FIG. 4 illustrates a flow chart of a method of generating input and output topics for computing nodes within a marshalling area;
FIG. 5 is a schematic diagram of an edge calculation orchestration device;
fig. 6 shows a schematic structural diagram of an electronic device.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a layout method of edge calculation according to an embodiment of the present application, including the following steps:
s101, displaying a preset interface under the condition of receiving a layout instruction.
In this step, the preset interface includes preset nodes and an arrangement area, where the nodes include a computation node and a device node, and the device node is used to provide source data for edge computation. The computing node is used for computing, namely the computing node is used for indicating the edge end module.
Specifically, in this embodiment, the preset interface may include a preset node list and an arrangement area, as shown in fig. 2. The right area of fig. 2 is a node list, specifically, the node list includes a sub device list and a module list, where nodes included in the sub device list are referred to as device nodes. The nodes in the module list are used to implement the computation, and are therefore referred to as compute nodes. The left area of fig. 2 is an arrangement area, and a user can arrange the required nodes in the node list in the arrangement area.
It should be noted that, displaying the nodes in the node list in fig. 2 is only a specific implementation manner, and in practice, other manners may also be used for displaying, and this embodiment does not limit the specific display manner.
For convenience of description, the present embodiment refers to the nodes in the preset interface as preset nodes.
S102, in response to the operation of dragging any one of the preset nodes to the layout area, displaying the node in the layout area.
Specifically, in this step, a response may be performed to the user dragging the node to the layout area, where a specific implementation manner of the response is the prior art, and is not described herein again.
Taking fig. 2 as an example, four nodes in the layout area are the result of the operation of responding to the user dragging the node.
And S103, responding to the connection operation from the first node to the second node in the arrangement area, and generating a connection line with a direction between the first node and the second node.
In this step, the first node and the second node are any two nodes having a data transmission relationship in the layout area. Specifically, in this step, a connection line pointing from the first node to the second node is obtained in response to a connection operation from the first node to the second node by the user. Wherein, the connecting line from the first node to the second node is used for indicating that the output of the first node is the input of the second node. The specific implementation process of the response is the prior art, and is not described herein again.
Also taking fig. 2 as an example, assuming that the first node is a device node and the second node is an sql node, the connecting line from the device node to the sql node is as shown in fig. 2, and the direction of the connecting line points to the sql node.
And S104, generating a configuration file for calculating the edge end according to the connecting line between the nodes in the layout area.
In this embodiment, since the connection line from the first node to the second node is used to indicate that the data output by the first node is the input data of the second node, the connection line between the nodes in the layout area indicates the data transmission direction between the nodes in the layout area, and therefore, in this step, the configuration file for edge calculation can be generated according to the connection line between the nodes in the layout area.
Optionally, in this step, the process of generating a configuration file for edge calculation according to the connection lines between the nodes in the layout area may include step a 1-step a 2:
and A1, generating an input theme and an output theme of the computing nodes in the arrangement area according to a preset theme generation rule and the sequence represented by the direction of the connecting line between the nodes in the arrangement area.
In this step, since the connecting lines between the nodes in the layout area indicate the data transmission direction, the input theme and the output theme of the calculation nodes in the layout area can be generated according to the preset theme generation rule and the sequence indicated by the direction of the connecting lines between the nodes in the layout area.
Optionally, in this embodiment, the preset theme generation rule may include the following three rules:
firstly, configuring the output theme of the last computing node as a preset theme.
And the last calculation node is the last node arranged in the layout area. As shown in fig. 3, a schematic diagram of a connection relationship between nodes in an arrangement region, and as can be seen from the diagram, a node arranged at the last of the arrangement region is a "cloud over data" node. Thus, the "cloud on data" node is the last node.
And the output theme of the last node is a preset theme, namely, the theme is a cloud fixed theme.
And secondly, configuring the input subject of the first computing node as a device node. Wherein the device node is a first-ranked node within the layout area. The first compute node is a compute node connected to the device node.
Specifically, identifying the device nodes in the orchestration area, and determining the first computing node may include: because the positions of the equipment nodes and the computing nodes in the node list of the preset page are different, and any node in the node list is dragged to the arranging area, the position of the dragged node in the node list can be determined, so that the equipment nodes in the arranging area can be identified, and the computing node connected with the equipment nodes is used as a first computing node.
Since the device node is used to generate the source data for the edge computation, the input topic for the first compute node is the device node. Taking fig. 3 as an example, d1 is an equipment node, and the nodes connected to d1 are two computing nodes, namely "data cache (trigger rule)" and "Java rule chain", respectively, so that the input topics of the two computing nodes are d 1.
And thirdly, configuring the input theme of any intermediate computing node as the output theme of the previous node.
The intermediate computing nodes are nodes in the layout area except the equipment node, the first computing node and the last computing node.
For any one intermediate computing node, the last node of the intermediate computing node refers to: a node connected to the intermediate computing node and having a connection direction pointing to the intermediate computing node.
Also taking FIG. 3 as an example, the "filter node" and the two "Python models" are both intermediate compute nodes. Taking the intermediate computing node "filtering node" as an example, the node connected to the "filtering node" and having the connection direction pointing to the "filtering node" is the "data cache (trigger rule)" node, and therefore the previous node of the "filtering node" is the "data cache (trigger rule)" node. Namely, the input subject of the filtering node is the output subject of the data caching (triggering rule) node.
And A2, generating a configuration file for edge calculation according to the nodes in the arrangement area and the input theme and the output theme of the calculation nodes in the arrangement area.
The specific implementation manner of this step is the prior art, and is not described herein again.
Fig. 4 is a method for generating input and output topics of computing nodes in a layout area according to a preset topic generation rule and a sequence represented by a direction of a connection line between nodes in the layout area according to an embodiment of the present application, where the method includes the following steps:
s401, identifying equipment nodes in the arrangement area.
In this step, the device nodes in the arrangement area are identified according to the different positions of the device nodes and the computing nodes in the node list. The specific implementation of the identification is the prior art, and is not described herein.
S402, determining nodes connected with the equipment nodes to obtain first computing nodes.
In this step, a node connected to the device node in the layout area is referred to as a first computing node.
S403, configuring the equipment node as an input theme of the first computing node.
Since the direction of the connection line between the device node and the first computing node is from the device node to the first computing node, the device node is used as the input subject of the first computing node in this step.
S404, under the condition that the first computing node is not the last computing node, respectively setting an output theme for each first node.
In this step, the first compute node being a non-last compute node means that the first compute node is not a last compute node.
Specifically, the present embodiment does not limit the manner in which the output theme is set for each first computing node, and in general, the output themes set for different first computing nodes are different.
S405, determining a node which is connected with the first computing node and the connection direction of which does not point to the first computing node, and obtaining an intermediate computing node.
In this step, a node which is connected to the first computing node and whose connection direction does not point to the first computing node is referred to as an intermediate computing node.
S406, taking the output theme of the first computing node as the input theme of the middle computing node connected with the first computing node.
In this step, for any one first computing node, the output topic of the first computing node is used as the input topic of the intermediate computing node connected with the first computing node.
S407, judging whether the intermediate computing node is a non-final computing node, if not, executing S408, and if so, executing S411.
And S408, respectively setting an output theme for each intermediate computing node.
In this step, the intermediate compute node represents a non-final compute node: the intermediate compute node is not the last compute node.
And S409, taking the node which is connected with the intermediate computing node and the connection direction of which does not point to the intermediate computing node as the next intermediate computing node.
And S410, taking the output theme of the intermediate computing node as the input theme of the next intermediate computing node connected with the intermediate computing node.
In this step, for any one intermediate computing node, the output topic of the intermediate computing node is taken as the input topic of the next intermediate computing node connected with the intermediate computing node.
After the present step is executed, the process returns to S407.
S411, taking the preset theme as the output theme of the last computing node.
Fig. 5 is an arrangement apparatus for edge calculation according to an embodiment of the present application, including: a display module 501, a first response module 502, a second response module 503, and a generation module 504. Wherein the content of the first and second substances,
the display module 501 is configured to display a preset interface when the layout instruction is received. The preset interface comprises preset nodes and an arrangement area; the nodes comprise a computing node and a device node; the computing node is used for indicating the edge end module.
A first responding module 502, configured to respond to an operation of dragging any node in the preset nodes to the layout area, and display the node in the layout area.
A second response module 503, configured to generate a connection line with a direction between the first node and the second node in response to a connection operation from the first node to the second node in the layout area; the direction of the connecting line indicates that the output of the first node is the input of the second node.
A generating module 504, configured to generate a configuration file for edge calculation according to a connection line between nodes in the layout area.
Optionally, the generating module 504 is configured to generate a configuration file for edge calculation according to a connection line between nodes in the layout area, and includes:
a generating module 504, configured to generate an input theme and an output theme of the computing nodes in the arrangement region according to a preset theme generating rule and an order represented by a direction of a connecting line between the nodes in the arrangement region; and generating a configuration file for edge calculation according to the nodes in the arrangement area and the input theme and the output theme of the calculation nodes in the arrangement area.
Optionally, the preset theme generation rule includes:
configuring the output theme of the last computing node as a preset theme; the last calculation node is the node arranged at the last in the arrangement area; configuring an input topic of a first computing node as a device node; a node arranged at the first in the arrangement region is an equipment node, and a first computing node is a computing node connected with the equipment node; for any intermediate computing node, configuring the input theme of the intermediate node as the output theme of the previous node, wherein the output theme of the intermediate computing node is the input theme of the next node(ii) a Intermediate meterCalculating outThe nodes are nodes in the layout area except the equipment node, the first computing node and the last computing node.
Optionally, the apparatus may further include:
and the acquisition module is used for acquiring data from a preset theme.
And the preprocessing module is used for performing preset processing according to the acquired data.
The arrangement device for the edge calculation comprises a processor and a memory, wherein the display module, the first response module, the second response module, the generation module and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. One or more kernels can be set, and the manual operation difficulty and the error rate are reduced by adjusting kernel parameters.
An embodiment of the present invention provides a storage medium, on which a program is stored, which, when executed by a processor, implements the arrangement method of the edge calculation.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute the arranging method of the edge calculation.
An embodiment of the present invention provides an apparatus, as shown in fig. 6, the apparatus includes at least one processor, and at least one memory and a bus connected to the processor; the processor and the memory complete mutual communication through a bus; the processor is used for calling the program instructions in the memory to execute the above-mentioned edge calculation arranging method. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
displaying a preset interface under the condition of receiving a layout instruction; the preset interface comprises preset nodes and an arrangement area; the nodes comprise a computing node and a device node; the computing node is used for indicating an edge end module;
in response to an operation of dragging any one of the preset nodes to the layout area, displaying the node in the layout area;
generating a connection line having a direction between a first node and a second node in response to a connection operation from the first node to the second node in the marshalling area; the direction of the connecting line indicates that the output of the first node is the input of the second node;
and generating a configuration file for calculating the edge end according to the connecting line between the nodes in the layout area.
Generating a configuration file for edge calculation according to the connecting lines between the nodes in the layout area, wherein the configuration file comprises:
generating an input theme and an output theme of the calculation nodes in the arrangement area according to a preset theme generation rule and the arrangement represented by the direction of the connecting lines between the nodes in the arrangement area;
and generating a configuration file for edge calculation according to the nodes in the arrangement area and the input theme and the output theme of the calculation nodes in the arrangement area.
Wherein the preset theme generation rule comprises:
configuring the output theme of the last computing node as a preset theme; the last calculation node is a node arranged at the last in the arrangement region;
configuring an input topic of a first computing node as a device node; a node arranged at the first in the arrangement area is an equipment node, and the first computing node is a computing node connected with the equipment node;
for any intermediate computing node, configuring the input theme of the intermediate node as the output theme of the previous node, wherein the output theme of the intermediate computing node is the input theme of the next node; the intermediate computing node is a node in the arrangement area except for the equipment node, the first computing node and the last computing node.
Wherein, still include:
acquiring data from the preset theme;
and carrying out preset processing according to the acquired data.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. An arrangement method for edge calculation, comprising:
displaying a preset interface under the condition of receiving a layout instruction; the preset interface comprises preset nodes and an arrangement area; the nodes comprise a computing node and a device node; the computing node is used for indicating an edge end module;
in response to an operation of dragging any one of the preset nodes to the layout area, displaying the node in the layout area;
generating a connection line having a direction between a first node and a second node in response to a connection operation from the first node to the second node in the marshalling area; the direction of the connecting line indicates that the output of the first node is the input of the second node;
and generating a configuration file for calculating the edge end according to the connecting line between the nodes in the layout area.
2. The method of claim 1, wherein generating a configuration file for edge calculation based on the connection lines between the nodes in the layout area comprises:
generating an input theme and an output theme of the calculation nodes in the arrangement area according to a preset theme generation rule and the arrangement represented by the direction of the connecting lines between the nodes in the arrangement area;
and generating a configuration file for edge calculation according to the nodes in the arrangement area and the input theme and the output theme of the calculation nodes in the arrangement area.
3. The method of claim 2, wherein the preset theme generation rules comprise:
configuring the output theme of the last computing node as a preset theme; the last calculation node is a node arranged at the last in the arrangement region;
configuring an input topic of a first computing node as a device node; a node arranged at the first in the arrangement area is an equipment node, and the first computing node is a computing node connected with the equipment node;
for any intermediate computing node, configuring the input theme of the intermediate node as the output theme of the previous node, wherein the output theme of the intermediate computing node is the input theme of the next node; the intermediate computing node is a node in the arrangement area except for the equipment node, the first computing node and the last computing node.
4. The method according to any one of claims 1-3, further comprising:
acquiring data from the preset theme;
and carrying out preset processing according to the acquired data.
5. An arrangement apparatus for edge calculation, comprising:
the display module is used for displaying a preset interface under the condition of receiving the arranging instruction; the preset interface comprises preset nodes and an arrangement area; the nodes comprise a computing node and a device node; the computing node is used for indicating an edge end module;
the first response module is used for responding to the operation of dragging any one of the preset nodes to the layout area and displaying the node in the layout area;
a second response module, configured to generate a connection line having a direction between a first node and a second node in response to a connection operation from the first node to the second node in the marshalling area; the direction of the connecting line indicates that the output of the first node is the input of the second node;
and the generating module is used for generating a configuration file for calculating the edge end according to the connecting line between the nodes in the layout area.
6. The apparatus of claim 5, wherein the generating module is configured to generate a configuration file for edge calculation according to a connection line between nodes in the layout area, and the generating module is configured to:
the generating module is specifically configured to generate an input theme and an output theme of the computing nodes in the arrangement area according to a preset theme generating rule and the arrangement represented by the direction of the connecting line between the nodes in the arrangement area; and generating a configuration file for edge calculation according to the nodes in the arrangement area and the input theme and the output theme of the calculation nodes in the arrangement area.
7. The apparatus of claim 6, wherein the preset theme generation rule comprises:
configuring the output theme of the last computing node as a preset theme; the last calculation node is a node arranged at the last in the arrangement region;
configuring an input topic of a first computing node as a device node; a node arranged at the first in the arrangement area is an equipment node, and the first computing node is a computing node connected with the equipment node;
for any intermediate computing node, configuring the input theme of the intermediate node as the output theme of the previous node, wherein the output theme of the intermediate computing node is the input theme of the next node; the intermediate computing node is a node in the arrangement area except for the equipment node, the first computing node and the last computing node.
8. The apparatus of any one of claims 5-7, further comprising:
the acquisition module is used for acquiring data from the preset theme;
and the preprocessing module is used for performing preset processing according to the acquired data.
9. A storage medium comprising a stored program, wherein the program performs the method of arranging edge computations of any of claims 1-4.
10. An apparatus comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform the edge-computed orchestration method of any of claims 1-4.
CN201911377641.8A 2019-12-27 2019-12-27 Arranging method and device for edge calculation Active CN113055209B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911377641.8A CN113055209B (en) 2019-12-27 2019-12-27 Arranging method and device for edge calculation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911377641.8A CN113055209B (en) 2019-12-27 2019-12-27 Arranging method and device for edge calculation

Publications (2)

Publication Number Publication Date
CN113055209A true CN113055209A (en) 2021-06-29
CN113055209B CN113055209B (en) 2023-01-17

Family

ID=76506564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911377641.8A Active CN113055209B (en) 2019-12-27 2019-12-27 Arranging method and device for edge calculation

Country Status (1)

Country Link
CN (1) CN113055209B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114518908A (en) * 2022-02-17 2022-05-20 杭州网易云音乐科技有限公司 Service arranging method, medium, device and computing equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107153495A (en) * 2017-05-10 2017-09-12 华为技术有限公司 A kind of method and apparatus for setting up service link between network element
CN107480893A (en) * 2017-08-18 2017-12-15 浪潮软件股份有限公司 A kind of flow method of combination and device
CN108563505A (en) * 2018-04-04 2018-09-21 上海有云信息技术有限公司 A kind of service chaining method of combination, device, server and storage medium
US20180285146A1 (en) * 2017-03-31 2018-10-04 International Business Machines Corporation Workflow handling in a multi-tenant cloud environment
CN109165020A (en) * 2018-07-25 2019-01-08 山东中创软件商用中间件股份有限公司 Using method of combination, device, equipment and computer readable storage medium
US10484334B1 (en) * 2013-02-26 2019-11-19 Zentera Systems, Inc. Distributed firewall security system that extends across different cloud computing networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10484334B1 (en) * 2013-02-26 2019-11-19 Zentera Systems, Inc. Distributed firewall security system that extends across different cloud computing networks
US20180285146A1 (en) * 2017-03-31 2018-10-04 International Business Machines Corporation Workflow handling in a multi-tenant cloud environment
CN107153495A (en) * 2017-05-10 2017-09-12 华为技术有限公司 A kind of method and apparatus for setting up service link between network element
CN107480893A (en) * 2017-08-18 2017-12-15 浪潮软件股份有限公司 A kind of flow method of combination and device
CN108563505A (en) * 2018-04-04 2018-09-21 上海有云信息技术有限公司 A kind of service chaining method of combination, device, server and storage medium
CN109165020A (en) * 2018-07-25 2019-01-08 山东中创软件商用中间件股份有限公司 Using method of combination, device, equipment and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114518908A (en) * 2022-02-17 2022-05-20 杭州网易云音乐科技有限公司 Service arranging method, medium, device and computing equipment
CN114518908B (en) * 2022-02-17 2024-03-22 杭州网易云音乐科技有限公司 Service orchestration method, medium, device and computing equipment

Also Published As

Publication number Publication date
CN113055209B (en) 2023-01-17

Similar Documents

Publication Publication Date Title
CN107451181B (en) Page rendering method and device
CN108304307B (en) Performance detection method of intelligent contract on block chain
CN110471949B (en) Data blood margin analysis method, device, system, server and storage medium
CN110633959A (en) Method, device, equipment and medium for creating approval task based on graph structure
CN109857964B (en) Thermodynamic diagram drawing method and device for page operation, storage medium and processor
CN110888922B (en) Method and device for creating target table during data synchronization
CN108874379B (en) Page processing method and device
CN106919620B (en) Single page processing method and device
CN106648567B (en) Data acquisition method and device
CN113055209B (en) Arranging method and device for edge calculation
CN107220260B (en) Page display method and device
CN112560403A (en) Text processing method and device and electronic equipment
CN112036974A (en) Service commodity online method, device, equipment and storage medium
CN112579066A (en) Chart display method and device, storage medium and equipment
CN110968500A (en) Test case execution method and device
CN110209769A (en) Text filling method and device
CN114327941A (en) Service providing method and device
CN114968028A (en) Method, apparatus, and medium for dynamically changing menu layout based on user behavior analysis
CN115687310A (en) Data cleaning method and device
CN114817209A (en) Monitoring rule processing method and device, processor and electronic equipment
CN109150993B (en) Method for obtaining network request tangent plane, terminal device and storage medium
CN113919683A (en) Method and device for calculating process man-hour, storage medium and processor
CN112749159A (en) Form generation method and device, electronic equipment and storage medium
CN112241254B (en) Code statistics method and device for Internet of vehicles multi-terminal system
CN111475589A (en) Image data rendering method and device

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