CN104090809B - A kind of picture loading method and device - Google Patents

A kind of picture loading method and device Download PDF

Info

Publication number
CN104090809B
CN104090809B CN201410354421.4A CN201410354421A CN104090809B CN 104090809 B CN104090809 B CN 104090809B CN 201410354421 A CN201410354421 A CN 201410354421A CN 104090809 B CN104090809 B CN 104090809B
Authority
CN
China
Prior art keywords
flow value
described
current
instruction
picture
Prior art date
Application number
CN201410354421.4A
Other languages
Chinese (zh)
Other versions
CN104090809A (en
Inventor
张俊丰
Original Assignee
天脉聚源(北京)教育科技有限公司
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 天脉聚源(北京)教育科技有限公司 filed Critical 天脉聚源(北京)教育科技有限公司
Priority to CN201410354421.4A priority Critical patent/CN104090809B/en
Publication of CN104090809A publication Critical patent/CN104090809A/en
Application granted granted Critical
Publication of CN104090809B publication Critical patent/CN104090809B/en

Links

Abstract

The invention discloses a kind of picture loading method and device, the speed of download for realizing being improved by controlling network flow picture.Methods described includes:The picture switching command for carrying out autonomous device is received, the picture switching command includes the mark of photo current;Determine the quantity of the first secondary equipment of uncached photo current;According to the quantity and current network flow value, photo current described in the described first secondary device downloads is controlled.According to current network condition and needing the number of devices of download pictures to be controlled by equipment so that equipment can preferentially download picture to be presented, while can more effectively utilize the network bandwidth, raising picture speed of download, it is to avoid the situation of network congestion.

Description

A kind of picture loading method and device

Technical field

The present invention relates to network communication technology field, more particularly to a kind of picture loading method and device.

Background technology

In the application aspect such as teaching or exhibition simultaneously, it usually needs multiple equipment is checked from server download pictures. By taking scene of imparting knowledge to students as an example, teacher opens PPT or word teaching notes, when teacher's browsing pictures in the equipment of oneself, student's equipment Also the picture can be downloaded from server automatically with teacher's equipment to be browsed.The method of this real-time download pictures of multiple equipment is held Easily cause network blockage, picture speed of download excessively slow.

For this problem, the picture that multiple equipment can first in the caching server of backstage.When teacher side open PPT or During word teaching notes, the equipment of student side will successively cache picture according to the picture sequence in teaching notes, i.e., when all of student sets After the completion of the standby caching by the first pictures, then next pictures are cached, until all of image cache is completed.However, this Method can only ensure that student's effect when the picture of buffered completion is browsed is fine, and working as needs to browse uncached picture When, due to all uncached picture of all of equipment, then all devices are needed while downloading the picture from server, so as to cause Network moment congestion, picture speed of download is excessively slow.

In correlation technique, picture is cached using stair-stepping form, i.e., according to current network condition so that one Partial students equipment first caches picture, and the number of devices for caching picture is reduced with the utilization rate increase of the network bandwidth.This side Although method can make the caching of picture more rationally efficient, a problem is there is also, when teacher side switches to a wherein pictures When, because the equipment of student side only has the buffered picture of a few devices, then remaining most equipment are accomplished by rapidly same When download the picture and shown, if be not controlled by according to current network condition, just necessarily cause network congestion, with And the efficiency reduction of download pictures, and the network bandwidth cannot be effectively utilized, cause the waste of the network bandwidth.

The content of the invention

The embodiment of the present invention provides a kind of picture loading method and device, for realizing being improved by controlling network flow The speed of download of picture.

A kind of picture loading method, comprises the following steps:

The picture switching command for carrying out autonomous device is received, the picture switching command includes the mark of photo current;

Determine the quantity of the first secondary equipment of uncached photo current;

According to the quantity and current network flow value, photo current described in the described first secondary device downloads is controlled.

Some beneficial effects of the embodiment of the present invention can include:According to current network condition and needing download pictures Number of devices is controlled by equipment so that equipment can preferentially download picture to be presented, while can more effectively utilize The network bandwidth, improves picture speed of download, it is to avoid the situation of network congestion.

Optionally, it is described according to the quantity and current network flow value, control described in the described first secondary device downloads when Preceding picture, including:

Judgement obtains the quantity less than the first predetermined number;

The instruction for downloading photo current is sent to the described first secondary equipment.

In alternative, when number of devices is less, picture can be directly downloaded.

Optionally, it is described according to the quantity and current network flow value, control described in the described first secondary device downloads when Preceding picture, also includes:

Judgement obtains the quantity equal to or more than the first predetermined number and less than the second predetermined number;

Judge current network flow value whether less than the first preset flow value;

When current network flow value is less than the first preset flow value, the instruction for downloading photo current is sent to described the One secondary equipment.

In alternative, when number of devices is located between the first predetermined number and the second predetermined number, according to network Flow value is controlled by device downloads picture so that the speed of device downloads picture is improved.

Optionally, it is described to judge that whether current network flow value, less than after the first preset flow value, also includes:

When current network flow value is equal to or more than the first preset flow value, under pause download instruction is sent to The second secondary equipment of other pictures is carried, the instruction for downloading photo current is sent to the described first secondary equipment.

In alternative, when number of devices is located between the first predetermined number and the second predetermined number, according to network Flow value is controlled by device downloads picture so that the speed of device downloads picture is improved, and more effectively utilizes Netowrk tape It is wide.

Optionally, the download instruction of suspending is sent to the second secondary equipment for downloading other pictures, works as downloading The instruction of preceding picture is sent to after the described first secondary equipment, is also included:

During the described first secondary equipment downloads photo current according to the instruction of the download photo current, when current When network flow value exceedes Preset Time less than the time of the first preset flow value, download instruction will be recovered and be sent to described second Secondary equipment.

In alternative, when network flow value is less than default flow value, carried by the download for recovering other pictures The efficiency of device downloads picture high.

Optionally, it is described according to the quantity and current network flow value, control described in the described first secondary device downloads when Preceding picture, also includes:

Judgement obtains the quantity equal to or more than second predetermined number;

Increase first preset flow value, obtain the second preset flow value;

Judge current network flow value whether less than second preset flow value;

When current network flow value is less than second preset flow value, the instruction for downloading photo current is sent to institute State the first secondary equipment.

In alternative, when number of devices is equal to or more than the second predetermined number, according to network flow value to equipment Download pictures are controlled by so that the speed of device downloads picture is improved.

Optionally, it is described to judge that whether current network flow value, less than after second preset flow value, also includes:

When current network flow value is equal to or more than second preset flow value, pause download instruction is sent to just In the second secondary equipment for downloading other pictures, the instruction for downloading photo current is sent to the described first secondary equipment.

In alternative, when number of devices is equal to or more than the second predetermined number, according to network flow value to equipment Download pictures are controlled by so that the speed of device downloads picture is improved, and more effectively utilize the network bandwidth.

Optionally, the download instruction of suspending is sent to the second secondary equipment for downloading other pictures, works as downloading The instruction of preceding picture is sent to after the described first secondary equipment, is also included:

During the described first secondary equipment downloads photo current according to the instruction of the download photo current, when current When network flow value exceedes Preset Time less than the time of first preset flow value, by second preset flow value reduction To first preset flow value.

In alternative, default network flow value is controlled by by during device downloads picture, and then Control device download pictures so that picture speed of download is improved, it is to avoid network congestion.

A kind of picture loading device, including:

Receiver module, the picture switching command of autonomous device is carried out for receiving, and the picture switching command includes currently The mark of picture;

Determining module, the quantity of the first secondary equipment for determining uncached photo current;

Control module, for according to the quantity and current network flow value, controlling described in the described first secondary device downloads Photo current.

Optionally, the control module includes:

First judging unit, for judging to obtain the quantity less than the first predetermined number;

Transmitting element, for the download instruction of the photo current to be sent into the described first secondary equipment.

Optionally, the control module also includes the second judging unit;

First judging unit, is additionally operable to judgement and obtains the quantity equal to or more than the first predetermined number and less than the Two predetermined numbers;

Second judging unit, for judging current network flow value whether less than preset flow value;

The transmitting element, is additionally operable to that, when current network flow value is less than the first preset flow value, current figure will be downloaded The instruction of piece is sent to the described first secondary equipment.

Optionally, the transmitting element, is additionally operable to when current network flow value is equal to or more than the first preset flow value, Download instruction will be suspended and be sent to the second secondary equipment for downloading other pictures, the instruction for downloading photo current is sent to institute State the first secondary equipment.

Optionally, the transmitting element, is additionally operable to the instruction according to the download photo current in the described first secondary equipment During downloading photo current, when current network flow value exceedes Preset Time less than the time of the first preset flow value, Download instruction will be recovered and be sent to the described second secondary equipment.

Optionally, the control module also includes increase unit;

First judging unit, is additionally operable to judgement and obtains the quantity equal to or more than second predetermined number;

The increase unit, for increasing first preset flow value, obtains the second preset flow value;

Whether second judging unit, be additionally operable to judge current network flow value less than second preset flow value;

The transmitting element, is additionally operable to, when current network flow value is less than second preset flow value, work as downloading The instruction of preceding picture is sent to the described first secondary equipment.

Optionally, the transmitting element, is additionally operable to be equal to or more than second preset flow when current network flow value During value, download instruction will be suspended and be sent to the second secondary equipment for downloading other pictures, the instruction hair of photo current will be downloaded Give the described first secondary equipment.

Optionally, the control module also includes:

Reduction unit, for downloading photo current according to the instruction of the download photo current in the described first secondary equipment During, when current network flow value exceedes Preset Time less than the time of first preset flow value, by described second Preset flow value is restored to first preset flow value.

Other features and advantages of the present invention will be illustrated in the following description, also, the partly change from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.

Below by drawings and Examples, technical scheme is described in further detail.

Brief description of the drawings

Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, with reality of the invention Applying example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:

Fig. 1 is a kind of flow chart of picture loading method in the embodiment of the present invention;

Fig. 2 is the flow chart of another picture loading method in the embodiment of the present invention;

Fig. 3 is the flow chart of another picture loading method in the embodiment of the present invention;

Fig. 4 is the flow chart of another picture loading method in the embodiment of the present invention;

Fig. 5 is the flow chart of picture loading method in a specific embodiment of the invention;

Fig. 6 is the flow chart of picture loading method in another specific embodiment of the present invention;

Fig. 7 is a kind of block diagram of picture loading device in the embodiment of the present invention;

Fig. 8 is the block diagram of control module in picture loading device in the embodiment of the present invention.

Specific embodiment

The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that preferred reality described herein Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.

The invention provides a kind of picture loading method, as shown in figure 1, comprising the following steps:

Step S101, receives the picture switching command for carrying out autonomous device, and picture switching command includes the mark of photo current Know;

Step S102, determines the quantity of the first secondary equipment of uncached photo current;

Step S103, according to quantity and current network flow value, the secondary device downloads photo current of control first.

Using technical scheme, during the switching picture of main equipment end, in a part of pair buffered complete figure of equipment In the case of piece, remaining secondary equipment is stilled need while download the picture, due to there is equipment component to other pictures simultaneously Caching work, take fractional bandwidth, it is thus possible to result in the need for download photo current secondary equipment cannot quick-downloading picture, this The download work according to the quantity and current network condition of secondary equipment to secondary equipment is accomplished by be controlled by.According to current Network condition and the number of devices of download pictures is needed to be controlled by equipment so that equipment can preferentially download figure to be presented Piece, while the network bandwidth can be utilized more effectively, improves picture speed of download, it is to avoid the situation of network congestion.

The solution of the present invention can be applicable in the scenes such as teaching scene or exhibitions.By taking scene of imparting knowledge to students as an example, when teacher is in master During equipment end switching picture, picture switching command is sent to server by main equipment, comprising current figure in the picture switching command The mark of piece, i.e., the mark of the picture for being switched comprising teacher.When server receives the picture switching command from teacher side When, according to the picture identification carried in picture switching command, determine the quantity of the secondary equipment of uncached photo current, i.e., it is multiple to learn The number of devices of the picture that teacher currently switches not yet is cached in generating apparatus, while the current network flow value of monitoring, according to not The number of devices and current network flow value of photo current are cached, controls student's device downloads of uncached photo current to work as Preceding picture.

In step s 103, according to quantity and current network flow value, the secondary device downloads photo current of control first.Its In, the quantity of the first secondary equipment is compared with the first predetermined number and the second predetermined number, determine the number of the first secondary equipment Amount is interval;Current network flow value is compared with the first predetermined number, and is controlled according to the size of current network flow value First secondary device downloads photo current.

First predetermined number and the second predetermined number can be set according to the practical capacity of router, and are adjusted so as to To optimal preset value.For example, the first predetermined number is set as into 5, the second predetermined number is set as 10.First preset flow value Can be set according to current network condition, for example, the first preset flow value is set as into 500kb.

The quantity being located at below according to the quantity of the first secondary equipment is interval, current to the secondary device downloads of control first respectively The process of picture is illustrated.

When the quantity of the first secondary equipment is less than the first predetermined number, as shown in Fig. 2 comprising the following steps:

Step S201, receives the picture switching command for carrying out autonomous device, and picture switching command includes the mark of photo current Know;

Step S202, determines the quantity of the first secondary equipment of uncached photo current;

Step S203, the quantity that judgement obtains the first secondary equipment is less than the first predetermined number;

Step S204, the first secondary equipment is sent to by the instruction for downloading photo current.

When the quantity of the first secondary equipment is less than the first predetermined number, other treatment are not done, will directly download photo current Instruction be sent to the first secondary equipment, after the first secondary equipment receives the instruction of the download photo current from server, start Download photo current and show.

The first predetermined number is equal to or more than when the quantity of the first secondary equipment and during less than the second predetermined number, such as Fig. 3 institutes Show, comprise the following steps:

Step S301, receives the picture switching command for carrying out autonomous device, and picture switching command includes the mark of photo current Know;

Step S302, determines the quantity of the first secondary equipment of uncached photo current;

Step S303, the quantity that judgement obtains the first secondary equipment is equal to or more than the first predetermined number and is preset less than second Quantity;

Whether step S304, judge current network flow value less than the first preset flow value;If current network flow value is small In the first preset flow value, then step S305 is performed;If current network flow value is not less than the first preset flow value, step is performed Rapid S306;

Step S305, the first secondary equipment is sent to by the instruction for downloading photo current;

Step S306, will suspend download instruction and is sent to the second secondary equipment for downloading other pictures, current by downloading The instruction of picture is sent to the first secondary equipment.

In step S306, when current network flow value is equal to or more than the first preset flow value, server will suspend Download instruction is sent to the second secondary equipment for downloading other pictures, after the second secondary equipment receives pause download instruction, temporarily Stop the download action of other uncorrelated pictures, meanwhile, the instruction for downloading photo current is sent to the first secondary equipment by server, the After one secondary equipment receives the instruction for downloading photo current, start to download photo current and shown.So, other are uncorrelated The download action of picture is wholly off, and preferentially downloads picture to be presented so that the download of picture to be presented takes current network Bandwidth, improves the speed of download of picture.

After step S306, i.e., the first secondary equipment downloads the process of photo current according to the instruction for downloading photo current In, when current network flow value exceedes Preset Time less than the time of the first preset flow value, download instruction will be recovered and sent To the second secondary equipment.Wherein, Preset Time can according to circumstances be set, such as 2 seconds.I.e.:Work as in the first secondary device downloads During preceding picture, when current network flow value is less than the first preset flow value in continuous 2 seconds, server will then recover Download instruction is sent to the second secondary equipment.After second secondary equipment receives recovery download instruction, you can recover the right of previous pause The download action of other pictures.

When the quantity of the first secondary equipment is equal to or more than the second predetermined number, as shown in figure 4, comprising the following steps:

Step S401, receives the picture switching command for carrying out autonomous device, and picture switching command includes the mark of photo current Know;

Step S402, determines the quantity of the first secondary equipment of uncached photo current;

Step S403, the quantity that judgement obtains the first secondary equipment is equal to or more than the second predetermined number;

Step S404, increases the first preset flow value, obtains the second preset flow value;

Whether step S405, judge current network flow value less than second preset flow value;If current network flow Value is less than the second preset flow value, then perform step S406;If current network flow value is not less than the second preset flow value, hold Row step S407;

Step S406, the first secondary equipment is sent to by the instruction for downloading photo current;

Step S407, will suspend download instruction and is sent to the second secondary equipment for downloading other pictures, current by downloading The instruction of picture is sent to the first secondary equipment.

In step s 404, the first preset flow value is increased into the second preset flow value, the numerical value of increase is according to network Depending on the actual conditions of bandwidth.

In step S 407, when current network flow value is equal to or more than the second preset flow value, server will suspend Download instruction is sent to the second secondary equipment for downloading other pictures, after the second secondary equipment receives pause download instruction, temporarily Stop the download action of other uncorrelated pictures, meanwhile, the instruction for downloading photo current is sent to the first secondary equipment by server, the After one secondary equipment receives the instruction for downloading photo current, start to download photo current and shown.So, other are uncorrelated The download action of picture is wholly off, and preferentially downloads picture to be presented so that the download of picture to be presented takes current network Bandwidth, improves the speed of download of picture.

After step S407, i.e., the process of photo current is downloaded according to the instruction for downloading photo current in the first secondary equipment In, when current network flow value exceedes Preset Time less than the time of the first preset flow value, by second preset flow Value is restored to the first preset flow value.Wherein, Preset Time can according to circumstances be set, for example, be set as 2 seconds.I.e.: During first secondary device downloads photo current, when current network flow value continues 2 seconds less than the first preset flow value, Second preset flow value can be then restored to the first preset flow value by server, that is, reduce preset flow value.

Picture loading method of the invention is illustrated below by two specific embodiments.

In one embodiment, by taking scene of imparting knowledge to students as an example, when student's equipment end is caching the picture in picture bag, Jiao Shishe Standby to switch to a wherein pictures A, now, student's equipment of uncached picture A has 8.As shown in figure 5, including following step Suddenly:

Step S501, teacher side switches to picture A, and the switching command of picture A is sent into server;

Step S502, server receives the switching command of picture A, and the student's number of devices for determining uncached picture A is 8;

Step S503, judges that student's number of devices of uncached picture A is more than the first predetermined number and default less than second Quantity;In this embodiment, the first predetermined number is set as 5, and the second predetermined number is set as 10;

Whether step S504, server judges current network flow value less than 500kb;In this embodiment, first is pre- If flow value is set as 500kb;If current network flow value is less than 500kb, step S505 is performed;If current network flow value Not less than 500kb, then step S506 is performed;

The instruction of download pictures A is sent to step S505, server student's equipment of uncached picture A;

Step S506, server will suspend download instruction and be sent to the student's equipment for downloading other pictures, and by under The instruction for carrying picture A is sent to student's equipment of uncached picture A;

Step S507, student's equipment receives the instruction of download pictures A, and download pictures A.

In another embodiment, still by taking scene of imparting knowledge to students as an example, when student's equipment end is caching the picture in picture bag, religion Teacher's equipment switches to a wherein pictures B, and now, student's equipment of uncached picture B has 12.As shown in fig. 6, including with Lower step:

Step S601, teacher side switches to picture B, and the switching command of picture B is sent into server;

Step S602, server receives the switching command of picture B, and the student's number of devices for determining uncached picture B is 12;

Step S603, judges that student's number of devices of uncached picture B is more than the second predetermined number;In this embodiment, First predetermined number is set as 5, and the second predetermined number is set as 10;

Preset flow value is increased to 800kb by step S604, server;In this embodiment, preset flow value is 500kb;

Whether step S605, judge current network flow value less than 800kb;If current network flow value is less than 800kb, Perform step S606;If current network flow value is not less than 800kb, step S607 is performed;

The instruction of download pictures B is sent to step S606, server student's equipment of uncached picture B;

Step S607, server will suspend download instruction and be sent to the student's equipment for downloading other pictures, and by under The instruction for carrying picture B is sent to student's equipment of uncached picture B;

Step S608, student's equipment receives the instruction of download pictures B, and download pictures B;

Step S609, when time of the current network flow value less than 500kb was more than 2 seconds, server is by preset flow Value is reduced to 500kb from 800kb.

Present invention also offers a kind of picture loading device, as shown in fig. 7, comprises:

Receiver module 71, the picture switching command of autonomous device is carried out for receiving, and picture switching command includes current figure The mark of piece;

Determining module 72, the quantity of the first secondary equipment for determining uncached photo current;

Control module 73, for quantity and current network flow value according to the first secondary equipment, under the secondary equipment of control first Carry photo current.

Wherein, as shown in figure 8, control module 73 includes:

First judging unit 731, the quantity for judging to obtain the first secondary equipment is less than the first predetermined number;For judging The quantity for obtaining the first secondary equipment is equal to or more than the first predetermined number and less than the second predetermined number;For judging to obtain first The quantity of secondary equipment is equal to or more than the second predetermined number;

Transmitting element 732, for the download instruction of photo current to be sent into the first secondary equipment;For when current network stream When value is less than the first preset flow value, the instruction for downloading photo current is sent to the first secondary equipment;For working as current network When flow value is equal to or more than the first preset flow value, download instruction will be suspended and be sent to the second pair for downloading other pictures Equipment, the first secondary equipment is sent to by the instruction for downloading photo current;For in the first secondary equipment according to downloading photo current During photo current is downloaded in instruction, when current network flow value exceedes Preset Time less than the time of the first preset flow value When, download instruction will be recovered and be sent to the second secondary equipment;For when current network flow value is less than the second preset flow value, inciting somebody to action The instruction for downloading photo current is sent to the first secondary equipment;For being equal to or more than the second preset flow when current network flow value During value, download instruction will be suspended and be sent to the second secondary equipment for downloading other pictures, the instruction hair of photo current will be downloaded Give the first secondary equipment;

Second judging unit 733, for judging current network flow value whether less than preset flow value;It is current for judging Whether network flow value is less than the second preset flow value;

Increase unit 734, for increasing the first preset flow value, obtains the second preset flow value;

Reduction unit 735, the process for downloading photo current according to the instruction for downloading photo current in the first secondary equipment In, when current network flow value exceedes Preset Time less than the time of the first preset flow value, by the second preset flow value also As far as the first preset flow value.

The solution of the present invention can be applicable in the scenes such as teaching scene or exhibitions.When main equipment end switches picture, master sets It is standby that picture switching command is sent to server, the mark comprising photo current in the picture switching command.The reception of server Module 71 receives the picture switching command for carrying out autonomous device first, secondly, according to the picture identification carried in picture switching command, The quantity of the secondary equipment of uncached photo current is determined by determining module 72, finally, the pair according to uncached photo current sets Standby quantity and current network flow value, the secondary device downloads for controlling uncached photo current by control module 73 are currently schemed Piece.

Using technical scheme, according to current network condition and the number of devices of download pictures is needed to equipment It is controlled by so that equipment can preferentially download picture to be presented, while the network bandwidth can be utilized more effectively, improves figure Piece speed of download, it is to avoid the situation of network congestion.

It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more The shape of the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.

The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.

These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.

These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.

Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (10)

1. a kind of picture loading method, it is characterised in that including:
The picture switching command for carrying out autonomous device is received, the picture switching command includes the mark of photo current;
Determine the quantity of the first secondary equipment of uncached photo current;
According to the quantity and current network flow value, photo current described in the described first secondary device downloads is controlled;
It is described to control photo current described in the described first secondary device downloads according to the quantity and current network flow value, including:
Judgement obtains the quantity less than the first predetermined number;
The instruction for downloading photo current is sent to the described first secondary equipment;
It is described according to the quantity and current network flow value, control the described first secondary device downloads described in photo current, also wrap Include:
Judgement obtains the quantity equal to or more than the first predetermined number and less than the second predetermined number;
Judge current network flow value whether less than the first preset flow value;
When current network flow value is less than the first preset flow value, the instruction for downloading photo current is sent to described first secondary Equipment;
It is described according to the quantity and current network flow value, control the described first secondary device downloads described in photo current, also wrap Include:
Judgement obtains the quantity equal to or more than second predetermined number;
Increase first preset flow value, obtain the second preset flow value;
Judge current network flow value whether less than second preset flow value;
When current network flow value is less than second preset flow value, the instruction for downloading photo current is sent to described the One secondary equipment.
2. method according to claim 1, it is characterised in that described to judge whether current network flow value is pre- less than first If after flow value, also including:
When current network flow value is equal to or more than the first preset flow value, pause download instruction is sent to and downloads it The secondary equipment of the second of its picture, the described first secondary equipment is sent to by the instruction for downloading photo current.
3. method according to claim 2, it is characterised in that described that pause download instruction is sent to and downloads other The secondary equipment of the second of picture, the instruction for downloading photo current is sent to after the described first secondary equipment, is also included:
During the described first secondary equipment downloads photo current according to the instruction of the download photo current, work as current network When flow value exceedes Preset Time less than the time of the first preset flow value, download instruction will be recovered and be sent to second pair and set It is standby.
4. method according to claim 1, it is characterised in that described to judge current network flow value whether less than described the After two preset flow values, also include:
When current network flow value is equal to or more than second preset flow value, under pause download instruction is sent to The second secondary equipment of other pictures is carried, the instruction for downloading photo current is sent to the described first secondary equipment.
5. method according to claim 4, it is characterised in that described that pause download instruction is sent to and downloads other The secondary equipment of the second of picture, the instruction for downloading photo current is sent to after the described first secondary equipment, is also included:
During the described first secondary equipment downloads photo current according to the instruction of the download photo current, work as current network When flow value exceedes Preset Time less than the time of first preset flow value, second preset flow value is restored to institute State the first preset flow value.
6. a kind of picture loading device, it is characterised in that including:
Receiver module, the picture switching command of autonomous device is carried out for receiving, and the picture switching command includes photo current Mark;
Determining module, the quantity of the first secondary equipment for determining uncached photo current;
Control module, it is current described in the described first secondary device downloads for according to the quantity and current network flow value, controlling Picture;
The control module includes:
First judging unit, for judging to obtain the quantity whether less than the first predetermined number;
Transmitting element, for the download instruction of the photo current to be sent into the described first secondary equipment;
The control module also includes the second judging unit;
First judging unit, is additionally operable to judgement and obtains whether the quantity is equal to or more than the first predetermined number and less than the Two predetermined numbers;
Second judging unit, for judging current network flow value whether less than preset flow value;
The transmitting element, is additionally operable to that, when current network flow value is less than the first preset flow value, photo current will be downloaded Instruction is sent to the described first secondary equipment;
The control module also includes increase unit;
First judging unit, is additionally operable to judgement and obtains whether the quantity is equal to or more than second predetermined number;
The increase unit, for increasing first preset flow value, obtains the second preset flow value;
Whether second judging unit, be additionally operable to judge current network flow value less than second preset flow value;
The transmitting element, is additionally operable to that, when current network flow value is less than second preset flow value, current figure will be downloaded The instruction of piece is sent to the described first secondary equipment.
7. device according to claim 6, it is characterised in that the transmitting element, is additionally operable to when current network flow value During equal to or more than the first preset flow value, download instruction will be suspended and is sent to the second secondary equipment for downloading other pictures, The instruction for downloading photo current is sent to the described first secondary equipment.
8. device according to claim 7, it is characterised in that the transmitting element, is additionally operable in the described first secondary equipment During photo current is downloaded in instruction according to the download photo current, when current network flow value is less than the first default stream When the time of value exceedes Preset Time, download instruction will be recovered and be sent to the described second secondary equipment.
9. device according to claim 6, it is characterised in that the transmitting element, is additionally operable to when current network flow value During equal to or more than second preset flow value, download instruction will be suspended it will be sent to and download the second pair of other pictures and set It is standby, the instruction for downloading photo current is sent to the described first secondary equipment.
10. device according to claim 9, it is characterised in that the control module also includes:
Reduction unit, the process for downloading photo current according to the instruction of the download photo current in the described first secondary equipment In, when current network flow value exceedes Preset Time less than the time of first preset flow value, described second is preset Flow value is restored to first preset flow value.
CN201410354421.4A 2014-07-23 2014-07-23 A kind of picture loading method and device CN104090809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410354421.4A CN104090809B (en) 2014-07-23 2014-07-23 A kind of picture loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410354421.4A CN104090809B (en) 2014-07-23 2014-07-23 A kind of picture loading method and device

Publications (2)

Publication Number Publication Date
CN104090809A CN104090809A (en) 2014-10-08
CN104090809B true CN104090809B (en) 2017-07-07

Family

ID=51638528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410354421.4A CN104090809B (en) 2014-07-23 2014-07-23 A kind of picture loading method and device

Country Status (1)

Country Link
CN (1) CN104090809B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105989039B (en) * 2015-02-04 2019-12-17 腾讯科技(深圳)有限公司 Method and device for processing pictures in mobile terminal
CN105959159A (en) * 2016-06-30 2016-09-21 天脉聚源(北京)传媒科技有限公司 Network downloading method and device
CN106250136B (en) * 2016-07-27 2017-10-24 广东欧珀移动通信有限公司 A kind of screen locking magazine player method and mobile terminal
CN106254651B (en) * 2016-08-03 2019-08-13 Oppo广东移动通信有限公司 A kind of picture method for down loading and communication terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877180A (en) * 2009-11-18 2010-11-03 北京同方瑞博数字技术有限公司 Multi-media electronic reciprocal teaching system
CN102081650A (en) * 2010-12-29 2011-06-01 上海网达软件有限公司 Method for rapidly displaying user interface of embedded type platform
CN103246673A (en) * 2012-02-09 2013-08-14 联想(北京)有限公司 Picture switching method and electronic device
CN103870102A (en) * 2012-12-13 2014-06-18 腾讯科技(武汉)有限公司 Method and device for image switching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877180A (en) * 2009-11-18 2010-11-03 北京同方瑞博数字技术有限公司 Multi-media electronic reciprocal teaching system
CN102081650A (en) * 2010-12-29 2011-06-01 上海网达软件有限公司 Method for rapidly displaying user interface of embedded type platform
CN103246673A (en) * 2012-02-09 2013-08-14 联想(北京)有限公司 Picture switching method and electronic device
CN103870102A (en) * 2012-12-13 2014-06-18 腾讯科技(武汉)有限公司 Method and device for image switching

Also Published As

Publication number Publication date
CN104090809A (en) 2014-10-08

Similar Documents

Publication Publication Date Title
CN1324473C (en) Apparatus, method and system with a graphics-rendering engine having a graphics context manager
JP3202606B2 (en) Imaging server and the method and medium
JP2008268971A (en) Method and display system for updating image frame on display screen
US9979772B2 (en) Data streaming method of an electronic device and the electronic device thereof
EP3068086A1 (en) Parallel transmission method and system on wireless links of different types
TWI418196B (en) Adaptive speed control for mac-phy interfaces
EP2267975A3 (en) A method and apparatus for updating a graphical display in a distributed processing environment
EP1404105A3 (en) Method, apparatus, and computer program for generating albums
CN104780338A (en) Method and electronic equipment for loading expression effect animation in instant video
EP1878004A2 (en) Displaying and image using memory control unit
CN1588302A (en) Computer screen catching monitoring and recording method
CN101179688B (en) Method and apparatus for implementing dynamic expression picture
CA2878170A1 (en) Image shooting system
JP2008152625A (en) Image display device, image data processing system and image data processing method
KR20060095551A (en) Adapter and method for wireless transfer of memory card contents
CN102122228B (en) Input-output apparatus and input-output method
CN100571368C (en) Method and apparatus for multiple image display control
CN103561356B (en) The method and apparatus that multiple terminals is synchronously played
US20140002683A1 (en) Image pickup apparatus, image pickup system, image pickup method and computer readable non-transitory recording medium
US20150180699A1 (en) Method and system for transmitting data in parallel via wireless link and wired link
JP2003346055A5 (en)
JP2015529882A (en) Improved performance in virtual desktop infrastructure (VDI)
US20050219418A1 (en) Dynamic cross fading method and apparatus
CN102377588B (en) Network transmission control method and system
CN104184739A (en) Class synchronization system based on wireless network

Legal Events

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