CN114553930A - System integration method and device, computer equipment and storage medium - Google Patents

System integration method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114553930A
CN114553930A CN202210094690.6A CN202210094690A CN114553930A CN 114553930 A CN114553930 A CN 114553930A CN 202210094690 A CN202210094690 A CN 202210094690A CN 114553930 A CN114553930 A CN 114553930A
Authority
CN
China
Prior art keywords
cloud
interface
edge
execution
shell script
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
CN202210094690.6A
Other languages
Chinese (zh)
Other versions
CN114553930B (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.)
Petro CyberWorks Information Technology Co Ltd
Original Assignee
Petro CyberWorks Information 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 Petro CyberWorks Information Technology Co Ltd filed Critical Petro CyberWorks Information Technology Co Ltd
Priority to CN202210094690.6A priority Critical patent/CN114553930B/en
Publication of CN114553930A publication Critical patent/CN114553930A/en
Application granted granted Critical
Publication of CN114553930B publication Critical patent/CN114553930B/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
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy 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)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a system integration method, a device, computer equipment and a storage medium, wherein the method comprises the following steps: calling a cloud execution interface A and a cloud query interface B to obtain a Shell script of the edge terminal equipment; the cloud execution interface A is connected with an edge server based on RSA, and calls a Shell script of the edge device, so that the Shell script of the edge device is packaged with a local command and is operated, an execution result is written into a local specified file, and after the edge device writes the execution result into the local specified file, data is written into a cloud database periodically and asynchronously; and calling the cloud query interface B and acquiring a return result of the cloud interface A by accessing the cloud database. By applying the scheme of the invention, the system is high in security during integration, the cloud end and the edge end are based on an RSA login mode, the secure access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced.

Description

