CN109559270A - A kind of image processing method and electronic equipment - Google Patents
A kind of image processing method and electronic equipment Download PDFInfo
- Publication number
- CN109559270A CN109559270A CN201811315321.5A CN201811315321A CN109559270A CN 109559270 A CN109559270 A CN 109559270A CN 201811315321 A CN201811315321 A CN 201811315321A CN 109559270 A CN109559270 A CN 109559270A
- Authority
- CN
- China
- Prior art keywords
- image
- block
- pixels
- electronic equipment
- merging
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/60—Memory management
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
- Processing Or Creating Images (AREA)
Abstract
The application provides a kind of image processing method and electronic equipment, this method comprises: the N frame original image in animation is divided into M block of pixels by the first electronic equipment in the same fashion;Then M block of pixels of the first frame original image in the N frame original image is written to and is merged in image;For k-th frame original image, the k-th frame original image is any one frame original image in remaining N-1 frame original image, it performs the following operations: each block of pixels in traversal k-th frame original image, when the block of pixels difference of block of pixels and former frame same position, then the block of pixels is written and is merged in image, otherwise, first block of pixels is not written in the merging image, ultimately generate configuration file, then configuration file and merging image are sent to the second electronic equipment, so that the second electronic equipment restores animation, this method can save the ROM Space of the second electronic equipment.
Description
Technical field
This application involves field of terminal technology more particularly to a kind of image processing methods and electronic equipment.
Background technique
In recent years, with the rapid development of electronic industry and the communication technology, intelligent home equipment is more and more at present, such as
Mobile phone, intelligent sound box, Intelligent bracelet etc., people's lives become more and more intelligent.Due to the portability of mobile phone, and can be from
The application software of various functions is downloaded in application shop, so mobile phone has become essential indispensability in people's daily life
Product.
As the function that the operating system of mobile phone provides is enriched constantly, to promote user experience, can all add in many scenes
Enter to guide animation to assist user to use its function.In prior art, details abundant guidance complicated for path is moved
It draws, the use of sequence frame animation is most simple, most direct implementation, but the image that general sequence frame animation can include may
Be that several frames are differed to tens frames, and the guidance animation in the operating system of mobile phone have it is hundreds and thousands of;Finally result in operation system
Quantity of documents rapidly rises in uniting, and the ROM Space of occupied terminal is larger.
Summary of the invention
The application provides a kind of image processing method and electronic equipment, to realize that reducing ROM occupies, reduces total number of files
The income of amount.
In a first aspect, the embodiment of the present application provides a kind of image processing method, the method is suitable for the first electronics and sets
It is standby, this method comprises: the N frame original image in animation is divided into M block of pixels in the same fashion;
M block of pixels of the first frame original image in the N frame original image is written to and is merged in image;
For k-th frame original image, the k-th frame original image is that any one frame in remaining N-1 frame original image is former
Beginning image, performs the following operations:
The first block of pixels in k-th frame original image is traversed, when the first block of pixels and the in the k-th frame original image
When the block of pixels difference of the same position in K-1 frame original image, then first block of pixels is written in the merging image,
Otherwise, first block of pixels is not written in the merging image.
When in the k-th frame original image the second block of pixels and the current newest all pixels block merged in image it is equal
When different, then second block of pixels is written in current newest merging image, otherwise, second block of pixels is not written
In current newest merging image.
The third block of pixels in the traversal execution k-th frame original image is returned to, until M in k-th frame original image
Block of pixels all complete by traversal;Wherein, K is the positive integer greater than 1.
Generate configuration file, the configuration file include: ultimately generate merge image in each block of pixels serial number with
First corresponding relationship of the serial number of original image, and ultimately generate merge in image each block of pixels with it is corresponding original
The second corresponding relationship between location information in image.
In the embodiment of the present application, the first electronic equipment is by comparing the block of pixels in the before and after frames image in sequence frame image
It is whether identical, identical block of pixels in front of and after frames is filtered out, only different block of pixels is stored in and is merged in image, in this way, second
Electronic equipment obtains configuration file from the first electronic equipment and merges image, comparatively, merges image and configuration file occupies
ROM tails off, and can save certain ROM Space.
In a kind of possible design, after generating configuration file, the first electronic equipment is by the configuration file and institute
It states the merging image ultimately generated and is sent to the second electronic equipment.
Second aspect, the embodiment of the present application provide a kind of image processing method, and the method is suitable for the first electronics and sets
It is standby, this method comprises: the N frame original image in animation is divided into M block of pixels in the same fashion;
M block of pixels of any one frame original image in the N frame original image is written to and is merged in image;
Setting operation is executed for each image in the N-1 frame original image, the setting operation includes:
The first block of pixels in the first image is traversed, when the first block of pixels in the first image merges image with described
In all pixels block it is different when, then will be in first block of pixels write-in merging image, otherwise, not by described first
Block of pixels is written in the merging image.
When all pixels block in the second block of pixels and current newest merging image in the first image is different
When, then second block of pixels is written in current newest merging image, otherwise, second block of pixels is not written current
In newest merging image.
The third block of pixels in traversal execution the first image is returned to, until M block of pixels in the first image is whole
Traversal is completed;
The 4th block of pixels executed in the second image in the N-1 frame original image is returned according to the setting operation,
When the 4th block of pixels and the different all pixels block in current newest merging image in second image, then by institute
It states the 4th block of pixels to be written in current newest merging image, otherwise, current newest conjunction is not written into the 4th block of pixels
And in image.The 5th block of pixels executed in second image is returned to, until M block of pixels in the second image all traverses
It completes.
The M block of pixels executed in the third image in the N-1 frame original image is returned to according to the setting operation, directly
All image traversals into N-1 frame original image are completed.
Generate configuration file, the configuration file include: ultimately produce merge image in each block of pixels serial number with
Each block of pixels is in corresponding original image in the corresponding relationship of the serial number of original image, and the merging image that ultimately produces
In location information.
In the embodiment of the present application, the first electronic equipment merges in image by comparing sequence frame image with what is be newly generated
Whether block of pixels is identical, filters out identical block of pixels in front of and after frames, is only stored in different block of pixels and merges in image, this
Sample, the second electronic equipment obtain configuration file from the first electronic equipment and merge image, comparatively, merge image and configuration text
Part occupies ROM and tails off, and can save certain ROM Space.
The third aspect, the embodiment of the present application provide a kind of image processing method, and the method is suitable for the first electronics and sets
It is standby, this method comprises: the N frame original image in animation is divided into M block of pixels in the same fashion;
M block of pixels of the first image is written to and is merged in image, wherein the first image is the N frame original image
In any one frame original image;
Setting operation is executed for each original image in the N-1 frame original image, the setting operation includes:
The first block of pixels in the second image is traversed, when in the first block of pixels and the first image in second image
When all pixels block is different, then first block of pixels is written in the merging image, otherwise, not by first pixel
Block is written in the merging image.
When the second block of pixels and the different all pixels block in the first image in the second image, then by described second
Block of pixels is written in current newest merging image, otherwise, current newest merging image is not written in second block of pixels
In.The third block of pixels in traversal execution second image is returned to, until M block of pixels in the second image has all traversed
At.
The 4th block of pixels executed in the third image in the N-1 frame original image is returned according to the setting operation,
All pixels block in the 4th block of pixels in the third image and all pixels block and the second image in the first image
When different, then the 4th block of pixels are written in current newest merging image, otherwise, the 4th block of pixels do not write
Enter in current newest merging image;The 5th block of pixels executed in the third image is returned to, until the M in third image
Block of pixels all complete by traversal.
The M block of pixels executed in the 4th image in the N-1 frame original image is returned to according to the setting operation, directly
All image traversals into N-1 frame original image are completed;
Generate configuration file, the configuration file include: ultimately produce merge image in each block of pixels serial number with
Each block of pixels is in corresponding original image in the corresponding relationship of the serial number of original image, and the merging image that ultimately produces
In location information.
In the embodiment of the present application, the first electronic equipment is by comparing all of sequence frame image and the image for having traversed completion
Block of pixels it is whether identical, filter out identical block of pixels in front of and after frames, only by different block of pixels be stored in merge image in, this
Sample, the second electronic equipment obtain configuration file from the first electronic equipment and merge image, comparatively, merge image and configuration text
Part occupies ROM and tails off, and can save certain ROM Space.
Fourth aspect, the embodiment of the present application provide a kind of image processing method, and the method is suitable for the second electronics and sets
It is standby, this method comprises:
The merging image for obtaining configuration file from the first electronic equipment and ultimately generating, the configuration file includes: final
Generation merges the first corresponding relationship of the serial number of the serial number and original image of each block of pixels in image, and ultimately generate
Merge the second corresponding relationship in image between each block of pixels and the location information of corresponding original image;
According to first corresponding relationship, from the sequence for merging determination and N frame original image in image ultimately generated
Number corresponding M target pixel block of N group;
According to second corresponding relationship, determine described every group of M target pixel block in the position of corresponding original image
Information;
Every group of M target pixel block described in permutation and combination according to the positional information generates the N frame original image, and
Animation is restored according to the N frame original image.
In the embodiment of the present application, the second electronic equipment can restore animation by configuration file and merging image, close
And image and configuration file occupy ROM and tail off, and can save certain ROM Space.
5th aspect, the embodiment of the present application provide a kind of first electronic equipment, including processor and memory.Wherein, it deposits
Reservoir is for storing one or more computer programs;When one or more computer programs of memory storage are held by processor
When row, so that the method that the electronic equipment can be realized any one possible design of any of the above-described aspect.
6th aspect, the embodiment of the present application provide a kind of second electronic equipment, including processor, read-only memory, random
Memory, touch panel, display;
The processor is used for the merging image for obtaining configuration file from the first electronic equipment and ultimately generating;The configuration
File includes: the first corresponding relationship for merging the serial number of the serial number and original image of each block of pixels in image ultimately generated,
And second pair between the location information merged in image in each block of pixels and corresponding original image ultimately generated
It should be related to;
It is described to be read-only memory for storing one or more computer programs and the configuration file and ultimately generate
Merging image;
When the touch panel, which will test user, to be acted on the operation of playing animation and be sent to display, the processing
Device is according to first corresponding relationship, and determination is opposite with the serial number of N frame original image from the merging image ultimately generated
The M target pixel block of N group answered;According to second corresponding relationship, determine described every group of M target pixel block in corresponding original
The location information of beginning image;It is former to generate the N frame for every group of M target pixel block described in permutation and combination according to the positional information
Beginning image, and animation is restored according to the N frame original image;
The random access memory is for storing the N frame original image and the animation;The display, for showing
State animation.
7th aspect, the embodiment of the present application also provides a kind of device, which includes execute any of the above-described aspect any
A kind of module/unit of the method for possible design.These module/units can also pass through hardware by hardware realization
Execute corresponding software realization.
Eighth aspect, also provides a kind of computer readable storage medium in the embodiment of the present application, described computer-readable to deposit
Storage media includes computer program, when computer program is run on an electronic device, so that electronic equipment execution is above-mentioned
The method of the possible design of any one of either side.
9th aspect, it includes computer program product that the embodiment of the present application, which also provides a kind of, when the computer program produces
When product are run on an electronic device, so that the electronic equipment executes the side of any one possible design of any of the above-described aspect
Method.
These aspects or other aspects of the application can more straightforward in the following description.
Detailed description of the invention
Fig. 1 is a kind of interconnection schematic diagram of a scenario provided by the embodiments of the present application;
Fig. 2 is a kind of structural schematic diagram of mobile phone provided by the embodiments of the present application;
Fig. 3 is Android operation system structural schematic diagram provided by the embodiments of the present application;
Fig. 4 is the frame image schematic diagram of one group of fingerprint animation provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of one group of fingerprint animation difference block of pixels provided by the embodiments of the present application;
Fig. 6 is a kind of schematic diagram for merging image provided by the embodiments of the present application;
Fig. 7 is a kind of image processing method schematic diagram provided by the embodiments of the present application;
Fig. 8 is a kind of sequence frame image manner of comparison schematic diagram provided by the embodiments of the present application;
Fig. 9 is a kind of sequence frame image division mode schematic diagram provided by the embodiments of the present application;
Figure 10 is another image processing method schematic diagram provided by the embodiments of the present application;
Figure 11 is another image processing method schematic diagram provided by the embodiments of the present application;
Figure 12 is another sequence frame image manner of comparison schematic diagram provided by the embodiments of the present application;
Figure 13 is another schematic diagram for merging image provided by the embodiments of the present application;
Figure 14 is another image processing method schematic diagram provided by the embodiments of the present application;
Figure 15 is another schematic diagram for merging image provided by the embodiments of the present application;
Figure 16 is a kind of schematic diagram of image processing system provided by the embodiments of the present application;
Figure 17 is a kind of structural schematic diagram of first electronic equipment provided by the embodiments of the present application.
Specific embodiment
In order to make it easy to understand, it is exemplary give part it is for reference with the explanation of the embodiment of the present application related notion.Such as
Shown in lower:
Sequence frame is the continuous static images sequence of multiframe.
Sequence frame animation, also known as frame-by-frame cartoons are to be switched fast to realize that video is dynamic using the continuous static images of multiframe
Draw a kind of technology of effect.
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.Its
In, in the description of the embodiment of the present application, hereinafter, term " first ", " second " are used for description purposes only, and it should not be understood as referring to
Show or imply relative importance or implicitly indicates the quantity of indicated technical characteristic." first ", " second " are defined as a result,
Feature can explicitly or implicitly include one or more of the features.First language, second language hereinafter refers to
Generation is natural language, and what the first voice, the second voice referred to is the sound that user issues.In the description of the embodiment of the present application
In, unless otherwise indicated, the meaning of " plurality " is two or more.
Image processing method provided by the embodiments of the present application can be applied to communication construction as shown in Figure 1.The communication construction
It include: multiple electronic equipments 100 and electronic equipment 200.Multiple image in animation can be processed into a frame by electronic equipment 200
Or multiframe merges picture and a configuration file, electronic equipment 100 can obtain the configuration file from electronic equipment 200
With the merging image, animation is then restored.
Wherein, it is interconnected between electronic equipment 100 and electronic equipment 200 by communication network, which can be office
Domain net is also possible to the wide area network transferred by relaying (relay) equipment.When the communication network is local area network, illustratively,
The communication network can be wifi hotspot network, wifi P2P network, blueteeth network, zigbee network or near-field communication (near
Field communication, NFC) the short-range communications network such as network.When the communication network is wide area network, illustratively,
The communication network can be 3rd generation mobile communication technology (3rd-generation wireless telephone
Technology, 3G) network, fourth generation mobile communication technology (the 4th generation mobile communication
Technology, 4G) network, the 5th third-generation mobile communication technology (5th-generation mobile communication
Technology, 5G) network, the following evolution public land mobile network (public land mobile network,
) or internet etc. PLMN.In scene shown in Fig. 1, communication network interaction data, example can be passed through between distinct electronic apparatuses
Such as interactive picture, text, video or interactive electronic equipment are to the result after the object handles such as picture, text or video.
In some embodiments of the application, electronic equipment 100 and electronic equipment 200 shown in FIG. 1 be can be also comprising it
The portable electronic device of his function such as personal digital assistant and/or music player functionality, such as mobile phone, tablet computer,
The wearable device (such as smartwatch) for having wireless communication function.The exemplary embodiment of portable electronic device include but
It is not limited to carryOr the portable electronic device of other operating systems.It is above-mentioned portable
Formula electronic equipment is also possible to other portable electronic devices, such as meter on knee with touch sensitive surface (such as touch panel)
Calculation machine (laptop) etc..It is to be further understood that in some other embodiment of the application, above-mentioned electronic equipment 100 can also be with
Not instead of portable electronic device, the desktop computer with touch sensitive surface (such as touch panel).
Illustratively, as shown in Fig. 2, embodiment is specifically described by taking electronic equipment 100 as an example below.
Electronic equipment 100 may include processor 110, external memory interface 120, internal storage 121, USB interface
130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wirelessly
Communication module 160, audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor
Module 180, key 190, motor 191, indicator 192, camera 193, display screen 194 and SIM card interface 195 etc..Wherein
Sensor module 180 may include pressure sensor 180A, gyro sensor 180B, baroceptor 180C, Magnetic Sensor
180D, acceleration transducer 180E, range sensor 180F, close to optical sensor 180G, fingerprint sensor 180H, temperature sensing
Device 180J, touch sensor 180K, ambient light sensor 180L, bone conduction sensor 180M etc..
It is understood that the structure of signal of the embodiment of the present invention does not constitute the specific restriction to electronic equipment 100.?
In other embodiments of the application, electronic equipment 100 may include than illustrating more or fewer components, or the certain portions of combination
Part perhaps splits certain components or different component layouts.The component of diagram can be with hardware, software or software and hardware
Combination realize.
Processor 110 may include one or more processing units, such as: processor 110 may include application processor
(application processor, AP), modem processor, graphics processor (graphics processing
Unit, GPU), image-signal processor (image signal processor, ISP), controller, memory, coding and decoding video
Device, digital signal processor (digital signal processor, DSP), baseband processor and/or Processing with Neural Network
Device (Neural-network Processing Unit, NPU) etc..Wherein, different processing units can be independent device,
Also it can integrate in one or more processors.
Wherein, controller can be nerve center and the command centre of electronic equipment 100.Controller can be grasped according to instruction
Make code and clock signal, generates operating control signal, the control completing instruction fetch and executing instruction.
Memory can also be set in processor 110, for storing instruction and data.In some embodiments, processor
Memory in 110 is cache memory.The memory can save the instruction that processor 110 is just used or is recycled
Or data.If processor 110 needs to reuse the instruction or data, can be called directly from the memory.It avoids
Repeated access, reduces the waiting time of processor 110, thus improves the efficiency of system.
In some embodiments, processor 110 may include one or more interfaces.Interface may include integrated circuit
(inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit
Sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiving-transmitting transmitter
(universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface
(mobile industry processor interface, MIPI), universal input export (general-purpose
Input/output, GPIO) interface, Subscriber Identity Module (subscriber identity module, SIM) interface, and/or
Universal serial bus (universal serial bus, USB) interface etc..
I2C interface is a kind of bi-directional synchronization universal serial bus, including serial data line (serial data line,
SDA) He Yigen serial time clock line (derail clock line, SCL).In some embodiments, processor 110 may include
Multiple groups I2C bus.Processor 110 can by different I2C bus interface distinguish coupled with touch sensors 180K, charger,
Flash lamp, camera 193 etc..Such as: processor 110 can make processor by I2C interface coupled with touch sensors 180K
110 are communicated with touch sensor 180K by I2C bus interface, realize the touch function of electronic equipment 100.
I2S interface can be used for voice communication.In some embodiments, processor 110 may include multiple groups I2S bus.
Processor 110 can be coupled by I2S bus with audio-frequency module 170, be realized logical between processor 110 and audio-frequency module 170
Letter.In some embodiments, audio-frequency module 170 can transmit audio signal to wireless communication module 160 by I2S interface, real
The function of now being received calls by bluetooth headset.
Pcm interface can be used for voice communication, by analog signal sampling, quantization and coding.In some embodiments, sound
Frequency module 170 can be coupled with wireless communication module 160 by pcm bus interface.In some embodiments, audio-frequency module 170
Audio signal can also be transmitted to wireless communication module 160 by pcm interface, realize the function to receive calls by bluetooth headset
Energy.The I2S interface and the pcm interface may be used to voice communication.
UART interface is a kind of Universal Serial Bus, is used for asynchronous communication.The bus can be bidirectional communications bus.
The data that it will be transmitted are converted between serial communication and parallel communications.In some embodiments, UART interface usually by with
In connection processor 110 and wireless communication module 160.Such as: processor 110 passes through UART interface and wireless communication module 160
In bluetooth module communication, realize Bluetooth function.In some embodiments, audio-frequency module 170 can be by UART interface to nothing
Line communication module 160 transmits audio signal, realizes the function that music is played by bluetooth headset.
MIPI interface can be used to connect the peripheral components such as processor 110 and display screen 194, camera 193.MIPI connects
Mouth includes camera serial line interface (camera serial interface, CSI), display screen serial line interface (display
Serial interface, DSI) etc..In some embodiments, processor 110 and camera 193 are communicated by CSI interface, real
The shooting function of existing electronic equipment 100.Processor 110 and display screen 194 realize electronic equipment 100 by DSI interface communication
Display function.
GPIO interface can pass through software configuration.GPIO interface can be configured as control signal, may be alternatively configured as counting
It is believed that number.In some embodiments, GPIO interface can be used for connecting processor 110 and camera 193, display screen 194, wirelessly
Communication module 160, audio-frequency module 170, sensor module 180 etc..GPIO interface can be additionally configured to I2C interface, and I2S connects
Mouthful, UART interface, MIPI interface etc..
Usb 1 30 is the interface for meeting USB standard specification, specifically can be Mini USB interface, and Micro USB connects
Mouthful, USB Type C interface etc..USB interface can be used for connecting charger for the charging of electronic equipment 100, can be used for electronics
Data are transmitted between equipment 100 and peripheral equipment.It can be used for connection earphone, audio played by earphone.The interface may be used also
For connecting other electronic equipments, such as AR equipment etc..
It is understood that the interface connection relationship of each intermodule of signal of the embodiment of the present invention, only schematically illustrates,
The structure qualification to electronic equipment 100 is not constituted.In other embodiments of the application, electronic equipment 100 can also be used
The combination of different interface connection type or multiple interfaces connection type in above-described embodiment.
Charge management module 140 is used to receive charging input from charger.Wherein, charger can be wireless charger,
It is also possible to wired charger.In the embodiment of some wired chargings, charge management module 140 can be connect by USB interface
Receive the charging input of wired charger.In the embodiment of some wireless chargings, charge management module 140 can be set by electronics
Standby 100 Wireless charging coil receives wireless charging input.It, can be with while charge management module 140 is that battery 142 charges
It is power electronic equipment by power management module 141.
Power management module 141 is for connecting battery 142, charge management module 140 and processor 110.Power management mould
Block 141 receives the input of battery 142 and/or charge management module 140, is processor 110, internal storage 121, external storage
Device, display screen 194, the power supply such as camera 193 and wireless communication module 160.Power management module 141 can be also used for monitoring
Battery capacity, circulating battery number, the parameters such as cell health state (electric leakage, impedance).In some other embodiment, power supply pipe
Reason module 141 also can be set in processor 110.In further embodiments, power management module 141 and Charge Management mould
Block 140 also can be set in the same device.
The wireless communication function of electronic equipment 100 can by Anneta module 1,2 mobile communication module 150 of Anneta module,
Wireless communication module 160, modem processor and baseband processor etc. are realized.
Antenna 1 and antenna 2 electromagnetic wave signal for transmitting and receiving.Each antenna in electronic equipment 100 can be used for covering
Cover single or multiple communication bands.Different antennas can also be multiplexed, to improve the utilization rate of antenna.Such as: it can be by honeycomb
It nets antenna multiplexed for WLAN diversity antenna.In other embodiments, antenna can be used in combination with tuning switch.
Mobile communication module 150, which can provide, applies wirelessly communicating on electronic equipment 100 including 2G/3G/4G/5G etc.
Solution.Mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier
(Low Noise Amplifier, LNA) etc..Mobile communication module 150 can receive electromagnetic wave by antenna 1, and to received electricity
Magnetic wave is filtered, and the processing such as amplification is sent to modem processor and is demodulated.Mobile communication module 150 can also be right
The modulated modulated signal amplification of demodulation processor, switchs to electromagenetic wave radiation through antenna 1 and goes out.In some embodiments, it moves
At least partly functional module of dynamic communication module 150 can be arranged in processor 110.In some embodiments, mobile logical
At least partly functional module of letter module 150 can be arranged in the same device at least partly module of processor 110.
Modem processor may include modulator and demodulator.Wherein, modulator is used for low frequency base to be sent
Band signal is modulated into high frequency signal.Demodulator is used to received electromagnetic wave signal being demodulated into low frequency baseband signal.Then solution
Adjust device that the low frequency baseband signal that demodulation obtains is sent to baseband processor.Low frequency baseband signal is through baseband processor
Afterwards, it is delivered to application processor.Application processor is defeated by audio frequency apparatus (being not limited to loudspeaker 170A, receiver 170B etc.)
Voice signal out, or image or video are shown by display screen 194.In some embodiments, modem processor can be
Independent device.In further embodiments, modem processor can be independently of processor 110, with mobile communication module
150 or other function module be arranged in the same device.
It includes WLAN (wireless that wireless communication module 160, which can be provided and be applied on electronic equipment 100,
Local area networks, WLAN), bluetooth (bluetooth, BT), Global Navigation Satellite System (global
Navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near radio leads to
Letter technology (near field communication, NFC), the solution party of the wireless communications such as infrared technique (infrared, IR)
Case.Wireless communication module 160 can be integrated into one or more devices of a few Communications Processor Module.Wireless communication module
160 receive electromagnetic wave via antenna 2, and by electromagnetic wave signal frequency modulation and filtering processing, by treated, signal is sent to processing
Device 110.Wireless communication module 160 can also receive signal to be sent from processor 110, and frequency modulation is carried out to it, amplification, through day
Line 2 switchs to electromagenetic wave radiation and goes out.In the embodiment of the present application, wireless communication module 160 is used to send the voice of the first user, with
And the voice of the object language of the machine talk or the other user's transmission of the object language after translation, and after translation
First language machine talk.
In some embodiments, the antenna 1 of electronic equipment 100 and mobile communication module 150 couple, antenna 2 and channel radio
Believe that module 160 couples, allowing electronic equipment 100, technology is communicated with network and other equipment by wireless communication.It is described
Wireless communication technique may include global system for mobile communications (global system for mobile communications,
GSM), general packet radio service (general packet radio service, GPRS), CDMA access (code
Division multiple access, CDMA), wideband code division multiple access (wideband code division multiple
Access, WCDMA), time division CDMA (time-division code division multiple access, TD-
SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM and/or IR technology etc..Institute
Stating GNSS may include GPS (global positioning system, GPS), global navigational satellite system
It unites (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou
Navigation satellite system, BDS), quasi- zenith satellite system (quasi-zenith satellite
System, QZSS)) and/or satellite-based augmentation system (satellite based augmentation systems, SBAS).
Electronic equipment 100 realizes display function by GPU, display screen 194 and application processor etc..GPU is at image
The microprocessor of reason connects display screen 194 and application processor.GPU is calculated for executing mathematics and geometry, is used for figure wash with watercolours
Dye.Processor 110 may include one or more GPU, execute program instructions to generate or change display information.
Display screen 194 is for showing image, video etc..Display screen 194 includes display panel.Display panel can use
LCD (liquid crystal display, liquid crystal display), OLED (organic light-emitting diode, it is organic
Light emitting diode), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix
Organic light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light-emitting
Diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light
Emitting diodes, QLED) etc..In some embodiments, electronic equipment 100 may include 1 or N number of display screen, N are
Positive integer greater than 1.In the embodiment of the present application, display screen 194 is displayed for call interface and translation interface and language
Set interface etc..
Electronic equipment 100 can be by ISP, camera 193, Video Codec, GPU, display screen 194 and at
It manages device etc. and realizes shooting function.
ISP is used to handle the data of the feedback of camera 193.For example, opening shutter when taking pictures, light is passed by camera lens
It is delivered on camera photosensitive element, optical signal is converted to electric signal, and camera photosensitive element passes to the electric signal at ISP
Reason, is converted into macroscopic image.ISP can also be to the noise of image, brightness, colour of skin progress algorithm optimization.ISP can be with
Exposure to photographed scene, the parameter optimizations such as colour temperature.In some embodiments, ISP can be set in camera 193.
Camera 193 is for capturing still image or video.Object generates optical imagery by camera lens and projects photosensitive member
Part.Photosensitive element can be charge-coupled device (charge coupled device, CCD) or complementary metal oxide is partly led
Body (complementary metal-oxide-semiconductor, CMOS) phototransistor.Photosensitive element turns optical signal
It changes electric signal into, electric signal is passed into ISP later and is converted into data image signal.Data image signal is output to DSP by ISP
Working process.Data image signal is converted into the RGB of standard, the picture signal of the formats such as YUV by DSP.In some embodiments,
Electronic equipment 100 may include 1 or N number of camera, and N is the positive integer greater than 1.
Digital signal processor, in addition to can handle data image signal, can also handle it for handling digital signal
His digital signal.For example, digital signal processor is used to carry out Fu to frequency point energy when electronic equipment 100 is when frequency point selects
In leaf transformation etc..
Video Codec is used for compression of digital video or decompression.Electronic equipment 100 can be supported one or more
Video Codec.In this way, electronic equipment 100 can play or record the video of a variety of coded formats, and such as: MPEG1,
MPEG2, mpeg 3, MPEG4 etc..
NPU is neural network (neural-network, NN) computation processor, by using for reference biological neural network structure,
Such as transfer mode between human brain neuron is used for reference, it, can also continuous self study to input information fast processing.Pass through NPU
The application such as intelligent cognition of electronic equipment 100 may be implemented, such as: image recognition, recognition of face, speech recognition, text understanding
Deng.
External memory interface 120 can be used for connecting external memory card, such as Micro SD card, realize that extension electronics is set
Standby 100 storage capacity.External memory card is communicated by external memory interface 120 with processor 110, realizes that data store function
Energy.Such as by music, the files such as video are stored in external memory card.
Internal storage 121 can be used for storing computer executable program code, and the executable program code includes
Instruction.Processor 110 is stored in the instruction of internal storage 121 by operation, thereby executing the various functions of electronic equipment 100
Using and data processing.Memory 121 may include storing program area and storage data area.Wherein, storing program area can deposit
Store up operating system, application program (such as sound-playing function, image player function etc.) needed at least one function etc..Storage
Data field can store the data (such as audio data, phone directory etc.) etc. created in 100 use process of electronic equipment.In addition,
Memory 121 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk
Memory device, flush memory device, generic flash memory (universal flash storage, UFS) etc..
Electronic equipment 100 can pass through audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone
Interface 170D and application processor etc. realize audio-frequency function.Such as music, recording etc..
Audio-frequency module 170 is used to for digitized audio message to be converted into analog audio signal output, is also used for analogue audio frequency
Input is converted to digital audio and video signals.Audio-frequency module 170 can be also used for audio-frequency signal coding and decoding.In some embodiments
In, audio-frequency module 170 can be set in processor 110, or the partial function module of audio-frequency module 170 is set to processor
In 110.
Loudspeaker 170A, also referred to as " loudspeaker ", for audio electrical signal to be converted to voice signal.Electronic equipment 100 can be with
Music is listened to by loudspeaker 170A, or listens to hand-free call.In the embodiment of the present application, loudspeaker 170A is for playing translation
Machine talk afterwards.
Receiver 170B, also referred to as " earpiece ", for audio electrical signal to be converted into voice signal.When electronic equipment 100 connects
It answers a call or when voice messaging, it can be by the way that receiver 170B be answered voice close to human ear.
Microphone 170C, also referred to as " microphone ", " microphone ", for voice signal to be converted to electric signal.When making a phone call
Or when sending voice messaging, voice signal can be input to microphone by mouth close to microphone 170C sounding by user
170C.At least one microphone 170C can be set in electronic equipment 100.In further embodiments, electronic equipment 100 can be set
Two microphones are set, in addition to collected sound signal, can also realize decrease of noise functions.In further embodiments, electronic equipment 100
Three can also be arranged, four or more microphone is realized that collected sound signal, noise reduction can also identify sound source, realized
Directional recording function etc..In the embodiment of the present application, microphone 170C can be used for acquiring the voice of user, such as the first user
First voice of first language.
Earphone interface 170D is for connecting wired earphone.Earphone interface can be USB interface, be also possible to opening for 3.5mm
Put mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, American cellular telecommunications work
Industry association (cellular telecommunications industry association of the USA, CTIA) standard
Interface.
Pressure signal can be converted into electric signal for experiencing pressure signal by pressure sensor 180A.In some implementations
In example, pressure sensor 180A be can be set in display screen 194.There are many type of pressure sensor 180A, such as resistive pressure
Sensor, inductance pressure transducer, capacitance pressure transducer, etc..Capacitance pressure transducer, can be including at least two
Parallel-plate with conductive material.When effectively acting on pressure sensor 180A, the capacitor between electrode changes.Electronic equipment
100 determine the intensity of pressure according to the variation of capacitor.When there is touch operation to act on display screen 194, electronic equipment 100 is according to pressure
Force snesor 180A detects the touch operation intensity.Electronic equipment 100 can also be believed according to the detection of pressure sensor 180A
Number calculate touch position.In some embodiments, identical touch location, but the touch behaviour of different touch operation intensity are acted on
Make, different operational orders can be corresponded to.Such as: when the touch operation for having touch operation intensity to be less than first pressure threshold value acts on
When short message application icon, the instruction for checking short message is executed.When have touch operation intensity be greater than or equal to first pressure threshold
When the touch operation of value acts on short message application icon, the instruction of newly-built short message is executed.
Gyro sensor 180B is determined for the athletic posture of electronic equipment 100.It in some embodiments, can be with
Determine that electronic equipment 100 surrounds the angular speed of three axis (that is, x, y and z-axis) by gyro sensor 180B.Gyro sensors
Device 180B can be used for shooting stabilization.Illustratively, when pressing shutter, gyro sensor 180B detection electronic equipment 100 is trembled
Dynamic angle goes out the distance that lens module needs to compensate according to angle calculation, camera lens is allowed to offset electronic equipment by counter motion
Stabilization is realized in 100 shake.Gyro sensor 180B can be also used for navigating, somatic sensation television game scene.
Baroceptor 180C is for measuring air pressure.In some embodiments, electronic equipment 100 passes through baroceptor
The atmospheric pressure value that 180C is measured calculates height above sea level, auxiliary positioning and navigation.
Magnetic Sensor 180D includes Hall sensor.Electronic equipment 100 can use Magnetic Sensor 180D flip cover skin
The folding of set.In some embodiments, when electronic equipment 100 is liding machine, electronic equipment 100 can be according to Magnetic Sensor
The folding of 180D flip cover.And then according to the folding condition of the leather sheath detected or the folding condition of flip lid, setting flip lid is certainly
The characteristics such as dynamic unlock.
Acceleration transducer 180E can detect the big of (the generally three axis) acceleration in all directions of electronic equipment 100
It is small.It can detect that size and the direction of gravity when electronic equipment 100 is static.It can be also used for identification electronic equipment posture, answer
Switch for horizontal/vertical screen, the application such as pedometer.
Range sensor 180F, for measuring distance.Electronic equipment 100 can pass through infrared or laser distance measuring.?
In some embodiments, photographed scene, electronic equipment 100 can use range sensor 180F ranging to realize rapid focus.
It may include such as light emitting diode (LED) and photodetector, such as photodiode close to optical sensor 180G.
Light emitting diode can be infrared light-emitting diode.Electronic equipment 100 launches outward infrared light by light emitting diode.Electronics is set
Standby 100 detect the infrared external reflection light from neighbouring object using photodiode.It, can be true when detecting sufficient reflected light
Determining electronic equipment 100 nearby has object.When detecting insufficient reflected light, electronic equipment 100 can determine electronic equipment
100 do not have object nearby.Electronic equipment 100 can use to be pasted close to optical sensor 180G detection user's hand-hold electronic equipments 100
Nearly ear call, so that automatic distinguishing screen achievees the purpose that power saving.It can also be used for leather sheath mode, mouth close to optical sensor 180G
Bag mode automatic unlocking and screen locking.
Ambient light sensor 180L is for perceiving environmental light brightness.Electronic equipment 100 can be according to the environment bright of perception
Spend 194 brightness of automatic adjusument display screen.Automatic white balance adjustment when ambient light sensor 180L can also be used for taking pictures.Environment light
Sensor 180L can also cooperate with close to optical sensor 180G, electronic equipment 100 be detected whether in pocket, with false-touch prevention.
Fingerprint sensor 180H is for acquiring fingerprint.The fingerprint characteristic that electronic equipment 100 can use acquisition realizes fingerprint
Unlock accesses application lock, and fingerprint is taken pictures, fingerprint incoming call answering etc..
Temperature sensor 180J is for detecting temperature.In some embodiments, electronic equipment 100 utilizes temperature sensor
The temperature of 180J detection, executes Temperature Treatment strategy.For example, when the temperature sensor 180J temperature reported is more than threshold value, electronics
Equipment 100 executes the performance for reducing the processor being located near temperature sensor 180J, implements Thermal protection to reduce power consumption.?
In other embodiments, when temperature is lower than another threshold value, electronic equipment 100 heats battery 142, leads to electricity to avoid low temperature
The abnormal shutdown of sub- equipment 100.In some other embodiment, when temperature is lower than another threshold value, electronic equipment 100 is to battery
142 output voltage executes boosting, to avoid shutting down extremely caused by low temperature.
Touch sensor 180K, also referred to as " touch panel ".It may be disposed at display screen 194.For detect be applied to it or
Neighbouring touch operation.The touch operation that can be will test passes to application processor, to determine touch event type, and leads to
It crosses display screen 194 and corresponding visual output is provided.In further embodiments, touch sensor 180K also can be set in electronics
The surface of equipment 100, it is different from the location of display screen 194.In the embodiment of the present application, touch panel is for receiving the first behaviour
Work, the confirmation operation of language setting control, shutoff operation exit the touch operations such as operation.
The available vibration signal of bone conduction sensor 180M.In some embodiments, bone conduction sensor 180M can be with
Obtain the vibration signal of human body part vibration bone block.Bone conduction sensor 180M can also contact human pulse, receive blood pressure and jump
Dynamic signal.In some embodiments, bone conduction sensor 180M also can be set in earphone.Audio-frequency module 170 can be based on
The vibration signal for the part vibration bone block that the bone conduction sensor 180M is obtained, parses voice signal, realizes phonetic function.
The blood pressure jitter that application processor can be obtained based on the bone conduction sensor 180M parses heart rate information, realizes heart rate
Detection function.
Key 190 includes power button, volume key etc..Key can be mechanical key.It is also possible to touch-key.Electronics
Equipment 100 can receive key-press input, and it is defeated to generate key signals related with the user setting of electronic equipment 100 and function control
Enter.
Motor 191 can produce vibration prompt.Motor 191 can be used for calling vibration prompt, can be used for touching vibration
Dynamic feedback.For example, acting on the touch operation of different application (such as taking pictures, audio broadcasting etc.), different vibrations can be corresponded to
Feedback effects.The touch operation of 194 different zones of display screen is acted on, motor 191 can also correspond to different vibrational feedback effects.
Different application scenarios (such as: time alarm receives information, alarm clock, game etc.) different vibrational feedback effects can also be corresponded to
Fruit.Touch vibrational feedback effect can also be supported customized.
Indicator 192 can be indicator light, can serve to indicate that charged state, electric quantity change can be used for instruction and disappear
Breath, missed call, notice etc..
SIM card interface 195 is for connecting Subscriber Identity Module (subscriber identity module, SIM).SIM
Card can be extracted by being inserted into SIM card interface, or from SIM card interface, and realization is contacting and separating with electronic equipment 100.Electronics
Equipment 100 can support that 1 or N number of SIM card interface, N are the positive integer greater than 1.SIM card interface 195 can support Nano
SIM card, Micro SIM card, SIM card etc..The same SIM card interface can be inserted into multiple cards simultaneously.The type of multiple cards
It may be the same or different.SIM card interface 195 can also be compatible with different types of SIM card.SIM card interface 195 can also be with
Compatible external storage card.Electronic equipment 100 realizes the functions such as call and data communication by SIM card and network interaction.One
In a little embodiments, electronic equipment 100 uses eSIM, it may be assumed that embedded SIM card.ESIM card can be in electronic equipment 100, no
It can be separated with electronic equipment 100.The software systems of electronic equipment 100 can use layer architecture, event-driven framework, micronucleus frame
Structure, micro services framework or cloud framework.The embodiment of the present invention is by taking the android system of layer architecture as an example, exemplary illustration electronics
The software configuration of equipment 100.
Fig. 3 is the software architecture diagram of the electronic equipment 100 of the embodiment of the present invention.
Software is divided into several layers by layer architecture, and each layer has clearly role and the division of labor.Pass through between layers
Software interface communication.In some embodiments, android system is divided into four layers, from top to bottom respectively application layer, answered
With process block rack-layer, (Android runtime) and system library and inner nuclear layer when Android is run.
Application layer may include a series of application packages.
As shown in figure 3, application package may include phone, camera, and picture library, calendar, call, map, navigation, WLAN,
Bluetooth, music, video, the application programs such as short message.
Application framework layer provides Application Programming Interface (application for the application program of application layer
Programming interface, API) and programming framework.Application framework layer includes some functions predetermined.
As shown in figure 3, application framework layer may include window manager, Content Provider, view system, phone pipe
Manage device, resource manager, notification manager etc..
Window manager is for managing window writing routine.The available display screen size of window manager, judges whether there is shape
State column, lock-screen, screen printing etc..
Content Provider is used to store and obtains data, and accesses these data by application program.The data
It may include video, image, audio, the phone dialed and answered, browsing history and bookmark, telephone directory etc..
View system includes visible controls, such as the control of display text, shows the control etc. of picture.View system is available
In building application program.What display interface can be made of one or more views.E.g., including the display of short massage notice icon
Interface may include the view for showing text and the view for showing picture.
Telephone supervisor is for providing the communication function of electronic equipment 100.Such as talking state management (including connect,
It hangs up).
Resource manager provides various resources, such as localized strings for application program, icon, picture, topology file,
Video file etc..
Notification manager allows application program to show notification information in status bar, can be used for conveying and informs type
Message, can be to disappear, without user's interaction automatically after short stay.For example notification manager be used to inform that downloading is completed, and disappear
Breath prompting etc..Notification manager, which can also be, appears in the logical of system head status bar with chart or scroll bar textual form
Know, for example, running background application program notice, can also be occur notice on the screen in the form of dialog box.Such as
Text information is prompted in status bar, issues prompt tone, vibration of electronic equipment, indicator light flashing etc..
Android Runtime includes core library and virtual machine.Android runtime be responsible for Android system scheduling and
Management.
Core library includes two parts: a part is the power function that java language needs to call, and another part is Android
Core library.
Application layer and application framework layer operate in virtual machine.Virtual machine is by application layer and application program
It is binary file that the java file of ccf layer, which executes,.Virtual machine is used to execute the management of Object Life Cycle, stack management, line
Thread management, safety and the functions such as abnormal management and garbage reclamation.
System library may include multiple functional modules.Such as: surface manager (surface manager), media library
(Media Libraries), three-dimensional graph process library (such as: OpenGL ES), 2D graphics engine (such as: SGL) etc..
Surface manager provides 2D and 3D figure layer for being managed to display subsystem for multiple application programs
Fusion.
Media library supports a variety of common audios, video format playback and recording and static image file etc..Media library
It can support a variety of audio/video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG etc..
Three-dimensional graph process library is for realizing 3-D graphic drawing, image rendering, synthesis and figure layer process etc..
2D graphics engine is the drawing engine that 2D draws.
Inner nuclear layer is the layer between hardware and software.Inner nuclear layer includes at least display driving, webcam driver, and audio is driven
It is dynamic, sensor driving.
In the prior art, the guidance animation in terminal system is usually that read-only storage is stored in the form of sequence frame image
In device (Read Only Memory, ROM), general animation may be comprising several frames even image of tens frames.Assuming that every frame figure
Picture size dimension is identical, and storage size is M kb, frame number N, then it is (M*N) kb that entire fingerprint animation, which occupies ROM size,.By
The pixel in most of region of the adjacent two field pictures in front and back is all identical in most of animation, and different pixel portion often accounts for
Compare very little.If removing the same pixel part in consecutive frame, do not consider that the byte in image digitization coding head occupies, it is theoretical
On total size can be optimized to (M+ (M/10) * (N-1)) kb.For this purpose, the embodiment of the present application provides a kind of image processing method,
This method may be implemented server side and animation be pre-processed into one or more merging images and configuration file, work as terminal side
Obtained after the one or more merges image and configuration file from server side, the animation can be restored, because of one or
Multiple merging images and configuration file are compared sequence frame image occupancy ROM and are significantly reduced, so can save to a certain extent
ROM Space.
For example, when the setting menu that user enters mobile phone adds new fingerprint, user often presses one on fingerprint key
It is secondary, it can all be corresponded on mobile phone interface and play a fingerprint animation, which is made of multiframe sequence frame image, such as Fig. 4
Shown, which includes continuous ten frames image, and the implementation of the prior art is usually by ten frames of the fingerprint animation
Image is stored in the ROM, more committed memory.In the embodiment of the present application, the first electronic equipment can be in advance to the fingerprint animation
In ten frame images handled, generate multiple mergings images and a configuration file, the first electronic equipment and then by multiple conjunctions
And image and a configuration file are sent to the second electronic equipment, so that the second electronic equipment restores the fingerprint animation.Example
Property, ten frame images can be cut into multiple block of pixels by the first electronic equipment in the same fashion, then successively be compared
Whether a later frame image and the block of pixels of the same position in neighbouring previous frame image are different.As shown in figure 5, the figure in Fig. 5
5a is the different block of pixels (picture in box that the second frame image and the first frame image comparison in fingerprint animation are determined later
Plain block is different block of pixels), Fig. 5 b is that the third frame image and the second frame image comparison in fingerprint animation are determined later
Different block of pixels (block of pixels is different block of pixels in box), and so on, until, Fig. 5 c is the in fingerprint animation
(block of pixels is different pixel to the different block of pixels determined after nine frame images and the 8th frame image comparison in box
Block), Fig. 5 d be the different block of pixels determined after the tenth frame image and the 9th frame image comparison in fingerprint animation (just
Block of pixels is different block of pixels in frame).
Further, the block of pixels write-in in the box determined is included merging in image by the first electronic equipment, should
Merge all pixels block that image includes first frame image in advance.In this way, finally just generating the institute including first frame image
There is the block of pixels in block of pixels and all boxes, it is shown in Figure 6, while configuration file has recorded and merges each of image
Block of pixels is the block of pixels of which frame, and respectively in the position of these frames, in this way, the second electronic equipment is according to the configuration file
The fingerprint animation can be restored with the merging image.
Below with reference to attached drawing and application scenarios, it is situated between in detail to image processing method provided by the embodiments of the present application
It continues.Following embodiment can be realized in the electronic equipment 100 with above-mentioned hardware configuration.
Referring to Fig. 7, the process of the first image processing method provided by the embodiments of the present application, the party are illustratively shown
Method is executed by the first electronic equipment.Wherein, the first electronic equipment can be the equipment such as mobile phone, tablet computer, personal computer.
Step 201, the N frame original image in animation is divided into M picture by the first electronic equipment in the same fashion
Plain block.
Illustratively, as shown in figure 8, the first electronic equipment is by first frame image, the second frame image and the third in animation
Frame image is divided into 24 block of pixels in the same way, and wherein the position of the block of pixels in different frame image is identical, such as
The coordinate position of the block of pixels a2 of the coordinate position and the second frame of the block of pixels A of first frame is identical, and the pixel with third frame
The coordinate position of block a3 is identical, and the coordinate position of the block of pixels b2 of the block of pixels B and the second frame of first frame is identical, and and third
The coordinate position of the block of pixels b3 of frame is identical, and so on.Such as it says, the index value and second of the block of pixels A of first frame
The index value of the block of pixels a2 of frame is identical, and identical with the index value of block of pixels a3 of third frame.
Step 202, the first electronic equipment writes M block of pixels of the first frame original image in the N frame original image
Enter into merging image.Wherein, M block of pixels is all pixels block of first frame original image.
Merge in image for example, 24 block of pixels in the first frame image in Fig. 8 are written to.
Step 203, the first electronic equipment is directed to k-th frame original image, and the k-th frame original image is that remaining N-1 frame is former
Any one frame original image in beginning image, performs the following operations:
The first block of pixels in k-th frame original image is traversed, when the first block of pixels and the in the k-th frame original image
When the block of pixels difference of the same position in K-1 frame original image, then first block of pixels is written in the merging image,
Otherwise, first block of pixels is not written in the merging image.
When in the k-th frame original image the second block of pixels and the current newest all pixels block merged in image it is equal
When different, then second block of pixels is written in current newest merging image, otherwise, second block of pixels is not written
In current newest merging image.
The third block of pixels in the traversal execution k-th frame original image is returned to, until M in k-th frame original image
Block of pixels all complete by traversal;Wherein, M, N and K are the positive integer greater than 1.
For example with Fig. 8, the first electronic equipment successively traverses this 24 pixels of the a2 to x2 in the second frame image first
Block, wherein block of pixels a2 is identical as the block of pixels A of first frame image, and block of pixels b2 is different from the block of pixels B of first frame image,
Block of pixels b2 is written to by the first electronic equipment to be merged in image, and block of pixels c2 is identical as the block of pixels C of first frame image, pixel
Block d2 is identical as the block of pixels D of first frame image, and so on, until block of pixels x2 is identical as the block of pixels X of first frame image.
B2, g2 and i2 of second frame image are written to by final first electronic equipment to be merged in image.Then, the first electronic equipment is again
Traversing a3 to x3 this 24 block of pixels in third frame image, wherein block of pixels a3 is identical as the block of pixels a2 of the second frame image,
Block of pixels b3 is different from the block of pixels b2 of the second frame image, and block of pixels b3 is written to by the first electronic equipment to be merged in image, as
Plain block c3 is identical as the block of pixels c2 of the second frame image, and block of pixels d3 is identical as the block of pixels d2 of the second frame image, and so on,
Until block of pixels x3 is identical as the block of pixels x2 of the second frame image.Final first electronic equipment by b3, g3 of third frame image,
I3, j3, o3 and r3, which are written to, to be merged in image.The merging image ultimately generated in this way, as shown in figure 8, merging the picture in image
Plain block include b3, g3 of the A to X of first frame image and b2, g2 and i2 of the second frame image and third frame image, i3,
J3, o3 and r3.
It should be noted that the N frame original image in the embodiment of the present application image can be able to be various types of images, example
Such as RGB image;YUV image, RGBA image and YUVA image etc..RGB image includes: red R component, green G component and blue B
Component.The RGBA image includes: red R component, green G component, blue B component and transparency A component.YUV image includes:
Luminance Y component, color difference U component and color difference V component.YUVA image include: luminance Y component, color difference U component, color difference V component and thoroughly
Lightness A component.Because each component represents the data value (and can be referred to as component value) of pixel some dimension, these
Component group constitutes pixel value, so the first electronic equipment is compared the pixel value of different pixels block in the embodiment of the present application
Compared with if wherein the pixel value of any one or more components is different, block of pixels is different.
Step 204, the first electronic equipment generates configuration file, and the configuration file includes: the merging image ultimately produced
In each block of pixels serial number and original image serial number corresponding relationship, and each pixel in the merging image that ultimately produces
Location information of the block in corresponding original image.
Illustratively, the first electronic equipment distributes an index value to the position of each block of pixels, for Fig. 8, from
Left to bottom right, index value is followed successively by (1,1), (1,2)~(Isosorbide-5-Nitrae), (2,1), (2,2)~(2,4), to the last one (6,
4).For example, the index value of the position of block of pixels b2 is (2,2), the index value of the position of block of pixels g2 is (2,3), block of pixels i2
Position index value be (3,1).The configuration file that such first electronic equipment ultimately generates includes: to merge in image in Fig. 8
Each block of pixels and first frame image, the corresponding relationship of the second frame image and third frame image and each block of pixels with
Index value in its corresponding image.Specifically, configuration file includes: the block of pixels A and first frame merged in image in Fig. 8
Image, the second frame image and third frame image are corresponding, and block of pixels A it is corresponding be first frame image pixel A index value,
Pixel A is corresponding be the second frame image block of pixels a2 index value, and block of pixels A it is corresponding be third frame image block of pixels
The index value of a3, the block of pixels B merged in image in Fig. 8 is corresponding with first frame image, and it is first frame that block of pixels B is corresponding
The index value of the pixel B of image, and so on, until, the block of pixels r3 merged in image in Fig. 8 is opposite with third frame image
Answer, and block of pixels r3 it is corresponding be third frame image pixel r3 index value.
In a kind of possible design, when the first electronic equipment is personal computer, the first electronic equipment can be direct
The merging image and configuration file that ultimately generate are sent to the second electronic equipment, the second electronic equipment can also received
When call request, the merging image and configuration file that ultimately generate are sent to the second electronic equipment, in order to which the second electronics is set
It is standby to restore animation.When the first electronic equipment is mobile phone or tablet computer, the first electronic equipment can to the second electronics
The animation of collaborative share is processed into according to the method described above merges image and configuration file, and by the merging image ultimately generated and matches
It sets file and is sent to the second electronic equipment, to save the ROM Space of the second electronic equipment.
For supplement, in step 201, it can be rectangular block that the first electronic equipment, which divides the block of pixels generated, and according to
Need to adjust the size of the block of pixels of different animations, i.e. the first electronic equipment there should be dynamic configuration energy to the size of block of pixels
Power, such first electronic equipment by dynamic adjust pixel block size, sequence frame image is divided, can make entirely be
The income acquired to sequence frame processing of uniting reaches best.In general, block of pixels is smaller, and comparison accuracy is higher;Due to picture
Plain block is smaller, and the pixel number of blocks that whole image divides can be more, causes the configuration information amount for describing corresponding relationship more,
Increase configuration file, comprehensive income relative reduction.So the first electronic equipment needs while guaranteeing accuracy, also to make
The configuration information amount for describing corresponding relationship is as few as possible.Assuming that the configuration information amount for describing corresponding relationship is known as " cost ", shadow
The factor for ringing " cost " has similarity, frame number between the resolution ratio of sequence frame image, sequence frame etc., according to these parameters, into
Row calculates, and can find out the optimal value of a pixel block size.And the width in configuration file including image, height, block of pixels
Size, the information such as frame number of animation.
In addition, it is necessary to explanation, it is identical that M block of pixels in a frame image can be size, is also possible to size
It is different.Assuming that the resolution ratio of sequence frame image is W*H, then divide pixel number of blocks, be laterally ω 1=W/N (it is aliquant, to
Lower rounding), longitudinal is ω 2=W/H (aliquant, to be rounded downwards);When W/N or H/N calculated result is not integer, according to cutting
Divider is then, it may appear that the case where ω 1*N < W (or ω 2*N < H), i.e., after block of pixels rearranges, overall width is less than sequence frame image
Width (or total height is less than sequence frame picture altitude).Referring to Fig. 9, when sequence frame region, which is unable to integral multiple, to be divided, such as scheme
Shown in 9a, width and height can not integral multiple divisions in Fig. 9 a.It to remaining area, is aligned with right margin, is expanded from right to left
Exhibition continues to mark off a column, rectangular area shown in the following right side Fig. 9 b using block of pixels as basic unit.
It is worth noting that in step 204, the configuration file that the embodiment of the present application generates is generally JSON format.It removes
Except this, it can also be the formats such as JSON, XML, developer is that configuration file is kept to have enough compression ratios, can also voluntarily be set
Count format.Configuration file and merging image can be sent to the second electronic equipment, be stored on the second electronic equipment, can also incite somebody to action
Configuration file is stored on the first electronic equipment, electric to first when the second electronic equipment needs playing animation, then through network
Sub- equipment sends request, the merging image for obtaining configuration file from the first electronic equipment and ultimately generating.In contrast, it will configure
File and merging image are stored on the first electronic equipment, can reduce the ROM sky for occupying the second electronic equipment to greatest extent
Between.
In a kind of possible design, when the original image quantity of animation is more or sequence frame between similarity too
Low, the merging image that will lead to the generation of the first electronic equipment is larger, this can directly result in the second electronic equipment when restoring animation,
Load for the first time merges image time-consuming can be bigger, influences animation play effect.For this purpose, multiframe conjunction can be generated in the first electronic equipment
And image, it includes partial pixel block that every frame, which merges image, and such second electronic equipment is in initial play animation, it is only necessary to add
Initial animation broadcasting can be completed by carrying part merging image, and during animation play, the second electronic equipment can be continuous
It loads remaining subsequent each frame and merges image.Become smaller as individually merging ROM Space shared by image, so the second electronic equipment adds
The time-consuming for being downloaded to memory will be reduced, to promote animation loading efficiency.
In a kind of possible design, when the first electronic equipment is PC
Referring to Figure 10, the process of second of image processing method provided by the embodiments of the present application is illustratively shown, it should
Method is executed by the second electronic equipment side.
Step 301, the merging image for obtaining configuration file from the first electronic equipment and ultimately generating, the configuration file packet
Include: what is ultimately generated merges the first corresponding relationship of the serial number of the serial number and original image of each block of pixels in image, and most
Throughout one's life at merge the second corresponding relationship between each block of pixels and the location information of corresponding original image in image.
Step 302, according to first corresponding relationship, determination is original with N frame from the merging image ultimately generated
The corresponding M target pixel block of N group of the serial number of image.
Step 303, according to second corresponding relationship, determine described every group of M target pixel block in corresponding original graph
The location information of picture.
Step 304, every group of M target pixel block described in permutation and combination according to the positional information, it is original to generate the N frame
Image, and animation is restored according to the N frame original image.
Illustratively, it is assumed that the second electronic equipment obtains the merging image in Fig. 8, Yi Jiyu from the first electronic equipment first
The corresponding configuration file of merging image.Then the second electronic equipment is according to the first corresponding relationship in configuration file, from merging
It determines that block of pixels corresponding with first frame image has block of pixels A to block of pixels X in image, and is determined from merging in image
Block of pixels corresponding with the second frame image has block of pixels A, block of pixels b2, block of pixels C, the fast D of pixel to block of pixels f, block of pixels g2,
Block of pixels H to block of pixels X.And so on, until determining that block of pixels corresponding with third frame image has picture from merging in image
Plain block A to block of pixels F, block of pixels g3, block of pixels H, block of pixels i3, block of pixels j3, block of pixels H to block of pixels N, block of pixels o3,
Block of pixels P to block of pixels Q, block of pixels r3, block of pixels S to block of pixels X.Further, the second electronic equipment is according to configuration file
In the second corresponding relationship, determine that corresponding with first frame image block of pixels has block of pixels A to block of pixels X in first frame image
Location information, such as index value is followed successively by (1,1), (1,2)~(Isosorbide-5-Nitrae), (2,1), (2,2)~(2,4).And determine with
Location information of corresponding 24 block of pixels of second frame image in the second frame image, and so on, until determining and third frame
Location information of corresponding 24 block of pixels of image in third frame image.
Further, the second electronic equipment is according to location information, and permutation and combination is at first frame image, the second frame image and
Three frame images finally just restore animation according to first frame image, the second frame image and third frame image in this way.
It says for another example, corresponding relationship in the second electronic equipment merging image according to figure 6 and configuration file, just
The 1st frame to the 10th frame image shown in Fig. 4 can be restored, the fingerprint of 10 frame images composition as shown in Figure 4 is finally restored
Animation.The 10 frame images restored can be stored in random access memory (Random Access by the second electronic equipment
Memory, RAM) in.
Referring to Figure 11, the process of the third image processing method provided by the embodiments of the present application is illustratively shown, it should
Method is executed by the first electronic equipment.
Step 401, the N frame original image in animation is divided into M block of pixels in the same fashion.
Illustratively, as shown in figure 12, the first electronic equipment is by first frame image, the second frame image, third in animation
Frame image and the 4th frame image are divided into 24 block of pixels in the same way.
Step 402, M block of pixels of any one frame original image in the N frame original image is written to merging figure
As in.
Merge in image for example, 24 block of pixels in the first frame image in Figure 12 are written to.
Step 403, remaining N-1 frame original image is traversed, is held for each original image in the N-1 frame original image
Row setting operation, the setting operation include:
The first block of pixels in the first image is traversed, when the first block of pixels in the first image merges image with described
In all pixels block it is different when, then will be in first block of pixels write-in merging image, otherwise, not by described first
Block of pixels is written in the merging image.
When all pixels block in the second block of pixels and current newest merging image in the first image is different
When, then second block of pixels is written in current newest merging image, otherwise, second block of pixels is not written current
In newest merging image.The third block of pixels in traversal execution the first image is returned to, until M picture in the first image
Plain block all complete by traversal.
The third block of pixels executed in the second image in the N-1 frame original image is returned according to the setting operation,
When the third block of pixels and the different all pixels block in current newest merging image in second image, then by institute
It states third block of pixels to be written in current newest merging image, otherwise, current newest conjunction is not written into the third block of pixels
And in image;The 4th block of pixels executed in second image is returned to, until M block of pixels in the second image all traverses
It completes.
The M block of pixels executed in the third image in the N-1 frame original image is returned to according to the setting operation, directly
All image traversals into N-1 frame original image are completed.
For example with Figure 12, the first electronic equipment successively traverses this 24 pixels of the a2 to x2 in the second frame image first
Block, wherein the first electronic equipment compared pixels block a2 is identical as the current block of pixels A of image that merges, and the first electronic equipment will not
Block of pixels a2, which is written to, to be merged in image, and records this information (block of pixels a2 in the second frame image and current in configuration file
The newest block of pixels A for merging image is identical);First electronic equipment compared pixels block b2 with currently merge all pixels of image
Block is all different, and block of pixels b2 is written to by the first electronic equipment to be merged in image, and records the second frame image in configuration file
In block of pixels b2 in the location information for merging image, it is at this moment current newest to merge in image in addition to including first frame image
All pixels block further includes block of pixels b2;First electronic equipment compared pixels block c2 with currently merge the block of pixels C phase of image
Together, block of pixels c2 is not written to and merges in image by the first electronic equipment, and records this information (the second frame image in configuration file
In block of pixels c2 it is identical as current newest the mergings block of pixels C of image), and so on, up to the first electronic equipment compares
X2 is identical as the current newest merging block of pixels X of image, and block of pixels x2 is not written to by the first electronic equipment to be merged in image,
And this information (block of pixels x2 in the second frame image and the current newest block of pixels X phase for merging image are recorded in configuration file
Together).
Further, the first electronic equipment successively traverses a3 to x3 this 24 block of pixels in third frame image again, with
And the 4th a4 to x4 this 24 block of pixels in frame image.Specific processing mode is similar with the second frame image, and details are not described herein.
In this way, the merging image that the first electronic equipment ultimately generates is as shown in figure 13, merge in image in addition to including first
The all pixels block of frame image further includes block of pixels b2, block of pixels g2, block of pixels i2, block of pixels g34, block of pixels r4.
Step 404, configuration file is generated, the configuration file includes: each block of pixels in the merging image ultimately produced
Serial number and original image serial number corresponding relationship, and in the merging image that ultimately produces each block of pixels corresponding
Location information in original image.
Illustratively, the first electronic equipment is to each pixel merged in image and four frame original images being newly generated
An index value is all distributed in the position of block, for Figure 12, from left to bottom right, and the rope of each block of pixels of four frame original images
Draw value and is followed successively by (1,1), (1,2)~(Isosorbide-5-Nitrae), (2,1), (2,2)~(2,4), to the last one (6,4).For example, block of pixels
The index value of the position of b2 is (2,2), and the index value of the position of block of pixels g2 is (2,3), the index value of the position of block of pixels i2
For (3,1).The configuration file that such first electronic equipment ultimately generates includes: every in the merging image ultimately generated in Figure 13
Corresponding relationship and each pixel of a block of pixels and first frame image, the second frame image, third frame image and the 4th frame image
Index value of the block in corresponding image.Specifically, configuration file includes: the block of pixels A merged in image in Figure 13
It is corresponding with first frame image, the second frame figure, third frame image and the 4th frame image, and it is first frame figure that block of pixels A is corresponding
The index value of the pixel A of picture, pixel A is corresponding be the second frame image block of pixels a2 index value, and block of pixels A is corresponding is
The index value of the block of pixels a3 of third frame image, and block of pixels A it is corresponding be the 4th frame image block of pixels a4 index value.Figure
Merge in 13 in image block of pixels B is corresponding with first frame image, the second frame image and the 4th frame image are relative to and pixel
Block B is corresponding be first frame image pixel B index value and it is corresponding be third frame image pixel b3 index value,
And it is corresponding be the 4th frame image b4 index value, and so on, until, the block of pixels X4 and the in image is merged in Figure 13
One frame image, the second frame image, third frame image and the 4th frame image are corresponding, and it is first frame image that block of pixels x4 is corresponding
Pixel X index value and the second frame image pixel x2 index value and third frame image pixel x3 index
The index value of the pixel x4 of value and the 4th frame image.
In a kind of possible design, merging image and configuration file that the first electronic equipment will can be ultimately generated directly
It is sent to the second electronic equipment, it can also be when receiving the call request of the second electronic equipment, the merging figure that will ultimately generate
Picture and configuration file are sent to the second electronic equipment, in order to which the second electronic equipment restores animation.
For supplement, the first electronic equipment can be written to from all pixels block of any one frame image of four frame image selections
Merge in image, the first electronic equipment is in addition to can choose the block of pixels of frame image and the institute merged in image that is newly generated
There is block of pixels to compare, also can choose and do the block of pixels of frame image and all pixels block in the frame image that comparison is completed
Compare, in contrast, the selection of the first electronic equipment is by the block of pixels of frame image and all pictures merged in image that are newly generated
Plain block compares the number that can reduce comparison, also may be implemented that identical pixel is not present in the merging image ultimately generated
Block can maximally reduce and merge the occupied ROM Space of image.
In a kind of possible design, merging image and configuration file that the first electronic equipment will can be ultimately generated directly
It is sent to the second electronic equipment, it can also be when receiving the call request of the second electronic equipment, the merging figure that will ultimately generate
Picture and configuration file are sent to the second electronic equipment, in order to which the second electronic equipment restores animation.
It should be noted that in step 401, the first electronic equipment divides the mode of the block of pixels generated, configuration file
Format it is identical as the realization of first method, details are not described herein.
In a kind of possible design, when the original image quantity of animation is more or sequence frame between similarity too
Low, the merging image that will lead to the generation of the first electronic equipment is larger, this can directly result in the second electronic equipment when restoring animation,
Load for the first time merges image time-consuming can be bigger, influences animation play effect.For this purpose, multiframe conjunction can be generated in the first electronic equipment
And image, it includes partial pixel block that every frame, which merges image, and such second electronic equipment is in initial play animation, it is only necessary to add
Initial animation broadcasting can be completed by carrying part merging image, and during animation play, the second electronic equipment can be continuous
It loads remaining subsequent each frame and merges image.Become smaller as individually merging ROM Space shared by image, so the second electronic equipment adds
The time-consuming for being downloaded to memory will be reduced, to promote animation loading efficiency.
Similarly, after the second electronic equipment obtains configuration file and the merging image that ultimately generates from the first electronic equipment,
Process such as figure Figure 10 of reduction animation shows that second of image processing method process is consistent, and details are not described herein.
Referring to Figure 14, the process of the 4th kind of image processing method provided by the embodiments of the present application is illustratively shown, it should
Method is executed by the first electronic equipment.
Step 501, the N in animation original images are divided into M block of pixels in the same fashion.
Step 502, M block of pixels of the first image is written to and is merged in image, wherein the first image is the N frame
Any one frame original image in original image.
For example, the first image is the first frame image in Figure 12, the first electronic equipment will be in the first frame image in Figure 12
24 block of pixels be written to merge image in.
Step 503, remaining N-1 frame original image is traversed, is held for each original image in the N-1 frame original image
Row setting operation, the setting operation include:
The first block of pixels in the second image is traversed, when in the first block of pixels and the first image in second image
When all pixels block is different, then first block of pixels is written in the merging image, otherwise, not by first pixel
Block is written in the merging image.
When the second block of pixels and the different all pixels block in the first image in the second image, then by described second
Block of pixels is written in current newest merging image, otherwise, current newest merging image is not written in second block of pixels
In.The third block of pixels in traversal execution second image is returned to, until M block of pixels in the second image has all traversed
At.
The 4th block of pixels executed in the third image in the N-1 frame original image is returned according to the setting operation,
All pixels block in the 4th block of pixels in the third image and all pixels block and the second image in the first image
When different, then the 4th block of pixels are written in current newest merging image, otherwise, the 4th block of pixels do not write
Enter in current newest merging image;The 5th block of pixels executed in the third image is returned to, until the M in third image
Block of pixels all complete by traversal.
The M block of pixels executed in the 4th image in the N-1 frame original image is returned to according to the setting operation, directly
All image traversals into N-1 frame original image are completed.
For example with Figure 12, the first electronic equipment successively traverses this 24 pixels of the a2 to x2 in the second frame image first
Block, wherein whether the first electronic equipment compared pixels block a2 is identical as all pixels block of first frame image, determines pixel
Block a2 is identical as the block of pixels A of first frame image, and block of pixels a2 is not written to by the first electronic equipment to be merged in image, and is being matched
Set this information of file record (the block of pixels a2 in the second frame image is identical as the block of pixels A of first frame image);First electronics is set
Standby compared pixels block b2 and all pixels block of the block of pixels of first frame image are all different, and the first electronic equipment is by block of pixels b2
Be written to merge image in, and configuration file record the second frame image in block of pixels b2 merge image location information,
It at this moment further include block of pixels b2 in addition to all pixels block including first frame image in current newest merging image;First electricity
Block of pixels c2 compared with all pixels block of first frame image, is determined the picture of block of pixels c2 Yu first frame image by sub- equipment
Plain block C is identical, and block of pixels c2 is not written to by the first electronic equipment to be merged in image, and records this information (the in configuration file
Block of pixels c2 in two frame images is identical as the block of pixels C of first frame image), and so on, until the first electronic equipment compares
X2 is identical as the block of pixels X in first frame image, and block of pixels x2 is not written to by the first electronic equipment to be merged in image, and is being matched
Set this information of file record (the block of pixels X of the block of pixels x2 first frame image in the second frame image is identical).
Further, the first electronic equipment successively traverses a3 to x3 this 24 block of pixels in third frame image again,
In, whether the first electronic equipment compared pixels block a2 is identical as all pixels block of first frame image and the second frame image, determines
Block of pixels a3 is identical as the block of pixels A (or block of pixels a2) of first frame image out, and the first electronic equipment is not write block of pixels a3
Enter into merging image, and records this information (picture of block of pixels a3 and first frame image in third frame image in configuration file
Plain block A is identical);Block of pixels b3 is compared by the first electronic equipment with all pixels of first frame image and the second frame image,
Block of pixels b3 is identical as the block of pixels b2 in the second frame image, and block of pixels b3 is not written to merging image by the first electronic equipment
In, and record this information in configuration file (the block of pixels b3 in third frame image is identical as the block of pixels B of first frame image);Directly
Compare that x3 is identical as the block of pixels X in first frame image, and the first electronic equipment block of pixels x3 is not written to the first electronic equipment
Into merging image, and this information (block of pixels X of the block of pixels x3 first frame image in third frame image is recorded in configuration file
It is identical).
And so on and the 4th frame image in a4 to x4 this 24 block of pixels.Specific processing mode is with above, herein
It repeats no more.
In this way, the merging image that the first electronic equipment ultimately generates is as shown in figure 15, merge in image in addition to including first
The all pixels block of frame image further includes block of pixels b2, block of pixels g2, block of pixels i2, block of pixels g3, block of pixels i3, block of pixels
r4。
Step 404, the first electronic equipment generates configuration file, and the configuration file includes: the merging image ultimately produced
In each block of pixels serial number and original image serial number corresponding relationship, and each pixel in the merging image that ultimately produces
Location information of the block in corresponding original image.
Illustratively, the first electronic equipment is to each pixel merged in image and four frame original images being newly generated
An index value is all distributed in the position of block, for Figure 12, from left to bottom right, and the rope of each block of pixels of four frame original images
Draw value and is followed successively by (1,1), (1,2)~(Isosorbide-5-Nitrae), (2,1), (2,2)~(2,4), to the last one (6,4).For example, block of pixels
The index value of the position of b2 is (2,2), and the index value of the position of block of pixels g2 is (2,3), the index value of the position of block of pixels i2
For (3,1).The configuration file that such first electronic equipment ultimately generates includes: every in the merging image ultimately generated in Figure 15
Corresponding relationship and each pixel of a block of pixels and first frame image, the second frame image, third frame image and the 4th frame image
Index value of the block in corresponding image.Specifically, configuration file includes: the block of pixels A merged in image in Figure 15
It is corresponding with first frame image, the second frame image, third frame image and the 4th frame image, and it is first frame that block of pixels A is corresponding
The index value of the pixel A of image, pixel A is corresponding be the second frame image block of pixels a2 index value, and block of pixels A is corresponding
The index value of the block of pixels a3 of third frame image, and block of pixels A it is corresponding be the 4th frame image block of pixels a4 index value.
Merge in Figure 15 in image block of pixels B is corresponding with first frame image, the second frame image and the 4th frame image are corresponding, and picture
Plain block B is corresponding be first frame image pixel B index value and it is corresponding be third frame image pixel b3 index
Value and it is corresponding be the 4th frame image b4 index value, and so on, until, in Figure 13 merge image in block of pixels X4
It is corresponding with first frame image, the second frame image, third frame image and the 4th frame image, and it is first frame that block of pixels x4 is corresponding
The rope of the pixel x3 of the index value and third frame image of the pixel x2 of the index value of the pixel X of image and the second frame image
Draw the index value of the pixel x4 of value and the 4th frame image.
In a kind of possible design, merging image and configuration file that the first electronic equipment will can be ultimately generated directly
It is sent to the second electronic equipment, it can also be when receiving the call request of the second electronic equipment, the merging figure that will ultimately generate
Picture and configuration file are sent to the second electronic equipment, in order to which the second electronic equipment restores animation.
For supplement, the first electronic equipment can be written to from all pixels block of any one frame image of four frame image selections
Merge in image, the first electronic equipment is in addition to can choose the block of pixels of frame image and the institute merged in image that is newly generated
There is block of pixels to compare, also can choose and do the block of pixels of frame image and all pixels block in the frame image that comparison is completed
Compare, in contrast, the selection of the first electronic equipment is by the block of pixels of frame image and all pictures merged in image that are newly generated
Plain block compares the number that can reduce comparison, also may be implemented that identical pixel is not present in the merging image ultimately generated
Block can maximally reduce and merge the occupied ROM Space of image.
In a kind of possible design, merging image and configuration file that the first electronic equipment will can be ultimately generated directly
It is sent to the second electronic equipment, it can also be when receiving the call request of the second electronic equipment, the merging figure that will ultimately generate
Picture and configuration file are sent to the second electronic equipment, in order to which the second electronic equipment restores animation.
It should be noted that in step 501, the first electronic equipment divides the mode of the block of pixels generated, configuration file
Format it is identical as the realization of first method, details are not described herein.
The embodiment can reduce merging image compared to first method provided by the embodiments of the present application to a certain extent
Size, but compared to the second method of the embodiment of the present application, thereby increases and it is possible to which there are same block of pixels, phases in merging image
Comparatively, the ROM minimum for merging image and occupying that second method generates, saves space-efficient Income Maximum.
The embodiment of the present application also provides a kind of image processing system, and the system is by the first electronic equipment and the second electronic equipment
Composition, as shown in figure 16, wherein including image merging module 601 in the first electronic equipment, the second electronic equipment includes sequence frame
Recovery module 602 and animation play module 603.
Wherein, merging module 601, for according to the first image processing method provided by the embodiments of the present application, the third
Image processing method or the 4th kind of image processing method, the sequence frame image procossing of animation is literary at image and configuration is merged
Part.
Sequence frame recovery module 602 is used for according to second of image processing method provided by the embodiments of the present application, according to conjunction
And image and configuration file restore to obtain multiframe original image.
Animation play module 603, for reading the multiframe original image of the output of sequence frame recovery module 602, according to demand
Multiframe original image is packaged into sequence frame animation.
As it can be seen that the second electronic equipment, which only needs to configure file and merges image, can restore animation, compared to existing
Technology directly passes through poll play sequence frame, occupies ROM Space and significantly reduces.
Wherein, sequence frame recovery module 602 and play processing module 603 can be executed according to sequencing, i.e. sequence frame
Recovery module 602 first restores all sequences frame, and play processing module 603 reuses traditional sequence frame technique, to sequence frame
Animation is handled, and advantage of this is that the compatibility with conventional sequence frame technique preferably.In addition, sequence frame recovery module
602 synchronous with play processing module 603 can also execute, as soon as sequence frame recovery module 602 often restores frame, output is to broadcasting
Processing module 603, because the two modules can be run simultaneously, and then can avoid because " sequence frame recovery module " handle time compared with
It is long, there is the problem of animation play waiting, interactivity is more friendly.
Image processing method provided by the embodiment of the present application can be applied to related to sequence frame animation in mobile phone and broadcast
The scene put can save a large amount of ROM Spaces using the technology for mobile phone, and saved space runs other heavy convenient for system
The function of wanting.
A kind of computer readable storage medium is also provided in the embodiment of the present application, the computer readable storage medium includes
Computer program, when computer program is run on an electronic device, so that the electronic equipment executes above- mentioned information processing side
Any one possible realization of method.
It includes computer program product that the embodiment of the present application, which also provides a kind of, when the computer program product is set in electronics
When standby upper operation, so that the electronic equipment executes any one the possible realization of above- mentioned information processing method.
In other embodiments of the application, the embodiment of the present application discloses a kind of first electronic equipment, such as Figure 17 institute
Show, which may include: processor 701;Memory 702;And one or more computer programs 703, on
Stating each device can be connected by one or more communication bus 704.
Wherein the one or more computer program 703 is stored in above-mentioned memory 702 and is configured as processed
Device 701 executes, which includes instruction, and above-metioned instruction can be used for executing such as Fig. 7, Tu11He
Each step in the corresponding embodiment of Figure 14.Specifically, processor 701 is used to execute the step 201 and step 204 in Fig. 7, place
Reason device 701 is used to execute the step 401 and step 404 in Figure 11, and processor 701 is used to execute step 501 and step in Figure 14
Rapid 504.The merging image and configuration file that processor 701 generates are stored in memory 702.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description
It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper
It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete
All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before can referring to
The corresponding process in embodiment of the method is stated, details are not described herein.
Each functional unit in each embodiment of the embodiment of the present application can integrate in one processing unit, can also be with
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present application
Substantially all or part of the part that contributes to existing technology or the technical solution can be with software product in other words
Form embody, which is stored in a storage medium, including some instructions use so that one
It is each that computer equipment (can be personal computer, the first electronic equipment or the network equipment etc.) or processor execute the application
The all or part of the steps of a embodiment the method.And storage medium above-mentioned include: flash memory, mobile hard disk, only
Read the various media that can store program code such as memory, random access memory, magnetic or disk.
The above, the only specific embodiment of the embodiment of the present application, but the protection scope of the embodiment of the present application is not
It is confined to this, any change or replacement in the technical scope that the embodiment of the present application discloses should all be covered and implement in the application
Within the protection scope of example.Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the described claims.
Claims (10)
1. a kind of image processing method is applied to the first electronic equipment, which is characterized in that the described method includes:
N frame original image in animation is divided into M block of pixels in the same fashion;
M block of pixels of the first frame original image in the N frame original image is written to and is merged in image;
For k-th frame original image, the k-th frame original image is any one frame original graph in remaining N-1 frame original image
Picture performs the following operations:
The first block of pixels in k-th frame original image is traversed, when the first block of pixels and K-1 in the k-th frame original image
When the block of pixels difference of the same position in frame original image, then first block of pixels is written in the merging image, it is no
Then, first block of pixels is not written in the merging image;
When all pixels block in the second block of pixels and current newest merging image in the k-th frame original image is different
When, then second block of pixels is written in current newest merging image, otherwise, second block of pixels is not written current
In newest merging image;
The third block of pixels in the traversal execution k-th frame original image is returned to, until M pixel in k-th frame original image
Block all complete by traversal;Wherein, K is the positive integer greater than 1;
Generate configuration file, the configuration file include: ultimately generate merge image in each block of pixels serial number with it is original
Each block of pixels and corresponding original image in first corresponding relationship of the serial number of image, and the merging image that ultimately generates
In location information between the second corresponding relationship.
2. the method according to claim 1, wherein this method further include:
The configuration file and the merging image ultimately generated are sent to the second electronic equipment.
3. a kind of image processing method is applied to the first electronic equipment, which is characterized in that the described method includes:
N frame original image in animation is divided into M block of pixels in the same fashion;
M block of pixels of any one frame original image in the N frame original image is written to and is merged in image;
Setting operation is executed for each image in the N-1 frame original image, the setting operation includes:
The first block of pixels in the first image is traversed, when the first block of pixels in the first image merges in image with described
When all pixels block is different, then first block of pixels is written in the merging image, otherwise, not by first pixel
Block is written in the merging image;
When the second block of pixels and the different all pixels block in current newest merging image in the first image, then
Second block of pixels is written in current newest merging image, it is otherwise, second block of pixels write-in is current not newest
Merging image in;
The third block of pixels in traversal execution the first image is returned to, until M block of pixels in the first image all traverses
It completes;
The 4th block of pixels executed in the second image in the N-1 frame original image is returned according to the setting operation, works as institute
When stating the 4th block of pixels in the second image and the different current newest all pixels block that merges in image, then by described the
Four block of pixels are written in current newest merging image, otherwise, the current newest merging of the 4th block of pixels write-in are not schemed
As in;
The 5th block of pixels executed in second image is returned to, until M block of pixels in the second image all complete by traversal;
The M block of pixels executed in the third image in the N-1 frame original image is returned to according to the setting operation, until N-
All image traversals in 1 frame original image are completed;
Generate configuration file, the configuration file include: ultimately produce merge image in each block of pixels serial number with it is original
Each block of pixels is in corresponding original image in the corresponding relationship of the serial number of image, and the merging image that ultimately produces
Location information.
4. according to the method described in claim 3, it is characterized in that, this method further include:
The configuration file and the merging image ultimately produced are sent to the second electronic equipment.
5. a kind of image processing method is applied to the first electronic equipment, which is characterized in that the described method includes:
N frame original image in animation is divided into M block of pixels in the same fashion;
M block of pixels of the first image is written to and is merged in image, wherein the first image is in the N frame original image
Any one frame original image;
Setting operation is executed for each original image in the N-1 frame original image, the setting operation includes:
The first block of pixels in the second image is traversed, when the first block of pixels in second image and owning in the first image
When block of pixels is different, then first block of pixels is written in the merging image, otherwise, first block of pixels is not write
Enter in the merging image;
When the second block of pixels and the different all pixels block in the first image in the second image, then by second pixel
Block is written in current newest merging image, otherwise, second block of pixels is not written in current newest merging image.It returns
The third block of pixels in traversal execution second image is returned, until M block of pixels in the second image all complete by traversal;
The 4th block of pixels executed in the third image in the N-1 frame original image is returned according to the setting operation, works as institute
State the 4th block of pixels in third image and all pixels block in all pixels block and the second image in the first image not
Meanwhile then the 4th block of pixels being written in current newest merging image, otherwise, the 4th block of pixels write-in is not worked as
In preceding newest merging image;The 5th block of pixels executed in the third image is returned to, until M pixel in third image
Block all complete by traversal;
The M block of pixels executed in the 4th image in the N-1 frame original image is returned to according to the setting operation, until N-
All image traversals in 1 frame original image are completed;
Generate configuration file, the configuration file include: ultimately produce merge image in each block of pixels serial number with it is original
Each block of pixels is in corresponding original image in the corresponding relationship of the serial number of image, and the merging image that ultimately produces
Location information.
6. according to the method described in claim 5, it is characterized in that, this method further include:
The configuration file and the merging image ultimately produced are sent to the second electronic equipment.
7. a kind of image processing method is applied to the second electronic equipment, which is characterized in that the described method includes:
The merging image for obtaining configuration file from the first electronic equipment and ultimately generating, the configuration file includes: to ultimately generate
The first corresponding relationship for merging the serial number of the serial number and original image of each block of pixels in image, and the merging ultimately generated
The second corresponding relationship in image between each block of pixels and the location information of corresponding original image;
According to first corresponding relationship, the serial number phase with N frame original image is determined from the merging image ultimately generated
Corresponding M target pixel block of N group;
According to second corresponding relationship, determine described every group of M target pixel block in the location information of corresponding original image;
Every group of M target pixel block described in permutation and combination according to the positional information, generates the N frame original image, and according to
The N frame original image restores animation.
8. a kind of first electronic equipment, which is characterized in that including one or more processors and one or more memories;
One or more of memories are coupled with one or more of processors, and one or more of memories are for depositing
Computer program code is stored up, the computer program code includes computer instruction, when one or more of processors execute
When the computer instruction, the electronic equipment executes such as image processing method as claimed in any one of claims 1 to 6.
9. a kind of second electronic equipment, which is characterized in that including processor, read-only memory, random access memory, touch panel,
Display;
The processor is used for the merging image for obtaining configuration file from the first electronic equipment and ultimately generating;The configuration file
It include: the first corresponding relationship for merging the serial number of the serial number and original image of each block of pixels in image ultimately generated, and
What is ultimately generated merges the second corresponding pass in image between each block of pixels and the location information in corresponding original image
System;
It is described to be read-only memory for storing one or more computer programs and the configuration file and the conjunction ultimately generated
And image;
When the touch panel, which will test user, to be acted on the operation of playing animation and be sent to display, the processor root
According to first corresponding relationship, N corresponding with the serial number of N frame original image is determined from the merging image ultimately generated
M target pixel block of group;According to second corresponding relationship, determine described every group of M target pixel block in corresponding original graph
The location information of picture;Every group of M target pixel block described in permutation and combination according to the positional information generates the N frame original graph
Picture, and animation is restored according to the N frame original image;
The random access memory is for storing the N frame original image and the animation;
The display, for showing the animation.
10. a kind of computer storage medium, which is characterized in that the computer readable storage medium includes computer program, when
When computer program is run on an electronic device, so that the electronic equipment executes figure as described in any one of claim 1 to 7
As processing method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811315321.5A CN109559270B (en) | 2018-11-06 | 2018-11-06 | Image processing method and electronic equipment |
PCT/CN2019/115553 WO2020093988A1 (en) | 2018-11-06 | 2019-11-05 | Image processing method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811315321.5A CN109559270B (en) | 2018-11-06 | 2018-11-06 | Image processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109559270A true CN109559270A (en) | 2019-04-02 |
CN109559270B CN109559270B (en) | 2021-12-24 |
Family
ID=65865965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811315321.5A Active CN109559270B (en) | 2018-11-06 | 2018-11-06 | Image processing method and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109559270B (en) |
WO (1) | WO2020093988A1 (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020093988A1 (en) * | 2018-11-06 | 2020-05-14 | 华为技术有限公司 | Image processing method and electronic device |
CN112052050A (en) * | 2020-08-20 | 2020-12-08 | 腾讯科技(深圳)有限公司 | Shared picture generation method, system, storage medium and terminal equipment |
CN112783839A (en) * | 2020-06-08 | 2021-05-11 | 北京金山办公软件股份有限公司 | Method and device for storing document, electronic equipment and storage medium |
CN113110802A (en) * | 2021-04-16 | 2021-07-13 | 维沃移动通信有限公司 | Image block processing method and device, electronic equipment and readable storage medium |
CN113127161A (en) * | 2019-12-30 | 2021-07-16 | 上海仙豆智能机器人有限公司 | Processing engine selection method, processing engine selection device and computer-readable storage medium |
CN113286076A (en) * | 2021-04-09 | 2021-08-20 | 华为技术有限公司 | Shooting method and related equipment |
CN114090168A (en) * | 2022-01-24 | 2022-02-25 | 麒麟软件有限公司 | Self-adaptive adjusting method for image output window of QEMU (QEMU virtual machine) |
CN114463471A (en) * | 2020-10-22 | 2022-05-10 | 华为技术有限公司 | Electronic equipment, prompting method for function setting of electronic equipment and playing method of prompting file |
CN115473957A (en) * | 2021-06-10 | 2022-12-13 | 荣耀终端有限公司 | Image processing method and electronic equipment |
CN116703741A (en) * | 2022-09-27 | 2023-09-05 | 荣耀终端有限公司 | Image contrast generation method and device and electronic equipment |
CN116842117A (en) * | 2023-06-19 | 2023-10-03 | 重庆市规划和自然资源信息中心 | Geous image output method based on geotools for repairing self-intersecting |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114238554A (en) * | 2020-09-09 | 2022-03-25 | 华为技术有限公司 | Text label extraction method |
CN114363697B (en) * | 2022-01-06 | 2024-04-26 | 上海哔哩哔哩科技有限公司 | Video file generation and playing method and device |
CN116389898B (en) * | 2023-02-27 | 2024-03-19 | 荣耀终端有限公司 | Image processing method, device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1074574A (en) * | 1992-01-14 | 1993-07-21 | 国际商业机器公司 | Digital video compression method and device |
CN101031085A (en) * | 2007-03-30 | 2007-09-05 | 中国联合通信有限公司 | Method for processing mobile-terminal frame carboon |
CN103281538A (en) * | 2013-06-06 | 2013-09-04 | 上海交通大学 | Intra-frame coding method based on rolling hush and block-level intra-frame prediction |
CN105025269A (en) * | 2015-07-26 | 2015-11-04 | 杜春辉 | Low-flow image transmission method |
CN106559670A (en) * | 2016-11-07 | 2017-04-05 | 湖南源信光电科技有限公司 | A kind of improved piecemeal video compress perception algorithm |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109559270B (en) * | 2018-11-06 | 2021-12-24 | 华为技术有限公司 | Image processing method and electronic equipment |
-
2018
- 2018-11-06 CN CN201811315321.5A patent/CN109559270B/en active Active
-
2019
- 2019-11-05 WO PCT/CN2019/115553 patent/WO2020093988A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1074574A (en) * | 1992-01-14 | 1993-07-21 | 国际商业机器公司 | Digital video compression method and device |
CN101031085A (en) * | 2007-03-30 | 2007-09-05 | 中国联合通信有限公司 | Method for processing mobile-terminal frame carboon |
CN103281538A (en) * | 2013-06-06 | 2013-09-04 | 上海交通大学 | Intra-frame coding method based on rolling hush and block-level intra-frame prediction |
CN105025269A (en) * | 2015-07-26 | 2015-11-04 | 杜春辉 | Low-flow image transmission method |
CN106559670A (en) * | 2016-11-07 | 2017-04-05 | 湖南源信光电科技有限公司 | A kind of improved piecemeal video compress perception algorithm |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020093988A1 (en) * | 2018-11-06 | 2020-05-14 | 华为技术有限公司 | Image processing method and electronic device |
CN113127161A (en) * | 2019-12-30 | 2021-07-16 | 上海仙豆智能机器人有限公司 | Processing engine selection method, processing engine selection device and computer-readable storage medium |
CN112783839A (en) * | 2020-06-08 | 2021-05-11 | 北京金山办公软件股份有限公司 | Method and device for storing document, electronic equipment and storage medium |
CN112052050A (en) * | 2020-08-20 | 2020-12-08 | 腾讯科技(深圳)有限公司 | Shared picture generation method, system, storage medium and terminal equipment |
CN114463471A (en) * | 2020-10-22 | 2022-05-10 | 华为技术有限公司 | Electronic equipment, prompting method for function setting of electronic equipment and playing method of prompting file |
CN113286076A (en) * | 2021-04-09 | 2021-08-20 | 华为技术有限公司 | Shooting method and related equipment |
CN113110802A (en) * | 2021-04-16 | 2021-07-13 | 维沃移动通信有限公司 | Image block processing method and device, electronic equipment and readable storage medium |
CN113110802B (en) * | 2021-04-16 | 2024-06-04 | 维沃移动通信有限公司 | Image block processing method and device, electronic equipment and readable storage medium |
CN115473957B (en) * | 2021-06-10 | 2023-11-14 | 荣耀终端有限公司 | Image processing method and electronic equipment |
CN115473957A (en) * | 2021-06-10 | 2022-12-13 | 荣耀终端有限公司 | Image processing method and electronic equipment |
CN114090168A (en) * | 2022-01-24 | 2022-02-25 | 麒麟软件有限公司 | Self-adaptive adjusting method for image output window of QEMU (QEMU virtual machine) |
CN116703741B (en) * | 2022-09-27 | 2024-03-15 | 荣耀终端有限公司 | Image contrast generation method and device and electronic equipment |
CN116703741A (en) * | 2022-09-27 | 2023-09-05 | 荣耀终端有限公司 | Image contrast generation method and device and electronic equipment |
CN116842117A (en) * | 2023-06-19 | 2023-10-03 | 重庆市规划和自然资源信息中心 | Geous image output method based on geotools for repairing self-intersecting |
CN116842117B (en) * | 2023-06-19 | 2024-03-12 | 重庆市规划和自然资源信息中心 | Geous image output method based on geotools for repairing self-intersecting |
Also Published As
Publication number | Publication date |
---|---|
WO2020093988A1 (en) | 2020-05-14 |
CN109559270B (en) | 2021-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109559270A (en) | A kind of image processing method and electronic equipment | |
CN112130742B (en) | Full screen display method and device of mobile terminal | |
CN110401766A (en) | A kind of image pickup method and terminal | |
CN110417991A (en) | A kind of record screen method and electronic equipment | |
CN109496423A (en) | Image display method and electronic equipment under a kind of photographed scene | |
CN110231905A (en) | A kind of screenshotss method and electronic equipment | |
CN110072070A (en) | A kind of multichannel kinescope method and equipment | |
CN110506416A (en) | A kind of method and terminal of terminal switching camera | |
CN111190681A (en) | Display interface adaptation method, display interface adaptation design method and electronic equipment | |
CN110119295A (en) | A kind of display control method and relevant apparatus | |
CN109766043A (en) | The operating method and electronic equipment of electronic equipment | |
CN113448382B (en) | Multi-screen display electronic device and multi-screen display method of electronic device | |
CN109976626A (en) | A kind of switching method and electronic equipment of application icon | |
CN113838490B (en) | Video synthesis method and device, electronic equipment and storage medium | |
CN109274828A (en) | A kind of method, control method and electronic equipment generating screenshot | |
CN114650363A (en) | Image display method and electronic equipment | |
CN113935898A (en) | Image processing method, system, electronic device and computer readable storage medium | |
CN109857401A (en) | Display methods, graphic user interface and the electronic equipment of electronic equipment | |
CN114461057A (en) | VR display control method, electronic device and computer readable storage medium | |
CN110248037A (en) | A kind of identity document scan method and device | |
CN110096662A (en) | Webpage display method and related device | |
CN112527220B (en) | Electronic equipment display method and electronic equipment | |
CN113542574A (en) | Shooting preview method under zooming, terminal, storage medium and electronic equipment | |
CN110286975A (en) | A kind of display methods and electronic equipment of foreground elements | |
CN110347455A (en) | A kind of quick interface arrangement method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |