Movatterモバイル変換


[0]ホーム

URL:


CN117675869B - Data transmission method and hybrid cloud system - Google Patents

Data transmission method and hybrid cloud system
Download PDF

Info

Publication number
CN117675869B
CN117675869BCN202311683958.0ACN202311683958ACN117675869BCN 117675869 BCN117675869 BCN 117675869BCN 202311683958 ACN202311683958 ACN 202311683958ACN 117675869 BCN117675869 BCN 117675869B
Authority
CN
China
Prior art keywords
hybrid cloud
interface
request
application
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311683958.0A
Other languages
Chinese (zh)
Other versions
CN117675869A (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.)
Xiamen Entropy Technology Co ltd
Original Assignee
Xiamen Entropy 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 Xiamen Entropy Technology Co ltdfiledCriticalXiamen Entropy Technology Co ltd
Priority to CN202311683958.0ApriorityCriticalpatent/CN117675869B/en
Publication of CN117675869ApublicationCriticalpatent/CN117675869A/en
Application grantedgrantedCritical
Publication of CN117675869BpublicationCriticalpatent/CN117675869B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application discloses a data transmission method and a hybrid cloud system, the method is applied to the hybrid cloud system, the hybrid cloud system comprises a hybrid cloud server and hybrid cloud clients, the hybrid cloud server is deployed at a cloud end, is connected with public cloud and is connected with each hybrid cloud client, each hybrid cloud client is deployed in a corresponding local area network and is connected with each off-line application under the corresponding local area network, the hybrid cloud server can communicate with each off-line application through each hybrid cloud client, and the method can comprise the hybrid cloud server sending a first request of a target interface to more than one hybrid cloud client connected with the corresponding off-line application so as to interact with the corresponding off-line application through each hybrid cloud client. Therefore, the hybrid cloud system can provide hybrid cloud service for each offline application, and one interface is deployed at the hybrid cloud service end, so that the combination of a plurality of offline applications with the public cloud can be facilitated, and the combination process of the public cloud and each offline application can be accelerated.

Description

Data transmission method and hybrid cloud system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data transmission method and a hybrid cloud system.
Background
In order to ensure the safety of users, various manufacturers are provided with various security devices deployed on the local area network. Meanwhile, various vendors are provided with various offline applications which can be deployed on the local area network, so that users manage various security devices through the offline applications. Along with the rapid development of the internet of things, in order to enrich the functions of various security devices, various manufacturers try to combine public clouds with off-line applications and expand the functions of various security devices.
In the prior art, an attempt is made to open an IP of an offline application deployed in a local area network, and map an external network access to realize the purposes of accessing a cloud end by the offline application and expanding functions of various security devices, but the mode needs to process each offline application one by one according to a public cloud standard, so that the speed is low.
Disclosure of Invention
In view of the above, the application provides a data transmission method and a hybrid cloud system, which are used for solving the defect of low rate of combining offline application with a shared cloud in the prior art.
In order to achieve the above object, the following solutions have been proposed:
the data transmission method is applied to a hybrid cloud system, and the hybrid cloud system comprises a hybrid cloud server and more than one hybrid cloud client, wherein the hybrid cloud server is deployed at a cloud end, is connected with public cloud and is connected with each hybrid cloud client;
the method comprises the following steps:
the hybrid cloud server generates a first request corresponding to a target interface, and sends the first request to more than one hybrid cloud client connected with corresponding offline applications so as to interact with the corresponding offline applications through each hybrid cloud client, wherein the target interface corresponds to more than one offline application.
Optionally, the hybrid cloud server generates a first request corresponding to a target interface, and sends the first request to more than one hybrid cloud client connected with a corresponding offline application, including:
And the target interface of the hybrid cloud server receives a service request sent by a front-end service body, determines a target under-line application corresponding to the service request, generates a first request based on the service request and the target under-line application, and sends the first request to the hybrid cloud client connected with the target under-line application.
Optionally, the method further comprises:
After receiving the first request, the hybrid cloud client performs mapping conversion on the first request to generate a first message body, sends the first message body to the target line application, receives a second request corresponding to the first message body returned by the target line application, performs mapping conversion on the second request to generate a second message body, and returns the second message body to the hybrid cloud server.
Optionally, the mapping conversion is performed on the first request by the hybrid cloud client, and a first message body is generated, including:
And the hybrid cloud client determines an application interface corresponding to the first request in the target line application, determines a parameter mapping template corresponding to the application interface, and performs parameter mapping conversion on the first request according to the parameter mapping template to form a first message body.
Optionally, the mapping conversion is performed on the second request by the hybrid cloud client, and a second message body is generated, including:
And the hybrid cloud client determines a parameter mapping template corresponding to the target interface, and performs parameter mapping conversion on the second request according to the parameter mapping template to form a second message body.
Optionally, before sending the first message body to the target line application, the method further includes:
and the hybrid cloud client authenticates the target under-line application, and after the target under-line application passes the authentication, the hybrid cloud client enters the step of sending the first message body to the target under-line application.
Optionally, the method further comprises:
When a first offline application is newly added in a local area network corresponding to a first hybrid cloud client, the first hybrid cloud client determines all first interfaces which need to be in butt joint with a hybrid cloud server in the first offline application;
the first hybrid cloud client creates a second interface corresponding to each first interface;
and the first hybrid cloud client determines a mapping conversion mode between the first interface and the second interface with corresponding relations.
Optionally, the method further comprises:
The first hybrid cloud client generates an authentication pattern that verifies the first offline application.
Optionally, the method further comprises:
When a newly added second hybrid cloud client needs to be connected with the hybrid cloud server, the second hybrid cloud client is connected with the hybrid cloud server in a handshake manner through an authorization code issued by the hybrid cloud server.
A hybrid cloud system comprises a hybrid cloud server and more than one hybrid cloud client;
The mixed cloud server is deployed at the cloud end, is connected with public cloud in a butt joint mode and is connected with each mixed cloud client;
Each terminal is deployed in a corresponding local area network;
Each hybrid cloud client is deployed in a corresponding local area network and connected with each off-line application under the corresponding local area network;
each interface of the hybrid cloud server interacts with each off-line application through each hybrid cloud client.
According to the technical scheme, the data transmission method is applied to a hybrid cloud system, the hybrid cloud system comprises a hybrid cloud service end and more than one hybrid cloud client, the hybrid cloud service end is deployed at a cloud end and is connected with the hybrid cloud clients in a butt joint mode, each hybrid cloud client is deployed in a corresponding local area network and is connected with each offline application under the corresponding local area network, based on the fact, each hybrid cloud client can be communicated with the hybrid cloud service end located at the cloud end or can be communicated with each offline application located in the same local area network, and therefore the hybrid cloud service end can be communicated with each offline application deployed under each local area network through each hybrid cloud client, and the hybrid cloud service end is in butt joint with public clouds, so that the purpose of extending the offline application can be achieved through the hybrid cloud service end and the hybrid cloud client in a butt joint mode. Based on the above, the target interface in the hybrid cloud server can be in butt joint with a plurality of offline applications, and the request of the same interface can be transmitted to the plurality of offline applications through a plurality of hybrid cloud clients. And an interface is assembled at the hybrid cloud service end, so that a plurality of off-line applications can be quickly converted into hybrid cloud services, and the efficiency of combining all off-line applications with public cloud is improved. Therefore, the hybrid cloud service end and each hybrid cloud client can be synthesized to provide hybrid cloud service for each offline application, one interface of the hybrid cloud service end can provide public cloud service for a plurality of offline applications, and the deployment of one interface of the hybrid cloud service end can help the plurality of offline applications to combine the public cloud, so that the combination process of the public cloud and each offline application can be accelerated.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a system architecture diagram of a hybrid cloud system according to an embodiment of the present application;
FIG. 2 is a schematic deployment diagram of a hybrid cloud system according to an example embodiment of the present application;
fig. 3 is a flowchart of a data transmission method according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Next, the hybrid cloud system provided by the present application will be described in detail with reference to fig. 1 and 2.
Referring to fig. 1, it may be found that a hybrid cloud system may include a hybrid cloud server 10 and a hybrid cloud client 20.
The hybrid cloud server 10 may be deployed at a cloud end. The hybrid cloud service 10 may be composed of more than one server.
The hybrid cloud service 10 may interface with public clouds to provide public cloud services, for example, to provide message pushing, cloud storage, and cloud application centers.
The hybrid cloud server 10 may interface with a plurality of hybrid cloud clients 20.
Each hybrid cloud client 20 may be deployed on a local area network. Each hybrid cloud client 20 may have a unique corresponding local area network.
As can be seen with reference to fig. 2, various front-end service principals may interact with the hybrid cloud server.
Each front-end service body can operate under the networks of 4G, 5G and the like.
The front-end service principal may be a service principal running under a 2G, 3G, 4G, 5G, or other network, such as a hybrid cloud app or application service.
Each front-end service body can operate in each corresponding first terminal, and each first terminal with the front-end service body operates is deployed under a network such as 2G, 3G, 4G or 5G. Front-end service bodies with different functions can be operated in the same first terminal.
Each hybrid cloud client 20 may interact with respective off-line applications deployed on a corresponding local area network.
The offline application may be an application body deployed on a local area network for managing each corresponding device.
Each off-line application can interact with a plurality of devices in the same local area network, and a plurality of devices corresponding to the same off-line application can have corresponding specific functions.
Each offline application may also be run in a corresponding second terminal, where multiple offline applications under the same local area network may be run in the same second terminal. There may be one or more second terminals running an application under wire under the same local area network. Each second terminal running the offline application may be deployed under a corresponding local area network.
The first terminal refers to a terminal of a front-end service body deployed under a network such as 2G, 3G, 4G or 5G and running with different functions.
The second terminal refers to a terminal deployed on a local area network and running an offline application with a different function.
The first terminal and the second terminal may be the same class of terminal devices, for example, may be a terminal device such as a mobile phone or a handheld notebook.
There may be multiple off-line applications under the same local area network and the same hybrid cloud client 20 may manage the multiple off-line applications.
The hybrid cloud server 10 may interact with a plurality of hybrid cloud clients 20 under different local area networks.
The hybrid cloud service 10 may include a plurality of interfaces.
The same interface of the hybrid cloud service end 10 may correspond to offline applications under different local area networks, and each offline application corresponding to the same interface has a target function matched with the corresponding interface.
For example, each offline application corresponding to the same interface may be an application with the same version and different production time, or may be a different production version of the same application.
One offline application may have a plurality of functions and correspond to a plurality of interfaces of the hybrid cloud service 10.
Multiple interfaces may exist in the hybrid cloud service 10, each interface has multiple off-line applications corresponding to the interface, and different interfaces of the hybrid cloud service 10 may correspond to the same off-line application.
Multiple interfaces may be included in the hybrid cloud client 20.
The interfaces of the hybrid cloud client 20 may correspond to different offline applications under the same local area network, or may correspond to only one offline application.
Different interfaces of the hybrid cloud client 20 may correspond to the same offline application under the same local area network.
The hybrid cloud system can form public cloud access channels of various offline applications under different local area networks.
The hybrid cloud system is built by relying on an IoT public cloud service base, and common cloud services provided by the hybrid cloud system include, but are not limited to, account systems, organization structures, ioT bases, device management and the like.
The data transmission method provided by the application can be applied to the hybrid cloud system. Next, a data transmission method will be described in detail with reference to fig. 3, including the following steps:
In step S1, the hybrid cloud server 10 generates a first request corresponding to the target interface, and sends the first request to more than one hybrid cloud client 20 connected with corresponding offline applications.
Specifically, the target interface may be any interface in the hybrid cloud service end 10.
The hybrid cloud service 10 may generate a request corresponding to the target interface and determine the request corresponding to the target interface as the first request.
The hybrid cloud server 10 may determine an offline application corresponding to the first request as a target offline application, and send the first request to the hybrid cloud client 20 connected with the target offline application to interact with each offline application corresponding to the target interface through each hybrid cloud client.
The hybrid cloud service 10 may select an offline application corresponding to the first request from offline applications corresponding to the target interfaces.
Each off-line application corresponding to the target interface may be provided with a target function, and the target function may be matched with the target interface.
There may be multiple target under-line applications, and each target under-line application may be in one-to-one correspondence with each hybrid cloud client 20.
As can be seen from the above technical solution, the data transmission method provided by the embodiment of the present application is applied to a hybrid cloud system, where the hybrid cloud system includes a hybrid cloud server 10 and more than one hybrid cloud client 20, where the hybrid cloud server 10 is deployed at a cloud end and is connected with each hybrid cloud client 20, each hybrid cloud client 20 is deployed in a corresponding local area network and is connected with each offline application under the corresponding local area network, based on this, each hybrid cloud client 20 can either communicate with the hybrid cloud server 10 located at the cloud end or communicate with each offline application located in the same local area network, and thus, the hybrid cloud server 10 can communicate with each offline application deployed under each local area network through each hybrid cloud client 20, and the hybrid cloud server 10 is docked with a public cloud, and thus, the offline application can dock the public cloud through the hybrid cloud server 10 and the hybrid cloud client 20, thereby, and on this basis, the method can include that the hybrid cloud client 10 generates a target interface to send a corresponding request to the corresponding first request to the corresponding offline application through the first interface to the corresponding first interface of the corresponding hybrid cloud client 20. Based on this, the target interface in the hybrid cloud server 10 may interface with a plurality of offline applications, and the request of the same interface may be transmitted to the plurality of offline applications through the plurality of hybrid cloud clients 20. The hybrid cloud server 10 is provided with an interface to realize the rapid conversion of a plurality of off-line applications into hybrid cloud services, so that the efficiency of combining all off-line applications with public cloud is improved. Therefore, the hybrid cloud service end and each hybrid cloud client end 20 can be synthesized to provide hybrid cloud service for each offline application, one interface of the hybrid cloud service end can provide public cloud service for a plurality of offline applications, and one interface deployment of the hybrid cloud service end can help the plurality of offline applications to combine public cloud, so that the combination process of the public cloud and each offline application can be accelerated.
In some embodiments of the present application, a process of generating a first request corresponding to a target interface by the hybrid cloud server 10 in step S1, and sending the first request to more than one hybrid cloud client 20 connected with a corresponding offline application is described in detail, where the steps are as follows:
S10, a target interface of the hybrid cloud server 10 receives a service request sent by a front-end service body, determines a target under-line application corresponding to the service request, generates a first request based on the service request and the target under-line application, and sends the first request to the hybrid cloud client 20 connected with the target under-line application.
Specifically, the hybrid cloud server 10 may receive a service request generated by a front-end service body in response to a user service call operation, and then may determine a target under-line application corresponding to the service request, may generate a first request, and send the first request to the hybrid cloud client 20 connected to the target under-line application.
A Websocket long connection communication link may exist between the hybrid cloud server 10 and the hybrid cloud client 20, and the first request may be sent to the hybrid cloud client 20 connected to the target under-line application through the Websocket long connection communication link.
The hybrid cloud service 10 may perform request authentication with the front-end service body.
The public cloud Auth2 authentication system can be used for carrying out request authentication on the front-end service main body.
As can be seen from the foregoing technical solutions, this embodiment provides an optional manner in which the hybrid cloud server 10 interacts with the offline application, by which the hybrid cloud client 10 may respond to the request of the front-end service body, and send, to the corresponding target offline application, the first request matched with the front-end service body service request through each hybrid cloud client.
In some embodiments of the present application, considering that the message body of the data sent by the hybrid cloud client 20 is different from that of the data sent by each offline application, the direct transfer is prone to failure, and thus the received request may be mapped and converted to avoid failure, and thus, after step 10, the hybrid cloud client 20 of the present application may add a mapping and converting process, and next, the mapping and converting process will be described in detail, where the steps are as follows:
s11, the hybrid cloud client 20 performs mapping conversion on the first request to generate a first message body, sends the first message body to the target line application, receives a second request corresponding to the first message body returned by the target line application, performs mapping conversion on the second request to generate a second message body, and returns the second message body to the hybrid cloud server 10.
Specifically, the hybrid cloud client 20 may include an interface mapping template therein.
The hybrid cloud client 20 may receive the first request through the client interface, determine an application interface of the target line application corresponding to the first request, and perform mapping conversion on the first request, where data formed after mapping conversion is used as a first message body, and send the first message body to the application interface of the corresponding target line application.
The hybrid cloud client 20 may search for an interface of the offline application that matches the client interface based on the interface mapping template, and search for an interface corresponding to the first request from among the interfaces of the offline applications as an application interface of the target offline application.
The hybrid cloud client 20 may receive a second request returned by the target line application in response to the first message body, may determine a cloud interface matched with the second request based on the interface mapping template, and perform mapping conversion on the second request, where the mapping conversion forms a second message body, and returns the second message body to the cloud interface of the hybrid cloud server 10.
The cloud interface refers to an interface matched with the second request, and the cloud interface may be the same interface as the target interface, or may be different interfaces.
Wherein the second request may represent an application result corresponding to the first request.
The interface mapping template may store a mapping relationship between each interface of the hybrid cloud client 20 and each interface of each off-line application.
From the above technical solutions, it can be seen that the embodiment of the present application adds a mapping conversion process, and can implement indirect interaction between the hybrid cloud server 10 and each offline application without modifying the offline application interface.
In some embodiments of the present application, the process of mapping and converting the first request by the hybrid cloud client 20 in step S11 to generate the first message body is described in detail as follows:
S110, the hybrid cloud client 20 determines an application interface corresponding to the first request in the target line application, determines a parameter mapping template corresponding to the application interface, and performs parameter mapping conversion on the first request according to the parameter mapping template to form a first message body.
Specifically, the hybrid cloud client 20 may include a parameter mapping template, where the parameter mapping template may include a parameter mapping manner between each interface of each offline application and each interface of the hybrid cloud client 20.
The hybrid cloud client 20 may determine an application interface corresponding to the client interface, and perform parameter mapping conversion on the first request based on a parameter mapping manner between the application interface and the client interface that is searched by the parameter mapping template, to form a first message body.
As can be seen from the above technical solutions, the present embodiment provides an optional manner of generating the first message body, by which the key attribute of the interface can be better extracted, and by using each hybrid cloud client 20, a message body with uniform attribute can be provided for each offline application, so as to further accelerate the interaction reliability of the hybrid cloud system and each offline application.
In some embodiments of the present application, the process of mapping and converting the second request by the hybrid cloud client 20 in step S11 to generate the second message body is described in detail, and the steps are as follows:
s111, the hybrid cloud client 20 determines a parameter mapping template corresponding to the target interface, and performs parameter mapping conversion on the second request according to the parameter mapping template to form a second message body.
Specifically, the hybrid cloud client 20 may include a parameter mapping template, where the parameter mapping template may include a parameter mapping manner between each interface of each offline application and each interface of the hybrid cloud server 10.
The second request may be parameter mapped to form a second message body based on a parameter mapping template.
The parameter mapping templates are typically JSON templates, including but not limited to, conversion of multiple latitudes, such as Request Param, request Body, request Header, response Body, etc., each of which corresponds to a JSON mapping template configuration.
As can be seen from the above technical solution, the present embodiment provides an optional manner of generating the second message body, by which the key attribute of the interface can be better extracted, and by using each hybrid cloud client 20, a message body with uniform attribute can be provided for the hybrid cloud server 10, so as to further accelerate the interaction reliability of the hybrid cloud system and each offline application.
In some embodiments of the present application, in order to ensure information security, an authentication process may be added before the first message body is issued to the target line for application, and thus, before step S11, an authentication process may be added, and next, the authentication process will be described in detail, where the steps are as follows:
And S12, authenticating the target under-line application by the hybrid cloud client 20, and executing step S11 after the target under-line application passes the authentication.
Specifically, the hybrid cloud client 20 may include an authentication template for the corresponding offline application, and the target offline application may be authenticated using the authentication template. After the target under-line application authentication passes, the hybrid cloud client 20 may perform step S11.
As can be seen from the above technical solution, in the interaction process of assisting the hybrid cloud client 20 with each offline application, the hybrid cloud client 20 of the present application adds an authentication process, so as to further ensure reliability and security of data transmission.
In some embodiments of the present application, considering that a new offline application may be added to the lan and need to access the public cloud, a communication tunnel between the new offline application and the hybrid cloud client 20 corresponding to the lan may be established at this time, so that the new offline application accesses the public cloud through the hybrid cloud client 20 and the hybrid cloud server 10. Next, a process of establishing a communication tunnel between the offline application and the hybrid cloud client 20 will be described in detail, with the following steps:
S1, when a first offline application is newly added in a local area network corresponding to a first hybrid cloud client, the first hybrid cloud client determines all first interfaces which need to be in butt joint with a hybrid cloud server 10 in the first offline application.
In particular, the first offline application may be an offline application that requires an addition of a hybrid cloud service, and the first hybrid cloud client may be a hybrid cloud client that requires establishment of a communication tunnel with the first offline application.
The first hybrid cloud client is deployed within the same local area network as the first offline application.
The first hybrid cloud client may determine an interface in the first offline application that requires adding the hybrid cloud service, and use the interface in the first offline application that requires adding the hybrid cloud service as the first interface.
S2, the first hybrid cloud client creates a second interface corresponding to each first interface.
Specifically, the first hybrid cloud client may create a second interface corresponding to each first interface, and in the creating process, the first hybrid cloud client may determine whether an authentication template exists in each second interface, and if the authentication template exists in each second interface, the corresponding second interface needs to authenticate the offline application when transmitting the request to the first interface.
The mapping relation between each first interface and each second interface can be stored in an interface mapping template of the first hybrid cloud client.
The corresponding relation between each second interface and each interface of the hybrid cloud server 10 may be determined, and the corresponding relation between each second interface and each interface of the hybrid cloud server 10 may be stored in the interface mapping template of the first hybrid cloud client.
S3, the first hybrid cloud client determines a mapping conversion mode between the first interface and the second interface with corresponding relations.
Specifically, the first hybrid cloud client may determine a parameter mapping manner and an interface mapping manner between the first interface and the second interface, which have a corresponding relationship, store the parameter mapping manner in the parameter mapping template, and store the interface mapping manner in the interface mapping template.
As can be seen from the above technical solution, the present embodiment provides an optional manner of establishing a communication tunnel between an offline application and a hybrid cloud client 20 corresponding to a local area network, by which interfaces corresponding to each interface of the offline application can be added to the corresponding hybrid cloud client, and a mapping conversion manner between the hybrid cloud client and the offline application can be obtained, so that a new offline application can access a public cloud through the hybrid cloud client and the hybrid cloud server.
In some embodiments of the present application, in order to ensure the security of the hybrid cloud system while the communication tunnel is established, the first hybrid cloud client may increase an authentication mode, and in the process of interacting with the first offline application, the first hybrid cloud client may perform authentication on the first offline application through the authentication mode, so as to ensure the security of the hybrid cloud system. Next, a process of adding an authentication mode to the first hybrid cloud client will be described in detail, and the steps are as follows:
s4, the first hybrid cloud client generates an authentication mode for checking the first offline application.
Specifically, the first hybrid cloud client may negotiate with the first offline application to generate an authentication mode, which may include a variety of, for example, auth2, basic Auth, no Auth, or other custom Auth modes developed by the hybrid cloud client, and so on.
The first hybrid cloud client may also set permissions for each first interface.
According to the technical scheme, the authentication mode between the first offline application and the first hybrid cloud client is increased, and the first hybrid cloud client can conduct authority authentication on the first offline application through the authentication mode, so that the safety and reliability of the hybrid cloud system are further guaranteed.
In some embodiments of the present application, considering that there is a possibility of newly adding a hybrid cloud client during use, the present application may add a process of establishing a communication tunnel between the new hybrid cloud client 20 and the hybrid cloud server 10, and next, a detailed description will be given of a process of newly adding a communication tunnel between the hybrid cloud client 20 and the hybrid cloud server 10, which includes the following steps:
S1, when a newly added second hybrid cloud client needs to be connected with the hybrid cloud server, the second hybrid cloud client is connected with the hybrid cloud server 10 through an authorization code issued by the hybrid cloud server.
Specifically, the second hybrid cloud client may be a hybrid cloud client that needs to newly establish a communication tunnel with the hybrid cloud server 10.
The second hybrid cloud client may receive the authorization code issued by the hybrid cloud server 10 after being activated by the public cloud account.
The second hybrid cloud client may request the hybrid cloud server 10 to provide a Websocket penetration server, and connect with the hybrid cloud server 10 with a handshake.
As can be seen from the above technical solution, the present embodiment provides an optional manner of establishing a communication tunnel between the hybrid cloud client 20 and the hybrid cloud server 10, by which a new hybrid cloud client can be added in the hybrid cloud system, and the new hybrid cloud client can help multiple offline applications combine public clouds.
In the hybrid cloud system of the present application, the hybrid cloud server 10 includes a transmitting module;
The sending module may be configured to generate a first request corresponding to a target interface, and send the first request to one or more hybrid cloud clients connected with corresponding offline applications, so as to interact with the corresponding offline applications through each hybrid cloud client, where the target interface corresponds to one or more offline applications.
Further, the transmission module may include a request transmission unit;
The request sending unit may be configured to receive a service request sent by a front-end service body, determine a target under-line application corresponding to the service request, generate a first request based on the service request and the target under-line application, and send the first request to a hybrid cloud client connected to the target under-line application.
Further, the hybrid cloud client 20 may include a forwarding module;
And the forwarding module is used for carrying out mapping conversion on the first request to generate a first message body, sending the first message body to the target line application, receiving a second request corresponding to the first message body returned by the target line application, carrying out mapping conversion on the second request to generate a second message body, and returning the second message body to the hybrid cloud server.
Further, the forwarding module may include a first message body generating unit;
The first message body generating unit may be configured to determine an application interface corresponding to the first request in the target line application, determine a parameter mapping template corresponding to the application interface, and perform parameter mapping conversion on the first request according to the parameter mapping template to form a first message body.
Further, the forwarding module may further include a second message body generating unit;
and the second message body generating unit can be used for determining a parameter mapping template corresponding to the target interface, and performing parameter mapping conversion on the second request according to the parameter mapping template to form a second message body.
Further, the hybrid cloud client may further include an authentication module;
And the authentication unit can be used for authenticating the target line application.
Further, the hybrid cloud client may further include a first interface determining unit, a second interface constructing unit, and a mapping conversion mode determining unit;
the first interface determining unit can be used for determining all first interfaces which need to be in butt joint with the hybrid cloud server side in the first offline application when the first offline application is newly added in the local area network corresponding to the first hybrid cloud client side;
the second interface construction unit can be used for creating a second interface corresponding to each first interface;
The mapping conversion mode determining unit may be configured to determine a mapping conversion mode between the first interface and the second interface that have a correspondence relationship.
Further, the hybrid cloud client may further include an authentication mode determining unit;
An authentication mode determination unit may be configured to generate an authentication mode for verifying the first offline application.
Further, the hybrid cloud client may further include a handshake connection unit;
the handshake connection unit can be used for handshake connection with the hybrid cloud server through an authorization code issued by the hybrid cloud server.
Finally, it is further noted that 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. Moreover, 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 one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Various embodiments of the present application may be combined with each other. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

