Soft bus flow control method supporting high concurrent transmission

By real-time monitoring and analysis of soft bus traffic data, combining distortion adjustment strategies and equipment operation behavior prediction, a traffic interactive control chart is generated for traffic control, which solves the problem that soft bus cannot automatically adjust traffic in high concurrent transmission scenarios, achieving stable operation and user experience improvement.

CN119892736APending Publication Date: 2025-04-25SHENZHEN XUNTIAN XINDA TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510030664.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-08
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In high concurrent transmission scenarios, the flow control method of the soft bus cannot be automatically adjusted according to the actual operating conditions of the equipment, resulting in waste of resources or system congestion when traffic fluctuates, affecting the user experience.

Method used

By monitoring and analyzing traffic data on the soft bus in real time, distortion adjustment strategies are used to intelligently distort data of distorted types, and predict data traffic by obtaining device operation behavior in real time, and generating a traffic interactive control chart for flow control.

Benefits of technology

It realizes automatic control of data traffic based on the actual operating conditions of the equipment, avoids excessive traffic restrictions and system congestion, improves user experience, and effectively manages traffic on the soft bus.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892736A_ABST
    Figure CN119892736A_ABST
Patent Text Reader

Abstract

The invention provides a soft bus flow control method supporting high concurrent transmission, which comprises the following steps of: when judging that the number of first connection equipment based on soft bus data transmission is greater than or equal to a preset equipment number, acquiring first data flow of the first connection equipment connected with a soft bus, and summarizing the first data flow to obtain first soft bus flow; verifying the flow of the first soft bus, judging that the flow verification result of the first soft bus exceeds the expected flow, and performing distortion adjustment on the data between the first connection devices based on a distortion adjustment strategy; completing prediction of data traffic of each first connection device at the next moment based on the operation behavior to obtain second data traffic, and summarizing the second data traffic to obtain second soft bus traffic; and performing verification processing on the second soft bus traffic based on the first soft bus traffic, judging that the second soft bus traffic does not meet a preset requirement to generate a traffic interaction control chart, and performing traffic control processing on the high-concurrency transmission soft bus traffic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to data processing technology, and in particular to a soft bus flow control method supporting high concurrent transmission. Background Art

[0002] As a flexible and efficient data transmission mechanism, the soft bus provides a unified data exchange channel between different devices, systems or applications by abstracting the underlying communication protocols and hardware interfaces. In high-concurrency transmission scenarios, the soft bus can support a large number of concurrent connections and achieve high-speed and low-latency data transmission. It is an indispensable key component for building distributed systems and microservice architectures.

[0003] At present, the flow control method of the soft bus mainly relies on threshold shutdown processing, which usually presets a certain flow upper limit. When the actual flow exceeds the upper limit, some connected devices will be actively shut down. It cannot be adjusted according to the actual operating conditions of the equipment. As a result, when the flow fluctuates greatly, either the flow is excessively restricted, resulting in waste of resources, or the flow peak cannot be effectively suppressed, resulting in system congestion, which affects the normal use of users' related devices and reduces the user experience. Therefore, how to automatically control the data of the device according to the actual operating status of the device to ensure that users can use the relevant equipment normally and improve the user experience has become an urgent problem to be solved. Summary of the invention

[0004] The embodiment of the present invention provides a soft bus flow control method supporting high concurrent transmission, which can automatically control the data of the device according to the actual operating status of the device, thereby ensuring that the user can use the relevant device normally and improving the user experience.

[0005] A first aspect of an embodiment of the present invention provides a soft bus flow control method supporting high concurrent transmission, comprising: After determining that the number of first connection devices based on soft bus data transmission is greater than or equal to a preset number of devices, obtaining first data flows of all first connection devices connected to the soft bus, and summarizing the first data flows to obtain first soft bus flows; Performing a validation process on the first soft bus flow, if it is determined that the first soft bus flow validation result exceeds the expected flow, performing distortion adjustment on the data between the first connected devices based on the distortion adjustment strategy; Acquire the operation behavior of each first connection device in real time, complete the prediction of the data flow of each first connection device at the next moment based on the operation behavior to obtain the second data flow, and summarize the second data flow to obtain the second soft bus flow; The second soft bus flow is verified based on the first soft bus flow. If it is determined that the second soft bus flow does not meet the preset requirements, a flow interaction control diagram is generated to perform flow control processing on the soft bus flow of high concurrent transmission.

[0006] Optionally, after determining that the number of first connection devices based on soft bus data transmission is greater than or equal to a preset number of devices, obtaining first data flows of all first connection devices connected to the soft bus, and aggregating the first data flows to obtain first soft bus flows, includes: The quantity monitoring module obtains the first quantity of the first connected devices in real time, and inputs a first monitoring instruction to the flow monitoring module when it is determined that the first quantity is greater than or equal to the preset device quantity; The traffic monitoring module obtains the first data traffic of all first connected devices in response to the first monitoring instruction; The traffic monitoring module generates a device connection map based on the device relationship between the first connected devices, marks the first data traffic of all the first connected devices to the devices in the device connection map, and calculates the first data traffic to obtain the first soft bus traffic.

[0007] Optionally, the verification processing of the first soft bus flow, if it is determined that the first soft bus flow verification result exceeds the expected flow, then performing distortion adjustment on the data between the first connected devices based on the distortion adjustment strategy, includes: If the first soft bus flow verification result is determined to exceed the expected flow, the flow monitoring module outputs a first control instruction to the data adjustment module; The data adjustment module acquires the data type of each first connected device in response to the first control instruction, wherein the data type includes a distortion type and an undistortion type; All first connection devices including data of the distortable type are acquired, and data specifications of the distortable type of data after distortion adjustment are obtained based on the first soft bus flow and the expected flow calculation.

[0008] Optionally, the acquiring of all first connection devices including data of the distortable type, and obtaining data specifications of the data of the distortable type after distortion adjustment based on the first soft bus flow and the expected flow calculation, includes: Calculate the difference between the first soft bus flow and the expected flow to obtain a first difference flow; Determine the current first data flow of all first connection devices of the distortable data types, and a change specification sequence of the distortable data types of each first connection device, wherein the data specifications in the change specification sequence are sorted from high to low; Based on the first difference flow, the first data flow of the first connected device of each distortable type of data and the change specification sequence, the data specification of the distortable type of data of each first connected device after distortion adjustment is calculated according to the distortion adjustment strategy.

[0009] Optionally, the calculating based on the first difference flow, the first data flow of each first connected device and the change specification sequence according to the distortion adjustment strategy to obtain the distortion-adjusted data specification of the distortable type of data of each first connected device includes: Determine the sequence position of each first data flow in the current change specification sequence, and compare the sequence positions of all first connected devices; Based on the specification sequence number of the sequence position of the first connection device, all the first connection devices are sorted in ascending order to obtain a connection device sequence; If there are first connection devices with the same specification sequence number, sort the first connection devices with the same specification sequence number in descending order based on the first data flow to obtain an updated connection device sequence; Based on the connection device sequence, the change specifications of the first connection devices are adjusted in sequence to obtain the data specifications of the distortable types of data of each first connection device after distortion adjustment.

[0010] Optionally, adjusting the change specifications of the first connection devices in sequence based on the connection device sequence to obtain the distortion-adjusted data specifications of the distortable types of data of each first connection device includes: Calculate the average value of all specification sequence numbers in the connection device sequence and round them to the integer to obtain the mean specification sequence number; Select the specification sequence number of each first connection device in the connection device sequence in turn and perform difference calculation with the average specification sequence number to obtain the sequence number difference; Based on the sequence number difference, a distortion-adjusted data specification is determined for each first connected device in the connected device sequence.

[0011] Optionally, determining the distortion-adjusted data specification of each first connected device in the connected device sequence based on the sequence number difference includes: If the sequence number difference is greater than -2, selecting the data specification with the next sequence number of the current specification sequence number in the change specification sequence of the first connected device as the data specification after distortion adjustment; If the sequence number difference is less than or equal to -2, the sequence number difference is rounded and the absolute value is taken to obtain the interval selected numerical sequence number, and the data specification of the interval selected numerical sequence number after the current specification sequence number in the change specification sequence of the first connected device is selected as the data specification after distortion adjustment; The ordering of the connection device sequence is updated based on the specification sorting number of the distortion-adjusted data specification until the sum of the adjusted data specifications is greater than or equal to the first difference flow, and the adjusted first soft bus flow is less than or equal to the expected flow.

[0012] Optionally, the updating of the order of the connection device sequence based on the specification order number of the data specification after the distortion adjustment until the sum of the adjusted data specifications is greater than or equal to the first difference flow, and the adjusted first soft bus flow is less than or equal to the expected flow, includes: The first data flow before distortion is updated based on the distorted data flow of the data specification after distortion adjustment, and an updated first soft bus flow is obtained; If it is determined that the updated first soft bus flow is greater than the expected flow, continue to adjust the specification of the first connection device in the connection device sequence, and continue to update the connection device sequence; If it is determined that the updated first soft bus flow is less than or equal to the expected flow, the specification adjustment of the first connection device in the connection device sequence is stopped.

[0013] Optionally, the real-time acquisition of the operation behavior of each first connected device, the prediction of the data flow of each first connected device at the next moment based on the operation behavior to obtain the second data flow, and the aggregation of the second data flow to obtain the second soft bus flow include: Determine a preset data flow change value based on the operation behavior of each first connected device, and obtain a second data flow based on the addition of the first data flow of the first connected device and the data flow change value; Summarizing all second data flows to obtain second soft bus flows; The verification process of the second soft bus flow based on the first soft bus flow, if it is determined that the second soft bus flow does not meet the preset requirements, generates a flow interaction control diagram, and performs flow control processing on the soft bus flow of high concurrent transmission, including: If it is determined that the first soft bus flow is greater than or equal to the second soft bus flow, then it is determined that the second soft bus flow has passed the validation; If it is determined that the first soft bus flow is less than the second soft bus flow, and the second soft bus flow is less than or equal to the expected flow, then it is determined that the second soft bus flow verification has passed; If it is determined that the first soft bus flow is less than the second soft bus flow, and the second soft bus flow is greater than the expected flow, then it is determined that the second soft bus flow verification has failed; A sub-connection line between each first connection device and the soft bus is selected based on the device connection map, a flow ratio is obtained based on the second data flow of each first connection device, and the device connection map is rendered based on the flow ratio to generate a flow interaction control diagram.

[0014] Optionally, selecting a sub-connection line between each first connection device and the soft bus based on the device connection map, obtaining a flow ratio based on the second data flow of each first connection device, and rendering the device connection map based on the flow ratio to generate a flow interaction control graph includes: Determine the lowest ratio in the flow ratio as a reference number, and obtain a multiple of each second data flow and the reference number; Coordinate processing is performed on the device connection map, and the pixel length of the sub-connection line on the X-axis is determined as the reference width, and the adjusted width is obtained by multiplying the reference width by a multiple of the reference number; Adjusting the widths of all sub-connection lines based on the adjustment width to obtain an updated flow interaction control diagram, wherein the sub-connection lines are in a selectable state; If it is determined that the user adjusts the width after the sub-connection line is selected, the flow adjusted by the user interaction is obtained based on the relationship between the adjusted width and the reference number, and the data specification that meets the requirements in the first device is determined based on the interactively adjusted flow for data interaction.

[0015] The beneficial effects of the present invention are as follows: 1. The present invention can automatically control the data flow of the device according to the actual operating status of the device. In high-concurrency transmission scenarios, the soft bus, as a key component, faces huge traffic pressure. The present invention performs distortion processing by real-time monitoring and analysis of the traffic data on the soft bus, and effectively adjusts the traffic dynamically, thereby ensuring that the soft bus can operate stably under high-concurrency transmission, and there will be no system congestion or equipment failure due to excessive traffic. This improvement greatly enhances the user experience and ensures that users can use related devices normally.

[0016] 2. When the soft bus traffic is detected to exceed expectations, the present invention does not simply shut down some connected devices, but intelligently distorts the distortable data while ensuring the availability of the data. This distortion adjustment strategy not only avoids excessive waste of resources, but also effectively suppresses traffic peaks and prevents system congestion when traffic fluctuates greatly. In addition, the strategy also takes into account the differences in data types. For non-distortable data, no distortion processing is performed, thereby ensuring the integrity and accuracy of the data.

[0017] 3. The present invention obtains the operating behavior of each connected device in real time, and the method can predict the data flow at the next moment, so as to plan and adjust the flow in advance. When it is predicted that the flow of the second soft bus may not meet the preset requirements, the method will generate a flow interaction control diagram to intuitively display the flow ratio and flow limit of each connected device. Users can manually adjust or set according to this diagram to further finely control the flow. This visual interactive method not only improves the flexibility and accuracy of flow control, but also enables users to more intuitively understand and manage the flow situation on the soft bus. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A flow chart of a soft bus flow control method supporting high concurrent transmission provided by the present invention; Figure 2 A schematic diagram of a device connection diagram provided by the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.

[0021] It should be understood that in various embodiments of the present invention, the size of the specification sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0022] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.

[0023] It should be understood that in the present invention, "plurality" refers to two or more than two. "And / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "Contains A, B and C", "Contains A, B, C" means that A, B, and C are all included, "Contains A, B or C" means that one of A, B, and C is included, and "Contains A, B and / or C" means that any one, any two, or any three of A, B, and C are included.

[0024] It should be understood that in the present invention, "B corresponding to A", "B corresponding to A", "A corresponds to B" or "B corresponds to A" means that B is associated with A and B can be determined based on A. Determining B based on A does not mean determining B based only on A, but B can also be determined based on A and / or other information. A and B match when the similarity between A and B is greater than or equal to a preset threshold.

[0025] Depending on the context, "if" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting."

[0026] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0027] The present invention provides a soft bus flow control method supporting high concurrent transmission, such as Figure 1 As shown, steps S1-S4 are included: S1, after determining that the number of first connection devices based on soft bus data transmission is greater than or equal to a preset number of devices, obtain the first data flow of all first connection devices connected to the soft bus, and aggregate the first data flow to obtain the first soft bus flow.

[0028] Among them, the soft bus refers to a virtual bus that maps non-local software and hardware functions to the local machine through a network protocol. It does not rely on physical hardware, and provides a unified data exchange channel between different devices, systems or applications by abstracting the underlying communication protocols and hardware interfaces. It can be considered as a virtual bus that connects multiple devices at the same time, thereby realizing data sharing and mutual control between devices and achieving multi-screen collaboration.

[0029] It should be noted that the soft bus also has traffic limitations during data transmission. For example, when multiple devices are connected to the soft bus at the same time, for example, the soft bus is connected to multiple video and audio playback devices such as computers, mobile phones, and speakers at the same time, there will be too much traffic on the soft bus, causing some devices to not operate normally. Therefore, when the subsequent server detects that there are many devices connected to the soft bus, it will perform traffic monitoring.

[0030] The first connected device is a device connected to the soft bus, and the preset number of devices is a number of devices preset manually, which can be set manually according to actual conditions, for example, 2. The first data flow is the flow of data transmitted by the first connected device.

[0031] It is understandable that after the server determines that the number of first connection devices for soft bus data transmission is greater than or equal to the preset number of devices, it will obtain the first data flow of all first connection devices connected to the soft bus, and aggregate the first data flow to obtain the first soft bus flow.

[0032] It is not difficult to understand that when the number of first connected devices connected to the soft bus to transmit data is greater than or equal to the preset number of devices, for example, when the number of connected devices is greater than 2, the transmission traffic of all connected first connected devices will be obtained and summarized to obtain the first soft bus traffic.

[0033] In some embodiments, step S1 (after determining that the number of first connection devices based on soft bus data transmission is greater than or equal to a preset number of devices, obtaining first data flows of all first connection devices connected to the soft bus, and aggregating the first data flows to obtain first soft bus flows) includes S11-S13: S11, the quantity monitoring module obtains the first quantity of the first connected devices in real time, and inputs a first monitoring instruction to the flow monitoring module when it is determined that the first quantity is greater than or equal to the preset device quantity.

[0034] Among them, the quantity monitoring module is a module for monitoring the number of devices connected to the soft bus, and the flow monitoring module is a module for monitoring the flow of all devices connected to the soft bus.

[0035] It can be understood that the quantity monitoring module obtains the first number of first connected devices connected to the soft bus in real time. If the first number is greater than or equal to the preset number of devices, it means that the number of devices connected at this time is large. It is not difficult to understand that if the number of connected devices is small and the traffic transmission volume is small, it will not lead to exceeding the traffic limit.

[0036] Therefore, when the first number is greater than or equal to the preset number of devices, the first monitoring instruction is input to the traffic monitoring module. It is not difficult to understand that when the number is large, the traffic monitoring module will be controlled to monitor the traffic of the first connected device to see if it exceeds the limit.

[0037] S12: The traffic monitoring module obtains the first data traffic of all first connected devices in response to the first monitoring instruction.

[0038] It can be understood that the traffic monitoring module responds to the first monitoring instruction, that is, when the traffic limit is exceeded, the first data traffic of all first connected devices is obtained.

[0039] S13, the traffic monitoring module generates a device connection map based on the device relationship between the first connected devices, marks the first data traffic of all the first connected devices to the devices in the device connection map, and calculates the first data traffic to obtain the first soft bus traffic.

[0040] The device connection map is a map composed of all devices connected to the soft bus. Figure 2 , for example, devices A, B, and C are all connected to the soft bus to obtain a device connection map.

[0041] It can be understood that the traffic monitoring module will generate a device connection map based on the device relationship between the first connected devices, that is, generate a corresponding map based on the devices connected on the soft bus, and mark the first data traffic of the corresponding first connected device to the corresponding device in the device connection map, and count all the first data traffic to obtain the first soft bus traffic, that is, sum up all the first data traffic to obtain the first soft bus traffic.

[0042] S2, verifying the first soft bus traffic. If it is determined that the first soft bus traffic verification result exceeds the expected traffic, performing distortion adjustment on the data between the first connected devices based on the distortion adjustment strategy.

[0043] The expected flow rate is a preset threshold flow rate. When it is greater than or equal to the threshold flow rate, it indicates that the flow rate is overloaded, which may cause some equipment to fail to operate normally.

[0044] It is understandable that the server will verify the first soft bus traffic, that is, check whether the total traffic at this time exceeds the preset threshold traffic. If the verification result of the first soft bus traffic is determined to exceed the expected traffic, that is, exceed the threshold traffic, then the data between the first connected devices will be distorted based on the distortion adjustment strategy.

[0045] In some embodiments, step S2 (processing the first soft bus flow validation, if it is determined that the first soft bus flow validation result exceeds the expected flow, then performing distortion adjustment on the data between the first connected devices based on the distortion adjustment strategy) includes S21-S23: S21, if it is determined that the first soft bus flow verification result exceeds the expected flow, the flow monitoring module outputs a first control instruction to the data adjustment module.

[0046] It is understandable that if the first soft bus flow verification result is judged to exceed the expected flow, that is, the flow exceeds the limited flow, the flow monitoring module outputs the first control instruction to the data adjustment module. The data adjustment module is a module for adjusting the data transmitted by the first connection device, and the first control instruction is a control instruction for adjusting the flow.

[0047] S22: The data adjustment module obtains the data type of each first connected device in response to the first control instruction, where the data type includes a distortion-able type and an undistortable type.

[0048] It should be noted that among the multiple devices connected by the soft bus, some devices transmit data types that can be distorted, such as video, pictures, audio, etc., which can be distorted by lowering the transmission specifications. Some data types cannot be distorted, thereby reducing the amount of data transmission, such as device control signals.

[0049] It can be understood that the data adjustment module obtains the data type of each first connected device in response to the first control instruction, and the data type includes a distortion type and a non-distortion type.

[0050] S23, obtaining all first connection devices including data of the distortable type, and obtaining data specifications of the distortable type of data after distortion adjustment based on the first soft bus flow and the expected flow.

[0051] It is understandable that the server will obtain all first connected devices including data of the distortable type, and then calculate based on the first soft bus flow and expected flow to obtain the data specifications of the distortable type of data after distortion adjustment.

[0052] In some embodiments, step S23 (obtaining all first connected devices including data of the distortable type, and calculating based on the first soft bus flow and the expected flow to obtain data specifications of the distortable type of data after distortion adjustment) includes S231-S233: S231, calculating the difference between the first soft bus flow and the expected flow to obtain a first difference flow.

[0053] It is understandable that the first difference flow is obtained according to the difference between the first soft bus flow and the expected flow, that is, the excess flow can be removed later.

[0054] S232, determining the current first data flow of all first connection devices of the distortable data type and a change specification sequence of the distortable data type of each first connection device, wherein the data specifications in the change specification sequence are sorted from high to low.

[0055] It should be noted that for the distortable type of data, that is, this type of data can be distorted, for example, the image is compressed with pixel values, and the image quality changes from high to low, for example, 800x600 becomes 400x300, and the audio is compressed from 100kb to 50kb. Therefore, the distortable type of data can be changed from high specifications to low specifications.

[0056] It is understandable that the server will determine the current first data traffic of all first connection devices of the distortable type of data, and the change specification sequence of the distortable type of data of each first connection device.

[0057] Among them, the change specification sequence is a change specification sequence for each first connected device corresponding to the distorted type of data, which is a specification sequence pre-set according to different devices. For example, the image is compressed with pixel values, and the image quality ranges from high quality to low quality. For example, it is divided into 4 levels from high to low, with level 1 being the highest, level 2 being medium, level 3 being relatively low, and level 4 being the lowest.

[0058] S233, based on the first difference flow, the first data flow of each first connected device and the change specification sequence, calculate according to the distortion adjustment strategy to obtain the data specification of the distortable type of data of each first connected device after distortion adjustment.

[0059] It is understandable that the server will calculate the distortion-adjusted data specifications of the distortable types of data of each first connected device according to the first difference flow, the current first data flow of each first connected device and the change specification sequence according to the distortion adjustment strategy. In some embodiments, step S233 (calculating according to the distortion adjustment strategy based on the first difference flow, the first data flow of each first connected device and the change specification sequence to obtain the distortion-adjusted data specification of the distortable type of data of each first connected device) includes S2331-S2334: S2331, determine the sequence position of each first data flow in the current change specification sequence, and compare the sequence positions of all first connected devices.

[0060] It is not difficult to understand that different devices correspond to different first data flows. For example, different video playback devices play different picture qualities and have different change specification sequences. Therefore, it is necessary to subsequently determine the position of the first data flow currently played by the device in its change specification sequence.

[0061] It is understandable that the server will determine the sequence position of the first data flow corresponding to each first connected device in the current change specification sequence, and compare the sequence positions of all first connected devices. For example, device A is in the first gear, device B is in the second gear, and device C is in the third gear. S2332: Sort all first connection devices in ascending order based on the specification sorting numbers of the sequence positions of the first connection devices to obtain a connection device sequence.

[0062] The specification sequence number is the serial position number of the first connection device corresponding to the first data flow, for example, the first gear.

[0063] Therefore, according to the standard sequence number of the sequence position of the first connection device, the first connection devices of all distortable types of data are sorted in ascending order to obtain a connection device sequence.

[0064] For example, get the connection device sequence device A-device B-device C.

[0065] S2333: If there are first connection devices with the same specification sequence number, sort the first connection devices with the same specification sequence number in descending order based on the first data flow to obtain an updated connection device sequence.

[0066] It is not difficult to understand that if there are first connection devices with the same specification sequence number, for example, the specification sequence number of device D is also level 2, then the first connection devices with the same specification sequence number are sorted in descending order based on the first data flow rate to obtain an updated connection device sequence, that is, among the first connection devices with the same specification sequence number, those with larger flow consumption are arranged in front.

[0067] Therefore, connected devices with higher specifications, such as better picture quality, are arranged in front, and subsequent adjustments will be made to connected devices with higher specifications first.

[0068] S2334: Adjust the change specifications of the first connection devices in sequence based on the connection device sequence to obtain data specifications of the distortable types of data of each first connection device after distortion adjustment.

[0069] In some embodiments, step S2334 (adjusting the change specifications of the first connected devices in sequence based on the connection device sequence to obtain the distortion-adjusted data specifications of the distortable types of data of each first connected device) includes: Calculate the average value of all specification sequence numbers in the connection device sequence and round them to the integer to obtain the mean specification sequence number.

[0070] It is understandable that the server will calculate the average of all specification sequence numbers in the connected device sequence and round them to obtain the average specification sequence number. For example, the average specification sequence number corresponding to device A (1) - device B (2) - device C (3) is 2, and the average specification sequence number corresponding to device E (1) - device F (3) - device G (8) is 4.

[0071] The specification sequence number of each first connection device in the connection device sequence is selected in turn and the difference between the specification sequence number and the average specification sequence number is calculated to obtain the sequence number difference.

[0072] It is understandable that the server sequentially selects the specification sequence number of each first connected device in the connected device sequence and calculates the difference with the average specification sequence number to obtain the sequence number difference. For example, device A (-1) - device B (0) - device C (1), device E (-3) - device F (-1) - device G (4).

[0073] Based on the sequence number difference, a distortion-adjusted data specification is determined for each first connected device in the connected device sequence.

[0074] In some embodiments, the step of (determining the distortion-adjusted data specification of each first connected device in the connected device sequence based on the sequence number difference) includes: If the sequence number difference is greater than -2, the data specification with the next sequence number of the current specification sequence number in the change specification sequence of the first connecting device is selected as the data specification after the distortion adjustment.

[0075] It is understandable that if the sequence number difference is greater than -2, the data specification of the next sequence number of the current specification sequence number in the change specification sequence of the first connected device is selected as the data specification after distortion adjustment. That is, the next level (level 2) of level 1 currently in which device A is located is used as the data specification after distortion adjustment.

[0076] If the sequence number difference is less than or equal to -2, the sequence number difference is rounded and the absolute value is taken to obtain the interval selected numerical sequence number, and the data specification of the interval selected numerical sequence number after the current specification sequence number in the change specification sequence of the first connected device is selected as the data specification after distortion adjustment.

[0077] It can be understood that if the serial number difference is less than or equal to -2, the serial number difference is rounded and taken to its absolute value to obtain the interval selected numerical serial number. For example, the serial number difference -3 corresponding to device E is rounded and taken to its absolute value to obtain the interval selected numerical serial number 3.

[0078] Subsequently, the data specification with the numerical sequence number selected after the current specification sequence number in the change specification sequence of the first connected device is selected as the data specification after distortion adjustment. That is, the 4th grade is selected from the 1st grade of the current device E and the 3rd grade as the data specification after distortion adjustment.

[0079] The ordering of the connection device sequence is updated based on the specification sorting number of the distortion-adjusted data specification until the sum of the adjusted data specifications is greater than or equal to the first difference flow, and the adjusted first soft bus flow is less than or equal to the expected flow.

[0080] It can be understood that the specification sorting number of the distortion-adjusted data specification updates the sorting of the connected device sequence. For example, if device E is adjusted to the 4th gear, the position of device E may need to be adjusted backward, and the sorting of the connected device sequence is updated again according to the specification sorting number until the sum of the adjusted data specifications is greater than or equal to the first difference flow, and the adjusted first soft bus flow is less than or equal to the expected flow.

[0081] It is not difficult to understand that after the reordering, the average specification sorting number and the sequence number difference will be continuously calculated to continuously adjust the data specification of the first connection device in the reordered connection device sequence.

[0082] Through the above implementation method, the overall data change is achieved. The change will not be based on the data volume, but will be adjusted according to the data specifications to make overall changes, thereby ensuring the stability and authenticity of the data structure.

[0083] In some embodiments, the step (updating the order of the connection device sequence based on the specification order number of the data specification after the distortion adjustment until the sum of the adjusted data specifications is greater than or equal to the first difference flow, and the adjusted first soft bus flow is less than or equal to the expected flow) includes: The first data flow before distortion is updated based on the distorted data flow of the data specification after distortion adjustment, and an updated first soft bus flow is obtained.

[0084] It is understandable that the first data flow before distortion is updated based on the distorted data flow of the data specification after distortion adjustment. It is not difficult to understand that the data flow is reduced. Therefore, after subsequent statistics of all updated first data flows, the updated first soft bus flow can be obtained.

[0085] If it is determined that the updated first soft bus flow is greater than the expected flow, the specification of the first connection device in the connection device sequence continues to be adjusted, and the connection device sequence is continuously updated.

[0086] It can be understood that if it is determined that the updated first soft bus traffic is greater than the expected traffic, it means that it still exceeds the limit, then the specification of the first connection device in the connection device sequence will continue to be adjusted, that is, the mean specification sort number and the sequence number difference will continue to be calculated after the reordering to continuously adjust the data specification of the first connection device in the reordered connection device sequence, and continue to update the connection device sequence.

[0087] Until the sum of the adjusted data specifications is greater than or equal to the first difference flow, and the updated first soft bus flow is less than or equal to the expected flow, the specification adjustment of the first connection device in the connection device sequence is stopped.

[0088] It can be understood that if it is determined that the sum of the updated data specifications is greater than or equal to the first difference flow, the adjusted first soft bus flow is less than or equal to the expected flow, meeting the requirements, and stopping the specification adjustment of the first connection device in the connection device sequence.

[0089] S3, obtaining the operation behavior of each first connected device in real time, completing the prediction of the data flow of each first connected device at the next moment based on the operation behavior to obtain the second data flow, and summarizing the second data flow to obtain the second soft bus flow.

[0090] It is not difficult to understand that users will continue to operate the devices connected to the soft bus. For example, at the next moment, a person will turn off or on the video, and the server will predict the traffic changes at the next moment of this operation behavior.

[0091] Therefore, the server will obtain the operation behavior of each first connected device in real time, such as clicking to play a video or closing a video. Subsequently, based on the operation behavior, it will complete the prediction of the data flow of each first connected device at the next moment to obtain the second data flow, and summarize the two data flows to obtain the second soft bus flow.

[0092] In some embodiments, step S3 (obtaining the operation behavior of each first connected device in real time, predicting the data flow of each first connected device at the next moment based on the operation behavior to obtain the second data flow, and aggregating the second data flow to obtain the second soft bus flow) includes S31-S32: S31, determining a preset data flow change value based on the operation behavior of each first connected device, and obtaining a second data flow based on the addition of the first data flow of the first connected device and the data flow change value.

[0093] Among them, the operation behavior is the user's operation behavior on the first connected device, such as closing a video, opening a new video, etc. Each operation behavior has a preset data traffic change value. For example, opening a video, how much data traffic will be increased at the next moment, and closing a video will reduce how much data traffic. It is not difficult to understand that the data traffic change value can be positive or negative.

[0094] It is understandable that the server will determine the preset data flow change value based on the operating behavior of each first connected device. Therefore, the server will add the first data flow of the first connected device to the data flow change value to obtain the second data flow, that is, the data flow of the device after the operation.

[0095] S32, summarizing all second data flows to obtain second soft bus flows.

[0096] S4, based on the first soft bus flow, the second soft bus flow is verified and processed. If it is determined that the second soft bus flow does not meet the preset requirements, a flow interaction control diagram is generated to perform flow control processing on the soft bus flow of high concurrent transmission.

[0097] It is understandable that the server will verify the second soft bus flow based on the adjusted first soft bus flow. If it is determined that the second soft bus flow does not meet the preset requirements, a flow interaction control diagram will be generated to perform flow control on the soft bus flow with high concurrency transmission.

[0098] In some embodiments, step S4 (verifying the second soft bus flow based on the first soft bus flow, generating a flow interaction control diagram if it is determined that the second soft bus flow does not meet the preset requirements, and performing flow control processing on the soft bus flow of high concurrent transmission) includes S41-S44: S41, if it is determined that the first soft bus flow is greater than or equal to the second soft bus flow, then it is determined that the second soft bus flow has passed the validation.

[0099] It is not difficult to understand that the automatically adjusted first soft bus flow rate meets the requirements, therefore, if it is determined that the first soft bus flow rate is greater than or equal to the second soft bus flow rate, then it is determined that the second soft bus flow rate has passed the validation, that is, the second soft bus flow rate at this time also meets the requirements.

[0100] S42, if it is determined that the first soft bus flow is less than the second soft bus flow, and the second soft bus flow is less than or equal to the expected flow, then it is determined that the second soft bus flow verification has passed.

[0101] It is not difficult to understand that if it is determined that the first soft bus flow is less than the second soft bus flow, that is, the second soft bus flow is larger but still less than or equal to the expected flow, then the second soft bus flow is determined to have passed the validation.

[0102] S43, if it is determined that the first soft bus flow is less than the second soft bus flow, and the second soft bus flow is greater than the expected flow, then it is determined that the second soft bus flow verification has failed.

[0103] It is understandable that if it is determined that the first soft bus flow is less than the second soft bus flow, and the second soft bus flow is greater than the expected flow, then it is determined that the second soft bus flow verification has failed. That is, if the flow limit is exceeded, the subsequent user will control the exceeding device according to the flow interaction control diagram.

[0104] S44, selecting a sub-connection line between each first connection device and the soft bus based on the device connection map, obtaining a flow ratio based on the second data flow of each first connection device, and rendering the device connection map based on the flow ratio to generate a flow interaction control diagram.

[0105] The sub-connection line is a connection line corresponding to the first connection device and the soft bus.

[0106] It is understandable that the traffic ratio is obtained according to the second data traffic of each first connected device, and the device connection map is rendered based on the traffic ratio to generate a traffic interaction control graph. For example, the traffic of device A is 100kb, and the traffic of device B is 200kb. Then the traffic ratio is 100:200.

[0107] In some embodiments, step S44 (selecting a sub-connection line between each first connection device and the soft bus based on the device connection map, obtaining a flow ratio based on the second data flow of each first connection device, and rendering the device connection map based on the flow ratio to generate a flow interaction control graph) includes S441-S444: S441, determining the lowest ratio number in the flow ratio as a reference number, and obtaining a multiple of each second data flow and the reference number.

[0108] It is understandable that the server determines the lowest ratio in the traffic ratio as the reference number, and the lowest ratio is 100 corresponding to 100:200. And obtains the multiple of the second data traffic and the reference number, then device A is 1 times, and device B is 2 times.

[0109] S442, coordinate processing is performed on the device connection map, and the pixel length of the sub-connection line on the X-axis is determined as a reference width, and the adjusted width is obtained by multiplying the reference width by a multiple of the reference number.

[0110] It is understandable that for coordinate processing of the device connection map, any point can be selected as the coordinate origin for coordinate processing, and the pixel length of the sub-connection line on the X-axis can be determined as the reference width. For example, the number of pixels in the horizontal direction of all sub-connection lines is 5.

[0111] Subsequently, the adjusted width is obtained by multiplying the multiple of the benchmark number by the benchmark width. Then, device A corresponds to a sub-connection line corresponding to 5 pixels, and device A corresponds to a sub-connection line corresponding to 10 pixels. Subsequent personnel can directly view the flow of each device through the image.

[0112] S443, adjusting the widths of all sub-connection lines based on the adjusted width to obtain an updated flow interaction control graph, wherein the sub-connection lines are in a selectable state.

[0113] It can be understood that, based on the width adjustment of all sub-connection lines, an updated flow interaction control diagram is obtained, and the sub-connection lines are in a selectable state. Subsequently, the user can select any sub-connection line to adjust the width, thereby adjusting the flow of the device. For example, adjusting the 5 pixel points corresponding to device A to 1 will reduce the flow by 4 / 5.

[0114] S444, if it is determined that the user adjusts the width after the sub-connection line is selected, the flow rate adjusted by the user interaction is obtained based on the relationship between the adjusted width and the reference number, and the data specification that meets the requirements in the first device is determined based on the interactively adjusted flow rate for data interaction.

[0115] It can be understood that if the user adjusts the width after the sub-connection line is selected, the traffic adjusted by the user interaction is obtained based on the relationship between the adjusted width and the benchmark number. For example, if the 5 pixels corresponding to device A are adjusted to 1, the traffic is reduced by 4 / 5, and the adjusted traffic is 20kb. Based on the interactively adjusted traffic, the data specification that meets the requirements in the first device is determined for data interaction, and the corresponding data specification is determined according to the transmission traffic for continued data interaction.

[0116] The present invention also provides a storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the methods provided by the various embodiments described above.

[0117] Among them, the storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, the storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the storage medium can also exist in a communication device as discrete components. The storage medium can be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0118] The present invention also provides a program product, which includes an execution instruction, which is stored in a storage medium. At least one processor of a device can read the execution instruction from the storage medium, and at least one processor executes the execution instruction so that the device implements the methods provided in the above various embodiments.

[0119] In the above-mentioned terminal or server embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A soft bus flow control method supporting high concurrent transmission, characterized in that: include: After determining that the number of first connection devices based on soft bus data transmission is greater than or equal to a preset number of devices, obtaining first data flows of all first connection devices connected to the soft bus, and summarizing the first data flows to obtain first soft bus flows; Performing a validation process on the first soft bus flow, if it is determined that the first soft bus flow validation result exceeds the expected flow, performing distortion adjustment on the data between the first connected devices based on the distortion adjustment strategy; Acquire the operation behavior of each first connection device in real time, complete the prediction of the data flow of each first connection device at the next moment based on the operation behavior to obtain the second data flow, and summarize the second data flow to obtain the second soft bus flow; The second soft bus flow is verified based on the first soft bus flow. If it is determined that the second soft bus flow does not meet the preset requirements, a flow interaction control diagram is generated to perform flow control processing on the soft bus flow of high concurrent transmission.

2. The soft bus flow control method supporting high concurrent transmission according to claim 1, characterized in that: The method of obtaining first data flows of all first connection devices connected to the soft bus after determining that the number of first connection devices based on soft bus data transmission is greater than or equal to a preset number of devices, and aggregating the first data flows to obtain first soft bus flows, comprises: The quantity monitoring module obtains the first quantity of the first connected devices in real time, and inputs a first monitoring instruction to the flow monitoring module when it is determined that the first quantity is greater than or equal to the preset device quantity; The traffic monitoring module obtains the first data traffic of all first connected devices in response to the first monitoring instruction; The traffic monitoring module generates a device connection map based on the device relationship between the first connected devices, marks the first data traffic of all the first connected devices to the devices in the device connection map, and calculates the first data traffic to obtain the first soft bus traffic.

3. The soft bus flow control method supporting high concurrent transmission according to claim 1, characterized in that: The first soft bus flow verification processing, if it is determined that the first soft bus flow verification result exceeds the expected flow, then based on the distortion adjustment strategy, the data between the first connection devices is subjected to distortion adjustment, including: If the first soft bus flow verification result is determined to exceed the expected flow, the flow monitoring module outputs a first control instruction to the data adjustment module; The data adjustment module acquires the data type of each first connected device in response to the first control instruction, wherein the data type includes a distortion type and an undistortion type; All first connection devices including data of the distortable type are acquired, and data specifications of the distortable type of data after distortion adjustment are obtained based on the first soft bus flow and the expected flow calculation.

4. The soft bus flow control method supporting high concurrent transmission according to claim 3, characterized in that: The first connection device that obtains all data including the distortable type calculates based on the first soft bus flow and the expected flow to obtain the data specifications of the distortable type of data after distortion adjustment, including: Calculate the difference between the first soft bus flow and the expected flow to obtain a first difference flow; Determine the current first data flow of all first connection devices of the distortable data types, and a change specification sequence of the distortable data types of each first connection device, wherein the data specifications in the change specification sequence are sorted from high to low; Based on the first difference flow, the first data flow of the first connected device of each distortable type of data and the change specification sequence, the data specification of the distortable type of data of each first connected device after distortion adjustment is calculated according to the distortion adjustment strategy.

5. The soft bus flow control method supporting high concurrent transmission according to claim 4, characterized in that: The method of calculating based on the first difference flow, the first data flow of each first connected device and the change specification sequence according to the distortion adjustment strategy to obtain the distortion-adjusted data specification of the distortable type of data of each first connected device includes: Determine the sequence position of each first data flow in the current change specification sequence, and compare the sequence positions of all first connected devices; Based on the specification sequence number of the sequence position of the first connection device, all the first connection devices are sorted in ascending order to obtain a connection device sequence; If there are first connection devices with the same specification sequence number, sort the first connection devices with the same specification sequence number in descending order based on the first data flow to obtain an updated connection device sequence; Based on the connection device sequence, the change specifications of the first connection devices are adjusted in sequence to obtain the data specifications of the distortable types of data of each first connection device after distortion adjustment.

6. The soft bus flow control method supporting high concurrent transmission according to claim 5, characterized in that: The adjusting the change specifications of the first connection devices in sequence based on the connection device sequence to obtain the distortion-adjusted data specifications of the distortable types of data of each first connection device includes: Calculate the average value of all specification sequence numbers in the connection device sequence and round them to the integer to obtain the mean specification sequence number; Select the specification sequence number of each first connection device in the connection device sequence in turn and perform difference calculation with the average specification sequence number to obtain the sequence number difference; Based on the sequence number difference, a distortion-adjusted data specification is determined for each first connected device in the connected device sequence.

7. The soft bus flow control method supporting high concurrent transmission according to claim 6, characterized in that: The step of determining the distortion-adjusted data specification of each first connected device in the connected device sequence based on the sequence number difference includes: If the sequence number difference is greater than -2, selecting the data specification with the next sequence number of the current specification sequence number in the change specification sequence of the first connected device as the data specification after distortion adjustment; If the sequence number difference is less than or equal to -2, the sequence number difference is rounded and the absolute value is taken to obtain the interval selected numerical sequence number, and the data specification of the interval selected numerical sequence number after the current specification sequence number in the change specification sequence of the first connected device is selected as the data specification after distortion adjustment; The ordering of the connection device sequence is updated based on the specification sorting number of the distortion-adjusted data specification until the sum of the adjusted data specifications is greater than or equal to the first difference flow, and the adjusted first soft bus flow is less than or equal to the expected flow.

8. The soft bus flow control method supporting high concurrent transmission according to claim 7, characterized in that: The updating process of sorting the connection device sequence based on the specification sorting number of the data specification after the distortion adjustment, until the sum of the adjusted data specifications is greater than or equal to the first difference flow, and the adjusted first soft bus flow is less than or equal to the expected flow, includes: The first data flow before distortion is updated based on the distorted data flow of the data specification after distortion adjustment, and an updated first soft bus flow is obtained; If it is determined that the updated first soft bus flow is greater than the expected flow, continue to adjust the specification of the first connection device in the connection device sequence, and continue to update the connection device sequence; If it is determined that the updated first soft bus flow is less than or equal to the expected flow, the specification adjustment of the first connection device in the connection device sequence is stopped.

9. The soft bus flow control method supporting high concurrent transmission according to claim 1, characterized in that: The real-time acquisition of the operation behavior of each first connected device, the prediction of the data flow of each first connected device at the next moment based on the operation behavior to obtain the second data flow, and the aggregation of the second data flow to obtain the second soft bus flow, include: Determine a preset data flow change value based on the operation behavior of each first connected device, and obtain a second data flow based on the addition of the first data flow of the first connected device and the data flow change value; Summarizing all second data flows to obtain second soft bus flows; The verification process of the second soft bus flow based on the first soft bus flow, if it is determined that the second soft bus flow does not meet the preset requirements, generates a flow interaction control diagram, and performs flow control processing on the soft bus flow of high concurrent transmission, including: If it is determined that the first soft bus flow is greater than or equal to the second soft bus flow, then it is determined that the second soft bus flow has passed the validation; If it is determined that the first soft bus flow is less than the second soft bus flow, and the second soft bus flow is less than or equal to the expected flow, then it is determined that the second soft bus flow verification has passed; If it is determined that the first soft bus flow is less than the second soft bus flow, and the second soft bus flow is greater than the expected flow, then it is determined that the second soft bus flow verification has failed; A sub-connection line between each first connection device and the soft bus is selected based on the device connection map, a flow ratio is obtained based on the second data flow of each first connection device, and the device connection map is rendered based on the flow ratio to generate a flow interaction control diagram.

10. The soft bus flow control method supporting high concurrent transmission according to claim 9, characterized in that: The method of selecting a sub-connection line between each first connection device and the soft bus based on the device connection map, obtaining a flow ratio based on the second data flow of each first connection device, and rendering the device connection map based on the flow ratio to generate a flow interaction control graph includes: Determine the lowest ratio in the flow ratio as a reference number, and obtain a multiple of each second data flow and the reference number; Coordinate processing is performed on the device connection map, and the pixel length of the sub-connection line on the X-axis is determined as the reference width, and the adjusted width is obtained by multiplying the reference width by a multiple of the reference number; Adjusting the widths of all sub-connection lines based on the adjustment width to obtain an updated flow interaction control diagram, wherein the sub-connection lines are in a selectable state; If it is determined that the user adjusts the width after the sub-connection line is selected, the flow adjusted by the user interaction is obtained based on the relationship between the adjusted width and the reference number, and the data specification that meets the requirements in the first device is determined based on the interactively adjusted flow for data interaction.