System integration method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of system integration technologies, and in particular, to a system integration method and apparatus, a computer device, and a storage medium.
Background
At present, the system scale of an integrated system is increasingly huge, the integrated calling among systems is also increasingly frequent, and the information processing among systems is not limited to simple data form submission, analysis and query. In addition, many highly specialized software is often less secure, and appears to support local operations only, language bias to the bottom layer, and no support for network remote invocation. Therefore, if the software needs to be developed and modified for the second time, the problems of great technical difficulty and high personnel cost are obviously faced. Therefore, how to safely, quickly and conveniently enable a user to automatically load a model, update driving software and execute an artificial intelligence task through simple operation becomes a problem to be solved in the industry.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: in the prior art, the problems of high technical difficulty and high personnel cost are faced when the system integration software is subjected to secondary research and development modification.
In order to solve the above technical problems, the present invention provides a system integration method, applied to a cloud, including:
calling a cloud execution interface A and a cloud query interface B to obtain a Shell script of the edge terminal equipment;
the cloud execution interface A is connected with an edge server based on RSA, and calls a Shell script of the edge device, so that the Shell script of the edge device is packaged with a local command and is operated, an execution result is written into a local specified file, and after the edge device writes the execution result into the local specified file, data is written into a cloud database periodically and asynchronously;
and calling the cloud query interface B and obtaining a return result of the cloud interface A by accessing the cloud database.
Optionally, the calling of the cloud execution interface a and the cloud query interface B to obtain the Shell script of the edge device includes:
and developing a cloud execution interface A and a cloud query interface B based on an HTTP (hyper text transport protocol) by using a Springboot framework.
Optionally, the cloud execution interface a connects the edge server based on RSA, and calls the Shell script of the edge device, including:
responding to the calling of the cloud execution interface A, generating a UUID task code, writing the UUID task code into a cloud database, and calling a Shell script of the edge terminal equipment by combining the UUID task code with input parameters;
and when the cloud execution interface A calls the Shell script of the edge terminal equipment, returning the UUID task code so as to be used when the cloud query interface B queries a returned result.
Optionally, the invoking the cloud query interface B and obtaining a return result of the cloud interface a by accessing the cloud database includes:
and the cloud interface B searches the cloud database according to the UUID task code and returns an execution result corresponding to the UUID task code.
In order to solve the above technical problem, the present invention provides a system integration method, applied to an edge, including:
acquiring a Shell script of the edge terminal equipment in response to the calling of the cloud execution interface A and the cloud query interface B; the cloud execution interface A is connected with an edge end server based on RSA and calls a Shell script of the edge end equipment;
packaging a local command and executing an operation by the Shell script of the edge terminal equipment, and writing an execution result into a local specified file;
and after the edge terminal equipment writes the execution result into a local specified file, periodically and asynchronously writing data into a cloud database so as to call the cloud query interface B and obtain a return result of the cloud interface A by accessing the cloud database.
Optionally, encapsulating a local command and performing an operation on the Shell script of the edge device, and writing an execution result into a local specified file includes:
and responding to the calling of the shell script of the edge terminal equipment, executing a corresponding function according to the input parameters, redirecting an execution result to a local file under an appointed directory, and using a UUID task code as a file name of the local file.
Optionally, after the edge device writes the execution result into the local specified file, periodically and asynchronously writing the data into the cloud database includes:
acquiring local files used by the edge terminal equipment under a collection specified directory;
and writing an execution result into the cloud database by taking the file name and the file line number of the local file as composite main keys and taking the line information as a value.
In order to solve the above technical problem, the present invention provides a system integration apparatus applied to a cloud, including:
the first calling and acquiring module is used for calling the cloud execution interface A and the cloud query interface B to acquire the Shell script of the edge terminal equipment;
the first execution module is used for connecting an edge server by a cloud execution interface A based on RSA, calling a Shell script of the edge device so as to package a local command of the Shell script of the edge device and execute operation, writing an execution result into a local specified file, and periodically and asynchronously writing data into a cloud database after the edge device writes the execution result into the local specified file;
and the first result returning module is used for calling the cloud inquiry interface B and acquiring a returned result of the cloud interface A by accessing the cloud database.
Optionally, the first call acquisition module is specifically configured to:
and developing a cloud execution interface A and a cloud query interface B based on an HTTP (hyper text transport protocol) by using a Springboot framework.
Optionally, the first execution module is specifically configured to:
responding to the calling of the cloud execution interface A, generating a UUID task code, writing the UUID task code into a cloud database, and calling a Shell script of the edge terminal equipment by combining the UUID task code with input parameters;
and when the cloud execution interface A calls the Shell script of the edge terminal equipment, returning the UUID task code so as to be used when the cloud query interface B queries a returned result.
Optionally, the first result returning module is configured to:
and the cloud interface B searches the cloud database according to the UUID task code and returns an execution result corresponding to the UUID task code.
In order to solve the above technical problem, the present invention provides a system integration apparatus applied to an edge, including:
the second call acquisition module is used for responding to the call of the cloud execution interface A and the cloud query interface B and acquiring the Shell script of the edge terminal equipment; the cloud execution interface A is connected with an edge end server based on RSA and calls a Shell script of the edge end equipment;
the second execution module is used for packaging the Shell script of the edge terminal equipment into a local command, executing operation and writing an execution result into a local specified file;
and the second execution result returning module is used for periodically and asynchronously writing the data into the cloud database after the edge end equipment writes the execution result into the local specified file so as to call the cloud query interface B and obtain the return result of the cloud interface A by accessing the cloud database.
Optionally, the second execution module is configured to:
responding to the calling of the shell script of the edge terminal equipment, executing corresponding functions according to input parameters, redirecting execution results to a local file under an appointed directory, and using UUID task codes as file names of the local file.
Optionally, the second execution result returning module is configured to:
acquiring local files used by the edge terminal equipment under a collection specified directory;
and writing an execution result into the cloud database by taking the file name and the file line number of the local file as composite main keys and taking the line information as a value.
In order to solve the above technical problem, the present invention provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.
To solve the above technical problem, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above method.
Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects:
by applying the system integration method and device, the computer equipment and the storage medium, the cloud calls the cloud execution interface A and the cloud query interface B to acquire the Shell script of the edge-end equipment; the cloud execution interface A is connected with an edge server based on RSA, and calls a Shell script of the edge device, so that the Shell script of the edge device is packaged with a local command and is operated, an execution result is written into a local specified file, and after the edge device writes the execution result into the local specified file, data is written into a cloud database periodically and asynchronously; and calling the cloud query interface B and obtaining a return result of the cloud interface A by accessing the cloud database.
Therefore, by applying the system integration scheme provided by the invention, the system integration is high in safety, and the cloud end and the edge end are based on an RSA login mode, so that the safe access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no reconstruction requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
Drawings
The scope of the present disclosure may be better understood by reading the following detailed description of exemplary embodiments in conjunction with the accompanying drawings. Wherein the attached figures are included:
fig. 1 is a flowchart of a system integration method according to an embodiment of the present invention;
FIG. 2 is a general schematic diagram of system integration provided by an embodiment of the present invention;
FIG. 3 is another flow chart of a system integration method according to an embodiment of the present invention;
FIG. 4 is a block diagram of a system integration apparatus according to an embodiment of the present invention;
FIG. 5 is another block diagram of a system integration apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the following will describe in detail an implementation method of the present invention with reference to the accompanying drawings and embodiments, so that how to apply technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.
At present, the system scale of an integrated system is increasingly huge, the integrated calling among systems is also increasingly frequent, and the information processing among systems is not limited to simple data form submission, analysis and query. In addition, many highly specialized software is often less secure, and appears to support local operations only, language bias to the bottom layer, and no support for network remote invocation. Therefore, if the software needs to be developed and modified for the second time, the problems of great technical difficulty and high personnel cost are obviously faced. Therefore, how to safely, quickly and conveniently enable a user to automatically load a model, update driving software and execute an artificial intelligence task through simple operation is urgent to be solved in the industry.
In view of this, in order to solve the problems of great technical difficulty and high personnel cost in secondary research and development and modification of system integration software in the prior art, the invention provides a system integration method, a device, computer equipment and a storage medium.
The system integration method provided by the embodiment of the invention is explained below.
Example one
As shown in fig. 1, a flowchart of a system integration method provided in an embodiment of the present invention is applied to a cloud, and as shown in fig. 2, the method may include the following steps:
step S101: and calling the cloud execution interface A and the cloud query interface B to obtain the Shell script of the edge terminal equipment.
In one implementation, the invoking of the cloud execution interface a and the cloud query interface B to obtain the Shell script of the edge device includes:
and developing a cloud execution interface A and a cloud query interface B based on an HTTP (hyper text transport protocol) by using a Springboot framework.
It should be noted that the Spring Boot is a completely new framework provided by the Pivotal team, and the design purpose of the Spring Boot is to simplify the initial building and development process of a new Spring application. The framework uses a specific way to configure, thereby eliminating the need for developers to define a templated configuration. In this way, Spring boots are dedicated to become the leader in the briskly developing field of rapid application development (rapid application development).
Step S102: the cloud execution interface A is connected with the edge server based on RSA, and calls the Shell script of the edge device, so that the Shell script of the edge device is packaged with a local command and is operated, the execution result is written into a local appointed file, and after the edge device writes the execution result into the local appointed file, data is written into a cloud database periodically and asynchronously.
The RSA public key cryptosystem is a cryptosystem that uses different encryption and decryption keys, and it is computationally infeasible to derive a decryption key from a known encryption key. A pair of RSA keys, one of which is a secret key, maintained by the user; the other is a public key which can be disclosed to the outside or even registered in a network server. To increase the security strength, the RSA key is at least 500 bits long, and 1024 bits are generally recommended.
In one implementation, the cloud execution interface a connects the edge server based on RSA, and calls the Shell script of the edge device, including:
responding to the calling of the cloud execution interface A, generating a UUID task code, writing the UUID task code into a cloud database, and calling a Shell script of the edge terminal equipment by combining the UUID task code with input parameters;
and when the cloud execution interface A calls the Shell script of the edge terminal equipment, returning the UUID task code so as to be used when the cloud query interface B queries a returned result.
It should be noted that UUID is an abbreviation of universal Unique Identifier (Universally Unique Identifier), which is a standard for software construction and is also part of the field of open software foundation organization in distributed computing environments. The aim is to enable all elements in the distributed system to have unique identification information without specifying the identification information through a central control end. In this way, everyone can create a UUID that does not conflict with others. In such a case, the name duplication problem at the time of database creation does not need to be considered. The most widely used UUIDs are the Globally Unique Identifiers (GUIDs) of Microsoft corporation, while other important applications are Linux ext2/ext3 file systems, LUKS encrypted partitions, GNOME, KDE, MacOSX, etc.
Step S103: and calling the cloud query interface B and obtaining a return result of the cloud interface A by accessing the cloud database.
In one implementation, the invoking the cloud query interface B and obtaining a return result of the cloud interface a by accessing the cloud database includes:
and the cloud interface B searches the cloud database according to the UUID task code and returns an execution result corresponding to the UUID task code.
An edge device (edge device) is a device that provides an entry point to an enterprise or service provider core network. They are, for example: routers, routing switches, Integrated Access Devices (IADs), multiplexers, and various Metropolitan Area Network (MAN) and Wide Area Network (WAN) access devices. The edge devices also provide connectivity to operator and service provider networks.
Here, an edge port (portfast) refers to a port that is not directly connected to any switch, and is not indirectly connected to any switch through a network to which the port is connected. The ports can be configured as edge ports or non-edge ports in the following two ways. If a user designates a port as an edge port, then this port can be migrated quickly without waiting for a delay time when the port is migrated from the blocking state to the forwarding state. The user can set only the port connected to the terminal as an edge port. This parameter is valid for all spanning tree instances, that is, when a port is configured as an edge port or a non-edge port, the port is set to be an edge port or a non-edge port on all spanning tree instances.
Therefore, the system integration scheme provided by the invention has high system integration safety, and the cloud end and the edge end are based on the RSA login mode, so that the safe access is ensured, and the risks of losing, stealing and brute force cracking of the user password are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no modification requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
Example two
As shown in fig. 3, another flowchart of the system integration method provided in the embodiment of the present invention is applied to an edge, please refer to fig. 2, which may include the following steps:
step S201: acquiring a Shell script of the edge terminal equipment in response to the calling of the cloud execution interface A and the cloud query interface B; the cloud execution interface A is connected with the edge end server based on RSA, and calls the Shell script of the edge end equipment.
Step S202: and packaging the Shell script of the edge terminal equipment with a local command, executing the operation, and writing an execution result into a local specified file.
In one implementation manner, the encapsulating a local command and performing an operation on the Shell script of the edge device, and writing an execution result into a local specified file includes:
responding to the calling of the shell script of the edge terminal equipment, executing corresponding functions according to input parameters, redirecting execution results to a local file under an appointed directory, and using UUID task codes as file names of the local file.
Step S203: and after the edge terminal equipment writes the execution result into a local specified file, periodically and asynchronously writing data into a cloud database so as to call the cloud query interface B and obtain a return result of the cloud interface A by accessing the cloud database.
In one implementation, after the edge device writes the execution result into the local specified file, periodically and asynchronously writing the data into the cloud database includes:
acquiring local files used by the edge terminal equipment under a collection specified directory;
and writing an execution result into the cloud database by taking the file name and the file line number of the local file as composite main keys and taking the line information as a value.
Therefore, by applying the system integration scheme provided by the invention, the system integration is high in safety, and the cloud end and the edge end are based on an RSA login mode, so that the safe access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no reconstruction requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
The system integration device provided by the present invention will be described below.
EXAMPLE III
As shown in fig. 4, a structure diagram of a system integration apparatus provided in an embodiment of the present invention is applied to a cloud, and the apparatus includes, corresponding to the method embodiment shown in fig. 1:
the first calling and acquiring module 310 is used for calling the cloud execution interface a and the cloud query interface B to acquire a Shell script of the edge device;
the first execution module 320 is configured to connect the edge server through the cloud execution interface a based on RSA, call the Shell script of the edge device, package the Shell script of the edge device with a local command, execute an operation, write an execution result into a local specified file, and write the execution result into the local specified file by the edge device, and periodically and asynchronously write data into the cloud database after the edge device writes the execution result into the local specified file;
the first result returning module 330 is configured to call the cloud query interface B and obtain a return result of the cloud interface a by accessing the cloud database.
In one case, the first call obtaining module 310 is specifically configured to:
and developing a cloud execution interface A and a cloud query interface B based on an HTTP (hyper text transport protocol) by using a Springboot framework.
In one case, the first executing module 320 is specifically configured to:
responding to the calling of the cloud execution interface A, generating a UUID task code, writing the UUID task code into a cloud database, and calling a Shell script of the edge terminal equipment by combining the UUID task code with input parameters;
and when the cloud execution interface A calls the Shell script of the edge terminal equipment, returning the UUID task code so as to be used when the cloud query interface B queries a returned result.
In one case, the first result returning module 330 is configured to:
and the cloud interface B searches the cloud database according to the UUID task code and returns an execution result corresponding to the UUID task code.
Therefore, by applying the system integration scheme provided by the invention, the system integration is high in safety, and the cloud end and the edge end are based on an RSA login mode, so that the safe access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no reconstruction requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
Example four
As shown in fig. 5, another structure diagram of a system integration apparatus provided in an embodiment of the present invention is applied to an edge, and the apparatus includes, corresponding to the method embodiment shown in fig. 3:
the second call acquisition module 410 is configured to respond to that the cloud execution interface a and the cloud query interface B are called, and acquire a Shell script of the edge device; the cloud execution interface A is connected with an edge end server based on RSA and calls a Shell script of the edge end equipment;
a second execution module 420, configured to encapsulate a local command and execute an operation for the Shell script of the edge device, and write an execution result into a local specified file;
the second execution result returning module 430 is configured to periodically and asynchronously write data into the cloud database after the edge device writes the execution result into the local specified file, so as to call the cloud query interface B and obtain a return result of the cloud interface a by accessing the cloud database.
In one case, the second execution module 410 is configured to:
responding to the calling of the shell script of the edge terminal equipment, executing corresponding functions according to input parameters, redirecting execution results to a local file under an appointed directory, and using UUID task codes as file names of the local file.
In one case, the second execution result returning module 430 is configured to:
acquiring local files under a collection specified directory used by the edge terminal equipment;
and writing an execution result into the cloud database by taking the file name and the file line number of the local file as composite main keys and taking the line information as a value.
Therefore, by applying the system integration scheme provided by the invention, the system integration is high in safety, and the cloud end and the edge end are based on an RSA login mode, so that the safe access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no reconstruction requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
EXAMPLE five
To solve the above technical problem, the present invention provides a computer device, as shown in fig. 6, including a memory 510, a processor 520, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method as described above.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer device may include, but is not limited to, a processor 520, a memory 510. Those skilled in the art will appreciate that fig. 6 is merely an example of a computing device and is not intended to be limiting and may include more or fewer components than those shown, or some of the components may be combined, or different components, e.g., the computing device may also include input output devices, network access devices, buses, etc.
The Processor 520 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 510 may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The memory 510 may also be an external storage device of a computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the computer device. Further, the memory 510 may also include both internal storage units and external storage devices of the computer device. The memory 510 is used for storing the computer programs and other programs and data required by the computer device. The memory 510 may also be used to temporarily store data that has been output or is to be output.
The method implemented when the processor executes the computer program comprises the following steps:
the system integration method provided by the embodiment of the invention is explained below.
Example one
As shown in fig. 1, a flowchart of a system integration method provided in an embodiment of the present invention is applied to a cloud, and as shown in fig. 2, the method may include the following steps:
step S101: and calling the cloud execution interface A and the cloud query interface B to obtain the Shell script of the edge terminal equipment.
In one implementation, the invoking of the cloud execution interface a and the cloud query interface B to obtain the Shell script of the edge device includes:
and developing a cloud execution interface A and a cloud query interface B based on an HTTP (hyper text transport protocol) by using a Springboot framework.
Step S102: the cloud execution interface A is connected with the edge server based on RSA, and calls the Shell script of the edge device, so that the Shell script of the edge device is packaged with a local command and is operated, the execution result is written into a local appointed file, and after the edge device writes the execution result into the local appointed file, data is written into a cloud database periodically and asynchronously.
In one implementation, the cloud execution interface a connects the edge server based on RSA, and calls the Shell script of the edge device, including:
responding to the calling of the cloud execution interface A, generating a UUID task code, writing the UUID task code into a cloud database, and calling a Shell script of the edge terminal equipment by combining the UUID task code with input parameters;
and when the cloud execution interface A calls the Shell script of the edge terminal equipment, returning the UUID task code so as to be used when the cloud query interface B queries a returned result.
Step S103: and calling the cloud query interface B and obtaining a return result of the cloud interface A by accessing the cloud database.
In one implementation, the invoking the cloud query interface B and obtaining a return result of the cloud interface a by accessing the cloud database includes:
and the cloud interface B searches the cloud database according to the UUID task code and returns an execution result corresponding to the UUID task code.
An edge device (edge device) is a device that provides an entry point to an enterprise or service provider core network. They are, for example: routers, routing switches, Integrated Access Devices (IADs), multiplexers, and various Metropolitan Area Network (MAN) and Wide Area Network (WAN) access devices. The edge devices also provide connectivity to operator and service provider networks.
Here, an edge port (portfast) refers to a port that is not directly connected to any switch, and is not indirectly connected to any switch through a network to which the port is connected. The ports can be configured as edge ports or non-edge ports in the following two ways. If a user designates a port as an edge port, then this port can achieve fast migration without waiting for a delay time when the port migrates from the blocking state to the forwarding state. The user can set only the port connected to the terminal as an edge port. This parameter is valid for all spanning tree instances, that is, when a port is configured as an edge port or a non-edge port, the port is set to be an edge port or a non-edge port on all spanning tree instances.
Therefore, by applying the system integration scheme provided by the invention, the system integration is high in safety, and the cloud end and the edge end are based on an RSA login mode, so that the safe access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no reconstruction requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
Example two
As shown in fig. 3, another flowchart of the system integration method provided in the embodiment of the present invention is applied to an edge, please refer to fig. 2, which may include the following steps:
step S201: acquiring a Shell script of the edge terminal equipment in response to the calling of the cloud execution interface A and the cloud query interface B; the cloud execution interface A is connected with the edge end server based on RSA, and calls the Shell script of the edge end equipment.
Step S202: and packaging the Shell script of the edge terminal equipment with a local command, executing the operation, and writing an execution result into a local specified file.
In one implementation manner, the encapsulating a local command and performing an operation on the Shell script of the edge device, and writing an execution result into a local specified file includes:
responding to the calling of the shell script of the edge terminal equipment, executing corresponding functions according to input parameters, redirecting execution results to a local file under an appointed directory, and using UUID task codes as file names of the local file.
Step S203: and after the edge terminal equipment writes the execution result into a local specified file, periodically and asynchronously writing data into a cloud database so as to call the cloud query interface B and obtain a return result of the cloud interface A by accessing the cloud database.
In one implementation, after the edge device writes the execution result into the local specified file, periodically and asynchronously writing the data into the cloud database includes:
acquiring local files used by the edge terminal equipment under a collection specified directory;
and writing an execution result into the cloud database by taking the file name and the file line number of the local file as composite main keys and taking the line information as a value.
Therefore, by applying the system integration scheme provided by the invention, the system integration is high in safety, and the cloud end and the edge end are based on an RSA login mode, so that the safe access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no reconstruction requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
The system integration device provided by the present invention will be described below.
EXAMPLE III
As shown in fig. 4, a structure diagram of a system integration apparatus provided in an embodiment of the present invention is applied to a cloud, and the apparatus includes, corresponding to the method embodiment shown in fig. 1:
the first calling and acquiring module 310 is used for calling the cloud execution interface a and the cloud query interface B to acquire a Shell script of the edge device;
the first execution module 320 is configured to connect the edge server through the cloud execution interface a based on RSA, call the Shell script of the edge device, package the Shell script of the edge device with a local command, execute an operation, write an execution result into a local specified file, and write the execution result into the local specified file by the edge device, and periodically and asynchronously write data into the cloud database after the edge device writes the execution result into the local specified file;
the first result returning module 330 is configured to call the cloud query interface B and obtain a return result of the cloud interface a by accessing the cloud database.
In one case, the first call obtaining module 310 is specifically configured to:
and developing a cloud execution interface A and a cloud query interface B based on an HTTP (hyper text transport protocol) by using a Springboot framework.
In one case, the first executing module 320 is specifically configured to:
responding to the calling of the cloud execution interface A, generating a UUID task code, writing the UUID task code into a cloud database, and calling a Shell script of the edge terminal equipment by combining the UUID task code with input parameters;
and when the cloud execution interface A calls the Shell script of the edge terminal equipment, returning the UUID task code so as to be used when the cloud query interface B queries a returned result.
In one case, the first result returning module 330 is configured to:
and the cloud interface B searches the cloud database according to the UUID task code and returns an execution result corresponding to the UUID task code.
Therefore, by applying the system integration scheme provided by the invention, the system integration is high in safety, and the cloud end and the edge end are based on an RSA login mode, so that the safe access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no reconstruction requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
Example four
As shown in fig. 5, another structure diagram of a system integration apparatus provided in an embodiment of the present invention is applied to an edge, and the apparatus includes, corresponding to the method embodiment shown in fig. 3:
the second call acquisition module 410 is configured to respond to that the cloud execution interface a and the cloud query interface B are called, and acquire a Shell script of the edge device; the cloud execution interface A is connected with an edge end server based on RSA and calls a Shell script of the edge end equipment;
a second execution module 420, configured to encapsulate a local command and execute an operation for a Shell script of the edge device, and write an execution result into a local specified file;
the second execution result returning module 430 is configured to, after the edge device writes the execution result into the local specified file, periodically and asynchronously write data into the cloud database, so as to invoke the cloud query interface B and obtain a return result of the cloud interface a by accessing the cloud database.
In one case, the second execution module 410 is configured to:
responding to the calling of the shell script of the edge terminal equipment, executing corresponding functions according to input parameters, redirecting execution results to a local file under an appointed directory, and using UUID task codes as file names of the local file.
In one case, the second execution result returning module 430 is configured to:
acquiring local files used by the edge terminal equipment under a collection specified directory;
and writing an execution result into the cloud database by taking the file name and the file line number of the local file as composite main keys and taking the line information as a value.
Therefore, by applying the system integration scheme provided by the invention, the system integration is high in safety, and the cloud end and the edge end are based on an RSA login mode, so that the safe access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no reconstruction requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
EXAMPLE six
The embodiment of the present application further provides a computer-readable storage medium, which may be a computer-readable storage medium contained in the memory in the foregoing embodiment; or it may be a computer-readable storage medium that exists separately and is not incorporated into a computer device. The computer-readable storage medium stores one or more computer programs which, when executed by a processor, implement the methods described above.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory 510, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The method implemented when the processor executes the computer program comprises the following steps:
the system integration method provided by the embodiment of the invention is explained below.
Example one
As shown in fig. 1, a flowchart of a system integration method provided in an embodiment of the present invention is applied to a cloud, and referring to fig. 2, the method may include the following steps:
step S101: and calling the cloud execution interface A and the cloud query interface B to obtain the Shell script of the edge-end equipment.
In one implementation, the invoking of the cloud execution interface a and the cloud query interface B to obtain the Shell script of the edge device includes:
and developing a cloud execution interface A and a cloud query interface B based on an HTTP (hyper text transport protocol) by using a Springboot framework.
Step S102: the cloud execution interface A is connected with the edge server based on RSA, and calls the Shell script of the edge device, so that the Shell script of the edge device is packaged with a local command and is operated, the execution result is written into a local appointed file, and after the edge device writes the execution result into the local appointed file, data is written into a cloud database periodically and asynchronously.
In one implementation, the cloud execution interface a connects the edge server based on RSA, and calls the Shell script of the edge device, including:
responding to the calling of the cloud execution interface A, generating a UUID task code, writing the UUID task code into a cloud database, and calling a Shell script of the edge terminal equipment by combining the UUID task code with input parameters;
and when the cloud execution interface A calls the Shell script of the edge terminal equipment, returning the UUID task code so as to be used when the cloud query interface B queries a returned result.
Step S103: and calling the cloud query interface B and obtaining a return result of the cloud interface A by accessing the cloud database.
In one implementation, the invoking the cloud query interface B and obtaining a return result of the cloud interface a by accessing the cloud database includes:
and the cloud interface B searches the cloud database according to the UUID task code and returns an execution result corresponding to the UUID task code.
An edge device (edge device) is a device that provides an entry point to an enterprise or service provider core network. They are, for example: routers, routing switches, Integrated Access Devices (IADs), multiplexers, and various Metropolitan Area Network (MAN) and Wide Area Network (WAN) access devices. The edge devices also provide connectivity to operator and service provider networks.
Here, an edge port (portfast) refers to a port that is not directly connected to any switch, and is not indirectly connected to any switch through a network to which the port is connected. The ports can be configured as edge ports or non-edge ports in the following two ways. If a user designates a port as an edge port, then this port can achieve fast migration without waiting for a delay time when the port migrates from the blocking state to the forwarding state. The user can set only the port connected to the terminal as an edge port. This parameter is valid for all spanning tree instances, that is, when a port is configured as an edge port or a non-edge port, the port is set to be an edge port or a non-edge port on all spanning tree instances.
Therefore, by applying the system integration scheme provided by the invention, the system integration is high in safety, and the cloud end and the edge end are based on an RSA login mode, so that the safe access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no reconstruction requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
Example two
As shown in fig. 3, another flowchart of the system integration method provided in the embodiment of the present invention is applied to an edge, please refer to fig. 2, which may include the following steps:
step S201: acquiring a Shell script of the edge terminal equipment in response to the calling of the cloud execution interface A and the cloud query interface B; the cloud execution interface A is connected with the edge end server based on RSA, and calls the Shell script of the edge end equipment.
Step S202: and packaging the Shell script of the edge terminal equipment with a local command, executing the operation, and writing an execution result into a local specified file.
In one implementation manner, the encapsulating a local command and performing an operation on the Shell script of the edge device, and writing an execution result into a local specified file includes:
and responding to the calling of the shell script of the edge terminal equipment, executing a corresponding function according to the input parameters, redirecting an execution result to a local file under an appointed directory, and using a UUID task code as a file name of the local file.
Step S203: and after the edge terminal equipment writes the execution result into a local specified file, periodically and asynchronously writing data into a cloud database so as to call the cloud query interface B and obtain a return result of the cloud interface A by accessing the cloud database.
In one implementation, after the edge device writes the execution result into the local specified file, periodically and asynchronously writing the data into the cloud database includes:
acquiring local files used by the edge terminal equipment under a collection specified directory;
and writing an execution result into the cloud database by taking the file name and the file line number of the local file as composite main keys and taking the line information as a value.
Therefore, by applying the system integration scheme provided by the invention, the system integration is high in safety, and the cloud end and the edge end are based on an RSA login mode, so that the safe access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no modification requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
The system integration device provided by the present invention will be described below.
EXAMPLE III
As shown in fig. 4, a structure diagram of a system integration apparatus provided in an embodiment of the present invention is applied to a cloud, and the apparatus includes, corresponding to the method embodiment shown in fig. 1:
the first calling and acquiring module 310 is used for calling the cloud execution interface a and the cloud query interface B to acquire a Shell script of the edge device;
the first execution module 320 is configured to connect the edge server through the cloud execution interface a based on RSA, call the Shell script of the edge device, package the Shell script of the edge device with a local command, execute an operation, write an execution result into a local specified file, and write the execution result into the local specified file by the edge device, and periodically and asynchronously write data into the cloud database after the edge device writes the execution result into the local specified file;
the first result returning module 330 is configured to call the cloud query interface B and obtain a return result of the cloud interface a by accessing the cloud database.
In one case, the first call obtaining module 310 is specifically configured to:
and developing a cloud execution interface A and a cloud query interface B based on an HTTP (hyper text transport protocol) by using a Springboot framework.
In one case, the first executing module 320 is specifically configured to:
responding to the calling of the cloud execution interface A, generating a UUID task code, writing the UUID task code into a cloud database, and calling a Shell script of the edge terminal equipment by combining the UUID task code with input parameters;
and when the cloud execution interface A calls the Shell script of the edge terminal equipment, returning the UUID task code so as to be used when the cloud query interface B queries a returned result.
In one case, the first result returning module 330 is configured to:
and the cloud interface B searches the cloud database according to the UUID task code and returns an execution result corresponding to the UUID task code.
Therefore, by applying the system integration scheme provided by the invention, the system integration is high in safety, and the cloud end and the edge end are based on an RSA login mode, so that the safe access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no reconstruction requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
Example four
As shown in fig. 5, another structure diagram of a system integration apparatus provided in an embodiment of the present invention is applied to an edge, and the apparatus includes, corresponding to the method embodiment shown in fig. 3:
the second call acquisition module 410 is configured to respond to that the cloud execution interface a and the cloud query interface B are called, and acquire a Shell script of the edge device; the cloud execution interface A is connected with an edge end server based on RSA and calls a Shell script of the edge end equipment;
a second execution module 420, configured to encapsulate a local command and execute an operation for a Shell script of the edge device, and write an execution result into a local specified file;
the second execution result returning module 430 is configured to periodically and asynchronously write data into the cloud database after the edge device writes the execution result into the local specified file, so as to call the cloud query interface B and obtain a return result of the cloud interface a by accessing the cloud database.
In one case, the second execution module 410 is configured to:
responding to the calling of the shell script of the edge terminal equipment, executing corresponding functions according to input parameters, redirecting execution results to a local file under an appointed directory, and using UUID task codes as file names of the local file.
In one case, the second execution result returning module 430 is configured to:
acquiring local files used by the edge terminal equipment under a collection specified directory;
and writing an execution result into the cloud database by taking the file name and the file line number of the local file as composite main keys and taking the line information as a value.
Therefore, by applying the system integration scheme provided by the invention, the system integration is high in safety, and the cloud end and the edge end are based on an RSA login mode, so that the safe access is ensured, and the risks of losing and stealing the password of the user and breaking the password violently are reduced. In addition, the invention is very simple and convenient when the interface between systems is integrated, and has no reconstruction requirement and no destructiveness on the original execution program. Moreover, the responsibility boundary is clear when the system is integrated. In addition, the scheme of the invention has wide applicability, and can be widely applied to application scenes such as communication between a cloud end and an edge end, remote interface calling, automatic installation and deployment, artificial intelligence software integration, remote automatic control of a specialized system and the like.
For system or apparatus embodiments, since they are substantially similar to method embodiments, they are described in relative simplicity, and reference may be made to some descriptions of method embodiments for related points.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 a process, method, article, or apparatus that comprises the element.
It is to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a described condition or event is detected" may be interpreted, depending on the context, to mean "upon determining" or "in response to determining" or "upon detecting a described condition or event" or "in response to detecting a described condition or event".
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (11)

1. A system integration method is applied to a cloud end and comprises the following steps:
calling a cloud execution interface A and a cloud query interface B to obtain a Shell script of the edge terminal equipment;
the cloud execution interface A is connected with an edge server based on RSA, and calls a Shell script of the edge device, so that the Shell script of the edge device is packaged with a local command and is operated, an execution result is written into a local specified file, and after the edge device writes the execution result into the local specified file, data is written into a cloud database periodically and asynchronously;
and calling the cloud query interface B and obtaining a return result of the cloud interface A by accessing the cloud database.
2. The system integration method according to claim 1, wherein before the invoking of the cloud execution interface a and the cloud query interface B obtains the Shell script of the edge device, the method further comprises:
and developing a cloud execution interface A and a cloud query interface B based on an HTTP (hyper text transport protocol) by using a Springboot framework.
3. The system integration method according to claim 1, wherein the cloud execution interface a connects the edge server based on RSA and calls a Shell script of the edge device, and includes:
responding to the calling of the cloud execution interface A, generating a UUID task code, writing the UUID task code into a cloud database, and calling a Shell script of the edge terminal equipment by combining the UUID task code with input parameters;
and when the cloud execution interface A calls the Shell script of the edge terminal equipment, returning the UUID task code so as to be used when the cloud query interface B queries a returned result.
4. The system integration method of claim 1, wherein the invoking the cloud query interface B and obtaining a return result of cloud interface a by accessing the cloud database comprises:
and the cloud interface B searches the cloud database according to the UUID task code and returns an execution result corresponding to the UUID task code.
5. A system integration method applied to an edge terminal includes:
acquiring a Shell script of the edge terminal equipment in response to the calling of the cloud execution interface A and the cloud query interface B; the cloud execution interface A is connected with an edge end server based on RSA and calls a Shell script of the edge end equipment;
packaging a local command and executing an operation by the Shell script of the edge terminal equipment, and writing an execution result into a local specified file;
and after the edge terminal equipment writes the execution result into a local specified file, periodically and asynchronously writing data into a cloud database so as to call the cloud query interface B and obtain a return result of the cloud interface A by accessing the cloud database.
6. The system integration method according to claim 5, wherein the encapsulating the Shell script of the edge device into a local command and executing the operation, and writing the execution result into a local specified file comprises:
responding to the calling of the shell script of the edge terminal equipment, executing corresponding functions according to input parameters, redirecting execution results to a local file under an appointed directory, and using UUID task codes as file names of the local file.
7. The system integration method of claim 5, wherein periodically and asynchronously writing data to the cloud database after the edge device writes the execution result to the local designated file comprises:
acquiring local files used by the edge terminal equipment under a collection specified directory;
and writing an execution result into the cloud database by taking the file name and the file line number of the local file as composite main keys and taking the line information as a value.
8. The utility model provides a system integration device which characterized in that is applied to the high in the clouds, includes:
the first calling and acquiring module is used for calling the cloud execution interface A and the cloud query interface B to acquire the Shell script of the edge terminal equipment;
the first execution module is used for connecting an edge server by a cloud execution interface A based on RSA, calling a Shell script of the edge device so as to package a local command of the Shell script of the edge device and execute operation, writing an execution result into a local specified file, and periodically and asynchronously writing data into a cloud database after the edge device writes the execution result into the local specified file;
and the first result returning module is used for calling the cloud inquiry interface B and acquiring a returned result of the cloud interface A by accessing the cloud database.
9. A system integration apparatus, applied to an edge terminal, comprising:
the second call acquisition module is used for responding to the call of the cloud execution interface A and the cloud query interface B and acquiring the Shell script of the edge terminal equipment; the cloud execution interface A is connected with an edge end server based on RSA and calls a Shell script of the edge end equipment;
the second execution module is used for packaging the Shell script of the edge terminal equipment into a local command, executing operation and writing an execution result into a local specified file;
and the second execution result returning module is used for periodically and asynchronously writing the data into the cloud database after the edge end equipment writes the execution result into the local specified file so as to call the cloud query interface B and obtain the return result of the cloud interface A by accessing the cloud database.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements the method of any of claims 1 to 4 or 5 to 7.
11. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, carries out the method according to any one of claims 1 to 4 or claims 5 to 7.
CN202210094690.6A 2022-01-26 2022-01-26 System integration method, device, computer equipment and storage medium Active CN114553930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210094690.6A CN114553930B (en) 2022-01-26 2022-01-26 System integration method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210094690.6A CN114553930B (en) 2022-01-26 2022-01-26 System integration method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114553930A true CN114553930A (en) 2022-05-27
CN114553930B CN114553930B (en) 2024-04-16

Family

ID=81674387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210094690.6A Active CN114553930B (en) 2022-01-26 2022-01-26 System integration method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114553930B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006026686A1 (en) * 2004-08-31 2006-03-09 Ascential Software Corporation User interfaces for data integration systems
US20120030272A1 (en) * 2010-07-27 2012-02-02 International Business Machines Corporation Uploading and Executing Command Line Scripts
WO2017177769A1 (en) * 2016-04-11 2017-10-19 平安科技(深圳)有限公司 Ogg version deployment method and system, server, and storage medium
US20190273609A1 (en) * 2018-03-01 2019-09-05 Microsoft Technology Licensing, Llc Mutually authenticated adaptive management interfaces for interaction with sensitive infrastructure
CN110275872A (en) * 2019-07-18 2019-09-24 中国银行股份有限公司 Version automatic deployment method, device, computer equipment and storage medium
CN110795125A (en) * 2019-10-21 2020-02-14 上海器魂智能科技有限公司 Software updating method, system, device and readable storage medium based on DevOps framework
CN112433899A (en) * 2020-11-27 2021-03-02 中国建设银行股份有限公司 Cloud server batch detection method, device, equipment and storage medium
CN112685051A (en) * 2020-12-31 2021-04-20 北京华胜天成科技股份有限公司 Method, device, platform and storage medium for automatically executing shell script
CN113422683A (en) * 2021-03-04 2021-09-21 上海数道信息科技有限公司 Edge cloud cooperative data transmission method, system, storage medium and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006026686A1 (en) * 2004-08-31 2006-03-09 Ascential Software Corporation User interfaces for data integration systems
US20120030272A1 (en) * 2010-07-27 2012-02-02 International Business Machines Corporation Uploading and Executing Command Line Scripts
WO2017177769A1 (en) * 2016-04-11 2017-10-19 平安科技(深圳)有限公司 Ogg version deployment method and system, server, and storage medium
US20190273609A1 (en) * 2018-03-01 2019-09-05 Microsoft Technology Licensing, Llc Mutually authenticated adaptive management interfaces for interaction with sensitive infrastructure
CN110275872A (en) * 2019-07-18 2019-09-24 中国银行股份有限公司 Version automatic deployment method, device, computer equipment and storage medium
CN110795125A (en) * 2019-10-21 2020-02-14 上海器魂智能科技有限公司 Software updating method, system, device and readable storage medium based on DevOps framework
CN112433899A (en) * 2020-11-27 2021-03-02 中国建设银行股份有限公司 Cloud server batch detection method, device, equipment and storage medium
CN112685051A (en) * 2020-12-31 2021-04-20 北京华胜天成科技股份有限公司 Method, device, platform and storage medium for automatically executing shell script
CN113422683A (en) * 2021-03-04 2021-09-21 上海数道信息科技有限公司 Edge cloud cooperative data transmission method, system, storage medium and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
谈永奇;王换换;阳媛;张鑫;: "基于智能化集成设备的医院大数据信息化云测试系统设计", 计算机测量与控制, no. 08, 25 August 2020 (2020-08-25) *
黄建岗;李孝忠;: "基于BerkeleyDB的嵌入式实时数据库研究", 天津科技大学学报, no. 03, 25 June 2010 (2010-06-25) *

Also Published As

Publication number Publication date
CN114553930B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
US20180276009A1 (en) Methods and apparatus to manage asset capabilities in a computing environment using a common agent framework
US10263993B2 (en) Access guards for multi-tenant logging
US20190034648A1 (en) Managing access to documents with a file monitor
CN110363026B (en) File operation method, device, equipment, system and computer readable storage medium
US10216510B2 (en) Silent upgrade of software with dependencies
US10114932B2 (en) Adapting a mobile application to a partitioned environment
US20210097037A1 (en) Container software discovery and cataloging
KR102134491B1 (en) Network based management of protected data sets
JP2010205267A (en) Method and system for unifying virtualized sublayers
US11093272B2 (en) Virtual machine allocation and migration between hardware devices by destroying and generating enclaves using transmitted datafiles and cryptographic keys
CN107368339B (en) Container entrance program operation method, system, device and storage medium
US11461460B2 (en) Software container application encryption
US20200050440A1 (en) Application upgrading through sharing dependencies
US11494493B1 (en) Software verification for network-accessible applications
US20190258499A1 (en) Artifact transformation in network devices
US8225316B1 (en) Methods and systems for creating and applying patches for virtualized applications
US8707299B1 (en) Method and apparatus for preserving virtual desktops for e-discovery through an agent-less solution
CN111209256A (en) File monitoring method and device, electronic equipment and storage medium
Fu et al. Data correlation‐based analysis methods for automatic memory forensic
CN103984621B (en) log separation method and system
US9910662B2 (en) Selectively migrating applications during an operating system upgrade
CN111324799B (en) Search request processing method and device
CN113296891A (en) Multi-scene knowledge graph processing method and device based on platform
AU2019479339B2 (en) Verification information correction device, verification information correction method and verification information correction program
CN114553930B (en) System integration method, device, computer 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