CN202311683958.0A2023-12-082023-12-08Data transmission method and hybrid cloud systemActiveCN117675869B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202311683958.0ACN117675869B (en)2023-12-082023-12-08Data transmission method and hybrid cloud system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202311683958.0ACN117675869B (en)2023-12-082023-12-08Data transmission method and hybrid cloud system

Publications (2)

Publication NumberPublication Date
CN117675869A CN117675869A (en)2024-03-08
CN117675869Btrue CN117675869B (en)2024-12-27

Family

ID=90065852

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202311683958.0AActiveCN117675869B (en)2023-12-082023-12-08Data transmission method and hybrid cloud system

Country Status (1)

CountryLink
CN (1)CN117675869B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119420513B (en)*2024-10-172025-09-23浪潮云信息技术股份公司Distributed security management system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106372532A (en)*2016-09-052017-02-01用友优普信息技术有限公司Open application program interface service platform as well as calling control method and device
CN111030967A (en)*2018-10-102020-04-17千寻位置网络有限公司Cloud-based data transmission system, data transmission method and data acquisition method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11683292B2 (en)*2011-09-092023-06-20Kingston Digital, Inc.Private cloud routing server connection mechanism for use in a private communication architecture
CN102638567B (en)*2012-03-022015-05-20深圳市朗科科技股份有限公司Multi-application cloud storage platform and cloud storage terminal
US10491477B2 (en)*2015-12-182019-11-26Privops LlcHybrid cloud integration fabric and ontology for integration of data, applications, and information technology infrastructure
US10425465B1 (en)*2016-07-292019-09-24Google LlcHybrid cloud API management
CN108696565A (en)*2017-04-062018-10-23北京算云联科科技有限公司 Integrated digital home control system based on hybrid cloud and heterogeneous Internet of Things
CN111539555A (en)*2020-03-302020-08-14南京南瑞信息通信科技有限公司 A Foreign Affairs Management System Based on Hybrid Cloud Platform
CN112866329B (en)*2020-11-192024-03-26中国人寿保险股份有限公司Request response method and device based on hybrid cloud, medium and electronic equipment
CN112583937A (en)*2020-12-292021-03-30广东工业大学Visual convenient cloud resource deployment system combining public cloud and private cloud
CN115567521B (en)*2022-08-242025-04-11蚂蚁区块链科技(上海)有限公司 Communication method and device between local area network and public cloud, and computing equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106372532A (en)*2016-09-052017-02-01用友优普信息技术有限公司Open application program interface service platform as well as calling control method and device
CN111030967A (en)*2018-10-102020-04-17千寻位置网络有限公司Cloud-based data transmission system, data transmission method and data acquisition method

