Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the above mentioned technical problems.
Therefore, a first objective of the present invention is to provide an auxiliary focusing assembly for a camera, so as to achieve fast focusing at a corner, improve the phase focusing effect in a low-light environment, and solve the problems of difficult phase focusing and poor focusing effect caused by weak light in the prior art.
The second objective of the present invention is to provide a camera of an electronic device.
The third objective of the present invention is to provide a focusing control method for a camera.
A fourth object of the invention is to propose an electronic device.
A fifth object of the invention is to propose a non-transitory computer-readable storage medium.
A sixth object of the invention is to propose a computer program product.
To achieve the above object, an embodiment of a first aspect of the present invention provides a camera auxiliary focusing assembly, including:
a base;
an infrared emitter;
the connecting plate group is arranged on the base and can move relative to the base, and the connecting plate group is connected with the infrared emitter;
the deformation assembly is connected with the connecting plate assembly, and when the deformation assembly deforms, the deformation assembly drives the connecting plate assembly to move so as to drive the infrared transmitter to move.
According to the camera auxiliary focusing assembly, the base, the infrared emitter, the connecting plate group and the deformation assembly are arranged, the connecting plate group is arranged on the base and can move relative to the base, the connecting plate group is connected with the infrared emitter, the deformation assembly is connected with the connecting plate group, and when the deformation assembly deforms, the deformation assembly drives the connecting plate group to move so as to drive the infrared emitter to move. Therefore, the focusing position can be changed by controlling the movement of the infrared emitter, and the infrared light condensation at the edge is realized, so that the infrared light auxiliary focusing of the full view field under the low-light environment is realized, and the focusing effect and the practicability of the phase focusing under the low-light environment are improved.
In order to achieve the above object, a second embodiment of the present invention provides a camera of an electronic device, including:
the camera auxiliary focusing assembly in the embodiment of the first aspect; and
the focusing control module is used for determining a focusing area, controlling the auxiliary focusing assembly to deflect to a preset position according to the focusing area, and starting the infrared emitter so that infrared light emitted by the infrared emitter irradiates to the focusing area to assist the focusing control module in focusing.
According to the camera of the electronic equipment, the camera auxiliary focusing assembly and the focusing control module are arranged, the focusing control module is used for determining the focusing area, controlling the auxiliary focusing assembly to deflect to the preset position according to the focusing area, and starting the infrared emitter so that infrared light emitted by the infrared emitter irradiates the focusing area, and the auxiliary focusing control module is used for focusing. Therefore, the focusing position can be changed by controlling the movement of the infrared emitter, and the infrared light condensation at the edge is realized, so that the infrared light auxiliary focusing of the full view field under the low-light environment is realized, and the focusing effect and the practicability of the phase focusing under the low-light environment are improved.
In order to achieve the above object, a third embodiment of the present invention provides a focusing control method for a camera, wherein the camera includes a focusing control module and an auxiliary focusing assembly, wherein the auxiliary focusing assembly includes a base; an infrared emitter; the connecting plate group is arranged on the base and can move relative to the base, and the connecting plate group is connected with the infrared emitter; the deformation assembly is connected with the connecting plate assembly, when the deformation assembly deforms, the deformation assembly drives the connecting plate assembly to move so as to drive the infrared transmitter to move, and the method comprises the following steps:
s1, the focusing control module determines a focusing area;
s2, the focusing control module controls the auxiliary focusing assembly to deflect to a preset position according to the focusing area, and starts the infrared emitter so that infrared light emitted by the infrared emitter irradiates the focusing area to assist the focusing control module in focusing.
According to the focusing control method of the camera, the focusing area is determined through the focusing control module, the focusing control module controls the auxiliary focusing assembly to deflect to the preset position according to the focusing area, and the infrared emitter is started, so that infrared light emitted by the infrared emitter irradiates the focusing area, and the auxiliary focusing control module conducts focusing. Therefore, the focusing position can be changed by controlling the movement of the infrared emitter, and the infrared light condensation at the edge is realized, so that the infrared light auxiliary focusing of the full view field under the low-light environment is realized, and the focusing effect and the practicability of the phase focusing under the low-light environment are improved.
To achieve the above object, a fourth aspect of the present invention provides an electronic device, including the camera according to the second aspect of the present invention.
To achieve the above object, a fifth embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the focus control method of the camera head described in the third embodiment.
To achieve the above object, a sixth aspect of the present invention provides a computer program product, where instructions of the computer program product, when executed by a processor, implement the focus control method of the camera head according to the third aspect.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The following describes a camera focusing assembly, a camera and a focusing control method thereof according to an embodiment of the present invention with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a camera focusing assembly according to an embodiment of the present invention.
As shown in fig. 1, the camera focusing assembly 10 includes: a base (not shown in the figure, which may correspond to a camera head seat), an infrared emitter 101, a connection plate set 102, and a deformation component 103. Wherein the content of the first and second substances,
the base is used for supporting the connection plate set 102, and may be connected to the connection plate set 102 through a bearing, so that the connection plate set 102 is movable.
The connection plate group 102 is provided on the base and movable relative to the base, and the connection plate group 102 is connected to the infrared emitter 101.
The deformation component 103 is connected with the connecting plate set 102, and when the deformation component 103 deforms, the deformation component 103 drives the connecting plate set 102 to move so as to drive the infrared emitter to move.
Specifically, the deformation component 103 includes a first deformation member 1031 and a second deformation member 1032. The connection plate group 102 includes a first connection member 1021 and a second connection member 1022. Wherein the content of the first and second substances,
the first and second deforming members 1031 and 1032 are Shape Memory Alloys (SMA) and have a function of automatically expanding and contracting with a change in temperature. In this embodiment, the first and second deformation members 1031, 1032 may change with temperature such that, when the temperature increases, the first and second deformation members 1031, 1032 contract; when the temperature is decreased, the first and second deformation members 1031 and 1032 elongate. Alternatively, when the temperature increases, the first and second deformation members 1031 and 1032 elongate; when the temperature is lowered, the first and second deformation members 1031 and 1032 contract, which is not limited by the present invention.
The first deformation members 1031 are two, and the two first deformation members 1031 are respectively located at two sides of the first connecting member 1021, as shown in a and B of fig. 1.
The second deforming member 1032 is one and surrounds the second connecting member 1022.
The first connecting member 1021 is rotatably connected with the base around the first pivot shaft, one end of the first connecting member 1021 is connected with the infrared emitter 101, the other end of the first connecting member 1021 is connected with the first deformation member 1031, and the first deformation member 1031 is connected with the first connecting member 1021 to drive the first connecting member 1021 to rotate.
The second connecting member 1022 is rotatably connected to the base about a second pivot axis, an included angle α is formed between the second pivot axis and the first pivot axis, α is greater than 0 ° and less than or equal to 90 °, one end of the second connecting member 1022 is connected to the infrared emitter 101, and the second deforming member 1032 is connected to the second connecting member 1022 to drive the second connecting member 1022 to rotate.
Alternatively, in a possible implementation manner of the embodiment of the present invention, at least one of the first connecting part 1021 and the second connecting part 1022 has a plate shape.
In another possible implementation manner of the embodiment of the present invention, at least one of the first connecting member 1021 and the second connecting member 1022 has a cylindrical shape.
It should be understood that the first pivot is a Pitch axis, and the first connecting member 1021 rotates around the first pivot to drive the infrared emitter 101 to perform a Pitch or a Pitch motion. The second pivot shaft is a Yaw axis, and the second connecting element 1022 rotates around the second pivot shaft, and can drive the infrared emitter 101 to swing left or right.
Taking the example that the first deformation member 1031 and the second deformation member 1032 elongate when the temperature increases and the first deformation member 1031 and the second deformation member 1032 elongate when the temperature decreases, when the current of the first deformation member 1031 at a in fig. 1 is increased, the temperature of the first deformation member 1031 at a increases due to the increase of the current, and the first deformation member 1031 at a contracts. Meanwhile, the current of the first deformation part 1031 at B in fig. 1 is reduced, the temperature of the first deformation part 1031 at B is reduced due to the reduction of the current, and the first deformation part 1031 at B is extended, so that the first connecting part 1021 can be driven to rotate around the first pivot shaft, the infrared emitter 101 is driven to make a pitching motion, and the infrared light emitted by the infrared emitter 101 irradiates a focusing area. When the current of the second deformation member 1032 is reduced, the temperature of the second deformation member 1032 is reduced due to the reduction of the current, and the second deformation member 1032 is extended to drive the second connecting member 1022 to rotate, thereby driving the infrared emitter 101 to deflect rightward.
The camera auxiliary focusing assembly is provided with the base, the infrared emitter, the connecting plate group and the deformation component, the connecting plate group is arranged on the base and can move relative to the base, the connecting plate group is connected with the infrared emitter, the deformation component is connected with the connecting plate group, and when the deformation component deforms, the deformation component drives the connecting plate group to move so as to drive the infrared emitter to move. Therefore, the focusing position can be changed by controlling the movement of the infrared emitter, and the infrared light condensation at the corners is realized, so that the infrared light auxiliary focusing of the full view field in the low-light environment is realized, and the focusing effect and the practicability of the phase focusing in the low-light environment are improved.
In order to implement the above embodiments, the present invention further provides a camera of an electronic device.
Fig. 2 is a schematic structural diagram of a camera of an electronic device according to an embodiment of the present invention, where the electronic device may be a device with a camera, such as a smart phone, a tablet computer, a notebook computer, or a video camera.
As shown in fig. 2, the camera 20 of the electronic apparatus includes: a camera aided focusing assembly 210, and a focusing control module 220. Wherein the content of the first and second substances,
the components of the camera auxiliary focusing assembly 210 can be referred to the description of the camera auxiliary focusing assembly 10 in the foregoing embodiments, and the implementation principle thereof is similar, and for avoiding redundant description, detailed description is omitted here.
The focusing control module 220 is configured to determine a focusing area, control the camera auxiliary focusing assembly 210 to deflect to a preset position according to the focusing area, and turn on the infrared emitter, so that infrared light emitted by the infrared emitter irradiates the focusing area, so as to assist the focusing control module 220 in focusing.
In this embodiment, when taking a picture, the focusing control module 220 is utilized to determine the focusing area, and then the focusing control module 220 controls the camera auxiliary focusing assembly 210 to rotate, so that the camera auxiliary focusing assembly 210 deflects to the preset position. Then, the focusing control module 220 controls the infrared emitter in the camera auxiliary focusing assembly 210 to be turned on, and the infrared light emitted by the infrared emitter can irradiate the focusing area, so as to achieve the purpose of focusing by the auxiliary focusing control module 220.
The camera of the electronic equipment of this embodiment, through setting up the supplementary subassembly of focusing of camera and the control module group that focuses, the control module group that focuses is used for confirming the region of focusing to supplementary focus subassembly deflection to preset the position according to the region control of focusing, and open infrared emitter, so that the infrared light that infrared emitter launched shines to the region of focusing, focuses with supplementary control module group that focuses. Therefore, the focusing position can be changed by controlling the movement of the infrared emitter, and the infrared light condensation at the corners is realized, so that the infrared light auxiliary focusing of the full view field in the low-light environment is realized, and the focusing effect and the practicability of the phase focusing in the low-light environment are improved.
In order to implement the above embodiments, the present invention further provides a focusing control method for a camera.
Fig. 3 is a schematic flow chart of a focusing control method for a camera according to an embodiment of the present invention, in which the camera includes a focusing control module and an auxiliary focusing assembly, and the auxiliary focusing assembly includes a base, an infrared emitter, a connecting plate group, and a deformation assembly. Wherein, the connecting plate group is located the base and movable for the base, and the connecting plate group is connected with infrared emitter. The deformation component is connected with the connecting plate group, and when the deformation component deforms, the deformation component drives the connecting plate group to move so as to drive the infrared emitter to move.
As shown in fig. 3, the focus control method of the camera includes the following steps:
s1, a focusing control module determines a focusing area.
In this embodiment, after the camera of the electronic device is started, the focusing control module in the camera first checks the definition of each portion in the formed image, and then determines the focusing area.
It should be understood that the in-focus region refers to a region of poor sharpness in the resulting image, i.e., a region of greater blur in the image.
S2, the focusing control module controls the auxiliary focusing assembly to deflect to a preset position according to the focusing area, and starts the infrared emitter so that infrared light emitted by the infrared emitter irradiates the focusing area to assist the focusing control module to focus.
After the focusing control module determines the focusing area, the auxiliary focusing assembly in the camera can be controlled to deflect to a preset position according to the position of the focusing area. When the auxiliary focusing assembly deflects to the preset position, infrared light emitted by an infrared emitter in the auxiliary focusing assembly can irradiate the focusing area.
In order to enable the auxiliary focusing assembly to deflect, a certain current needs to be applied to the deformation assembly in the auxiliary focusing assembly, so that the deformation assembly deforms after the temperature of the deformation assembly reaches a threshold value, and then the connection plate group connected with the deformation assembly is driven to move, so that the infrared emitter in the auxiliary focusing assembly is driven to move, and the infrared emitter deflects to a preset position.
In this embodiment, after the focusing control module controls the auxiliary focusing assembly to deflect to the preset position, the infrared emitter is controlled to be turned on, so that infrared light emitted by the infrared emitter irradiates the focusing area, thereby achieving the purpose of focusing by the auxiliary focusing control module.
According to the focusing control method of the camera, the focusing area is determined through the focusing control module, the focusing control module controls the auxiliary focusing assembly to deflect to the preset position according to the focusing area, and the infrared emitter is started, so that infrared light emitted by the infrared emitter irradiates the focusing area, and the auxiliary focusing control module is used for focusing. Therefore, the focusing position can be changed by controlling the movement of the infrared emitter, and the infrared light condensation at the edge is realized, so that the infrared light auxiliary focusing of the full view field under the low-light environment is realized, and the focusing effect and the practicability of the phase focusing under the low-light environment are improved.
Under the condition of good illumination environment, the existing focusing technology can be adopted to obtain a good focusing effect, and light supplement is not needed at the moment. If light is supplemented under a strong light environment, the method is not helpful to focusing, but can affect the image quality. Therefore, to avoid unnecessary supplementary lighting, another focusing control method for a camera is provided in the embodiment of the present invention, and fig. 4 is a flowchart illustrating the focusing control method for a camera according to another embodiment of the present invention.
As shown in fig. 4, the focus control method of the camera may include the steps of:
and S21, determining a focusing area by the focusing control module.
S22, the focusing control module judges whether the illumination intensity of the focusing area reaches a preset value.
The preset value may be preset by a manufacturer according to experience before the electronic device leaves a factory, or may be set by a user according to the needs and hobbies of the user, which is not limited in the present invention.
In this embodiment, after the focusing control module determines the focusing area, the illumination intensity of the focusing area may be further collected, and whether the illumination intensity of the focusing area reaches a preset value is determined. If the illumination intensity of the focusing area reaches a preset value, the illumination intensity is proper at the moment, and light supplement is not needed, the focusing control module executes the step S24; if the light intensity of the focusing area does not reach the preset value, it indicates that the light is weak at this time and light supplement is required, the focusing control module executes step S23.
And S23, the focusing control module controls the auxiliary focusing assembly to deflect to a preset position according to the focusing area, and starts the infrared emitter so that infrared light emitted by the infrared emitter irradiates the focusing area to assist the focusing control module to focus.
In this embodiment, when the focusing control module determines that the illumination intensity of the focusing area does not reach the preset value, the focusing control module further controls the auxiliary focusing assembly to deflect to the preset position according to the position of the focusing area.
Specifically, the focusing control module controls the auxiliary focusing assembly to deflect to a preset position according to the focusing area, and may include: the focusing control module determines the deflection direction and the deflection angle of the auxiliary focusing assembly according to the focusing area; and controlling the deformation assembly to deform according to the deflection direction and the deflection angle so as to drive the connecting plate group to move to drive the infrared emitter to move, so that the auxiliary focusing assembly deflects to a preset position.
After the auxiliary focusing assembly is controlled to deflect to the preset position, the focusing control module controls the infrared emitter to be started so that infrared light emitted by the infrared emitter can irradiate the focusing area, the illumination intensity of the focusing area is enhanced, and the aim of focusing by the auxiliary focusing control module is fulfilled.
And S24, directly focusing by the focusing control module.
When the focusing control module judges that the illumination intensity of the focusing area reaches a preset value, the focusing control module directly focuses without supplementing light to the focusing area.
According to the focusing control method of the camera, after the focusing area is determined, the focusing control module further judges the illumination intensity of the focusing area, the focusing is directly performed when the illumination intensity reaches a preset value, when the illumination intensity does not reach the preset value, the auxiliary focusing module is controlled to deflect to a preset position according to the focusing area, the infrared transmitter is started, infrared light emitted by the infrared transmitter irradiates to the focusing area, the auxiliary focusing control module is used for focusing, unnecessary light supplement can be avoided, and the practicability is further improved while the image quality is ensured.
Since the focusing control module may not be able to deflect the auxiliary focusing assembly to the preset position at one time when controlling the auxiliary focusing assembly to deflect according to the focusing area, in order to ensure that the auxiliary focusing assembly is accurately deflected to the preset position, another focusing control method for a camera is provided in an embodiment of the present invention, and fig. 5 is a flowchart of a focusing control method for a camera according to another embodiment of the present invention.
As shown in fig. 5, the focus control method of the camera may include the following steps:
and S31, the focusing control module determines a focusing area.
And S32, the focusing control module controls the auxiliary focusing assembly to deflect to a preset position according to the focusing area.
In this embodiment, after the camera of the electronic device is started, the focusing control module may determine a focusing area first, and control the auxiliary focusing assembly to deflect to a preset position according to the focusing area.
Specifically, the controlling the auxiliary focusing assembly to deflect to the preset position according to the focusing area by the focusing control module may include: the focusing control module determines the deflection direction and the deflection angle of the auxiliary focusing assembly according to the focusing area; controlling the deformation component to deform according to the deflection direction and the deflection angle so as to drive the connecting plate group to move to drive the infrared emitter to move, and deflecting the auxiliary focusing component to a preset position
S33, the focusing control module detects the resistance value of the deformation component.
After the current is increased or reduced for the deformation assembly in the auxiliary focusing assembly, the temperature of the deformation assembly changes, and after the threshold value capable of enabling the deformation assembly to deform is reached, the deformation assembly deforms. And then, the focusing control module further detects the resistance value of the deformation component.
Specifically, the focusing control module may calculate and obtain the resistance value of the deformation component according to the working voltage and the current value of the deformation component.
And S34, determining the length of the deformed deformation assembly according to the resistance value.
In this embodiment, after the focusing control module obtains the resistance value of the deformation component, the length of the deformation component after deformation can be determined according to the resistance value. The length of the deformed assembly can be determined according to the relationship between the mechanical property and the resistance property of the SMA, which is not described in detail in the invention.
And S35, judging whether the length of the deformation assembly is accurate or not.
In this embodiment, after the control module of focusing determines the length after the deformation of the deformation subassembly according to the resistance value of the deformation subassembly, the length after the deformation and the length of the deformation subassembly when the control module of focusing controls the auxiliary focusing subassembly to deflect to the preset position according to the region of focusing can be compared to detect whether the length of the deformation subassembly is accurate. If the comparison result is consistent, the length of the deformation component is accurate, the focusing control module executes the step S37, that is, the focusing control module controls the infrared emitter to be started; if the comparison result is inconsistent, which indicates that the length of the deformation component is inaccurate, the focus control module executes step S36.
Optionally, in a possible implementation manner of the embodiment of the present invention, an allowable error range may be preset, the length after the deformation is compared with the length of the deformation component when the focusing control module controls the auxiliary focusing component to deflect to the preset position according to the focusing area, if a difference between the length after the deformation and the length of the deformation component when the auxiliary focusing component deflects to the preset position is within the allowable error range, the comparison result is considered to be consistent, which indicates that the length of the deformation component is accurate, and the focusing control module executes step S37; if the difference between the two values exceeds the allowable error range, the comparison result is considered to be inconsistent, which indicates that the length of the deformation component is inaccurate, and the focusing control module executes step S36. This can reduce the number of processing steps to some extent and increase the processing speed.
And S36, determining the accurate deflection of the auxiliary focusing assembly to a preset position according to the length of the deformation assembly.
In this embodiment, when the length after deformation determined according to the resistance value is judged and known to be inconsistent with the length of the deformation component when the focusing control module controls the auxiliary focusing component to deflect to the preset position according to the focusing area, the focusing control module determines that the auxiliary focusing component deflects to the preset position accurately according to the length after deformation of the deformation component.
And S37, starting the infrared emitter to enable infrared light emitted by the infrared emitter to irradiate the focusing area so as to assist the focusing control module to focus.
In this embodiment, when the length after the deformation determined according to the resistance value is known by judgment and the length of the deformation component is consistent when the focusing control module controls the auxiliary focusing component to deflect to the preset position according to the focusing region, or when the focusing control module determines that the auxiliary focusing component accurately deflects to the preset position according to the length after the deformation of the deformation component, the focusing control module controls the infrared emitter to be turned on, so that the infrared light emitted by the infrared emitter irradiates to the focusing region, and the purpose of focusing by the auxiliary focusing control module is achieved.
The focusing control method of the camera determines a focusing area through the focusing control module, controls the auxiliary focusing assembly to deflect to a preset position according to the focusing area, detects the resistance value of the deformation assembly, determines the length of the deformed deformation assembly according to the resistance value, determines the accurate deflection of the auxiliary focusing assembly to the preset position according to the length of the deformed deformation assembly when the length of the deformed auxiliary focusing assembly is inconsistent with the length of the deformation assembly when the focusing control module controls the auxiliary focusing assembly to deflect to the preset position according to the focusing area, and starts the infrared transmitter, so that the correction can be performed when the length of the deformed auxiliary focusing assembly is inaccurate, the deflection accuracy of the auxiliary focusing assembly is improved, and the focusing effect is improved.
In order to implement the above embodiments, the present invention further provides an electronic device.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device may be a device with a camera, such as a smart phone, a tablet computer, a notebook computer, or a video camera. As shown in fig. 6, the electronic device 60 includes: the camera 20 described in the previous embodiments.
In order to implement the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the focus control method of the camera described in the foregoing embodiments.
In order to implement the foregoing embodiments, the present invention further provides a computer program product, wherein when instructions in the computer program product are executed by a processor, the method for controlling focusing of a camera according to the foregoing embodiments is implemented.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer-readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.