Key data transmission method and device and electronic equipment
By dividing the data information into multiple data segments and determining the target transmission link based on the transmission link information, the problem of data transmission delay of the integrated circuit chip is solved, and efficient data transmission rate and time optimization is achieved.
Patent Information
- Application Number
- CN202411121337.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-11-08
AI Technical Summary
During the data transmission process, the transmission delay caused by repeated transmission of data is caused by the existing methods to increase the transmission rate through structural adjustment and destructive transformation, but it is insufficient, and it is easy to cause data loss.
By dividing the data information into multiple data segments, the key content of each data segment is obtained and the target transmission link information is determined based on the transmission link information, and data transmission processing is carried out to avoid damaging the transmission link structure, improve the data transmission rate and reduce the Data is lost.
While ensuring complete data transmission, the data transmission rate is improved and the transmission time is reduced, and the data transmission efficiency of the chip is optimized.
Smart Images

Figure CN118921331A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of integrated circuit chips, and in particular to a key data transmission method, device, electronic device, storage medium and computer program product. Background Art
[0002] With the rapid development of integrated circuit chips, the operating efficiency of integrated circuit chips is increasing day by day. However, during the data transmission process of the chip, the transmission link of the chip often repeats the data transmission multiple times to ensure the successful transmission of the data, resulting in data transmission delay.
[0003] In the related art, the transmission rate of the transmission link can be improved by structural adjustment and destructive transformation of the transmission link of the chip, but this method still causes repeated transmission of data, resulting in insufficient data transmission rate in the chip. Summary of the invention
[0004] Based on this, it is necessary to provide a key data transmission method, device, electronic device, computer-readable storage medium and computer program product that can improve the data transmission rate of the chip in response to the above technical problems.
[0005] In a first aspect, the present application provides a key data transmission method. The method comprises:
[0006] Based on the data transmission process corresponding to each data information to be transmitted in the chip, each data information is divided into a plurality of data segments; the data transmission process is determined based on the data transmission task of each data information;
[0007] Acquire key data content of each data segment in the data information, and determine target transmission link information corresponding to each key data content based on each key data content and transmission link information of the chip; the transmission link information includes a target transmission rate and a unit data transmission volume;
[0008] Based on the target transmission link information corresponding to each of the key data contents, data transmission processing is performed on each of the key data contents.
[0009] In one embodiment, the data transmission process corresponding to each data information to be transmitted in the chip is divided into multiple data segments, including:
[0010] Based on each data recipient included in the data transmission process, dividing the data information into sub-data contents corresponding to each data recipient;
[0011] Determine a data transmission mode for transmitting each of the sub-data contents to a data recipient corresponding to the sub-data contents;
[0012] For each of the data recipients, the data transmission mode corresponding to the data recipient and the sub-data content corresponding to the data recipient are used as the data segment corresponding to the data recipient.
[0013] In one of the embodiments, before dividing the data information into sub-data contents corresponding to each data recipient included in the data transmission process, the method further includes:
[0014] For each piece of data information, the data receivers are arranged based on the position information corresponding to each sub-data content of the data information to obtain the data transmission flow of the data information.
[0015] In one embodiment, the step of obtaining key data content of each data segment in the data information includes:
[0016] Based on the data type of the data information, determining a feature extraction strategy corresponding to the data information;
[0017] Based on the feature extraction strategy, data feature information of the sub-data content of each of the data segments is extracted, and the data feature information is used as the key data content of the data segment.
[0018] In one of the embodiments, before determining the target transmission link information corresponding to each of the key data contents based on the key data contents and the transmission link information of the chip, the method further includes:
[0019] For each transmission link information, a data transmission process of each sample data in the first data sequence is simulated by a transmission simulation model according to the sequence order of the first data sequence to obtain first transmission rate distribution information of the transmission link information; the first data sequence is obtained based on sample data in the same data transmission task;
[0020] The data transmission process of each sample data in the second data sequence is simulated by the transmission simulation model according to the sequence order of the second data sequence to obtain the second transmission rate distribution information of the transmission link information; the second data sequence is obtained based on the sample data with the same data volume and belonging to different data transmission tasks;
[0021] Determine a rate turning point in the first transmission rate distribution information, and determine a data volume of sample data corresponding to the rate turning point as a unit data transmission volume of the transmission link information;
[0022] A rate turning point in the second transmission rate distribution information is determined, and a transmission rate corresponding to the rate turning point is determined as a target transmission rate of the transmission link information.
[0023] In one embodiment, the method further comprises:
[0024] For the sample data in each of the data transmission tasks, the sample data in each of the data transmission tasks are sorted according to the data amount of the sample data to obtain a first data sequence corresponding to each of the data transmission tasks;
[0025] Determining the transmission complexity of each data transmission task based on the data transmission process of each data transmission task;
[0026] For the sample data with the same data volume and belonging to different data transmission tasks, the sample data are sorted according to the size of the transmission complexity to obtain a second data sequence of the sample data.
[0027] In one embodiment, the method further comprises:
[0028] Determining, based on the link structure of the transmission link corresponding to each transmission link information, an operation mode of each transmission link in the process of executing the data transmission task;
[0029] Based on each of the link structures and the operation mode of each of the link structures, a transmission simulation model including information of each of the transmission links is constructed.
[0030] In one embodiment, the determining the target transmission link information corresponding to each key data content based on each key data content and the transmission link information of the chip includes:
[0031] For each key data content, determine, in each transmission link information, the transmission link information whose unit data transmission volume is lower than the data volume of the key data content as the initial transmission link information;
[0032] Determining, based on the transmission complexity of the key data content, a data transmission rate of the key data content corresponding to each of the initial transmission link information;
[0033] Among the various initial transmission link information, the initial transmission link information with the fastest data transmission rate is determined as the target transmission link information corresponding to the key data content.
[0034] In a second aspect, the present application also provides a key data transmission device. The device comprises:
[0035] A data division module, used for dividing each data information into a plurality of data segments based on a data transmission process corresponding to each data information to be transmitted in the chip; the data transmission process is determined based on the data transmission task of each data information;
[0036] A link determination module, used to obtain key data content of each data segment in the data information, and determine target transmission link information corresponding to each key data content based on each key data content and the transmission link information of the chip; the transmission link information includes a target transmission rate and a unit data transmission volume;
[0037] The data transmission module is used to perform data transmission processing on each of the key data contents based on the target transmission link information corresponding to each of the key data contents.
[0038] In a third aspect, the present application further provides an electronic device, wherein the electronic device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in the first aspect are implemented.
[0039] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0040] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0041] The above-mentioned key data transmission method, device, electronic device, storage medium and computer program product, by splitting each data information into multiple data segments, and identifying the target transmission rate of each transmission link information and the unit data transmission volume, screen the target transmission link information corresponding to each data segment, thereby transmitting a single data information simultaneously through multiple transmission links, and avoiding destroying the transmission structure of the transmission link information, by splitting the data transmission, the data transmission rate of the single data information is improved, and the amount of data transmitted by each transmission link after the splitting is small, which is not easy to cause the transmission loss of data information, and reduces the repeated transmission caused by the loss of data information, thereby optimizing the data transmission time of a single data information. Therefore, this scheme improves the data transmission rate of data information, reduces the data transmission time of data information, and reduces the transmission time of data information during the transmission process while ensuring that the data information can be fully transmitted, thereby improving the transmission rate of the chip. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] FIG1 is an application environment diagram of a key data transmission method in one embodiment;
[0044] FIG2 is a schematic diagram of a key data transmission method according to an embodiment;
[0045] FIG3 is a schematic flow chart of a step of dividing data segments in one embodiment;
[0046] FIG4 is a schematic diagram of a flow chart of a step of determining target transmission link information in one embodiment;
[0047] FIG5 is a block diagram of a key data transmission device in one embodiment;
[0048] FIG. 6 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0050] The key data transmission method provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The server 104 contains multiple chips that interact with each other. The terminal 102 can obtain the data to be processed and send the data to the server 104. After receiving the data, the server 104 processes the data through multiple chips to obtain the processed data. The processed data can be transmitted from one chip to another chip for further processing as needed. Based on this, the server 104 can divide the data information into multiple data segments through the data transmission process corresponding to the data information to be transmitted in the chip. The server 104 can obtain the data transmission process through the data transmission task of the data information. The server 104 can determine the target transmission link information corresponding to the key data content based on the key data content of each data segment and the data link information of the chip. Finally, the key data content is transmitted through the target transmission link information. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 may be implemented using an independent server or a server cluster consisting of multiple servers.
[0051] In an exemplary embodiment, as shown in FIG2 , a key data transmission method is provided, which is described by taking the method applied to the server in FIG1 as an example, and includes the following steps S202 to S206 . Among them:
[0052] Step S202: based on the data transmission process corresponding to each piece of data information to be transmitted in the chip, divide each piece of data information into a plurality of data segments.
[0053] Among them, the data transmission process is determined based on the data transmission tasks of each data information.
[0054] Specifically, the server monitors the data interaction process of the chip in real time and collects data information that needs to be transmitted by the chip. The server can perform data transmission tasks for each data information, parse the data transmission tasks, and obtain at least one data transmission process corresponding to the data transmission task. The server can divide the data information into multiple data segments according to the multiple process nodes included in the data transmission process and the data flow direction of the data information in the process nodes.
[0055] Step S204, acquiring key data content of each data segment in the data information, and determining target transmission link information corresponding to each key data content based on each key data content and the transmission link information of the chip.
[0056] The transmission link information includes the target transmission rate and the unit data transmission volume. The target transmission rate is the optimal transmission rate of the transmission link information, and the unit data transmission volume is the maximum data transmission volume of the transmission link information before the transmission rate drops. The key data content is the data content in the data segment that can be used for actual business processing.
[0057] Specifically, the server traverses multiple data information, and for multiple data segments of the current data information, determines the key data content of each data segment through the data type in the data segment. For example, the data type can be format data, transmission standard data, and business data, where the business data is the key data content. The server can obtain multiple transmission link information of the chip, and match the key data content with the transmission link information, determine one or more transmission link information that matches the key data content, and use them as the target transmission link information. The matching mechanism between the key data content and the transmission link information can be that the transmission speed of the key data content in the transmission link information is the fastest, or the usage rate corresponding to the transmission link information is lower than the target threshold, etc. The server can match the target transmission rate with the transmission rate required by the data segment, and if the matching conditions are met, the transmission link information is determined to be the target transmission link information corresponding to the data segment.
[0058] Step S206: performing data transmission processing on each key data content based on the target transmission link information corresponding to each key data content.
[0059] Specifically, the server calls the target transmission link in the chip according to the target transmission link information, transmits the corresponding key data content through the target transmission link, and transmits the key data content to the terminal chip corresponding to the data transmission process according to the data transmission process.
[0060] In the above-mentioned key data transmission method, by splitting each data message into multiple data segments, identifying the target transmission rate of each transmission link information and the unit data transmission volume, and screening the target transmission link information corresponding to each data segment, a single data message is transmitted simultaneously through multiple transmission links. By splitting the data transmission, the data transmission rate of a single data message is improved while avoiding destroying the transmission structure of the transmission link information. Moreover, the amount of data transmitted by each transmission link after the splitting is small, which is not easy to cause the transmission loss of data information, and reduces the repeated transmission caused by the loss of data information, thereby optimizing the data transmission time of a single data message. Therefore, this scheme improves the data transmission rate of data information, reduces the data transmission time of data information, and reduces the transmission time of data information during the transmission process while ensuring that the data information can be fully transmitted, thereby improving the transmission rate of the chip.
[0061] In an exemplary embodiment, as shown in FIG3 , the step of “dividing each data message into multiple data segments based on the data transmission process corresponding to each data message to be transmitted in the chip” includes steps S302 to S306 . Among them:
[0062] Step S302: based on the data receivers included in the data transmission process, the data information is divided into sub-data contents corresponding to the data receivers.
[0063] The data transmission process includes multiple data receivers, and the transmission process corresponding to each data receiver may be different.
[0064] Specifically, for each data message, based on the data recipient in the data transmission process of the data message, the server divides the data message to be transmitted into multiple sub-data contents according to the data required to be received by the data recipient, wherein one sub-data content corresponds to one data recipient. The data transmission process can classify the data message, and according to the classified transmission process, different types of data are sent to different data recipients, and each type of data message can be used as a sub-data content.
[0065] Step S304: determine a data transmission mode for transmitting each sub-data content to a data recipient corresponding to the sub-data content.
[0066] Specifically, the server can select a matching data transmission method from pre-configured data transmission methods according to the data type of the sub-data content and the type of the data recipient corresponding to each sub-data content. For example, the data type of the sub-data content can be text data, image data, audio data, etc. The text data is transmitted using the first transmission method, the image data is transmitted using the second transmission method, and the audio data is transmitted using the third transmission method. For example, if the type of the data recipient is a read-only type, the data recipient will lock the data, and only the data that cannot be edited can be transmitted to the data recipient, and the data transmission method is encrypted transmission.
[0067] Step S306: For each data receiver, the data transmission mode corresponding to the data receiver and the sub-data content corresponding to the data receiver are used as the data segment corresponding to the data receiver.
[0068] Specifically, the server adds the identifier of the data transmission mode to the sub-data content, and determines the sub-data content as the data segment corresponding to the data receiver. The server can send the data segment from the data sender to the data receiver according to the data transmission mode in the data segment, and both the data sender and the data receiver are chips.
[0069] In this embodiment, data information is split according to the differences in data receivers, and the data transmission method of each sub-data content is identified to obtain various data segments, thereby improving the accuracy of data splitting and improving the transmission efficiency of splitting and transmitting data information through various transmission link information.
[0070] In an exemplary embodiment, before the step of “dividing the data information into sub-data contents corresponding to each data recipient included in the data transmission process”, the method further includes:
[0071] For each piece of data information, each data receiver is arranged based on the position information corresponding to each sub-data content of the data information to obtain the data transmission flow of the data information.
[0072] Specifically, the server identifies the data content of each data message, and identifies the data recipient corresponding to each data transmission task, as well as the sub-data content required by each data recipient. Then, for each data message, the server arranges and processes each data recipient according to the position information of each sub-data content in the data message, and obtains the data transmission process of the data message. For example, each sub-data content in the data message uses an identifier as position information and is sorted by the order of the identifiers. Since the sub-data contents can all correspond to data recipients, the data recipients can be sorted by the order of the identifiers, thereby obtaining the sorted data recipients, and thus updating the data transmission process of the data message.
[0073] In this embodiment, the data is divided into different data transmission processes by the data receiver, thereby improving the accuracy of the data transmission process.
[0074] In an exemplary embodiment, the specific implementation process of the step of "obtaining key data content of each data segment in the data information" includes:
[0075] Based on the data type of the data information, determine the feature extraction strategy corresponding to the data information; based on the feature extraction strategy, extract the data feature information of the sub-data content of each data segment, and use the data feature information as the key data content of the data segment.
[0076] Among them, the data types include text data, image data, and audio data, etc. The feature extraction strategy corresponding to text data is the text semantic feature recognition network, the feature extraction strategy corresponding to image data is the convolutional neural network corresponding to the image edge recognition algorithm, and the feature extraction strategy corresponding to audio data is the semantic feature recognition network.
[0077] Specifically, the server can obtain the data type corresponding to each data information, and for data information of different data types, use the feature extraction strategy corresponding to the data type to extract the data feature information of the sub-data content of each data segment in each data information, and use the data feature information as the key data content of the data segment.
[0078] In this embodiment, the key data content of each data segment is extracted through different data types, thereby improving the accuracy and comprehensiveness of the extracted key data content.
[0079] In an exemplary embodiment, before the step of “determining target transmission link information corresponding to each key data content based on each key data content and the transmission link information of the chip”, the method further includes:
[0080] For each transmission link information, the data transmission process of each sample data in the first data sequence is simulated according to the sequence order of the first data sequence through the transmission simulation model to obtain the first transmission rate distribution information of the transmission link information; the first data sequence is obtained based on the sample data in the same data transmission task; the data transmission process of each sample data in the second data sequence is simulated according to the sequence order of the second data sequence through the transmission simulation model to obtain the second transmission rate distribution information of the transmission link information; the second data sequence is obtained based on sample data with the same data volume and belonging to different data transmission tasks; the rate turning point in the first transmission rate distribution information is determined, and the data volume of the sample data corresponding to the rate turning point is determined, which is the unit data transmission volume of the transmission link information; the rate turning point in the second transmission rate distribution information is determined, and the transmission rate corresponding to the rate turning point is determined, which is the target transmission rate of the transmission link information.
[0081] The first data sequence is obtained based on sample data in the same data transmission task; the second data sequence is obtained based on sample data with the same data volume but belonging to different data transmission tasks.
[0082] Specifically, by traversing each transmission link information, the server can simulate the transmission process of the sample data contained in the first data sequence according to the sequence order of the first data sequence from front to back through a pre-constructed transmission simulation model, thereby obtaining the first transmission rate distribution information corresponding to each transmission link. The horizontal axis of the first transmission rate distribution information is the data volume, and the vertical axis is the data transmission rate. The server can simulate the transmission process of the sample data contained in the second data sequence according to the sequence order of the second data sequence from front to back through a pre-constructed transmission simulation model, thereby obtaining the second transmission rate distribution information corresponding to each transmission link. The horizontal axis of the second transmission rate distribution information is the transmission complexity, and the vertical axis is the data transmission rate.
[0083] The server identifies the rate turning point in the first transmission rate distribution information, and uses the data volume of the sample data corresponding to the turning point as the unit data transmission volume of the transmission link information. The rate turning point is a turning point where the rate changes from increasing to decreasing when the data volume is too large, or where the rate changes from decreasing to increasing. In addition, the server identifies the rate turning point in the second transmission rate distribution information, and uses the transmission rate corresponding to the rate turning point as the target transmission rate of the transmission link information.
[0084] In this embodiment, the target transmission rate and unit data transmission volume of each transmission link information are identified through data of different data volumes and data of different data transmission complexities, thereby improving the accuracy and practicality of the identification.
[0085] In an exemplary embodiment, the method further comprises:
[0086] For the sample data in each data transmission task, the sample data in each data transmission task is sorted according to the data volume of the sample data to obtain a first data sequence corresponding to each data transmission task; based on the data transmission process of each data transmission task, the transmission complexity of each data transmission task is determined; for the sample data with the same data volume but belonging to different data transmission tasks, the sample data is sorted according to the size of the transmission complexity to obtain a second data sequence of the sample data.
[0087] Specifically, the server obtains sample data of different data volumes and belonging to different data transmission tasks, and sorts the sample data of the same data transmission task in order of data volume from small to large to obtain a first data sequence of each sample data. The server identifies the transmission process corresponding to each data transmission task, and identifies the transmission complexity of each data transmission task based on the transmission process of each data transmission task. The transmission process is the transmission steps corresponding to the data information, and the data receiver corresponding to each transmission step node.
[0088] In addition, the server can also obtain the transmission length range of the transmission process corresponding to each preset transmission complexity. The server obtains the transmission length corresponding to the transmission process of each data transmission task, and determines the length range to which each transmission length belongs, thereby determining the transmission complexity corresponding to each data transmission task. In one example, the transmission length of the transmission process is the number of transmission recipients of the transmission process. Finally, the server sorts the sample data of the same data volume and belonging to different data transmission tasks in the order of the transmission complexity of the data transmission task from small to large, and obtains a second data sequence of each sample data.
[0089] In this embodiment, by identifying the transmission process of each data transmission task, the transmission complexity corresponding to each data transmission task is determined to sort the data, thereby improving the accuracy of the first data sequence and the second data sequence, and providing a data basis for subsequent analysis of the transmission rate of each transmission link information.
[0090] In an exemplary embodiment, the method further comprises:
[0091] Based on the link structure of the transmission link corresponding to each transmission link information, the operation mode of each transmission link in the process of executing the data transmission task is determined; based on each link structure and the operation mode of each link structure, a transmission simulation model containing each transmission link information is constructed.
[0092] Specifically, the server obtains the link structure of each transmission link information, and based on the link structure of each transmission link information, identifies the operation mode of the link structure of each transmission link in the process of executing the data transmission task. The link structure includes the software structure of the transmission link information, such as the transmission thread, etc., and the hardware structure of the transmission link information. The server constructs a transmission simulation model containing all transmission link information based on the link structure of each transmission link information and the operation mode of each link structure. The method of constructing the transmission simulation model is to construct the model through a finite element simulation algorithm. The operation mode is the transmission mode corresponding to the data transmission function of the transmission link information.
[0093] In this embodiment, a transmission simulation model is constructed by transmitting the link structure and operation mode of link information, thereby improving the accuracy of the constructed transmission simulation model.
[0094] In an exemplary embodiment, as shown in FIG4 , the step of “determining target transmission link information corresponding to each key data content based on each key data content and the transmission link information of the chip” includes steps S402 to S406. Among them:
[0095] Step S402: for each key data content, determine, in each transmission link information, the transmission link information whose unit data transmission volume is lower than the data volume of the key data content as the initial transmission link information.
[0096] Specifically, for each key data content, the server obtains the data volume of the key data content and the unit data transmission volume of each transmission link information, and selects the transmission link information corresponding to the unit data transmission volume lower than the data volume of the key data content from each transmission link information as the initial transmission link information.
[0097] Step S404: determining the data transmission rate of the key data content corresponding to each initial transmission link information based on the transmission complexity of the key data content.
[0098] Specifically, the server identifies the data volume of each key data content, and identifies the transmission complexity of each key data content based on the data transmission mode of each key data content. The specific transmission complexity identification method is the same as the transmission complexity identification process of the data transmission task of the sample data above, and will not be described in detail here.
[0099] In addition, based on the transmission complexity of the key data content and the second transmission rate distribution information of each initial transmission link information, the server identifies the data transmission rate corresponding to the transmission complexity of the key data content in the second transmission rate distribution information of each initial transmission link information. In one example, the server can calculate the actual transmission rate between the multiple rate information corresponding to each time period in the second transmission rate distribution information and the transmission complexity, and determine the average data transmission rate corresponding to the multiple actual transmission rates.
[0100] Step S406: Determine the initial transmission link information with the fastest data transmission rate among the initial transmission link information, and use it as the target transmission link information corresponding to the key data content.
[0101] Specifically, the server selects the initial transmission link information corresponding to the highest data transmission rate among the above data transmission rates as the target transmission link information corresponding to the key data content. In one example, the server can select the initial transmission link information with the fastest average data transmission rate as the target transmission link information corresponding to the key data content.
[0102] In this embodiment, by screening the transmission link information with the highest data transmission rate and not affecting the transmission efficiency of the transmission link information, as the target transmission link information corresponding to the key data content, the data transmission rate and data transmission efficiency of the determined target transmission link information for the key data content are improved.
[0103] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0104] Based on the same inventive concept, the embodiment of the present application also provides a key data transmission device for implementing the key data transmission method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more key data transmission device embodiments provided below can refer to the limitations on the key data transmission method above, and will not be repeated here.
[0105] In an exemplary embodiment, as shown in FIG5 , a key data transmission device 500 is provided, comprising: a data partitioning module 501, a link determination module 502 and a data transmission module 503, wherein:
[0106] The data division module 501 is used to divide each data information into multiple data segments based on the data transmission process corresponding to each data information to be transmitted in the chip; the data transmission process is determined based on the data transmission task of each data information;
[0107] The link determination module 502 is used to obtain the key data content of each data segment in the data information, and determine the target transmission link information corresponding to each key data content based on the key data content and the transmission link information of the chip; the transmission link information includes the target transmission rate and the unit data transmission volume;
[0108] The data transmission module 503 is used to perform data transmission processing on each key data content based on the target transmission link information corresponding to each key data content.
[0109] Furthermore, the data partitioning module 501 is specifically used to: divide the data information into sub-data contents corresponding to each data recipient based on each data recipient included in the data transmission process; determine the data transmission method for transmitting each sub-data content to the data recipient corresponding to the sub-data content; and for each data recipient, use the data transmission method corresponding to the data recipient and the sub-data content corresponding to the data recipient as the data segment corresponding to the data recipient.
[0110] Furthermore, the data partitioning module 501 includes a process acquisition unit, which is specifically used to: for each data information, based on the position information corresponding to each sub-data content of the data information, arrange each data receiver to obtain the data transmission process of the data information.
[0111] Furthermore, the link determination module 502 is specifically used to: determine a feature extraction strategy corresponding to the data information based on the data type of the data information; extract data feature information of the sub-data content of each data segment based on the feature extraction strategy, and use the data feature information as the key data content of the data segment.
[0112] Furthermore, the link determination module 502 includes a data acquisition unit, which is specifically used to: for each transmission link information, simulate the data transmission process of each sample data in the first data sequence according to the sequence order of the first data sequence through the transmission simulation model to obtain the first transmission rate distribution information of the transmission link information; the first data sequence is obtained based on the sample data in the same data transmission task; simulate the data transmission process of each sample data in the second data sequence according to the sequence order of the second data sequence through the transmission simulation model to obtain the second transmission rate distribution information of the transmission link information; the second data sequence is obtained based on sample data with the same data volume and belonging to different data transmission tasks; determine the rate turning point in the first transmission rate distribution information, and determine the data volume of the sample data corresponding to the rate turning point, which is the unit data transmission volume of the transmission link information; determine the rate turning point in the second transmission rate distribution information, and determine the transmission rate corresponding to the rate turning point, which is the target transmission rate of the transmission link information.
[0113] Furthermore, the device also includes a sequence determination module, which is specifically used to: for the sample data in each data transmission task, sort the sample data in each data transmission task according to the data volume of the sample data to obtain a first data sequence corresponding to each data transmission task; based on the data transmission process of each data transmission task, determine the transmission complexity of each data transmission task; for sample data with the same data volume and belonging to different data transmission tasks, sort the sample data according to the size of the transmission complexity to obtain a second data sequence of the sample data.
[0114] Furthermore, the device also includes a model determination module, which is specifically used to: determine the operating mode of each transmission link in the process of executing the data transmission task based on the link structure of the transmission link corresponding to each transmission link information; based on each link structure and the operating mode of each link structure, construct a transmission simulation model containing each transmission link information.
[0115] Furthermore, the link determination module 502 is specifically used to: for each key data content, determine, in each transmission link information, the transmission link information whose unit data transmission volume is lower than the data volume of the key data content, as the initial transmission link information; based on the transmission complexity of the key data content, determine the data transmission rate of the key data content corresponding to each initial transmission link information; and in each initial transmission link information, determine the initial transmission link information with the fastest data transmission rate, as the target transmission link information corresponding to the key data content.
[0116] Each module in the above device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in an electronic device in the form of hardware, or can be stored in a memory in an electronic device in the form of software, so that the processor can call and execute operations corresponding to each module above.
[0117] In an exemplary embodiment, an electronic device is provided, which may be a server, and its internal structure diagram may be shown in FIG6. The electronic device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store data transmission processes, data information to be transmitted, etc. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a key data transmission method is implemented.
[0118] Those skilled in the art will understand that the structure shown in FIG. 6 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0119] In an exemplary embodiment, an electronic device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0120] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0121] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0122] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0123] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0124] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0125] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A key data transmission method, characterized in that: The method comprises: Based on the data transmission process corresponding to each data information to be transmitted in the chip, each data information is divided into a plurality of data segments; the data transmission process is determined based on the data transmission task of each data information; Acquire key data content of each data segment in the data information, and determine target transmission link information corresponding to each key data content based on each key data content and transmission link information of the chip; the transmission link information includes a target transmission rate and a unit data transmission volume; Based on the target transmission link information corresponding to each of the key data contents, data transmission processing is performed on each of the key data contents.
2. The method according to claim 1, characterized in that The data transmission process corresponding to each data information to be transmitted in the chip is divided into multiple data segments, including: Based on each data recipient included in the data transmission process, dividing the data information into sub-data contents corresponding to each data recipient; Determine a data transmission mode for transmitting each of the sub-data contents to a data recipient corresponding to the sub-data contents; For each of the data recipients, the data transmission mode corresponding to the data recipient and the sub-data content corresponding to the data recipient are used as the data segment corresponding to the data recipient.
3. The method according to claim 2, characterized in that Before dividing the data information into sub-data contents corresponding to each data recipient included in the data transmission process, the method further includes: For each piece of data information, the data receivers are arranged based on the position information corresponding to each sub-data content of the data information to obtain the data transmission flow of the data information.
4. The method according to claim 2, characterized in that: The step of obtaining key data content of each data segment in the data information includes: Based on the data type of the data information, determining a feature extraction strategy corresponding to the data information; Based on the feature extraction strategy, data feature information of the sub-data content of each of the data segments is extracted, and the data feature information is used as the key data content of the data segment.
5. The method according to claim 1, characterized in that Before determining the target transmission link information corresponding to each key data content based on each key data content and the transmission link information of the chip, the method further includes: For each transmission link information, a data transmission process of each sample data in the first data sequence is simulated by a transmission simulation model according to the sequence order of the first data sequence to obtain first transmission rate distribution information of the transmission link information; the first data sequence is obtained based on sample data in the same data transmission task; The data transmission process of each sample data in the second data sequence is simulated by the transmission simulation model according to the sequence order of the second data sequence to obtain the second transmission rate distribution information of the transmission link information; the second data sequence is obtained based on the sample data with the same data volume and belonging to different data transmission tasks; Determine a rate turning point in the first transmission rate distribution information, and determine a data volume of sample data corresponding to the rate turning point as a unit data transmission volume of the transmission link information; A rate turning point in the second transmission rate distribution information is determined, and a transmission rate corresponding to the rate turning point is determined as a target transmission rate of the transmission link information.
6. The method according to claim 5, characterized in that The method further comprises: For the sample data in each of the data transmission tasks, the sample data in each of the data transmission tasks are sorted according to the data amount of the sample data to obtain a first data sequence corresponding to each of the data transmission tasks; Determining the transmission complexity of each data transmission task based on the data transmission process of each data transmission task; For the sample data with the same data volume and belonging to different data transmission tasks, the sample data are sorted according to the size of the transmission complexity to obtain a second data sequence of the sample data.
7. The method according to claim 5, characterized in that The method further comprises: Determining, based on the link structure of the transmission link corresponding to each transmission link information, an operation mode of each transmission link in the process of executing the data transmission task; Based on each of the link structures and the operation mode of each of the link structures, a transmission simulation model including information of each of the transmission links is constructed.
8. The method according to claim 1, characterized in that The determining, based on the key data contents and the transmission link information of the chip, target transmission link information corresponding to each key data content includes: For each key data content, determine, in each transmission link information, the transmission link information whose unit data transmission volume is lower than the data volume of the key data content as the initial transmission link information; Determining, based on the transmission complexity of the key data content, a data transmission rate of the key data content corresponding to each of the initial transmission link information; Among the various initial transmission link information, the initial transmission link information with the fastest data transmission rate is determined as the target transmission link information corresponding to the key data content.
9. A key data transmission device, characterized in that: The device comprises: A data division module, used for dividing each data information into a plurality of data segments based on a data transmission process corresponding to each data information to be transmitted in the chip; the data transmission process is determined based on the data transmission task of each data information; A link determination module, used to obtain key data content of each data segment in the data information, and determine target transmission link information corresponding to each key data content based on each key data content and the transmission link information of the chip; the transmission link information includes a target transmission rate and a unit data transmission volume; The data transmission module is used to perform data transmission processing on each of the key data contents based on the target transmission link information corresponding to each of the key data contents.
10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Cited By
Chip signal synchronization method and device
CN118915882A
Chip signal synchronization method and apparatus
CN118915882B
