CN103634556B - Information transmission method, information receiving method and electronic apparatus - Google Patents
Information transmission method, information receiving method and electronic apparatus Download PDFInfo
- Publication number
- CN103634556B CN103634556B CN201210308944.6A CN201210308944A CN103634556B CN 103634556 B CN103634556 B CN 103634556B CN 201210308944 A CN201210308944 A CN 201210308944A CN 103634556 B CN103634556 B CN 103634556B
- Authority
- CN
- China
- Prior art keywords
- image information
- frame
- priority
- electronic device
- comparison result
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 80
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000006835 compression Effects 0.000 claims description 48
- 238000007906 compression Methods 0.000 claims description 48
- 210000000697 sensory organ Anatomy 0.000 claims description 11
- 238000000638 solvent extraction Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 7
- 230000008921 facial expression Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses an information transmission method used for improving network transmission quality. The information transmission method comprises the following steps that: when a first frame of image information is needed to be transmitted, the first frame of image information is respectively compared with at least one frame of image information which has been transmitted before according to a preset priority, such that one comparison result is generated; when the comparison result indicates that first image information contained in the first frame of image information is inconsistent with corresponding image information contained in the least one frame of image information, a first transmission instruction is generated; and the first transmission instruction is executed, and at least the first image information is transmitted to a second electronic apparatus. The invention also discloses an information receiving method and an electronic apparatus.
Description
Technical Field
The present invention relates to the field of communications and image processing, and in particular, to an information transmission method, an information reception method, and an electronic device.
Background
With the rapid increase of network bandwidth and the development and popularization of hardware devices, the market of video calls also enters the developing express way. Video calls generally refer to a communication method of transmitting human voice and images (a user's bust, a photograph, an article, etc.) in real time between mobile phones based on the internet and a mobile internet (3G internet) terminal.
At present, in the wireless video call process, the processing capacity of a terminal processor is stronger, and the key bottleneck lies in a wireless transmission channel. At present, the wireless bandwidth actually available to a single user is very limited, and the insufficient transmission bandwidth may result in a slow transmission speed, and may even cause problems such as packet loss and network congestion.
Therefore, under the condition of limited bandwidth at present, how to realize smooth video call quality is a technical problem which needs to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides an information transmission and receiving method and electronic equipment, which are used for solving the technical problem of low network transmission quality in the prior art and achieving the technical effect of improving the network transmission quality.
An information transmission method is applied to a first electronic device, and comprises the following steps:
when first frame image information needs to be transmitted, comparing the first frame image information with at least one frame image information transmitted previously according to a preset priority level to generate a comparison result;
when the comparison result shows that the first image information contained in the first frame of image information is inconsistent with the corresponding image information contained in the at least one frame of image information, generating a first transmission instruction;
and executing the first transmission instruction, and at least transmitting the first image information to a second electronic device.
Preferably, when the first frame of image information needs to be transmitted, the method further includes the following steps before comparing the first frame of image information with at least one frame of image information transmitted before according to a preset priority level to generate a comparison result: controlling the first electronic device to enter the first mode.
Preferably, before controlling the first electronic device to enter the first mode, the method further includes: judging the current network quality according to the current network quality value;
the step of controlling the electronic device to enter the first mode comprises: and when the judgment result shows that the current network quality value is smaller than a preset network quality threshold value, controlling the electronic equipment to enter the first mode.
Preferably, before comparing the first frame of image information with at least one frame of image information transmitted before according to a preset priority, the method further includes the following steps: dividing an area included in one frame of image information into at least two priority levels according to the importance degree;
the step of comparing the first frame of image information with at least one frame of image information transmitted before according to the preset priority comprises the following steps: and comparing the region included in the first frame of image information with the corresponding region in the at least one frame of image information sent before in sequence from high to low according to the priority.
Preferably, the step of dividing the region included in the first frame of image information into at least two priority levels according to the degree of importance includes: according to the order of the importance degree from high to low, five sense organs of a person are divided into a first priority, the area of the face of the person except the five sense organs is divided into a second priority, limbs of the person are divided into a third priority, and the background environment is divided into a fourth priority.
Preferably, the step of comparing the first frame of image information with at least one frame of image information transmitted before according to a preset priority to generate a comparison result includes:
comparing the first image information contained in a first area corresponding to a first priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively, and judging whether the first image information and the corresponding image information are consistent; when the first frame of image information and the second frame of image information are judged to be consistent, continuously comparing the first image information contained in a second area corresponding to a second priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively; when the comparison result is judged to be inconsistent, generating the comparison result; or
And comparing the first image information contained in each region corresponding to each priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively to generate the comparison result.
Preferably, when the percentage value of the changed pixel points in a region to all the pixel points included in the region is not less than the preset percentage value, it is determined that the image information included in the region is inconsistent.
Preferably, the step of executing the first transmission instruction to transmit at least the first image information included in the first frame of image information to a second electronic device includes: and executing the first transmission instruction, compressing the first image information according to a compression ratio corresponding to the first image information, and transmitting the compressed first image information to the second electronic equipment.
An information receiving method is applied to a second electronic device and comprises the following steps:
receiving first image information in first frame image information;
and obtaining second frame image information according to the first image information and at least one frame of image information received before.
Preferably, the step of obtaining the third frame of image information according to the first image information and the at least one frame of image information received before comprises: and fusing the first image information with at least one frame of image information received before to obtain the second frame of image information.
Preferably, the step of fusing the first image information with at least one frame of image information received before includes: and replacing the image information in the corresponding area in the at least one frame of image information by the first image information to obtain the second frame of image information.
An electronic device, the electronic device comprising:
the comparison module is used for comparing the first frame of image information with at least one frame of image information transmitted before according to a preset priority when the first frame of image information needs to be transmitted, so as to generate a comparison result;
a generating module, configured to generate a first transmission instruction when the comparison result indicates that first image information included in the first frame of image information is inconsistent with corresponding image information included in the at least one frame of image information;
and the execution module is used for executing the first transmission instruction and at least transmitting the first image information to a second electronic device.
Preferably, the electronic device further includes a control module, configured to control the first electronic device to enter the first mode.
Preferably, the electronic device further includes: the judging module is used for judging the current network quality according to the current network quality value;
the control module is specifically configured to: and when the judgment result shows that the current network quality value is smaller than a preset network quality threshold value, controlling the electronic equipment to enter the first mode.
Preferably, the electronic device further includes: the dividing module is used for dividing the area included in the frame of image information into at least two priority levels according to the importance degree;
the comparison module is specifically configured to: and comparing the region included in the first frame of image information with the corresponding region in the at least one frame of image information sent before in sequence from high to low according to the priority.
Preferably, the dividing module is specifically configured to: according to the order of the importance degree from high to low, five sense organs of a person are divided into a first priority, the area of the face of the person except the five sense organs is divided into a second priority, limbs of the person are divided into a third priority, and the background environment is divided into a fourth priority.
Preferably, the comparison module is specifically configured to:
comparing the first image information contained in the region corresponding to the high priority in the first frame of image information with the corresponding image information contained in the at least one frame of image information respectively, and judging whether the first image information and the corresponding image information are consistent; when the two are judged to be consistent, continuously comparing the first image information contained in the area corresponding to the area which is lower than the high priority by one priority in the first frame of image information with the corresponding image information contained in the at least one frame of image information; when the comparison result is judged to be inconsistent, generating the comparison result; or
And comparing the first image information contained in each region corresponding to each priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively to generate the comparison result.
Preferably, the comparison module is specifically configured to: when the percentage value of the changed pixel points in a region in all the pixel points included in the region is not less than the preset percentage value, it is determined that the image information included in the region is inconsistent.
Preferably, the execution module is specifically configured to: and executing the first transmission instruction, compressing the first image information according to a compression ratio corresponding to the first image information, and transmitting the compressed first image information to the second electronic equipment.
An electronic device, the electronic device comprising:
the receiving module is used for receiving first image information in the first frame of image information;
and the acquisition module is used for acquiring second frame image information according to the first image information and at least one frame of image information received before.
Preferably, the obtaining module is specifically configured to: and fusing the first image information with at least one frame of image information received before to obtain the second frame of image information.
Preferably, the obtaining module is specifically configured to: and replacing the image information in the corresponding area in the at least one frame of image information by the first image information to obtain the second frame of image information.
The information transmission method in the embodiment of the invention comprises the following steps: when first frame image information needs to be transmitted, comparing the first frame image information with at least one frame image information transmitted previously according to a preset priority level to generate a comparison result; when the comparison result shows that the first image information contained in the first frame of image information is inconsistent with the corresponding image information contained in the at least one frame of image information, generating a first transmission instruction; and executing the first transmission instruction, and at least transmitting the first image information to a second electronic device. In the embodiment of the invention, the first frame of image information to be transmitted can be compared with at least one frame of image information transmitted before according to the preset priority, and if the first frame of image information contained in the first frame of image information is determined to be inconsistent with the corresponding image information contained in the at least one frame of image information transmitted before by comparison, the first frame of image information can be transmitted to the second electronic device first, that is, only the changed image information can be transmitted, and the image information which is not changed can not be transmitted, so that the required network bandwidth is smaller, the transmission can be carried out more smoothly under the condition that the current network bandwidth is limited, and the transmission quality is improved.
Drawings
Fig. 1 is a main flowchart of an information transmission method according to an embodiment of the present invention;
fig. 2 is a main flowchart of an information receiving method according to an embodiment of the present invention;
FIG. 3 is a main block diagram of a first electronic device according to an embodiment of the present invention;
fig. 4 is a main structural diagram of a second electronic device in the embodiment of the present invention.
Detailed Description
The information transmission method in the embodiment of the invention comprises the following steps: when first frame image information needs to be transmitted, comparing the first frame image information with at least one frame image information transmitted previously according to a preset priority level to generate a comparison result; when the comparison result shows that the first image information contained in the first frame of image information is inconsistent with the corresponding image information contained in the at least one frame of image information, generating a first transmission instruction; and executing the first transmission instruction, and at least transmitting the first image information to a second electronic device. In the embodiment of the invention, the first frame of image information to be transmitted can be compared with at least one frame of image information transmitted before according to the preset priority, and if the first frame of image information contained in the first frame of image information is determined to be inconsistent with the corresponding image information contained in the at least one frame of image information transmitted before by comparison, the first frame of image information can be transmitted to the second electronic device first, that is, only the changed image information can be transmitted, and the image information which is not changed can not be transmitted, so that the required network bandwidth is smaller, the transmission can be carried out more smoothly under the condition that the current network bandwidth is limited, and the transmission quality is improved.
Referring to fig. 1, an information transmission method in an embodiment of the present invention may be applied to a first electronic device. The method mainly comprises the following steps:
step 101: when first frame image information needs to be transmitted, the first frame image information is compared with at least one frame image information transmitted previously according to a preset priority level, and a comparison result is generated.
When the first frame of image information needs to be transmitted, the first frame of image information and at least one frame of image information transmitted before can be respectively compared according to a preset priority.
In the embodiment of the present invention, the first frame of image information may be compared with the previous mth frame of image information transmitted before according to a preset priority, where M is a positive integer; or, the first frame image information and the previous L frame image information transmitted before may be respectively compared according to a preset priority.
In the embodiment of the present invention, before comparing the first frame of image information with at least one frame of image information transmitted before according to the preset priority, the region included in one frame of image information may be divided into at least two priorities according to the importance degree, and then the region included in the first frame of image information and the corresponding region in the at least one frame of image information transmitted before are sequentially compared according to the order from high to low of the priorities.
Preferably, in the embodiment of the present invention, the area included in the image information of one frame may be divided into four priority levels according to the degree of importance. In image transmission during application such as video call, people's change in video is a concern, so in one frame of image information, people's priority is higher than that of background environment. In the present embodiment, the facial expressions of the human may be preset to a first priority, the regions of the human face other than the facial expressions of the human may be preset to a second priority, the limbs of the human may be preset to a third priority, and the background environment may be preset to a fourth priority. Wherein the first priority has the highest importance level and the fourth priority has the lowest importance level.
In the embodiment of the present invention, the step of comparing the first frame of image information with at least one frame of image transmitted before according to the preset priority may specifically be as follows. Or other embodiments of the step are possible, and the invention is not limited to:
comparing the first image information contained in a first area corresponding to a first priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively, and judging whether the first image information and the corresponding image information are consistent; when the first frame of image information and the second frame of image information are judged to be consistent, continuously comparing the first image information contained in a second area corresponding to a second priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively; and when the two are judged to be inconsistent, generating the comparison result.
Namely: firstly, comparing the first image information contained in a first area corresponding to the first priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively, judging whether the first image information and the corresponding image information are consistent, if the first image information and the corresponding image information are judged to be consistent, continuously comparing the first image information contained in a second area corresponding to the second priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively, if the first image information and the corresponding image information are judged to be consistent, continuously comparing the first image information contained in a third area corresponding to the third priority in the first frame of image information with corresponding image information contained in the at least one frame of image information, and comparing in sequence until the comparison result is judged to be inconsistent under a certain priority, the comparison result may be generated, and the comparison result may be used to indicate that the first image information included in the first frame of image information is inconsistent with the corresponding image information included in the at least one frame of image information at a certain priority. Or, if all the priorities are compared, it is determined that the first image information included in the first frame of image information at each priority is consistent with the corresponding image information included in the at least one frame of image information, and the comparison result may also be generated, where the comparison result may be used to indicate that the first image information included in the first frame of image information at each priority is consistent with the corresponding image information included in the at least one frame of image information.
Second, the first image information included in each region corresponding to each priority in the first frame of image information and the corresponding image information included in the at least one frame of image information may be respectively compared to generate the comparison result. That is, the first image information included in the first region corresponding to the first priority in the first frame of image information and the corresponding image information included in the at least one frame of image information may be compared, respectively, to determine whether the first image information and the corresponding image information are consistent, the determination result may be recorded, whether the first image information included in the second region corresponding to the second priority in the first frame of image information and the corresponding image information included in the at least one frame of image information are consistent or not may be determined, respectively, to determine whether the first image information and the corresponding image information are consistent or not may be recorded, and whether the first image information included in the third region corresponding to the third priority in the first frame of image information and the corresponding image information included in the at least one frame of image information are consistent or not may be determined, judging whether the first frame image information and the second frame image information are consistent, recording a judgment result, and continuously comparing the first image information contained in a fourth area corresponding to a fourth priority in the first frame image information with the corresponding image information contained in the at least one frame image information no matter whether the first frame image information and the second frame image information are consistent is judged and determined, and after the comparison is finished in sequence, generating a comparison result which can be used for indicating whether the first image information contained in the first frame image information is consistent with the corresponding image information contained in the at least one frame image information under each priority.
In the embodiment of the present invention, the first frame of image information may be compared with the previous mth frame of image information transmitted before according to a preset priority, where M is a positive integer; or, the first frame image information and the previous L frame image information transmitted before may be respectively compared according to a preset priority.
First, if the first frame image information is compared with the previous mth frame image information transmitted before according to the preset priority, the situation may be as described above. Wherein can be selected from
If the first frame image information is compared with the previous L frame image information transmitted before according to the preset priority, the following conditions may be adopted:
for example, if L is 3, it is assumed that the first frame image information is compared with the previously transmitted previous second frame image information, previous fourth frame image information, and previous fifth frame image information.
For example, when comparing the first frame image information with the second frame image information, the comparison method may be the first comparison method as described above, that is: firstly, comparing the first image information contained in a first area corresponding to the first priority in the first frame of image information with the corresponding image information contained in the previous second frame of image information, judging whether the first image information and the previous second frame of image information are consistent, if the first image information and the previous second frame of image information are consistent, continuously comparing the first image information contained in a second area corresponding to the second priority in the first frame of image information with the corresponding image information contained in the previous second frame of image information, if the first image information and the previous second frame of image information are consistent, continuously comparing the first image information contained in a third area corresponding to the third priority in the first frame of image information with the corresponding image information contained in the previous second frame of image information, and comparing in sequence until the comparison result is determined to be inconsistent under a certain priority, the comparison result may be generated, and the comparison result may be used to indicate that the first image information included in the first frame image information is inconsistent with the corresponding image information included in the previous second frame image information at a certain priority. Or, if all the priorities are compared, it is determined that the first image information included in the first frame image information is consistent with the corresponding image information included in the previous second frame image information at each priority, and the comparison result may also be generated, where the comparison result may be used to indicate that the first image information included in the first frame image information is consistent with the corresponding image information included in the previous second frame image information at each priority.
In this embodiment, a comparison result of comparing the first frame image information with the previous second frame image information may be that the first image information of a second region corresponding to a second priority in the first frame image information is changed.
In this embodiment, when comparing the first frame image information with the previous second frame image information, the comparison method adopted may also be the first comparison method, and in this embodiment, the comparison result of comparing the first frame image information with the previous fourth frame image information may be that the first image information of the first area corresponding to the first priority in the first frame image information is changed.
In this embodiment, when comparing the first frame image information with the fifth frame image information, the comparison method adopted may be the second comparison method as above, that is: the first image information included in each region corresponding to each priority in the first frame of image information and the corresponding image information included in the previous fifth frame of image information may be respectively compared to generate the comparison result. That is, the first image information included in the first region corresponding to the first priority in the first frame of image information may be compared with the corresponding image information included in the previous fifth frame of image information, whether the first image information and the previous fifth frame of image information are consistent or not may be determined, the determination result may be recorded, whether the first image information included in the second region corresponding to the second priority in the first frame of image information is consistent or not may be determined, whether the first image information and the previous fifth frame of image information are consistent or not may be determined, the determination result may be recorded, and whether the first image information included in the third region corresponding to the third priority in the first frame of image information is consistent or not may be determined, the first image information included in the third region corresponding to the third priority in the first frame of image information and the previous fifth frame of image information may be continuously compared, judging whether the first frame image information and the second frame image information are consistent, recording a judgment result, and continuously comparing the first image information contained in a fourth area corresponding to a fourth priority in the first frame image information with corresponding image information contained in the previous fifth frame image information no matter whether the first frame image information and the second frame image information are consistent is judged and determined, so that after the comparison is completed in sequence, the comparison result can be generated, and the comparison result can be used for indicating whether the first image information contained in the first frame image information is consistent with the corresponding image information contained in the previous fifth frame image information under each priority.
In this embodiment, a comparison result of comparing the first frame image information with the previous fifth frame image information may be that the first image information of a third area corresponding to a third priority in the first frame image information and the first image information of a fourth area corresponding to a fourth priority in the first frame image information are both changed, and the first image information of a first area corresponding to a first priority in the first frame image information and the first image information of a second area corresponding to a second priority in the first frame image information are not changed.
In this embodiment, when the first frame image information is compared with the second frame image information, the fourth frame image information, and the fifth frame image information, respectively, the obtained comparison results are different, and the content to be transmitted can be selected according to the comparison results and the priority.
For example, in this embodiment, the comparison result indicates that the content of the area corresponding to the four priorities in the first frame of image information is changed, when transmitting, only the first image information corresponding to the first priority in the first frame of image information may be transmitted, or when transmitting, the first image information corresponding to the first priority in the first frame of image information and the first image information corresponding to the second priority in the first frame of image information may also be transmitted, or when transmitting, the first image information corresponding to the first priority in the first frame of image information, the first image information corresponding to the second priority in the first frame of image information, and the first image information corresponding to the third priority in the first frame of image information may also be transmitted, or when transmitting, the first image information corresponding to the first priority in the first frame of image information may also be transmitted First image information, the first image information corresponding to the second priority in the first frame image information, the first image information corresponding to the third priority in the first frame image information, and the first image information corresponding to the fourth priority in the first frame image information are transmitted. The specific transmission conditions can be set as required.
Or, if a comparison result obtained when comparing the first frame image information with the previous second frame image information is: the first image information in the first region corresponding to the first priority in the first frame image information is changed, and a comparison result obtained when comparing the first frame image information with the previous fourth frame image information is as follows: the first image information in the second region corresponding to the second priority in the first frame image information is changed, and a comparison result obtained when comparing the first frame image information with the previous fourth frame image information is as follows: the first image information in the second area corresponding to the second priority in the first frame image information is changed. According to a general selection rule, since both comparison results indicate that the first image information corresponding to the second priority in the first frame image information is changed, only the first image information in the second area corresponding to the second priority in the first frame image information may be transmitted, but one comparison result also indicates that the first image information in the first area corresponding to the first priority in the first frame image information is changed, and the first priority corresponds to five sense organs of a human being, which are the most concerned content in a video call, so that in order to obtain better video call quality, the first image information in the first area corresponding to the first priority in the first frame image information and the first image information in the second area corresponding to the second priority in the first frame image information may be transmitted together during transmission And (6) inputting. For example, in this case, if two comparison results indicate that the first image information in the second area corresponding to the second priority in the first frame of image information has changed, and one comparison result indicates that the first image information in the third area corresponding to the third priority in the first frame of image information has changed, only the first image information in the second area corresponding to the second priority may be transmitted during transmission.
In this embodiment of the present invention, before performing step 101, the first electronic device may also be controlled to enter the first mode. In this embodiment of the present invention, the first mode may refer to an energy saving mode, and specifically may be a working mode used when the network quality is not good.
In the embodiment of the present invention, the current network quality may be determined according to the current network quality value, and if the determination result indicates that the current network quality value is smaller than the preset network quality threshold, it may be determined that the current network quality is not good, and the first electronic device may be controlled to enter the first mode. The steps shown in fig. 1 are all completed by the first electronic device in the first mode.
Step 102: and generating a first transmission instruction when the comparison result shows that the first image information contained in the first frame of image information is inconsistent with the corresponding image information contained in the at least one frame of image information.
In this embodiment of the present invention, the first transmission instruction may be used to indicate that the first image information is transmitted, and the first image information may correspond to one priority, or the first image information may also correspond to a plurality of priorities.
In the embodiment of the present invention, only a changed portion of one frame of image may be transmitted, if a person is kept still during a video call, a comparison result may be that there is no changed area in the first frame of image information, and then the transmission may not be performed, or if the person leaves during the video call, then the first frame of image information may only include a background environment, and then the background environment included in the first frame of image information may also not be changed, and then the transmission may not be performed, or although the background environment in the first frame of image information is changed, since the background environment belongs to an area corresponding to the fourth priority specified in the embodiment of the present invention, the transmission may also not be performed, so that traffic may be saved.
In the embodiment of the present invention, when the percentage value of the changed pixel points in a region to all the pixel points included in the region is not less than the preset percentage value, it may be determined that the image information included in the region is inconsistent before and after.
For example, when the first region corresponding to the first priority in the first frame of image information is compared with a corresponding region corresponding to the first priority in a previous first frame of image information, if a percentage value of changed pixels in the first region corresponding to the first priority in the first frame of image information to all pixels included in the region is not less than a preset percentage value, it may be determined that the front and back of the first image information included in the first region corresponding to the first priority in the first frame of image information are not consistent, and it may be determined that the first image information included in the first region corresponding to the first priority in the first frame of image information is changed.
Step 103: and executing the first transmission instruction, and at least transmitting the first image information to a second electronic device.
Executing the first transmission instruction may transmit at least the first image information to the second electronic device. In the embodiment of the present invention, the first image information may be image information corresponding to one priority level, or the first image information may be an area corresponding to a plurality of priority levels.
In the embodiment of the invention, only the changed image information can be transmitted, or the unchanged image information can be transmitted, so as to improve the integrity of the transmission content.
In the embodiment of the present invention, when the first image information is transmitted, the first image information may be compressed according to a certain compression ratio and then transmitted to the second electronic device.
In this embodiment of the present invention, each priority may correspond to the same compression ratio, for example, each priority may correspond to a first compression ratio, or different compression ratios may be preset for each priority, for example, the first priority may correspond to a second compression ratio, the second priority may correspond to a third compression ratio, the third priority may correspond to a fourth compression ratio, and the fourth priority may correspond to a fifth compression ratio. Wherein, since the larger the compression ratio is, the more serious the distortion may be, if a different compression ratio is set in advance for each priority, the higher the priority is, the smaller the set compression ratio may be.
When the first image information is transmitted, the first image information may be compressed according to a compression ratio corresponding to the first image information and then transmitted.
First, the first image information corresponds to only one priority.
If each priority corresponds to the first compression ratio, the first image information may be compressed according to the first compression ratio and then transmitted to the second electronic device.
If different compression ratios are preset for each priority, the first image information can be compressed according to the compression ratio corresponding to the first image information and then transmitted to the second electronic equipment. For example, if the first image information corresponds to the second priority, the first image information may be compressed according to the second compression ratio and then transmitted to the second electronic device.
And secondly, the first image information corresponds to different priorities.
If each priority corresponds to the first compression ratio, the first image information may be compressed according to the first compression ratio and then transmitted to the second electronic device.
If different compression ratios are preset for each priority, the first image information can be respectively compressed according to the compression ratio respectively corresponding to each priority and then transmitted to the second electronic equipment. For example, if first sub-image information in the first image information corresponds to the second priority and second sub-image information in the first image information corresponds to the third priority, the first sub-image information may be compressed according to the second compression ratio, the second sub-image information may be compressed according to the third compression ratio, and the compressed first sub-image information and the compressed second sub-image information may be transmitted to the second electronic device.
The information transmission method of the present invention is described below by using several specific embodiments, and the following embodiments describe several possible application scenarios of the information transmission method. It should be noted that the examples in the present invention are only for explaining the present invention, and are not to be construed as limiting the present invention. It is natural to the person skilled in the art how modifications can be made to the inventive concept, insofar as embodiments conforming to the inventive concept are within the scope of the invention.
The first embodiment is as follows:
first, the current network quality is judged according to the current network quality value, if the judgment result shows that the current network quality value is smaller than a preset network quality threshold value, the current network quality can be determined not to be good, and the first electronic device can be controlled to enter the first mode.
In this embodiment, the area included in one frame of image information may be divided into four priorities according to the degree of importance. In image transmission during application such as video call, people's change in video is a concern, so in one frame of image information, people's priority is higher than that of background environment. In the present embodiment, the facial expressions of the human may be preset to a first priority, the regions of the human face other than the facial expressions of the human may be preset to a second priority, the limbs of the human may be preset to a third priority, and the background environment may be preset to a fourth priority. Wherein the first priority has the highest importance level and the fourth priority has the lowest importance level.
When first frame image information needs to be transmitted, the first frame image information is compared with at least one frame image information transmitted previously according to a preset priority level, and a comparison result is generated.
In this embodiment, the first frame image information is compared with the previous mth frame image information transmitted before according to a preset priority, where M is 2 in this embodiment, that is, the first frame image information is compared with the previous second frame image information transmitted before according to the preset priority.
In this embodiment, the step of comparing the first frame of image information with the previously transmitted second frame of image information according to a preset priority includes: firstly, comparing the first image information contained in the first region corresponding to the first priority in the first frame of image information with the corresponding image information contained in the previous second frame of image information, judging whether the first image information and the previous second frame of image information are consistent, if so, continuously comparing the first image information contained in the second region corresponding to the second priority in the first frame of image information with the corresponding image information contained in the previous second frame of image information, if so, continuously comparing the first image information contained in the third region corresponding to the third priority in the first frame of image information with the corresponding image information contained in the previous second frame of image information, and thus, sequentially comparing until the comparison result is determined to be inconsistent under a certain priority, the comparison result may be generated, and the comparison result may be used to indicate that the first image information included in the first frame image information is inconsistent with the corresponding image information included in the previous second frame image information at a certain priority. Or, if all the priorities are compared, it is determined that the first image information included in the first frame image information is consistent with the corresponding image information included in the previous second frame image information at each priority, and the comparison result may also be generated, where the comparison result may be used to indicate that the first image information included in the first frame image information is consistent with the corresponding image information included in the previous second frame image information at each priority.
In the embodiment of the present invention, when the percentage value of the changed pixel points in a region to all the pixel points included in the region is not less than the preset percentage value, it may be determined that the image information included in the region is inconsistent before and after.
For example, when the first region corresponding to the first priority in the first frame of image information is compared with a corresponding region corresponding to the first priority in a previous first frame of image information, if a percentage value of changed pixels in the first region corresponding to the first priority in the first frame of image information to all pixels included in the region is not less than a preset percentage value, it may be determined that the front and back of the first image information included in the first region corresponding to the first priority in the first frame of image information are not consistent, and it may be determined that the first image information included in the first region corresponding to the first priority in the first frame of image information is changed.
In this embodiment, the comparison result indicates that the first image information corresponding to the first priority in the first frame of image information and the first image information corresponding to the second priority in the first frame of image information have changed. In the embodiment of the invention, only the changed image information can be transmitted.
The first electronic device generates a first transmission instruction.
In this embodiment, different compression ratios may be preset for each priority, for example, the first priority may correspond to a second compression ratio, the second priority may correspond to a third compression ratio, the third priority may correspond to a fourth compression ratio, and the fourth priority may correspond to a fifth compression ratio. Wherein, since the larger the compression ratio is, the more serious the distortion may be, if a different compression ratio is set in advance for each priority, the higher the priority is, the smaller the set compression ratio may be.
The first electronic device executes the first transmission instruction, compresses the first image information corresponding to the first priority in the first frame image information according to the second compression ratio, compresses the first image information corresponding to the second priority in the first frame image information according to the third compression ratio, and transmits the compressed first image information to the second electronic device.
Example two:
first, the current network quality is judged according to the current network quality value, if the judgment result shows that the current network quality value is smaller than a preset network quality threshold value, the current network quality can be determined not to be good, and the first electronic device can be controlled to enter the first mode.
In this embodiment, the area included in one frame of image information may be divided into four priorities according to the degree of importance. In image transmission during application such as video call, people's change in video is a concern, so in one frame of image information, people's priority is higher than that of background environment. In the present embodiment, the facial expressions of the human may be preset to a first priority, the regions of the human face other than the facial expressions of the human may be preset to a second priority, the limbs of the human may be preset to a third priority, and the background environment may be preset to a fourth priority. Wherein the first priority has the highest importance level and the fourth priority has the lowest importance level.
When first frame image information needs to be transmitted, the first frame image information is compared with at least one frame image information transmitted previously according to a preset priority level, and a comparison result is generated.
In this embodiment, the first frame image information and the previous L frame image information transmitted before may be respectively compared according to a preset priority, where L is 3 in this embodiment. In this embodiment, the first frame image information is compared with the previously transmitted second frame image information, the previously transmitted fourth frame image information, and the previously transmitted fifth frame image information according to a preset priority.
In the embodiment of the present invention, when the percentage value of the changed pixel points in a region to all the pixel points included in the region is not less than the preset percentage value, it may be determined that the image information included in the region is inconsistent before and after.
For example, when the first region corresponding to the first priority in the first frame of image information is compared with a corresponding region corresponding to the first priority in a previous first frame of image information, if a percentage value of changed pixels in the first region corresponding to the first priority in the first frame of image information to all pixels included in the region is not less than a preset percentage value, it may be determined that the front and back of the first image information included in the first region corresponding to the first priority in the first frame of image information are not consistent, and it may be determined that the first image information included in the first region corresponding to the first priority in the first frame of image information is changed.
In this embodiment, the step of comparing the first frame of image information with the previously transmitted second frame of image information according to a preset priority includes: firstly, comparing the first image information contained in a first area corresponding to the first priority in the first frame of image information with the corresponding image information contained in the previous second frame of image information, judging whether the first image information and the previous second frame of image information are consistent, if the first image information and the previous second frame of image information are consistent, continuously comparing the first image information contained in a second area corresponding to the second priority in the first frame of image information with the corresponding image information contained in the previous second frame of image information, if the first image information and the previous second frame of image information are consistent, continuously comparing the first image information contained in a third area corresponding to the third priority in the first frame of image information with the corresponding image information contained in the previous second frame of image information, and comparing in sequence until the comparison result is determined to be inconsistent under a certain priority, the comparison result may be generated, and the comparison result may be used to indicate that the first image information included in the first frame image information is inconsistent with the corresponding image information included in the previous second frame image information at a certain priority. Or, if all the priorities are compared, it is determined that the first image information included in the first frame image information is consistent with the corresponding image information included in the previous second frame image information at each priority, and the comparison result may also be generated, where the comparison result may be used to indicate that the first image information included in the first frame image information is consistent with the corresponding image information included in the previous second frame image information at each priority.
In this embodiment, a comparison result of comparing the first frame image information with the previous second frame image information may be that the first image information of a second region corresponding to a second priority in the first frame image information is changed.
In this embodiment, the step of comparing the first frame of image information with the previously transmitted fourth frame of image information according to a preset priority includes: firstly, comparing the first image information contained in the first region corresponding to the first priority in the first frame of image information with the corresponding image information contained in the previous fourth frame of image information, judging whether the first image information and the previous fourth frame of image information are consistent, if so, continuously comparing the first image information contained in the second region corresponding to the second priority in the first frame of image information with the corresponding image information contained in the previous fourth frame of image information, if so, continuously comparing the first image information contained in the third region corresponding to the third priority in the first frame of image information with the corresponding image information contained in the previous fourth frame of image information, and thus, sequentially comparing until the comparison result is determined to be inconsistent under a certain priority, the comparison result may be generated, and the comparison result may be used to indicate that the first image information included in the first frame of image information is inconsistent with the corresponding image information included in the fourth frame of image information at a certain priority. Or, if all the priorities are compared, it is determined that the first image information included in the first frame image information is consistent with the corresponding image information included in the fourth frame image information at each priority, and the comparison result may also be generated, where the comparison result may be used to indicate that the first image information included in the first frame image information is consistent with the corresponding image information included in the fourth frame image information at each priority.
In this embodiment, a comparison result of comparing the first frame of image information with the fourth frame of image information may be that the first image information of a first area corresponding to a first priority in the first frame of image information is changed.
In this embodiment, when comparing the first frame of image information with the fifth frame of image information, the adopted comparison method may be: the first image information included in each region corresponding to each priority in the first frame of image information and the corresponding image information included in the previous fifth frame of image information may be respectively compared to generate the comparison result. That is, the first image information included in the first region corresponding to the first priority in the first frame of image information may be compared with the corresponding image information included in the previous fifth frame of image information, whether the first image information and the previous fifth frame of image information are consistent or not may be determined, the determination result may be recorded, whether the first image information included in the second region corresponding to the second priority in the first frame of image information is consistent or not may be determined, whether the first image information and the previous fifth frame of image information are consistent or not may be determined, the determination result may be recorded, and whether the first image information included in the third region corresponding to the third priority in the first frame of image information is consistent or not may be determined, the first image information included in the third region corresponding to the third priority in the first frame of image information and the previous fifth frame of image information may be continuously compared, judging whether the first frame image information and the second frame image information are consistent, recording a judgment result, and continuously comparing the first image information contained in a fourth area corresponding to a fourth priority in the first frame image information with corresponding image information contained in the previous fifth frame image information no matter whether the first frame image information and the second frame image information are consistent is judged and determined, so that after the comparison is completed in sequence, the comparison result can be generated, and the comparison result can be used for indicating whether the first image information contained in the first frame image information is consistent with the corresponding image information contained in the previous fifth frame image information under each priority.
In this embodiment, a comparison result of comparing the first frame image information with the previous fifth frame image information may be that the first image information of a third area corresponding to a third priority in the first frame image information and the first image information of a fourth area corresponding to a fourth priority in the first frame image information are both changed, and the first image information of a first area corresponding to a first priority in the first frame image information and the first image information of a second area corresponding to a second priority in the first frame image information are not changed.
In this embodiment, when the first frame image information is compared with the second frame image information, the fourth frame image information, and the fifth frame image information, respectively, the obtained comparison results are different, and the content to be transmitted can be selected according to the comparison results and the priority.
For example, in this embodiment, the comparison result indicates that the content of the area corresponding to the four priorities in the first frame of image information is changed, when transmitting, only the first image information corresponding to the first priority in the first frame of image information may be transmitted, or when transmitting, the first image information corresponding to the first priority in the first frame of image information and the first image information corresponding to the second priority in the first frame of image information may also be transmitted, or when transmitting, the first image information corresponding to the first priority in the first frame of image information, the first image information corresponding to the second priority in the first frame of image information, and the first image information corresponding to the third priority in the first frame of image information may also be transmitted, or when transmitting, the first image information corresponding to the first priority in the first frame of image information may also be transmitted First image information, the first image information corresponding to the second priority in the first frame image information, the first image information corresponding to the third priority in the first frame image information, and the first image information corresponding to the fourth priority in the first frame image information are transmitted. The specific transmission conditions can be set as required.
In this embodiment, the first image information corresponding to the first priority in the first frame of image information and the first image information corresponding to the second priority in the first frame of image information are selected for transmission.
The first electronic device generates a first transmission instruction.
In this embodiment, different compression ratios may be preset for each priority, for example, the first priority may correspond to a second compression ratio, the second priority may correspond to a third compression ratio, the third priority may correspond to a fourth compression ratio, and the fourth priority may correspond to a fifth compression ratio. Wherein, since the larger the compression ratio is, the more serious the distortion may be, if a different compression ratio is set in advance for each priority, the higher the priority is, the smaller the set compression ratio may be.
The first electronic device executes the first transmission instruction, compresses the first image information corresponding to the first priority in the first frame image information according to the second compression ratio, compresses the first image information corresponding to the second priority in the first frame image information according to the third compression ratio, and transmits the compressed first image information to the second electronic device.
Referring to fig. 2, the present invention further provides an information receiving method, which may be applied to a second electronic device, where the second electronic device may communicate with the first electronic device. The method mainly comprises the following steps:
step 201: first image information in the first frame of image information is received.
In the embodiment of the present invention, the first image information is image information that has been changed in the embodiment shown in fig. 1, and the first electronic device transmits the first image information to the second electronic device.
Step 202: and obtaining second frame image information according to the first image information and at least one frame of image information received before.
The second electronic device may obtain the second frame of image information according to the currently received first image information and the previously received at least one frame of image information. That is, the second electronic device may replace the corresponding area in the previously received frame of image information with the first image information, that is, the changed image information may be obtained.
Specifically, the second electronic device may fuse the first image information with previously received image information of a previous nth frame to obtain the second frame of image information, where N is a positive integer.
For example, the second electronic device may fuse the first image information with the previously received image information of the third frame, that is, the first image information may replace the image information in the corresponding area in the at least one frame of image information, and the second image information is obtained after the replacement.
In the embodiment of the invention, only the changed area is received, and the changed area and the unchanged area are combined to obtain the changed whole frame image information. Therefore, the transmission of the image information is realized, the transmitted data volume is small, the large bandwidth cannot be occupied, normal transmission can be performed even under the condition that the bandwidth is limited, the smoothness of transmission is ensured, and the transmission quality is also improved.
Referring to fig. 3, the present invention provides an electronic device, which may be the first electronic device in fig. 1. The electronic device may include an alignment module 301, a generation module 302, and an execution module 303. The electronic device may also include a control module 304, a partitioning module 305, and a determination module 306.
The comparison module 301 may be configured to, when first frame image information needs to be transmitted, compare the first frame image information with at least one frame image information transmitted before according to a preset priority, and generate a comparison result.
The comparing module 301 may be specifically configured to compare, in order from high to low in priority, regions included in the first frame of image information with corresponding regions in the at least one frame of image information that is sent before, respectively.
The comparing module 301 may be specifically configured to compare the first image information included in the region corresponding to the high priority in the first frame of image information with the corresponding image information included in the at least one frame of image information, and determine whether the first image information and the corresponding image information are consistent; when the two are judged to be consistent, continuously comparing the first image information contained in the area corresponding to the area which is lower than the high priority by one priority in the first frame of image information with the corresponding image information contained in the at least one frame of image information; when the comparison result is judged to be inconsistent, generating the comparison result; or comparing the first image information contained in each region corresponding to each priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively to generate the comparison result.
The comparison module 301 may be specifically configured to determine that the image information included in a region is inconsistent before and after when the percentage value of the changed pixel points in the region to all the pixel points included in the region is not less than the preset percentage value.
The generating module 302 may be configured to generate a first transmission instruction when the comparison result indicates that the first image information included in the first frame of image information is inconsistent with the corresponding image information included in the at least one frame of image information.
The execution module 303 may be configured to execute the first transmission instruction to transmit at least the first image information to a second electronic device.
The execution module 303 may be specifically configured to execute the first transmission instruction, compress the first image information according to a compression ratio corresponding to the first image information, and transmit the compressed first image information to the second electronic device.
The control module 304 may be configured to control the first electronic device to enter the first mode.
The control module 304 may be specifically configured to control the electronic device to enter the first mode when the determination result indicates that the current network quality value is smaller than a preset network quality threshold.
The determination module 306 may be configured to determine the current network quality based on the current network quality value.
The dividing module 305 may be configured to divide the region included in the one frame of image information into at least two priority levels according to the degree of importance.
The dividing module 305 may be specifically configured to divide five sense organs of the person into a first priority, divide an area of the face of the person excluding the five sense organs into a second priority, divide a limb of the person into a third priority, and divide the background environment into a fourth priority, in order from high importance to low importance.
Referring to fig. 4, the present invention also provides an electronic device, which may be the second electronic device in fig. 2. In the embodiment of the present invention, the first electronic device and the second electronic device may be the same electronic device or different electronic devices. The second electronic device may comprise a receiving module 401 and an obtaining module 402.
The receiving module 401 may be configured to receive first image information in first frame image information.
In the embodiment of the present invention, the first image information is image information that has been changed in the embodiment shown in fig. 1, and the first electronic device transmits the first image information to the second electronic device.
The obtaining module 402 may be configured to obtain second frame image information according to the first image information and at least one frame image information received before.
The obtaining module 402 may be specifically configured to fuse the first image information with at least one frame of image information received before, and obtain the second frame of image information.
The obtaining module 402 may be specifically configured to replace the image information in the corresponding area in the at least one frame of image information with the first image information, and obtain the second frame of image information after replacement.
Specifically, the obtaining module 402 may fuse the first image information with the previously received image information of the previous nth frame to obtain the image information of the second frame, where N is a positive integer.
The information transmission method in the embodiment of the invention comprises the following steps: when first frame image information needs to be transmitted, comparing the first frame image information with at least one frame image information transmitted previously according to a preset priority level to generate a comparison result; when the comparison result shows that the first image information contained in the first frame of image information is inconsistent with the corresponding image information contained in the at least one frame of image information, generating a first transmission instruction; and executing the first transmission instruction, and at least transmitting the first image information to a second electronic device. In the embodiment of the invention, the first frame of image information to be transmitted can be compared with at least one frame of image information transmitted before according to the preset priority, and if the first frame of image information contained in the first frame of image information is determined to be inconsistent with the corresponding image information contained in the at least one frame of image information transmitted before by comparison, the first frame of image information can be transmitted to the second electronic device first, that is, only the changed image information can be transmitted, and the image information which is not changed can not be transmitted, so that the required network bandwidth is smaller, the transmission can be carried out more smoothly under the condition that the current network bandwidth is limited, and the transmission quality is improved.
The invention also provides an information receiving method, which comprises the following steps: receiving first image information in first frame image information; and obtaining second frame image information according to the first image information and at least one frame of image information received before. The receiving end can fuse the obtained changed image information with the previously obtained unchanged image information, and the changed image information is used for replacing a corresponding area in the previously obtained image information to obtain the changed image information, so that the changed image information can be obtained, and the transmission data volume is small during transmission, so that the transmission can be normal even under the condition of limited bandwidth, and the quality and the speed of information transmission are ensured.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (14)
1. An information transmission method applied to a first electronic device is characterized by comprising the following steps:
when first frame image information needs to be transmitted, comparing the first frame image information with at least one frame image information transmitted previously according to a preset priority level to generate a comparison result;
when the comparison result shows that the first image information contained in the first frame of image information is inconsistent with the corresponding image information contained in the at least one frame of image information, generating a first transmission instruction;
executing the first transmission instruction, and transmitting at least the first image information to a second electronic device;
wherein,
before comparing the first frame of image information with at least one frame of image information transmitted before according to a preset priority, the method further comprises the following steps: dividing an area included in one frame of image information into at least two priority levels according to the importance degree;
the step of comparing the first frame of image information with at least one frame of image information transmitted before according to the preset priority comprises the following steps: and comparing the region included in the first frame of image information with the corresponding region in the at least one frame of image information sent before in sequence from high to low according to the priority.
2. The method as claimed in claim 1, wherein when the first frame of image information needs to be transmitted, the method compares the first frame of image information with at least one frame of image information transmitted before according to a preset priority, and before generating a comparison result, further comprises the steps of: controlling the first electronic device to enter a first mode.
3. The method of claim 2, further comprising, prior to controlling the first electronic device to enter the first mode, the steps of: judging the current network quality according to the current network quality value;
the step of controlling the electronic device to enter a first mode comprises: and when the judgment result shows that the current network quality value is smaller than a preset network quality threshold value, controlling the electronic equipment to enter the first mode.
4. The method of claim 1, wherein the step of dividing the area included in the first frame of image information into at least two priority levels according to the degree of importance comprises: according to the order of the importance degree from high to low, five sense organs of a person are divided into a first priority, the area of the face of the person except the five sense organs is divided into a second priority, limbs of the person are divided into a third priority, and the background environment is divided into a fourth priority.
5. The method as claimed in claim 1 or 4, wherein the step of comparing the first frame of image information with at least one frame of image information transmitted before according to a preset priority to generate a comparison result comprises:
comparing the first image information contained in a first area corresponding to a first priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively, and judging whether the first image information and the corresponding image information are consistent; when the first frame of image information and the second frame of image information are judged to be consistent, continuously comparing the first image information contained in a second area corresponding to a second priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively; when the comparison result is judged to be inconsistent, generating the comparison result; or
And comparing the first image information contained in each region corresponding to each priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively to generate the comparison result.
6. The method according to claim 5, wherein when the percentage value of the changed pixels in a region to all the pixels included in the region is not less than the preset percentage value, it is determined that the front and back of the image information included in the region are inconsistent.
7. The method of claim 5, wherein executing the first transmission instruction to transmit at least the first image information included in the first frame of image information to a second electronic device comprises: and executing the first transmission instruction, compressing the first image information according to a compression ratio corresponding to the first image information, and transmitting the compressed first image information to the second electronic equipment.
8. An electronic device, characterized in that the electronic device comprises:
the dividing module is used for dividing the area included in the frame of image information into at least two priority levels according to the importance degree;
the comparison module is used for comparing the first frame of image information with at least one frame of image information transmitted before according to a preset priority when the first frame of image information needs to be transmitted, so as to generate a comparison result;
a generating module, configured to generate a first transmission instruction when the comparison result indicates that first image information included in the first frame of image information is inconsistent with corresponding image information included in the at least one frame of image information;
the execution module is used for executing the first transmission instruction and at least transmitting the first image information to a second electronic device;
wherein the comparison module is specifically configured to: and comparing the region included in the first frame of image information with the corresponding region in the at least one frame of image information sent before in sequence from high to low according to the priority.
9. The electronic device of claim 8, further comprising a control module to control the electronic device to enter a first mode.
10. The electronic device of claim 9, wherein the electronic device further comprises: the judging module is used for judging the current network quality according to the current network quality value;
the control module is specifically configured to: and when the judgment result shows that the current network quality value is smaller than a preset network quality threshold value, controlling the electronic equipment to enter the first mode.
11. The electronic device of claim 8, wherein the partitioning module is specifically configured to: according to the order of the importance degree from high to low, five sense organs of a person are divided into a first priority, the area of the face of the person except the five sense organs is divided into a second priority, limbs of the person are divided into a third priority, and the background environment is divided into a fourth priority.
12. The electronic device of claim 8 or 11, wherein the comparison module is specifically configured to:
comparing the first image information contained in the region corresponding to the high priority in the first frame of image information with the corresponding image information contained in the at least one frame of image information respectively, and judging whether the first image information and the corresponding image information are consistent; when the two are judged to be consistent, continuously comparing the first image information contained in the area corresponding to the area which is lower than the high priority by one priority in the first frame of image information with the corresponding image information contained in the at least one frame of image information; when the comparison result is judged to be inconsistent, generating the comparison result; or
And comparing the first image information contained in each region corresponding to each priority in the first frame of image information with corresponding image information contained in the at least one frame of image information respectively to generate the comparison result.
13. The electronic device of claim 12, wherein the comparison module is specifically configured to: when the percentage value of the changed pixel points in a region in all the pixel points included in the region is not less than the preset percentage value, it is determined that the image information included in the region is inconsistent.
14. The electronic device of claim 12, wherein the execution module is specifically configured to: and executing the first transmission instruction, compressing the first image information according to a compression ratio corresponding to the first image information, and transmitting the compressed first image information to the second electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210308944.6A CN103634556B (en) | 2012-08-27 | 2012-08-27 | Information transmission method, information receiving method and electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210308944.6A CN103634556B (en) | 2012-08-27 | 2012-08-27 | Information transmission method, information receiving method and electronic apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103634556A CN103634556A (en) | 2014-03-12 |
CN103634556B true CN103634556B (en) | 2017-04-19 |
Family
ID=50215140
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210308944.6A Active CN103634556B (en) | 2012-08-27 | 2012-08-27 | Information transmission method, information receiving method and electronic apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103634556B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105991999B (en) * | 2015-02-15 | 2019-12-24 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN106375700A (en) * | 2015-07-24 | 2017-02-01 | 中国移动通信集团云南有限公司 | Video transmission method and mobile terminal |
CN106954074B (en) * | 2016-01-07 | 2019-12-20 | 青岛海信电器股份有限公司 | Video data processing method and device |
CN105744275B (en) * | 2016-02-22 | 2019-04-05 | 青岛海信电器股份有限公司 | A kind of input of video data, output method and device |
CN106817410B (en) * | 2016-12-28 | 2020-04-21 | 广州大气候农业科技有限公司 | Image returning method, image storage method, node of Internet of things and server |
CN107426142B (en) * | 2016-12-28 | 2020-04-21 | 广州大气候农业科技有限公司 | Image returning method, image storage method, node of Internet of things and server |
CN112435440B (en) * | 2020-10-30 | 2022-08-09 | 成都蓉众和智能科技有限公司 | Non-contact type indoor personnel falling identification method based on Internet of things platform |
CN112804245B (en) * | 2021-01-26 | 2023-09-26 | 杨文龙 | Data transmission optimization method, device and system suitable for video transmission |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1622618A (en) * | 2004-12-24 | 2005-06-01 | 北京中星微电子有限公司 | A screen broadcasting method |
CN1946144A (en) * | 2006-11-01 | 2007-04-11 | 李博航 | Real time video image transmission technology |
CN102457701A (en) * | 2010-11-02 | 2012-05-16 | 华为终端有限公司 | Image display processing method and device for same |
CN102647590A (en) * | 2012-04-17 | 2012-08-22 | 华为终端有限公司 | Image compression method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1158786A3 (en) * | 2000-05-24 | 2005-03-09 | Sony Corporation | Transmission of the region of interest of an image |
-
2012
- 2012-08-27 CN CN201210308944.6A patent/CN103634556B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1622618A (en) * | 2004-12-24 | 2005-06-01 | 北京中星微电子有限公司 | A screen broadcasting method |
CN1946144A (en) * | 2006-11-01 | 2007-04-11 | 李博航 | Real time video image transmission technology |
CN102457701A (en) * | 2010-11-02 | 2012-05-16 | 华为终端有限公司 | Image display processing method and device for same |
CN102647590A (en) * | 2012-04-17 | 2012-08-22 | 华为终端有限公司 | Image compression method and device |
Also Published As
Publication number | Publication date |
---|---|
CN103634556A (en) | 2014-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103634556B (en) | Information transmission method, information receiving method and electronic apparatus | |
CN102984495A (en) | Video image processing method and device | |
Morín et al. | Toward the distributed implementation of immersive augmented reality architectures on 5G networks | |
CN108881780A (en) | Method, the server of clarity mode are dynamically adjusted in video calling | |
CN106375789B (en) | Medium living broadcast method and apparatus | |
CN106020777B (en) | A kind of data processing method, apparatus and system | |
KR20160021146A (en) | Virtual video call method and terminal | |
CN104704814A (en) | Video bandwidth allocation in a video conference | |
CN102647590A (en) | Image compression method and device | |
CN105049949A (en) | Coding method of instant video and electronic equipment | |
CN111818115B (en) | Processing method, device and system | |
CN106559636A (en) | A kind of video communication method, apparatus and system | |
CN106454348B (en) | A kind of video coding-decoding method and device | |
CN104735389A (en) | Information processing method and equipment | |
CN107197192B (en) | A kind of method and system for face video in compressed video communication | |
CN110855908B (en) | Multi-party video screen mixing method and device, network equipment and storage medium | |
CN109196936A (en) | A kind of resource allocation indicating method and device, base station and terminal | |
CN107027176B (en) | A kind of method and device of scheduling of resource | |
CN104427383A (en) | Information processing method and electronic equipment | |
CN104333765B (en) | A kind of processing method and processing unit of net cast stream | |
CN111327864A (en) | Video call control method and device, terminal equipment and storage medium | |
CN104079860A (en) | Information processing method and electronic equipment | |
CN110990088A (en) | Data processing method and related equipment | |
CN116962179A (en) | Network transmission optimization method and device, computer readable medium and electronic equipment | |
CN109618207B (en) | Video frame processing method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |