CN112616070B - Transmission link management method and device - Google Patents

Transmission link management method and device Download PDF

Info

Publication number
CN112616070B
CN112616070B CN202011488417.9A CN202011488417A CN112616070B CN 112616070 B CN112616070 B CN 112616070B CN 202011488417 A CN202011488417 A CN 202011488417A CN 112616070 B CN112616070 B CN 112616070B
Authority
CN
China
Prior art keywords
image data
receiving
time length
transmission
transmission link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011488417.9A
Other languages
Chinese (zh)
Other versions
CN112616070A (en
Inventor
薛惠锋
钟安彪
杨星亮
苏睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202011488417.9A priority Critical patent/CN112616070B/en
Publication of CN112616070A publication Critical patent/CN112616070A/en
Application granted granted Critical
Publication of CN112616070B publication Critical patent/CN112616070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00095Systems or arrangements for the transmission of the picture signal
    • H04N1/00098Systems or arrangements for the transmission of the picture signal via a television channel, e.g. for a series of still pictures with or without sound
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Communication Control (AREA)

Abstract

The disclosure provides a transmission link management method and device, relates to the technical field of communication, and can solve the problem of resource waste in the transmission process of image data. The specific technical scheme is as follows: acquiring the playing time of the image data, and sending the image data to receiving equipment by sending equipment; acquiring the transmission time length of image data; and after the receiving equipment finishes receiving the image data, if the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value, disconnecting a data transmission link between the sending equipment and the receiving equipment. The invention achieves the purpose of saving system resources by optimizing the image data transmission management mode.

Description

Transmission link management method and device
The application is a divisional application of Chinese patents with the application number of 201810552829.0 and the application name of 'a transmission link management method and device', which are filed in the Chinese patent office on the application date of 2018, 5 and 31.
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for transmitting a link.
Background
In the control of the existing video remote playing equipment, the image data of a server side needs to be transmitted to a playing equipment side through a terminal equipment image transmission technology; the specific transmission process is as follows: the sending equipment acquires playing image data from the server and transmits the image data to the receiving terminal through the transmission link; when the difference between the image data content playing time and the image data transmission time is large, the data link between the sending device and the receiving device continuously keeps a connection state, which results in resource waste.
Disclosure of Invention
The embodiment of the disclosure provides a transmission link management method, which can solve the problem that system resources are wasted in the image data transmission process. The technical scheme is as follows:
according to the embodiment of the present disclosure, a method for managing a transmission link is provided, the method including:
acquiring the playing duration of image data, wherein the image data is sent to receiving equipment by sending equipment;
acquiring the transmission duration of the image data;
and after the receiving equipment finishes receiving the image data, if the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value, disconnecting a data transmission link between the sending equipment and the receiving equipment.
In the management method of the transmission link provided by the embodiment of the present disclosure, the transmission duration includes an estimated duration, and the estimated duration is a preset length of time that the sending device needs to occupy for transmitting the image data to the receiving device;
the acquiring the transmission duration of the image data includes:
acquiring the total data transmission amount of the image data;
acquiring the transmission rate of a data transmission link between the sending equipment and the receiving equipment;
and calculating the estimated duration according to a formula Tg = D/R, wherein Tg is the estimated duration, D is the total data transmission amount, and R is the transmission rate.
In the transmission link management method provided by the embodiment of the present disclosure, the transmission duration includes an actual occupied duration, and the actual occupied duration is a length of time actually occupied by the sending device to transmit the image data to the receiving device;
the acquiring the transmission duration of the image data includes:
and after the receiving equipment receives the image data, acquiring the actual occupation time for transmitting the image data.
In the method for managing a transmission link according to the embodiment of the present disclosure, before the data transmission link between the sending device and the receiving device is disconnected, the method further includes:
judging whether the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value or not;
and when the difference value between the playing time length and the transmission time length is greater than or equal to the preset threshold value, generating a first disconnection instruction, wherein the first disconnection instruction is used for indicating that a data transmission link between the sending device and the receiving device is disconnected after the receiving device finishes receiving the image data.
In the method for managing a transmission link provided in the embodiment of the present disclosure, before the data transmission link between the sending device and the receiving device is disconnected, the method further includes:
and receiving a second disconnection instruction, wherein the second disconnection instruction is used for instructing to disconnect the data transmission link between the sending equipment and the receiving equipment.
In the method for managing a transmission link provided in the embodiment of the present disclosure, a management device of the transmission link is a receiving device, and the method further includes:
receiving and storing the image data;
and playing the stored image data through a display screen.
The technical scheme provided by the embodiment of the invention has the beneficial effects that: by acquiring the playing time length and the transmission time length of the image data and timely disconnecting the data links of the sending equipment and the transmission equipment when the difference value of the playing time length and the transmission time length exceeds a threshold value, the aims of optimizing link management and saving system resources are fulfilled.
The technical scheme of the invention is that the image data is received and stored to the receiving equipment at the same time, and the stored image data is played through the display screen; therefore, the playing of the image data is not affected no matter whether the transmission link is disconnected or not, and the smooth and stable playing effect is achieved.
In a second aspect, a method for managing a transmission link is provided according to an embodiment of the present disclosure, where the method includes:
acquiring the playing time of the image data, and sending the image data to receiving equipment by sending equipment;
acquiring the transmission duration of image data;
after the receiving equipment finishes receiving the image data, if the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value, a data transmission link between the sending equipment and the receiving equipment is disconnected;
the transmission time length comprises estimated time length or actual occupied time length, the estimated time length is preset time length which is occupied by the sending equipment for transmitting the image data to the receiving equipment, and the actual occupied time length is time length which is actually occupied by the sending equipment for transmitting the image data to the receiving equipment.
Before the data transmission link between the sending device and the receiving device is disconnected, the method for managing the transmission link further includes:
judging whether the difference value of the playing time length and the transmission time length is greater than or equal to a preset threshold value or not;
and when the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value, generating a first disconnection instruction, wherein the first disconnection instruction is used for indicating that a data transmission link between the sending equipment and the receiving equipment is disconnected after the receiving equipment finishes receiving the image data.
Before the data transmission link between the sending device and the receiving device is disconnected, the method for managing the transmission link further includes:
and receiving a second disconnection instruction, wherein the second disconnection instruction is used for instructing to disconnect the data transmission link between the sending equipment and the receiving equipment.
In the method for managing a transmission link according to the embodiment of the present disclosure, when the management apparatus of the transmission link is a receiving device, the method further includes:
receiving and storing image data;
and playing the stored image data through the display screen.
The technical scheme provided by the embodiment of the invention has the beneficial effects that: by acquiring the playing time length and the transmission time length of the image data and timely disconnecting the data links of the sending equipment and the transmission equipment when the difference value of the playing time length and the transmission time length exceeds a threshold value, the aims of optimizing link management and saving system resources are fulfilled.
The technical scheme of the invention is that the image data is received and stored to the receiving equipment at the same time, and the stored image data is played through the display screen; therefore, the playing of the image data is not affected no matter whether the transmission link is disconnected or not, and the smooth and stable playing effect is achieved.
In a third aspect, an embodiment of the present disclosure provides a transmission link management apparatus, where the apparatus includes: the device comprises a first duration acquisition module, a second duration acquisition module and a disconnection module:
the first time length obtaining module is used for obtaining the playing time length of image data, and the image data is sent to the receiving device by the sending device;
the second duration acquisition module is used for acquiring the transmission duration of the image data;
the disconnection module is configured to disconnect a data transmission link between the sending device and the receiving device if a difference between the playing time length and the transmission time length is greater than or equal to a preset threshold after the receiving device completes receiving the image data.
The transmission time length in the device comprises an estimated time length which is preset time length occupied by the sending equipment for transmitting the image data to the receiving equipment;
the second duration obtaining module comprises a first obtaining unit, a second obtaining unit and a calculating unit,
the first acquisition unit is used for acquiring the total data transmission amount of the image data;
the second obtaining unit is configured to obtain a transmission rate of a data transmission link between the sending device and the receiving device;
and the calculating unit is used for calculating and obtaining the estimated duration according to a formula Tg = D/R, wherein Tg is the estimated duration, D is the total data transmission amount, and R is the transmission rate.
The transmission time length in the device comprises actual occupied time length, wherein the actual occupied time length is the time length actually occupied by the sending equipment for transmitting the image data to the receiving equipment;
the second duration acquisition module comprises a third acquisition unit;
the third obtaining unit is configured to obtain an actual occupation time for transmitting the image data after the receiving device has received the image data.
The device of the invention interrupts the die sinking block and comprises: a judging unit and a first signal transmitting unit;
the judgment unit: the time length judging unit is used for judging whether the difference value between the playing time length and the transmission time length is greater than or equal to the preset threshold value or not;
the first signal transmitting unit: before the data transmission link between the sending device and the receiving device is disconnected, when the difference between the playing time length and the transmission time length is greater than or equal to the preset threshold, generating a first disconnection instruction, where the first disconnection instruction is used to instruct to disconnect the data transmission link between the sending device and the receiving device after the receiving device finishes receiving the image data.
The device of the invention also comprises an interruption die sinking block: a second signal transmitting unit;
the second signal sending unit is configured to receive a second disconnection instruction before disconnecting the data transmission link between the sending device and the receiving device, where the second disconnection instruction is used to instruct to disconnect the data transmission link between the sending device and the receiving device.
The management device of the transmission link in the device of the invention is a receiving device, and the receiving device comprises: a storage module and a display module;
the storage module: for receiving and storing said image data;
the display module: the image data is used for playing the stored image data through a display screen.
The management device is used for realizing a transmission link mode, and aims at the problem that the transmission link resource is wasted due to the fact that the sending equipment and the receiving equipment are always connected when the image data playing time is longer than the transmission time, the management of data transmission is optimized, the flexibility of data transmission is improved, and the utilization rate of the transmission link is improved.
The management device of the invention receives the image data and stores the image data to the receiving equipment at the same time, and plays the stored image data through the display screen; therefore, the playing of the image data is not affected no matter whether the transmission link is disconnected or not, and the smooth and stable playing effect is achieved.
In a fourth aspect, an embodiment of the present disclosure provides a transmission link management apparatus, where the apparatus includes: the device comprises a first duration acquisition module, a second duration acquisition module and a disconnection module:
the first time length acquisition module is used for acquiring the playing time length of the image data, and the image data is sent to the receiving equipment by the sending equipment;
the second time length obtaining module is used for obtaining the transmission time length of the image data;
and the disconnection module is used for disconnecting the data transmission link between the sending equipment and the receiving equipment if the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value after the receiving equipment finishes receiving the image data.
The transmission time length comprises an estimated time length or an actual occupied time length, the estimated time length is a preset time length occupied by the sending equipment for transmitting the image data to the receiving equipment, and the actual occupied time length is a time length actually occupied by the sending equipment for transmitting the image data to the receiving equipment.
The second duration obtaining module in the device of the invention comprises a first obtaining unit, a second obtaining unit and a calculating unit,
a first acquisition unit configured to acquire a total data transmission amount of the image data;
the second acquisition unit is used for acquiring the transmission rate of a data transmission link between the sending equipment and the receiving equipment;
and the calculating unit is used for calculating and obtaining the estimated duration according to a formula Tg = D/R, wherein Tg is the estimated duration, D is the total data transmission amount, and R is the transmission rate.
The second duration obtaining module in the device of the present invention further comprises a third obtaining unit,
and the third acquisition unit is used for acquiring the actual occupation time length of the transmitted image data after the receiving equipment receives the image data.
The disconnection module in the device of the invention further comprises: a judging unit and a first signal transmitting unit;
a judging unit: the device is used for judging whether the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value or not;
the first signal transmitting unit: the method comprises the steps of generating a first disconnection instruction when a difference value between the playing time length and the transmission time length is larger than or equal to a preset threshold value before a data transmission link between sending equipment and receiving equipment is disconnected, wherein the first disconnection instruction is used for indicating that the data transmission link between the sending equipment and the receiving equipment is disconnected after the receiving equipment finishes receiving image data.
The disconnect module further comprises: a second signal transmitting unit;
and the second signal sending unit is used for receiving a second disconnection instruction before the data transmission link between the sending device and the receiving device is disconnected, and the second disconnection instruction is used for indicating to disconnect the data transmission link between the sending device and the receiving device.
When the management device of the present invention is a receiving device, it further comprises: a storage module and a display module;
a storage module: for receiving and storing said image data;
a display module: the image data is used for playing the stored image data through a display screen.
The management device is used for realizing a transmission link mode, and aims at the problem that the transmission link resource is wasted due to the fact that the sending equipment and the receiving equipment are always connected when the image data playing time is longer than the transmission time, the management of data transmission is optimized, the flexibility of data transmission is improved, and the utilization rate of the transmission link is improved.
The management device of the invention receives the image data and stores the image data to the receiving equipment at the same time, and plays the stored image data through the display screen; therefore, the playing of the image data is not affected no matter whether the transmission link is disconnected or not, and the smooth and stable playing effect is achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of a transmission link management method according to an embodiment of the present disclosure;
fig. 2 is an information interaction diagram of a transmission link management method according to a second embodiment of the present disclosure;
fig. 3 is an information interaction diagram of a transmission link management method provided in the third embodiment of the present disclosure;
fig. 4 is an information interaction diagram of a transmission link management method according to a fourth embodiment of the present disclosure;
fig. 5 is a structural diagram of a transmission link management apparatus according to a fifth embodiment of the present disclosure;
fig. 6 is a structural diagram of a transmission link management apparatus according to a fifth embodiment of the present disclosure;
fig. 7 is a structural diagram of a transmission link management device according to a fifth embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of methods consistent with certain aspects of the disclosure, as detailed in the claims that follow.
Example one
The embodiment of the present disclosure provides a management method for a transmission link, which is applied to a management device for a transmission link, where the management device for a transmission link may be a part of a sending device or a sending device, may also be a part of a receiving device or a receiving device, and may also be an independent device, as shown in fig. 1, the management method for a transmission link includes the following steps:
101. and acquiring image data and playing time.
The image data is transmitted by the transmitting device to the receiving device. The duration of play being used to indicate
As an alternative embodiment, the image data comprises: pictures, videos, word, PPT, etc.
102. The transmission time length of the image data is acquired.
The transmission time length comprises an estimated time length or an actual occupied time length, the estimated time length is a preset time length occupied by the sending equipment for transmitting the image data to the receiving equipment, and the actual occupied time length is a time length actually occupied by the sending equipment for transmitting the image data to the receiving equipment.
Here, two specific examples are listed for explanation:
in a first example, the transmission duration comprises an estimated duration, and the transmission duration for acquiring the image data comprises:
acquiring the total data transmission amount of the image data;
acquiring the transmission rate of a data transmission link between sending equipment and receiving equipment;
and calculating the estimated duration according to a formula Tg = D/R, wherein Tg is the estimated duration, D is the total data transmission amount, and R is the transmission rate.
In a second example, the transmission duration includes an actual occupancy duration, and the transmission duration for acquiring the image data includes:
and after the receiving equipment receives the image data, acquiring the actual occupation time of the transmitted image data.
For the above optional embodiment, the main body for acquiring the transmission duration includes the sending device, the receiving device, and the management device. Here, the example with the sending device as the execution subject is illustrated, and the specific execution steps include: recording a sending time stamp when the sending equipment sends the image data to the receiving equipment;
after the sending equipment sends the image data, acquiring a receiving timestamp fed back by the receiving equipment;
the transmitting device calculates a difference between the transmission time stamp and the reception time stamp as an actual transmission time period.
103. And after the receiving equipment finishes receiving the image data, if the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value, disconnecting a data transmission link between the sending equipment and the receiving equipment.
It should be noted that, when the transmission duration includes the preset duration, the difference between the playing duration and the transmission duration may be determined before the image data is transmitted, or may be determined after the image data is transmitted; and when the transmission time length comprises the actual occupied time length, determining the difference value between the playing time length and the transmission time length after the image data is transmitted.
The link disconnection can be implemented in various ways, and here, three implementations of link disconnection are listed, which does not represent that the disclosure is limited to this:
in a first implementation, the management means of the transmission link may be a sending device or a receiving device;
judging whether the difference value of the playing time length and the transmission time length is greater than or equal to a preset threshold value or not; and when the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value, disconnecting the data transmission link between the sending equipment and the receiving equipment. The transmitting device or the receiving device can directly disconnect the transmission link after the judgment.
In a second implementation, the management device of the transmission link may be a sending device or a receiving device, or a stand-alone device;
judging whether the difference value of the playing time length and the transmission time length is greater than or equal to a preset threshold value or not; and when the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value, generating a first disconnection instruction, wherein the first disconnection instruction is used for indicating that a data transmission link between the sending equipment and the receiving equipment is disconnected after the receiving equipment finishes receiving the image data. The first disconnect instruction may be sent to the sending device or the receiving device.
For example, the management apparatus of the transmission link is a sending device, and can send a first disconnection instruction to the receiving device, instructing the receiving device to disconnect the data transmission link between the sending device and the receiving device; the management means of the transmission link may also be a separate device which sends the first disconnection instruction to the sending device or to the receiving device. Of course, this is merely an example and does not represent a limitation of the present disclosure.
In a third implementation, the management means of the transmission link may be a sending device or a receiving device;
before the data transmission link between the sending device and the receiving device is disconnected, the method further comprises the following steps:
and receiving a second disconnection instruction, wherein the second disconnection instruction is used for instructing to disconnect the data transmission link between the sending equipment and the receiving equipment.
For example, the management device of the transmission link may be a sending device, and after receiving the second disconnection instruction sent by the receiving device, the data transmission link between the sending device and the receiving device is disconnected; for another example, the management device of the transmission link may be a receiving device, and after receiving the second disconnection instruction sent by the sending device, the data transmission link between the sending device and the receiving device is disconnected.
According to the management method of the transmission link provided by the embodiment of the disclosure, the playing time of the image data and the transmission time of the image data are obtained; after the receiving equipment finishes receiving the image data, if the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value, a data transmission link between the sending equipment and the receiving equipment is disconnected; by the aid of the disconnection operation of the transmission link, the resource waste of the transmission link can be avoided when the data playing time is longer than the transmission time, the flexibility of data transmission is improved, and the utilization rate of the transmission link is improved. The management method of the invention stores the image data to the receiving equipment while receiving the image data, and plays the stored image data through the display screen; therefore, the playing of the image data is not affected no matter whether the transmission link is disconnected or not, and the smooth and stable playing effect is achieved
Example two
Based on the management method of the transmission link described in the embodiment corresponding to fig. 2, the embodiment of the present disclosure provides a management method of a transmission link, which is applied to a sending device and a receiving device, in this embodiment, a management apparatus of a transmission link may be a sending device or a part of a sending device, and the management method of a transmission link includes the following steps:
201. the sending equipment acquires image data and playing time length.
In an alternative embodiment, the image data comprises: picture, video, word, PPT, etc.
The data information contained in the image data may be: and playing time length, data transmission total amount, playing times and other data information.
For example, in one embodiment, the playing duration is the product of the playing single time duration and the number of plays.
202. The sending equipment obtains the estimated transmission time of the image data.
In one embodiment, the manner of obtaining the estimated transmission duration includes, but is not limited to:
the transmitting device obtains the total amount of data transmission.
The sending device obtains the transmission rate of a data transmission link between the sending device and the receiving device.
The sending equipment calculates the estimated duration according to the formula Tg = D/R.
Wherein, tg is the estimated duration, D is the total data transmission amount, and R is the transmission rate.
203. The sending device judges whether the difference value between the playing time length and the transmission time length is larger than or equal to a preset threshold value.
204. When the difference value between the playing time length and the transmission time length is larger than or equal to the preset threshold value, the sending equipment generates a first disconnection instruction and sends the first disconnection instruction to the receiving equipment.
The first disconnection instruction is used for instructing to disconnect a data transmission link between the sending device and the receiving device after the receiving device finishes receiving the image data.
205. The transmitting apparatus transmits the image data to the receiving apparatus.
206. And after the receiving equipment receives the image data, the data transmission link between the sending equipment and the receiving equipment is disconnected according to the first disconnection instruction.
After the sending device starts sending the image data to the receiving device, the receiving device stores the image data when receiving the image data, and after the image data is received, the receiving device stores the complete image data.
After the data transmission link between the transmitting apparatus and the receiving apparatus is disconnected, the receiving apparatus plays the stored image data.
As an optional embodiment, after the receiving device finishes receiving the image data, according to receiving the first disconnection instruction, the data transmission link between the receiving device and the sending device is disconnected, and the stored image data is played.
As an alternative embodiment, when the receiving device disconnects from the sending device and plays the stored image data content in a loop, the sending device may connect with other devices to establish a transmission link, thereby improving the utilization efficiency of the transmission link.
In the prior art, when image data which is circularly played is transmitted, after the transmitting equipment finishes transmitting the image data, the transmitting equipment still needs to be connected with the receiving equipment until the circular playing is finished, so that link resources are greatly wasted, and the transmission efficiency is reduced; the invention can disconnect the link with the receiving device only after the transmitting device finishes the first image data transmission, and the receiving device can finish the circular playing by receiving the stored image data.
EXAMPLE III
Based on the management method of the transmission link described in the embodiment corresponding to fig. 3, an embodiment of the present disclosure provides a management method of a transmission link, which is applied to a sending device and a receiving device, in this embodiment, a management apparatus of the transmission link may be a part of the receiving device or the receiving device, and the management method of the transmission link includes the following steps:
301. the transmitting device acquires image data.
The sending device obtains the playing time length in the image data.
In an alternative embodiment, the image data comprises: picture, video, word, PPT, etc.
The data information contained in the image data may be: and playing time length, data transmission total amount, playing times and other data information.
302. The transmitting apparatus transmits the image data to the receiving apparatus.
After the sending device starts sending the image data to the receiving device, the receiving device stores the image data when receiving the image data, plays the stored image data, and after the image data is received, the receiving device stores the complete image data.
After the data transmission link between the sending device and the receiving device is disconnected, the receiving device reads the stored image data according to the position where the image data is played when the data transmission link is disconnected, and the image data is played continuously from the position.
303. And after the receiving equipment receives the image data, the receiving equipment acquires the playing time length and the transmission time length of the image data.
As an optional embodiment, the obtaining manner of the transmission duration includes but is not limited to:
when the sending equipment sends the image data to the receiving equipment, the receiving equipment records a sending time stamp;
after the sending equipment sends the image data, the receiving equipment records a receiving time stamp;
and the receiving equipment calculates the difference between the sending time stamp and the receiving time stamp according to a formula to obtain the actual transmission time length.
304. And the receiving equipment judges whether the difference value of the playing time length and the transmission time length is greater than or equal to a preset threshold value or not according to the playing time length and the transmission time length.
305. And after the receiving equipment judges that the difference value between the playing time length and the transmission time length is greater than or equal to the preset threshold value, disconnecting the data transmission link between the sending equipment and the receiving equipment.
As an alternative embodiment, the disconnection manner of the receiving device includes, but is not limited to, directly disconnecting the data transmission link with the sending device after the judgment of the receiving device.
As an optional embodiment, after the receiving device finishes receiving the image data, when the difference between the playing time length and the transmission time length is judged to be greater than or equal to a preset threshold value, the connection with the sending device is disconnected, and the received image data is automatically played; during the period that the receiving device plays the image data, the transmitting device disconnects the link connection with the receiving device, thereby saving the performance resource and the link resource of the transmitting device.
As an optional embodiment, the image data is a video file, the playing duration of the file is 1 hour, and the sending device transmits the file to the receiving device after acquiring the playing duration. After the receiving equipment receives the image data, the transmission time length is acquired as 10 minutes according to the actual transmission time, and after the receiving equipment judges that the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value, a data transmission link between the receiving equipment and the sending equipment is disconnected, and the received image data is automatically played. The receiving device disconnects the link with the transmitting device during the playing of the image data.
In the prior art, the following situations occur when image data with longer playing time and shorter transmission time is transmitted: after the sending equipment finishes sending the image data, the sending equipment still needs to be connected with the receiving equipment until the image data is played completely; in the invention, the receiving equipment can disconnect the link connection with the sending equipment and play the image data only by receiving the image data; by contrast, the method saves performance resources and link resources of the sending device.
Example four
Based on the transmission link management method described in the embodiment corresponding to fig. 4, the embodiment of the present disclosure provides a transmission link management method, which is applied to a transmission link management device, and in this embodiment, the implementation main body includes: the method comprises the following steps that:
401. the sending equipment acquires image data and playing time length.
402. The sending equipment sends the playing time length to the management device.
403. The transmitting apparatus transmits the image data to the receiving apparatus.
404. And after the receiving equipment receives the image data, the receiving equipment acquires the transmission time length of the image data.
405. The receiving equipment sends the transmission duration to the management device.
406. The management device judges whether the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value according to the playing time length and the transmission time length.
407. And when the difference value between the playing time length and the transmission time length is greater than or equal to the preset threshold value, the management device generates a second disconnection instruction, wherein the second disconnection instruction is used for indicating that the data transmission link between the sending equipment and the receiving equipment is disconnected after the receiving equipment finishes receiving the image data.
408. And according to the second disconnection instruction, disconnecting the data transmission link between the sending equipment and the receiving equipment.
As an alternative embodiment, the receiving device disconnects the data transmission link with the sending device according to the second disconnection instruction.
EXAMPLE five
The embodiment of the present disclosure provides a management apparatus for a transmission link, where the management apparatus for a transmission link is configured to execute the data transmission management method provided in the first embodiment or the second embodiment or the third embodiment or the fourth embodiment, and as shown in fig. 5, the management apparatus 50 for a transmission link includes the following modules:
a first duration obtaining module 501, configured to obtain a playing duration of image data, where the image data is sent from a sending device to a receiving device.
A second duration obtaining module 502, configured to obtain a transmission duration of the image data.
A disconnecting module 503, configured to disconnect a data transmission link between the sending device and the receiving device if a difference between the playing time length and the transmission time length is greater than or equal to a preset threshold after the receiving device completes receiving the image data.
The transmission time length comprises an estimated time length or an actual occupied time length, the estimated time length is a preset time length occupied by the sending equipment for transmitting the image data to the receiving equipment, and the actual occupied time length is a time length actually occupied by the sending equipment for transmitting the image data to the receiving equipment.
As an alternative embodiment, as shown in fig. 6, the second duration obtaining module 502 includes a first obtaining unit 5021, a second obtaining unit 5022 and a calculating unit 5023,
a first acquiring unit 5021, configured to acquire a total data transmission amount of the image data.
A second obtaining unit 5022 is configured to obtain a transmission rate of a data transmission link between the sending device and the receiving device.
A calculating unit 5023, configured to calculate and obtain the estimated duration according to a formula Tg = D/R, where Tg is the estimated duration, D is a total data transmission amount, and R is a transmission rate.
As an alternative embodiment, the second duration obtaining module 502, including the third obtaining unit 5024,
a third obtaining unit 5024, configured to obtain the actual occupation time of the transmission image data after the receiving device receives the image data.
As an alternative embodiment, as shown in fig. 7, the disconnection module 503 further includes: a judging unit 5031 and a first signal sending unit 5032.
Determination unit 5031: and judging whether the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value or not.
The first signal transmitting unit 5032: the method comprises the steps of generating a first disconnection instruction when a difference value between the playing time length and the transmission time length is larger than or equal to a preset threshold value before a data transmission link between sending equipment and receiving equipment is disconnected, wherein the first disconnection instruction is used for indicating that the data transmission link between the sending equipment and the receiving equipment is disconnected after the receiving equipment finishes receiving image data.
As an alternative embodiment, the disconnection module 503 further includes: a second signal transmitting unit 5033.
A second signal sending unit 5033, configured to receive a second disconnection instruction before disconnecting the data transmission link between the sending device and the receiving device, where the second disconnection instruction is used to instruct to disconnect the data transmission link between the sending device and the receiving device.
The management device provided by the embodiment of the disclosure is used for realizing a transmission link mode, and aiming at the problem that when the image data playing time is longer than the transmission time, the sending equipment and the receiving equipment are always connected, so that the resource waste of the transmission link is caused, the management of data transmission is optimized, the flexibility of data transmission is improved, and the utilization rate of the transmission link is improved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A management method of transmission link is characterized in that a management device applied to the transmission link comprises the following steps:
acquiring the playing time length of image data, wherein the image data is sent to a receiving device by a sending device, and the image data comprises but is not limited to: any one of pictures, videos, word or PPT;
acquiring transmission time length of the image data, wherein the transmission time length comprises estimated time length or actual occupied time length, the estimated time length is preset time length occupied by the sending equipment for transmitting the image data to the receiving equipment, and the actual occupied time length is actually occupied by the sending equipment for transmitting the image data to the receiving equipment;
after the receiving equipment finishes receiving the image data, if the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value, a data transmission link between the sending equipment and the receiving equipment is disconnected;
wherein the acquiring the transmission duration of the image data comprises:
acquiring the data transmission total amount of image data; acquiring the transmission rate of a data transmission link between the sending equipment and the receiving equipment; calculating the estimated duration according to a formula Tg = D/R, wherein Tg is the estimated duration, D is the total data transmission amount, and R is the transmission rate; or
And after the receiving equipment receives the image data, acquiring the actual occupation time for transmitting the image data.
2. The method for managing a transmission link according to claim 1, wherein before the step of disconnecting the data transmission link between the sending device and the receiving device, the method further comprises:
judging whether the difference value between the playing time length and the transmission time length is greater than or equal to a preset threshold value or not;
and when the difference value between the playing time length and the transmission time length is greater than or equal to the preset threshold value, generating a first disconnection instruction, wherein the first disconnection instruction is used for indicating that a data transmission link between the sending device and the receiving device is disconnected after the receiving device finishes receiving the image data.
3. The method for managing a transmission link according to claim 1, wherein before the step of disconnecting the data transmission link between the sending device and the receiving device, the method further comprises:
and receiving a second disconnection instruction, wherein the second disconnection instruction is used for instructing to disconnect the data transmission link between the sending equipment and the receiving equipment.
4. A method for managing a transmission link according to any one of claims 1-2, wherein the management means of the transmission link is a receiving device, the method further comprising:
receiving and storing the image data;
and playing the stored image data through a display screen.
5. A management device of a transmission link is characterized by comprising a first duration acquisition module, a second duration acquisition module and a disconnection module:
the first duration obtaining module is configured to obtain a playing duration of image data, where the image data is sent from a sending device to a receiving device, and the image data includes, but is not limited to: any one of pictures, videos, word or PPT;
the second duration obtaining module is configured to obtain a transmission duration of the image data, where the transmission duration includes an estimated duration or an actual occupied duration, the estimated duration is a preset length of time that the sending device needs to occupy to transmit the image data to the receiving device, and the actual occupied duration is a length of time that the sending device actually occupies to transmit the image data to the receiving device;
the disconnection module is configured to, after the receiving device finishes receiving the image data, disconnect a data transmission link between the sending device and the receiving device if a difference between the playing duration and the transmission duration is greater than or equal to a preset threshold;
the second duration obtaining module comprises a first obtaining unit, a second obtaining unit and a calculating unit,
the first acquisition unit is used for acquiring the total data transmission amount of the image data;
the second obtaining unit is configured to obtain a transmission rate of a data transmission link between the sending device and the receiving device;
the calculating unit is configured to calculate and obtain the estimated duration according to a formula Tg = D/R, where Tg is the estimated duration, D is the total data transmission amount, and R is the transmission rate; or
The second duration acquisition module comprises a third acquisition unit;
the third obtaining unit is configured to obtain an actual occupation time for transmitting the image data after the receiving device has received the image data.
6. The apparatus for managing transmission links of claim 5, wherein the disconnection module comprises: a judging unit and a first signal transmitting unit;
the judgment unit: the time length judging unit is used for judging whether the difference value between the playing time length and the transmission time length is greater than or equal to the preset threshold value or not;
the first signal transmitting unit: before the data transmission link between the sending device and the receiving device is disconnected, when the difference between the playing time length and the transmission time length is greater than or equal to the preset threshold, generating a first disconnection instruction, where the first disconnection instruction is used to instruct to disconnect the data transmission link between the sending device and the receiving device after the receiving device finishes receiving the image data.
7. The apparatus for managing transmission links of claim 5, wherein the disconnection module further comprises: a second signal transmitting unit;
the second signal sending unit is configured to receive a second disconnection instruction before disconnecting the data transmission link between the sending device and the receiving device, where the second disconnection instruction is used to instruct to disconnect the data transmission link between the sending device and the receiving device.
8. Management device of a transmission link according to any of claims 5-6, characterized in that the management device of the transmission link is a receiving device comprising: the device comprises a storage module and a display module;
the storage module: for receiving and storing said image data;
the display module: the image data is used for playing the stored image data through a display screen.
CN202011488417.9A 2018-05-31 2018-05-31 Transmission link management method and device Active CN112616070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011488417.9A CN112616070B (en) 2018-05-31 2018-05-31 Transmission link management method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011488417.9A CN112616070B (en) 2018-05-31 2018-05-31 Transmission link management method and device
CN201810552829.0A CN108718418B (en) 2018-05-31 2018-05-31 Transmission link management method and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810552829.0A Division CN108718418B (en) 2018-05-31 2018-05-31 Transmission link management method and device

Publications (2)

Publication Number Publication Date
CN112616070A CN112616070A (en) 2021-04-06
CN112616070B true CN112616070B (en) 2022-12-09

Family

ID=63911647

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202011488417.9A Active CN112616070B (en) 2018-05-31 2018-05-31 Transmission link management method and device
CN201810552829.0A Active CN108718418B (en) 2018-05-31 2018-05-31 Transmission link management method and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201810552829.0A Active CN108718418B (en) 2018-05-31 2018-05-31 Transmission link management method and device

Country Status (1)

Country Link
CN (2) CN112616070B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003041341A1 (en) * 2001-11-05 2003-05-15 Matsushita Electric Industrial Co., Ltd. Server apparatus and terminal apparatus used in video transmission system
CN103024456A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Online video playing method and video playing server
CN103905921A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Method for transmitting multimedia data and electronic device
CN104506535A (en) * 2014-12-25 2015-04-08 深圳中兴网信科技有限公司 Data pushing method and data pushing system
CN105141644A (en) * 2014-05-28 2015-12-09 中国移动通信集团公司 Download method of streaming media file and terminal
CN107277612A (en) * 2016-04-05 2017-10-20 韩华泰科株式会社 Method and apparatus for playing Media Stream in web browser

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6389010B1 (en) * 1995-10-05 2002-05-14 Intermec Ip Corp. Hierarchical data collection network supporting packetized voice communications among wireless terminals and telephones
CN1414790A (en) * 2001-10-23 2003-04-30 丽台科技股份有限公司 Video frequency program requesting system and method capable of reducing the use of wired television network bandwidth
CN101582784B (en) * 2008-05-16 2012-08-29 华为技术有限公司 Management method and data transmission method of broadcast protocol client terminal and client terminal
CN103841441B (en) * 2012-11-26 2017-11-28 浙江金华凯宇电子科技有限公司 The video broadcasting method and device of a kind of mobile network
CN104202675A (en) * 2014-09-03 2014-12-10 乐视致新电子科技(天津)有限公司 Intelligent terminal and quick channel switching method and device thereof
CN104717561B (en) * 2015-04-05 2018-02-23 西安航空学院 A kind of video downloading system
CN105657571B (en) * 2015-12-25 2019-02-01 中山大学花都产业科技研究院 A kind of method that transmission of video saves bandwidth in local area network
EP3316234B1 (en) * 2016-10-31 2022-09-21 Elite Swiss Business Solutions SA Method for managing a parking space
CN107241398B (en) * 2017-05-24 2019-09-03 中广热点云科技有限公司 A kind of method for downloading video based on content distributing network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003041341A1 (en) * 2001-11-05 2003-05-15 Matsushita Electric Industrial Co., Ltd. Server apparatus and terminal apparatus used in video transmission system
CN103024456A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Online video playing method and video playing server
CN103905921A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Method for transmitting multimedia data and electronic device
CN105141644A (en) * 2014-05-28 2015-12-09 中国移动通信集团公司 Download method of streaming media file and terminal
CN104506535A (en) * 2014-12-25 2015-04-08 深圳中兴网信科技有限公司 Data pushing method and data pushing system
CN107277612A (en) * 2016-04-05 2017-10-20 韩华泰科株式会社 Method and apparatus for playing Media Stream in web browser

Also Published As

Publication number Publication date
CN112616070A (en) 2021-04-06
CN108718418B (en) 2020-12-29
CN108718418A (en) 2018-10-30

Similar Documents

Publication Publication Date Title
KR101243390B1 (en) Apparatus, systems and methods to synchronize communication of content to a presentation device and a mobile device
EP2320580A2 (en) System for measuring transmission bandwidth for media streaming and method for same
CN106534956A (en) Video data transmission method, device and system for screen projection
CN106998485B (en) Video live broadcasting method and device
WO2003041341A1 (en) Server apparatus and terminal apparatus used in video transmission system
WO2010054396A4 (en) Method and apparatus for managing software downloads in a broadcast communication system
CN102123307A (en) Method and system for playing programs
CN104427286A (en) Method and system for making video call
JP2020507235A (en) Data buffering method, network device, and storage medium
US7343400B2 (en) Communication system
JP2000101647A5 (en) Data transmission method and data transmission device
EP1821554A1 (en) Content delivery system
US7535960B2 (en) Moving picture transmission apparatus, moving picture reception apparatus, and moving picture data record medium
CN103888819A (en) Electronic equipment, data transmission method and data transmission system
CN112616070B (en) Transmission link management method and device
EP3316593A1 (en) Method and device for implementing synchronous playing
CN111182334B (en) Data processing method, server, terminal, and storage medium
CN101378356B (en) Method for playing real time stream medium
CN102523487B (en) Breakpoint connection play method for digital televisions
JP2004080566A (en) Contents distribution method and contents distribution system using the same
US9014531B2 (en) Time-shifted viewing system, time-shifted viewing method, and time-shifted viewing apparatus and program
CN106713846A (en) Live connection establishing method and device
CN112637258A (en) Data processing method and system
JP4596704B2 (en) Streaming data reproduction system, wireless terminal device, and streaming data distribution device
JP5361245B2 (en) Transmission / reception system, transmission / reception method by transmission / reception system, transmission apparatus, transmission method by transmission apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant