Methods, apparatus, equipment, storage media and software products for data transmission
By automating the receiving and decryption of financial product data, the problem of low data transmission efficiency caused by different platform protocols is solved, achieving efficient and secure data transmission and personalized configuration.
Patent Information
- Application Number
- CN202411190396.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2044-08-28
AI Technical Summary
Because different financial platforms support different protocols, staff need to manually modify the code to receive and identify financial product data, resulting in low data transmission efficiency.
By receiving product access requests and encrypted data sent by the second device, the system automatically decrypts and converts data using the target decryption algorithm and protocol conversion strategy corresponding to the channel identifier. Users can configure encryption algorithms, decryption algorithms, and protocol conversion strategies on the target interface to generate execution scripts for data processing.
It achieves the goal of eliminating the need for manual code modification, improving data transmission efficiency and security, and meeting the personalized configuration needs of different business operations.
Smart Images

Figure CN119094350B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of big data technology, and in particular relates to a method, apparatus, device, storage medium and program product for data transmission. Background Technology
[0002] Currently, with the development of internet finance, various financial institutions have launched financial products. When these products are launched on platforms, the different protocols supported by each platform may prevent the platform from receiving and recognizing the financial product data. This requires platform staff to manually modify the code so that the platform can receive and recognize the financial product data. As a result, every time the platform receives financial product data sent by financial institutions, staff need to manually modify the code, leading to low data transmission efficiency. Summary of the Invention
[0003] This application provides a method, apparatus, device, storage medium, and program product for data transmission, which can avoid manual modification of code by staff and improve data transmission efficiency.
[0004] In a first aspect, embodiments of this application provide a data transmission method applied to a first device, the method comprising:
[0005] Receive a product access request sent by a second device, wherein the product access request includes a channel identifier;
[0006] The device receives encrypted product access data sent by the second device, wherein the encrypted product access data is obtained by the second device using the target encryption algorithm corresponding to the channel identifier sent by the first device;
[0007] Obtain the target decryption algorithm corresponding to the channel identifier, wherein the target decryption algorithm is configured by the user on the target interface corresponding to the channel identifier;
[0008] The product access data is decrypted using the target decryption algorithm to obtain the product access data.
[0009] The product access data is converted into communication protocols according to the target protocol conversion strategy corresponding to the channel identifier to obtain the target product access data. The target protocol conversion strategy is generated based on the protocol conversion process configured by the user on the target interface.
[0010] Product access is performed based on the target product access data.
[0011] In one possible implementation, before receiving the encrypted product access data sent by the second device, the method further includes:
[0012] The system receives input from the user on the target interface, including the target encryption algorithm and the target decryption algorithm.
[0013] In one possible implementation, receiving user input on the target interface includes:
[0014] Receive the encryption algorithm selected by the user from the preset encryption algorithm set in the target interface, and determine that the encryption algorithm selected by the user is the target encryption algorithm;
[0015] The system receives the decryption algorithm selected by the user from the preset decryption algorithm set in the target interface, and determines that the decryption algorithm selected by the user is the target decryption algorithm.
[0016] In one possible implementation, receiving user input on the target interface includes:
[0017] Receive the encryption algorithm configured by the user in the first preset configuration area of the target interface, and determine the encryption algorithm configured by the user in the first preset configuration area of the target interface as the target encryption algorithm;
[0018] Receive the decryption algorithm configured by the user in the first preset configuration area of the target interface, and determine the decryption algorithm configured by the user in the first preset configuration area of the target interface as the target decryption algorithm.
[0019] In one possible implementation, before performing communication protocol conversion on the product access data according to the target protocol conversion strategy corresponding to the channel identifier to obtain the target product access data, the method further includes:
[0020] The protocol conversion process configured by the user in the second preset configuration area of the target interface is received, and the protocol conversion strategy corresponding to the channel identifier is generated.
[0021] In one possible implementation, the product access based on the target product access data includes:
[0022] Obtain at least one target functional module corresponding to the channel identifier, wherein the target functional module is pre-configured by the user on the target interface;
[0023] The at least one target functional module is connected according to the default connection order to obtain the default functional flow;
[0024] The target product access data is accessed according to the default functional process.
[0025] In one possible implementation, before connecting the at least one target functional module according to the default connection order to obtain the default functional flow, the method further includes:
[0026] The system receives the connection order of at least one target functional module configured by the user in the third preset configuration area of the target interface, and uses the connection order as the default connection order.
[0027] Secondly, embodiments of this application provide a data transmission apparatus applied to a first device, the apparatus comprising:
[0028] The receiving module is used to receive a product access request sent by the second device, wherein the product access request includes a channel identifier;
[0029] The receiving module is also configured to receive encrypted product access data sent by the second device, wherein the encrypted product access data is obtained by the second device using the target encryption algorithm corresponding to the channel identifier sent by the first device;
[0030] The acquisition module is used to acquire the target decryption algorithm corresponding to the channel identifier, wherein the target decryption algorithm is configured by the user on the target interface corresponding to the channel identifier;
[0031] The decryption module is used to decrypt the encrypted product access data according to the target decryption algorithm to obtain the product access data.
[0032] The conversion module is used to convert the communication protocol of the product access data according to the target protocol conversion strategy corresponding to the channel identifier to obtain the target product access data. The target protocol conversion strategy is generated based on the protocol conversion process configured by the user on the target interface.
[0033] The access module is used to access products based on the target product access data.
[0034] Thirdly, embodiments of this application provide an electronic device, the device comprising: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the data transmission method as described in any one of the first aspects.
[0035] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the data transmission method as described in any one of the first aspects.
[0036] Fifthly, embodiments of this application provide a computer program product in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the data transmission method as described in any of the first aspects.
[0037] The data transmission method, apparatus, device, storage medium, and program product of this application embodiment involve a first device receiving a product access request from a second device, receiving encrypted product access data from the second device, and searching locally for the decryption algorithm corresponding to the channel identifier in the product access request to decrypt the encrypted product access data. Thus, the second device encrypts the product access data using the encryption algorithm corresponding to the channel identifier sent by the first device, improving data transmission security. Then, for the decrypted product access data, a communication protocol conversion strategy corresponding to the channel identifier is used to perform communication protocol conversion, enabling the first device to identify and process the protocol-converted product access data, and subsequently implement product access based on the target product access data. The decryption algorithm and protocol conversion strategy are configured by the user on the target interface; the user can modify the code through configuration on the target interface, improving user efficiency and thus data transmission efficiency. Attached Figure Description
[0038] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0039] Figure 1 This is a flowchart illustrating a data transmission method provided in one embodiment of this application;
[0040] Figure 2 This is a flowchart illustrating a method for configuring an encryption / decryption algorithm according to an embodiment of this application;
[0041] Figure 3 This is a flowchart illustrating another method for configuring an encryption / decryption algorithm according to an embodiment of this application;
[0042] Figure 4 This is an exemplary schematic diagram of a target interface provided in one embodiment of this application;
[0043] Figure 5 This is an exemplary schematic diagram of another target interface provided in one embodiment of this application;
[0044] Figure 6 This is a flowchart illustrating a product access method according to an embodiment of this application;
[0045] Figure 7 This is an exemplary schematic diagram of another target interface provided in one embodiment of this application;
[0046] Figure 8 This is a schematic diagram of the structure of a data transmission apparatus provided in another embodiment of this application;
[0047] Figure 9 This is a schematic diagram of the structure of an electronic device provided in another embodiment of this application. Detailed Implementation
[0048] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0049] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0050] It should be noted that the acquisition, storage, use, and processing of data in this application embodiment all comply with the relevant provisions of national laws and regulations.
[0051] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.
[0052] Currently, after launching financial products, financial institutions can publish them on financial product platforms in the following two ways:
[0053] Method 1: Financial institutions establish partnerships with financial product platforms. The financial institution uses the platform's standardized interface to send financial product data, enabling the platform to publish the financial product on its platform. The financial product platform can be a bank.
[0054] Method 2: The financial product platform connects to the banking channel, providing a platform for financial institutions to sell financial products. Financial institutions send financial product data to the financial product platform through the platform's standardized interface, enabling the platform to publish the financial product on its platform.
[0055] When listing financial products on a financial product platform using the above two methods, the platform may not be able to receive and recognize the financial product data because the protocols supported by the platform may differ from the communication protocols used by financial institutions to encapsulate the financial product data. This requires platform staff to manually modify the code, resulting in low data transmission efficiency.
[0056] To address the problems of the prior art, embodiments of the present invention provide a method, apparatus, device, storage medium, and program product for data transmission.
[0057] The data transmission method provided in the embodiments of the present invention will be described below first.
[0058] Figure 1 A schematic flowchart of a data transmission method according to an embodiment of the present invention is shown. This method is applied to a first device, such as... Figure 1 As shown, the method may include the following steps:
[0059] S101, Receive the product access request sent by the second device.
[0060] The product access request includes a channel identifier. Specifically, the first device is an electronic device deployed with the financial product platform, and the second device is the device corresponding to the financial institution. The channel identifier is used to distinguish different financial institutions. For example, the channel identifier for financial institution 1 is identifier 1, and the channel identifier for financial institution 2 is identifier 2.
[0061] It should be noted that a financial institution can correspond to multiple second devices, and the channel identifier carried in the product access request sent by each second device corresponding to the same financial institution to the first device is the same.
[0062] S102, Receive encrypted product access data sent by the second device.
[0063] The encrypted product access data is obtained by the second device using the target encryption algorithm corresponding to the channel identifier sent by the first device.
[0064] S103. Obtain the target decryption algorithm corresponding to the channel identifier.
[0065] The target decryption algorithm is configured by the user on the target interface corresponding to the channel identifier. Each channel identifier corresponds to one target interface.
[0066] The target interface is a standardized template pre-configured by the user. It includes multiple functional modules, which users can configure via dropdown menus or by manually selecting them. After configuration, the first device generates an execution script based on the target interface and its configuration information. Upon receiving encrypted product access data, the first device processes the encrypted data according to the corresponding execution script.
[0067] S104. Decrypt the encrypted product access data according to the target decryption algorithm to obtain the product access data.
[0068] The target decryption algorithm and the target encryption algorithm correspond to the same channel identifier.
[0069] S105. Perform communication protocol conversion on the product access data according to the target protocol conversion strategy corresponding to the channel identifier to obtain the target product access data.
[0070] The target protocol conversion strategy is generated based on the protocol conversion process configured by the user on the target interface.
[0071] It should be noted that after the first device receives the product access request, the first device can search for the target interface corresponding to the channel identifier in the product access request locally, thereby obtaining the execution script corresponding to the channel identifier. The execution script includes information such as the target decryption algorithm and the target protocol conversion strategy.
[0072] S106. Perform product access based on the target product access data.
[0073] In this process, after receiving the target product access data, the first device launches the financial product corresponding to the target product access data on the financial product platform deployed on the first device, thereby realizing product access.
[0074] Using the above method, after receiving a product access request from the second device, the first device receives the encrypted product access data sent by the second device, searches locally for the decryption algorithm corresponding to the channel identifier in the product access request, and decrypts the encrypted product access data. Thus, the second device uses the encryption algorithm corresponding to the channel identifier sent by the first device to encrypt the product access data, improving data transmission security. Then, for the decrypted product access data, a communication protocol conversion strategy corresponding to the channel identifier is used to perform communication protocol conversion, enabling the first device to identify and process the protocol-converted product access data, and subsequently implement product access based on the target product access data. The decryption algorithm and protocol conversion strategy are configured by the user through the target interface; users can modify the code simply by configuring it through the target interface, improving user efficiency and thus data transmission efficiency.
[0075] The following describes the methods for the first device to generate the target encryption algorithm, target decryption algorithm, and protocol conversion strategy. Specifically, before receiving the user's configuration information from the target interface and generating the target encryption and decryption algorithms in S102, the first device receives the user's input from the target interface and generates the target encryption and decryption algorithms. In this way, the user can pre-configure the required encryption and decryption algorithms in the target interface. After the user completes the configuration, the first device can generate an execution script based on the standardized target interface and the configuration information within it. This avoids the user having to process code other than the encryption and decryption algorithms, thereby improving the user's work efficiency.
[0076] Specifically, the first device generates the target encryption algorithm and the target decryption algorithm in the following two ways:
[0077] In the first implementation, the user can select the corresponding encryption and decryption algorithms from a set of encryption algorithms and a set of preset decryption algorithms, such as... Figure 2 As shown, the method includes:
[0078] S201. Receive the encryption algorithm selected by the user from the preset encryption algorithm set in the target interface, and determine that the encryption algorithm selected by the user is the target encryption algorithm.
[0079] S202. Receive the decryption algorithm selected by the user from the preset decryption algorithm set in the target interface, and determine that the decryption algorithm selected by the user is the target decryption algorithm.
[0080] The target interface includes an encryption / decryption algorithm configuration module, where the preset encryption algorithm set and preset decryption algorithm are preset by the user based on experience.
[0081] Specifically, the encryption / decryption algorithm configuration module on the target interface includes a drop-down menu. This menu contains encryption algorithms from a preset encryption algorithm set and decryption algorithms from a preset decryption algorithm set. Users can click the drop-down menu and select the target encryption and decryption algorithms from the provided options.
[0082] Using the method provided in this application, a user can select an encryption algorithm from preset encryption algorithms via a drop-down menu on the target interface. The first device then receives the user's selected encryption algorithm and determines the target encryption algorithm. Similarly, the user can select an encryption algorithm from preset decryption algorithms via a drop-down menu on the target interface. The first device then receives the user's selected decryption algorithm and determines the target decryption algorithm. Thus, by allowing users to select encryption and decryption algorithms via drop-down menus, the difficulty of configuring encryption and decryption algorithms is reduced, configuration efficiency is improved, and consequently, the efficiency of subsequent data transmission is enhanced.
[0083] In the second implementation, users can manually configure the corresponding encryption and decryption algorithms in a preset configuration area, such as... Figure 3 As shown, the method includes:
[0084] S301. Receive the encryption algorithm configured by the user in the first preset configuration area of the target interface, and determine that the encryption algorithm configured by the user in the first preset configuration area of the target interface is the target encryption algorithm.
[0085] S302. Receive the decryption algorithm configured by the user in the first preset configuration area of the target interface, and determine the decryption algorithm configured by the user in the first preset configuration area of the target interface as the target decryption algorithm.
[0086] It should be noted that, in order to meet the actual business needs of different users, the encryption and decryption algorithm configuration module of the target interface includes a first preset configuration area, where users can configure the processing flow of the encryption and decryption algorithm themselves.
[0087] Using the method provided in this application embodiment, the encryption and decryption algorithms configured by the user in the first preset configuration area of the target interface are received by the first device, which then determines the target encryption and decryption algorithms. In this way, the user can configure the encryption and decryption algorithms for data transmission according to actual business needs, making it more suitable for actual business requirements.
[0088] The following combination Figure 4 This section introduces the encryption / decryption algorithm configuration module in the target interface described above. Figure 4 This example illustrates the encryption / decryption algorithm configuration module in the target interface. The target interface may also contain other functional modules. Figure 4 Not shown. Users can pre-configure the target interface and its functional modules according to actual business needs.
[0089] like Figure 4 As shown, users can click the triangle to the right of the encryption algorithm rectangle to access a drop-down menu, which includes encryption algorithms from the aforementioned preset encryption algorithm set. Similarly, users can click the triangle to the right of the decryption algorithm rectangle to access a drop-down menu, which includes decryption algorithms from the aforementioned preset decryption algorithm set. If the required encryption and decryption algorithms are not configured in the drop-down menus, users can configure the corresponding encryption and decryption algorithms in the first preset configuration area according to their actual business needs.
[0090] Regarding the method for generating a protocol conversion strategy for the first device, before the first device performs communication protocol conversion on the product access data according to the target protocol conversion strategy corresponding to the channel identifier in S105 to obtain the target product access data, it can receive the protocol conversion process configured by the user in the second preset configuration area of the target interface and generate the protocol conversion strategy corresponding to the channel identifier.
[0091] The target interface also includes a protocol conversion strategy configuration module, which includes a second preset configuration area.
[0092] Specifically, users can configure protocol conversion processes in the second preset configuration area. After the first device receives product access data, it processes the data according to the configured protocol conversion process to obtain target product access data that the first device can recognize. In this way, users can configure protocol conversion processes in the second preset configuration area according to actual business needs, and the first device generates protocol conversion strategies according to the user-configured process, thus meeting different business requirements.
[0093] like Figure 5 As shown, Figure 5 This is an exemplary schematic diagram of another target interface provided in an embodiment of this application. Wherein, in Figure 4 Based on the target interface shown, Figure 5 The target interface also includes a protocol conversion strategy configuration module. Specifically, the protocol conversion strategy configuration module includes a second preset configuration area, where users can configure the protocol conversion process. After the first device processes and obtains the product access data, it converts the format of the product access data according to the user-pre-configured protocol conversion process to obtain target product access data that the first device can recognize.
[0094] In some embodiments of this application, since the functional requirements of financial products offered by different financial institutions differ—that is, different financial products require different functions—different financial products can use different functions provided by the financial product platform. For example, the financial product platform provides functions 1, 2, 3, and 4. Financial product 1 requires functions 1 and 3, financial product 2 requires functions 1 and 4, and financial product 3 requires functions 1 to 4. Therefore, for different financial products, the financial institution and the financial product platform negotiate the required functions for the financial product, and the first device publishes and launches the financial product provided by the financial institution according to the negotiated functions.
[0095] Specifically, such as Figure 6 As shown, the above-mentioned S106, which involves accessing the product based on the target product access data, can be implemented as S601-S603:
[0096] S601. Obtain at least one target functional module corresponding to the channel identifier.
[0097] Among them, the target function module is pre-configured by the user on the target interface.
[0098] It should be noted that after the first device receives the product access request, it searches for the target interface corresponding to the channel identifier in the product access request, based on the correspondence between the channel identifier and the target interface. After finding the target interface, it processes the encrypted product access data according to the execution script corresponding to the target interface. The execution script includes the aforementioned target functional module.
[0099] S602. Connect at least one target functional module according to the default connection order to obtain the default functional flow.
[0100] The default connection order is the connection order that the first device receives from the user in the third preset configuration area of the target interface, and then uses the connection order as the default connection order.
[0101] The target interface also includes a connection order configuration module, which contains pre-packaged functional modules. Users can determine the order of functional modules by dragging and dropping them. After receiving the user-configured order of functional modules, the first device generates the default connection order of the functional modules.
[0102] Specifically, users can configure the connection order of functional modules in the third preset configuration area. After the first device receives the product access data, it connects the target functional modules according to the configured connection order, thereby obtaining the functional flow corresponding to the financial product. In this way, users can configure the connection order of functional modules in the third preset configuration area according to actual business needs, and the first device generates the functional flow according to the user-configured connection order, meeting the needs of different business scenarios.
[0103] Specifically, such as Figure 7 As shown, Figure 7 This is an exemplary schematic diagram of yet another target interface provided in an embodiment of this application. Figure 5 Based on the target interface shown, Figure 7 The target interface shown also includes a connection order configuration module, which contains a third preset configuration area. Each functional module in this third preset configuration area encapsulates a fixed function execution flow. For example, the quota measurement function module encapsulates a fixed execution flow for the quota measurement function.
[0104] Users can configure the connection order by dragging and dropping function modules in the third preset configuration area. When the first device accesses the financial product according to the target access data, it connects the target function modules according to the default connection order configured by the user. In this way, different functions and function processes can be provided for different financial products.
[0105] S603. Access the target product's data according to the default functional process.
[0106] Using the method provided in this application embodiment, the first device connects the target functional modules corresponding to the channel identifier according to the default connection order to obtain a default functional flow. Since the connection order of the functional modules is pre-configured by the user based on actual business needs, the generated default functional flow can meet the personalized needs of different users.
[0107] Based on the data transmission method provided in the above embodiments, this application also provides specific implementations of a data transmission apparatus. Please refer to the following embodiments.
[0108] like Figure 8 As shown, Figure 8 The data transmission apparatus provided in the embodiments of this application includes:
[0109] The receiving module 801 is used to receive a product access request sent by the second device. The product access request includes a channel identifier.
[0110] The receiving module 801 is also used to receive encrypted product access data sent by the second device. The encrypted product access data is obtained by the second device using the target encryption algorithm corresponding to the channel identifier sent by the first device.
[0111] The acquisition module 802 is used to acquire the target decryption algorithm corresponding to the channel identifier. The decryption algorithm is configured by the user on the target interface corresponding to the channel identifier.
[0112] The decryption module 803 is used to decrypt the encrypted product access data according to the target decryption algorithm to obtain the product access data.
[0113] The conversion module 804 is used to convert the communication protocol of the product access data according to the target protocol conversion strategy corresponding to the channel identifier, so as to obtain the target product access data. The target protocol conversion strategy is generated based on the protocol conversion process configured by the user on the target interface.
[0114] Access module 805 is used for product access based on target product access data.
[0115] In one possible implementation, the device further includes:
[0116] The receiving module 801 is used to receive user input on the target interface before receiving the encrypted product access data sent by the second device. The input includes the target encryption algorithm and the target decryption algorithm.
[0117] In one possible implementation, the receiving module 801 is specifically used for:
[0118] Receive the encryption algorithm selected by the user from the preset encryption algorithm set in the target interface, and determine that the encryption algorithm selected by the user is the target encryption algorithm;
[0119] The system receives the decryption algorithm selected by the user from the preset decryption algorithm set in the target interface, and determines that the decryption algorithm selected by the user is the target decryption algorithm.
[0120] In one possible implementation, the receiving module 801 is specifically used for:
[0121] Receive the encryption algorithm configured by the user in the first preset configuration area of the target interface, and determine the encryption algorithm configured by the user in the first preset configuration area of the target interface as the target encryption algorithm;
[0122] Receive the decryption algorithm configured by the user in the first preset configuration area of the target interface, and determine the decryption algorithm configured by the user in the first preset configuration area of the target interface as the target decryption algorithm.
[0123] In one possible implementation, the receiving module 801 is further configured to:
[0124] The protocol conversion process configured by the user in the second preset configuration area of the target interface is received, and the protocol conversion strategy corresponding to the channel identifier is generated.
[0125] In one possible implementation, the access module 805 is specifically used for:
[0126] Obtain at least one target functional module corresponding to the channel identifier, wherein the target functional module is pre-configured by the user on the target interface;
[0127] The at least one target functional module is connected according to the default connection order to obtain the default functional flow;
[0128] The target product access data is accessed according to the default functional process.
[0129] In one possible implementation, the receiving module 801 is further configured to:
[0130] The system receives the connection order of at least one target functional module configured by the user in the third preset configuration area of the target interface, and uses the connection order as the default connection order.
[0131] The embodiments of this application provide various modules of a data transmission device, which can realize... Figure 1 The method provides the functionality of each step in the data transmission process and achieves the corresponding technical effects. For the sake of brevity, these details will not be elaborated here.
[0132] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0133] The electronic device 900 may include a processor 901 and a memory 902 storing computer program instructions.
[0134] Specifically, the processor 901 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0135] Memory 902 may include mass storage for data or instructions. For example, and not limitingly, memory 902 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 902 may include removable or non-removable (or fixed) media. Where appropriate, memory 902 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 902 is non-volatile solid-state memory.
[0136] In certain embodiments, the memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Thus, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of this application.
[0137] The processor 901 implements any of the data transmission methods described in the above embodiments by reading and executing computer program instructions stored in the memory 902.
[0138] In some examples, the electronic device 900 may also include a communication interface 903 and a bus 904. For example, Figure 9 As shown, the processor 901, memory 902, and communication interface 903 are connected through bus 904 and complete communication with each other.
[0139] The communication interface 903 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0140] Bus 904 includes hardware, software, or both, that couples components of an electronic device together. For example, and not as a limitation, bus 904 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 904 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.
[0141] For example, the electronic device 900 can be a mobile phone, tablet computer, laptop computer, handheld computer, in-vehicle electronic device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc.
[0142] The electronic device 900 can execute the data transmission method in the embodiments of this application, thereby achieving the combination Figure 1 and Figure 8 The method and apparatus for data transmission described.
[0143] In addition, in conjunction with the data transmission methods in the above embodiments, this application also provides a computer-readable storage medium for implementation. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the data transmission methods in the above embodiments. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, etc.
[0144] This application also provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a processor, they implement any of the data transmission methods described in the above embodiments.
[0145] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0146] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0147] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0148] The aspects of this application have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0149] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A method for data transmission, characterized in that, Applied to a first device, the method includes: Receive a product access request sent by a second device, wherein the product access request includes a channel identifier; The device receives encrypted product access data sent by the second device. The encrypted product access data is obtained by the second device using a target encryption algorithm sent by the first device. The target encryption algorithm and the channel identifier are corresponding. Obtain the target decryption algorithm corresponding to the channel identifier, wherein the target decryption algorithm is configured by the user on the target interface corresponding to the channel identifier; The product access data is decrypted using the target decryption algorithm to obtain the product access data. The product access data is converted into communication protocols according to the target protocol conversion strategy corresponding to the channel identifier to obtain the target product access data. The target protocol conversion strategy is generated based on the protocol conversion process configured by the user on the target interface. Product access is performed based on the target product access data.
2. The method according to claim 1, characterized in that, Before receiving the encrypted product access data sent by the second device, the method further includes: The system receives input from the user on the target interface, including the target encryption algorithm and the target decryption algorithm.
3. The method according to claim 2, characterized in that, Receiving user input on the target interface includes: Receive the encryption algorithm selected by the user from the preset encryption algorithm set in the target interface, and determine that the encryption algorithm selected by the user is the target encryption algorithm; The system receives the decryption algorithm selected by the user from the preset decryption algorithm set in the target interface, and determines that the decryption algorithm selected by the user is the target decryption algorithm.
4. The method according to claim 2, characterized in that, Receiving user input on the target interface includes: Receive the encryption algorithm configured by the user in the first preset configuration area of the target interface, and determine the encryption algorithm configured by the user in the first preset configuration area of the target interface as the target encryption algorithm; Receive the decryption algorithm configured by the user in the first preset configuration area of the target interface, and determine the decryption algorithm configured by the user in the first preset configuration area of the target interface as the target decryption algorithm.
5. The method according to claim 1, characterized in that, Before performing communication protocol conversion on the product access data according to the target protocol conversion strategy corresponding to the channel identifier to obtain the target product access data, the method further includes: The protocol conversion process configured by the user in the second preset configuration area of the target interface is received, and the protocol conversion strategy corresponding to the channel identifier is generated.
6. The method according to claim 1, characterized in that, The process of accessing products based on the target product access data includes: Obtain at least one target functional module corresponding to the channel identifier, wherein the target functional module is pre-configured by the user on the target interface; The at least one target functional module is connected according to the default connection order to obtain the default functional flow; The target product access data is accessed according to the default functional process.
7. The method according to claim 6, characterized in that, Before connecting the at least one target functional module according to the default connection order to obtain the default functional flow, the method further includes: The system receives the connection order of at least one target functional module configured by the user in the third preset configuration area of the target interface, and uses the connection order as the default connection order.
8. A data transmission apparatus, characterized in that, Applied to a first device, the device includes: The receiving module is used to receive a product access request sent by the second device, wherein the product access request includes a channel identifier; The receiving module is also configured to receive encrypted product access data sent by the second device, wherein the encrypted product access data is obtained by the second device using a target encryption algorithm sent by the first device, and the target encryption algorithm corresponds to the channel identifier; The acquisition module is used to acquire the target decryption algorithm corresponding to the channel identifier, wherein the target decryption algorithm is configured by the user on the target interface corresponding to the channel identifier; The decryption module is used to decrypt the encrypted product access data according to the target decryption algorithm to obtain the product access data. The conversion module is used to convert the communication protocol of the product access data according to the target protocol conversion strategy corresponding to the channel identifier to obtain the target product access data. The target protocol conversion strategy is generated based on the protocol conversion process configured by the user on the target interface. The access module is used to access products based on the target product access data.
9. An electronic device, characterized in that, The device includes: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the data transmission method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that, when executed by a processor, implement the data transmission method as described in any one of claims 1-7.
11. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device is able to perform the data transmission method as described in any one of claims 1-7.
Citation Information
Patent Citations
Internet of Things cross-platform resource interaction method and system
CN108429808A
Cloud platform interface protocol conversion method and device
CN113079198A