Also Published As

Publication numberPublication date
CN117675869A (en)2024-03-08

Similar Documents

PublicationPublication DateTitle
KR101551315B1 (en)Using a mobile device to enable another device to connect to a wireless network
CN105101206B (en)A kind of WIFI of equipment automatically accesses method and system
CN104601590B (en)A kind of login method, server and mobile terminal
CN113746633A (en)Internet of things equipment binding method, device and system, cloud server and storage medium
CN112672351B (en) Wireless local area network authentication method and device, electronic device, and storage medium
CN108881308B (en)User terminal and authentication method, system and medium thereof
US20140007207A1 (en)Method and device for generating local interface key
CN111865879B (en)Internet of things access method and system and corresponding Internet of things equipment
JP2004501459A (en) Electronic device authentication method and system
CN103929748A (en)Internet of things wireless terminal, configuration method thereof and wireless network access point
CN111194035B (en)Network connection method, device and storage medium
CN113595992B (en)Secure binding method and system, storage medium and electronic device
CN117675869B (en)Data transmission method and hybrid cloud system
CN112671763A (en)Data synchronization method and device under networking environment and computer equipment
CN116204914A (en)Trusted privacy computing method, device, equipment and storage medium
CN108966218A (en)A kind of wireless network access method and system based on management terminal control
CN102347964B (en)Log in the method for website, system, information aggregation platform and website
CN109495979A (en)Wireless network connecting method and device
CN109104774A (en)Data transmission method and system
CN109981558B (en)Authentication method, equipment and system of intelligent household equipment
CN118282662A (en)Device registration method, device registration apparatus, and computer storage medium
US20040255112A1 (en)Network device and system for authentication and method thereof
KR20070078212A (en) Multi-Mode Access Authentication Method in Public WLAN
WO2008001988A1 (en)System and method for managing network/service access for linkage between network access and application service
CN114222377A (en)Data transmission method, system and computer readable storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp