Movatterモバイル変換


[0]ホーム

URL:


CN109033913A - An identification code identification method and mobile terminal - Google Patents

An identification code identification method and mobile terminal
Download PDF

Info

Publication number
CN109033913A
CN109033913ACN201810826622.8ACN201810826622ACN109033913ACN 109033913 ACN109033913 ACN 109033913ACN 201810826622 ACN201810826622 ACN 201810826622ACN 109033913 ACN109033913 ACN 109033913A
Authority
CN
China
Prior art keywords
identification code
photographing module
resolution
distance
frequency
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.)
Pending
Application number
CN201810826622.8A
Other languages
Chinese (zh)
Inventor
李松杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201810826622.8ApriorityCriticalpatent/CN109033913A/en
Publication of CN109033913ApublicationCriticalpatent/CN109033913A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses an identification code identification method and a mobile terminal, wherein the identification method comprises the following steps: acquiring the distance between an identification code and the camera module; when the distance is smaller than or equal to a preset distance threshold value, controlling the camera module to scan the identification code at a first resolution; when the distance is greater than the preset distance threshold, controlling the camera module to scan the identification code at a second resolution, wherein the second resolution is greater than the first resolution; the scanned identification code is identified. By the method and the device, the identification speed and the identification rate of the identification code of the mobile terminal can be improved.

Description

Translated fromChinese
一种识别码的识别方法及移动终端An identification code identification method and mobile terminal

技术领域technical field

本发明涉及通信领域,尤其涉及一种识别码的识别方法及移动终端。The invention relates to the communication field, in particular to an identification code identification method and a mobile terminal.

背景技术Background technique

随着科技的发展以及人们需求的增加,移动终端(例如,手机)集成的功能越来越多。摄像头作为移动终端的重要元件之一,其除了作为基本的拍照摄像功能被应用外,被应用于进行识别码(例如,二维码)的扫描的频率也越来越高。With the development of technology and the increase of people's needs, more and more functions are integrated in mobile terminals (for example, mobile phones). As one of the important components of the mobile terminal, the camera is not only used as a basic camera function, but also used for scanning identification codes (for example, two-dimensional codes) with increasing frequency.

在实现本发明实施例的过程中,发明人发现,在移动终端对识别码进行识别时,摄像头在相距识别码不同距离下对识别码的信息的识别速度和准确性会有很大不同,因此,有必要提供一种识别码的识别方法,以提升识别码的识别速度和识别率。In the process of realizing the embodiment of the present invention, the inventors found that when the mobile terminal recognizes the identification code, the recognition speed and accuracy of the identification code information of the camera at different distances from the identification code will be very different, so , it is necessary to provide a recognition method for the recognition code, so as to improve the recognition speed and recognition rate of the recognition code.

发明内容Contents of the invention

本发明实施例提供一种识别码的识别方法及移动终端,以提升移动终端识别识别码的识别速度和识别率。Embodiments of the present invention provide an identification code identification method and a mobile terminal, so as to improve the identification speed and identification rate of the identification code of the mobile terminal.

为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,提供了一种识别码的识别方法,应用于具有摄像模块的移动终端,所述方法包括:In a first aspect, a method for identifying an identification code is provided, which is applied to a mobile terminal with a camera module, and the method includes:

获取识别码与所述摄像模块之间的距离;Obtain the distance between the identification code and the camera module;

当所述距离小于等于预设距离阈值时,控制所述摄像模块以第一分辨率扫描所述识别码;When the distance is less than or equal to a preset distance threshold, control the camera module to scan the identification code with a first resolution;

当所述距离大于所述预设距离阈值时,控制所述摄像模块以第二分辨率扫描所述识别码,其中所述第二分辨率大于所述第一分辨率;When the distance is greater than the preset distance threshold, controlling the camera module to scan the identification code with a second resolution, wherein the second resolution is greater than the first resolution;

识别扫描到的识别码。Identify the scanned identification code.

第二方面,提供了一种移动终端,包括摄像模块,所述移动终端还包括:In a second aspect, a mobile terminal is provided, including a camera module, and the mobile terminal further includes:

获取模块,用于获取识别码与所述摄像模块之间的距离;An acquisition module, configured to acquire the distance between the identification code and the camera module;

控制模块,用于当所述距离小于等于预设距离阈值时,控制所述摄像模块以第一分辨率扫描所述识别码,当所述距离大于所述预设距离阈值时,控制所述摄像模块以第二分辨率扫描所述识别码,其中所述第二分辨率大于所述第一分辨率;A control module, configured to control the camera module to scan the identification code at a first resolution when the distance is less than or equal to a preset distance threshold, and control the camera module to scan the identification code when the distance is greater than the preset distance threshold the module scans the identification code at a second resolution, wherein the second resolution is greater than the first resolution;

识别模块,用于识别扫描到的识别码。The identification module is used to identify the scanned identification code.

第三方面,提供了一种移动终端,该移动终端包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, a mobile terminal is provided. The mobile terminal includes a processor, a memory, and a computer program stored in the memory and operable on the processor. When the computer program is executed by the processor The steps of the method described in the first aspect are realized.

第四方面,提供了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method according to the first aspect are implemented .

在本发明实施例中,通过根据识别码与摄像模块之间的距离的不同,以不同的分辨率扫描识别码,进而提升了识别识别码的识别率和识别速度。In the embodiment of the present invention, the identification code is scanned with different resolutions according to the distance between the identification code and the camera module, thereby improving the recognition rate and recognition speed of the identification code.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention, and constitute a part of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute improper limitations to the present invention. In the attached picture:

图1是本发明的一个实施例提供的识别码的识别方法的流程示意图;Fig. 1 is a schematic flow chart of an identification method of an identification code provided by an embodiment of the present invention;

图2是本发明的另一个实施例提供的识别码的识别方法的流程示意图;Fig. 2 is a schematic flow chart of an identification code identification method provided by another embodiment of the present invention;

图3是本发明的一个实施例提供的移动终端的结构示意图;FIG. 3 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention;

图4是本发明的另一个实施例提供的移动终端的结构示意图;FIG. 4 is a schematic structural diagram of a mobile terminal provided by another embodiment of the present invention;

图5是实现本发明各个实施例的一种移动终端的硬件结构示意图。Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

图1是本发明的一个实施例提供的识别码的识别方法的流程示意图,如图1所示的识别码的识别方法,应用于具有摄像模块的终端,所述方法包括以下步骤:Fig. 1 is a schematic flowchart of an identification code identification method provided by an embodiment of the present invention. The identification code identification method shown in Fig. 1 is applied to a terminal with a camera module, and the method includes the following steps:

步骤101、获取识别码与摄像模块之间的距离。Step 101, acquiring the distance between the identification code and the camera module.

其中,识别码可以为一维码(例如,条形码)、二维码等包含信息的条码,包含的信息可以为图片、网络链接等。Wherein, the identification code may be a barcode containing information such as a one-dimensional code (for example, a barcode) or a two-dimensional code, and the information contained may be a picture, a network link, or the like.

步骤102、当距离小于等于预设距离阈值时,控制摄像模块以第一分辨率扫描识别码。Step 102, when the distance is less than or equal to a preset distance threshold, control the camera module to scan the identification code with a first resolution.

步骤103、当距离大于预设距离阈值时,控制摄像模块以第二分辨率扫描识别码。其中,第二分辨率大于第一分辨率。Step 103, when the distance is greater than the preset distance threshold, control the camera module to scan the identification code with the second resolution. Wherein, the second resolution is greater than the first resolution.

