Data transmission method and device
By dynamically adjusting the bit rate of video data and based on the LAN bandwidth occupancy ratio, the problem of video lagging in large-scale meetings is solved and the user's viewing experience is improved.
Patent Information
- Application Number
- CN202410937310.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-12
AI Technical Summary
In large-scale conference scenarios, where LAN bandwidth is limited and there are too many terminal devices, the server sending video data to multiple terminal devices may cause packet loss, resulting in video freezes on participants' terminal devices, affecting the viewing experience.
By obtaining the video data of the sending terminal and the LAN bandwidth occupancy ratio, the code rate of the video data is dynamically adjusted to ensure stable video playback of the receiving terminal device and avoid video freezes. Specific methods include maintaining the original code rate when the bandwidth occupancy ratio is lower than a certain threshold, reducing the code rate when it exceeds the threshold, and sending prompt information to expand the local area network when the bandwidth occupancy is too high.
It effectively avoids the video freeze phenomenon of the receiving terminal equipment, improves the viewing experience of participants, and ensures clear transmission of conference content.
Smart Images

Figure CN118870071A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and more specifically, to a method and device for data transmission. Background Art
[0002] With the rapid development of information technology, the traditional conference mode based on paper materials for conference interaction has been gradually replaced by the conference mode based on paperless conference technology. Especially in large-scale conference scenarios, the conference venue is large, and the participants in the front row may also cause a certain degree of obstruction to the participants in the back row. Even if the conference venue sets up a large screen to display the speaker's terminal operation interface, it cannot guarantee that all participants can clearly see the terminal operation interface. Based on the audio and video transmission function in paperless conference technology, the speaker's terminal operation interface can be sent to the participant's terminal device in the form of video data and displayed.
[0003] However, when the LAN bandwidth is limited and there are too many terminal devices of the participants, packet loss may occur when the server sends video data to multiple terminal devices at the same time, resulting in video freeze on the terminal devices of the participants, affecting the viewing experience of the participants. Summary of the invention
[0004] The present application provides a method and device for data transmission, which can determine the bit rate of video data sent to a receiving terminal based on the occupancy of the local area network bandwidth, and avoid video freezes at the receiving terminal as much as possible, thereby improving the user's viewing experience.
[0005] In a first aspect, a method for data transmission is provided, the method comprising: obtaining first video data of a sending terminal, the bit rate of the first video data being a first bit rate; determining a bandwidth occupancy ratio of a local area network, the local area network being used to serve the sending terminal and at least one receiving terminal, the bandwidth occupancy ratio being used to represent a ratio between a bandwidth occupied by the sending terminal and at least one receiving terminal and a total bandwidth possessed by the local area network; determining second video data based on the first video data and the bandwidth occupancy ratio, the bit rate of the second video data being a second bit rate, the second bit rate being less than or equal to the first bit rate; and sending the second video data to at least one receiving terminal.
[0006] In combination with the first aspect, in some implementations of the first aspect, when the bandwidth occupancy ratio is less than or equal to the first threshold, the second code rate is equal to the first code rate; or, when the bandwidth occupancy ratio is greater than the first threshold, the second code rate is less than the first code rate.
[0007] In combination with the first aspect, in some implementations of the first aspect, when the bandwidth occupancy ratio is greater than or equal to a second threshold, a first prompt message is sent, and the first prompt message is used to indicate expansion of the total bandwidth, wherein the second threshold is greater than the first threshold.
[0008] In combination with the first aspect, in certain implementations of the first aspect, the above-mentioned sending terminal is connected to a video acquisition device, and the video acquisition device is used to acquire the first video data of the sending terminal and obtain the network address of the video acquisition device; according to the network address of the video acquisition device, the above-mentioned first video data is acquired from the video acquisition device through web instant communication (real time communication, RTC) technology.
[0009] In combination with the first aspect, in certain implementations of the first aspect, at least one receiving terminal includes a first receiving terminal, which is connected to a first auxiliary terminal, and the second video data is used for a first service, and a first binding relationship is determined, the first binding relationship being used to indicate a binding relationship between the first receiving terminal and the first auxiliary terminal; according to the first binding relationship, the first service is associated with the first auxiliary terminal; when it is determined that the first binding relationship is changed to a second binding relationship, the second binding relationship is used to indicate a binding relationship between the second receiving terminal and the first auxiliary terminal, and according to the second binding relationship and the first service associated with the first auxiliary terminal, the second video data is sent to the second receiving terminal, and sending the second video data to the first receiving terminal is stopped.
[0010] In combination with the first aspect, in certain implementations of the first aspect, at least one receiving terminal includes a first receiving terminal, the first receiving terminal is connected to a first auxiliary terminal, the first auxiliary terminal is used to receive first picture data, the first picture data is used for a second service, a first binding relationship is determined, the first binding relationship is used to indicate the binding relationship between the first receiving terminal and the first auxiliary terminal; according to the first binding relationship, the second service is associated with the first receiving terminal; when it is determined that the first binding relationship is changed to a third binding relationship, the third binding relationship is used to indicate the binding relationship between the first receiving terminal and the second auxiliary terminal, and according to the third binding relationship and the second service associated with the first receiving terminal, the first picture data is sent to the second auxiliary terminal.
[0011] In combination with the first aspect, in certain implementations of the first aspect, first configuration information is received, and the first configuration information is used to indicate that a first receiving terminal is bound to a first auxiliary terminal; based on the first configuration information, a media access control (MAC) address of the first receiving terminal is bound to the MAC address of the first auxiliary terminal to determine a first binding relationship.
[0012] In combination with the first aspect, in some implementations of the first aspect, the first receiving terminal includes a liquid crystal display (LCD), and the first auxiliary terminal includes an electronic paper display (EPD).
[0013] In a second aspect, a data transmission device is provided, including a method for executing any possible implementation of the method design of the first aspect above.
[0014] In a third aspect, a data transmission device is provided, comprising a processor and a memory, wherein the processor and the memory are connected, wherein the memory is used to store program code, and the processor is used to call the program code to execute a method in any possible implementation of the method design of the first aspect above.
[0015] In a fourth aspect, a server is provided, comprising a device in any possible implementation manner of the device design of the second aspect or the third aspect.
[0016] In a fifth aspect, a computer-readable storage medium is provided, storing a computer program, wherein the computer program is executed by a processor to implement a method in any possible implementation manner in the method design of the first aspect.
[0017] In a sixth aspect, a computer program product is provided, comprising instructions, which, when executed by a processor, enable a computer to execute a method in any possible implementation of the method design of the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a schematic diagram of the architecture of a paperless conference system 100 applicable to an embodiment of the present application;
[0019] Figure 2 is a flowchart of a method 200 for data transmission proposed in an embodiment of the present application;
[0020] Figure 3 is a schematic diagram of the architecture of a system 300 for transmitting data through RTC technology proposed in an embodiment of the present application;
[0021] Figure 4 It is a structural schematic diagram of an electronic table card 400 proposed in an embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of a business flow of a conference system server proposed in an embodiment of the present application;
[0023] Figure 6It is a schematic block diagram of a data transmission device 600 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0025] The embodiments of the present application will present various aspects, embodiments or features around a system including multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.
[0026] In addition, in the embodiments of the present application, words such as "exemplary" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.
[0027] The business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of technology and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0028] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0029] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can be represented by: including the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0030] The paperless conference system is an intelligent conference interactive system based on a local area network, a private network or the mobile Internet, which uses communication technology, audio technology, video technology, software technology, etc. to achieve paperless conferences. The characteristics of paperless conferences are: networked file transmission, electronic file display, intelligent file editing, and controllable file input and output; the core functions of paperless conferences include: conference sign-in, name guidance, file distribution and upload, file synchronization demonstration, voting, handwritten annotations, call services, voice subtitle display, remote video transmission, etc.
[0031] Figure 1 Schematic diagram of the architecture of a paperless conference system 100 applicable to an embodiment of the present application.
[0032] refer to Figure 1 As shown, the system 100 includes: a service end and a client end, wherein the service end includes a server, and the client end includes at least one speaker terminal and at least one viewing terminal.
[0033] In order to ensure the information security of the meeting, under normal circumstances, data interaction can be achieved between the server and the client through the local area network assumed in the meeting venue to realize functions such as client document upload or download, audio and video data transmission, and interactive response information transmission.
[0034] Normally, the content output by the speaker usually accounts for most of the content of a meeting, so it is crucial to accurately and precisely distribute the content output by the speaker to the participants. In large-scale conference scenarios, the conference venue is large, and the participants in the front row may also cause a certain degree of obstruction to the participants in the back row. Even if the conference venue sets up a large screen to display the speaker's terminal operation interface, it cannot guarantee that all participants can clearly see the terminal operation interface. Based on the audio and video transmission function in paperless conference technology, the speaker's terminal operation interface can be sent to the participant's terminal device in the form of video data and displayed, thereby solving the above problem.
[0035] However, when the LAN bandwidth resources are limited and there are too many terminal devices of the participants, packet loss may occur when the server sends video data to multiple terminal devices at the same time, causing the video on the participant's terminal device to freeze, or even causing the participant to miss important meeting content, or repeatedly changing the bit rate of the conference video, thereby affecting the participant's viewing experience.
[0036] In view of this, an embodiment of the present application proposes a method and device for data transmission, which can determine the bit rate of video data sent to a receiving terminal based on the occupancy of the local area network bandwidth, thereby avoiding video freezes at the receiving terminal as much as possible, thereby improving the user's viewing experience.
[0037] Figure 2 It is a flowchart of a data transmission method 200 proposed in an embodiment of the present application.
[0038] The method 200 can be applied to the server in the above system 100, and the method 200 includes the following steps:
[0039] S210: Acquire first video data of a sending terminal, where a bit rate of the first video data is a first bit rate.
[0040] It should be understood that the above-mentioned first bit rate can also be understood as the native bit rate of the first video data.
[0041] For example, the sending terminal refers to a terminal device operated by a speaker in a conference system, such as a speaker terminal in the system 100. It can be seen that the first video data is used to present a video of the speaker operating on the interactive interface of the sending terminal.
[0042] In some possible embodiments, when the speaker operates on the interactive interface of the sending terminal, the sending terminal can not only obtain the video of the speaker's operation process on the interactive interface, but also obtain the speaker's audio. Therefore, the above-mentioned first video data can be a kind of audio and video data.
[0043] S220: Determine a bandwidth occupancy ratio of a local area network, wherein the local area network is used to serve a sending terminal and at least one receiving terminal, and the bandwidth occupancy ratio is used to represent a ratio between a bandwidth occupied by the sending terminal and at least one receiving terminal and a total bandwidth of the local area network.
[0044] In some possible embodiments, the bandwidth occupancy ratio may be a ratio of a bandwidth occupied by the transmitting terminal and at least one receiving terminal to a total bandwidth of the local area network, or may be a percentage of a total bandwidth of the local area network occupied by the transmitting terminal and at least one receiving terminal. In addition, the bandwidth occupancy ratio may also be a weighted value of a ratio of a bandwidth occupied by the transmitting terminal and at least one receiving terminal to a total bandwidth of the local area network.
[0045] S230: Determine second video data according to the first video data and the bandwidth occupancy ratio, where a bit rate of the second video data is a second bit rate, and the second bit rate is less than or equal to the first bit rate.
[0046] In some possible embodiments, there is a negative correlation between the second code rate and the bandwidth occupancy ratio. In other words, the smaller the bandwidth occupancy ratio, the closer the second code rate is to the first code rate.
[0047] It should be understood that when the bandwidth occupancy ratio is lower than a certain threshold, the first video data is determined to be the second video data. In other words, the second video data is the first video data at this time.
[0048] S240: Send the second video data to the at least one receiving terminal.
[0049] For example, the receiving terminal refers to a terminal device that receives the screen video shared by the speaker in the conference system, such as the viewing terminal in the system 100 .
[0050] In some possible embodiments, the above-mentioned sending terminal and receiving terminal can be applied to any electronic device with a display screen, such as a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., and the embodiments of the present application are not limited to this.
[0051] In some possible embodiments, the at least one receiving terminal may be regarded as a group of receiving terminals, and the video data transmission service is a service between the sending terminal and the group of receiving terminals. In a conference system, there may be multiple sending terminals, each of which may correspond to a group of receiving terminals, and the server may implement the video data transmission service between each sending terminal and the corresponding receiving terminal based on the method 200.
[0052] It should be understood that the above-mentioned sending terminal refers to the data sending terminal in the video data transmission business involved in method 200, and it does not mean that the sending terminal can only be used to send video data. In other services, such as signing in, voting, etc., the sending terminal can also be used to receive corresponding data. In this case, the sending terminal can be used as a receiving terminal, and the above-mentioned receiving terminal is the same. In the embodiment of the present application, the above-mentioned sending terminal and the receiving terminal can be collectively referred to as an operating terminal.
[0053] Based on the above technical solution, before sending video data to the receiving terminal, the bit rate of the video data sent to the receiving terminal is determined based on the occupancy of the total bandwidth of the local area network, so that the video of the receiving terminal device can be played at a stable bit rate, and the phenomenon of video freeze in the receiving terminal can be effectively avoided, thereby improving the user's viewing experience.
[0054] In some possible embodiments, when the bandwidth occupancy ratio is less than or equal to the first threshold, the second code rate is equal to the first code rate; or, when the bandwidth occupancy ratio is greater than the first threshold, the second code rate is less than the first code rate.
[0055] It should be understood that the video bit rate in the above embodiment is divided into two bit rate levels, namely, a native bit rate level equal to the first bit rate and a compressed bit rate level less than the first bit rate. In actual applications, in order to increase the rationality of video bit rate adjustment, the number of alternative video bit rate levels may be set to more than three.
[0056] For example, when the bandwidth occupancy ratio is greater than 0 and less than or equal to 0.3, the second code rate is equal to the first code rate; or, when the bandwidth occupancy ratio is greater than 0.3 and less than or equal to 0.6, the second code rate is equal to 80% of the first code rate; or, when the bandwidth occupancy ratio is greater than 0.6 and less than or equal to 0.8, the second code rate is equal to 40% of the first code rate; when the bandwidth occupancy ratio is greater than 0.8 and less than or equal to 1, the second code rate is equal to 10% of the first code rate.
[0057] It should be noted that the above threshold settings and corresponding bit rate settings are only used as an example. Under different application scenario requirements, different numbers of terminals or communication networks with different performance, the above threshold and bit rate settings can be adaptively adjusted based on the calibration results of pre-experiments.
[0058] In some possible embodiments, the first threshold and the like can be determined by a pre-calibration experiment, and during the calibration experiment, a corresponding relationship between different bitrate levels and threshold intervals can be determined. Taking the various thresholds and bitrate levels proposed in the above example as an example, the corresponding relationship can be represented by the following Table 1:
[0059] Table 1
[0060] Bandwidth usage ratio threshold range Video bitrate level (0,0.3] 100% of native bitrate (0.3,0.6] 80% of native bitrate (0.6,0.8] 40% of native bitrate (0.8,1] 10% of native bitrate
[0061] The above table 1 may be stored in the server of the conference system 100. When executing the above S230, the server searches the above table 1 based on the bandwidth occupancy ratio, determines the threshold interval corresponding to the bandwidth occupancy ratio, and then determines the video bit rate level corresponding to the threshold interval. When the video bit rate level is not 100% of the native bit rate (i.e., the first bit rate), the first video data may be compressed based on the video bit rate level to determine the second video data of the corresponding bit rate level (i.e., the second bit rate).
[0062] Of course, the correspondence between the above-mentioned different bit rate levels and threshold intervals may also be represented in other ways, such as structured data representation forms such as lists and dictionaries, and the embodiments of the present application are not limited to this.
[0063] In some possible embodiments, when the bandwidth occupancy ratio is greater than or equal to the second threshold, first prompt information is sent, where the first prompt information is used to indicate the expansion of the total bandwidth of the local area network.
[0064] The second threshold is greater than the first threshold.
[0065] It should be understood that when the bandwidth occupancy ratio is greater than or equal to the second threshold, it means that the bandwidth occupancy ratio of the current local area network is too high and even difficult to meet the data transmission requirements of the terminal devices of this conference.
[0066] In some possible embodiments, the second threshold value may also be calibrated through preliminary experiments.
[0067] In some possible embodiments, the first prompt information may be sent to a human-computer interaction interface or other control device connected to the server, so as to prompt relevant technical personnel who manage the server to perform relevant work of expanding the local area network.
[0068] Based on the above technical solution, when it is determined that the bandwidth occupancy ratio is at an excessively high level, a prompt message can be issued in a timely manner so that relevant technical personnel can expand the total bandwidth of the local area network used for this meeting, thereby ensuring the normal operation of the data transmission method proposed in the embodiment of the present application and ensuring the audio-visual experience of the participants.
[0069] In some possible embodiments, before the above-mentioned S210, the server may also perform the following operations: determine first service information, where the first service information is used to indicate that a video transmission service is required between a sending terminal and at least one receiving terminal. For the convenience of description, the video transmission service indicated by the first service information is referred to as the first service in this embodiment of the application, that is, the above-mentioned first video data and the above-mentioned second video data are both used for the first service.
[0070] For example, the first service information may be a service configured by relevant technical personnel on the server side, so that the server can determine the first service information.
[0071] In some possible embodiments, the sending terminal may be connected to a video acquisition device, which is used to acquire the first video data of the sending terminal. The S210 may be expanded to the following steps: obtaining the network address of the video acquisition device; and obtaining the first video data from the video acquisition device through RTC technology according to the network address of the video acquisition device.
[0072] Accordingly, the above S240 can be expanded to the following steps: acquiring a network address of at least one receiving terminal, and sending the second video data to the at least one receiving terminal according to the network address of the at least one receiving terminal.
[0073] It should be noted that the above RTC technology is a real-time communication technology, generally referring to WebRTC technology, which allows network applications or sites to establish peer-to-peer connections between browsers without the help of an intermediary, and to achieve the transmission of video streams, audio streams or other types of data. This technology allows users to make real-time audio and video calls or other types of data transmission through a compatible browser without installing any plug-ins or third-party software.
[0074] In some possible embodiments, when the conference system is compatible with multiple types of data transmission, when the network addresses of the video acquisition device and the receiving terminal are obtained, the network ports of the video acquisition device and the receiving terminal dedicated to video data can also be obtained. Thus, based on the network address of the video acquisition device, the first video data is obtained from the corresponding network port of the video acquisition device, and based on the network address of the receiving terminal, the second video data is sent to the corresponding network interface of the receiving terminal.
[0075] In some possible embodiments, before the server sends the second video data to the receiving terminal, the receiving terminal can register the network address of the server and the network port used for video data transmission. When the receiving terminal needs to perform a video transmission task, it can send a task request to the server based on the network address of the server and the corresponding network port. After the server receives the task request, it can send the second video data to the receiving terminal.
[0076] Figure 3 It is a schematic diagram of the architecture of a system 300 for transmitting data through RTC technology proposed in an embodiment of the present application.
[0077] The system 300 can be integrated into the above conference system 100 to implement the data transmission function of the conference system 100. Figure 3As shown, the system 300 includes a client and a server. Taking the video data transmission task as an example, the client may include a sending terminal and at least one receiving terminal, and the server may include a server, a browser and a video acquisition device.
[0078] It should be understood that the above-mentioned sending terminal video acquisition device can be recorded as a terminal device group. The system 300 may include multiple terminal device groups. For the convenience of description, Figure 3 Taking a terminal device group as an example, the main architecture of the system 300 is described.
[0079] In some possible embodiments, when the sending terminal needs to perform a screen sharing operation, the sending terminal can be connected to the video acquisition device so that the video acquisition device can acquire the video of the sending terminal screen in real time, that is, the first video data. During the process of transmitting the video data, the server can directly obtain the first video data acquired by the video acquisition device through the browser based on the RTC technology, that is, the server enters the operation interface presented in the form of a web page by accessing the specified network address and the corresponding network port of the browser, and requests and acquires the first video data acquired by the video acquisition device based on the operation interface.
[0080] After the server obtains the first video data, when receiving a task request from at least one receiving terminal in the terminal device group, the server can execute method 200 proposed in the embodiment of the present application, determine the second video data, and send the second video data to the at least one receiving terminal.
[0081] Based on the above technical solution, the server only needs to access the browser to enable the browser to push the collected video data of the sending terminal to the server, so that the server can send the acquired video data to the corresponding receiving terminal to realize the screen sharing function between the users participating in the meeting. Since the above video transmission operation is controlled by the server, neither the user of the sending terminal nor the user of the receiving terminal needs to install additional video conferencing software or perform additional operations. The screen video can be shared based on an ordinary video player, or the screen video from the sending terminal can be received and played.
[0082] In a paperless conference scenario, each participant usually requires two terminal devices for display. Taking the first participant as an example, one of the two terminals is the above-mentioned receiving terminal used to display conference-related content to the first participant, and the other is an auxiliary terminal used to display the first participant's personal information (for example, name, title, etc.) to other participants.
[0083] In view of this, an embodiment of the present application proposes an electronic table card, based on which the above-mentioned two aspects of content display can be realized.
[0084] Figure 4 It is a structural diagram of an electronic table sign 400 proposed in an embodiment of the present application.
[0085] refer to Figure 4 As shown, taking the first receiving terminal among the at least one receiving terminal as an example, the electronic table sign 400 includes: a first receiving terminal 410, a first auxiliary terminal 420 and a supporting part 430, wherein the first receiving terminal 410 and the first auxiliary terminal 420 are connected, and based on the supporting function of the supporting part 430, the electronic table sign 400 as a whole presents a triangular cone form.
[0086] The first receiving terminal 410 and the first auxiliary terminal 420 can still be detached after being connected.
[0087] In some possible embodiments, the support portion 430 may include two interconnected panels, each of which may be provided with a groove, so that the first receiving terminal 410 and the first auxiliary terminal 420 may be respectively provided in the groove, so that the first receiving terminal 410 and the first auxiliary terminal 420 may be overlapped.
[0088] In some possible embodiments, the first receiving terminal 410 and the first auxiliary terminal 420 may be connected via a connecting portion 440 , and the connecting portion 440 may be a connecting buckle, a connecting strap, etc., which is not limited in the embodiments of the present application.
[0089] In some possible embodiments, the first receiving terminal 410 may be an LCD, and the first auxiliary terminal 420 may be an EPD.
[0090] It should be understood that the electronic table card 400 is introduced by taking the first receiving terminal 410 as an example, and in the video data transmission service involved in the method 200, the speaker also needs to be equipped with an electronic table card, so the electronic table card of the speaker may include a sending terminal and a corresponding auxiliary terminal. In other words, the electronic table card proposed in the embodiment of the present application includes an operating terminal and an auxiliary terminal.
[0091] Based on the above technical solution, by including two terminal devices for display, the electronic table sign can realize the function of presenting conference-related content to participants, and can also realize the function of displaying personal information to other participants, which helps to improve the participants' listening and speaking experience and conference interaction experience.
[0092] In some possible embodiments, the first receiving terminal 410 and the first auxiliary terminal 420 may also implement other extended functions, such as sign-in, voting, and comment functions, etc. As for what function the first receiving terminal 410 or the first auxiliary terminal 420 needs to perform, it depends on the task data sent by the server. For example, the second video data is a kind of task data.
[0093] In some possible embodiments, considering that the first receiving terminal and the first auxiliary terminal are associated with one participant, before the participant holds a meeting, the server may further perform the following operations: determining a first binding relationship, where the first binding relationship is used to indicate a binding relationship between the first receiving terminal and the first auxiliary terminal. Then, in the process of executing the above method 200, the server may further perform the following operations: according to the first binding relationship, associating the above first service with the first auxiliary terminal.
[0094] Assume that in the middle of a meeting, that is, when the server continues to send the second video data to the first receiving terminal device, the first receiving terminal can no longer provide services to the participant due to some reasons, such as power exhaustion, freezing, etc., so it is necessary to provide the participant with a second receiving terminal to play the speaker's conference video for the participant. At this time, the first auxiliary terminal is connected to the second receiving terminal instead. At this time, the relevant technicians can modify the first binding relationship to the second binding relationship on the server side. The second binding relationship is used to indicate the binding relationship between the second receiving terminal and the first auxiliary terminal. In this process, the server can also perform the following operations:
[0095] When it is determined that the first binding relationship is changed to a second binding relationship, the second video data is sent to the second receiving terminal according to the second binding relationship and the first service associated with the first auxiliary terminal, and the sending of the second video data to the first receiving terminal is stopped.
[0096] In some possible embodiments, the above-mentioned determination of the first binding relationship can be achieved in the following manner: receiving first configuration information, the first configuration information being used to indicate binding the first receiving terminal with the first auxiliary terminal; and according to the first configuration information, binding the MAC address of the first receiving terminal with the MAC address of the first auxiliary terminal to each other to determine the first binding relationship.
[0097] After the first auxiliary terminal is changed to connect to the second receiving terminal, the server may also receive second configuration information, which is used to indicate the change of binding of the first auxiliary terminal and indicate the new device bound to the first auxiliary terminal, the second receiving terminal. The server determines the second binding relationship in a similar manner to the first binding relationship. According to the second configuration information, the MAC address of the first auxiliary terminal is bound to the MAC address of the second receiving terminal to determine the second binding relationship.
[0098] In some possible embodiments, the first configuration information and the second configuration information may be sent to the server by relevant technical personnel.
[0099] In some possible embodiments, the second configuration information can also be used to indicate that the first auxiliary terminal is unbound from the first receiving terminal. Therefore, the server can also release the resources allocated to the first receiving terminal for performing conference-related tasks based on the second configuration information, such as deleting the first binding relationship and terminating sending the second video data to the first receiving terminal.
[0100] In some possible embodiments, when the second configuration information does not indicate that the first auxiliary terminal is unbound from the first receiving terminal, the server can send the second video data not only to the first receiving terminal but also to the second receiving terminal after determining the second binding relationship. This solution is applied to a participant who temporarily joins a meeting, and the participant has not pre-registered the corresponding personal information on the server, nor has the bound receiving terminal and auxiliary terminal been provided in advance. At this time, a new receiving terminal needs to be added as soon as possible so that the participant can join the meeting as soon as possible. Therefore, a receiving terminal needs to be temporarily provided for the participant, such as the second receiving terminal mentioned above, which is bound to the same auxiliary terminal as the first receiving terminal, so that the second receiving terminal can play the speaker's conference video as soon as possible.
[0101] Based on the above technical solution, the receiving terminal and the auxiliary terminal can be flexibly bound or unbound, and after the auxiliary terminal is bound to a new receiving terminal, the server can send corresponding task data to the new receiving terminal in a timely manner based on the task information of the original receiving terminal corresponding to the auxiliary terminal, so that the new receiving terminal can seamlessly connect the tasks of the original receiving terminal, and the operations that previously needed to be performed on the original receiving terminal, such as signing in, voting, etc., do not need to be re-executed on the new receiving terminal, thereby ensuring the conference experience of the participants.
[0102] In some possible embodiments, taking the above-mentioned first auxiliary terminal as an example, since the first auxiliary terminal also needs to perform corresponding services in the meeting, and the first auxiliary terminal is usually used to display a static picture, such as displaying the personal information of the participants, etc., before the participants hold the meeting, the server can also perform the following operations: determine the second service, and the second service is to enable the first auxiliary terminal to display the first picture.
[0103] It should be understood that after determining the second service, the server may send first picture data to the first auxiliary terminal, where the first picture data is used to trigger the first auxiliary terminal to display the first picture.
[0104] Among them, the first screen can be used to display the personal information of the participants. It can be seen that the first screen data is different from the above-mentioned first video data or second video data. The first screen data is used to display a static screen, while the above-mentioned first video data and second video data are used to display a dynamic screen.
[0105] In some possible embodiments, before the participants hold a meeting, the server may further perform the following operations: determine a first binding relationship, where the first binding relationship is used to indicate a binding relationship between the first receiving terminal and the first auxiliary terminal. Then, during the execution of the above method 200, the server may further perform the following operations: associate the above second service with the first auxiliary terminal according to the first binding relationship.
[0106] Assume that in the middle of a meeting, for some reason, the first receiving terminal can no longer provide services to the participants due to some reasons, such as power exhaustion, accidental damage, etc., so it is necessary to provide a second auxiliary terminal to display the personal information of the participant. At this time, the first receiving terminal is connected to the second auxiliary terminal instead. At this time, the relevant technicians can modify the first binding relationship to a third binding relationship on the server side. The third binding relationship is used to indicate the binding relationship between the first receiving terminal and the second auxiliary terminal. In this process, the server can also perform the following operations:
[0107] When it is determined that the first binding relationship is changed to a third binding relationship, the third binding relationship is used to indicate a binding relationship between the first receiving terminal and the second auxiliary terminal, and the first screen data is sent to the second auxiliary terminal according to the third binding relationship and the second service associated with the first receiving terminal.
[0108] In some possible embodiments, after the first receiving terminal is changed to be connected to the second auxiliary terminal, the server may also receive third configuration information, which is used to indicate the change of binding operation of the first receiving terminal and to indicate a new device bound to the first receiving terminal, that is, the second auxiliary terminal. The way in which the server determines the second binding relationship is similar to the way in which the first binding relationship or the second binding relationship is determined, and will not be repeated here.
[0109] In some possible embodiments, the third configuration information can also be used to instruct the first receiving terminal to unbind from the first auxiliary terminal. Therefore, the server can also release the resources allocated to the first auxiliary terminal for performing conference-related tasks based on the third configuration information, such as deleting the first binding relationship and terminating sending the first screen data to the first auxiliary terminal.
[0110] In some possible embodiments, when the third configuration information does not indicate that the first auxiliary terminal is unbound from the first receiving terminal, after determining the third binding relationship, the server can send the first screen data not only to the first auxiliary terminal but also to the second auxiliary terminal.
[0111] In some possible embodiments, the first configuration information, the second configuration information or the third configuration information may be sent to the server by relevant technical personnel.
[0112] Based on the above technical solution, the receiving terminal and the auxiliary terminal can be flexibly bound or unbound, and after the receiving terminal is bound to a new auxiliary terminal, the server can send corresponding task data to the new auxiliary terminal in a timely manner based on the task information of the original auxiliary terminal corresponding to the receiving terminal, so that the new auxiliary terminal can seamlessly connect the tasks of the original auxiliary terminal. Operations that previously needed to be performed on the original auxiliary terminal, such as signing in and voting, do not need to be re-executed on the new auxiliary terminal, thereby ensuring the conference experience of the participants.
[0113] In some possible embodiments, assuming that a participant using the first auxiliary terminal and the first receiving terminal leaves the conference midway and is replaced by a new participant, the server determines third business information, and the third business information is used to indicate that the first auxiliary terminal needs to display a second screen; the server sends the second screen data to the first auxiliary terminal, and the second screen data is used to trigger the first auxiliary terminal to display a second screen, and the second screen can be used to display the personal information of the new participant.
[0114] It should be understood that any one or more of the data transmission methods proposed in the embodiments of the present application can be integrated into the business flow of the conference system server.
[0115] Figure 5 It is a schematic diagram of the business flow of a conference system server proposed in an embodiment of the present application.
[0116] Before executing the corresponding conference task, the server can perform the following preparations:
[0117] S501: Create a meeting task.
[0118] It should be understood that the above-mentioned creation of a conference task refers to requesting and obtaining from the operating system the processing resources for executing the relevant conference content, including opening up a task thread and allocating corresponding computing resources.
[0119] S503: Obtain MAC addresses of N operating terminals and N auxiliary terminals used for the conference, and bind the MAC addresses of the N operating terminals to the MAC addresses of the N auxiliary terminals one by one to determine N electronic table signs, where N is greater than 1.
[0120] S505: Determine the terminal device groups, each group corresponds to a plurality of electronic table signs less than N, and each electronic table sign includes an operation terminal and an auxiliary terminal.
[0121] This completes the server's pre-meeting preparations, after which the relevant tasks during the meeting will be performed.
[0122] S507: Create a conference content collection.
[0123] Among them, the conference content set may include controlling the auxiliary terminal to display the personal information of the participants, controlling the operation terminal to display the sign-in operation interface, controlling the operation terminal to display the voting operation interface, and controlling the operation terminal to display the screen operation video of the speaker.
[0124] S509: Select a first task from the conference content set.
[0125] S511: Determine a group of first terminal devices participating in the first task.
[0126] S513: Sending task data related to the first task to the electronic table sign grouped by the first terminal device.
[0127] S515: Obtaining status feedback information of each electronic table card of the first terminal device group executing the first task.
[0128] For example, when the first task is a sign-in task, the status feedback information of the electronic table card executing the first task includes: signed in or not signed in.
[0129] Assume that the operating terminal of the first electronic table card in the first terminal device group is changed, that is, the auxiliary terminal is re-bound with the operating terminal, then the status feedback information corresponding to the new operating terminal after the re-binding will inherit the status feedback information corresponding to the original operating terminal.
[0130] S517: Record the status feedback information of each electronic table card of the first terminal device group executing the first task for viewing.
[0131] The above is the complete business flow of the server.
[0132] In addition, an embodiment of the present application also provides an apparatus for implementing any of the above methods. For example, an apparatus for data transmission is provided, which includes a unit (or means) for implementing any of the above methods for data transmission.
[0133] Figure 6 It is a schematic block diagram of a data transmission device 600 provided in an embodiment of the present application.
[0134] The device 600 can be applied to a server in any conference system proposed in the embodiment of the present application, and the device 600 includes:
[0135] An acquiring unit 610 is configured to acquire first video data of a sending terminal, where a bit rate of the first video data is a first bit rate;
[0136] The determining unit 620 is configured to determine a bandwidth occupancy ratio of a local area network, where the local area network is used to serve a sending terminal and at least one receiving terminal, and the bandwidth occupancy ratio is used to indicate a ratio between a bandwidth occupied by the sending terminal and the at least one receiving terminal and a total bandwidth of the local area network; and determine the second video data according to the first video data and the bandwidth occupancy ratio, where a bit rate of the second video data is a second bit rate, and the second bit rate is less than or equal to the first bit rate;
[0137] The sending unit 630 is configured to send the second video data to at least one receiving terminal.
[0138] In some possible embodiments, when the bandwidth occupancy ratio is less than or equal to the first threshold, the second code rate is equal to the first code rate; or, when the bandwidth occupancy ratio is greater than the first threshold, the second code rate is less than the first code rate.
[0139] In some possible embodiments, the sending unit 630 is further configured to send a first prompt message when the bandwidth occupancy ratio is greater than or equal to a second threshold, where the first prompt message is used to indicate the total bandwidth of the local area network to be expanded.
[0140] In some possible embodiments, the determination unit 620 is further used to determine first service information, where the first service information is used to indicate that a video transmission service is required between a sending terminal and at least one receiving terminal; based on this, the acquisition unit 610 is specifically used to acquire a network address of a video acquisition device, where the video acquisition device is used to acquire first video data of the sending terminal, and acquire the first video data from the video acquisition device through RTC technology according to the network address of the video acquisition device; in addition, the acquisition unit 610 is further used to acquire a network address of at least one receiving terminal; based on this, the sending unit 630 is specifically used to send second video data to at least one receiving terminal according to the network address of at least one receiving terminal.
[0141] In some possible embodiments, the at least one receiving terminal includes a first receiving terminal, which is connected to the first auxiliary terminal, and the second video data is used for the first service. The determination unit 620 is also used to determine a first binding relationship, which is used to indicate the binding relationship between the first receiving terminal and the first auxiliary terminal; and according to the first binding relationship, the first service is associated with the first auxiliary terminal; when the determination unit 620 determines that the first binding relationship is changed to a second binding relationship, the second binding relationship is used to indicate the binding relationship between the second receiving terminal and the first auxiliary terminal, and the sending unit 630 is also used to send the second video data to the second receiving terminal according to the second binding relationship and the first service associated with the first auxiliary terminal, and stop sending the second video data to the first receiving terminal.
[0142] In some possible embodiments, the at least one receiving terminal includes a first receiving terminal, which is connected to a first auxiliary terminal, and is used to receive first screen data, and the first screen data is used for a second service. The determination unit 620 is also used to determine a first binding relationship, and the first binding relationship is used to indicate a binding relationship between the first receiving terminal and the first auxiliary terminal; according to the first binding relationship, the second service is associated with the first receiving terminal; when the determination unit 620 determines that the first binding relationship is changed to a third binding relationship, the third binding relationship is used to indicate a binding relationship between the first receiving terminal and the second auxiliary terminal, and the sending unit 630 is also used to send the first screen data to the second auxiliary terminal according to the third binding relationship and the second service associated with the first receiving terminal.
[0143] In some possible embodiments, the above-mentioned device 600 also includes: a receiving unit 640, used to receive first configuration information, and the first configuration information is used to indicate that the first receiving terminal is bound to the first auxiliary terminal; the above-mentioned determination unit 620 is specifically used to bind the media access control MAC address of the first receiving terminal and the MAC address of the first auxiliary terminal to each other according to the first configuration information to determine the first binding relationship.
[0144] In some possible embodiments, the first receiving terminal includes an LCD, and the first auxiliary terminal includes an EPD.
[0145] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0146] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0147] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0148] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0149] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0150] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0151] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for data transmission, characterized in that: The method comprises: Acquire first video data of a sending terminal, where a bit rate of the first video data is a first bit rate; Determining a bandwidth occupancy ratio of a local area network, the local area network being used to serve the sending terminal and at least one receiving terminal, the bandwidth occupancy ratio being used to represent a ratio between a bandwidth occupied by the sending terminal and the at least one receiving terminal and a total bandwidth of the local area network; Determine second video data according to the first video data and the bandwidth occupancy ratio, wherein a bit rate of the second video data is a second bit rate, and the second bit rate is less than or equal to the first bit rate; The second video data is sent to the at least one receiving terminal.
2. The method according to claim 1, characterized in that: When the bandwidth occupancy ratio is less than or equal to a first threshold, the second bit rate is equal to the first bit rate; or, When the bandwidth occupancy ratio is greater than the first threshold, the second code rate is less than the first code rate.
3. The method according to claim 2, characterized in that The method further comprises: When the bandwidth occupancy ratio is greater than or equal to a second threshold, first prompt information is sent, where the first prompt information is used to indicate expansion of the total bandwidth, and the second threshold is greater than the first threshold.
4. The method according to any one of claims 1 to 3, characterized in that The sending terminal is connected to a video acquisition device, and the video acquisition device is used to acquire first video data of the sending terminal. The acquiring of the first video data by the sending terminal includes: Obtaining the network address of the video acquisition device; According to the network address of the video acquisition device, the first video data is obtained from the video acquisition device through web instant communication RTC technology.
5. The method according to claim 4, characterized in that The at least one receiving terminal includes a first receiving terminal, the first receiving terminal is connected to a first auxiliary terminal, the second video data is used for a first service, and the method further includes: determining a first binding relationship, where the first binding relationship is used to indicate a binding relationship between the first receiving terminal and the first auxiliary terminal; Associating the first service with the first auxiliary terminal according to the first binding relationship; When it is determined that the first binding relationship is changed to a second binding relationship, the second binding relationship is used to indicate the binding relationship between the second receiving terminal and the first auxiliary terminal, and according to the second binding relationship and the first service associated with the first auxiliary terminal, the second video data is sent to the second receiving terminal, and sending the second video data to the first receiving terminal is stopped.
6. The method according to claim 4, characterized in that The at least one receiving terminal includes a first receiving terminal, the first receiving terminal is connected to a first auxiliary terminal, the first auxiliary terminal is used to receive first picture data, the first picture data is used for a second service, and the method further includes: determining a first binding relationship, where the first binding relationship is used to indicate a binding relationship between the first receiving terminal and the first auxiliary terminal; Associating the second service with the first receiving terminal according to the first binding relationship; When it is determined that the first binding relationship is changed to a third binding relationship, the third binding relationship is used to indicate the binding relationship between the first receiving terminal and the second auxiliary terminal, and the first screen data is sent to the second auxiliary terminal according to the third binding relationship and the second service associated with the first receiving terminal.
7. The method according to claim 5 or 6, characterized in that: Determining the first binding relationship includes: receiving first configuration information, where the first configuration information is used to indicate binding the first receiving terminal with the first auxiliary terminal; According to the first configuration information, the media access control MAC address of the first receiving terminal and the MAC address of the first auxiliary terminal are bound to each other to determine the first binding relationship.
8. The method according to any one of claims 5 to 7, characterized in that The first receiving terminal includes a liquid crystal display LCD, and the first auxiliary terminal includes an electronic paper display EPD.
9. A data transmission device, characterized in that: The method comprises a module or a unit for executing the method as claimed in any one of claims 1 to 8.
10. A data transmission device, characterized in that: The method comprises a processor and a memory, wherein the processor and the memory are connected, wherein the memory is used to store program codes, and the processor is used to call the program codes to execute the method according to any one of claims 1 to 8.
11. A server, characterized in that: Comprising the device as claimed in claim 9 or 10.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 8.
13. A computer program product, characterized in that The method comprises instructions which, when executed by a processor, cause the method according to any one of claims 1 to 8 to be performed.
Citation Information
Patent Citations
Video playing method, device and system
CN109996094A
Method and device for automatically adjusting occupied bandwidth, storage medium and electronic equipment
CN111225240A
BLE gateway communication method and system and computer equipment
CN113645603A
Transmission bandwidth adjustment method and device, and computer readable storage medium
CN114006820A
Video code rate control method and device based on network grading
CN115914756A
