CN113347096A - Transmission processing method of third party payment data - Google Patents
Transmission processing method of third party payment data Download PDFInfo
- Publication number
- CN113347096A CN113347096A CN202110899338.5A CN202110899338A CN113347096A CN 113347096 A CN113347096 A CN 113347096A CN 202110899338 A CN202110899338 A CN 202110899338A CN 113347096 A CN113347096 A CN 113347096A
- Authority
- CN
- China
- Prior art keywords
- transmission
- data
- data block
- party payment
- transmission path
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
- H04L45/123—Evaluation of link metrics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/085—Payment architectures involving remote charge determination or related payment systems
- G06Q20/0855—Payment architectures involving remote charge determination or related payment systems involving a third party
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Finance (AREA)
- Environmental & Geological Engineering (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a transmission processing method of third party payment data, which comprises the steps of obtaining third party payment data to be transmitted; the third-party payment data are partitioned according to the preset length, the transmission efficiency of each transmission path is evaluated again in the process of transmitting the first data block, the transmission efficiency of each transmission path is determined according to the current network state and the influence of the first data block on each transmission path in the transmission process, after the first data block reaches the receiving end, the transmission efficiency of each transmission path is evaluated again, and the data blocks are recombined according to the coding sequence. Through the real-time evaluation of the transmission efficiency of the transmission path, the data block can select the optimal transmission path according to the actual transmission efficiency, the transmission sequence of the data block is kept in the transmission process, the disorder is avoided, the data does not need to be backed up, the waiting is not needed, and the recombination efficiency of the third party payment data is greatly improved.
Description
Technical Field
The invention relates to the technical field of data transmission, in particular to a transmission processing method of third-party payment data.
Background
The transmission of the third party payment data is visible at any time, for example, when a user browses a webpage, after the user inputs a search request, the network side returns a data packet matched with the search request to the user terminal. In the actual data transmission process, when data is transmitted between two terminals, the terminals are usually far apart from each other, and information is transmitted between the two networks through the base station.
When data transmission is carried out, third-party payment data are divided into a plurality of data blocks, the data blocks are numbered and sequentially transmitted according to the numbering sequence so as to realize received sequential receiving, the received data blocks are recombined to obtain request data, the request data are processed according to the request data, the third-party payment data are transmitted, and the transmission speed is low.
In order to improve the transmission speed, the network data are respectively transmitted by adopting multiple paths, and then the network data are divided into blocks, and different transmission paths are adopted to transmit the data blocks, but the transmission speeds of all the paths are different, so that the time received by a receiving terminal is unequal, when the data blocks are recombined, the problem of data block disorder occurs, namely that the data which is received before is coded, when the data are recombined, if the data which is received first is coded later, the data are cached, after the data which is specially coded are received, the data are extracted from a cache region, and further the recombined data are correct.
However, if the space of the buffer area is limited, the data that can be received is also limited, and therefore, there is still a problem in actually performing data transmission.
Disclosure of Invention
Therefore, the invention provides a transmission processing method of third-party payment data, which can solve the problem of out-of-order cache in the data packet transmission process.
In order to achieve the above object, the present invention provides a method for transmitting and processing third party payment data, including:
acquiring third party payment data to be transmitted;
partitioning the third party payment data according to a preset length, partitioning the third party payment data into at least two data blocks, wherein the length of the data block containing the packet tail is less than or equal to the preset length, numbering the data blocks in sequence, and respectively forming a first data block, a second data block and an nth data block, n is an integer and is greater than 2;
selecting any transmission channel with highest transmission efficiency from the transmission paths to transmit the first data block, re-evaluating the transmission efficiency of each transmission path in the process of transmitting the first data block, determining the transmission efficiency of each transmission path according to the current network state and the influence of the first data block on each transmission path in the transmission process, and then selecting the transmission path with the highest transmission efficiency to transmit the second data block;
when the first data block reaches the receiving end, the transmission efficiency of the transmission path is evaluated again to determine whether the second data block needs to be switched in the transmission process, and if the transmission path where the second data block is located is not the transmission path with the highest transmission efficiency, line switching is carried out;
and after all the data blocks reach the receiving end, recombining the data blocks according to the coding sequence to obtain payment request information in the third-party payment data, so that the receiving end performs corresponding operation according to the payment request information.
Further, before the transmission of the first data block, the method further includes: sending query information to a first network node in a first transmission channel to query a dormant state of the first network node; if the state of the first network node is a dormant state, sending a wake-up message to the first network node to wake up the first network node;
when the first network node is awakened, sending activation state information to the sending end;
and after receiving the activation state information, sending a first data block to the first network node.
Further, when the first network node is awakened, the sending end sends a broadcast message to all nodes in the communication range of the first network node, the broadcast message comprises the ID of the node to be awakened, after the node receives the broadcast message, whether the ID in the broadcast message is consistent with the ID of the node is inquired, and if so, the node is awakened;
the current state is maintained if there is no match.
Further, during the transmission of the third party payment data, when the first data block and the second data block are in the transmission process, setting a time of only the first data block in the transmission path as a first time, setting a time of only the second data block in the transmission path as a second time when the second data block and the first data block are simultaneously set in the transmission path, the first transmission path has a transmission speed V1 during the first time, and when the second time is entered, setting an influence coefficient according to the relation between the first transmission path and the second transmission path, if the number of the common nodes of the first transmission path and the second transmission path is more than or equal to a preset number, it means that the second transmission path has a large influence on the first transmission path, the transmission speed of the first transmission path is reduced to k1 × V1, where 0< k1<1, and k1 are first coefficients, and if the number of nodes shared by the first transmission path and the second transmission path is less than a preset number, the transmission speed of the first transmission path does not need to be adjusted.
Further, when the first data block and the second data block are in the transmission process and the second data block is in front of the first data block at any time, the next node of the second data block is dormant, and the network transmission rate is reduced to wait for the transmission of the first data block.
Further, during the transmission of the third party payment data, when the first data block arrives at the receiving end and the second data block and the third data block are in the transmission process, the influence of releasing the transmission channel of the original first data block is added to the transmission path of the second data block and the third data block by the second coefficient k2 and the third coefficient k3, so that the transmission rate V2 of the second data block is corrected to (1 + k 2) × V2, and correspondingly, the transmission rate V3 of the third data block is corrected to (1 + k 3) × V3, wherein 1> k2>0.5, and 0.5> k3> 0.
Further, a transmission grade is set in the process of transmitting any data packet to evaluate the stability S of transmission, S = k1 × k2 × k3 … × kn, wherein a first coefficient k1 represents that the first data block is influenced by other transmission channels; the second coefficient k2 represents the influence of the second data block from other transmission channels; the third coefficient k3 represents the influence of the third data block from other transmission channels; the nth coefficient kn represents the influence of the nth data block from other transmission channels, and the release of the transmission channel and the transmission of a new data block can affect the data block in transmission.
Further, a network stability standard parameter S0 is preset, and if the transmission stability S of any data packet in the transmission process is not less than the network stability standard parameter S0, the next data packet is transmitted, and the current preset length L0 is used to segment the ten-thousand network data packet;
if the transmission stability S during transmission is less than the network stability standard parameter S0, the preset length used when the third party payment data is divided during transmission of the next data packet is adjusted, and the adjusted preset length L0' = L0 × (1- (S0-S)/S0).
Further, a data type library is preset, a preset length is determined according to the actual type of the third-party payment data, a first key character string, a second key character string and a third key character string are arranged in the data type library, and if the packet header of the third-party payment data contains the first key character string, the current third-party payment data belongs to a first type data packet; if the packet header of the third party payment data contains the second key character string, the current third party payment data belongs to a second type data packet; if the packet header of the third-party payment data contains a third key character string, the current third-party payment data belongs to a third type data packet; the length of the first key character string is a first preset length L1, the length of the second key character string is a second preset length L2, and the length of the third key character string is a third preset length L3;
the preset length L0= (L1 + L2+ L3)/3.
Further, in the process of transmitting the third party payment data, at any time, the number of data blocks in the transmission channel is guaranteed to be at most 3.
Compared with the prior art, the method has the advantages that the data blocks in the transmission process can select the optimal transmission path according to the actual transmission efficiency through the real-time evaluation of the transmission efficiency of the transmission path, so that the data blocks keep the transmission sequence in the transmission process, the disorder is effectively avoided, the data does not need to be backed up, the waiting is also not needed, and the recombination efficiency of the third party payment data is greatly improved.
Particularly, before the first data block is transmitted, the network state of the first node is awakened, so that the transmission speed of the first node in the first transmission path is the fastest, the initial transmission speed in the first transmission path is prevented from being high, the time difference is convenient to establish, the first data block is ensured to reach a receiving end before other data blocks, the buffer space is reduced, or the received data does not need to be backed up, and the receiving sequence can be sequentially recombined.
Particularly, the broadcast message carries the ID of the node to be awakened, so that after all nodes receive the broadcast message, whether the ID in the broadcast message is consistent with the ID of the node is determined, if so, the node is the node to be awakened by the sending end, and the node is the first node in the first transmission path.
In particular, the first coefficient k1 is set according to the node sharing rate between the first transmission path and the second transmission path to determine the influence of the second data block entering the transmission path on the transmission efficiency of the first transmission path, so that the judgment of the transmission time is more accurate.
In particular, the real-time positions of the first data block and the second data block in the transmission process are determined, when the transmission efficiency of the second data block is higher than that of the first data block, the next node of the second data block is enabled to sleep, in the sleep state, the main network of the node is closed, but a basic communication network such as 2g/3g is reserved, the transmission rate is reduced, the transmission priority of the first data block in the transmission process can be guaranteed, and the data transmission efficiency is improved.
In particular, after the channel occupied by the first data block is released, the transmission influence of the action on the second data block and the third data block is expressed in the form of the second correction coefficient k2 and the third correction coefficient k3, so that the speed judgment of the second data block and the third data block in the transmission process is more accurate, and the data packet transmission speed is improved.
Particularly, the influence of the data blocks on the transmission of other data blocks in the transmission process is comprehensively evaluated, so that the stability of the current transmission network can be judged, if the network transmission is stable, the data blocks can be sequentially transmitted according to the codes, the transmission messy codes are avoided, the waiting time in the data recombination process is effectively avoided, the transmission process of the data packet is simpler, and the transmission efficiency is improved.
Especially, after the judgment of the network transmission stability, the preset length of the data block is corrected according to the judgment result, if the stability of the third-party payment data transmission is high, the preset length does not need to be adjusted, if the stability of the third-party payment data transmission is low, the preset length needs to be adjusted, and through the adjustment of the length of the data block, the length of the data block is reduced, so that when the data block enters a transmission channel or releases the transmission channel, the influence on other transmission channels is reduced, the stability of the network transmission is further improved, and the third-party payment data is safer and more efficient in the transmission process.
Particularly, the length is preset according to the actual type of the third-party payment data, the actual type is determined according to the key character strings in the packet header of the data packet, and then the average value of the lengths of the key character strings is used as the preset length for cutting the data packet, so that the reasonability of the third-party payment data segmentation is improved, and the speed of data block transmission is improved.
Particularly, the number of the data blocks in the network transmission process is limited, so that the network stability in the transmission process is higher, the influence of network tide caused by excessive number of the transmitted data blocks on the transmission speed of the data blocks is prevented, and the transmission efficiency is improved.
Drawings
Fig. 1 is a schematic flow chart of a transmission processing method of third party payment data according to an embodiment of the present invention.
Detailed Description
In order that the objects and advantages of the invention will be more clearly understood, the invention is further described below with reference to examples; it should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and do not limit the scope of the present invention.
It should be noted that in the description of the present invention, the terms of direction or positional relationship indicated by the terms "upper", "lower", "left", "right", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, which are only for convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Referring to fig. 1, a method for transmitting and processing third party payment data according to an embodiment of the present invention includes:
step S100: acquiring third party payment data to be transmitted;
step S200: partitioning the third party payment data according to a preset length, partitioning the third party payment data into at least two data blocks, wherein the length of the data block containing the packet tail is less than or equal to the preset length, numbering the data blocks in sequence, and respectively forming a first data block, a second data block and an nth data block, n is an integer and is greater than 2;
step S300: selecting any first transmission channel with highest transmission efficiency from the transmission paths to transmit the first data block, re-evaluating the transmission efficiency of each transmission path in the process of transmitting the first data block, determining the transmission efficiency of each transmission path according to the current network state and the influence of the first data block on each transmission path in the transmission process, and then selecting the transmission path with the highest transmission efficiency to transmit the second data block;
step S400: when the first data block reaches the receiving end, the transmission efficiency of the transmission path is evaluated again to determine whether the second data block needs to be switched in the transmission process, and if the transmission path where the second data block is located is not the transmission path with the highest transmission efficiency, line switching is carried out;
step S500: and after all the data blocks reach the receiving end, recombining the data blocks according to the coding sequence to obtain payment request information in the third-party payment data, so that the receiving end performs corresponding operation according to the payment request information.
Specifically, by evaluating the transmission efficiency of the transmission path in real time, the embodiment of the invention enables the data block in the transmission process to select the optimal transmission path according to the actual transmission efficiency, so that the data block keeps the transmission sequence in the transmission process, the generation of disorder is effectively avoided, the data does not need to be backed up, the waiting is also not needed, and the recombination efficiency of the third party payment data is greatly improved.
Specifically, before the transmission of the first data block, the method further includes: sending query information to a first network node in a first transmission channel to query a dormant state of the first network node; if the state of the first network node is a dormant state, sending a wake-up message to the first network node to wake up the first network node;
when the first network node is awakened, sending activation state information to the sending end;
and after receiving the activation state information, sending a first data block to the first network node.
Specifically, in the embodiment of the present invention, before the first data block is transmitted, the network state of the first node is waken up, so that the transmission speed of the first node in the first transmission path is fastest, the initial transmission speed in the first transmission path is prevented from being high, a time difference is convenient to establish, it is ensured that the first data block reaches the receiving end before other data blocks, a buffer space is reduced, or the received data does not need to be backed up, and the receiving sequence can be sequentially recombined.
Specifically, when a first network node is awakened, a sending end sends a broadcast message to all nodes in a communication range of the first network node, the broadcast message comprises an ID (identity) of a node to be awakened, after the node receives the broadcast message, whether the ID in the broadcast message is consistent with the ID of the node is inquired, and if so, the node is awakened;
the current state is maintained if there is no match.
Specifically, in the embodiment of the present invention, by carrying the ID of the node to be woken up in the broadcast message, after all nodes receive the broadcast message, it is determined whether the ID in the broadcast message is consistent with their own ID, and if so, it indicates that the node is the node to be woken up by the sending end, and the node is the first node in the first transmission path, and through waking up before communication, the transmission speed of the first node is increased, and the priority of the data packet in the transmission process is ensured.
Specifically, during the transmission of the third party payment data, when the first data block and the second data block are in the transmission process, setting a time of only the first data block in the transmission path as a first time, setting a time of only the second data block in the transmission path as a second time when the second data block and the first data block are simultaneously set in the transmission path, the first transmission path has a transmission speed V1 during the first time, and when the second time is entered, setting an influence coefficient according to the relation between the first transmission path and the second transmission path, if the number of the common nodes of the first transmission path and the second transmission path is more than or equal to a preset number, it means that the second transmission path has a large influence on the first transmission path, the transmission speed of the first transmission path is reduced to k1 × V1, where 0< k1<1, and k1 are first coefficients, and if the number of nodes shared by the first transmission path and the second transmission path is less than a preset number, the transmission speed of the first transmission path does not need to be adjusted.
Specifically, in the embodiment of the present invention, the first coefficient k1 is set according to the node sharing rate between the first transmission path and the second transmission path to determine the influence of the second data block entering the transmission path on the transmission efficiency of the first transmission path, so that the determination of the transmission time is more accurate.
Specifically, when the first data block and the second data block are in the transmission process and the second data block is in front of the first data block at any time, the next node of the second data block is dormant, and the network transmission rate is reduced to wait for the transmission of the first data block.
Specifically, the embodiment of the present invention determines the real-time positions of the first data block and the second data block during transmission, and when the transmission efficiency of the second data block is higher than that of the first data block, by enabling the next node of the second data block to sleep, in a sleep state, a main network of the node is closed, but a basic communication network, such as 2g/3g, is also reserved, so as to reduce the transmission rate, so that the first data block can ensure the transmission priority during transmission, and improve the data transmission efficiency.
Specifically, in the transmission process of the third party payment data, when the first data block reaches the receiving end and the second data block and the third data block are in the transmission process, the influence of releasing the transmission channel of the original first data block is added to the transmission path of the second data block and the third data block by the second coefficient k2 and the third coefficient k3, so that the transmission rate V2 of the second data block is corrected to (1 + k 2) × V2, and correspondingly, the transmission rate V3 of the third data block is corrected to (1 + k 3) × V3, wherein 1> k2>0.5, and 0.5> k3> 0.
Specifically, after the channel occupied by the first data block is released, the embodiment of the invention expresses the transmission influence of the action on the second data block and the third data block in the form of the second correction coefficient k2 and the third correction coefficient k3, so that the speed judgment of the second data block and the third data block in the transmission process is more accurate, and the data packet transmission speed is improved.
Specifically, a transmission grade is set during transmission of any data packet to evaluate the stability of transmission S, S = k1 × k2 × k3 … × kn, wherein a first coefficient k1 represents that a first data block is affected by other transmission channels; the second coefficient k2 represents the influence of the second data block from other transmission channels; the third coefficient k3 represents the influence of the third data block from other transmission channels; the nth coefficient kn represents the influence of the nth data block from other transmission channels, and the release of the transmission channel and the transmission of a new data block can affect the data block in transmission.
Specifically, the embodiment of the invention can determine the stability of the current transmission network by comprehensively evaluating the influence of the data blocks on the transmission of other data blocks in the transmission process, and if the network transmission is stable, the data blocks can be sequentially transmitted according to the codes, thereby avoiding the transmission of messy codes and effectively avoiding the waiting time in the data recombination process, so that the transmission process of the data packet is simpler and the transmission efficiency is improved.
Specifically, a network stability standard parameter S0 is preset, and if the transmission stability S of any data packet in the transmission process is not less than the network stability standard parameter S0, the current preset length L0 is adopted to segment the wan network data packet when the next data packet is transmitted;
if the transmission stability S during transmission is less than the network stability standard parameter S0, the preset length used when the third party payment data is divided during transmission of the next data packet is adjusted, and the adjusted preset length L0' = L0 × (1- (S0-S)/S0).
Specifically, after the network transmission stability is judged, the preset length of the data block is corrected according to the judgment result, if the third-party payment data transmission stability is high, the preset length does not need to be adjusted, if the third-party payment data transmission stability is low, the preset length needs to be adjusted, and the length of the data block is reduced through adjustment of the length of the data block, so that when the data block enters a transmission channel or releases the transmission channel, the influence on other transmission channels is reduced, the network transmission stability is improved, and the third-party payment data is safer and more efficient in the transmission process.
Specifically, a data type library is preset, a preset length is determined according to the actual type of third-party payment data, a first key character string, a second key character string and a third key character string are arranged in the data type library, and if the packet header of the third-party payment data contains the first key character string, the current third-party payment data belongs to a first type data packet; if the packet header of the third party payment data contains the second key character string, the current third party payment data belongs to a second type data packet; if the packet header of the third-party payment data contains a third key character string, the current third-party payment data belongs to a third type data packet; the length of the first key character string is a first preset length L1, the length of the second key character string is a second preset length L2, and the length of the third key character string is a third preset length L3;
the preset length L0= (L1 + L2+ L3)/3.
Specifically, the length is preset according to the actual type of the third-party payment data, the actual type is determined according to the key character strings in the packet header of the data packet, and then the average value of the lengths of the key character strings is used as the preset length for cutting the data packet, so that the reasonability of the third-party payment data segmentation is improved, and the speed of data block transmission is improved.
Specifically, in the process of transmitting the third party payment data, at any time, the number of data blocks in the transmission channel is guaranteed to be at most 3.
Specifically, the embodiment of the invention limits the number of the data blocks in the network transmission process, so that the network stability in the transmission process is higher, the network tide caused by excessive number of the transmitted data blocks is prevented from influencing the transmission speed of the data blocks, and the transmission efficiency is improved.
Specifically, an embodiment of the present invention further provides a data packet processing apparatus, where the apparatus includes:
the acquisition module is used for acquiring third party payment data to be transmitted;
the blocking module is used for blocking the third-party payment data according to a preset length, dividing the third-party payment data into at least two data blocks, numbering the data blocks including a packet tail in sequence, wherein the length of each data block is less than or equal to the preset length, the data blocks are respectively a first data block, a second data block and an nth data block, n is an integer, and n is greater than 2;
the transmission path selection module is used for selecting any transmission channel with the highest transmission efficiency from the transmission paths to transmit the first data block, re-evaluating the transmission efficiency of each transmission path in the process of transmitting the first data block, determining the transmission efficiency of each transmission path according to the current network state and the influence of the first data block on each transmission path in the transmission process, and then selecting the transmission path with the highest transmission efficiency to transmit the second data block;
the evaluation module is used for evaluating the transmission efficiency of the transmission path again after the first data block reaches the receiving end so as to determine whether the second data block needs to be switched in the transmission process, and if the transmission path of the second data block is not the transmission path with the highest transmission efficiency, the line switching is carried out;
and the recombination module is used for recombining the data blocks according to the coding sequence after all the data blocks reach the receiving end to obtain the payment request information in the third-party payment data so that the receiving end performs corresponding operation according to the payment request information.
Specifically, the device for transmitting and processing third-party payment data according to the embodiment of the present invention is configured to execute the method for transmitting and processing third-party payment data provided by the foregoing embodiment, and the same technical means are adopted, so that the same technical effect can be achieved, and details are not described herein.
The third party payment data transmission processing method and device in the embodiment of the invention can be applied to the conversion of digital currency, in the conversion process of the digital currency, the converted payment request information is the third party payment data to be transmitted, and the corresponding conversion requirement is completed according to the received payment request information, so that the conversion of the digital currency is realized, and the safety of the conversion of the digital currency is improved.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention; various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A transmission processing method of third party payment data is characterized by comprising the following steps:
acquiring third party payment data to be transmitted;
partitioning the third party payment data according to a preset length, partitioning the third party payment data into at least two data blocks, wherein the length of the data block containing the packet tail is less than or equal to the preset length, numbering the data blocks in sequence, and respectively forming a first data block, a second data block and an nth data block, n is an integer and is greater than 2;
selecting any transmission channel with highest transmission efficiency from the transmission paths to transmit the first data block, re-evaluating the transmission efficiency of each transmission path in the process of transmitting the first data block, determining the transmission efficiency of each transmission path according to the current network state and the influence of the first data block on each transmission path in the transmission process, and then selecting the transmission path with the highest transmission efficiency to transmit the second data block;
when the first data block reaches the receiving end, the transmission efficiency of the transmission path is evaluated again to determine whether the second data block needs to be switched in the transmission process, and if the transmission path where the second data block is located is not the transmission path with the highest transmission efficiency, line switching is carried out;
and after all the data blocks reach the receiving end, recombining the data blocks according to the coding sequence to obtain payment request information in the third-party payment data, so that the receiving end performs corresponding operation according to the payment request information.
2. The method for processing transmission of third party payment data according to claim 1,
before the transmission of the first data block, the method further comprises: sending query information to a first network node in a first transmission channel to query a dormant state of the first network node; if the state of the first network node is a dormant state, sending a wake-up message to the first network node to wake up the first network node;
when the first network node is awakened, sending activation state information to the sending end;
and after receiving the activation state information, sending a first data block to the first network node.
3. The method for processing transmission of third party payment data according to claim 2,
when a first network node is awakened, a sending end sends a broadcast message to all nodes in a communication range of the first network node, wherein the broadcast message comprises an ID (identity) of a node to be awakened;
the current state is maintained if there is no match.
4. The method for processing transmission of third party payment data according to claim 3,
during the transmission of the third party payment data, when the first data block and the second data block are in the transmission process, setting a time of only the first data block in the transmission path as a first time, setting a time of only the second data block in the transmission path as a second time when the second data block and the first data block are simultaneously set in the transmission path, the first transmission path has a transmission speed V1 during the first time, and when the second time is entered, setting an influence coefficient according to the relation between the first transmission path and the second transmission path, if the number of the common nodes of the first transmission path and the second transmission path is more than or equal to a preset number, it means that the second transmission path has a large influence on the first transmission path, the transmission speed of the first transmission path is reduced to k1 × V1, where 0< k1<1, and k1 are first coefficients, and if the number of nodes shared by the first transmission path and the second transmission path is less than a preset number, the transmission speed of the first transmission path does not need to be adjusted.
5. The method for processing transmission of third party payment data according to claim 4,
when the first data block and the second data block are in the transmission process and the second data block is in front of the first data block at any time, enabling the next node of the second data block to sleep, and reducing the network transmission rate to wait for the transmission of the first data block.
6. The method for processing transmission of third party payment data according to claim 5,
in the transmission process of the third party payment data, when the first data block reaches the receiving end and the second data block and the third data block are in the transmission process, the influence of releasing the transmission channel of the original first data block is added to the transmission path of the second data block and the third data block by a second coefficient k2 and a third coefficient k3, so that the transmission rate V2 of the second data block is corrected to be (1 + k 2) xV 2, and correspondingly, the transmission rate V3 of the third data block is corrected to be (1 + k 3) xV 3, wherein 1> k2>0.5, 0.5> k3> 0.
7. The method for processing transmission of third party payment data according to claim 6,
setting a transmission grade for any data packet in the transmission process so as to evaluate the stability S of the transmission, wherein S = k1 × k2 × k3 … × kn, and a first coefficient k1 represents that the first data block is influenced by other transmission channels; the second coefficient k2 represents the influence of the second data block from other transmission channels; the third coefficient k3 represents the influence of the third data block from other transmission channels; the nth coefficient kn represents the influence of the nth data block from other transmission channels, and the release of the transmission channel and the transmission of a new data block can affect the data block in transmission.
8. The method for processing transmission of third party payment data according to claim 7,
presetting a network stability standard parameter S0, if the transmission stability S of any data packet in the transmission process is more than or equal to the network stability standard parameter S0, when the next data packet is transmitted, adopting the current preset length L0 to segment the ten-thousand network data packet;
if the transmission stability S during transmission is less than the network stability standard parameter S0, the preset length used when the third party payment data is divided during transmission of the next data packet is adjusted, and the adjusted preset length L0' = L0 × (1- (S0-S)/S0).
9. The method for processing transmission of third party payment data according to any one of claims 1 to 8,
the method comprises the steps that a data type base is preset, the preset length is determined according to the actual type of third-party payment data, a first key character string, a second key character string and a third key character string are arranged in the data type base, and if the packet head of the third-party payment data contains the first key character string, the current third-party payment data belongs to a first type data packet; if the packet header of the third party payment data contains the second key character string, the current third party payment data belongs to a second type data packet; if the packet header of the third-party payment data contains a third key character string, the current third-party payment data belongs to a third type data packet; the length of the first key character string is a first preset length L1, the length of the second key character string is a second preset length L2, and the length of the third key character string is a third preset length L3;
the preset length L0= (L1 + L2+ L3)/3.
10. The method for processing transmission of third party payment data according to claim 9,
in the process of transmitting the third-party payment data, at any moment, the number of data blocks in a transmission channel is ensured to be at most 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110899338.5A CN113347096B (en) | 2021-08-06 | 2021-08-06 | Transmission processing method of third party payment data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110899338.5A CN113347096B (en) | 2021-08-06 | 2021-08-06 | Transmission processing method of third party payment data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113347096A true CN113347096A (en) | 2021-09-03 |
CN113347096B CN113347096B (en) | 2021-11-09 |
Family
ID=77481200
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110899338.5A Active CN113347096B (en) | 2021-08-06 | 2021-08-06 | Transmission processing method of third party payment data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113347096B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114146388A (en) * | 2022-02-07 | 2022-03-08 | 北京新赛点体育投资股份有限公司 | Data processing system and method based on big data |
CN117885538A (en) * | 2024-03-18 | 2024-04-16 | 光克(上海)工业自动化科技有限公司 | New energy vehicle power battery early warning method, system, equipment and storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101114867A (en) * | 2006-07-25 | 2008-01-30 | 深圳Tcl工业研究院有限公司 | Multi-channel synchronization transmitting method and system |
US20150030011A1 (en) * | 2012-04-16 | 2015-01-29 | Huawei Technologies Co., Ltd. | Data transmission method and apparatus |
CN104572476A (en) * | 2015-01-30 | 2015-04-29 | 南京邮电大学 | Software safety testing method based on program slicing |
CN104954206A (en) * | 2015-07-31 | 2015-09-30 | 重庆邮电大学 | Disorder analyzing method for multipath parallel transmission system |
CN105228133A (en) * | 2015-07-10 | 2016-01-06 | 努比亚技术有限公司 | Multi-channel data method for down loading and system |
CN105847139A (en) * | 2016-03-25 | 2016-08-10 | 乐视控股(北京)有限公司 | Data transmission method, apparatus and system |
CN105873096A (en) * | 2016-03-24 | 2016-08-17 | 重庆邮电大学 | Optimization method of efficient throughput capacity of multipath parallel transmission system |
CN105934971A (en) * | 2014-12-19 | 2016-09-07 | 高通股份有限公司 | Techniques for dynamically splitting bearers between various radio access technologies (RATS) |
CN106464419A (en) * | 2014-12-29 | 2017-02-22 | 华为技术有限公司 | Method, device, terminal device and system for adjusting working state of aggregated link |
CN107707640A (en) * | 2017-09-25 | 2018-02-16 | 深圳市盛路物联通讯技术有限公司 | A kind of Point-to-Point Data Transmission method and apparatus |
US10148551B1 (en) * | 2016-09-30 | 2018-12-04 | Juniper Networks, Inc. | Heuristic multiple paths computation for label switched paths |
CN110535786A (en) * | 2019-07-24 | 2019-12-03 | 华为技术有限公司 | A kind of method and relevant device of data transmission |
CN111294289A (en) * | 2020-03-26 | 2020-06-16 | 上海有个机器人有限公司 | Multi-link switching robot communication method and system |
CN111726829A (en) * | 2020-04-29 | 2020-09-29 | 平安科技(深圳)有限公司 | Method and device for acquiring data transmission rate and computer equipment |
-
2021
- 2021-08-06 CN CN202110899338.5A patent/CN113347096B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101114867A (en) * | 2006-07-25 | 2008-01-30 | 深圳Tcl工业研究院有限公司 | Multi-channel synchronization transmitting method and system |
US20150030011A1 (en) * | 2012-04-16 | 2015-01-29 | Huawei Technologies Co., Ltd. | Data transmission method and apparatus |
CN105934971A (en) * | 2014-12-19 | 2016-09-07 | 高通股份有限公司 | Techniques for dynamically splitting bearers between various radio access technologies (RATS) |
CN106464419A (en) * | 2014-12-29 | 2017-02-22 | 华为技术有限公司 | Method, device, terminal device and system for adjusting working state of aggregated link |
CN104572476A (en) * | 2015-01-30 | 2015-04-29 | 南京邮电大学 | Software safety testing method based on program slicing |
CN105228133A (en) * | 2015-07-10 | 2016-01-06 | 努比亚技术有限公司 | Multi-channel data method for down loading and system |
CN104954206A (en) * | 2015-07-31 | 2015-09-30 | 重庆邮电大学 | Disorder analyzing method for multipath parallel transmission system |
CN105873096A (en) * | 2016-03-24 | 2016-08-17 | 重庆邮电大学 | Optimization method of efficient throughput capacity of multipath parallel transmission system |
CN105847139A (en) * | 2016-03-25 | 2016-08-10 | 乐视控股(北京)有限公司 | Data transmission method, apparatus and system |
US10148551B1 (en) * | 2016-09-30 | 2018-12-04 | Juniper Networks, Inc. | Heuristic multiple paths computation for label switched paths |
CN107707640A (en) * | 2017-09-25 | 2018-02-16 | 深圳市盛路物联通讯技术有限公司 | A kind of Point-to-Point Data Transmission method and apparatus |
CN110535786A (en) * | 2019-07-24 | 2019-12-03 | 华为技术有限公司 | A kind of method and relevant device of data transmission |
CN111294289A (en) * | 2020-03-26 | 2020-06-16 | 上海有个机器人有限公司 | Multi-link switching robot communication method and system |
CN111726829A (en) * | 2020-04-29 | 2020-09-29 | 平安科技(深圳)有限公司 | Method and device for acquiring data transmission rate and computer equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114146388A (en) * | 2022-02-07 | 2022-03-08 | 北京新赛点体育投资股份有限公司 | Data processing system and method based on big data |
CN117885538A (en) * | 2024-03-18 | 2024-04-16 | 光克(上海)工业自动化科技有限公司 | New energy vehicle power battery early warning method, system, equipment and storage medium |
CN117885538B (en) * | 2024-03-18 | 2024-05-07 | 光克(上海)工业自动化科技有限公司 | New energy vehicle power battery early warning method, system, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113347096B (en) | 2021-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113347096B (en) | Transmission processing method of third party payment data | |
WO2022100191A1 (en) | Data fusion method and system for distributed sensor network | |
US8811379B2 (en) | Control apparatus and control method | |
WO1998030061A1 (en) | Method and system for quality of service assessment for multimedia traffic under aggregate traffic conditions | |
RU2002104934A (en) | METHOD AND DEVICE FOR DATA TRANSMISSION BY FEEDBACK IN A MOBILE COMMUNICATION SYSTEM | |
US11888744B2 (en) | Spin-leaf network congestion control method, node, system, and storage medium | |
CN111092686A (en) | Data transmission method, device, terminal equipment and storage medium | |
CN109005557B (en) | Time delay symmetry measuring method, device and system | |
KR20070105931A (en) | Method and apparatus for handling segmentation and numbering of sdu(service data unit) in wireless communications system | |
CN108848540B (en) | Relay node selection method and system | |
KR20090053791A (en) | A method for transmitting and analyzing data in the wireless communication network and the apparatus thereof | |
CN109672560A (en) | Flexible ethernet management channel extended method and equipment | |
US20110318009A1 (en) | Pon system, optical network unit used therein, and transmission control method therefor | |
CN110460535A (en) | Concurrent data transfer method between Internet of Things awareness apparatus | |
CN111327970B (en) | Passive optical network management channel, establishment method and system, sending end and receiving end | |
CN114173383A (en) | Channel bandwidth adjusting method, device and node | |
KR100630339B1 (en) | A decision method for burst assembly parameters in optical burst switching network system | |
CN102123010B (en) | Data transmission method for medium access control (MAC) layer in wireless local area network | |
US9661549B2 (en) | Node of an improved multihop ad-hoc radio network and associated method | |
CN104185288B (en) | Multi-user dispatching method and base station | |
CN109560894B (en) | Method and equipment for adapting transmission rate of repeater | |
CN113079490B (en) | Distributed energy efficiency optimization method for machine type communication network short packet random access | |
CN109379646B (en) | Passive optical network system and communication method thereof | |
GAO et al. | Selection Algorithm of eMBB/URLLC Multiplexing Schemes Based on Fuzzy Logic | |
CN111245577B (en) | Data transmission method, system and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |