Data transmission method, system, device and medium
Through the collaborative work of the upstream system and the upload system, the configuration information of the data transmission system is automatically obtained, which solves the problem of low efficiency of manual setting and realizes efficient data transmission configuration and fast switching.
Patent Information
- Application Number
- CN202310630250.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-31
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2043-05-31
AI Technical Summary
In the existing technology, configuration information needs to be set manually, resulting in low efficiency. In particular, manual configuration takes a long time in scenarios with a large number of upstream systems or disaster recovery switching, affecting reliability.
The upstream system sends a transmission request to the upload system, the upload system obtains and sends a configuration information request message, the data transmission system feeds back the configuration information, and the upload system uses the configuration information to send transmission data, thereby automatically obtaining the configuration information.
There is no need to manually set configuration information, which improves the efficiency of configuration information setting and simplifies data transmission operations. Especially in disaster recovery scenarios, configuration can be completed quickly to ensure the reliability of data transmission.
Smart Images

Figure CN116647590B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data, and specifically to a data transmission method, system, device and medium. Background Art
[0002] Data transmission systems are used to forward data sent from upstream systems to downstream systems. Data transmission systems enable centralized, high-volume data transmission. Before an upstream system can transmit data to a data transmission system, it must pre-configure the transmission configuration information in the upstream system. This configuration information includes the data transmission system's address, transmission method, and other information necessary to transmit data to the data transmission system.
[0003] Currently, configuration information is manually configured in upstream systems by staff, resulting in low efficiency in setting configuration information. Summary of the Invention
[0004] In view of this, the present application provides a data transmission method, system, device and medium for solving the problem of low efficiency caused by manual setting of configuration information in the prior art.
[0005] To solve the above problems, the technical solutions provided by this application are as follows:
[0006] In a first aspect, the present application provides a data transmission method, which is applied to an upstream system and includes:
[0007] A transmission request is sent to the upload system, where the transmission request includes a transmission identifier and transmission data information, where the transmission identifier is used to identify the upstream system, and the transmission data information is used to indicate the transmission data. The upload system is used to obtain configuration information from the data transmission system based on the transmission identifier, and to send transmission data determined according to the transmission data information to the data transmission system based on the configuration information.
[0008] In a second aspect, the present application provides a data transmission method, which is applied to an upload system and includes:
[0009] Obtaining a transmission request sent by an upstream system, the transmission request including a transmission identifier and transmission data information, the transmission identifier being used to identify the upstream system, the transmission data information being used to indicate transmission data, and the upload system being used to send the transmission data to the data transmission system;
[0010] Sending a configuration information request message including the transmission identifier to the data transmission system;
[0011] Acquire a feedback message sent by the data transmission system, where the feedback message includes configuration information;
[0012] The transmission data is sent to the data transmission system using the configuration information, where the transmission data is determined based on the transmission data information.
[0013] In a possible implementation, the method further includes:
[0014] The configuration information is stored in a cache, so as to obtain the configuration information from the cache.
[0015] In a possible implementation, the method further includes:
[0016] In response to reaching a time threshold, the configuration information is deleted from the cache.
[0017] In a possible implementation manner, the sending the transmission data to the data transmission system by using the configuration information includes:
[0018] Establishing a connection relationship with a data access unit included in the data transmission system based on the configuration information;
[0019] The transmission data is sent to the data access unit.
[0020] In a possible implementation, before using the configuration information to send the transmission data to the data transmission system, the method further includes:
[0021] The transmission data is transcoded and compressed.
[0022] In a third aspect, the present application provides a data transmission method, which is applied to a data transmission system, and includes:
[0023] Obtaining a configuration information request message sent by the upload system, wherein the configuration information request message includes a transmission identifier;
[0024] Obtaining configuration information corresponding to the transmission identifier;
[0025] Sending a feedback message including the configuration information to the upload system;
[0026] Acquire the transmission data sent by the upload system.
[0027] In a fourth aspect, the present application provides a system comprising an upstream system, an upload system, and a data transmission system;
[0028] The upstream system is configured to send a transmission request to the upload system, wherein the transmission request includes a transmission identifier and transmission data information, wherein the transmission identifier is used to identify the upstream system, and the transmission data information is used to indicate the transmission data;
[0029] The upload system is configured to obtain the transmission request sent by the upstream system and send a configuration information request message including the transmission identifier to the data transmission system;
[0030] The data transmission system is configured to obtain a configuration information request message sent by the upload system, the configuration information request message including a transmission identifier, obtain configuration information corresponding to the transmission identifier, and send a feedback message including the configuration information to the upload system;
[0031] The upload system is further configured to obtain a feedback message including the configuration information sent by the data transmission system, and send the transmission data to the data transmission system using the configuration information, where the transmission data is determined based on the transmission data information;
[0032] The data transmission system is further used to obtain the transmission data sent by the upload system.
[0033] In a possible implementation, the data transmission system is further configured to store the configuration information in a cache so as to obtain the configuration information from the cache.
[0034] In a possible implementation, the data transmission system is further configured to delete the configuration information from the cache in response to reaching a time threshold.
[0035] In a possible implementation, the data transmission system, being configured to send the transmission data to the data transmission system using the configuration information, includes:
[0036] The data transmission system is specifically configured to establish a connection relationship with a data access unit included in the data transmission system based on the configuration information; and send the transmission data to the data access unit.
[0037] In a possible implementation, the data transmission system is further configured to perform transcoding and compression processing on the transmission data.
[0038] In a fifth aspect, the present application provides a data transmission device, comprising: a processor, a memory, and a system bus;
[0039] The processor and the memory are connected via the system bus;
[0040] The memory is used to store one or more programs, and the one or more programs include instructions. When the instructions are executed by the processor, the processor executes the method described in the first aspect, the method described in the second aspect, or the method described in the third aspect.
[0041] In a sixth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal device, the terminal device executes the method described in the first aspect, the method described in the second aspect, or the method described in the third aspect.
[0042] It can be seen that this application has the following beneficial effects:
[0043] The present application provides a data transmission method, system, device, and medium. In this method, an upload system obtains a transmission request including a transmission identifier and transmission data information sent by an upstream system, and sends a configuration information request message including the transmission identifier to the data transmission system; obtains a feedback message including configuration information sent by the data transmission system, and uses the configuration information to send the transmission data to the data transmission system so that the data transmission system can obtain the transmission data. In this way, the upload system of the present application can automatically obtain configuration information, eliminating the need for staff to manually set the configuration information, thereby improving the efficiency of setting configuration information. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A flowchart of a data transmission method provided in an embodiment of the present application;
[0045] Figure 2 A schematic diagram of the structure of a system including an upstream system, an upload system, a data transmission system, and a downstream system provided in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of the structure of a data transmission device provided in an embodiment of the present application;
[0047] Figure 4 A schematic structural diagram of another data transmission device provided in an embodiment of the present application;
[0048] Figure 5 A schematic structural diagram of another data transmission device provided in an embodiment of the present application;
[0049] Figure 6 A schematic diagram of the structure of a system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] In order to facilitate understanding and explanation of the technical solutions provided by the embodiments of the present application, the background technology of the present application will be described below.
[0051] In some scenarios, a data transmission platform is used to transfer data between upstream and downstream systems. Upstream systems need to send data to the data transmission platform based on configuration information. Currently, this configuration information is distributed by the data transmission platform and manually set in the upstream system's configuration file by staff. When there are a large number of upstream systems, manual configuration is a heavy workload and inefficient. This is especially true in scenarios involving disaster recovery switchovers, where manual configuration takes a long time and compromises reliability.
[0052] Based on this, an embodiment of the present application provides a data transmission method, system, device, and medium. In this method, an upstream system sends a transmission request including a transmission identifier and transmission data information to an upload system. The upload system sends a configuration information request message including a transmission identifier to the data transmission system, obtains a feedback message including configuration information sent by the data transmission system, and uses the configuration information to send transmission data to the data transmission system. The data transmission system can obtain the transmission data for processing and forwarding. In this way, the upload system can automatically obtain configuration information without the need for staff to manually set the configuration information, thereby improving the efficiency of setting configuration information.
[0053] In order to facilitate understanding of the technical solution provided by the embodiment of the present application, the data transmission method provided by the embodiment of the present application is described below with reference to the accompanying drawings.
[0054] The data transmission method, system, device, and medium provided in this application can be used in the field of big data or finance. The above is only an example and does not limit the application field of the data transmission method, system, device, and medium provided in this application.
[0055] See also Figure 1 As shown in the figure, this figure is a flow chart of a data transmission method provided in an embodiment of the present application.
[0056] S101: The upstream system sends a transmission request to the upload system. The transmission request includes a transmission identifier and transmission data information.
[0057] The upload system is used to transfer the transmission data of the upstream system to the data transmission system. The upload system encapsulates the data transmission function. The upload system can be integrated with the upstream system in the same device, or configured in different devices. Figure 2 , which is a schematic diagram of the structure of a system including an upstream system, an upload system, a data transmission system, and a downstream system, provided in an embodiment of the present application. The system includes an upstream system 201, an upstream data transmission system 202, a downstream system 203, and an upload system 204. Upstream system 201 is connected to upload system 204. Upload system 204 is connected to data transmission system 202. Data transmission system 202 is connected to each downstream system 203.
[0058] The upload system is specifically, for example, an SDK (Software Development Kit), wherein the SDK is a data transmission service provided by the data transmission system.
[0059] The embodiments of the present application do not limit the triggering method for the upstream system to send a transmission request to the upload system. In one possible implementation, the upstream system automatically generates a transmission request after generating transmission data that needs to be transmitted through the data transmission system. In another possible implementation, the upstream system is triggered by a user to generate a transmission request.
[0060] The transmission request includes a transmission identifier and transmission data information. The transmission identifier is used to identify the upstream system. The embodiments of the present application do not limit the specific type of the transmission identifier. As an example, the transmission identifier is the name of the upstream system. As another example, the transmission identifier is the serial number of the upstream system. The transmission data information is used to indicate the transmission data. The upload system can determine the transmission data that needs to be sent to the data transmission system based on the transmission data information. The embodiments of the present application do not limit the specific type of the transmission data information. As an example, the transmission data information is the file address for storing the transmission data. As another example, the transmission data information is the primary key for querying the transmission data.
[0061] In this way, the upstream system only needs to send a transmission request containing a transmission identifier and the data to be transmitted to the uploading system to achieve data transmission. This eliminates the need for manual pre-configuration of configuration information, reduces the difficulty and workload of configuration management, and improves the efficiency of setting configuration information. Even in disaster recovery scenarios, rapid switching can be achieved. Furthermore, the uploading system shields the upstream system from the details of data transmission. The upstream system does not need to pre-set configuration information or monitor the data transmission process. This reduces the operational steps for data transmission in the upstream system, simplifies the upstream system's data transmission operations, and improves data transmission efficiency.
[0062] S102: The uploading system obtains a transmission request sent by the upstream system.
[0063] The uploading system obtains the transmission identifier and transmission data information included in the transmission request.
[0064] S103: The upload system sends a configuration information request message including the transmission identifier to the data transmission system.
[0065] The upload system generates a configuration information request message. The configuration information request message includes a transmission identifier. The upload system sends the configuration information request message to the data transmission system.
[0066] The embodiment of the present application does not limit the message type of the configuration information request message. As an example, the configuration information request message is an https (Hypertext Transfer Protocol Secure) message.
[0067] S104: The data transmission system obtains a configuration information request message sent by the upload system, where the configuration information request message includes a transmission identifier.
[0068] The data transmission system is connected to the upload system and the downstream system respectively. The data transmission system is used to forward the transmission data obtained from the upstream system to the downstream system.
[0069] The embodiment of the present application does not limit the specific type of the data transmission system. The data transmission system is, for example, a file transfer platform.
[0070] The data transmission system obtains a configuration information request message including a transmission identifier.
[0071] S105: The data transmission system obtains configuration information corresponding to the transmission identifier.
[0072] The data transmission system allocates configuration information to each upstream system in advance, and the configuration information of each upstream system corresponds to the transmission identifier of the upstream system.
[0073] In one possible implementation, the data transmission system includes a File Transfer Protocol (FTP) configuration module. The FTP configuration unit is used to centrally allocate and configure information for each upstream system. As an example, when an upstream system first accesses the data transmission system or makes a change, it registers with the data transmission system, that is, sends a transmission identifier to the data transmission system. The FTP configuration unit of the data transmission system allocates configuration information to the upstream system and establishes a correspondence between the transmission identifier and the configuration information. The data transmission system stores the correspondence between the transmission identifier and the configuration information in a database for subsequent querying. The FTP configuration unit of the data transmission system also provides a query interface for the configuration information of each upstream system. The upload system can call the query interface and send a configuration information request message to the FTP configuration unit of the data transmission system. The FTP configuration unit of the data transmission system obtains the configuration information based on the transmission identifier query.
[0074] After acquiring the configuration information request message, the data transmission system queries the configuration information corresponding to the transmission identifier based on the transmission identifier included in the configuration information request message.
[0075] The configuration information is used to implement the transmission of the transmission data. The embodiment of the present application does not limit the specific content of the configuration information. As an example, the configuration information includes an FTP user, password, and upload directory.
[0076] S106: The data transmission system sends a feedback message including configuration information to the uploading system.
[0077] The data transmission system assembles the acquired configuration information into a feedback message. As an example, the feedback message is an https message.
[0078] The data transmission system sends a feedback message to the upload system.
[0079] S107: The uploading system obtains a feedback message including configuration information sent by the data transmission system.
[0080] The upload system obtains a feedback message including configuration information.
[0081] In one possible implementation, the upload system stores the acquired configuration information in a cache. The upload system can then retrieve the configuration information from the cache and send the transmission data to the data transmission system. This reduces the number of interactions between the upload system and the data transmission system, improving data transmission efficiency.
[0082] The upload system can also manage stored configuration information. For example, the upload system can periodically delete stored configuration information. For example, upon reaching a time threshold, the upload system deletes the configuration information from the cache. The time threshold can be a preset moment or a periodic end-of-cycle threshold. This allows for timely configuration updates while reducing the number of interactions.
[0083] S108: The upload system sends the transmission data to the data transmission system using the configuration information.
[0084] The upload system can send transmission data to the data transmission system based on the configuration information. As an example, the upload system encapsulates a data transmission method. The upload system calls the data transmission method to implement data transmission.
[0085] In some possible implementations, after the upload system obtains the transmission data based on the transmission data information, it first transcodes and compresses the transmission data. This can reduce the amount of data transmitted between the upload system and the data transmission system, and can also reduce the number of processing steps for the transmission data in the upstream system.
[0086] In one possible implementation, an embodiment of the present application provides a specific implementation of sending the transmission data to the data transmission system using the configuration information, including:
[0087] Establishing a connection relationship with a data access unit included in the data transmission system based on the configuration information;
[0088] The transmission data is sent to the data access unit.
[0089] The data access unit of the data transmission system is used to connect with the upload system and receive the transmission data sent by the upload system.
[0090] Based on the acquired configuration information, the upload system establishes a connection with the data access unit. For example, the configuration information includes an FTP user name and password. The upload system sends the FTP user name and password to the data access unit. The data access unit verifies the FTP user name and password. If verification is successful, the data access unit establishes a connection with the upload system.
[0091] After establishing a connection with the data access unit, the upload system sends the transmission data to the data access unit. In one possible implementation, the configuration information includes an upload directory. The upload directory is a directory where the data access unit stores the transmission data. The upload system sends the transmission data to the upload directory.
[0092] S109: The data transmission system obtains the transmission data sent by the uploading system.
[0093] The data transmission system acquires the transmission data. The data transmission system is capable of monitoring the data transmission process. After monitoring and acquiring the transmission data, the data transmission system performs subsequent processing on the transmission data. For example, it performs data processing operations such as decompression and decoding on the transmission data, and finally sends the transmission data to the downstream system. Downstream systems that need to acquire the transmission data can pre-configure registration information in the data transmission system. Based on this registration information, the data transmission system determines the downstream system to which the transmission data will be sent.
[0094] The transmission subsystem enables centralized configuration management of configuration information, facilitating centralized management and maintenance of configuration information, improving the efficiency of setting configuration information, and simplifying data transmission operations. In disaster recovery scenarios, configuration can be completed quickly, ensuring data transmission reliability.
[0095] Based on the data transmission method applied to an upstream system provided in the above method embodiment, the embodiment of the present application also provides a data transmission device applied to an upstream system, and the data transmission device will be described below with reference to the accompanying drawings.
[0096] See also Figure 3 As shown in FIG, this figure is a structural diagram of a data transmission device provided in an embodiment of the present application. Figure 3 As shown, the data transmission device includes:
[0097] The sending unit 301 is used to send a transmission request to the upload system, and the transmission request includes a transmission identifier and transmission data information. The transmission identifier is used to identify the upstream system, and the transmission data information is used to indicate the transmission data. The upload system is used to send the transmission data to the data transmission system.
[0098] Based on the data transmission method applied to the upload system provided in the above method embodiment, the embodiment of the present application also provides a data transmission device applied to the upload system, and the data transmission device will be described below with reference to the accompanying drawings.
[0099] See also Figure 4 As shown in FIG, this figure is a structural diagram of another data transmission device provided in an embodiment of the present application. Figure 4 As shown, the data transmission device includes:
[0100] An acquisition unit 401 is configured to acquire a transmission request sent by an upstream system, wherein the transmission request includes a transmission identifier and transmission data information, wherein the transmission identifier is used to identify the upstream system, and the transmission data information is used to indicate transmission data, and the upload system is used to send the transmission data to the data transmission system;
[0101] The sending unit 402 is configured to send a configuration information request message including the transmission identifier to the data transmission system;
[0102] The acquiring unit 401 is further configured to acquire a feedback message sent by the data transmission system, where the feedback message includes configuration information;
[0103] The sending unit 402 is further configured to send the transmission data to the data transmission system using the configuration information, where the transmission data is determined based on the transmission data information.
[0104] In a possible implementation, the apparatus further includes:
[0105] The storage unit is configured to store the configuration information in a cache so as to obtain the configuration information from the cache.
[0106] In a possible implementation, the apparatus further includes:
[0107] A deleting unit is configured to delete the configuration information from the cache in response to reaching a time threshold.
[0108] In a possible implementation, the sending unit 402 is configured to send the transmission data to the data transmission system by using the configuration information, including:
[0109] The sending unit 402 is specifically configured to establish a connection relationship with a data access unit included in the data transmission system based on the configuration information; and send the transmission data to the data access unit.
[0110] In a possible implementation, the apparatus further includes:
[0111] The processing unit is used to perform transcoding and compression processing on the transmission data.
[0112] Based on the data transmission method applied to a data transmission system provided in the above method embodiment, the embodiment of the present application also provides a data transmission device applied to a data transmission system, and the data transmission device will be described below with reference to the accompanying drawings.
[0113] See also Figure 5 As shown in FIG, this figure is a structural diagram of a data transmission device provided in an embodiment of the present application. Figure 5 As shown, the data transmission device includes:
[0114] An acquiring unit 501 is configured to acquire a configuration information request message sent by an uploading system, wherein the configuration information request message includes a transmission identifier;
[0115] The acquisition unit 501 is further configured to acquire configuration information corresponding to the transmission identifier;
[0116] The sending unit 502 is configured to send a feedback message including the configuration information to the uploading system;
[0117] The acquisition unit 501 is further configured to acquire the transmission data sent by the upload system.
[0118] Based on the data transmission method provided in the above method embodiment, the embodiment of the present application also provides a data transmission device applied to a data transmission system, and the data transmission device will be described below with reference to the accompanying drawings.
[0119] See also Figure 6 As shown in FIG, this figure is a structural diagram of a system provided in an embodiment of the present application. Figure 6 As shown, the system includes: an upstream system 601, a data transmission system 602 and an upload system 603;
[0120] The upstream system 601 is configured to send a transmission request to the upload system 603, wherein the transmission request includes a transmission identifier and transmission data information, wherein the transmission identifier is used to identify the upstream system 601, and the transmission data information is used to indicate the transmission data;
[0121] The upload system 603 is configured to obtain the transmission request sent by the upstream system 601 and send a configuration information request message including the transmission identifier to the data transmission system 602;
[0122] The data transmission system 602 is configured to obtain a configuration information request message sent by the upload system 603, the configuration information request message including a transmission identifier, obtain configuration information corresponding to the transmission identifier, and send a feedback message including the configuration information to the upload system 603;
[0123] The upload system 603 is further configured to obtain a feedback message including the configuration information sent by the data transmission system 602, and use the configuration information to send the transmission data to the data transmission system 602, where the transmission data is determined based on the transmission data information;
[0124] The data transmission system 602 is further configured to obtain the transmission data sent by the upload system 603 .
[0125] In a possible implementation, the data transmission system 602 is further configured to store the configuration information in a cache so as to obtain the configuration information from the cache.
[0126] In a possible implementation, the data transmission system 602 is further configured to delete the configuration information from the cache in response to reaching a time threshold.
[0127] In a possible implementation, the data transmission system 602 is configured to send the transmission data to the data transmission system 602 by using the configuration information, including:
[0128] The data transmission system 602 is specifically configured to establish a connection relationship with a data access unit included in the data transmission system 602 based on the configuration information; and send the transmission data to the data access unit.
[0129] In a possible implementation, the data transmission system 602 is further configured to perform transcoding and compression processing on the transmission data.
[0130] Based on a data transmission method provided by the above method embodiment, the present application provides a data transmission device, including: a processor, a memory, and a system bus;
[0131] The processor and the memory are connected via the system bus;
[0132] The memory is used to store one or more programs, and the one or more programs include instructions. When the instructions are executed by the processor, the processor executes the data transmission method described in any one of the above embodiments.
[0133] Based on a data transmission method provided by the above method embodiment, the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the data transmission method described in any of the above embodiments.
[0134] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the systems or devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.
[0135] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0136] It should also be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.
[0137] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0138] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data transmission method, characterized in that: The method is applied to an upstream system and includes: A transmission request is sent to the upload system, where the transmission request includes a transmission identifier and transmission data information, where the transmission identifier is used to identify the upstream system, and the transmission data information is used to indicate the transmission data. The upload system is used to obtain configuration information from the data transmission system based on the transmission identifier, and to send transmission data determined according to the transmission data information to the data transmission system based on the configuration information.
2. A data transmission method, characterized in that: The method is applied to an upload system, and the method includes: Acquire a transmission request sent by an upstream system, the transmission request including a transmission identifier and transmission data information, the transmission identifier is used to identify the upstream system, and the transmission data information is used to indicate transmission data; Sending a configuration information request message including the transmission identifier to the data transmission system; Acquire a feedback message sent by the data transmission system, where the feedback message includes configuration information; The transmission data is sent to the data transmission system using the configuration information, where the transmission data is determined based on the transmission data information.
3. The method according to claim 2, characterized in that The method further comprises: The configuration information is stored in a cache, so as to obtain the configuration information from the cache.
4. The method according to claim 3, characterized in that The method further comprises: In response to reaching a time threshold, the configuration information is deleted from the cache.
5. The method according to claim 2, characterized in that The sending the transmission data to the data transmission system by using the configuration information includes: Establishing a connection relationship with a data access unit included in the data transmission system based on the configuration information; The transmission data is sent to the data access unit.
6. The method according to claim 2, characterized in that Before sending the transmission data to the data transmission system using the configuration information, the method further includes: The transmission data is transcoded and compressed.
7. A data transmission method, characterized in that: The method is applied to a data transmission system, and includes: Obtaining a configuration information request message sent by the upload system, wherein the configuration information request message includes a transmission identifier; Obtaining configuration information corresponding to the transmission identifier; Sending a feedback message including the configuration information to the upload system; Acquire the transmission data sent by the upload system.
8. A system, characterized in that: The system includes an upstream system, an upload system, and a data transmission system; The upstream system is configured to send a transmission request to the upload system, wherein the transmission request includes a transmission identifier and transmission data information, wherein the transmission identifier is used to identify the upstream system, and the transmission data information is used to indicate the transmission data; The upload system is configured to obtain the transmission request sent by the upstream system and send a configuration information request message including the transmission identifier to the data transmission system; The data transmission system is configured to obtain a configuration information request message sent by the upload system, the configuration information request message including a transmission identifier, obtain configuration information corresponding to the transmission identifier, and send a feedback message including the configuration information to the upload system; The upload system is further configured to obtain a feedback message including the configuration information sent by the data transmission system, and send the transmission data to the data transmission system using the configuration information, where the transmission data is determined based on the transmission data information; The data transmission system is further used to obtain the transmission data sent by the upload system.
9. A data transmission device, characterized in that: include: Processor, memory, system bus; The processor and the memory are connected via the system bus; The memory is used to store one or more programs, and the one or more programs include instructions, which, when executed by the processor, enable the processor to execute the data transmission method described in claim 1, or the data transmission method described in any one of claims 2-6, or the data transmission method described in claim 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, which, when executed on a terminal device, cause the terminal device to execute the data transmission method of claim 1, or the data transmission method of any one of claims 2-6, or the data transmission method of claim 7.
Citation Information
Patent Citations
Data transmission method and device, computer equipment and storage medium
CN112055078A
Data transmission method and system, electronic equipment and storage medium
CN115604343A