CN115277814A - Data transmission method and related device - Google Patents

Data transmission method and related device Download PDF

Info

Publication number
CN115277814A
CN115277814A CN202210883253.2A CN202210883253A CN115277814A CN 115277814 A CN115277814 A CN 115277814A CN 202210883253 A CN202210883253 A CN 202210883253A CN 115277814 A CN115277814 A CN 115277814A
Authority
CN
China
Prior art keywords
transmission
information
target user
determining
transmitted
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.)
Pending
Application number
CN202210883253.2A
Other languages
Chinese (zh)
Inventor
刘明恒
余冬慧
罗甜
王世焜
廖新粮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Securities Communication Co ltd
Original Assignee
Shenzhen Securities Communication Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Securities Communication Co ltd filed Critical Shenzhen Securities Communication Co ltd
Priority to CN202210883253.2A priority Critical patent/CN115277814A/en
Publication of CN115277814A publication Critical patent/CN115277814A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The embodiment of the application provides a data transmission method and a related device, wherein the method comprises the following steps: acquiring information to be transmitted, wherein the information to be transmitted is information transmitted to a target user; determining transmission configuration information corresponding to the target user; determining first transmission control information corresponding to the target user according to the transmission configuration information and the attribute information of the target user; and transmitting the information to be transmitted to the target user according to the first transmission control information, and transmitting the data to be transmitted according to the transmission control information determined by the attribute information and the transmission configuration information of the user, so that the stability of data transmission is improved.

Description

Data transmission method and related device
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data transmission method and a related apparatus.
Background
In recent years, the financial industry is developed at a high speed, the service range is expanded, the information exchange is frequent, the data volume is large, the types are complex, the privacy is strong, higher requirements are provided for the data storage and management capability, the data storage depends on data transmission, and the data transmission rate and the transmission stability can also act on the storage product and product users.
The financial industry belongs to the special field, the data storage in industry needs to meet the industry supervision requirements, in the long run, the public cloud products on the market have potential safety hazards, if the stored data are lost or revealed, the influence on customers and enterprises is great, and at present, the high-efficiency storage financial data products are not specially used on the market, so that the financial data storage and management products are produced at will, but the stability of the current financial data storage and management products during data transmission is poor.
Disclosure of Invention
The embodiment of the application provides a data transmission method and a related device, which can transmit data to be transmitted through transmission control information determined by attribute information and transmission configuration information of a user, and improve stability during data transmission.
A first aspect of an embodiment of the present application provides a data transmission method, where the method includes:
acquiring information to be transmitted, wherein the information to be transmitted is information transmitted to a target user;
determining transmission configuration information corresponding to the target user;
determining first transmission control information corresponding to the target user according to the transmission configuration information and the attribute information of the target user;
and transmitting the information to be transmitted to the target user according to the first transmission control information.
In a possible implementation manner, the determining, according to the transmission configuration information and the attribute information of the target user, first transmission control information corresponding to the target user includes:
determining a transmission speed limit parameter corresponding to the target user according to the attribute information of the target user;
determining a flow control parameter corresponding to the target user according to the transmission configuration information;
and determining the first transmission control information according to the transmission speed limit parameter and the flow control parameter.
In a possible implementation manner, the determining, according to the transmission configuration information and the attribute information of the target user, first transmission control information corresponding to the target user includes:
determining a first transmission type corresponding to the target user according to the attribute information of the target user;
determining first reference transmission control information according to the first transmission type;
determining a transmission mode and a second transmission type corresponding to the target user according to the transmission configuration information;
determining second reference transmission control information according to the transmission mode and the second transmission type;
and determining first transmission control information corresponding to the target user according to the first reference transmission control information and the second reference transmission control information.
In one possible implementation manner, the determining the transmission configuration information corresponding to the target user includes:
acquiring attribute information of the target user;
determining the type of the configuration template according to the attribute information;
determining K transmission configuration information templates according to the transmission configuration template types;
acquiring type information of the information to be transmitted;
determining a transmission configuration information template corresponding to the target user from the K transmission configuration information templates according to the type information of the information to be transmitted;
and determining the transmission configuration information corresponding to the target user according to the attribute information of the target user and the transmission configuration information template.
In one possible implementation, the method further includes:
acquiring a first transmission duration for transmitting the information to be transmitted to the target user according to the transmission control information;
if the first transmission duration is longer than a preset duration, acquiring information which is not transmitted in the information to be transmitted;
determining a target demand degree of the untransmitted information for the target user;
if the target demand degree is higher than a preset demand degree, determining second transmission control information;
and transmitting the non-transmission information to the target user according to the second transmission control information.
A second aspect of embodiments of the present application provides a data transmission apparatus, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring information to be transmitted, and the information to be transmitted is information transmitted to a target user;
a first determining unit, configured to determine transmission configuration information corresponding to the target user;
a second determining unit, configured to determine, according to the transmission configuration information and the attribute information of the target user, first transmission control information corresponding to the target user;
and the transmission unit is used for transmitting the information to be transmitted to the target user according to the first transmission control information.
In one possible implementation manner, the second determining unit is configured to:
determining a transmission speed limit parameter corresponding to the target user according to the attribute information of the target user;
determining a flow control parameter corresponding to the target user according to the transmission configuration information;
and determining the first transmission control information according to the transmission speed limit parameter and the flow control parameter.
In one possible implementation manner, the second determining unit is configured to:
determining a first transmission type corresponding to the target user according to the attribute information of the target user;
determining first reference transmission control information according to the first transmission type;
determining a transmission mode and a second transmission type corresponding to the target user according to the transmission configuration information;
determining second reference transmission control information according to the transmission mode and the second transmission type;
and determining first transmission control information corresponding to the target user according to the first reference transmission control information and the second reference transmission control information.
In one possible implementation manner, the first determining unit is configured to:
acquiring attribute information of the target user;
determining the type of the configuration template according to the attribute information;
determining K transmission configuration information templates according to the transmission configuration template types;
acquiring type information of the information to be transmitted;
determining a transmission configuration information template corresponding to the target user from the K transmission configuration information templates according to the type information of the information to be transmitted;
and determining transmission configuration information corresponding to the target user according to the attribute information of the target user and the transmission configuration information template.
In one possible implementation, the apparatus is further configured to:
acquiring a first transmission duration for transmitting the information to be transmitted to the target user according to the transmission control information;
if the first transmission duration is longer than a preset duration, acquiring information which is not transmitted in the information to be transmitted;
determining a target demand degree of the untransmitted information for the target user;
if the target demand degree is higher than a preset demand degree, determining second transmission control information;
and transmitting the non-transmission information to the target user according to the second transmission control information.
A third aspect of the embodiments of the present application provides a terminal, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the step instructions in the first aspect of the embodiments of the present application.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps as described in the first aspect of embodiments of the present application.
A fifth aspect of embodiments of the present application provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has at least the following beneficial effects:
the method comprises the steps of determining transmission configuration information corresponding to a target user by acquiring information to be transmitted, determining first transmission control information corresponding to the target user according to the transmission configuration information and attribute information of the target user, and transmitting the information to be transmitted to the target user according to the first transmission control information, so that data to be transmitted can be transmitted through the transmission control information determined by the attribute information of the user and the transmission configuration information, and stability in data transmission is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another data transmission method provided in the embodiment of the present application;
fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data transmission device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the foregoing drawings are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 is a schematic flow chart of a data transmission method according to an embodiment of the present application. As shown in fig. 1, the method includes:
101. and acquiring information to be transmitted, wherein the information to be transmitted is information transmitted to a target user.
The information to be transmitted may be a financial data depository product, which may be any financial data or the like, for example, insurance data, account information of the user, or the like. The target user may be understood as a user who needs to acquire the financial data storage product, for example, the target user may be a general financial client, or a system administrator, and of course, the target user may also be another user who needs to acquire the financial data storage product.
102. And determining transmission configuration information corresponding to the target user.
The corresponding configuration template type can be determined according to the attribute information of the target user, the corresponding transmission configuration information template can be determined according to the type information of the transmission information, and the transmission configuration information can be determined based on the transmission configuration information template and the attribute information of the target user.
103. And determining first transmission control information corresponding to the target user according to the transmission configuration information and the attribute information of the target user.
The corresponding transmission speed limit parameter can be determined according to the attribute information of the target user, and the first transmission control information can be determined according to the flow control parameter determined by the transmission configuration information. Or the first transmission control information may be determined according to a first transmission type determined by the attribute information of the target user and a second transmission type determined by the transmission configuration information. Of course, the first transmission control information may be determined in other manners.
104. And transmitting the information to be transmitted to the target user according to the first transmission control information.
The transmission parameters may be controlled based on the first transmission control information to transmit the information to be transmitted to the target user. In order to improve the transmission security, IP addresses and access key white lists and limiting parameters for preventing DDOS attacks and brute force cracking can be set.
In this example, the information to be transmitted is acquired and is information to be transmitted to a target user, transmission configuration information corresponding to the target user is determined, first transmission control information corresponding to the target user is determined according to the transmission configuration information and attribute information of the target user, and the information to be transmitted is transmitted to the target user according to the first transmission control information.
In one possible implementation manner, a possible method for determining first transmission control information corresponding to the target user according to the transmission configuration information and the attribute information of the target user includes:
a1, determining a transmission speed limit parameter corresponding to the target user according to the attribute information of the target user;
a2, determining a flow control parameter corresponding to the target user according to the transmission configuration information;
and A3, determining the first transmission control information according to the transmission speed limit parameter and the flow control parameter.
The attribute information of the target user may include port information, communication type information, IP address, and the like. Therefore, the transmission speed limit parameter can be determined according to the port information, the communication type information and the like. For example, different ports may have different transmission rate-limiting parameters, and different communication types may have different transmission rate-limiting parameters.
The transmission configuration information may include an upload speed, a download speed, a maximum traffic, a minimum traffic, and the like.
Therefore, the flow control parameter can be determined according to the transmission configuration information, and the flow control parameter is matched with the uploading speed and the downloading speed in the transmission configuration information.
The transmission rate-limiting parameter and a part of the flow control parameter may be determined as the first transmission control information, and it is specifically understood that, taking the transmission rate-limiting parameter as an example, if the transmission rate-limiting parameter is a, ninety percent of a may be determined as an element in the first transmission control information. Of course, this is merely illustrative.
In this example, the first transmission control information is determined according to the transmission speed limit parameter determined by the attribute information of the target user and the flow control parameter determined by the transmission configuration information, so that the accuracy of determining the first transmission control information is improved.
In a possible implementation manner, another possible method for determining first transmission control information corresponding to the target user according to the transmission configuration information and the attribute information of the target user includes:
b1, determining a first transmission type corresponding to the target user according to the attribute information of the target user;
b2, determining first reference transmission control information according to the first transmission type;
b3, determining a transmission mode and a second transmission type corresponding to the target user according to the transmission configuration information;
b4, determining second reference transmission control information according to the transmission mode and the second transmission type;
and B5, determining first transmission control information corresponding to the target user according to the first reference transmission control information and the second reference transmission control information.
The target user has a corresponding transmission type, and the transmission type can be distinguished according to a transmission rate, a coding mode and the like. Therefore, the first transmission type can be determined according to the transmission rate, the coding mode and the like in the attribute information of the target user.
Different transmission types correspond to different reference transmission control information, so that first reference transmission control information corresponding to the first transmission type can be determined.
The transmission configuration information may include identification information for indicating a transmission mode and a transmission type, so that the transmission mode and the second transmission type corresponding to the target user may be determined. Different transmission modes and different transmission types correspond to different reference transmission control information, so that the second reference transmission control information can be determined.
The first transmission control information corresponding to the target user may be determined according to an intersection of the first reference transmission control information and the second reference transmission control information.
In this example, the first transmission control information is determined by the first reference transmission control information determined by the attribute information of the target user and the second reference transmission control information determined according to the transmission configuration information, so that the accuracy of determining the first transmission control information is improved.
In one possible implementation, a possible method for determining transmission configuration information corresponding to the target user includes:
c1, acquiring attribute information of the target user;
c2, determining the type of the configuration template according to the attribute information;
c3, determining K transmission configuration information templates according to the transmission configuration template types;
c4, obtaining the type information of the information to be transmitted;
c5, determining a transmission configuration information template corresponding to the target user from the K transmission configuration information templates according to the type information of the information to be transmitted;
and C6, determining the transmission configuration information corresponding to the target user according to the attribute information of the target user and the transmission configuration information template.
The attribute information may include a user type, communication port information, communication configuration parameters, and the like. Different attribute information may correspond to a configuration template type, and the configuration template type may include a plurality of transmission configuration information templates, where the transmission configuration information templates are preset templates that may be used to determine subsequent transmission configuration information.
The transmission template type comprises a plurality of transmission configuration information templates, so that the plurality of transmission configuration information templates contained in the transmission template type can be determined as K transmission configuration information templates.
The type information can be determined according to the type identifier, the attribute information and the like in the information to be transmitted. The different type identifiers correspond to different type information, the attribute information may also include indication information of the type identifiers, and the type identifiers are determined based on the indication information, so as to determine the type information.
The transmission configuration information template corresponding to the target user may be determined based on a matching degree between the type information and the transmission configuration information template, for example, the transmission configuration information template with the highest matching degree may be determined as the transmission configuration information template corresponding to the target user. The matching degree can be understood as the adaptability between the type information and the transmission configuration information template, and the adaptability between different types of information and different transmission configuration information templates is different.
Extracting keywords from the attribute information to obtain a keyword set; and setting the keywords in the keyword set at corresponding positions in the transmission configuration information template so as to obtain the transmission configuration information, wherein a general keyword extraction algorithm can be adopted during keyword extraction. The positions of different keywords in the transmission configuration information template are different, so that the keywords in the keyword set can be set at corresponding positions in the transmission configuration information template to obtain the transmission configuration information.
In this example, K transmission configuration information templates are determined according to the attribute information of the target user, a transmission configuration information template corresponding to the target user is determined from the K transmission configuration information templates based on the type information of the information to be transmitted, and finally, the transmission configuration information corresponding to the target user is determined according to the attribute information of the target user and the transmission configuration information template, so that the accuracy in determining the transmission configuration information is improved.
In a possible implementation manner, after the information transmission is interrupted, retransmission can be performed according to the demand of the information that is not transmitted, so as to improve the reliability of transmission, which is specifically as follows:
d1, acquiring a first transmission duration for transmitting the information to be transmitted to the target user according to the transmission control information;
d2, if the first transmission duration is longer than a preset duration, acquiring information which is not transmitted in the information to be transmitted;
d3, determining the target demand degree of the information which is not transmitted to the target user;
d4, if the target demand degree is higher than a preset demand degree, determining second transmission control information;
and D5, transmitting the non-transmission information to the target user according to the second transmission control information.
The first transmission duration may be understood as the duration from the time of transmission of the information to be transmitted to the current time. The preset time is set by an empirical value or historical data.
If the first transmission duration is longer than the preset duration, it may indicate that an overtime condition occurs when the information to be transmitted is transmitted, resulting in only a part of the information being transmitted to the target user.
The information which is not transmitted can be analyzed to obtain specific data; and evaluating the demand degree of the data to obtain the target demand degree of the target user. The method for evaluating the demand degree of the data to obtain the target demand degree of the target user may be that the degree of fit between the demand information of the target user and the data is determined as the target demand degree. The degree of engagement between the demand information and the data can be understood as a proportion value of the data corresponding to the key information in the demand information in the data, wherein the larger the proportion value is, the higher the degree of engagement is, and the smaller the proportion value is, the smaller the degree of engagement is. The preset demand degree is set by an empirical value or historical data. The method for determining the second transmission control information may refer to the method for determining the first transmission control information in the foregoing embodiments, and is not described herein again.
In this example, when the target demand degree of the non-transmission information for the target user is higher than the preset demand degree, second transmission control information is determined, and the non-transmission information is transmitted to the target user according to the second transmission control information, so that all data does not need to be retransmitted, and consumption of transmission resources is reduced.
In a specific embodiment, another data transmission method is provided, which specifically includes:
1. and setting IP addresses and an accessKey white list, and limiting parameters for preventing DDOS attacks and brute force cracking.
Wherein, the IP address may be an IP address of the target user.
2. And setting uploading and downloading limiting rates and limiting time periods aiming at network segments or IP used by different users.
3. And generating a configuration file of the Nginx, controlling the IP and the Access Key in the white list, setting the request number per second and the concurrent connection number, and reloading the Nginx service.
4. And generating a limit rule of fail2ban, automatically blocking the IP of which the number of requests per second and the number of concurrent connections which exceed the Nginx limit and the number of times that the request response status code is 403 reach a specified value, and reloading the fail2ban client.
5. And respectively generating and executing script files of uploading speed limit and downloading speed limit.
6. And generating a virtual network card by using a Traffic Control tool TC (Traffic Control) and enabling configuration to take effect, starting an iftop process, storing output contents into a local file, reading the file contents by a program every second, matching by combining a current rule list and a current speed limit strategy of the TC (Traffic Control) through an IP (Internet protocol), obtaining the speed limit strategy of each user and the current uploading and downloading speeds, and outputting to realize flow speed limit and monitoring.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a data transmission method according to an embodiment of the present application. As shown in fig. 2, the method includes:
201. acquiring information to be transmitted, wherein the information to be transmitted is information transmitted to a target user;
202. determining transmission configuration information corresponding to the target user;
203. determining a transmission speed limit parameter corresponding to the target user according to the attribute information of the target user;
204. determining a flow control parameter corresponding to the target user according to the transmission configuration information;
205. determining the first transmission control information according to the transmission speed limit parameter and the flow control parameter;
206. and transmitting the information to be transmitted to the target user according to the first transmission control information.
In this example, the first transmission control information is determined according to the transmission speed limit parameter determined by the attribute information of the target user and the flow control parameter determined by the transmission configuration information, so that the accuracy of determining the first transmission control information is improved.
In accordance with the foregoing embodiments, please refer to fig. 3, fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present application, and as shown in the drawing, the terminal includes a processor, an input device, an output device, and a memory, and the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program, the computer program includes program instructions, the processor is configured to call the program instructions, and the program includes instructions for performing the following steps;
acquiring information to be transmitted, wherein the information to be transmitted is information transmitted to a target user;
determining transmission configuration information corresponding to the target user;
determining first transmission control information corresponding to the target user according to the transmission configuration information and the attribute information of the target user;
and transmitting the information to be transmitted to the target user according to the first transmission control information.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the terminal includes corresponding hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the terminal may be divided into the functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In accordance with the above, please refer to fig. 4, fig. 4 is a schematic structural diagram of a data transmission device according to an embodiment of the present application. As shown in fig. 4, the apparatus includes:
an obtaining unit 401, configured to obtain information to be transmitted, where the information to be transmitted is information to be transmitted to a target user;
a first determining unit 402, configured to determine transmission configuration information corresponding to the target user;
a second determining unit 403, configured to determine, according to the transmission configuration information and the attribute information of the target user, first transmission control information corresponding to the target user;
a transmission unit 404, configured to transmit the information to be transmitted to the target user according to the first transmission control information.
In one possible implementation manner, the second determining unit 403 is configured to:
determining a transmission speed limit parameter corresponding to the target user according to the attribute information of the target user;
determining a flow control parameter corresponding to the target user according to the transmission configuration information;
and determining the first transmission control information according to the transmission speed limit parameter and the flow control parameter.
In one possible implementation manner, the second determining unit 403 is configured to:
determining a first transmission type corresponding to the target user according to the attribute information of the target user;
determining first reference transmission control information according to the first transmission type;
determining a transmission mode and a second transmission type corresponding to the target user according to the transmission configuration information;
determining second reference transmission control information according to the transmission mode and the second transmission type;
and determining first transmission control information corresponding to the target user according to the first reference transmission control information and the second reference transmission control information.
In one possible implementation, the first determining unit 402 is configured to:
acquiring attribute information of the target user;
determining the type of the configuration template according to the attribute information;
determining K transmission configuration information templates according to the transmission configuration template types;
acquiring type information of the information to be transmitted;
determining a transmission configuration information template corresponding to the target user from the K transmission configuration information templates according to the type information of the information to be transmitted;
and determining transmission configuration information corresponding to the target user according to the attribute information of the target user and the transmission configuration information template.
In one possible implementation, the apparatus is further configured to:
acquiring a first transmission duration for transmitting the information to be transmitted to the target user according to the transmission control information;
if the first transmission duration is longer than a preset duration, acquiring information which is not transmitted in the information to be transmitted;
determining a target demand degree of the untransmitted information for the target user;
if the target demand degree is higher than a preset demand degree, determining second transmission control information;
transmitting the non-transmission information to the target user according to the second transmission control information
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the data transmission methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program causes a computer to execute part or all of the steps of any one of the data transmission methods as described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated unit, if implemented in the form of a software program module and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps of the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, the memory including: flash memory disks, read-only memory, random access memory, magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of data transmission, the method comprising:
acquiring information to be transmitted, wherein the information to be transmitted is information transmitted to a target user;
determining transmission configuration information corresponding to the target user;
determining first transmission control information corresponding to the target user according to the transmission configuration information and the attribute information of the target user;
and transmitting the information to be transmitted to the target user according to the first transmission control information.
2. The method of claim 1, wherein the determining the first transmission control information corresponding to the target user according to the transmission configuration information and the attribute information of the target user comprises:
determining a transmission speed limit parameter corresponding to the target user according to the attribute information of the target user;
determining a flow control parameter corresponding to the target user according to the transmission configuration information;
and determining the first transmission control information according to the transmission speed limit parameter and the flow control parameter.
3. The method of claim 1, wherein the determining the first transmission control information corresponding to the target user according to the transmission configuration information and the attribute information of the target user comprises:
determining a first transmission type corresponding to the target user according to the attribute information of the target user;
determining first reference transmission control information according to the first transmission type;
determining a transmission mode and a second transmission type corresponding to the target user according to the transmission configuration information;
determining second reference transmission control information according to the transmission mode and the second transmission type;
and determining first transmission control information corresponding to the target user according to the first reference transmission control information and the second reference transmission control information.
4. The method according to any of claims 1-3, wherein the determining the transmission configuration information corresponding to the target user comprises:
acquiring attribute information of the target user;
determining the type of the configuration template according to the attribute information;
determining K transmission configuration information templates according to the transmission configuration template types;
acquiring type information of the information to be transmitted;
determining a transmission configuration information template corresponding to the target user from the K transmission configuration information templates according to the type information of the information to be transmitted;
and determining transmission configuration information corresponding to the target user according to the attribute information of the target user and the transmission configuration information template.
5. The method of claim 4, further comprising:
acquiring a first transmission duration for transmitting the information to be transmitted to the target user according to the transmission control information;
if the first transmission duration is longer than a preset duration, acquiring information which is not transmitted in the information to be transmitted;
determining a target demand degree of the untransmitted information for the target user;
if the target demand degree is higher than a preset demand degree, determining second transmission control information;
and transmitting the non-transmission information to the target user according to the second transmission control information.
6. A data transmission apparatus, characterized in that the apparatus comprises:
the device comprises an acquisition unit, a transmission unit and a processing unit, wherein the acquisition unit is used for acquiring information to be transmitted, and the information to be transmitted is information transmitted to a target user;
a first determining unit, configured to determine transmission configuration information corresponding to the target user;
a second determining unit, configured to determine, according to the transmission configuration information and the attribute information of the target user, first transmission control information corresponding to the target user;
and the transmission unit is used for transmitting the information to be transmitted to the target user according to the first transmission control information.
7. The apparatus of claim 6, wherein the second determining unit is configured to:
determining a transmission speed limit parameter corresponding to the target user according to the attribute information of the target user;
determining a flow control parameter corresponding to the target user according to the transmission configuration information;
and determining the first transmission control information according to the transmission speed limit parameter and the flow control parameter.
8. The apparatus of claim 6, wherein the second determining unit is configured to:
determining a first transmission type corresponding to the target user according to the attribute information of the target user;
determining first reference transmission control information according to the first transmission type;
determining a transmission mode and a second transmission type corresponding to the target user according to the transmission configuration information;
determining second reference transmission control information according to the transmission mode and the second transmission type;
and determining first transmission control information corresponding to the target user according to the first reference transmission control information and the second reference transmission control information.
9. A terminal, characterized in that it comprises a processor, an input device, an output device and a memory, said processor, input device, output device and memory being interconnected, wherein said memory is used to store a computer program comprising program instructions, said processor being configured to invoke said program instructions to perform the method according to any of the claims 1-5.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the method according to any one of claims 1-5.
CN202210883253.2A 2022-07-26 2022-07-26 Data transmission method and related device Pending CN115277814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210883253.2A CN115277814A (en) 2022-07-26 2022-07-26 Data transmission method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210883253.2A CN115277814A (en) 2022-07-26 2022-07-26 Data transmission method and related device

Publications (1)

Publication Number Publication Date
CN115277814A true CN115277814A (en) 2022-11-01

Family

ID=83770424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210883253.2A Pending CN115277814A (en) 2022-07-26 2022-07-26 Data transmission method and related device

Country Status (1)

Country Link
CN (1) CN115277814A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160301598A1 (en) * 2013-03-18 2016-10-13 Koninklijke Npn N.V. Localizing and Placement of Network Node Functions in a Network
CN109194647A (en) * 2018-08-30 2019-01-11 北京金山安全软件有限公司 Data transmission method and device, electronic equipment and storage medium
CN110874534A (en) * 2018-08-31 2020-03-10 阿里巴巴集团控股有限公司 Data processing method and data processing device
WO2020258191A1 (en) * 2019-06-27 2020-12-30 Oppo广东移动通信有限公司 Access control method and apparatus and terminal
CN114138813A (en) * 2021-11-30 2022-03-04 平安科技(深圳)有限公司 Attribute configuration method and related device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160301598A1 (en) * 2013-03-18 2016-10-13 Koninklijke Npn N.V. Localizing and Placement of Network Node Functions in a Network
CN109194647A (en) * 2018-08-30 2019-01-11 北京金山安全软件有限公司 Data transmission method and device, electronic equipment and storage medium
CN110874534A (en) * 2018-08-31 2020-03-10 阿里巴巴集团控股有限公司 Data processing method and data processing device
WO2020258191A1 (en) * 2019-06-27 2020-12-30 Oppo广东移动通信有限公司 Access control method and apparatus and terminal
CN114138813A (en) * 2021-11-30 2022-03-04 平安科技(深圳)有限公司 Attribute configuration method and related device

Similar Documents

Publication Publication Date Title
EP3731551A1 (en) Identity authentication method and system, and computing device
CN102137059B (en) Method and system for blocking malicious accesses
US20140344573A1 (en) Decrypting Files for Data Leakage Protection in an Enterprise Network
US9413560B2 (en) Differentiated quality of service using security as a service
CN105357110A (en) Mail sending method, device and system
CN111464513A (en) Data detection method, device, server and storage medium
CN111984733A (en) Data transmission method and device based on block chain and storage medium
CN113746837B (en) Information processing method and apparatus, electronic device, and computer readable medium
CN114567600A (en) Traffic management method and related equipment
EP3334086A1 (en) Online authentication method based on smart card, smart card and authentication server
CN113242301A (en) Method and device for selecting real server, computer equipment and storage medium
CN115297104B (en) File uploading method and device, electronic equipment and storage medium
CN109818915B (en) Information processing method and device, server and readable storage medium
US20170279777A1 (en) File signature system and method
CN114785805B (en) Data transmission method, device, electronic equipment and storage medium
CN115277814A (en) Data transmission method and related device
EP2916514A2 (en) A method for processing URL and an associated server and a non-transitory computer readable storage medium
CN110941412B (en) Method, system and terminal for realizing multi-terminal animation collaborative browsing based on pictures
CN114374686A (en) File processing method, device and equipment based on browser
CN114785691B (en) Network security control method and device, computer equipment and storage medium
CN110519256B (en) Method and device for DApp to access USB private key management equipment
CN113873029B (en) Cryptographic service monitoring method, server, cryptographic machine, system, and storage medium
EP2766815B1 (en) Establish client-host connection
CN116192514A (en) Data interaction method, electronic equipment and storage medium
CN115632992A (en) Data transmission method and device, computer equipment and storage medium

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