示例性的,第二分辨率为3876*2584(1000万像素),第一分辨率为2580*1936(500万像素),当然,根据实际应用,第二分辨率和第一分辨率也可以为其它合理的数值。Exemplarily, the second resolution is 3876*2584 (10 million pixels), and the first resolution is 2580*1936 (5 million pixels). Of course, according to actual applications, the second resolution and the first resolution can also be other reasonable values.

步骤104、识别扫描到的识别码。Step 104, identifying the scanned identification code.

通过本实施例,可以根据识别码与摄像模块之间的距离的不同,以不同的分辨率扫描识别码,进而提升了识别识别码的识别率和识别速度。Through this embodiment, the identification code can be scanned with different resolutions according to the distance between the identification code and the camera module, thereby improving the recognition rate and recognition speed of the identification code.

图2是本发明的另一个实施例提供的识别码的识别方法的流程示意图,图2所示的实施例与上述图1所示的实施例的差别在于,在步骤104之后,还可以包括:Fig. 2 is a schematic flowchart of an identification code identification method provided by another embodiment of the present invention. The difference between the embodiment shown in Fig. 2 and the embodiment shown in Fig. 1 above is that, after step 104, it may further include:

步骤105、在对扫描到的识别码识别成功时,显示与识别码关联的信息。Step 105, when the scanned identification code is recognized successfully, display the information associated with the identification code.

用户可以根据显示的与识别码关联的信息进行支付、注册信息、添加好友、防伪查询等。具体的,关联的信息可以为图片、网络链接等。The user can make payment, register information, add friends, anti-counterfeiting inquiries, etc. according to the displayed information associated with the identification code. Specifically, the associated information may be a picture, a network link, and the like.

如图2所示,在步骤104之后,还可以包括:As shown in Figure 2, after step 104, may also include:

在对扫描到的识别码识别失败时,返回步骤101。When identifying the scanned identification code fails, return to step 101.

通过此实施方式,在扫描到识别码后,能够根据扫描结果执行相应的操作。Through this embodiment, after the identification code is scanned, a corresponding operation can be performed according to the scanning result.

在本发明的一实施方式中,上述步骤101之前,可以包括:In an embodiment of the present invention, before the above step 101, may include:

控制所述摄像模块以第一频率对其视场内进行扫描,并获取扫描结果;Control the camera module to scan its field of view at a first frequency, and obtain a scanning result;

上述步骤101可以包括:The above step 101 may include:

根据扫描结果确定所述视场内存在识别码时,获取所述视场内存在的识别码与摄像模块之间的距离。When it is determined according to the scanning result that there is an identification code in the field of view, the distance between the identification code in the field of view and the camera module is acquired.

其中,视场为能够扫描且识别的区域范围。Wherein, the field of view refers to the area that can be scanned and identified.

通过此实施方式,相较于现有技术中要进行一系列触发扫码功能的操作(例如,点击APP应用图标-选择扫码功能)才能进行扫码的方案,通过控制摄像模块以第一频率对其视场内进行扫描,并根据扫描结果自动判断视场内存在识别码时,基于识别码与摄像模块之间的距离的选择第一分辨率或第二分辨率扫描识别码,使得不需要用户进行一系列触发扫码功能的操作,就能够在摄像模块的视场内存在识别码时,扫描并识别识别码。Through this embodiment, compared with the scheme in the prior art that requires a series of operations to trigger the code scanning function (for example, click the APP application icon-select the code scanning function) to scan the code, by controlling the camera module to scan the code at the first frequency When scanning the field of view and automatically judging that there is an identification code in the field of view according to the scanning result, the first resolution or the second resolution is selected based on the distance between the identification code and the camera module to scan the identification code so that no When the user performs a series of operations to trigger the code scanning function, the identification code can be scanned and recognized when the identification code exists in the field of view of the camera module.

具体的,当扫描到识别码特征点时,确定摄像模块的视场内存在识别码。例如,当扫描到二维码特征点时,确定摄像模块的视场内存在二维码。Specifically, when the feature point of the identification code is scanned, it is determined that the identification code exists in the field of view of the camera module. For example, when the feature point of the two-dimensional code is scanned, it is determined that the two-dimensional code exists in the field of view of the camera module.

在本发明的一实施方式中,具体的,可以在熄屏状态下控制摄像模块以第一频率对其视场内进行扫描。对应的,在对扫描到的识别码识别成功时,点亮屏幕并在屏幕上显示与识别码关联的信息。In an embodiment of the present invention, specifically, the camera module may be controlled to scan its field of view at a first frequency in a screen-off state. Correspondingly, when the scanned identification code is recognized successfully, the screen is turned on and information associated with the identification code is displayed on the screen.

通过此实施方式,使得在熄屏状态下,用户不用进行解锁且不用进行一系列触发扫码功能的操作,就能够利用移动终端进行扫码,减少了用户的操作,便于用户利用移动终端进行扫码。Through this embodiment, when the screen is off, the user can use the mobile terminal to scan the code without unlocking or performing a series of operations that trigger the code scanning function, which reduces the user's operations and facilitates the user to use the mobile terminal to scan the code. code.

在本发明的一实施方式中,所述控制摄像模块以第一分辨率扫描识别码,包括:控制摄像模块以第一分辨率第二频率扫描识别码;控制摄像模块以第二分辨率扫描识别码,包括:控制摄像模块以第二分辨率第三频率扫描识别码;其中,第二频率大于第一频率,第三频率大于第一频率。In an embodiment of the present invention, the controlling the camera module to scan the identification code with the first resolution includes: controlling the camera module to scan the identification code with the first resolution and the second frequency; controlling the camera module to scan the identification code with the second resolution The code includes: controlling the camera module to scan the identification code with a second resolution and a third frequency; wherein, the second frequency is greater than the first frequency, and the third frequency is greater than the first frequency.

通过此实施方式,第一频率小于摄像模块以第一分辨率扫描识别码时的第二频率和摄像模块以第二分辨率扫描识别码时的第三频率,能够降低摄像模块扫描视场内是否存在识别码的功耗,进而能够降低移动终端识别识别码的功耗。Through this embodiment, the first frequency is lower than the second frequency when the camera module scans the identification code with the first resolution and the third frequency when the camera module scans the identification code with the second resolution, which can reduce whether the camera module scans the field of view. There is power consumption of the identification code, thereby reducing the power consumption of the mobile terminal for identifying the identification code.

在本发明的一实施方式中,所述摄像模块包括两个感光单元,上述获取识别码与摄像模块之间的距离的步骤可以包括:In one embodiment of the present invention, the camera module includes two photosensitive units, and the step of obtaining the distance between the identification code and the camera module may include:

根据两个感光单元分别获取的相位信息,获取摄像模块视场内识别码的深度信息;Obtain the depth information of the identification code in the field of view of the camera module according to the phase information respectively obtained by the two photosensitive units;

根据深度信息,获取识别码与摄像模块之间的距离。According to the depth information, the distance between the identification code and the camera module is obtained.

通过此实施方式,利用相位信息计算深度信息,且利用深度信息计算识别码与摄像模块之间的距离,能够更为准确地确定识别码与摄像模块之间的距离,进而使得可以更为准确地确定扫描识别码的分辨率,进而进一步提升扫描识别码的准确率和识别速度。Through this embodiment, the depth information is calculated by using the phase information, and the distance between the identification code and the camera module is calculated by using the depth information, so that the distance between the identification code and the camera module can be determined more accurately, and thus the distance between the identification code and the camera module can be more accurately determined. Determine the resolution of the scanning identification code, and further improve the accuracy and recognition speed of the scanning identification code.

具体的,上述摄像模块可以为具有2PD(Phase Detection,相位检测)功能的摄像头。Specifically, the aforementioned camera module may be a camera with a 2PD (Phase Detection, phase detection) function.

图3是本发明的一个实施例提供的移动终端的结构示意图。如图3所示,移动终端除了包括摄像模块21之外,所述移动终端还包括:Fig. 3 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. As shown in Figure 3, in addition to the camera module 21, the mobile terminal also includes:

获取模块22,用于获取识别码与所述摄像模块21之间的距离;An acquisition module 22, configured to acquire the distance between the identification code and the camera module 21;

控制模块23,用于当所述距离小于等于预设距离阈值时,控制所述摄像模块21以第一分辨率扫描所述识别码,当所述距离大于所述预设距离阈值时,控制所述摄像模块21以第二分辨率扫描所述识别码,其中所述第二分辨率大于所述第一分辨率;A control module 23, configured to control the camera module 21 to scan the identification code at a first resolution when the distance is less than or equal to a preset distance threshold, and control the camera module 21 to scan the identification code at a first resolution when the distance is greater than the preset distance threshold. The camera module 21 scans the identification code with a second resolution, wherein the second resolution is greater than the first resolution;

识别模块24,用于识别扫描到的识别码。The identification module 24 is configured to identify the scanned identification code.

在本发明的一实施方式中,所述控制模块23,还用于:In an embodiment of the present invention, the control module 23 is also used for:

控制所述摄像模块21以第一频率对其视场内进行扫描,并获取扫描结果;Controlling the camera module 21 to scan its field of view at a first frequency, and obtain a scanning result;

所述获取模块22,具体用于:The acquisition module 22 is specifically used for:

根据扫描结果确定所述视场内存在识别码时,确定所述视场内存在的识别码与所述摄像模块21之间的距离。When it is determined according to the scanning result that there is an identification code in the field of view, the distance between the identification code in the field of view and the camera module 21 is determined.

在本发明的一实施方式中,所述控制模块23,具体用于:In an embodiment of the present invention, the control module 23 is specifically used for:

控制所述摄像模块以所述第一分辨率第二频率扫描所述识别码;controlling the camera module to scan the identification code with the first resolution and second frequency;

控制所述摄像模块以所述第二分辨率第三频率扫描所述识别码;controlling the camera module to scan the identification code with the second resolution and a third frequency;

其中,所述第二频率大于所述第一频率,所述第三频率大于所述第一频率。Wherein, the second frequency is greater than the first frequency, and the third frequency is greater than the first frequency.

在本发明的一实施方式中,所述摄像模块21包括两个感光单元,所述获取模块22,具体用于:In one embodiment of the present invention, the camera module 21 includes two photosensitive units, and the acquisition module 22 is specifically used for:

根据所述两个感光单元分别获取的相位信息,获取所述摄像模块21视场内的识别码的深度信息;Obtain the depth information of the identification code in the field of view of the camera module 21 according to the phase information respectively obtained by the two photosensitive units;

根据所述深度信息,获取所述识别码与所述摄像模块21之间的距离。According to the depth information, the distance between the identification code and the camera module 21 is acquired.

图4是本发明的另一个实施例提供的移动终端的结构示意图。如图4所示的移动终端与图3所示的移动终端的差别在于,图4所示的移动终端还可以包括:Fig. 4 is a schematic structural diagram of a mobile terminal provided by another embodiment of the present invention. The difference between the mobile terminal shown in Figure 4 and the mobile terminal shown in Figure 3 is that the mobile terminal shown in Figure 4 may also include:

显示模块25,用于在对所述扫描到的识别码识别成功时,显示与所述识别码关联的信息。The display module 25 is configured to display information associated with the identification code when the scanned identification code is recognized successfully.

本发明实施例提供的移动终端能够实现图1、图2的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。本发明提供的移动终端,通过根据识别码与摄像模块之间的距离的不同,以不同的分辨率扫描识别码,进而提升了识别识别码的识别率和识别速度。The mobile terminal provided by the embodiment of the present invention can implement various processes implemented by the mobile terminal in the method embodiments in FIG. 1 and FIG. 2 , and details are not repeated here to avoid repetition. The mobile terminal provided by the present invention scans the identification code with different resolutions according to the distance between the identification code and the camera module, thereby improving the recognition rate and recognition speed of the identification code.

图5是实现本发明各个实施例的一种移动终端的硬件结构示意图,该移动终端300包括但不限于:射频单元301、网络模块302、音频输出单元303、输入单元304、传感器305、显示单元306、用户输入单元307、接口单元308、存储器309、处理器310、以及电源311等部件。本领域技术人员可以理解,图5中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 300 includes but not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, and a display unit 306 , a user input unit 307 , an interface unit 308 , a memory 309 , a processor 310 , and a power supply 311 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 5 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.

其中,处理器310,用于:Wherein, the processor 310 is used for:

获取识别码与所述摄像模块之间的距离;Obtain the distance between the identification code and the camera module;

当所述距离小于等于预设距离阈值时,控制所述摄像模块以第一分辨率扫描所述识别码;When the distance is less than or equal to a preset distance threshold, control the camera module to scan the identification code with a first resolution;

当所述距离大于所述预设距离阈值时,控制所述摄像模块以第二分辨率扫描所述识别码,其中所述第二分辨率大于所述第一分辨率;When the distance is greater than the preset distance threshold, controlling the camera module to scan the identification code with a second resolution, wherein the second resolution is greater than the first resolution;

识别扫描到的识别码。Identify the scanned identification code.

本发明提供的移动终端,通过根据识别码与摄像模块之间的距离的不同,以不同的分辨率扫描识别码,进而提升了识别识别码的识别率和识别速度。The mobile terminal provided by the present invention scans the identification code with different resolutions according to the distance between the identification code and the camera module, thereby improving the recognition rate and recognition speed of the identification code.

应理解的是,本发明实施例中,射频单元301可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器310处理;另外,将上行的数据发送给基站。通常,射频单元301包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元301还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 310; in addition, the Uplink data is sent to the base station. Generally, the radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块302为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 302, such as helping users to send and receive emails, browse web pages, and access streaming media.

音频输出单元303可以将射频单元301或网络模块302接收的或者在存储器309中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元303还可以提供与移动终端300执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元303包括扬声器、蜂鸣器以及受话器等。The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 can also provide audio output related to a specific function performed by the mobile terminal 300 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver and the like.

输入单元304用于接收音频或视频信号。输入单元304可以包括图形处理器(Graphics Processing Unit,GPU)3041和麦克风3042,图形处理器3041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元306上。经图形处理器3041处理后的图像帧可以存储在存储器309(或其它存储介质)中或者经由射频单元301或网络模块302进行发送。麦克风3042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元301发送到移动通信基站的格式输出。The input unit 304 is used for receiving audio or video signals. The input unit 304 may include a graphics processing unit (Graphics Processing Unit, GPU) 3041 and a microphone 3042, and the graphics processing unit 3041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 306 . The image frames processed by the graphics processor 3041 may be stored in the memory 309 (or other storage medium) or sent via the radio frequency unit 301 or the network module 302 . The microphone 3042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 301 for output in the case of a phone call mode.

移动终端300还包括至少一种传感器305,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板3061的亮度,接近传感器可在移动终端300移动到耳边时,关闭显示面板3061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器305还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 300 also includes at least one sensor 305, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 3061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 3061 and the display panel 3061 when the mobile terminal 300 moves to the ear / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, knocking), etc.; the sensor 305 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., will not be repeated here.

显示单元306用于显示由用户输入的信息或提供给用户的信息。显示单元306可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板3061。The display unit 306 is used to display information input by the user or information provided to the user. The display unit 306 may include a display panel 1061, and the display panel 3061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元307可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元307包括触控面板3071以及其他输入设备3072。触控面板3071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板3071上或在触控面板3071附近的操作)。触控面板3071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器310,接收处理器310发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板3071。除了触控面板3071,用户输入单元307还可以包括其他输入设备3072。具体地,其他输入设备3072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 307 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072 . The touch panel 3071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 3071 or near the touch panel 3071). operate). The touch panel 3071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 310, receive the command sent by the processor 310 and execute it. In addition, the touch panel 3071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 3071 , the user input unit 307 may also include other input devices 3072 . Specifically, other input devices 3072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板3071可覆盖在显示面板3061上,当触控面板3071检测到在其上或附近的触摸操作后,传送给处理器310以确定触摸事件的类型,随后处理器310根据触摸事件的类型在显示面板3061上提供相应的视觉输出。虽然在图5中,触控面板3071与显示面板3061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板3071与显示面板3061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 3071 can be covered on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near it, it will be sent to the processor 310 to determine the type of the touch event, and then the processor 310 can The type of event provides a corresponding visual output on the display panel 3061 . Although in FIG. 5, the touch panel 3071 and the display panel 3061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 3071 and the display panel 3061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.

接口单元308为外部装置与移动终端300连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元308可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端300内的一个或多个元件或者可以用于在移动终端300和外部装置之间传输数据。The interface unit 308 is an interface for connecting an external device to the mobile terminal 300 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 308 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器309可用于存储软件程序以及各种数据。存储器309可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器309可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 309 can be used to store software programs as well as various data. The memory 309 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 309 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器310是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器309内的软件程序和/或模块,以及调用存储在存储器309内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器310可包括一个或多个处理单元;优选的,处理器310可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器310中。The processor 310 is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 309, and calling data stored in the memory 309 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 310 .

移动终端300还可以包括给各个部件供电的电源311(比如电池),优选的,电源311可以通过电源管理系统与处理器310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 300 can also include a power supply 311 (such as a battery) for supplying power to various components. Preferably, the power supply 311 can be logically connected to the processor 310 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,移动终端300包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 300 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种移动终端,包括处理器310,存储器309,存储在存储器309上并可在所述处理器310上运行的计算机程序,该计算机程序被处理器310执行时实现上述识别码的识别方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 310, a memory 309, a computer program stored in the memory 309 and operable on the processor 310, when the computer program is executed by the processor 310 The various processes of the above embodiment of the identification code identification method can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述识别码的识别方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned identification code identification method embodiment is realized, and the same To avoid repetition, the technical effects will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (12)

CN201810826622.8A2018-07-252018-07-25 An identification code identification method and mobile terminalPendingCN109033913A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810826622.8ACN109033913A (en)2018-07-252018-07-25 An identification code identification method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810826622.8ACN109033913A (en)2018-07-252018-07-25 An identification code identification method and mobile terminal

Publications (1)

Publication NumberPublication Date
CN109033913Atrue CN109033913A (en)2018-12-18

Family

ID=64645155

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810826622.8APendingCN109033913A (en)2018-07-252018-07-25 An identification code identification method and mobile terminal

Country Status (1)

CountryLink
CN (1)CN109033913A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2020221009A1 (en)*2019-04-282020-11-05维沃移动通信有限公司Code scanning method and mobile terminal
US11128798B2 (en)2019-08-132021-09-21Asustek Computer Inc.Display device and control method thereof
WO2022227200A1 (en)*2021-04-272022-11-03东莞市小精灵教育软件有限公司Method and apparatus for adjusting resolution during image capture, and smart device
WO2024045867A1 (en)*2022-09-022024-03-07浙江宇视科技有限公司Camera rapid exposure method and apparatus, electronic device, and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102693408A (en)*2012-04-112012-09-26广州市钛码电子科技有限公司Micro laser scanning device and portable terminal thereof
CN104484645A (en)*2014-11-142015-04-01华中科技大学Human-computer interaction-oriented '1' gesture-recognition method and system
CN106339653A (en)*2016-08-242017-01-18乐视控股(北京)有限公司QR code scanning processing method and QR code scanning processing device
US9560272B2 (en)*2014-03-242017-01-31Samsung Electronics Co., Ltd.Electronic device and method for image data processing
CN106407868A (en)*2016-08-262017-02-15乐视控股(北京)有限公司Two-dimensional scanning processing method and mobile terminal
CN107590469A (en)*2017-09-182018-01-16维沃移动通信有限公司A kind of method for detecting human face and mobile terminal
CN108174619A (en)*2015-09-302018-06-15株式会社尼康 Camera element and camera device
CN108280384A (en)*2017-12-302018-07-13广州市钛码电子科技有限公司A kind of two-dimensional code identification method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102693408A (en)*2012-04-112012-09-26广州市钛码电子科技有限公司Micro laser scanning device and portable terminal thereof
US9560272B2 (en)*2014-03-242017-01-31Samsung Electronics Co., Ltd.Electronic device and method for image data processing
CN104484645A (en)*2014-11-142015-04-01华中科技大学Human-computer interaction-oriented '1' gesture-recognition method and system
CN108174619A (en)*2015-09-302018-06-15株式会社尼康 Camera element and camera device
CN106339653A (en)*2016-08-242017-01-18乐视控股(北京)有限公司QR code scanning processing method and QR code scanning processing device
CN106407868A (en)*2016-08-262017-02-15乐视控股(北京)有限公司Two-dimensional scanning processing method and mobile terminal
CN107590469A (en)*2017-09-182018-01-16维沃移动通信有限公司A kind of method for detecting human face and mobile terminal
CN108280384A (en)*2017-12-302018-07-13广州市钛码电子科技有限公司A kind of two-dimensional code identification method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2020221009A1 (en)*2019-04-282020-11-05维沃移动通信有限公司Code scanning method and mobile terminal
US11128798B2 (en)2019-08-132021-09-21Asustek Computer Inc.Display device and control method thereof
WO2022227200A1 (en)*2021-04-272022-11-03东莞市小精灵教育软件有限公司Method and apparatus for adjusting resolution during image capture, and smart device
WO2024045867A1 (en)*2022-09-022024-03-07浙江宇视科技有限公司Camera rapid exposure method and apparatus, electronic device, and medium

Similar Documents

PublicationPublication DateTitle
CN110674662B (en)Scanning method and terminal equipment
CN109523253B (en) A payment method and device
CN108846663B (en) A two-dimensional code adjustment method, device and mobile terminal
CN108459797A (en)A kind of control method and mobile terminal of Folding screen
CN110636174A (en) Method for calling out boarding code and mobile terminal
CN110110571B (en)Code scanning method and mobile terminal
CN107749046B (en)Image processing method and mobile terminal
CN108989668A (en)A kind of working method and mobile terminal of camera
CN107977652A (en)The extracting method and mobile terminal of a kind of screen display content
CN107845057A (en)One kind is taken pictures method for previewing and mobile terminal
CN107678829A (en)A kind of application control method and mobile terminal
CN107895143A (en)A kind of finger print information processing method, mobile terminal and computer-readable recording medium
CN108897473A (en)A kind of interface display method and terminal
CN108763998A (en) Barcode recognition method and terminal equipment
WO2021082772A1 (en)Screenshot method and electronic device
CN108509141A (en)A kind of generation method and mobile terminal of control
CN109033913A (en) An identification code identification method and mobile terminal
CN108898040A (en)A kind of recognition methods and mobile terminal
CN110519503B (en)Method for acquiring scanned image and mobile terminal
CN108196781A (en) Interface display method and mobile terminal
CN111523286B (en)Picture display method, picture display device, electronic equipment and computer readable storage medium
CN108279843B (en)A kind of screenshot method and mobile terminal
CN110096203A (en)A kind of screenshot method and mobile terminal
CN108121642A (en)A kind of failure solves method, server and mobile terminal
CN110516495B (en)Code scanning method and mobile terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20181218

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp