Data transmission method and related equipment

By automatically identifying the server's data reporting mode and determining the data transmission link, the server's workload is too large and the operation stability is poor, and data transmission is efficient and stable.

CN119484507AActive Publication Date: 2025-02-18CHINA CONSTRUCTION BANK +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411573344.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-02-18
Estimated Expiration
2044-11-06

AI Technical Summary

Technical Problem

When the server adapts data transmission links to different users, the workload increases and the operation stability is poor.

Method used

The client automatically identifies the current data reporting mode of the server, and determines the target data transmission link and the target terminal according to the mode, performs decryption and data transmission, and reduces the adaptation work of the server.

Benefits of technology

It reduces the workload of the server, improves the operation stability of the server, and achieves efficient and reliable data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484507A_ABST
    Figure CN119484507A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method and related equipment, which are applied to the field of data processing, and the method comprises the following steps: receiving encrypted data and a first descriptor parameter sent by a server side, the first descriptor parameter being used for describing a data submission mode of the server side; determining the distance between the first descriptor parameter and each stored second descriptor parameter, and taking the data submission mode associated with the second descriptor parameter corresponding to the minimum distance as the current data submission mode of the server; determining a target data sending link and a target terminal corresponding to the current data submission mode, and decrypting the encrypted data to obtain decrypted data; and sending the decrypted data to the target terminal according to the target data sending link. According to the application, the operation stability of the server is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular, relates to a data transmission method and related equipment. Background Art

[0002] The important data generated by the user when logging in to the server and handling business needs to be sent to the target terminal for storage.

[0003] In the exemplary technology, the server determines the target terminal to which the important data is to be sent. However, due to the important data of different users generated on the server, the server needs to send different important data to the corresponding target terminal. Different target terminals are located in different areas. The server adapts the corresponding data transmission link for different important data, so that the data can be sent to the corresponding target terminal based on the adapted data transmission link.

[0004] However, the server needs to provide different services to users, and the server is under great pressure. The server adapts the data to the data sending link, which increases the server's workload and leads to poor operation stability of the server. Summary of the invention

[0005] The embodiments of the present application provide a data transmission method and related equipment for solving the problem of poor operation stability of the server.

[0006] In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to a client, and the data transmission method includes:

[0007] Receiving encrypted data and a first descriptor parameter sent by a server, where the first descriptor parameter is used to describe a data reporting mode of the server;

[0008] Determine the distance between the first descriptor parameter and each stored second descriptor parameter, and use the data reporting mode associated with the second descriptor parameter corresponding to the smallest distance as the current data reporting mode of the server;

[0009] Determine a target data transmission link and a target terminal corresponding to the current data reporting mode, and decrypt the encrypted data to obtain decrypted data;

[0010] The decrypted data is sent to the target terminal according to the target data sending link.

[0011] In one embodiment, before the step of determining the distance between the first descriptor parameter and each stored second descriptor parameter, the method further comprises:

[0012] Acquire characteristic parameters corresponding to each data reporting mode of the server, and construct characteristic points of the data reporting mode at different scales according to the characteristic parameters of the data reporting mode;

[0013] According to a preset matrix, determining key points among the characteristic points of the data reporting mode;

[0014] configuring at least one main direction for the key point, and determining a descriptor parameter of the corresponding data reporting mode according to the at least one main direction as a second descriptor parameter associated with the data reporting mode;

[0015] The data reporting mode is associated with the corresponding second descriptor parameter and stored.

[0016] In another embodiment, the step of decrypting the encrypted data to obtain decrypted data includes:

[0017] Obtaining a first decryption key corresponding to the current data reporting mode;

[0018] The encrypted data is decrypted according to the first decryption key to obtain decrypted data.

[0019] In another embodiment, the step of obtaining the first decryption key corresponding to the current data reporting mode includes:

[0020] Determine a first identifier corresponding to the current data reporting mode, and obtain different first decryption keys associated with the first identifier;

[0021] The step of decrypting the encrypted data according to the first decryption key to obtain decrypted data comprises:

[0022] The encrypted data are decrypted in sequence according to the decryption order of each of the first decryption keys to obtain the decrypted data.

[0023] In another embodiment, the step of decrypting the encrypted data to obtain decrypted data includes:

[0024] Obtaining a second identifier of the client, and determining a number of a group to which the second identifier belongs;

[0025] A decryption key associated with the serial number is obtained as a second decryption key, and the encrypted data is decrypted according to the second decryption key to obtain decrypted data.

[0026] In a second aspect, an embodiment of the present application provides a data transmission method, which is applied to a server, and the data transmission method includes:

[0027] Determine the client corresponding to the data to be sent, and obtain characteristic parameters of the current data reporting mode of the server;

[0028] Determining a first descriptor parameter corresponding to the characteristic parameter, and encrypting the data to be sent to obtain encrypted data;

[0029] The first descriptor parameter and the encrypted data are sent to the client, so that the client determines a data sending link for the data to be sent based on the stored second descriptor parameters and the first descriptor parameters.

[0030] In one embodiment, the step of determining the first descriptor parameter corresponding to the characteristic parameter comprises:

[0031] Constructing each characteristic point of the current data reporting mode at different scales according to the characteristic parameters;

[0032] According to a preset matrix, determining key points among the characteristic points of the current data reporting mode;

[0033] At least one main direction is configured for the key point, and a first descriptor parameter of the current data reporting mode is determined according to the at least one main direction.

[0034] In another embodiment, the step of encrypting the data to be sent to obtain encrypted data includes:

[0035] Obtaining a first encryption key corresponding to the current data reporting mode;

[0036] The data to be sent is encrypted according to the first encryption key to obtain encrypted data.

[0037] In another embodiment, the step of obtaining the first encryption key corresponding to the current data reporting mode includes:

[0038] Determine a first identifier corresponding to the current data reporting mode, and obtain different first encryption keys associated with the first identifier;

[0039] The step of encrypting the data to be sent according to the first encryption key to obtain encrypted data comprises:

[0040] The data to be sent are encrypted in sequence according to the encryption order of each of the first encryption keys to obtain the encrypted data.

[0041] In another embodiment, the step of encrypting the data to be sent to obtain encrypted data includes:

[0042] Obtaining a second identifier of the client, and determining a number of a group to which the second identifier belongs;

[0043] An encryption key associated with the serial number is obtained as a second encryption key, and the data to be sent is encrypted according to the second encryption key to obtain encrypted data.

[0044] In a third aspect, an embodiment of the present application provides a client, including:

[0045] A receiving module, used for receiving the encrypted data and the first descriptor parameter sent by the server, wherein the first descriptor parameter is used for describing the data reporting mode of the server;

[0046] A first determination module, configured to determine the distance between the first descriptor parameter and each stored second descriptor parameter, and use the data reporting mode associated with the second descriptor parameter corresponding to the smallest distance as the current data reporting mode of the server;

[0047] A second determination module is used to determine a target data transmission link and a target terminal corresponding to the current data reporting mode, and decrypt the encrypted data to obtain decrypted data;

[0048] The first sending module is used to send the decrypted data to the target terminal according to the target data sending link.

[0049] In a fourth aspect, an embodiment of the present application provides a server, including:

[0050] A third determination module is used to determine the client corresponding to the data to be sent, and obtain characteristic parameters of the current data reporting mode of the server;

[0051] A fourth determination module, used to determine the first descriptor parameter corresponding to the characteristic parameter, and encrypt the data to be sent to obtain encrypted data;

[0052] The second sending module is used to send the first descriptor parameter and the encrypted data to the client, so that the client determines the data sending link of the data to be sent based on the stored second descriptor parameters and the first descriptor parameters.

[0053] In a fifth aspect, an embodiment of the present application provides a data transmission device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the data transmission method as described above is implemented.

[0054] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that computer program instructions are stored on the computer-readable storage medium, and when the computer program instructions are executed by a processor, the data transmission method as described above is implemented.

[0055] In a seventh aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to perform the data transmission method as described above.

[0056] The data transmission method and related equipment of the embodiment of the present application receive the encrypted data sent by the server and the first descriptor parameter of the characteristic parameter characterizing the data reporting mode of the server, determine the distance between the first descriptor parameter and each stored second descriptor parameter, determine the data reporting mode associated with the second descriptor parameter corresponding to the smallest distance as the current data reporting mode of the server, determine the target data transmission link and target terminal corresponding to the current data reporting mode, and decrypt the encrypted data to obtain the decrypted data, thereby sending the decrypted data to the target terminal according to the target data transmission link. In the present application, the client automatically identifies the current data reporting mode of the server, so that the client automatically identifies the data transmission link adapted for the decrypted data to be sent based on the data reporting mode, without the need for the server to identify and adapt the data transmission link, thereby reducing the workload of the server and improving the operation stability of the server. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0058] Figure 1 It is a schematic diagram of the scenario involved in the data transmission method of this application;

[0059] Figure 2 It is a flowchart of the first embodiment of the data transmission method of the present application;

[0060] Figure 3 It is a flowchart of the second embodiment of the data transmission method of the present application;

[0061] Figure 4 It is a flowchart of the third embodiment of the data transmission method of the present application;

[0062] Figure 5 is a flowchart of a fourth embodiment of the data transmission method of the present application;

[0063] Figure 6 is a flowchart of a fifth embodiment of the data transmission method of the present application;

[0064] Figure 7 This is a schematic diagram of the functional modules of the client of this application;

[0065] Figure 8 This is a schematic diagram of the functional modules of the application server;

[0066] Fig. 9 It is a structural schematic diagram of the data transmission device of the present application. DETAILED DESCRIPTION

[0067] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0068] It should be noted that, in this article, relational terms such as first and second, etc. are only used 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 "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0069] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present application are in compliance with the relevant provisions of national laws and regulations.

[0070] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0071] The important data generated by the user when logging in to the server and handling business needs to be sent to the target terminal for storage.

[0072] In the exemplary technology, the server determines the target terminal to which the important data is to be sent. However, due to the important data of different users generated on the server, the server needs to send different important data to the corresponding target terminal. Different target terminals are located in different areas. The server adapts the corresponding data transmission link for different important data, so that the data can be sent to the corresponding target terminal based on the adapted data transmission link.

[0073] The inventors of the present application discovered that the server needs to provide different services to users, and the server is under great pressure to work. The server adapts the data to the data sending link, which increases the workload of the server and leads to poor operational stability of the server.

[0074] The inventor of the present application therefore conceived of automatically identifying the current data reporting mode of the server by the client, so that the client can automatically identify the data sending link adapted for the decrypted data to be sent based on the data reporting mode, without the need for the server to identify and adapt the data sending link, thereby reducing the workload of the server and improving the operating stability of the server.

[0075] Reference Figure 1 , Figure 1 This is a schematic diagram of the scenario of the data transmission method of this application. Figure 1 , the server 100 can be a virtual server corresponding to the cloud or private cloud. The server 100 is provided with a virtual client 110 and a data distribution device 120. The virtual client 100 user stores data, and the data distribution device 120 is used for distributed distribution of data, that is, to distribute the data of different users to the corresponding local client 300. The user logs in to the server 100 and can generate data in the server 100. The data needs to be reported to the target terminal 200 corresponding to the user's location. The server 100 is connected to multiple clients 200. The client 200 is a local client. The client 200 corresponds to a user, who can be an individual user or a user in a group. The server 100 encrypts the data to be sent to obtain encrypted data. The server 100 generates a first descriptor parameter describing the data reporting mode based on its own data reporting mode, and then sends the first descriptor parameter and the encrypted data to the client 100 corresponding to the user. The client 100 determines the current data reporting mode of the server 100 based on the first descriptor parameter, and decrypts the encrypted data to obtain decrypted data. The client 100 then determines the target data sending link and the target terminal based on the current data reporting mode, and the client 100 then sends the decrypted data to the target terminal 300 according to the target data sending link.

[0076] The following combination Figure 1 , the data transmission method of the present application is described in detail.

[0077] Reference Figure 2 , Figure 2 FIG. 1 is a flow chart of a first embodiment of a data transmission method of the present application, which is applied to a client. The data transmission method includes:

[0078] Step S201, receiving encrypted data and a first descriptor parameter sent by a server, where the first descriptor parameter is used to describe a data reporting mode of the server.

[0079] In this embodiment, the execution subject is the client, and the client is a local client configured by the server for the user. The local client is, for example, a computer, a network device, a switch, etc.

[0080] After the user login account generates data on the server side, the data needs to be sent to the target terminal for review or storage. The data can be different types of report data such as financial institution accounts, fund settlement data, replacement resource quotas, and repayments of replacement resources. The server side configures corresponding clients for different users, and the data distribution device in the server side distributes the data generated by different users to the clients corresponding to the users, so that the clients send the data to the target terminal according to the adapted data transmission link. The following is a detailed description of this embodiment using a client sending data to a target terminal.

[0081] After the user logs in to the server, he performs business processing, so that the server generates the data to be sent, which includes account, balance, transaction details and other data. The server encrypts the data to be sent to obtain encrypted data. The server is equipped with different data reporting modes, and different data reporting modes correspond to different data sending links. For example, if the data reporting mode is mode A, the client needs to send data to the target terminal based on a dedicated line. If the data reporting mode is mode B, the client can send data to the target terminal based on the Internet. If the data reporting mode is mode C. The client needs a specified external network to send data to the target terminal. The server obtains the current data reporting mode and generates a descriptor parameter based on the characteristic parameters of the current data reporting mode. The descriptor parameter is defined as the first descriptor parameter. Exemplarily, the current data reporting mode can be determined by the account logged in by the user on the server, the attributes of the data table of the data to be sent, the parameters of the reporting network specified by the account, and the IP address of the client corresponding to the user. The account, the attributes of the data table, the parameters of the reporting network, and the IP address are used as characteristic parameters of the current data reporting network. A characteristic vector is constructed based on each characteristic parameter, and the characteristic vector can be the first descriptor parameter. It can be understood that the first descriptor parameter is used for the data reporting mode of the server.

[0082] The server obtains the first descriptor parameter corresponding to the current data reporting mode, and sends the first descriptor parameter and the encrypted data to the corresponding client, that is, the client receives the encrypted data and the first descriptor parameter sent by the server.

[0083] Step S202: determine the distance between the first descriptor parameter and each stored second descriptor parameter, and use the data reporting mode associated with the second descriptor parameter corresponding to the smallest distance as the current data reporting mode of the server.

[0084] The client stores characteristic parameters of multiple data reporting modes of the server, and can determine the second descriptor parameters of each data reporting mode based on the characteristic parameters, and store each second descriptor parameter in association with the corresponding data reporting mode. The generation process of the second descriptor parameter is consistent with that of the first descriptor parameter, and specifically refers to the generation process of the first descriptor parameter, which will not be repeated here.

[0085] After obtaining the first descriptor parameter, the client determines the distance between the first descriptor parameter and each second descriptor parameter. Exemplarily, the first descriptor parameter and the second descriptor parameter are both vector features, and the Euclidean distance between the first descriptor parameter and the second descriptor parameter is calculated.

[0086] After the client calculates the distance between the first descriptor parameter and each second descriptor parameter, it determines the minimum distance among the distances. The first description parameter and the second description parameter corresponding to the minimum distance are the most matched. The device can then use the data reporting mode associated with the second descriptor parameter corresponding to the minimum distance as the current data reporting mode of the server.

[0087] Step S203, determining the target data transmission link and the target terminal corresponding to the current data reporting mode, and decrypting the encrypted data to obtain decrypted data.

[0088] The client stores the data reporting mode sent by the server, the data sending link and the association relationship between the target terminal. After determining the current data reporting mode of the server, the device obtains the association relationship corresponding to the current data reporting mode. Based on the association relationship, the data sending link and the target terminal corresponding to the current data reporting mode can be determined. The data reporting link is defined as the target data reporting link.

[0089] After the client obtains the encrypted data, it decrypts the encrypted data. Exemplarily, the server stores an encryption key and a decryption key, and the server sends the decryption key to the client. The client decrypts the encrypted data based on the decryption key to obtain the decrypted data.

[0090] Step S204: sending the decrypted data to the target terminal according to the target data sending link.

[0091] After the client determines the target data transmission link and the target terminal, it sends the decrypted data to the target terminal according to the target data transmission link.

[0092] In this embodiment, the encrypted data sent by the server and the first descriptor parameter of the characteristic parameter characterizing the data reporting mode of the server are received, the distance between the first descriptor parameter and each stored second descriptor parameter is determined, the data reporting mode associated with the second descriptor parameter corresponding to the smallest distance is determined as the current data reporting mode of the server, the target data transmission link and the target terminal corresponding to the current data reporting mode are determined, and the encrypted data is decrypted to obtain the decrypted data, so that the decrypted data is sent to the target terminal according to the target data transmission link. In this embodiment, the client automatically identifies the current data reporting mode of the server, so that the client automatically identifies the data transmission link adapted to the decrypted data to be sent based on the data reporting mode, and the server does not need to identify and adapt the data transmission link, which reduces the workload of the server and improves the operation stability of the server.

[0093] Reference Figure 3 , Figure 3 This is a flow chart of the second embodiment of the data transmission method of the present application. Based on the first embodiment, before step S201, it also includes:

[0094] Step S301, obtaining characteristic parameters corresponding to each data reporting mode of the server, and constructing each characteristic point of the data reporting mode at different scales according to the characteristic parameters of the data reporting mode.

[0095] In this embodiment, the client obtains the characteristic parameters of the data reporting mode from the server, and constructs multiple characteristic points of the data reporting mode without passing the scale in the dimension space. The scale control refers to the space formed by the convolution of a two-dimensional Gaussian function of varying scale and the original image (Gaussian blur). Exemplarily, the client constructs a pyramid of Gaussian differences, or uses a box filter and an integral image to implement it. The box filter is used for the second-order partial derivative of the Gaussian to accelerate the construction of the scale space. The image is smoothed by Gaussian kernels of different scales to obtain images of different scales, thereby constructing a pyramid of scale space. Exemplarily, an integral image is constructed based on the characteristic parameters, and a scale space is constructed by the integral image, so that the scale space is used to obtain the characteristic points of the characteristic parameters at different scales.

[0096] Step S302: determining key points among the characteristic points of the data reporting pattern according to a preset matrix.

[0097] After obtaining each feature point, key points are determined in each feature point based on a preset matrix.

[0098] Exemplarily, the preset matrix is, for example, a Hessian matrix, and the determinant of the Hessian matrix is ​​used to perform extreme value detection on feature points in the neighborhood, and feature points that are extreme values ​​are key points.

[0099] Step S303: configure at least one main direction for the key point, and determine the descriptor parameter of the corresponding data reporting mode according to the at least one main direction as the second descriptor parameter associated with the data reporting mode.

[0100] After determining the key point, the client configures at least one main direction for the key point. Exemplarily, the client calculates the wavelet response parameters in the surrounding area of ​​the key point in the integral image. The wavelet response parameters can reflect the gradient information of the local area and can help determine the main direction of the key point. The client determines the reference direction of the key point in the neighborhood based on the wavelet response parameters, and constructs a direction histogram of the key point through the reference direction. The peak of the direction histogram represents the main direction of the neighborhood gradient at the key point.

[0101] After determining at least one main direction, a descriptor parameter of the data reporting mode is determined based on the at least one main direction as a second descriptor parameter associated with the data reporting mode. The second descriptor parameter is a high-dimensional vector, which contains information such as gradient information of the area around the key point and wavelet response parameters. In addition, an integral image can be used to accelerate the calculation of the second descriptor parameter, that is, the normalization process can ensure that the high-dimensional vector has a unit length, thereby enhancing the robustness of the descriptor parameter.

[0102] It should be noted that the generation process of the first description parameter and the generation process of the second descriptor parameter on the server are the same, and will not be described in detail here.

[0103] Step S304: store the data reporting mode in association with the corresponding second descriptor parameter.

[0104] After determining the second descriptor parameter associated with the data reporting mode, the device associates and stores each data reporting mode with the corresponding second descriptor parameter.

[0105] In this embodiment, the client obtains the characteristic parameters corresponding to each data reporting mode of the server, and constructs each characteristic point of the data reporting mode at different scales based on the characteristic parameters of the data reporting mode, determines the key points in each characteristic point based on a preset matrix, and then configures at least one main direction for the key points, so as to accurately obtain the second descriptor parameters associated with the data reporting mode based on at least one main direction.

[0106] Reference Figure 4 , Figure 4This is a flowchart of a third embodiment of the data transmission method of the present application. Based on the first or second embodiment, step S203 includes:

[0107] Step S401, obtaining a first decryption key corresponding to the current data reporting mode.

[0108] Step S402: decrypt the encrypted data according to the first decryption key to obtain decrypted data.

[0109] In this embodiment, the data reporting mode of the server is different, and the encryption method for the sent data is different to enhance the security of the data.

[0110] In one example, the server sends the identifier of the data reporting mode and the associated decryption key to the client. After determining the current data reporting mode of the server, the client determines the identifier of the current data reporting mode as the first identifier, and the device obtains the decryption key associated with the first identifier, thereby decrypting the encrypted data based on the first decryption key to obtain the decrypted data.

