CN109309717B - Data transmission method and device, electronic equipment and storage medium - Google Patents

Data transmission method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109309717B
CN109309717B CN201811159221.8A CN201811159221A CN109309717B CN 109309717 B CN109309717 B CN 109309717B CN 201811159221 A CN201811159221 A CN 201811159221A CN 109309717 B CN109309717 B CN 109309717B
Authority
CN
China
Prior art keywords
paas
data
service
target
sent
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
CN201811159221.8A
Other languages
Chinese (zh)
Other versions
CN109309717A (en
Inventor
雷冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201811159221.8A priority Critical patent/CN109309717B/en
Publication of CN109309717A publication Critical patent/CN109309717A/en
Application granted granted Critical
Publication of CN109309717B publication Critical patent/CN109309717B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The embodiment of the invention provides a data transmission method, a data transmission device, electronic equipment and a storage medium, wherein the data transmission method is applied to an IaaS platform, the IaaS platform corresponds to a plurality of PaaS services, and the method comprises the following steps: determining a target PaaS service corresponding to data to be sent; determining a PaaS interface corresponding to the target PaaS service according to a preset corresponding relation between the PaaS service and the PaaS interface; and sending the data to be sent to the target PaaS service through a PaaS interface corresponding to the target PaaS service. The embodiment of the invention effectively reduces the data congestion condition in the data transmission process.

Description

Data transmission method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of cloud computing technologies, and in particular, to a data transmission method and apparatus, an electronic device, and a storage medium.
Background
Three types of cloud computing services are SaaS (Software-as-a-Service), PaaS (Platform-as-a-Service), IaaS (Infrastructure-as-Service). PaaS provides the infrastructure and computing resources needed to develop, test, run, and manage SaaS applications in an integrated cloud environment. Most PaaS vendors can provide JavaScript, Adobe Flex, and Flash like tools that are easier to use than traditional programming tools. Users do not have to own or control the development environment, but can actually control the applications they develop and deploy therein. IaaS provides a hosted IT infrastructure for users to deploy processing power, storage, networks, and other basic computing resources. The IaaS provider runs and manages this infrastructure on which the user can run selected operating system and application software. When an existing IaaS platform interacts with a plurality of PaaS services, the IaaS platform may send data to all the PaaS services in a broadcast form, and each PaaS service determines whether to need its own processing after receiving the broadcast data, and if so, the processing is performed, and if not, the processing is discarded.
The inventor finds that the existing IaaS platform broadcasts data to all PaaS services in a broadcasting mode, and when the data volume is large, the data transmission mode causes data congestion.
Disclosure of Invention
The embodiment of the invention aims to provide a data transmission method, a data transmission device, electronic equipment and a storage medium, so as to reduce the data congestion in the data transmission process. The specific technical scheme is as follows:
in order to achieve the above object, an embodiment of the present invention discloses a data transmission method applied to an IaaS platform, where the IaaS platform corresponds to a plurality of PaaS services, and the method includes:
determining a target PaaS service corresponding to data to be sent;
determining a PaaS interface corresponding to the target PaaS service according to a preset corresponding relation between the PaaS service and the PaaS interface;
and sending the data to be sent to the target PaaS service through a PaaS interface corresponding to the target PaaS service.
Optionally, before determining a target PaaS service corresponding to data to be sent, the method further includes:
determining whether the data volume of the data to be sent reaches a data volume threshold value;
the determining of the target PaaS service corresponding to the data to be sent includes:
and when the data volume of the data to be sent reaches the data volume threshold value, determining a target PaaS service corresponding to the data to be sent.
Optionally, the method further comprises:
and when the data volume of the data to be sent does not reach the data volume threshold value, broadcasting and sending the data to be sent to the plurality of PaaS services.
Optionally, the determining the target PaaS service corresponding to the data to be sent includes:
determining the service type of data to be sent;
and determining the PaaS service for processing the data belonging to the service type as a target PaaS service.
Optionally, the correspondence between the PaaS service and the PaaS interface includes: the corresponding relation between the identification information of the PaaS service and the Pass interface;
the determining, according to a preset correspondence between the PaaS service and the PaaS interface, the PaaS interface corresponding to the target PaaS service includes:
and acquiring identification information of the target PaaS service, and determining a PaaS interface corresponding to the target PaaS service according to a preset corresponding relation between the identification information of the PaaS service and the PaaS interface.
Optionally, the identification information of the PaaS service is a number or a name of the PaaS service.
In order to achieve the above object, an embodiment of the present invention further discloses a data transmission device, which is applied to an IaaS platform, where the IaaS platform corresponds to a plurality of PaaS services, and the data transmission device includes:
the target service determining module is used for determining a target PaaS service corresponding to data to be sent;
the target interface determining module is used for determining a PaaS interface corresponding to the target PaaS service according to a preset corresponding relation between the PaaS service and the PaaS interface;
and the data sending module is used for sending the data to be sent to the target PaaS service through a PaaS interface corresponding to the target PaaS service.
Optionally, the apparatus further comprises:
the data volume judging module is used for determining whether the data volume of the data to be sent reaches a data volume threshold value;
the target service determining module is configured to determine a target PaaS service corresponding to the data to be sent when the data amount of the data to be sent reaches the data amount threshold.
Optionally, the apparatus further comprises:
and the data broadcasting module is used for broadcasting and sending the data to be sent to the plurality of PaaS services when the data quantity of the data to be sent does not reach the data quantity threshold value.
Optionally, the target service determination module includes:
the service type determining submodule is used for determining the service type of the data to be sent;
and the target service determining submodule is used for determining the PaaS service for processing the data belonging to the service type as the target PaaS service.
Optionally, the correspondence between the PaaS service and the PaaS interface includes: the corresponding relation between the identification information of the PaaS service and the Pass interface;
the target interface determining module is specifically configured to acquire identification information of the target PaaS service, and determine a PaaS interface corresponding to the target PaaS service according to a preset correspondence between the identification information of the PaaS service and the PaaS interface.
In order to achieve the above object, an embodiment of the present invention further discloses an electronic device, which is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the method steps of any of the above data transmission methods when executing the program stored in the memory.
In order to achieve the above object, an embodiment of the present invention further discloses a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the method steps of any of the above data transmission methods are implemented.
The embodiment of the invention provides a data transmission method, a data transmission device, electronic equipment and a storage medium, and aims to reduce data congestion in a data transmission process. In the embodiment of the invention, the target PaaS service corresponding to each data to be sent is determined, the target PaaS interface corresponding to the target PaaS service is determined according to the preset corresponding relation between each PaaS service and the PaaS interface of the PaaS service, and finally the data to be sent is sent to the target PaaS service through the PaaS interface corresponding to the target PaaS service, so that the IaaS platform directionally sends the data to the corresponding PaaS service. Compared with the prior art that the IaaS platform broadcasts the data to all PaaS services in a broadcasting mode, the embodiment of the invention enables the data transmission to be more targeted through a directional sending mode, and effectively reduces the data congestion caused by sending all the data to each PaaS service.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a data transmission method according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for determining a target PaaS service of data to be sent in a data transmission method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In a first aspect, an embodiment of the present invention discloses a data transmission method, as shown in fig. 1. Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention, which is applied to an IaaS platform, where the IaaS platform corresponds to multiple PaaS services, and includes:
s101, determining target PaaS service corresponding to data to be sent.
The PaaS service is a cloud service located between an IaaS platform and a SaaS service, and provides development and operating environments of application programs. The IaaS platform mainly provides infrastructure services such as virtual computing, storage and databases, the SaaS service provides cloud-based application for users, and the PaaS service provides an environment for constructing application programs for developers. Different PaaS services support different programming languages, such as Net, Java, Ruby, etc., while some support multiple development languages. The PaaS service can integrate various existing business capabilities, and can be specifically classified into an application server, a business capability access, a business engine and a business open platform.
In the embodiment of the invention, the data packet of the data to be sent can be analyzed, and the corresponding target PaaS service is determined through the PaaS service information contained in the data packet. For example, the target PaaS service is determined according to the identification information of the PaaS service.
S102, determining a PaaS interface corresponding to the target PaaS service according to a preset corresponding relation between the PaaS service and the PaaS interface.
In the embodiment of the invention, the corresponding relation between each PaaS service and each PaaS interface is obtained according to the historical data of interaction between the IaaS platform and each PaaS service, and the corresponding relation between each PaaS service and each PaaS interface is stored in the information table. In this step, after the IaaS platform determines the target PaaS service, a PaaS interface corresponding to the target PaaS service is searched in the information table.
Optionally, the correspondence between the PaaS service and the PaaS interface in S102 includes: the corresponding relation between the identification information of the PaaS service and the Pass interface;
in the above S102, determining, according to a preset correspondence between PaaS services and PaaS interfaces, a PaaS interface corresponding to the target PaaS service includes:
and acquiring identification information of the target PaaS service, and determining a PaaS interface corresponding to the target PaaS service according to a preset corresponding relation between the identification information of the PaaS service and the PaaS interface.
Optionally, the identification information of the PaaS service is a number or a name of the PaaS service.
The identification information corresponding to each PaaS service may be a name of the PaaS service, a number of the PaaS service, or a routing address allocated to the PaaS service.
For example, when the PaaS identification information of the PaaS service is the name of the PaaS service, an information table of the correspondence relationship between the name of each PaaS service and the PaaS service interface may be established in advance, and the PaaS interface corresponding to the name of the target PaaS service may be searched in the information table.
When the PaaS identification information of the PaaS service is the number of the PaaS service, an information table of the corresponding relation between the number of each PaaS service and the PaaS service interface can be established in advance, and then the PaaS interface corresponding to the number of the target PaaS service is searched in the information table.
When the PaaS identification information of the PaaS service is a routing address allocated to the PaaS service, an information table of a corresponding relationship between the routing address of each PaaS service and a PaaS service interface can be established in advance, and then a PaaS interface corresponding to the routing address of the target PaaS service is searched in the information table.
And S103, sending the data to be sent to the target PaaS service through a PaaS interface corresponding to the target PaaS service.
The embodiment of the invention provides a data transmission method, which is used for reducing the data congestion condition in the data transmission process. In the embodiment of the invention, the target PaaS service corresponding to each data to be sent is determined, the PaaS interface corresponding to the target PaaS service is determined according to the preset corresponding relationship between the PaaS service and the PaaS interface of the PaaS service, and finally the data to be sent is sent to the target PaaS service through the PaaS interface corresponding to the target PaaS service, so that the IaaS platform directionally sends the data to the corresponding PaaS service. Compared with the prior art that the IaaS platform broadcasts the data to all PaaS services in a broadcasting mode, the embodiment of the invention enables the data transmission to be more targeted through a directional sending mode, and effectively reduces the data congestion caused by sending all the data to each PaaS service.
Optionally, in an embodiment of the data transmission method of the present invention, before determining a target PaaS service corresponding to data to be sent, the method further includes:
step one, determining whether the data volume of the data to be sent reaches a data volume threshold value.
In the embodiment of the invention, historical data which is sent to each PaaS service can be broadcasted through the IaaS platform, and the data volume of data to be sent corresponding to the optimal transmission efficiency during broadcast sending is determined. The data amount is determined as a data amount threshold value of the embodiment of the present invention.
And detecting whether the data volume of the current data to be sent reaches the data volume threshold value in real time through a detection program.
And step two, when the data volume of the data to be sent reaches the data volume threshold, determining a target PaaS service corresponding to the data to be sent, and if the target PaaS service reaches the data volume threshold, executing the step of determining the PaaS of the target PaaS service for processing the data to be sent.
And when the detection result is that the data volume threshold is reached, determining PaaS identification information for processing a target PaaS service corresponding to the data to be sent.
The data volume threshold set by the embodiment of the invention can be used for judging the data volume of the data to be sent, when the data volume exceeds the data volume threshold, the data to be sent is sent to the corresponding target PaaS service in a directional sending mode, so that the data volume of the data to be sent is effectively judged, when the data volume is higher than the data volume threshold, the data transmission efficiency is improved by adopting the directional sending mode, and the condition of data congestion caused by excessive data transmission volume in the data transmission process of the IaaS platform and each PaaS service is effectively avoided.
Optionally, in an embodiment of the data transmission method of the present invention, the method further includes:
and when the data volume of the data to be sent does not reach the data volume threshold value, broadcasting and sending the data to be sent to a plurality of PaaS services.
When the data volume of the current data to be sent does not reach the data volume threshold value through the detection program, the data to be sent can be sent to all PaaS services in a broadcast mode.
According to the embodiment of the invention, the data volume of the data to be sent can be effectively judged, and then when the data volume of the data to be sent is less, the data is still sent to each PaaS service in a broadcasting mode, so that the data sending efficiency is effectively improved.
Optionally, in an embodiment of the data transmission method of the present invention, there may be a flow chart of a method for determining a target PaaS service of data to be sent in the data transmission method of the embodiment of the present invention shown in fig. 2, where the method includes:
s201, determining the service type of the data to be sent.
In the embodiment of the invention, different PaaS services have different service types, each service type can correspond to one PaaS service, and the service type is used as the unique identification information of the PaaS service. An information table with the service type as the identification information service type and the PaaS service can be established on the IaaS platform.
For example, the video service corresponds to a PaaS service for processing the video service; the PaaS service of the picture service is correspondingly processed by the picture service; and the text service corresponds to PaaS service for processing the text service.
S202, determining PaaS service for processing the data belonging to the business type as target PaaS service.
And when the service type of the data to be sent is determined, the service type is the unique identification information of the data to be sent. And searching for the PaaS service corresponding to the service type through a pre-established information table, and determining the PaaS service corresponding to the service type as a target PaaS service.
For example, if the service type to which the data to be sent belongs is a video service, the PaaS service for processing the video service is used as a target PaaS service.
By the embodiment of the invention, the target PaaS service of the data to be sent can be determined, and the data to be sent can be sent to the target PaaS service.
In order to achieve the above object, an embodiment of the present invention further discloses a data transmission apparatus, as shown in fig. 3. Fig. 3 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention, which is applied to an IaaS platform, where the IaaS platform corresponds to multiple PaaS services, and includes:
a target service determination module 301, configured to determine a target PaaS service corresponding to data to be sent;
a target interface determining module 302, configured to determine, according to a preset correspondence between a PaaS service and a PaaS interface, a PaaS interface corresponding to the target PaaS service;
a sending module 303, configured to send the data to be sent to the target PaaS service through a PaaS interface corresponding to the target PaaS service.
The embodiment of the invention provides a data transmission device of an information transmission device, which aims to reduce the data congestion condition in the data transmission process. In the embodiment of the invention, the target PaaS service corresponding to each data to be sent is determined, the PaaS interface corresponding to the target PaaS service is further determined according to the preset corresponding relation between the PaaS service and the PaaS interface, and finally the data to be sent is sent to the target PaaS service through the PaaS interface corresponding to the target PaaS service, so that the IaaS platform directionally sends the data to the corresponding PaaS service. Compared with the prior art that the IaaS platform broadcasts the data to all PaaS services in a broadcasting mode, the embodiment of the invention enables the data transmission to be more targeted through a directional sending mode, and effectively reduces the data congestion caused by sending all the data to each PaaS service.
Optionally, in an embodiment of the data transmission apparatus of the present invention, the apparatus further includes:
the data volume judging module is used for determining whether the data volume of the data to be sent reaches a data volume threshold value;
the target service determining module is configured to determine a target PaaS service corresponding to the data to be sent when the data amount of the data to be sent reaches the data amount threshold.
Optionally, in an embodiment of the data transmission apparatus of the present invention, the apparatus further includes:
and the data broadcasting module is used for broadcasting and sending the data to be sent to the plurality of PaaS services when the data quantity of the data to be sent does not reach the data quantity threshold value.
Optionally, in an embodiment of the data transmission apparatus of the present invention, the target service determining module 301 includes:
the service type determining submodule is used for determining the service type of the data to be sent;
and the target service determining submodule is used for determining the PaaS service for processing the data belonging to the service type as the target PaaS service.
Optionally, the correspondence between the PaaS service and the PaaS interface includes: the corresponding relation between the identification information of the PaaS service and the Pass interface;
the target interface determining module is specifically configured to acquire identification information of the target PaaS service, and determine a PaaS interface corresponding to the target PaaS service according to a preset correspondence between the identification information of the PaaS service and the PaaS interface.
In order to achieve the above object, an embodiment of the present invention further discloses an electronic device, as shown in fig. 4. Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, including a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete communication with each other through the communication bus 404;
the memory 403 is used for storing computer programs;
the processor 401 is configured to implement the following method steps when executing the program stored in the memory 403:
determining a target PaaS service corresponding to data to be sent;
determining a PaaS interface corresponding to the target PaaS service according to a preset corresponding relation between the PaaS service and the PaaS interface;
and sending the data to be sent to the target PaaS service through a PaaS interface corresponding to the target PaaS service.
The communication bus 404 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 404 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 402 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory 403 may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory 403 may also be at least one storage device located remotely from the processor 401.
The Processor 401 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
The embodiment of the invention provides electronic equipment, which aims to reduce the data congestion in the data transmission process. In the embodiment of the invention, the target PaaS service corresponding to each data to be sent is determined, the PaaS interface corresponding to the target PaaS service is determined according to the preset corresponding relationship between the PaaS service and the PaaS interface, and finally the data to be sent is sent to the target PaaS service through the PaaS interface corresponding to the target PaaS service, so that the IaaS platform directionally sends the data to the corresponding PaaS service. Compared with the prior art that the IaaS platform broadcasts the data to all PaaS services in a broadcasting mode, the embodiment of the invention enables the data transmission to be more targeted through a directional sending mode, and effectively reduces the data congestion caused by sending all the data to each PaaS service.
In order to achieve the above object, an embodiment of the present invention further discloses a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following method steps:
determining a target PaaS service corresponding to data to be sent;
determining a PaaS interface corresponding to the target PaaS service according to a preset corresponding relation between the PaaS service and the PaaS interface;
and sending the data to be sent to the target PaaS service through a PaaS interface corresponding to the target PaaS service.
The embodiment of the invention provides a computer-readable storage medium, which is used for reducing the data congestion condition in the data transmission process. In the embodiment of the invention, the target PaaS service corresponding to each data to be sent is determined, the target PaaS interface corresponding to the target PaaS service is determined according to the preset corresponding relation between each PaaS service and the PaaS interface of the PaaS service, and finally the data to be sent is sent to the target PaaS service through the PaaS interface corresponding to the target PaaS service, so that the IaaS platform directionally sends the data to the corresponding PaaS service. Compared with the prior art that the IaaS platform broadcasts the data to all PaaS services in a broadcasting mode, the embodiment of the invention enables the data transmission to be more targeted through a directional sending mode, and effectively reduces the data congestion caused by sending all the data to each PaaS service.
It is noted that, herein, relational terms such as first and second, and the like may be 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.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the device, the electronic apparatus and the storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and the relevant points can be referred to the partial description of the method embodiments.
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 (13)

1. A data transmission method is characterized in that the method is applied to an IaaS platform, the IaaS platform corresponds to a plurality of PaaS services, and the PaaS services are used for providing development and running environments of application programs and comprise the following steps:
determining a target PaaS service corresponding to data to be sent;
determining a PaaS interface corresponding to the target PaaS service according to a preset corresponding relation between the PaaS service and the PaaS interface; the corresponding relation is obtained according to historical data of interaction between the IaaS platform and each PaaS service, and the corresponding relation between each PaaS service and the PaaS interface is obtained;
and sending the data to be sent to the target PaaS service through a PaaS interface corresponding to the target PaaS service.
2. The data transmission method according to claim 1, wherein before the determining a target PaaS service corresponding to data to be transmitted, the method further comprises:
determining whether the data volume of the data to be sent reaches a data volume threshold value;
the determining of the target PaaS service corresponding to the data to be sent includes:
and when the data volume of the data to be sent reaches the data volume threshold value, determining a target PaaS service corresponding to the data to be sent.
3. The data transmission method of claim 2, further comprising:
and when the data volume of the data to be sent does not reach the data volume threshold value, broadcasting and sending the data to be sent to the plurality of PaaS services.
4. The data transmission method according to claim 1, wherein the determining the target PaaS service corresponding to the data to be transmitted includes:
determining the service type of data to be sent;
and determining the PaaS service for processing the data belonging to the service type as a target PaaS service.
5. The data transmission method according to claim 1, wherein the correspondence between the PaaS service and the PaaS interface includes: the corresponding relation between the identification information of the PaaS service and the Pass interface;
the determining, according to a preset correspondence between the PaaS service and the PaaS interface, the PaaS interface corresponding to the target PaaS service includes:
and acquiring identification information of the target PaaS service, and determining a PaaS interface corresponding to the target PaaS service according to a preset corresponding relation between the identification information of the PaaS service and the PaaS interface.
6. The data transmission method according to claim 5, wherein the identification information of the PaaS service is a number or a name of the PaaS service.
7. A data transmission device is applied to an IaaS platform, the IaaS platform corresponds to a plurality of PaaS services, and the PaaS services are used for providing development and running environments of application programs and comprise:
the target service determining module is used for determining a target PaaS service corresponding to data to be sent;
the target interface determining module is used for determining a PaaS interface corresponding to the target PaaS service according to a preset corresponding relation between the PaaS service and the PaaS interface; the corresponding relation is obtained according to historical data of interaction between the IaaS platform and each PaaS service, and the corresponding relation between each PaaS service and the PaaS interface is obtained;
and the data sending module is used for sending the data to be sent to the target PaaS service through a PaaS interface corresponding to the target PaaS service.
8. The data transmission apparatus of claim 7, wherein the apparatus further comprises:
the data volume judging module is used for determining whether the data volume of the data to be sent reaches a data volume threshold value;
the target service determining module is configured to determine a target PaaS service corresponding to the data to be sent when the data amount of the data to be sent reaches the data amount threshold.
9. The data transmission apparatus of claim 8, wherein the apparatus further comprises:
and the data broadcasting module is used for broadcasting and sending the data to be sent to the plurality of PaaS services when the data quantity of the data to be sent does not reach the data quantity threshold value.
10. The data transmission apparatus of claim 7, wherein the target service determination module comprises:
the service type determining submodule is used for determining the service type of the data to be sent;
and the target service determining submodule is used for determining the PaaS service for processing the data belonging to the service type as the target PaaS service.
11. The data transmission apparatus according to claim 7, wherein the correspondence between the PaaS service and the PaaS interface includes: the corresponding relation between the identification information of the PaaS service and the Pass interface;
the target interface determining module is specifically configured to acquire identification information of the target PaaS service, and determine a PaaS interface corresponding to the target PaaS service according to a preset correspondence between the identification information of the PaaS service and the PaaS interface.
12. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implementing the method steps of any of claims 1-6.
13. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 6.
CN201811159221.8A 2018-09-30 2018-09-30 Data transmission method and device, electronic equipment and storage medium Active CN109309717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811159221.8A CN109309717B (en) 2018-09-30 2018-09-30 Data transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811159221.8A CN109309717B (en) 2018-09-30 2018-09-30 Data transmission method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109309717A CN109309717A (en) 2019-02-05
CN109309717B true CN109309717B (en) 2021-09-17

Family

ID=65225152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811159221.8A Active CN109309717B (en) 2018-09-30 2018-09-30 Data transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109309717B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327600B (en) * 2020-01-21 2022-03-18 成都信息工程大学 Manufacturing service resource integration system and method based on SaaS cloud platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104813614A (en) * 2012-12-03 2015-07-29 惠普发展公司,有限责任合伙企业 Asynchronous Framework For Management Of IAAS
CN105190557A (en) * 2012-10-16 2015-12-23 思杰系统有限公司 Systems and methods for bridging between public and private clouds through multi-level api integration
CN105335235A (en) * 2015-11-24 2016-02-17 浪潮电子信息产业股份有限公司 IaaS mode based resource management system and method
CN108173950A (en) * 2017-12-29 2018-06-15 浙江华睿科技有限公司 Data transmission method, device, system, image capture device and storage medium
CN108306917A (en) * 2017-01-13 2018-07-20 中国移动通信集团江西有限公司 The register method and device of data processing method and device, micro services module

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10484243B2 (en) * 2016-09-16 2019-11-19 Oracle International Corporation Application management for a multi-tenant identity cloud service
CN107888399A (en) * 2016-09-29 2018-04-06 西门子公司 A kind of platform services PaaS platform management method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105190557A (en) * 2012-10-16 2015-12-23 思杰系统有限公司 Systems and methods for bridging between public and private clouds through multi-level api integration
CN104813614A (en) * 2012-12-03 2015-07-29 惠普发展公司,有限责任合伙企业 Asynchronous Framework For Management Of IAAS
CN105335235A (en) * 2015-11-24 2016-02-17 浪潮电子信息产业股份有限公司 IaaS mode based resource management system and method
CN108306917A (en) * 2017-01-13 2018-07-20 中国移动通信集团江西有限公司 The register method and device of data processing method and device, micro services module
CN108173950A (en) * 2017-12-29 2018-06-15 浙江华睿科技有限公司 Data transmission method, device, system, image capture device and storage medium

Also Published As

Publication number Publication date
CN109309717A (en) 2019-02-05

Similar Documents

Publication Publication Date Title
CN108881448B (en) API request processing method and device
CN104219230B (en) Identify method and the device of malicious websites
CN111104664B (en) Risk identification method of electronic equipment and server
CN106648557B (en) Sharing method and device of Application Programming Interface (API)
CN110022259B (en) Message arrival rate determining method and device, data statistics server and storage medium
EP2985730A1 (en) Method and device for partially-upgrading
CN110806971A (en) Version testing method and device and electronic equipment
CN111147310A (en) Log tracking processing method, device, server and medium
CN109446445B (en) Resource acquisition method and device
CN109309717B (en) Data transmission method and device, electronic equipment and storage medium
CN110213671B (en) Hotspot short video determination method and device
CN111107118B (en) Picture access acceleration method, device, equipment, system and storage medium
CN115002046A (en) Message processing method, NUMA node, electronic device and storage medium
CN110677684A (en) Video processing method, video access method, distributed storage method and distributed video access system
CN112653736B (en) Parallel source returning method and device and electronic equipment
CN114302429A (en) NWDAF network element determination method, device, equipment and storage medium
CN110677683B (en) Video storage and video access method and distributed storage and video access system
CN110309028B (en) Monitoring information acquisition method, service monitoring method, device and system
CN112866062A (en) Distributed pressure test system, method, device, equipment and storage medium
CN110753006A (en) Data processing method and device and electronic equipment
CN112131263B (en) Software package acquisition method, system, device, electronic equipment and storage medium
CN115086331A (en) Cloud equipment scheduling method, device and system, electronic equipment and storage medium
CN112714092B (en) Registration login method, device and computer readable storage medium
CN109241050B (en) Data query method, device and system and electronic equipment
CN110191460B (en) New network access user monitoring method and platform

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