CN114327556A - Device and method for realizing application configuration hot update based on Internet of things edge cloud cooperation - Google Patents

Device and method for realizing application configuration hot update based on Internet of things edge cloud cooperation Download PDF

Info

Publication number
CN114327556A
CN114327556A CN202111655075.XA CN202111655075A CN114327556A CN 114327556 A CN114327556 A CN 114327556A CN 202111655075 A CN202111655075 A CN 202111655075A CN 114327556 A CN114327556 A CN 114327556A
Authority
CN
China
Prior art keywords
configuration
edge
application
tunnel
cloud
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.)
Pending
Application number
CN202111655075.XA
Other languages
Chinese (zh)
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.)
Sichuan Qiruike Technology Co Ltd
Original Assignee
Sichuan Qiruike 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 Sichuan Qiruike Technology Co Ltd filed Critical Sichuan Qiruike Technology Co Ltd
Priority to CN202111655075.XA priority Critical patent/CN114327556A/en
Publication of CN114327556A publication Critical patent/CN114327556A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a device and a method for realizing application configuration hot update based on the edge cloud cooperation of an internet of things, wherein the device comprises the following steps: the configuration center is positioned at the cloud end and used for receiving a configuration updating instruction submitted by a configuration initiator, storing the configuration in the configuration center and issuing the configuration content which is updated correspondingly; the transmission tunnel is positioned at two end nodes of the edge cloud cooperation, comprises a tunnel cloud end module and a tunnel edge end module, and is used for building a special transmission tunnel network between a cloud node with a public network IP and an edge node without the public network IP; and the edge application is positioned at the edge end and used for receiving the configuration information from the transmission tunnel, storing the configuration in the application after analysis processing and enabling the configuration of the edge application to take effect.

Description

Device and method for realizing application configuration hot update based on Internet of things edge cloud cooperation
Technical Field
The invention relates to the technical field of information, in particular to a device and a method for realizing application configuration hot update based on Internet of things edge cloud cooperation.
Background
There are generally two ways for centralized configuration update of existing service applications: one is that after the user issues the configuration in the configuration center, the service application restarts or pulls the configuration from the configuration center at regular time; the other is that an SDK development kit is integrated and configured in service application and is in long connection with a configuration center, so that configuration is obtained in time.
These two common configuration updating methods are basically implemented under the condition that the service application and the configuration center can directly communicate with each other through a network. However, in a specific scenario of the internet of things, often due to limitation of the internet or due to consideration of network security, the marginal business application cannot directly access the external network through the internet, or cannot directly access the configuration center, which results in that the existing processing method is not feasible.
The application of the method is mainly used for solving the problem that under the scenes of the Internet of things and the like, after a user updates configuration information in a configuration center, the edge application cannot directly acquire and update configuration, and hot update of the edge application configuration cannot be achieved.
The technical essence of the problem defect is that the edge application is in an enterprise intranet environment, a public network IP address is not available, and a user cannot directly find the service of an edge node after updating and distributing configuration at a cloud end; meanwhile, the edge application cannot directly access the internet, and cannot directly reach the configuration center server, and the bidirectional network cannot be reached directly.
Disclosure of Invention
The invention aims to provide a device and a method for realizing application configuration hot update based on the edge cloud cooperation of the Internet of things, so as to solve the technical problems in the background technology.
In order to achieve the purpose, the invention adopts the following technical scheme:
the utility model provides an implementation device for application configuration hot update based on thing networking edge cloud is collaborative, includes:
the configuration center is positioned at the cloud end and used for receiving a configuration updating instruction submitted by a configuration initiator, storing the configuration in the configuration center and issuing the configuration content which is updated correspondingly;
the transmission tunnel is positioned at two end nodes of the edge cloud cooperation, comprises a tunnel cloud end module and a tunnel edge end module, and is used for building a special transmission tunnel network between a cloud node with a public network IP and an edge node without the public network IP;
and the edge application is positioned at the edge end and used for receiving the configuration information from the transmission tunnel, storing the configuration in the application after analysis processing and enabling the configuration of the edge application to take effect.
In some embodiments, the apparatus for configuring hot update based on application of internet of things edge cloud coordination further includes: and the acquisition module is used for acquiring the configuration editing configuration of the configuration initiator and starting the configuration updating operation.
In some embodiments, a configuration application is created in a configuration center, and a unique application identification is assigned for implementing management of corresponding configuration information for a plurality of edge applications.
The invention also provides a realization method of the application configuration hot update based on the Internet of things edge cloud cooperation, which is realized based on the realization device of the application configuration hot update based on the Internet of things edge cloud cooperation and comprises the following steps:
setting up a configuration center, providing an account number of an initiator user or an access key of an access system, establishing a configuration application identifier for the edge application, and informing the edge application terminal;
constructing an edge application, integrating and configuring the SDK, filling a configuration application identifier, deploying the edge application to an edge end, and communicating with a network of an edge node;
building a special transmission tunnel with edge cloud cooperation;
editing new configuration information for the edge application, and issuing the updated configuration information to a transmission tunnel of edge cloud cooperation;
the tunnel cloud receives the updated configuration information and forwards the configuration information to the tunnel edge end node through the transmission tunnel;
the edge application monitors the configuration information from the edge end of the tunnel, and after analysis processing, the configuration is stored in the application and the configuration of the edge application is enabled to take effect.
The configuration establishing center provides an initiator user account or an access key of an access system, creates a configuration application identifier for the edge application and informs the edge application terminal; further comprising: and a plurality of edge application identifiers are created, the service universality of a configuration center is realized, and the configuration updating management of a plurality of different edge applications is met.
The edge application monitors the configuration information from the tunnel edge end, and after analysis processing, the configuration is stored in the application, and the configuration of the edge application is enabled to take effect, the method also comprises the following steps: and each edge application receives configuration updating information only belonging to the application from the edge end of the tunnel according to the built-in unique application identifier.
The device and the method for implementing application configuration hot update based on the internet of things edge cloud cooperation disclosed by the application have the following possible beneficial effects that:
in summary, the beneficial technical effects of the invention include: through the special safe tunnel network, under the condition that the cloud configuration center cannot directly access the edge application, the edge application cannot directly access the cloud configuration center, and the edge application cannot directly access the cloud configuration center, a user can indirectly and actively carry out hot updating on the configuration of the edge application by using the tunnel network, so that the requirement of the service on timely configuration is met, and the timeliness of service processing is improved.
Drawings
FIG. 1 is a block diagram of an application configuration hot-update structure based on the Internet of things edge cloud coordination according to the method of the present invention;
fig. 2 is a flowchart of an application configuration hot-update implementation method based on the internet of things edge cloud coordination according to the method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
On the contrary, this application is intended to cover any alternatives, modifications, equivalents, and alternatives that may be included within the spirit and scope of the application as defined by the appended claims. Furthermore, in the following detailed description of the present application, certain specific details are set forth in order to provide a better understanding of the present application. It will be apparent to one skilled in the art that the present application may be practiced without these specific details.
The following describes in detail an implementation apparatus and method for configuring hot update based on application of internet of things edge cloud coordination according to an embodiment of the present application. It is to be noted that the following examples are only for explaining the present application and do not constitute a limitation to the present application.
According to the invention, by introducing the special tunnel network on the basis of the configuration center and the edge application, the configuration transmission can be carried out through the connection between the tunnel cloud end and the tunnel edge end under the condition that no long connection exists between the configuration center and the edge application originally, and the initiator cannot actively push the edge application after the configuration center is updated, so that the configuration is pushed to the edge application in time, and the configuration is effective in time. Is composed of
Referring to fig. 1, it is a block diagram of a cloud platform access control structure of the method of the present invention, wherein:
the initiator 101 edits the configuration and initiates a configuration update operation of a user or a service system, the user may initiate the operation through a console interface of the configuration center, and the service system may initiate the operation through an API interface of the configuration center.
The configuration center 102 receives a configuration update instruction submitted by the configuration initiator, stores the configuration in the configuration center, and simultaneously issues the configuration content corresponding to the update through a tunnel network dedicated to the cloud cooperation at the edge of the internet of things.
The tunnel cloud 103 is deployed on a cloud node with a public network IP as a component of a dedicated tunnel in cooperation with the edge cloud, and a dedicated transmission tunnel network is established between the cloud node and the edge node, so that the edge node can be actively accessed in a configuration center of the cloud, and configuration is transmitted to the edge.
The tunnel edge 104, as a component of the edge-cloud-collaborative dedicated tunnel, is deployed on an edge node without a public network IP, and builds a dedicated transmission tunnel network between the edge node and a cloud node, so as to receive configuration update information actively issued by a configuration center at the cloud and forward the configuration update information to the edge of the edge.
The edge application 105 monitors and receives the configuration update information from the tunnel edge end, and finally saves the configuration in time in the application after the analysis processing of the configuration SDK, and makes the configuration of the edge application effective.
And the configuration SDK 106 is integrated in the edge application and specially processes the data analysis of the configuration information.
Referring to fig. 2, a flow chart of an implementation method of the present invention includes the following steps:
and step S21, building a configuration center, providing an account of the initiator user or an access key of the access system, creating a configuration application identifier for the edge application, and informing the edge application terminal. A user or an access system can create a plurality of edge application identifiers to realize the service universality of a configuration center so as to meet the configuration updating management of a plurality of different edge applications;
step S22, constructing edge application, integrated configuration SDK, filling the configuration application identification and related information obtained in step 1, deploying the edge application to the edge end, and communicating with the network of the edge node. 1, constructing a plurality of edge applications, wherein each edge application is filled with a unique configuration application identifier;
and step S23, constructing a special transmission tunnel with edge cloud cooperation so as to facilitate the safe transmission of the configuration information. In the step, tunnel cloud end components are deployed in cloud nodes, tunnel edge end components are deployed in edge nodes, and the components at two ends are started to operate to establish long network connection;
step S24, the initiator user enters the configuration center console, or the initiator access system edits new configuration information for the edge application by calling API interface, and issues the updated configuration information to the transmission tunnel of edge cloud cooperation;
step S25, the tunnel cloud receives the updated configuration information and forwards it to the tunnel edge end node through the transmission tunnel, the tunnel edge node forwards it to the corresponding edge application according to the configuration application identification in the received configuration information;
and step S26, the edge application monitors the configuration information from the tunnel edge end, analyzes and processes the data through the built-in configuration SDK, saves the data, and timely informs the service logic or interface related to the configuration to update, thereby enabling the configuration of the edge application to take effect and completing the hot updating process of the whole application configuration. In this step, each edge application can receive configuration update information only belonging to its own application from the tunnel edge end according to the built-in unique application identifier, so that the constructed tunnel network can meet configuration transmission of a plurality of different edge applications.
The method for establishing the special tunnel network at the cloud end and the edge end node is adopted, and the problem that a user cannot directly perform configuration hot update on the edge application in the scene of the Internet of things is solved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (6)

1. An implementation device for configuring hot update based on application of Internet of things edge cloud cooperation is characterized by comprising:
the configuration center is positioned at the cloud end and used for receiving a configuration updating instruction submitted by a configuration initiator, storing the configuration in the configuration center and issuing the configuration content which is updated correspondingly;
the transmission tunnel is positioned at two end nodes of the edge cloud cooperation, comprises a tunnel cloud end module and a tunnel edge end module, and is used for building a special transmission tunnel network between a cloud node with a public network IP and an edge node without the public network IP;
and the edge application is positioned at the edge end and used for receiving the configuration information from the transmission tunnel, storing the configuration in the application after analysis processing and enabling the configuration of the edge application to take effect.
2. The apparatus for implementing application configuration hot update based on internet of things edge cloud coordination according to claim 1, further comprising:
and the acquisition module is used for acquiring the configuration editing configuration of the configuration initiator and starting the configuration updating operation.
3. The apparatus for implementing application configuration hot update based on internet of things edge cloud coordination according to claim 1, wherein a configuration application is created in a configuration center, and a unique application identifier is assigned for implementing management of corresponding configuration information for a plurality of edge applications.
4. The method for implementing application configuration hot update based on the internet of things side cloud coordination is characterized in that the method is implemented based on the device for implementing application configuration hot update based on the internet of things side cloud coordination in any one of claims 1 to 3, and comprises the following steps:
setting up a configuration center, providing an account number of an initiator user or an access key of an access system, establishing a configuration application identifier for the edge application, and informing the edge application terminal;
constructing an edge application, integrating and configuring the SDK, filling a configuration application identifier, deploying the edge application to an edge end, and communicating with a network of an edge node;
building a special transmission tunnel with edge cloud cooperation;
editing new configuration information for the edge application, and issuing the updated configuration information to a transmission tunnel of edge cloud cooperation;
the tunnel cloud receives the updated configuration information and forwards the configuration information to the tunnel edge end node through the transmission tunnel;
the edge application monitors the configuration information from the edge end of the tunnel, and after analysis processing, the configuration is stored in the application and the configuration of the edge application is enabled to take effect.
5. The method for implementing application configuration hot update based on Internet of things edge cloud coordination according to claim 4,
the configuration establishing center provides an initiator user account or an access key of an access system, creates a configuration application identifier for the edge application and informs the edge application terminal; further comprising: and a plurality of edge application identifiers are created, the service universality of a configuration center is realized, and the configuration updating management of a plurality of different edge applications is met.
6. The method for implementing application configuration hot update based on Internet of things edge cloud coordination according to claim 4,
the edge application monitors the configuration information from the tunnel edge end, and after analysis processing, the configuration is stored in the application, and the configuration of the edge application is enabled to take effect, the method also comprises the following steps: and each edge application receives configuration updating information only belonging to the application from the edge end of the tunnel according to the built-in unique application identifier.
CN202111655075.XA 2021-12-30 2021-12-30 Device and method for realizing application configuration hot update based on Internet of things edge cloud cooperation Pending CN114327556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111655075.XA CN114327556A (en) 2021-12-30 2021-12-30 Device and method for realizing application configuration hot update based on Internet of things edge cloud cooperation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111655075.XA CN114327556A (en) 2021-12-30 2021-12-30 Device and method for realizing application configuration hot update based on Internet of things edge cloud cooperation

Publications (1)

Publication Number Publication Date
CN114327556A true CN114327556A (en) 2022-04-12

Family

ID=81019592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111655075.XA Pending CN114327556A (en) 2021-12-30 2021-12-30 Device and method for realizing application configuration hot update based on Internet of things edge cloud cooperation

Country Status (1)

Country Link
CN (1) CN114327556A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024032660A1 (en) * 2022-08-10 2024-02-15 深圳竹云科技股份有限公司 Method and apparatus for changing account data, computer device, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024032660A1 (en) * 2022-08-10 2024-02-15 深圳竹云科技股份有限公司 Method and apparatus for changing account data, computer device, and storage medium

Similar Documents

Publication Publication Date Title
CN102355500B (en) Service push method and device
CN106648903B (en) The method and apparatus for calling distributed file system
CN104144098A (en) Information pushing method and system and pushing server equipment
CN104969654A (en) Synchronizing generation and transmission of keep-alive messages
CN103780679A (en) Long time delay remote invocation method based on HTTP protocol
CN110099078A (en) Communication between devices, message synchronization method, apparatus, equipment and storage medium
CN106209966A (en) Management and control end updates the method for equipment state, the treating method and apparatus of service end
CN103812900A (en) Data synchronization method, device and system
CN105451154A (en) Vehicle-mounted information system and control method thereof
CN104065514A (en) Home network management method based on network configuration protocol (NETCONF) relay
CN105898893A (en) Method for realizing full-duplex communication between mobile terminal and IOT equipment
CN103906092A (en) Method and device for updating access point information
CN111797173B (en) Alliance chain sharing system, method and device, electronic equipment and storage medium
CN114327556A (en) Device and method for realizing application configuration hot update based on Internet of things edge cloud cooperation
CN103812672A (en) Method for discovering newly-added network element device, correlative device, and system
CN108833167B (en) Communication optimization system and method based on edge calculation
CN112688817B (en) Network service issuing method, system and device based on government affair cloud and storage medium
CN103634385A (en) System, method and server for data synchronizing
CN108900603A (en) A kind of server discovery methods, devices and systems
CN104104701A (en) Online service configuration updating method and system
CN104954462A (en) High-concurrency extensible smart home communication method and high-concurrency extensible smart home communication system
CN103401791A (en) Method and equipment for identifying boundary port
CN104735816A (en) Method for controlling wireless equipment in wireless network direct-connection group to be disconencted and wireless equipment
CN109104472B (en) Block chain network networking method, device, equipment and computer readable storage medium
CN104125622A (en) Configuration method of access system, equipment and system

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