[0111] In another example, the data reporting mode of the server has different encryption times for the data to be sent, that is, the server will perform multiple rounds of encryption on the data to be sent. Each data reporting mode has a different number of encryption rounds for the data, and the encryption key of the data reporting mode is different, and the encryption order of the encryption key is also different. For example, the server stores five encryption keys a, b, c, d and e. When the data reporting mode is mode A, the data is encrypted using encryption keys a, b, and c, and the data is first encrypted with a, and then the encrypted data is encrypted again with c, and finally the encrypted data is encrypted by b to obtain the encrypted data; when the data reporting mode is mode B, the data is encrypted using encryption keys d, b, and c, and the data is first encrypted with d, and then the encrypted data is encrypted again with c, and finally the encrypted data is encrypted by b to obtain the encrypted data. The encryption key can also be used as a decryption key to decrypt data, but the encryption order of the encryption key is opposite to the decryption key of the decryption key. For example, encryption key a is used to encrypt data first, but a is used to decrypt, so a is the last to decrypt data. The server sends the identifier of the data reporting mode, each encryption key, and the encryption order of the encryption key to the client. After determining the current data reporting mode of the server, the client obtains the first identifier of the current data reporting mode, obtains each different encryption key associated with the first identifier as the first decryption key and the encryption order, and determines the decryption order of the first decryption key by the encryption order, so as to decrypt the encrypted data in sequence according to the decryption order of each first decryption key to obtain the decryption key. Exemplarily, the current data mode is mode A, the encryption keys are a, b, c, and the encryption order is a, c, b, then each first decryption key is a, b, c, and the decryption order is b, c, a, first use b to decrypt the encrypted data, then use c to decrypt the data decrypted once again, and finally use a to decrypt the data decrypted twice to obtain the decrypted data.

[0112] In this embodiment, the client obtains the first decryption key corresponding to the current data reporting mode, and decrypts the encrypted data based on the first decryption key to obtain accurate decrypted data.

[0113] Reference Figure 5 , Figure 5 This is a flowchart of a fourth embodiment of the data transmission method of the present application. Based on the first or second embodiment, step S203 includes:

[0114] Step S501: obtain the second identifier of the client, and determine the number of the group to which the second identifier belongs.

[0115] In this embodiment, the server performs group encryption based on the client. Exemplarily, the device groups each client, and each group of clients is assigned an encryption key. The data generated by the user corresponding to the client on the server is encrypted using the encryption key of the group to which the client belongs. The server groups the client's identifier, and the server sends the group number and the client's identifier to the client for associated storage. The client obtains the second identifier of the client and determines the number of the group to which the second identifier belongs.

[0116] Step S502: Acquire a decryption key associated with the serial number as a second decryption key, and decrypt the encrypted data according to the second decryption key to obtain decrypted data.

[0117] After the client obtains the number, it can obtain the decryption key associated with the number as the second decryption key, so as to obtain the decrypted data by decrypting the encrypted data based on the second decryption key.

[0118] In this embodiment, the client obtains the decryption key associated with the number based on the number of the group to which its second identification belongs, and decrypts the encrypted data to obtain the decrypted data.

[0119] Reference Figure 6 , Figure 6 This is a flowchart of the fifth embodiment of the data transmission method of the present application, which is applied to the server. The data transmission method includes:

[0120] Step S601, determine the client corresponding to the data to be sent, and obtain characteristic parameters of the current data reporting mode of the server.

[0121] Step S602: determine the first descriptor parameter corresponding to the characteristic parameter, and encrypt the data to be sent to obtain encrypted data.

[0122] In this embodiment, the execution subject is the server. After the user login account generates data on the server, the data needs to be sent to the target terminal for review or storage. The data can be different types of report data such as financial institution accounts, fund settlement data, replacement resource quotas, and repayments of replacement resources. The server configures corresponding clients for different users, and the data distribution device in the server distributes the data generated by different users to the clients corresponding to the users, so that the clients send the data to the target terminal according to the adapted data transmission link. The following is a detailed description of this embodiment using a client sending data to a target terminal.

[0123] After the user logs in to the server, he performs business processing, so that the server generates the data to be sent, which includes account, balance, transaction details and other data. The server encrypts the data to be sent to obtain encrypted data. The server is equipped with different data reporting modes, and different data reporting modes correspond to different data sending links. For example, if the data reporting mode is mode A, the client needs to send data to the target terminal based on a dedicated line. If the data reporting mode is mode B, the client can send data to the target terminal based on the Internet. If the data reporting mode is mode C. The client needs a specified external network to send data to the target terminal. The server obtains the current data reporting mode and generates a descriptor parameter based on the characteristic parameters of the current data reporting mode. The descriptor parameter is defined as the first descriptor parameter. Exemplarily, the current data reporting mode can be determined by the account logged in by the user on the server, the attributes of the data table of the data to be sent, the parameters of the reporting network specified by the account, and the IP address of the client corresponding to the user. The account, the attributes of the data table, the parameters of the reporting network, and the IP address are used as characteristic parameters of the current data reporting network. A characteristic vector is constructed based on each characteristic parameter, and the characteristic vector can be the first descriptor parameter. It can be understood that the first descriptor parameter is used for the data reporting mode of the server.

[0124] Step S603: Send the first descriptor parameter and the encrypted data to the client, so that the client determines the data transmission link of the to-be-transmitted data based on the stored second descriptor parameters and the first descriptor parameters.

[0125] The server obtains the first descriptor parameter corresponding to the current data reporting mode, and sends the first descriptor parameter and the encrypted data to the corresponding client, that is, the client receives the encrypted data and the first descriptor parameter sent by the server.

[0126] The client stores characteristic parameters of multiple data reporting modes of the server, and can determine the second descriptor parameters of each data reporting mode based on the characteristic parameters, and store each second descriptor parameter in association with the corresponding data reporting mode. The generation process of the second descriptor parameter is consistent with that of the first descriptor parameter, and specifically refers to the generation process of the first descriptor parameter, which will not be repeated here.

[0127] After obtaining the first descriptor parameter, the client determines the distance between the first descriptor parameter and each second descriptor parameter. Exemplarily, the first descriptor parameter and the second descriptor parameter are both vector features, and the Euclidean distance between the first descriptor parameter and the second descriptor parameter is calculated.

[0128] After the client calculates the distance between the first descriptor parameter and each second descriptor parameter, it determines the minimum distance among the distances. The first description parameter and the second description parameter corresponding to the minimum distance are the most matched. The device can then use the data reporting mode associated with the second descriptor parameter corresponding to the minimum distance as the current data reporting mode of the server.

[0129] The client stores the data reporting mode sent by the server, the data sending link and the association relationship between the target terminal. After determining the current data reporting mode of the server, the device obtains the association relationship corresponding to the current data reporting mode. Based on the association relationship, the data sending link and the target terminal corresponding to the current data reporting mode can be determined. The data reporting link is defined as the target data reporting link.

[0130] After the client obtains the encrypted data, it decrypts the encrypted data. Exemplarily, the server stores an encryption key and a decryption key, and the server sends the decryption key to the client. The client decrypts the encrypted data based on the decryption key to obtain the decrypted data.

[0131] After the client determines the target data transmission link and the target terminal, it sends the decrypted data to the target terminal according to the target data transmission link.

[0132] In this embodiment, the server encrypts the data to be sent to obtain encrypted data, generates a first descriptor parameter based on the characteristic parameters of the current data reporting mode, and sends the first descriptor parameter and the encrypted data to the server, so that the client determines the current data reporting mode of the server based on the first descriptor parameter and the stored second descriptor parameter, thereby enabling the client to adapt the data sending link without the need for the server to identify and adapt the data sending link, thereby reducing the workload of the server and improving the operating stability of the server.

[0133] In one embodiment, the step of determining the first descriptor parameter corresponding to the feature parameter comprises:

[0134] Construct various characteristic points of the current data reporting mode at different scales according to the characteristic parameters;

[0135] According to the preset matrix, key points are determined among the characteristic points of the current data reporting mode;

[0136] At least one main direction is configured for the key point, and a first descriptor parameter of the current data reporting mode is determined according to the at least one main direction.

[0137] In this embodiment, the server determines the first description parameter of the current data reporting mode based on the characteristic parameters of the current data reporting mode, which is consistent with the generation process of the second descriptor parameter in the above-mentioned second embodiment. Please refer to the second embodiment for details and will not be repeated here.

[0138] In one embodiment, the step of encrypting the data to be sent to obtain encrypted data includes:

[0139] Obtaining a first encryption key corresponding to the current data reporting mode;

[0140] The data to be sent is encrypted according to the first encryption key to obtain encrypted data.

[0141] Furthermore, the step of obtaining a first encryption key corresponding to the current data reporting mode includes:

[0142] Determine a first identifier corresponding to the current data reporting mode, and obtain different first encryption keys associated with the first identifier;

[0143] The step of encrypting the data to be sent according to the first encryption key to obtain encrypted data comprises:

[0144] The data to be sent are encrypted in sequence according to the encryption order of each first encryption key to obtain encrypted data.

[0145] In this embodiment, the server obtains the encryption key based on the current data reporting mode and encrypts the data. Please refer to the relevant instructions in the third embodiment in which the client decrypts the data based on the decryption key of the current data reporting mode, which will not be repeated here.

[0146] In one embodiment, the step of encrypting the data to be sent to obtain encrypted data includes:

[0147] Obtain the second identifier of the client, and determine the number of the group to which the second identifier belongs;

[0148] An encryption key associated with the serial number is obtained as a second encryption key, and the data to be sent is encrypted according to the second encryption key to obtain encrypted data.

[0149] In this embodiment, the server groups the clients, and the group number determines the encryption password to encrypt the data to be sent. Please refer to the relevant instructions in the fourth embodiment that the client obtains the decryption key based on the group number to decrypt the data, which will not be repeated here.

[0150] See also Figure 7 The client 700 provided in the embodiment of the present application includes:

[0151] The receiving module 710 is used to receive the encrypted data and the first descriptor parameter sent by the server, where the first descriptor parameter is used to describe the data reporting mode of the server;

[0152] A first determination module 720 is used to determine the distance between the first descriptor parameter and each stored second descriptor parameter, and use the data reporting mode associated with the second descriptor parameter corresponding to the smallest distance as the current data reporting mode of the server;

[0153] The second determination module 730 is used to determine the target data transmission link and the target terminal corresponding to the current data reporting mode, and decrypt the encrypted data to obtain decrypted data;

[0154] The first sending module 740 is used to send the decrypted data to the target terminal according to the target data sending link.

[0155] In one embodiment, the client 700 is specifically used for:

[0156] Obtain characteristic parameters corresponding to each data reporting mode of the server, and construct characteristic points of the data reporting mode at different scales according to the characteristic parameters of the data reporting mode;

[0157] According to the preset matrix, key points are determined among the characteristic points of the data reporting mode;

[0158] configuring at least one main direction for the key point, and determining a descriptor parameter of a corresponding data reporting mode according to the at least one main direction as a second descriptor parameter associated with the data reporting mode;

[0159] The data reporting mode is associated with the corresponding second descriptor parameter and stored.

[0160] In one embodiment, the client 700 is specifically used for:

[0161] Obtaining a first decryption key corresponding to the current data reporting mode;

[0162] The encrypted data is decrypted according to the first decryption key to obtain decrypted data.

[0163] In one embodiment, the client 700 is specifically used for:

[0164] Determine a first identifier corresponding to the current data reporting mode, and obtain different first decryption keys associated with the first identifier;

[0165] The step of decrypting the encrypted data according to the first decryption key to obtain the decrypted data comprises:

[0166] The encrypted data are decrypted in sequence according to the decryption order of each first decryption key to obtain the decrypted data.

[0167] In one embodiment, the client 700 is specifically used for:

[0168] Obtain the second identifier of the client, and determine the number of the group to which the second identifier belongs;

[0169] A decryption key associated with the serial number is obtained as a second decryption key, and the encrypted data is decrypted according to the second decryption key to obtain decrypted data.

[0170] The various modules of the client provided in the embodiment of the present application can be implemented Figures 2 to 5 Any embodiment provides the functions of each step of the data transmission method and can achieve its corresponding technical effects. For the sake of concise description, they will not be repeated here.

[0171] See also Figure 8 The server 800 provided in the embodiment of the present application includes:

[0172] The third determination module 810 is used to determine the client corresponding to the data to be sent, and obtain characteristic parameters of the current data reporting mode of the server;

[0173] The fourth determination module 820 is used to determine the first descriptor parameter corresponding to the characteristic parameter, and encrypt the data to be sent to obtain encrypted data;

[0174] The second sending module 830 is used to send the first descriptor parameters and the encrypted data to the client, so that the client determines the data sending link of the data to be sent based on the stored second descriptor parameters and the first descriptor parameters.

[0175] In one embodiment, the server 800 is specifically used for:

[0176] Construct various characteristic points of the current data reporting mode at different scales according to the characteristic parameters;

[0177] According to the preset matrix, key points are determined among the characteristic points of the current data reporting mode;

[0178] At least one main direction is configured for the key point, and a first descriptor parameter of the current data reporting mode is determined according to the at least one main direction.

[0179] In one embodiment, the server 800 is specifically used for:

[0180] Obtaining a first encryption key corresponding to the current data reporting mode;

[0181] The data to be sent is encrypted according to the first encryption key to obtain encrypted data.

[0182] In one embodiment, the server 800 is specifically used for:

[0183] Determine a first identifier corresponding to the current data reporting mode, and obtain different first encryption keys associated with the first identifier;

[0184] The step of encrypting the data to be sent according to the first encryption key to obtain encrypted data comprises:

[0185] The data to be sent are encrypted in sequence according to the encryption order of each first encryption key to obtain encrypted data.

[0186] In one embodiment, the server 800 is specifically used for:

[0187] Obtain the second identifier of the client, and determine the number of the group to which the second identifier belongs;

[0188] An encryption key associated with the serial number is obtained as a second encryption key, and the data to be sent is encrypted according to the second encryption key to obtain encrypted data.

[0189] Fig. 9 A schematic diagram of the hardware structure of a data transmission device provided in an embodiment of the present application is shown.

[0190] The data transmission device may include a processor 901 and a memory 902 storing computer program instructions.

[0191] Specifically, the processor 901 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0192] The memory 902 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 902 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 902 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 902 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 902 is a non-volatile solid-state memory.

[0193] In certain embodiments, the memory 902 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage media device, an optical storage media device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) 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 an aspect of the present disclosure.

[0194] The processor 901 implements any one of the authentication methods in the above embodiments by reading and executing computer program instructions stored in the memory 902 .

[0195] In one example, the data transmission device may further include a communication interface 903 and a bus 910. Fig. 9 As shown, the processor 901, the memory 902, and the communication interface 903 are connected via a bus 910 and communicate with each other.

[0196] Communication interface 903 is mainly used to realize the communication between each module, device, unit and / or equipment in the embodiment of the present application. Bus 910 includes hardware, software or both, and couples the components of the online data flow billing device to each other. For example, but not limitation, the bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 910 may include one or more buses. Although the embodiment of the present application describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0197] The data transmission method in the above embodiment can be implemented by providing a computer storage medium in the present application embodiment. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the data transmission methods in the above embodiment is implemented.

[0198] An embodiment of the present application further provides a computer program product, including a computer program, which implements any one of the data transmission methods in the above embodiments when the computer program is processed and executed.

[0199] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. 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 embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0200] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram 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 transmission device to produce a machine so that these instructions executed by the processor of the computer or other programmable data transmission device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. 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 can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0201] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A data transmission method, characterized in that: Applied to the client, the data transmission method includes: Receiving encrypted data and a first descriptor parameter sent by a server, where the first descriptor parameter is used to describe a data reporting mode of the server; Determine the distance between the first descriptor parameter and each stored second descriptor parameter, and use the data reporting mode associated with the second descriptor parameter corresponding to the smallest distance as the current data reporting mode of the server; Determine a target data transmission link and a target terminal corresponding to the current data reporting mode, and decrypt the encrypted data to obtain decrypted data; The decrypted data is sent to the target terminal according to the target data sending link.

2. The data transmission method according to claim 1, characterized in that: Before the step of determining the distance between the first descriptor parameter and each stored second descriptor parameter, the method further comprises: Acquire characteristic parameters corresponding to each data reporting mode of the server, and construct characteristic points of the data reporting mode at different scales according to the characteristic parameters of the data reporting mode; According to a preset matrix, determining key points among the characteristic points of the data reporting mode; configuring at least one main direction for the key point, and determining a descriptor parameter of the corresponding data reporting mode according to the at least one main direction as a second descriptor parameter associated with the data reporting mode; The data reporting mode is associated with the corresponding second descriptor parameter and stored.

3. The data transmission method according to claim 1, characterized in that: The step of decrypting the encrypted data to obtain decrypted data comprises: Obtaining a first decryption key corresponding to the current data reporting mode; The encrypted data is decrypted according to the first decryption key to obtain decrypted data.

4. The data transmission method according to claim 3, characterized in that: The step of obtaining the first decryption key corresponding to the current data reporting mode comprises: Determine a first identifier corresponding to the current data reporting mode, and obtain different first decryption keys associated with the first identifier; The step of decrypting the encrypted data according to the first decryption key to obtain decrypted data comprises: The encrypted data are decrypted in sequence according to the decryption order of each of the first decryption keys to obtain the decrypted data.

5. The data transmission method according to claim 1, characterized in that: The step of decrypting the encrypted data to obtain decrypted data comprises: Obtaining a second identifier of the client, and determining a number of a group to which the second identifier belongs; A decryption key associated with the serial number is obtained as a second decryption key, and the encrypted data is decrypted according to the second decryption key to obtain decrypted data.

6. A data transmission method, characterized in that: Applied to the server, the data transmission method includes: Determine the client corresponding to the data to be sent, and obtain characteristic parameters of the current data reporting mode of the server; Determining a first descriptor parameter corresponding to the characteristic parameter, and encrypting the data to be sent to obtain encrypted data; The first descriptor parameter and the encrypted data are sent to the client, so that the client determines a data sending link for the data to be sent based on the stored second descriptor parameters and the first descriptor parameters.

7. The data transmission method according to claim 6, characterized in that: The step of determining the first descriptor parameter corresponding to the characteristic parameter comprises: Constructing each characteristic point of the current data reporting mode at different scales according to the characteristic parameters; According to a preset matrix, determining key points among the characteristic points of the current data reporting mode; At least one main direction is configured for the key point, and a first descriptor parameter of the current data reporting mode is determined according to the at least one main direction.

8. The data transmission method according to claim 6, characterized in that: The step of encrypting the data to be sent to obtain encrypted data comprises: Obtaining a first encryption key corresponding to the current data reporting mode; The data to be sent is encrypted according to the first encryption key to obtain encrypted data.

9. The data transmission method according to claim 8, characterized in that: The step of obtaining the first encryption key corresponding to the current data reporting mode comprises: Determine a first identifier corresponding to the current data reporting mode, and obtain different first encryption keys associated with the first identifier; The step of encrypting the data to be sent according to the first encryption key to obtain encrypted data comprises: The data to be sent are encrypted in sequence according to the encryption order of each of the first encryption keys to obtain the encrypted data.

10. The data transmission method according to claim 6, characterized in that: The step of encrypting the data to be sent to obtain encrypted data comprises: Obtaining a second identifier of the client, and determining a number of a group to which the second identifier belongs; An encryption key associated with the serial number is obtained as a second encryption key, and the data to be sent is encrypted according to the second encryption key to obtain encrypted data.

11. A client, characterized in that: include: A receiving module, used for receiving the encrypted data and the first descriptor parameter sent by the server, wherein the first descriptor parameter is used for describing the data reporting mode of the server; A first determination module, configured to determine the distance between the first descriptor parameter and each stored second descriptor parameter, and use the data reporting mode associated with the second descriptor parameter corresponding to the smallest distance as the current data reporting mode of the server; A second determination module is used to determine a target data transmission link and a target terminal corresponding to the current data reporting mode, and decrypt the encrypted data to obtain decrypted data; The first sending module is used to send the decrypted data to the target terminal according to the target data sending link.

12. A server, characterized in that: include: A third determination module is used to determine the client corresponding to the data to be sent, and obtain characteristic parameters of the current data reporting mode of the server; A fourth determination module, used to determine the first descriptor parameter corresponding to the characteristic parameter, and encrypt the data to be sent to obtain encrypted data; The second sending module is used to send the first descriptor parameter and the encrypted data to the client, so that the client determines the data sending link of the data to be sent based on the stored second descriptor parameters and the first descriptor parameters.

13. A data transmission device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the data transmission method according to any one of claims 1 to 10 is implemented.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the data transmission method according to any one of claims 1 to 10 is implemented.

15. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the data transmission method as described in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Supervision file submission method, device thereof and equipment and readable medium

    CN111988406A

  • Data transmission method and device, storage medium and electronic equipment

    CN112291366A

  • Transmission method and communication device

    CN113382388A

  • Data encryption transmission method and device

    CN117014166A

  • Bandwidth and latency estimation in a communication network

    US20160337223A1