U.S. patent application number 15/103884 was filed with the patent office on 2016-10-27 for method and system for switching video playback resolution.
This patent application is currently assigned to SHENZHEN TCL NEW TECHNOLOGY CO., LTD. The applicant listed for this patent is SHENZHEN TCL NEW TECHNOLOGY CO., LTD. Invention is credited to Yunhua Wang.
Application Number | 20160316274 15/103884 |
Document ID | / |
Family ID | 55350145 |
Filed Date | 2016-10-27 |
United States Patent
Application |
20160316274 |
Kind Code |
A1 |
Wang; Yunhua |
October 27, 2016 |
METHOD AND SYSTEM FOR SWITCHING VIDEO PLAYBACK RESOLUTION
Abstract
The present invention discloses a method for switching video
playback resolution, including: obtaining a strength of a current
network signal as well as a frame rate of a currently-played video;
based on the strength of the current network signal, switchable
resolutions of the video, and the frame rate of the video,
calculating switching time intervals of the switchable resolutions;
based the strength of the current network signal, switching the
resolution of the video by selecting an optimal switching time
interval and the corresponding switchable resolution, and storing
the optimal switching time interval and the corresponding
switchable resolution in a time interval table which carries the
strength of the corresponding network signal at each calculation of
the switching time intervals. The present invention further
discloses a system for switching video playback resolution and a
television having the same.
Inventors: |
Wang; Yunhua; (Shenzhen,
Guangdong, CN) |
|
Applicant: |
Name |
City |
State |
Country |
Type |
SHENZHEN TCL NEW TECHNOLOGY CO., LTD |
Shenzhen, Guangdong |
|
CN |
|
|
Assignee: |
SHENZHEN TCL NEW TECHNOLOGY CO.,
LTD
Shenzhen, Guangdong
CN
SHENZHEN TCL NEW TECHNOLOGY CO., LTD
Shenzhen, Guangdong
CN
|
Family ID: |
55350145 |
Appl. No.: |
15/103884 |
Filed: |
December 15, 2014 |
PCT Filed: |
December 15, 2014 |
PCT NO: |
PCT/CN2014/093795 |
371 Date: |
June 13, 2016 |
Current U.S.
Class: |
1/1 |
Current CPC
Class: |
H04N 21/816 20130101;
H04N 21/234363 20130101; H04N 21/6373 20130101; H04N 21/44209
20130101; H04N 21/23439 20130101; H04N 21/4516 20130101; H04N
21/8456 20130101; H04N 21/2387 20130101; H04N 21/4858 20130101;
H04N 21/2402 20130101 |
International
Class: |
H04N 21/485 20060101
H04N021/485; H04N 21/2387 20060101 H04N021/2387; H04N 21/24
20060101 H04N021/24; H04N 21/845 20060101 H04N021/845 |
Foreign Application Data
Date |
Code |
Application Number |
Aug 18, 2014 |
CN |
201410409641.2 |
Claims
1. A method for switching video playback resolution, comprising:
step S1, obtaining a strength of a current network signal as well
as a frame rate of a currently-played video; step S2, based on the
strength of the current network signal, switchable resolutions of
the video, and the frame rate of the video, calculating switching
time intervals of the switchable resolutions; and step S3, based on
the strength of the current network signal, switching the
resolution of the video by selecting an optimal switching time
interval and the switchable resolution corresponding to the optimal
switching time interval, and storing the optimal switching time
interval and the corresponding switchable resolution in a time
interval table which carries the strength of the network signal at
each calculation of the switching time intervals.
2. The method according to claim 1, wherein before step S1, the
method further comprises: step S0, switching the current resolution
of the video to a minimum resolution of the video and playing the
video at the minimum resolution when detecting that the number of
video data packet in a video cache region is less than a first
threshold value.
3. The method according to claim 1, wherein when the time interval
table carries data of a previous calculation of the switching time
interval, the data comprises a strength of a network signal
corresponding to the previous calculation of the switching time
interval, and step S3 comprises: step S31, comparing the strength
of the current network signal with the strength of the network
signal corresponding to the previous calculation of the switching
time interval, if the strength of the current network signal is
predetermined times greater than the strength of the network signal
corresponding to the previous calculation of the switching time
interval, turning to step S32, otherwise to step S33; step S32,
selecting the next higher resolution of the switchable resolution
corresponding to the previous calculation of the switching time
interval as the current video playback resolution; and step S33,
selecting the switchable resolution corresponding to the previous
calculation of the switching time interval as the current video
playback resolution.
4. The method according to claim 1, when the time interval table
does not contain data of a previous calculation of the switching
time interval, step S3 comprises: switching the resolution of the
video by selecting a minimum switching time interval and the
corresponding switchable resolution, and storing the minimum
switching time interval and the corresponding switchable resolution
in the time interval table.
5. The method according to claim 1, wherein in step S2, the
switching time intervals of the switchable resolutions are
calculated according to the following formula:
H=(P*F)/(K*128*1024); wherein H is the switching time interval, P
is the switchable resolution, F is the frame rate, and K is the
strength of the current network signal.
6. The method according to claim 1, wherein before step S1, the
method further comprises: step A1, obtaining a physical resolution
of a screen; and step A2, selecting the resolution in the
switchable resolutions less than or equal to the physical
resolution, selecting the resolution as the switchable resolution,
turning to step S1 to calculate the switching time interval of the
selected resolution.
7. The method according to claim 1, wherein obtaining a physical
resolution of a screen comprises: step A101, detecting the number
of three primary colors of the screen of a television in a
horizontal direction and in a vertical direction respectively; step
A102, calculating a resolution X of the screen in the horizontal
direction according to the detected number of the three primary
colors of the screen in the horizontal direction, calculating a
resolution Y of the screen in the vertical direction according to
the detected number of the three primary colors of the screen in
the vertical direction, and the physical resolution of the screen
being X*Y.
8. The method according to claim 1, wherein before step S1, the
method further comprises: step B1, detecting a playback duration of
the video; and step B2, when the playback duration of the video is
less than a second predetermined threshold value, keeping playing
the video at the current resolution.
9. A system for switching video playback resolution, comprising: a
first obtaining module, configured for obtaining a strength of a
current network signal as well as a frame rate of a
currently-played video; a calculation module, configured for, based
on the strength of the current network signal, switchable
resolutions of the video, and a frame rate of the video,
calculating switching time intervals of the switchable resolutions;
and a first switching module, configured for switching the
resolution of the video by selecting an optimal switching time
interval and the corresponding switchable resolution, and storing
the optimal switching time interval and the corresponding
switchable resolution in a time interval table which carries the
strength of the network signal at each calculation of the switching
time intervals.
10. The system according to claim 9, further comprising: a second
switching module, configured for, when it is detected that the
number of video data packet in a video cache region is less than a
first threshold value, switching the resolution of the video to a
minimum resolution of the video and playing the video at the
minimum resolution.
11. The system according to claim 9, wherein when the time interval
table carries data at a previous calculation of the switching time
interval, the data comprises a strength of a network signal at the
previous calculation of the switching time interval; and the first
switching module comprises: a comparison unit, configured for
comparing the strength of the current network signal with the
strength of the network signal at the previous calculation of the
switching time interval, and calling a first selecting unit if the
strength of the current network signal is predetermined times
greater than the strength of the network signal at the previous
calculation of the switching time interval, otherwise calling a
second selecting unit; the first selecting unit, configured for
selecting the next higher resolution of the one at the previous
calculation of the switching time interval as the current
resolution of the video; and the second selecting unit, configured
for selecting the switchable resolution corresponding to the
previous calculation of the switching time interval as the current
resolution of the video.
12. The system according to claim 9, wherein when the time interval
table does not contain data at a previous calculation of the
switching time interval, the first switching module is configured
for switching the resolution of the video by selecting a minimum
switching time interval and the corresponding switchable
resolution, and storing the minimum switching time interval and the
corresponding switchable resolution in the time interval table.
13. The system according to claim 9, wherein the calculation module
calculates the switching time intervals of the switchable
resolutions according to the following formula:
H=(P*F)/(K*128*1024); wherein H is the switching time interval, P
is the switchable resolution, F is the frame rate, and K is the
strength of the current network signal.
14. The system according to claim 9, further comprising: a second
obtaining module, configured for obtaining a physical resolution of
a screen; and a selecting module, configured for selecting the
resolution in the switchable resolutions less than or equal to the
physical resolution, selecting the resolution as the switchable
resolution such that the first obtaining module is capable of
obtaining the strength of the current network signal as well as the
frame rate of the currently-played video and the calculation module
is capable of calculating the switching time interval of the
selected resolution.
15. The system according to claim 13, wherein the second obtaining
module comprises: a physical detecting unit, configured for
respectively detecting the number of three primary colors of a
screen in a horizontal direction and in a vertical direction; and a
calculation unit, configured for calculating a resolution X of the
screen in the horizontal direction according to the detected number
of the three primary colors of the screen in the horizontal
direction, calculating a resolution Y of the screen in the vertical
direction according to the detected number of the three primary
colors of the screen in the vertical direction, and the physical
resolution of the screen being X*Y.
16. A system according to claim 9, further comprising: a video
detecting module configured for detecting a playback duration of
the video; and a playing module configured for, when the playback
duration of the video is less than a second predetermined threshold
value, keeping playing the video at the current resolution.
17. A television, comprising a system for switching video playback
resolution, wherein the system comprises: a first obtaining module,
configured for obtaining a strength of a current network signal as
well as a currently-played video; a calculation module, configured
for, based on the strength of the current network signal,
switchable resolutions of the video, and a frame rate of the video,
calculating switching time intervals of the switchable resolutions;
and a first switching module, configured for switching the
resolution of the video by selecting an optimal switching time
interval and the corresponding switchable resolution, and storing
the optimal switching time interval and the corresponding
switchable resolution in a time interval table which carries the
strength of the network signal at each calculation of the switching
time intervals.
Description
FIELD OF THE INVENTION
[0001] The present invention relates to videos, and particularly,
to a method and a system for switching video playback
resolution.
BACKGROUND OF THE INVENTION
[0002] With the development of the technology of smart television,
"high-definition", "networklization", and "intelligentize" video
terminals, such as smart televisions become very common. The smart
television has functions such as human-computer interaction,
network searching, IP television, and video on demand (VOD), which
brings enriched TV life to people.
[0003] With the continuous increasing of market competition,
consumers pay more and more attention to watching effect with high
quality. Besides, convenient operation and saving of operation time
become important information when people select a television.
However, when the current smart television is playing a network
video, the resolution of the video can only be switched by manual
operation. Supposed that a user plays a video A at a constant
resolution, since the network speed is continuously changed,
sometimes the playback of the video is smooth and sometimes is not.
When the playback of the video is not smooth, it requires the user
to switch the resolution of the video to a lower one such that the
video can be smoothly played. When the network speed is relatively
high, the user may want to switch the resolution to a higher one to
obtain better watching effect. It is troublesome for the user to
keep switching the resolution.
[0004] For example, the user opens the television at 7 o'clock pm,
and selects the software Video Storm to play a 4k ultra
high-definition video source. By 8 o'clock pm, the video has been
played for a while. At this time, since most people has reached
home after work, the network is at the peek using duration, making
the network bandwidth become narrow and the playback of the video
may become not smooth. At this time, only a half of the video has
been played and the user needs to switch the resolution of the
video to a lower one to continuously watch the video. However, the
operation to switch the resolution is random. Generally, the user
may switch the 4k ultra high definition mode to the super
definition (1080p) mode and wait for the playback progress of the
current video; if the buffering speed of the video is still low,
the user may switch the high definition mode to the high definition
mode (720p) and waits for the playback progress of the current
video; if the buffering speed is still low, the user may switch the
high definition mode (720p) to the standard definition mode (480p)
and waits for the playback progress of the current video.
Undoubtedly, since the user doesn't know the actual network speed,
the user may switch the playback mode randomly many times and thus
wastes much time.
SUMMARY OF THE INVENTION
[0005] The main purpose of the present invention is to overcome the
technical problem that the smart television cannot automatically
switch the resolution according to network speed to save operation
time for users.
[0006] An embodiment of the present invention provides a method for
switching video playback resolution, including:
[0007] step S1, obtaining a strength of a current network signal as
well as a frame rate of a currently-played video;
[0008] step S2, based on the strength of the current network
signal, switchable resolutions of the video, and the frame rate of
the video, calculating switching time intervals of the switchable
resolutions; and
[0009] step S3, based on the strength of the current network
signal, switching the resolution of the video by selecting an
optimal switching time interval and the switchable resolution
corresponding to the optimal switching time interval, and storing
the optimal switching time interval and the corresponding
switchable resolution in a time interval table which carries the
strength of the network signal at each calculation of the switching
time intervals.
[0010] Preferably, before step S1, the method further includes:
[0011] step S0, switching the current resolution of the video to a
minimum resolution of the video and playing the video at the
minimum resolution when detecting that the number of video data
packet in a video cache region is less than a first threshold
value.
[0012] Preferably, when the time interval table carries data of a
previous calculation of the switching time interval, the data
includes a strength of a network signal corresponding to the
previous calculation of the switching time interval, and step S3
includes:
[0013] step S31, comparing the strength of the current network
signal with the strength of the network signal corresponding to the
previous calculation of the switching time interval, if the
strength of the current network signal is predetermined times
greater than the strength of the network signal corresponding to
the previous calculation of the switching time interval, turning to
step S32, otherwise to step S33;
[0014] step S32, selecting the next higher resolution of the
switchable resolution corresponding to the previous calculation of
the switching time interval as the current video playback
resolution; and
[0015] step S33, selecting the switchable resolution corresponding
to the previous calculation of the switching time interval as the
current video playback resolution.
[0016] Preferably, when the time interval table does not contain
data of a previous calculation of the switching time interval, step
S3 includes:
[0017] switching the resolution of the video by selecting a minimum
switching time interval and the corresponding switchable
resolution, and storing the minimum switching time interval and the
corresponding switchable resolution in the time interval table.
[0018] Preferably, in step S2, the switching time intervals of the
switchable resolutions are calculated according to the following
formula:
H=(P*F)/(K*128*1024);
wherein H is the switching time interval, P is the switchable
resolution, F is the frame rate, and K is the strength of the
current network signal.
[0019] Preferably, before step S1, the method further includes:
[0020] step A1, obtaining a physical resolution of a screen;
and
[0021] step A2, selecting the resolution in the switchable
resolutions less than or equal to the physical resolution,
selecting the resolution as the switchable resolution, turning to
step S1 to calculate the switching time interval of the selected
resolution.
[0022] Preferably, obtaining a physical resolution of a screen
includes:
[0023] step A101, detecting the number of three primary colors of
the screen of a television in a horizontal direction and in a
vertical direction respectively;
[0024] step A102, calculating a resolution X of the screen in the
horizontal direction according to the detected number of the three
primary colors of the screen in the horizontal direction,
calculating a resolution Y of the screen in the vertical direction
according to the detected number of the three primary colors of the
screen in the vertical direction, and the physical resolution of
the screen being X*Y.
[0025] Preferably, before step S1, the method further includes:
[0026] step B1, detecting a playback duration of the video; and
[0027] step B2, when the playback duration of the video is less
than a second predetermined threshold value, keeping playing the
video at the current resolution.
[0028] An embodiment of the present invention provides a system for
switching video playback resolution, including:
[0029] a first obtaining module, configured for obtaining a
strength of a current network signal as well as a frame rate of a
currently-played video;
[0030] a calculation module, configured for, based on the strength
of the current network signal, switchable resolutions of the video,
and a frame rate of the video, calculating switching time intervals
of the switchable resolutions; and
[0031] a first switching module, configured for switching the
resolution of the video by selecting an optimal switching time
interval and the corresponding switchable resolution, and storing
the optimal switching time interval and the corresponding
switchable resolution in a time interval table which carries the
strength of the network signal at each calculation of the switching
time intervals.
[0032] Preferably, the system further includes:
[0033] a second switching module, configured for, when it is
detected that the number of video data packet in a video cache
region is less than a first threshold value, switching the
resolution of the video to a minimum resolution of the video and
playing the video at the minimum resolution.
[0034] Preferably, when the time interval table carries data at a
previous calculation of the switching time interval, the data
includes a strength of a network signal at the previous calculation
of the switching time interval; and
[0035] the first switching module includes:
[0036] a comparison unit, configured for comparing the strength of
the current network signal with the strength of the network signal
at the previous calculation of the switching time interval, and
calling a first selecting unit if the strength of the current
network signal is predetermined times greater than the strength of
the network signal at the previous calculation of the switching
time interval, otherwise calling a second selecting unit;
[0037] the first selecting unit, configured for selecting the next
higher resolution of the one at the previous calculation of the
switching time interval as the current resolution of the video;
and
[0038] the second selecting unit, configured for selecting the
switchable resolution corresponding to the previous calculation of
the switching time interval as the current resolution of the
video.
[0039] Preferably, when the time interval table does not contain
data at a previous calculation of the switching time interval, the
first switching module is configured for switching the resolution
of the video by selecting a minimum switching time interval and the
corresponding switchable resolution, and storing the minimum
switching time interval and the corresponding switchable resolution
in the time interval table.
[0040] Preferably, the calculation module calculates the switching
time intervals of the switchable resolutions according to the
following formula:
H=(P*F)/(K*128*1024); [0041] wherein H is the switching time
interval, P is the switchable resolution, F is the frame rate, and
K is the strength of the current network signal.
[0042] Preferably, the system further includes:
[0043] a second obtaining module, configured for obtaining a
physical resolution of a screen; and
[0044] a selecting module, configured for selecting the resolution
in the switchable resolutions less than or equal to the physical
resolution, selecting the resolution as the switchable resolution,
turning to step S1 to calculate the switching time interval of the
selected resolution.
[0045] Preferably, the second obtaining module includes:
[0046] a physical detecting unit, configured for respectively
detecting the number of three primary colors of a screen in a
horizontal direction and in a vertical direction; and
[0047] a calculation unit, configured for calculating a resolution
X of the screen in the horizontal direction according to the
detected number of the three primary colors of the screen in the
horizontal direction, calculating a resolution Y of the screen in
the vertical direction according to the detected number of the
three primary colors of the screen in the vertical direction, and
the physical resolution of the screen being X*Y.
[0048] Preferably, the system further includes:
[0049] a video detecting module configured for detecting a playback
duration of the video; and
[0050] a playing module configured for, when the playback duration
of the video is less than a second predetermined threshold value,
keeping playing the video at the current resolution.
[0051] An embodiment of the present invention further provides a
television, including a system for switching video playback
resolution, wherein the system includes:
[0052] a first obtaining module, configured for obtaining a
strength of a current network signal as well as a currently-played
video;
[0053] a calculation module, configured for, based on the strength
of the current network signal, switchable resolutions of the video,
and a frame rate of the video, calculating switching time intervals
of the switchable resolutions; and
[0054] a first switching module, configured for switching the
resolution of the video by selecting an optimal switching time
interval and the corresponding switchable resolution, and storing
the optimal switching time interval and the corresponding
switchable resolution in a time interval table which carries the
strength of the network signal at each calculation of the switching
time intervals.
[0055] The present disclosure calculates the switching time
intervals of the switchable resolutions of the video by obtaining
the strength of the network signal and the frame rate of the
currently-played video, and performs the switching operation by
selecting the optimal switching time interval and the corresponding
switchable resolution, which allows the smart television to switch
the resolution automatically according to the network speed without
manual operation and thus saves the operation for the user.
BRIEF DESCRIPTION OF THE DRAWINGS
[0056] FIG. 1 is a flow chart of a method for switching video
playback resolution according to a first embodiment of the present
disclosure;
[0057] FIG. 2 is a detailed flow chart of the method for switching
video playback resolution of FIG. 1;
[0058] FIG. 3 is a flow chart of a method for switching video
playback resolution according to a second embodiment of the present
disclosure;
[0059] FIG. 4 is a flow chart of a method for switching video
playback resolution according to a third embodiment of the present
disclosure;
[0060] FIG. 5 is a detailed flow chart of the method for switching
video playback resolution of FIG. 4;
[0061] FIG. 6 is a flow chart of a method for switching video
playback resolution according to a fourth embodiment of the present
disclosure;
[0062] FIG. 7 is a schematic view of a system for switching video
playback resolution according to a first embodiment of the present
disclosure;
[0063] FIG. 8 is a schematic view of a first switching module
according to an embodiment of the present disclosure;
[0064] FIG. 9 is a schematic view of a system for switching video
playback resolution according to a second embodiment of the present
disclosure;
[0065] FIG. 10 is a schematic view of a system for switching video
playback resolution according to a third embodiment of the present
disclosure; and
[0066] FIG. 11 is a schematic view of a second obtaining module
according to an embodiment of the present disclosure.
[0067] The realization of the object, features, and advantages of
the present disclosure are given in further detail in combination
with the embodiments with reference to the accompanying
drawings.
DETAILED DESCRIPTION OF THE EMBODIMENT
[0068] The technical solution of the present invention is
hereinafter described in detail with reference to the accompanying
drawings. It is evident that the embodiments are only some
exemplary embodiments of the present invention, and the present
invention is not limited to such embodiments. Other embodiments
that those skilled in the art obtain based on embodiments of the
present invention also all within the protection scope of the
present invention.
[0069] The present disclosure provides a method for switching video
playback resolution.
[0070] Referring to FIG. 1, which is a flow chart of the method for
switching video playback resolution according to a first embodiment
of the present disclosure, the method includes steps as
follows.
[0071] Step S1, obtaining a strength of a current network signal as
well as a frame rate of a currently-played video.
[0072] In some embodiments, the strength of the current network
signal and the frame rate of the currently-played video may be
obtained in real time. Alternatively, the strength of the current
network signal and the frame rate of the currently-played video may
be obtained when it is detected that the number of video data
packet in a video cache region is less than a first predetermined
threshold value. For example, after opening a video play terminal,
the user plays the video A at a relatively higher resolution. The
video play terminal may be a television, a computer or any other
smart device. In the embodiment, the video play terminal is a smart
television. The television obtains the video data packet of the
video A from network and caches the video packet into a video cache
region to be read and played. It is understood that the higher the
network speed input to the television, the higher the transmission
speed of the video data packet. That is, when the network speed is
higher, the number of the video data packet cached into the preset
video cache region is greater; when the network speed is lower, the
number of the video data packet cached into the preset video cache
region is less. Moreover, when the number of the video data packet
cached into the preset video cache region is greater, the
television can play the video at a higher resolution to acquire
better watching effect; when the number of the video data packet
cached into the preset video cache region is relatively small or
there is no video data packet in the preset video cache region, the
television cannot play the video smoothly or may display that the
video is being cached, preventing the user from watching the video
normally. Therefore, if the user wants to continuously watch the
video smoothly, the current network speed needs to be detected and
the resolution needs to be adjusted according to the current
network speed.
[0073] In the embodiment, the television is provided with an
element for detecting network signal or an application for
detecting network speed. The strength of the current network signal
input to the television is obtained by the element for detecting
network signal or the application for detecting network speed.
Optionally, the frame rate of the current television video is 60
Hz.
[0074] Step S2, based on the strength of the current network
signal, switchable resolutions of the currently-played video, and
the frame rate of the currently-played video, calculating switching
time intervals of the switchable resolutions.
[0075] The switching time intervals of the switchable resolutions
in step S2 are calculated according to the following formula:
H=(P*F)/(K*128*1024), wherein H is the switching time interval
measured in seconds, F is the frame rate of the video, K is the
strength of the network signal input to the television measured in
Hz, and P is the resolution to which the video can be switched, for
example, the resolution of the video can be switched to any one of
the following resolutions: 4k, 1080p, 720p, and 480p.
[0076] The wait time required for switching the current resolution
to each one of other switchable resolutions is calculated according
to the current network bandwidth and each switchable resolution of
the currently-played video. Therefore, according to the wait time,
the television can be set to play the video at the corresponding
resolution by automatically switching the current resolution to the
corresponding resolution after the wait time has elapsed or
automatically switching the current resolution to the optimal
resolution according to the current network speed. Detailed
embodiment is given in the following description to show how to
calculate the switching time interval.
[0077] For example, the video currently played by the television is
A, the frame rate of the video is 60 Hz, the video is played at the
lowest resolution, and the current network speed is 8 megabytes,
that is, the network bandwidth is 8 megabytes. Supposed that the
resolutions of the video A include 4k, 1080p, 720p, and 480p, since
the video is played at the lowest 480p resolution, based on the
current network speed of 8 megabytes, for the smooth playback of
the video, the wait time H required for respectively switching the
current resolution to resolutions of 4k, 1080p, and 720p are
calculated. The process for calculating the wait time H and the
result of the calculation is shown in Table 1.
TABLE-US-00001 TABLE 1 Network Name Frame Unit pixel bandwidth
Switching of Switchable resolution Rate per K (in time (in video of
the video (Hz) second megabytes) seconds) A 4k (ultra 3840 * 2160
60 497664000 8 474 high definition) 1080p 1920 * 1080 60 124416000
8 118 (super definition) 720p (high 1280 * 720 60 55296000 8 52
definition) 480p 640 * 480 60 18432000 8 17 (standard
definition)
[0078] Since the television plays the video A at 480p resolution,
from Table 1, it requires 52 seconds for switching the current
resolution to 720p (high definition) resolution, 118 seconds for
switching the current resolution to 1080p (super definition)
resolution, and 474 seconds for switching the current resolution to
4k (ultra high definition) resolution.
[0079] Step S3, based on the strength of the current network
signal, switching the resolution of the video by selecting the
optimal switching time interval and the switchable resolution
corresponding to the optimal switching time interval, and storing
the optimal switching time interval and the corresponding
switchable resolution in the time interval table which carries the
strength of the network signal at each calculation of the switching
time intervals.
[0080] When the time interval table further carries the data of the
previous calculation of the switching time interval, the data may
include the strength of the network signal corresponding to the
previous calculation of the switching time interval. Referring to
FIG. 2, which is a detailed flow chart of the method shown in FIG.
1, step S3 includes:
[0081] step S31, comparing the strength of the current network
signal with the strength of the network signal corresponding to the
previous calculation of the switching time interval, if the
strength of the current network signal is predetermined times
greater than the strength of the network signal corresponding to
the previous calculation of the switching time interval, turning to
step S32, otherwise to step S33;
[0082] step S32, selecting the next higher resolution of the
switchable resolution corresponding to the previous calculation of
the switching time interval as the current video playback
resolution; and
[0083] step S33, selecting the switchable resolution corresponding
to the previous calculation of the switching time interval as the
current video playback resolution.
[0084] In the embodiment, if the strength of the current network
signal is more than twice the strength of the network signal
corresponding to the previous calculation of the switching time
interval, selecting the next higher resolution of the one
previously selected and switching to play the video at the higher
resolution after the time interval has elapsed. If the strength of
the current network signal is less than twice the strength of the
network signal corresponding to the previous calculation of the
switching time interval, keeping playing the video at the
previously-selected resolution. The predetermined times in step S31
can be determined according to the relationship between the
strength of the network signal and the resolution, for example,
when the network speed is 2 megabytes, the resolution allowing the
video to play smoothly is 780p, and when the network speed is 3
megabytes, the resolution allowing the video to play smoothly is
1080p, then the switching operation can be triggered when the
predetermined times are greater than or equal to 1.5. Moreover,
during the switching operation, the next higher resolution is
selected. For example, the switchable resolutions of the video A
are 4k, 1080p, 720p, and 480p. Supposed that in the last switching
operation, the resolution is 780p and the network speed is 2
megabytes, and the current network speed is 8 megabytes, that is,
the strength of the current network signal is 4 times greater than
the strength of the network signal corresponding to the previous
calculation of the switching time interval. If the standard for
triggering the switching operation is that the strength of the
current network signal is 1.5 times the strength of the network
signal corresponding to the previous calculation of the switching
time interval, then the current resolution is switched to the next
higher one being 1080p. It is noted that the standard for the
switching operation is not limited to this embodiment, in other
embodiments, there may be more than one standard for the switching
operation. For example, there can be two standards for the
switching operation, when the strength of the current network
signal is greater than 1.5 times the strength of the network signal
at the previous calculation of the switching time interval,
switching the current resolution to the next higher one; when the
strength of the current network signal is greater than twice the
strength of the network signal at the previous calculation of the
switching time interval, switching the current resolution to the
two-level higher one, for example, if the current resolution is
480p, switching the resolution to 1080p rather than to 780p. It is
noted that the predetermined times are not limited to this
embodiment, in other embodiment, the predetermined times are set
according to actual situations.
[0085] When the data of the previous calculation of the switching
time interval is not stored in the time interval table, the step S3
includes: switching the resolution by selecting the minimum
switching time interval and the corresponding switchable
resolution, and storing the minimum switching time interval and the
corresponding switchable resolution in the time interval table,
which guarantees that the video can be played smoothly under the
current network speed.
[0086] It is noted that since the network speed is relatively
stable in a period, thus, in other embodiments, the minimum time
interval can be the optimal solution for switching the resolution
by using sorting method to guarantee that the television can
continuously smoothly play the video A. In addition, after waiting
for a predetermined time interval, the television can switch to the
resolution corresponding to the current network speed
automatically, which ensures that the user cannot feel the
switching process. Therefore, the user does not need to switch the
resolution of the video manually, which not only facilitates the
user to operate the television, but also saves waiting time for the
user.
[0087] Based on the above embodiment, referring to FIG. 3, which is
a flow chart of a method for switching video playback resolution
according to a second embodiment, the method of the second
embodiment further includes the following step before step S1:
[0088] step S0, switching the resolution of the currently-played
video to the minimum resolution and playing the video at the
minimum resolution when detecting that the number of video data
packet in a video cache region is less than a first threshold
value.
[0089] When the number of the stored video data packet is
relatively small or there is no video data packet in the preset
video cache region in a while, the television cannot play the video
smoothly or may display that the video is being cached. Thus, in
order to ensure that the video can be smoothly played, a threshold
value, such as 20 can be set. When the number of the video data
packet is less than 20, the television is triggered to switch to
play the video at a lower resolution. The video can be played
smoothly to the maximum extent by automatically switching the
current resolution to the minimum resolution. For example, supposed
that the current video can be played at four resolutions of 4k,
1080p, 720p, and 480p, when the user chooses to play the video at
the minimum resolution, switching to play the video at 480p
resolution. In this way, the dismatchment between the resolution
and the network speed can be avoided and thus the continuous switch
of the resolution can be prevented to allow the user to watch the
video smoothly. It is noted that in step S0, the premise to read
the video data pre-stored in the video cache region is that the
video is being played. If the video is being paused or fast
forwarded, only the command of pausing or fast forwarding the video
is executed.
[0090] Referring to FIG. 4, which is a flow chart of a method for
switching video playback resolution according to a third embodiment
of the present disclosure, based on the above embodiment, the
method of this embodiment further includes the following steps
before step S1.
[0091] Step A1, obtaining a physical resolution of a screen.
[0092] The physical resolution of the screen of the television can
be pre-stored in a memory of the television and can be read out
when needed. When the physical resolution of the screen of the
television is not stored in the memory of the television, the
physical resolution can be obtained by the following method.
Referring to FIG. 5, which is a detailed flow chart of the method
for switching video playback resolution shown in FIG. 4, step A1
includes:
[0093] step A101, respectively detecting the number of three
primary colors of the screen of the television in a horizontal
direction and in a vertical direction; and
[0094] step A102, calculating a resolution X of the screen of the
television in the horizontal direction according to the detected
number of the three primary colors of the screen of the television
in the horizontal direction, calculating a resolution Y of the
screen of the television in the vertical direction according to the
detected number of the three primary colors of the screen of the
television in the vertical direction, and the physical resolution
of the screen of the television being X*Y.
[0095] Since each pixel is formed by the primary colors of red,
green, and blue, thus, the number of the primary colors is three
times the number of the pixels. That is, when the resolution of the
screen is 1920*1080, the number of the three primary colors in the
horizontal direction should be 1920*3=5760, and the number of the
three primary colors in the vertical direction should be
1080*3=3240. The resolution 1920 in the horizontal direction is
obtained by dividing 5760 by 3, and the resolution 1080 in the
vertical direction is obtained by dividing 3240 by 3, thus, the
resolution of the whole screen is 1920*1080, which should not be
exceeded when switching the resolution of the screen.
[0096] Step A2, selecting the resolution in the switchable
resolutions which is less than or equal to the physical resolution,
selecting the resolution as the switchable resolution, turning to
step S1 to calculate the switching time interval of the selected
switchable resolution.
[0097] The resolution of the screen is read to determine the
definition (namely, the resolution) which the video can be switched
to. If the switchable resolution of the video exceeds the physical
resolution of the screen, it is unnecessary to calculate the wait
time for switching to the resolution which is greater than the
physical resolution. For example, the physical resolution of the
screen is 1920*1080, and the resolution which the video can be
switched to is 3840*2160, which obviously exceeds the physical
resolution of the screen, at this time, it is unnecessary to
calculate the wait time for switching the current resolution to the
resolution of 3840*2160 and only the wait time for switching the
current resolution to the one less than 3840*2160 needs to be
calculated. This is because switching the resolution of the video
to the one greater than 1920*1080 cannot enable the image of the
video to be clearer and also wastes the network flow. It is noted
that the video will be played at the minimum switchable resolution
if all the switchable resolutions of the video are greater than the
physical resolution of the playing device.
[0098] Furthermore, referring to FIG. 6, which is a flow chart of a
method for switching video playback resolution according to a
fourth embodiment of the present disclosure, based on the above
embodiment, the method of the embodiment further includes the
following steps before step S1, S0, or A1 to save background
operations:
[0099] step B1, detecting a playback duration of the
currently-played video;
[0100] step B2, when the playback duration of the video is less
than a second predetermined threshold value, keeping playing the
video at the current resolution.
[0101] The length of the video, namely the playback duration of the
video in time, is obtained by calculating the frame rate in each
second and the number of the total frames and dividing the number
of the total frames by the frame rate in each second. The time
duration of the whole video packet based on 60 images per second is
obtained by reading the size of the video packet and calculating
the number of the total frames by each frame of image in the video
packet. For example, if 60 frames are read in one second, then the
total number of frames is 18000, which indicates the system
contains 300-second image; if 24 frames are read in one second,
then the total number of frames is 240 and the system contains
10-second image. The longer the time required to read the frames,
the longer the playback duration of the video; the shorter the time
required to read the frames, the shorter the playback duration of
the video. Short video sources are generally some mobile phone
images or IPAD videos. Since the resolution of this type of device
is limited, the resolution of the video played on this type of
device is also relatively low, thus, in the method of this
embodiment, the video is played at the minimum resolution by the
television.
[0102] It is understood that since the playback duration of the
currently-video is detected at first, and the background of the
television does not need to switch the resolution automatically
according to the strength of the network signal when the playback
duration of the video is relatively short. Therefore, some
unnecessary operations of the background can be saved.
[0103] The method of the present disclosure calculates the
switching time intervals of the switchable resolutions of the video
by obtaining the strength of the network signal and the frame rate
of the currently-played video, and performs the switching operation
by selecting the optimal switching time interval and the
corresponding switchable resolution, which allows the smart
television to switch the resolution automatically according to the
network speed without manual operation and thus saves the operation
for the user.
[0104] The present disclosure further provides a system for
switching video playback resolution.
[0105] Referring to FIG. 7, which is a schematic view of a system
for switching video playback resolution according to a first
embodiment of the present disclosure, the system includes a first
obtaining module 10, a calculation module 20, and a first switching
module 30.
[0106] The first obtaining module 10 is configured for obtaining a
strength of a current network signal as well as a frame rate of the
currently-played video.
[0107] In some embodiments, the strength of the current network
signal and the frame rate of the currently-played video may be
obtained in real time. Alternatively, the strength of the current
network signal and the frame rate of the currently-played video may
be obtained when it is detected that the number of the video data
packet in the video cache region is less than a first predetermined
threshold value. For example, after opening a video play terminal,
the user plays the video A at a relatively higher resolution. The
video play terminal may be a television, a computer or any other
smart device. In the embodiment, the video play terminal is a smart
television. The television obtains the video data packet of the
video A from network and caches the video data packet into a video
cache region to be read and played. It is understood that the
higher the network speed input to the television, the higher the
transmission speed of the video data packet. That is, when the
network speed is higher, the number of the video data packet cached
into the preset video cache region is greater; when the network
speed is lower, the number of the video data packet cached into the
preset video cache region is less. Moreover, when the number of the
video data packet cached into the preset video cache region is
greater, the television can play the video at a higher resolution
to acquire better watching effect; when the number of the video
data packet cached into the preset video cache region is relatively
small or there is no video data packet in the preset video cache
region, the television cannot play the video smoothly or may
display that the video is being cached, preventing the user from
watching the video normally. Therefore, if the user wants to
continuously watch the video smoothly, the current network speed
needs to be detected and the resolution needs to be adjusted
according to the current network speed.
[0108] In the embodiment, the television is provided with an
element for detecting network signal or an application for
detecting network speed. The strength of the current network signal
input to the television is obtained by the element for detecting
network signal or the application for detecting network speed.
Optionally, the frame rate of the current television video is 60
Hz.
[0109] The calculation module 20 is configured for, based on the
strength of the current network signal, switchable resolutions of
the currently-played video, and the frame rate of the
currently-played video, calculating switching time intervals of the
switchable resolutions.
[0110] The calculation module 20 calculates the switching time
intervals of the switchable resolutions according to the following
formula: H=(P*F)/(K*128*1024), wherein H is the switching time
interval measured in seconds, F is the frame rate of the video, K
is the strength of the network signal input to the television
measured in Hz, and P is the resolution to which the video can be
switched, for example, the resolution of the video can be switched
to any one of the following resolutions: 4k, 1080p, 720p, and
480p.
[0111] The wait time required for switching the current resolution
to each one of other switchable resolutions is calculated according
to the current network bandwidth and each switchable resolution of
the currently-played video. Therefore, according to the wait time,
the television can be set to play the video at the corresponding
resolution by automatically switching the current resolution to the
corresponding resolution after the wait time or automatically
switching the current resolution to the optimal resolution
according to the current network speed. Detailed embodiment is
given in the following description to show how to calculate the
switching time interval.
[0112] For example, the video currently played by the television is
A, the frame rate of the video is 60 Hz, the video is played at the
lowest resolution, and the current network speed is 8 megabytes,
that is, the network bandwidth is 8 megabytes. Supposed that the
resolutions of the video A include 4k, 1080p, 720p, and 480p, since
the video is played at the lowest resolution of 480p, based on the
current network speed of 8 megabytes, for the smooth playback of
the video, the wait times H required for respectively switching the
current resolution to resolutions of 4k, 1080p, and 720p are
calculated. The process for calculating the wait time H and the
result of the calculation is shown in Table 1.
TABLE-US-00002 TABLE 1 Network name Frame bandwidth Switching of
Switchable resolution Rate Unit pixel K (in time (in video of the
video (Hz) per second megabytes) seconds) A 4k (ultra 3840 * 2160
60 497664000 8 474 high definition) 1080p 1920 * 1080 60 124416000
8 118 (super definition) 720p 1280 * 720 60 55296000 8 52 (high
definition) 480p 640 * 480 60 18432000 8 17 (standard
definition)
[0113] Since the television plays the video A at 480p resolution,
from Table 1, it requires 52 seconds for switching the current
resolution to 720p (high definition) resolution, 118 seconds for
switching the current resolution to 1080p (super definition)
resolution, and 474 seconds for switching the current resolution to
4k (ultra high definition) resolution.
[0114] The first switching module 30 is configured for, based on
the strength of the current network signal, switching the video by
selecting the optimal switching time interval and the switchable
resolution corresponding to the optimal switching time interval,
and storing the optimal switching time interval and the
corresponding switchable resolution in the time interval table. The
time interval table carries the strength of the network signal at
each calculation of the switching time intervals.
[0115] When the time interval table further carries the data of the
previous calculation of the switching time interval, the data may
include the strength of the network signal corresponding to the
previous calculation of the switching time interval. Referring to
FIG. 8, which is a schematic view of the first switching module
shown in the first embodiment, the first switching module 30
includes a comparison unit 301, a first selecting unit 302, and a
second selecting unit 303.
[0116] The comparison unit 301 is configured for comparing the
strength of the current network signal with the strength of the
network signal corresponding to the previous calculation of the
switching time interval, and calling a first selecting unit 301 if
the strength of the current network signal is predetermined times
greater than the strength of the network signal corresponding to
the previous calculation of the switching time interval, otherwise
calling a second selecting unit 302.
[0117] The first selecting unit 302 is configured for selecting the
next higher resolution of the switchable resolution corresponding
to the previous calculation of the switching time interval as the
current video playback resolution.
[0118] The second selecting unit 303 is configured for selecting
the switchable resolution corresponding to the previous calculation
of the switching time interval as the current video playback
resolution.
[0119] In the embodiment, if the strength of the current network
signal is more than twice the strength of the network signal
corresponding to the previous calculation of the switching time
interval, selecting the next higher resolution of the one
previously selected and switching to play the video at the higher
resolution after the time interval has elapsed. If the strength of
the current network signal is less than twice the strength of the
network signal corresponding to the previous calculation of the
switching time interval, keeping playing the video at the
previously-selected resolution. The predetermined times in step S31
can be determined according to the relationship between the
strength of the network signal and the resolution, for example,
when the network speed is 2 megabytes, the resolution allowing the
video to play smoothly is 780P, and when the network speed is 3
megabytes, the resolution allowing the video to play smoothly is
1080p, then the switching operation can be triggered when the
predetermined times are greater than or equal to 1.5. Moreover,
during the switching operation, the next higher resolution is
selected. For example, the switchable resolutions of the video A
are 4k, 1080p, 720p, and 480p. Supposed that in the last switching
operation, the resolution is 780p and the network speed is 2
megabytes, and the current network speed is 8 megabytes, that is,
the strength of the current network signal is 4 times greater than
the strength of the network signal corresponding to the previous
calculation of the switching time interval. If the standard for
triggering the switching operation is that the strength of the
current network signal is 1.5 times the strength of the network
signal corresponding to the previous calculation of the switching
time interval, then the current resolution is switched to the next
higher one being 1080p. It is noted that the standard for the
switching operation is not limited to this embodiment, in other
embodiments, there may be more than one standard for the switching
operation. For example, there can be two standards for the
switching operation, when the strength of the current network
signal is greater than 1.5 times the strength of the network signal
at the previous calculation of the switching time interval,
switching the current resolution to the next higher one; when the
strength of the current network signal is more than twice the
strength of the network signal at the previous calculation of the
switching time interval, switching the current resolution to the
two-level higher one, for example, if the current resolution is
480p, switching the resolution to 1080p rather than to 780p.
[0120] When the data of the previous calculation of the switching
time interval is not stored in the time interval table, the step S3
includes: switching the resolution by selecting the minimum
switching time interval and the corresponding switchable
resolution, and storing the minimum switching time interval and the
corresponding switchable resolution in the time interval table,
which guarantees that the video can be played smoothly under the
current network speed.
[0121] It is noted that since the network speed is relatively
stable in a period, thus, in other embodiments, the minimum time
interval can be the optimal solution for switching the resolution
by using sorting method to guarantee that the television can
continuously smoothly play the video A. In addition, after waiting
for a predetermined time interval, the television can switch to the
resolution corresponding to the current network speed
automatically, which ensures that the user cannot feel the
switching process. Therefore, the user does not need to switch the
resolution of the video manually, which not only facilitates the
user to operate the television, but also saves waiting time for the
user.
[0122] Referring to FIG. 9, which is a schematic view of a system
for switching video playback resolution according to a second
embodiment of the present disclosure, compared with the first
embodiment, the system of the second embodiment further includes a
second switching module 40 configured for switching the resolution
of the currently-played video to the minimum resolution and playing
the video at the minimum resolution when detecting that the number
of video data packet in a video cache region is less than a first
threshold value.
[0123] When the number of the stored video data packet is
relatively small or there is no video data packet in the preset
video cache region in a while, the television cannot play the video
smoothly or may display that the video is being cached. Thus, in
order to ensure that the video can be smoothly played, a threshold
value, such as 20 can be set. When the number of the video data
packet is less than 20, the television is triggered to switch to
play the video at a lower resolution. The video can be played
smoothly to the maximum extent by automatically switching the
current resolution to the minimum resolution. For example, supposed
that the current video can be played at four resolutions of 4k,
1080p, 720p, and 480p, when the user chooses to play the video at
the minimum resolution, switching to play the video at 480p
resolution. In this way, the dismatchment between the resolution
and the network speed can be avoided and thus the continuous switch
of the resolution can be prevented to allow the user to watch the
video smoothly. It is noted that the premise to read the video data
pre-stored in the video cache region is that the video is being
played. If the video is being paused or fast forwarded, only the
command of pausing or fast forwarding the video is executed.
[0124] Referring to FIG. 10, which is a schematic view of a system
for switching video playback resolution according to a third
embodiment of the present disclosure, compared with the second
embodiment, the system of the third embodiment further includes a
second obtaining module 50 and a second selecting module 60.
[0125] The second obtaining module 50 is configured for obtaining a
physical resolution of a screen.
[0126] The physical resolution of the screen of the television can
be pre-stored in a memory of the television and can be read out
when needed. When the physical resolution of the screen of the
television is not stored in the memory of the television, the
physical resolution can be obtained by the following method.
Referring to FIG. 11, which is a schematic view of the second
obtaining module 50, the second obtaining module 50 includes:
[0127] a physical detecting unit 501 configured for respectively
detecting the number of three primary colors of the screen of the
television in a horizontal direction and in a vertical direction;
and
[0128] a calculation unit configured for calculating a resolution X
of the screen of the television in the horizontal direction
according to the detected number of the three primary colors of the
screen of the television in the horizontal direction, calculating a
resolution Y of the screen of the television in the vertical
direction according to the detected number of the three primary
colors of the screen of the television in the vertical direction,
wherein the physical resolution of the screen of the television is
X*Y.
[0129] Since each pixel is formed by the three primary colors of
red, green, and blue, thus, the number of the primary colors is
three times the number of the pixels. That is, when the resolution
of the screen is 1920*1080, the number of the three primary colors
in the horizontal direction should be 1920*3=5760, and the number
of the three primary colors in the vertical direction should be
1080*3=3240. The resolution 1920 in the horizontal direction is
obtained by dividing 5760 by 3, and the resolution 1080 in the
vertical direction is obtained by dividing 3240 by 3, thus, the
resolution of the whole screen is 1920*1080, which should not be
exceeded when switching the resolution of the screen.
[0130] The second selecting module 60 is configured for selecting
the resolution in the switchable resolutions which is less than or
equal to the physical resolution, selecting the resolution as the
switchable resolution, turning to step S1 to calculate the
switching time interval of the selected switchable resolution.
[0131] The resolution of the screen is read to determine the
definition (namely, the resolution) which the video can be switched
to. If the switchable resolution of the video exceeds the physical
resolution of the screen, it is unnecessary to calculate the wait
time for switching the current resolution to the resolution which
is greater than the physical resolution. For example, the physical
resolution of the screen is 1920*1080, and the resolution which the
video can be switched to is 3840*2160, which obviously exceeds the
physical resolution of the screen, at this time, it is unnecessary
to calculate the wait time for switching the current resolution to
the resolution of 3840*2160 and only the wait time for switching
the current resolution to the one less than 3840*2160 needs to be
calculated. This is because switching the resolution of the video
to the one greater than 1920*1080 cannot enable the image of the
video to be clearer and also wastes the network flow. It is noted
that the video will be played at the minimum switchable resolution
if all the switchable resolutions of the video are greater than the
physical resolution of the playing device.
[0132] Furthermore, referring to FIG. 11, based on the above
embodiment, the system of this embodiment further includes a video
detecting module 70 and a playing module 80.
[0133] The video detecting module 70 is configured for detecting a
playback duration of the currently-played video;
[0134] The playing module 80 is configured for, when the playback
duration of the video is less than a second predetermined threshold
value, keeping playing the video at the current resolution.
[0135] The length of the video, namely the playback duration of the
video in time, is obtained by calculating the frame rate in each
second and the number of the total frames and dividing the number
of the total frames by the frame rate in each second. The time
duration of the whole video packet based on 60 images per second is
obtained by reading the size of the video packet and calculating
the number of the total frames by each frame of image in the video
packet. For example, if 60 frames are read in one second, then the
total number of frames is 18000, which indicates the system
contains 300-second image; if 24 frames are read in one second,
then the total number of frames is 240 and the system contains
10-second image. The longer the time required to read the frames,
the longer the playback duration of the video; the shorter the time
required to read the frames, the shorter the playback duration of
the video. Short video sources are generally some mobile phone
images or IPAD videos. Since the resolution of this type of device
is limited, the resolution of the video played on this type of
device is also relatively low, thus, in the method of this
embodiment, the video is played at the minimum resolution by the
television.
[0136] It is understood that since the playing time length of the
currently-video is detected at first, and the background of the
television does not need to switch the resolution automatically
according to the strength of the network signal when the playing
time of the video is relatively short. Therefore, some unnecessary
operations of the background can be saved.
[0137] In the system for switching video playback resolution
provided in the present disclosure, the first obtaining module 10
obtains the strength of the network signal and the frame rate of
the currently-played video, the calculation module 20 calculates
the switching time intervals of the switchable resolutions, the
first switching module 30 switches the resolutions by selecting the
optimal switching time interval and the corresponding switchable
resolution, which allows the smart television to switch the
resolution automatically according to the network speed without
manual operation and thus saves the operation for the user.
[0138] Based on the above description of the examples, those
skilled in the art would clearly understand that the examples may
be implemented by software plus a necessary common hardware
platform, of course, they may also be implemented by hardware. In
many cases, the former is a preferred manner. Based on such
understanding, the essential part of the technical solution of the
present invention or the part contributed to the prior art can be
in the form of a software product, and the computer software
product is stored in a storage medium (such as ROM/RAM, disk or
disc) and includes several codes to make a computer device (such as
a handset, a personal computer, a server or a network device)
perform the method in embodiments of the present invention.
[0139] The foregoing descriptions are only preferred embodiments of
the present invention and are not intended to limit the present
invention. Any modification, equivalent replacement and improvement
made under the spirit and principle of the present invention should
be included in the protection scope thereof.
* * * * *