CN104090809A - Picture loading method and device - Google Patents

Picture loading method and device Download PDF

Info

Publication number
CN104090809A
CN104090809A CN201410354421.4A CN201410354421A CN104090809A CN 104090809 A CN104090809 A CN 104090809A CN 201410354421 A CN201410354421 A CN 201410354421A CN 104090809 A CN104090809 A CN 104090809A
Authority
CN
China
Prior art keywords
described
flow value
picture
instruction
download
Prior art date
Application number
CN201410354421.4A
Other languages
Chinese (zh)
Other versions
CN104090809B (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 picture loading method and device, and the picture loading method and device are used for increasing the picture downloading speed by controlling network flow. The picture loading method includes the steps of receiving a picture switching instruction from a master device, wherein the picture switching instruction comprises marks of current pictures; determining the number of first auxiliary devices not caching the current pictures; controlling the first auxiliary devices to download the current pictures according to the number and a current network flow value. Devices are controlled according to the current network situation and the number of devices needing to download the pictures, so that the devices download the pictures to be displayed preferentially. Meanwhile, the network bandwidth can be utilized more effectively, the picture downloading speed is increased, and network congestion is avoided.

Description

A kind of picture loading method and device

Technical field

The present invention relates to network communications technology field, relate in particular to a kind of picture loading method and device.

Background technology

In application aspect such as teaching or exhibitions, conventionally need multiple equipment to check from server download pictures simultaneously.Taking teaching scene as example, teacher opens PPT or word teaching notes, and while serving as a teacher on the equipment of oneself browsing pictures, student's equipment also can automatically be downloaded this picture from server with teacher's equipment and browse.The method of the real-time download pictures of this multiple equipment easily causes network blockage, picture speed of download excessively slow.

For this problem, the first picture in the caching server of backstage of multiple equipment.Serve as a teacher and hold while opening PPT or word teaching notes, the equipment of student's end will be according to the picture sequence in teaching notes successively buffer memory picture, after all student's equipment completes the first pictures buffer memory, then next pictures of buffer memory, until all image caches are completed.But, this method can only ensure that student's effect in the time browsing the picture that buffer memory has completed is fine, and in the time need to browsing the picture of buffer memory not, due to all this pictures of buffer memory not of all equipment, need all devices to download this picture from server simultaneously, thereby cause network moment to block up, picture speed of download is excessively slow.

In correlation technique, adopt stair-stepping form to carry out buffer memory to picture, according to current network condition, make the first buffer memory picture of a part of student's equipment, the number of devices of buffer memory picture increases and reduces with the utilization rate of the network bandwidth.Although this method can make the buffer memory of picture more rationally efficient, but also there is a problem, when serving as a teacher end and switching to wherein a pictures, because the equipment of student's end only has this picture of buffer memory of a few devices, remaining most equipment are downloaded rapidly this picture simultaneously and show with regard to needs, if do not controlled according to current network condition, just must cause network congestion, and the Efficiency Decreasing of download pictures, and cannot effectively utilize the network bandwidth, cause the waste of the network bandwidth.

Summary of the invention

The embodiment of the present invention provides a kind of picture loading method and device, for realizing the speed of download that improves picture by controlling network traffics.

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

The picture switching command that receives autonomous device, described picture switching command comprises the mark of photo current;

Determine the not quantity of the first secondary equipment of buffer memory photo current;

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

Some beneficial effects of the embodiment of the present invention can comprise: according to current network condition and need the number of devices of download pictures to be controlled equipment, make equipment can preferentially download picture to be shown, can more effectively utilize the network bandwidth simultaneously, improve picture speed of download, avoid the situation of network congestion.

Optionally, described according to described quantity and current network flow value, control photo current described in described the first secondary device downloads, comprising:

Judgement obtains described quantity and is less than the first predetermined number;

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

In possibility, in the time that number of devices is less, directly download pictures.

Optionally, described according to described quantity and current network flow value, control photo current described in described the first secondary device downloads, also comprise:

Judgement obtains described quantity and is equal to or greater than the first predetermined number and is less than the second predetermined number;

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

In the time that current network flow value is less than the first preset flow value, the instruction of downloading photo current is sent to described the first secondary equipment.

In possibility, in the time that number of devices is between the first predetermined number and the second predetermined number, according to network flow value, device downloads picture is controlled, the speed of device downloads picture is improved.

Optionally, described judge whether current network flow value is less than the first preset flow value after, also comprise:

In the time that current network flow value is equal to or greater than the first preset flow value, send to by suspending download instruction the second secondary equipment of downloading other picture, the instruction of downloading photo current is sent to described the first secondary equipment.

In possibility, in the time that number of devices is between the first predetermined number and the second predetermined number, according to network flow value, device downloads picture is controlled, the speed of device downloads picture is improved, and more effectively utilize the network bandwidth.

Optionally, describedly send to by suspending download instruction the second secondary equipment of downloading other picture, will download after the instruction of photo current sends to described the first secondary equipment, also comprise:

Download according to the instruction of described download photo current at described the first secondary equipment in the process of photo current, in the time that the time that current network flow value is less than the first preset flow value exceedes Preset Time, recovery download instruction is sent to described the second secondary equipment.

In possibility, in the time that network flow value is less than default flow value, improve the efficiency of device downloads picture by recovering the download of other picture.

Optionally, described according to described quantity and current network flow value, control photo current described in described the first secondary device downloads, also comprise:

Judgement obtains described quantity and is equal to or greater than described the second predetermined number;

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

Judge whether current network flow value is less than described the second preset flow value;

In the time that current network flow value is less than described the second preset flow value, the instruction of downloading photo current is sent to described the first secondary equipment.

In possibility, in the time that number of devices is equal to or greater than the second predetermined number, according to network flow value, device downloads picture is controlled, the speed of device downloads picture is improved.

Optionally, described judge whether current network flow value is less than described the second preset flow value after, also comprise:

In the time that current network flow value is equal to or greater than described the second preset flow value, send to by suspending download instruction the second secondary equipment of downloading other picture, the instruction of downloading photo current is sent to described the first secondary equipment.

In possibility, in the time that number of devices is equal to or greater than the second predetermined number, according to network flow value, device downloads picture is controlled, the speed of device downloads picture is improved, and more effectively utilize the network bandwidth.

Optionally, describedly send to by suspending download instruction the second secondary equipment of downloading other picture, will download after the instruction of photo current sends to described the first secondary equipment, also comprise:

Download according to the instruction of described download photo current in the process of photo current at described the first secondary equipment, in the time that the time that current network flow value is less than described the first preset flow value exceedes Preset Time, described the second preset flow value is reduced to described the first preset flow value.

In possibility, by the process of device downloads picture, default network flow value being controlled, so that opertaing device download pictures, picture speed of download is improved, avoid network congestion.

A kind of picture charger, comprising:

Receiver module, for receiving the picture switching command of autonomous device, described picture switching command comprises the mark of photo current;

Determination module, for determining the not quantity of the first secondary equipment of buffer memory photo current;

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

Optionally, described control module comprises:

The first judging unit, obtains described quantity for judgement and is less than the first predetermined number;

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

Optionally, described control module also comprises the second judging unit;

Described the first judging unit, also obtains described quantity for judgement and is equal to or greater than the first predetermined number and is less than the second predetermined number;

Described the second judging unit, for judging whether current network flow value is less than preset flow value;

Described transmitting element, also in the time that current network flow value is less than the first preset flow value, sends to described the first secondary equipment by the instruction of downloading photo current.

Optionally, described transmitting element, also, in the time that current network flow value is equal to or greater than the first preset flow value, send to by suspending download instruction the second secondary equipment of downloading other picture, the instruction of downloading photo current is sent to described the first secondary equipment.

Optionally, described transmitting element, also for download the process of photo current according to the instruction of described download photo current at described the first secondary equipment, in the time that the time that current network flow value is less than the first preset flow value exceedes Preset Time, recovery download instruction is sent to described the second secondary equipment.

Optionally, described control module also comprises increase unit;

Described the first judging unit, also obtains described quantity for judgement and is equal to or greater than described the second predetermined number;

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

Described the second judging unit, also for judging whether current network flow value is less than described the second preset flow value;

Described transmitting element, also in the time that current network flow value is less than described the second preset flow value, sends to described the first secondary equipment by the instruction of downloading photo current.

Optionally, described transmitting element, also, in the time that current network flow value is equal to or greater than described the second preset flow value, send to by suspending download instruction the second secondary equipment of downloading other picture, the instruction of downloading photo current is sent to described the first secondary equipment.

Optionally, described control module also comprises:

Reduction unit, for download the process of photo current according to the instruction of described download photo current at described the first secondary equipment, in the time that the time that current network flow value is less than described the first preset flow value exceedes Preset Time, described the second preset flow value is reduced to described the first preset flow value.

Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, or understand by implementing the present invention.Object of the present invention and other advantages can be realized and be obtained by specifically noted structure in write instructions, claims and accompanying drawing.

Below by drawings and Examples, technical scheme of the present invention is described in further detail.

Brief description of the drawings

Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for instructions, for explaining the present invention, is not construed as limiting the invention together with embodiments of the present invention.In the accompanying drawings:

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

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

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

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

Fig. 5 is the process flow diagram of picture loading method in the present invention's one specific embodiment;

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

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

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

Embodiment

Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.

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

Step S101, reception carrys out the picture switching command of autonomous device, and picture switching command comprises the mark of photo current;

Step S102, determines the not quantity of the first secondary equipment of buffer memory photo current;

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

Adopt technical scheme of the present invention, when picture is changed in main equipment end-grain cutting, at the secondary equipment of a part complete this picture of buffer memory in the situation that, remaining secondary equipment still needs to download this picture simultaneously, due to the buffer memory work that exists equipment component to other picture simultaneously, take part bandwidth, the secondary equipment that therefore may cause downloading photo current cannot quick-downloading picture, and this just need to be controlled the download work of secondary equipment according to the quantity of secondary equipment and current network condition.According to current network condition and need the number of devices of download pictures to be controlled equipment, make equipment can preferentially download picture to be shown, can more effectively utilize the network bandwidth simultaneously, improve picture speed of download, avoid the situation of network congestion.

The solution of the present invention can be applicable in the scenes such as teaching scene or exhibitions.Taking teaching scene as example, serve as a teacher in the time that picture is changed in main equipment end-grain cutting, picture switching command is sent to server by main equipment, and the mark that comprises photo current in this picture switching command comprises the mark of the picture that teacher switches.In the time that server receives the picture switching command of holding from teacher, according to the picture identification of carrying in picture switching command, determine the not quantity of the secondary equipment of buffer memory photo current, it is the number of devices of the picture of the current switching of buffer memory teacher not yet in multiple student's equipment, monitor current network flow value simultaneously, according to the not number of devices of buffer memory photo current and current network flow value, control not student's device downloads photo current of buffer memory photo current.

In step S103, according to quantity and current network flow value, control the first secondary device downloads photo current.Wherein, the quantity of the first secondary equipment and the first predetermined number and the second predetermined number are compared, determine the quantity interval of the first secondary equipment; Current network flow value and the first predetermined number are compared, and control the first secondary device downloads photo current according to the size of current network flow value.

The first predetermined number and the second predetermined number can be set according to the virtual rating of router, and are adjusted and obtain optimum preset value.For example, the first predetermined number is set as to 5, the second predetermined numbers and is set as 10.The first preset flow value also can be set according to current network condition, for example, the first preset flow value is set as to 500kb.

The following quantity interval being positioned at according to the quantity of the first secondary equipment, is illustrated the process of controlling the first secondary device downloads photo current respectively.

In the time that the quantity of the first secondary equipment is less than the first predetermined number, as shown in Figure 2, comprise the following steps:

Step S201, reception carrys out the picture switching command of autonomous device, and picture switching command comprises the mark of photo current;

Step S202, determines the not quantity of the first secondary equipment of buffer memory photo current;

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

Step S204, sends to the first secondary equipment by the instruction of downloading photo current.

In the time that the quantity of the first secondary equipment is less than the first predetermined number, do not do other processing, directly the instruction of downloading photo current is sent to the first secondary equipment, the first secondary equipment receives after the instruction from the download photo current of server, starts to download photo current and shows.

In the time that the quantity of the first secondary equipment is equal to or greater than the first predetermined number and is less than the second predetermined number, as shown in Figure 3, comprise the following steps:

Step S301, reception carrys out the picture switching command of autonomous device, and picture switching command comprises the mark of photo current;

Step S302, determines the not quantity of the first secondary equipment of buffer memory photo current;

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

Step S304, judges whether current network flow value is less than the first preset flow value; If current network flow value is less than the first preset flow value, perform step S305; If current network flow value is not less than the first preset flow value, perform step S306;

Step S305, sends to the first secondary equipment by the instruction of downloading photo current;

Step S306, sends to by suspending download instruction the second secondary equipment of downloading other picture, and the instruction of downloading photo current is sent to the first secondary equipment.

In step S306, in the time that current network flow value is equal to or greater than the first preset flow value, server sends to by suspending download instruction the second secondary equipment of downloading other picture, the second secondary equipment receives and suspends after download instruction, suspend the download action of other uncorrelated picture, meanwhile, the instruction of downloading photo current is sent to the first secondary equipment by server, the first secondary equipment receives after the instruction of downloading photo current, starts to download photo current and shows.Like this, the download action of other uncorrelated picture all stops, and preferential download treated exhibiting pictures, makes the download for the treatment of exhibiting pictures take current network bandwidth, improves the speed of download of picture.

After step S306, the first secondary equipment is downloaded in the process of photo current according to the instruction of downloading photo current, in the time that the time that current network flow value is less than the first preset flow value exceedes Preset Time, recovery download instruction is sent to the second secondary equipment.Wherein, Preset Time can according to circumstances be set, for example 2 seconds.That is: in the process of the first secondary device downloads photo current, when current network flow value continuous 2 seconds are during lower than the first preset flow value, server sends to recovery download instruction the second secondary equipment.The second secondary equipment receives and recovers, after download instruction, can recover the download action to other picture of previously having suspended.

In the time that the quantity of the first secondary equipment is equal to or greater than the second predetermined number, as shown in Figure 4, comprise the following steps:

Step S401, reception carrys out the picture switching command of autonomous device, and picture switching command comprises the mark of photo current;

Step S402, determines the not quantity of the first secondary equipment of buffer memory photo current;

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

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

Step S405, judges whether current network flow value is less than described the second preset flow value; If current network flow value is less than the second preset flow value, perform step S406; If current network flow value is not less than the second preset flow value, perform step S407;

Step S406, sends to the first secondary equipment by the instruction of downloading photo current;

Step S407, sends to by suspending download instruction the second secondary equipment of downloading other picture, and the instruction of downloading photo current is sent to the first secondary equipment.

In step S404, the first preset flow value is increased to the second preset flow value, the numerical value of increase is determined according to the actual conditions of the network bandwidth.

In step S407, in the time that current network flow value is equal to or greater than the second preset flow value, server sends to by suspending download instruction the second secondary equipment of downloading other picture, the second secondary equipment receives and suspends after download instruction, suspend the download action of other uncorrelated picture, meanwhile, the instruction of downloading photo current is sent to the first secondary equipment by server, the first secondary equipment receives after the instruction of downloading photo current, starts to download photo current and shows.Like this, the download action of other uncorrelated picture all stops, and preferential download treated exhibiting pictures, makes the download for the treatment of exhibiting pictures take current network bandwidth, improves the speed of download of picture.

After step S407, download in the process of photo current according to the instruction of downloading photo current at the first secondary equipment, in the time that the time that current network flow value is less than the first preset flow value exceedes Preset Time, described the second preset flow value is reduced to the first preset flow value.Wherein, Preset Time can according to circumstances be set, for example, be set as for 2 seconds.That is: in the process of the first secondary device downloads photo current, in the time that current network flow value continued for 2 seconds and is less than the first preset flow value, server can be reduced to the first preset flow value by the second preset flow value, reduces preset flow value.

Below by two specific embodiments, picture loading method of the present invention is described.

In one embodiment, taking the scene of imparting knowledge to students as example, student's equipment end is just when the picture in buffer memory picture bag, and teacher's equipment switches to a wherein pictures A, and now, student's equipment of buffer memory picture A does not have 8.As shown in Figure 5, comprise the following steps:

Step S501, teacher's end switches to picture A, and the switching command of picture A is sent to server;

Step S502, server receives the switching command of picture A, determines that student's number of devices of buffer memory picture A is not 8;

Step S503, judges that student's number of devices of buffer memory picture A is not greater than the first predetermined number and is less than the second predetermined number; In this embodiment, the first predetermined number is set as 5, the second predetermined numbers and is set as 10;

Step S504, server judges whether current network flow value is less than 500kb; In this embodiment, the first preset flow value is set as 500kb; If current network flow value is less than 500kb, perform step S505; If current network flow value is not less than 500kb, perform step S506;

Step S505, the instruction of download pictures A is sent to not student's equipment of buffer memory picture A by server;

Step S506, server sends to by suspending download instruction student's equipment of downloading other picture, and the instruction of download pictures A is sent to not student's equipment of buffer memory picture A;

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

In another embodiment, still, taking teaching scene as example, student's equipment end is just when the picture in buffer memory picture bag, and teacher's equipment switches to a wherein pictures B, and now, student's equipment of buffer memory picture B does not have 12.As shown in Figure 6, comprise the following steps:

Step S601, teacher's end switches to picture B, and the switching command of picture B is sent to server;

Step S602, server receives the switching command of picture B, determines that student's number of devices of buffer memory picture B is not 12;

Step S603, judges that student's number of devices of buffer memory picture B is not greater than the second predetermined number; In this embodiment, the first predetermined number is set as 5, the second predetermined numbers and is set as 10;

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

Step S605, judges whether current network flow value is 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, perform step S607;

Step S606, the instruction of download pictures B is sent to not student's equipment of buffer memory picture B by server;

Step S607, server sends to by suspending download instruction student's equipment of downloading other picture, and the instruction of download pictures B is sent to not student's equipment of buffer memory picture B;

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

Step S609, in the time that the time that current network flow value is less than 500kb exceeded for 2 second, server is reduced to 500kb by preset flow value from 800kb.

The present invention also provides a kind of picture charger, as shown in Figure 7, comprising:

Receiver module 71, for receiving the picture switching command of autonomous device, picture switching command comprises the mark of photo current;

Determination module 72, for determining the not quantity of the first secondary equipment of buffer memory photo current;

Control module 73, for according to the quantity of the first secondary equipment and current network flow value, controls the first secondary device downloads photo current.

Wherein, as shown in Figure 8, control module 73 comprises:

The first judging unit 731, the quantity that obtains the first secondary equipment for judging is less than the first predetermined number; For judging that the quantity of the first secondary equipment that obtains is equal to or greater than the first predetermined number and is less than the second predetermined number; For judging that the quantity of the first secondary equipment that obtains is equal to or greater than the second predetermined number;

Transmitting element 732, for sending to the download instruction of photo current the first secondary equipment; For in the time that current network flow value is less than the first preset flow value, the instruction of downloading photo current is sent to the first secondary equipment; For in the time that current network flow value is equal to or greater than the first preset flow value, send to by suspending download instruction the second secondary equipment of downloading other picture, the instruction of downloading photo current is sent to the first secondary equipment; For downloading the process of photo current at the first secondary equipment according to the instruction of downloading photo current, in the time that the time that current network flow value is less than the first preset flow value exceedes Preset Time, recovery download instruction is sent to the second secondary equipment; For in the time that current network flow value is less than the second preset flow value, the instruction of downloading photo current is sent to the first secondary equipment; For in the time that current network flow value is equal to or greater than the second preset flow value, send to by suspending download instruction the second secondary equipment of downloading other picture, the instruction of downloading photo current is sent to the first secondary equipment;

The second judging unit 733, for judging whether current network flow value is less than preset flow value; Be used for judging whether current network flow value is less than the second preset flow value;

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

Reduction unit 735, for download the process of photo current according to the instruction of downloading photo current at the first secondary equipment, in the time that the time that current network flow value is less than the first preset flow value exceedes Preset Time, the second preset flow value is reduced to the first preset flow value.

The solution of the present invention can be applicable in the scenes such as teaching scene or exhibitions.In the time that picture is changed in main equipment end-grain cutting, picture switching command is sent to server by main equipment, the mark that comprises photo current in this picture switching command.First the receiver module 71 of server receives the picture switching command that carrys out autonomous device, secondly, according to the picture identification of carrying in picture switching command, determine the not quantity of the secondary equipment of buffer memory photo current by determination module 72, finally, according to the not secondary number of devices of buffer memory photo current and current network flow value, control the not secondary device downloads photo current of buffer memory photo current by control module 73.

Adopt technical scheme of the present invention, according to current network condition and need the number of devices of download pictures to be controlled equipment, make equipment can preferentially download picture to be shown, can more effectively utilize the network bandwidth simultaneously, improve picture speed of download, avoid the situation of network congestion.

Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) that wherein include computer usable program code.

The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computing machine or other programmable data processing device produces the device for realizing the function of specifying at flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.

These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.

These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame on computing machine or other programmable devices.

Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (16)

1. a picture loading method, is characterized in that, comprising:
The picture switching command that receives autonomous device, described picture switching command comprises the mark of photo current;
Determine the not quantity of the first secondary equipment of buffer memory photo current;
According to described quantity and current network flow value, control photo current described in described the first secondary device downloads.
2. method according to claim 1, is characterized in that, described according to described quantity and current network flow value, controls photo current described in described the first secondary device downloads, comprising:
Judgement obtains described quantity and is less than the first predetermined number;
The instruction of downloading photo current is sent to described the first secondary equipment.
3. method according to claim 2, is characterized in that, described according to described quantity and current network flow value, controls photo current described in described the first secondary device downloads, also comprises:
Judgement obtains described quantity and is equal to or greater than the first predetermined number and is less than the second predetermined number;
Judge whether current network flow value is less than the first preset flow value;
In the time that current network flow value is less than the first preset flow value, the instruction of downloading photo current is sent to described the first secondary equipment.
4. method according to claim 3, is characterized in that, described judge whether current network flow value is less than the first preset flow value after, also comprise:
In the time that current network flow value is equal to or greater than the first preset flow value, send to by suspending download instruction the second secondary equipment of downloading other picture, the instruction of downloading photo current is sent to described the first secondary equipment.
5. method according to claim 4, is characterized in that, describedly sends to by suspending download instruction the second secondary equipment of downloading other picture, will download after the instruction of photo current sends to described the first secondary equipment, also comprises:
Download according to the instruction of described download photo current at described the first secondary equipment in the process of photo current, in the time that the time that current network flow value is less than the first preset flow value exceedes Preset Time, recovery download instruction is sent to described the second secondary equipment.
6. method according to claim 3, is characterized in that, described according to described quantity and current network flow value, controls photo current described in described the first secondary device downloads, also comprises:
Judgement obtains described quantity and is equal to or greater than described the second predetermined number;
Increase described the first preset flow value, obtain the second preset flow value;
Judge whether current network flow value is less than described the second preset flow value;
In the time that current network flow value is less than described the second preset flow value, the instruction of downloading photo current is sent to described the first secondary equipment.
7. method according to claim 6, is characterized in that, described judge whether current network flow value is less than described the second preset flow value after, also comprise:
In the time that current network flow value is equal to or greater than described the second preset flow value, send to by suspending download instruction the second secondary equipment of downloading other picture, the instruction of downloading photo current is sent to described the first secondary equipment.
8. method according to claim 7, is characterized in that, describedly sends to by suspending download instruction the second secondary equipment of downloading other picture, will download after the instruction of photo current sends to described the first secondary equipment, also comprises:
Download according to the instruction of described download photo current in the process of photo current at described the first secondary equipment, in the time that the time that current network flow value is less than described the first preset flow value exceedes Preset Time, described the second preset flow value is reduced to described the first preset flow value.
9. a picture charger, is characterized in that, comprising:
Receiver module, for receiving the picture switching command of autonomous device, described picture switching command comprises the mark of photo current;
Determination module, for determining the not quantity of the first secondary equipment of buffer memory photo current;
Control module, for according to described quantity and current network flow value, controls photo current described in described the first secondary device downloads.
10. device according to claim 9, is characterized in that, described control module comprises:
The first judging unit, obtains described quantity for judgement and is less than the first predetermined number;
Transmitting element, for sending to the download instruction of described photo current described the first secondary equipment.
11. devices according to claim 10, is characterized in that, described control module also comprises the second judging unit;
Described the first judging unit, also obtains described quantity for judgement and is equal to or greater than the first predetermined number and is less than the second predetermined number;
Described the second judging unit, for judging whether current network flow value is less than preset flow value;
Described transmitting element, also in the time that current network flow value is less than the first preset flow value, sends to described the first secondary equipment by the instruction of downloading photo current.
12. devices according to claim 11, it is characterized in that, described transmitting element, also in the time that current network flow value is equal to or greater than the first preset flow value, send to by suspending download instruction the second secondary equipment of downloading other picture, the instruction of downloading photo current is sent to described the first secondary equipment.
13. devices according to claim 12, it is characterized in that, described transmitting element, also for download the process of photo current according to the instruction of described download photo current at described the first secondary equipment, in the time that the time that current network flow value is less than the first preset flow value exceedes Preset Time, recovery download instruction is sent to described the second secondary equipment.
14. devices according to claim 11, is characterized in that, described control module also comprises increase unit;
Described the first judging unit, also obtains described quantity for judgement and is equal to or greater than described the second predetermined number;
Described increase unit, for increasing described the first preset flow value, obtains the second preset flow value;
Described the second judging unit, also for judging whether current network flow value is less than described the second preset flow value;
Described transmitting element, also in the time that current network flow value is less than described the second preset flow value, sends to described the first secondary equipment by the instruction of downloading photo current.
15. devices according to claim 14, it is characterized in that, described transmitting element, also in the time that current network flow value is equal to or greater than described the second preset flow value, send to by suspending download instruction the second secondary equipment of downloading other picture, the instruction of downloading photo current is sent to described the first secondary equipment.
16. devices according to claim 15, is characterized in that, described control module also comprises:
Reduction unit, for download the process of photo current according to the instruction of described download photo current at described the first secondary equipment, in the time that the time that current network flow value is less than described the first preset flow value exceedes Preset Time, described the second preset flow value is reduced to described the 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 true CN104090809A (en) 2014-10-08
CN104090809B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959159A (en) * 2016-06-30 2016-09-21 天脉聚源(北京)传媒科技有限公司 Network downloading method and device
CN105989039A (en) * 2015-02-04 2016-10-05 腾讯科技(深圳)有限公司 Picture processing method and device in mobile terminal
CN106250136A (en) * 2016-07-27 2016-12-21 广东欧珀移动通信有限公司 A kind of screen locking magazine player method and mobile terminal
CN106254651A (en) * 2016-08-03 2016-12-21 广东欧珀移动通信有限公司 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

Cited By (5)

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

Also Published As

Publication number Publication date
CN104090809B (en) 2017-07-07

Similar Documents

Publication Publication Date Title
FI115802B (en) Refresh the photo frames on the memory display
US20150382279A1 (en) Method and system for parallel transmission of plural types of wireless links
CN103956792A (en) Method and device for controlling charging temperature rise of mobile terminal
JP6488369B2 (en) USB Type C-MHL Charging out of battery with M1 M1
EP0964550A3 (en) Method and apparatus for providing a network interface
US8087053B2 (en) System and method for transmitting an animated figure
CN102938923B (en) A kind of WAP sort method based on mobile terminal and mobile terminal thereof
CN104363638B (en) router signal intensity adjusting method and device
US20050279835A1 (en) Method and system for executing document scanning jobs that are intended for a romote work station through using a wireless interconnection between the work station and a scanner facility
CN102215041B (en) The data associated with touch-screen send intelligent tool and data receiver intelligent tool
CN105850199B (en) For managing the method and system of wireless network
US6961144B2 (en) Image data transmission device and method, computer-readable storage medium storing program for transmitting image data, and image data transmission and reception system and method
JP2005167965A (en) Packet processing method and apparatus
TW201703485A (en) Methods and systems for orchestrating physical and virtual switches to enforce security boundaries
CN102473117B (en) Apparatus and method for memory management and efficient data processing
CN104244033B (en) Video broadcasting method and device, intelligent terminal
CN104391890B (en) picture loading method and system
CN102377588B (en) Network transmission control method and system
CN104184947A (en) Remote photographing focusing method and system
CN103024200B (en) Be applied to image pickup method and the filming apparatus of intelligent terminal
US20120122573A1 (en) Apparatus and method for synchronizing virtual machine
CN103701918A (en) Method and device for synchronizing client-side and server
CN101615141A (en) Application program dispatching method and application program dispatching module
CN103856793B (en) Media content buffers
CN103558959A (en) Window displaying method and device applied to Android platform

Legal Events

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