Movatterモバイル変換


[0]ホーム

URL:


CN105242851A - Method for switching operation modes of electronic device and electronic device - Google Patents

Method for switching operation modes of electronic device and electronic device
Download PDF

Info

Publication number
CN105242851A
CN105242851ACN201510691127.7ACN201510691127ACN105242851ACN 105242851 ACN105242851 ACN 105242851ACN 201510691127 ACN201510691127 ACN 201510691127ACN 105242851 ACN105242851 ACN 105242851A
Authority
CN
China
Prior art keywords
induction
rxm
txn
capacitive transducer
pattern
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
CN201510691127.7A
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 CN201510691127.7ApriorityCriticalpatent/CN105242851A/en
Publication of CN105242851ApublicationCriticalpatent/CN105242851A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

Translated fromChinese

本发明提供了一种切换电子设备的操作模式的方法及电子设备,其中,该电子设备的后壳上设置有电容感应区,该切换电子设备的操作模式的方法包括:获取电容感应区采集的感应数据;根据感应数据构建感应图形;根据构建的感应图形,确定目标操作模式;将电子设备由当前操作模式切换到目标操作模式。本发明提供的上述技术方案通过在电子设备后壳上设置电容感应区,根据电容感应区感应到的感应图形实现目标操作模式的切换,能够充分利用电子设备后壳的空间资源。

The present invention provides a method for switching the operation mode of an electronic device and the electronic device, wherein a capacitive sensing area is set on the rear shell of the electronic device, and the method for switching the operating mode of the electronic device includes: obtaining the data collected by the capacitive sensing area sensing data; constructing a sensing pattern according to the sensing data; determining a target operation mode according to the constructed sensing pattern; switching the electronic device from the current operating mode to the target operating mode. The above technical solution provided by the present invention can make full use of the space resources of the electronic device rear case by setting the capacitive sensing area on the back case of the electronic device, and realizing switching of the target operation mode according to the induction pattern sensed by the capacitive sensing area.

Description

Translated fromChinese
一种切换电子设备的操作模式的方法及电子设备Method for switching operation modes of electronic equipment and electronic equipment

技术领域technical field

本发明涉及电子技术领域,尤其涉及一种切换电子设备的操作模式的方法及电子设备。The invention relates to the field of electronic technology, in particular to a method for switching operation modes of an electronic device and the electronic device.

背景技术Background technique

一般电子设备后壳(如手机后壳)的材质为塑料、金属或钢化玻璃等,这些材质或可塑性、或韧度、或刚度比较好,能够较好的起到保护电子设备背面的作用,但在电子工艺和微电子技术迅速发展的今天,电子设备后壳若还只是起到保护电子设备背面的作用,那对于电子设备后壳的空间资源还是很浪费的,也就是说电子设备后壳的空间利用率还是比较低的。Generally, the back shell of electronic equipment (such as the back shell of a mobile phone) is made of plastic, metal, or tempered glass. These materials have better plasticity, toughness, or rigidity, and can better protect the back of the electronic equipment. Today, with the rapid development of electronic technology and microelectronics technology, if the back cover of electronic equipment only plays the role of protecting the back of electronic equipment, it is still a waste of space resources for the back cover of electronic equipment. The space utilization rate is still relatively low.

发明内容Contents of the invention

本发明实施例的目的在于提供一种切换电子设备的操作模式的方法及电子设备,以解决现有技术中电子设备后壳的空间利用率低的问题。The purpose of the embodiments of the present invention is to provide a method for switching operation modes of an electronic device and the electronic device, so as to solve the problem of low space utilization of the rear case of the electronic device in the prior art.

为了解决上述技术问题,本发明采用如下技术方案:In order to solve the above technical problems, the present invention adopts the following technical solutions:

依据本发明实施例的一个方面,提供了一种切换电子设备的操作模式的方法,所述电子设备的后壳上设置有电容感应区,所述方法包括:According to an aspect of an embodiment of the present invention, a method for switching an operation mode of an electronic device is provided, wherein a capacitive sensing area is provided on a rear case of the electronic device, and the method includes:

获取所述电容感应区采集的感应数据;Acquiring the sensing data collected by the capacitive sensing area;

根据所述感应数据构建感应图形;Constructing a sensing pattern according to the sensing data;

根据构建的所述感应图形,确定目标操作模式;Determining a target operation mode according to the constructed induction pattern;

将所述电子设备由当前操作模式切换到所述目标操作模式。Switching the electronic device from the current operation mode to the target operation mode.

依据本发明实施例的另一个方面,提供了一种电子设备,所述电子设备的后壳上设置有电容感应区,其中,所述电子设备还包括:According to another aspect of the embodiments of the present invention, an electronic device is provided, the rear shell of the electronic device is provided with a capacitive sensing area, wherein the electronic device further includes:

数据获取模块,用于获取所述电容感应区采集的感应数据;A data acquisition module, configured to acquire the sensing data collected by the capacitive sensing area;

图形构建模块,用于根据所述感应数据构建感应图形;A graph building module, configured to construct a sensing graph according to the sensing data;

模式确定模块,用于根据构建的所述感应图形,确定目标操作模式;A mode determination module, configured to determine a target operation mode according to the constructed induction pattern;

模式切换模块,用于将所述电子设备由当前操作模式切换到所述目标操作模式。A mode switching module, configured to switch the electronic device from the current operation mode to the target operation mode.

本发明的有益效果是:The beneficial effects of the present invention are:

上述技术方案,通过在电子设备后壳上设置电容感应模块,使设置电容感应模块的位置处形成电容感应区,根据电容感应区上的感应数据构建的感应图形,确定目标操作模式,并进行相应的切换,实现了通过在电子设备后壳上设置电容感应模块实施电子设备的操作模式切换的技术,提升了用户使用体验,同时提高了电子设备后壳的空间利用率。In the above technical solution, by setting the capacitive sensing module on the back shell of the electronic device, a capacitive sensing area is formed at the position where the capacitive sensing module is set, and the target operation mode is determined according to the sensing pattern constructed by the sensing data on the capacitive sensing area, and corresponding operations are carried out. The switch realizes the technology of switching the operation mode of the electronic device by setting the capacitive sensing module on the back shell of the electronic device, which improves the user experience and improves the space utilization rate of the back shell of the electronic device.

附图说明Description of drawings

图1表示本发明提供的电容感应区结构示意图之一;Fig. 1 represents one of the structural representations of the capacitive sensing area provided by the present invention;

图2表示本发明提供的电容感应区结构示意图之二;Fig. 2 shows the second structure schematic diagram of the capacitive sensing region provided by the present invention;

图3表示本发明提供的电容感应区结构示意图之三;Fig. 3 shows the third schematic diagram of the capacitive sensing region structure provided by the present invention;

图4表示本发明第一实施例提供的切换电子设备的操作模式的方法的流程示意图;FIG. 4 shows a schematic flowchart of a method for switching an operation mode of an electronic device provided by the first embodiment of the present invention;

图5表示本发明第二实施例提供的切换电子设备的操作模式的方法的流程示意图;FIG. 5 shows a schematic flowchart of a method for switching an operation mode of an electronic device according to a second embodiment of the present invention;

图6表示本发明第二实施例提供的示例所示的切换电子设备的操作模式的方法的流程示意图;FIG. 6 shows a schematic flowchart of a method for switching an operation mode of an electronic device shown in an example provided by a second embodiment of the present invention;

图7表示本发明第三实施例提供的切换电子设备的操作模式的方法的流程示意图;FIG. 7 shows a schematic flowchart of a method for switching an operation mode of an electronic device according to a third embodiment of the present invention;

图8表示本发明第三实施例提供的示例所示的切换电子设备的操作模式的方法的流程示意图;FIG. 8 shows a schematic flowchart of a method for switching an operation mode of an electronic device shown in an example provided by a third embodiment of the present invention;

图9表示本发明第四实施例提供的电子设备的装置结构示意图之一;FIG. 9 shows one of the device structure diagrams of the electronic equipment provided by the fourth embodiment of the present invention;

图10表示本发明第四实施例提供的电子设备的装置结构示意图之二;FIG. 10 shows the second schematic diagram of the device structure of the electronic device provided by the fourth embodiment of the present invention;

图11表示本发明第四实施例提供的电子设备的装置结构示意图之三。FIG. 11 shows the third schematic diagram of the device structure of the electronic device provided by the fourth embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

第一实施例first embodiment

要说明的是,本发明实施例中的电子设备的后壳内表面设置有电容感应区,电容感应区中包括多个电容传感器。电容感应区可以是自容传感器组成的自容感应区,也可以是互容传感器组成的互容感应区,还可以是由多个离散的自容传感器构成的自容传感器图形感应区。电容感应区可以连续布满整个电子设备后壳(参见图1),也可以只布置在电子设备后壳的左右边缘两侧(参见图2),还可以分散的布置在电子设备后壳上(参见图3),具体布置方式可根据实际需要设计。It should be noted that, in the embodiment of the present invention, the inner surface of the rear case of the electronic device is provided with a capacitive sensing area, and the capacitive sensing area includes a plurality of capacitive sensors. The capacitive sensing area may be a self-capacitance sensing area composed of self-capacitance sensors, a mutual-capacitance sensing area composed of mutual-capacitance sensors, or a self-capacitance sensor graphic sensing area composed of a plurality of discrete self-capacitance sensors. The capacitive sensing area can continuously cover the entire back case of the electronic device (see Figure 1), or it can be arranged only on the left and right sides of the back case of the electronic device (see Figure 2), or it can be scattered on the back case of the electronic device (see Figure 1). See Figure 3), the specific layout can be designed according to actual needs.

其中,若电子设备后壳为钢化玻璃材质,则电容传感器可以通过激光或丝印等方式制作在钢化玻璃上,或者将电容传感器制作在一张FPC(FlexiblePrintedCircuitboard,柔性电路板)或薄膜(例如Film或PET(polyethyleneterephthalate,聚对苯二甲酸乙二醇酯))上,然后将其贴合在钢化玻璃材质的后壳上。Among them, if the back shell of the electronic device is made of tempered glass, the capacitive sensor can be made on the tempered glass by laser or silk screen, or the capacitive sensor can be made on an FPC (Flexible Printed Circuit board, flexible circuit board) or film (such as Film or PET (polyethyleneterephthalate, polyethylene terephthalate)), and then stick it on the back shell made of tempered glass.

若是电子设备后壳的材质是塑料,则可将电容传感器制作在一张FPC(FlexiblePrintedCircuitboard,柔性电路板)或薄膜(例如Film或PET(polyethyleneterephthalate,聚对苯二甲酸乙二醇酯))上,然后将其贴合塑料材质的后壳上。If the material of the back shell of the electronic device is plastic, the capacitive sensor can be fabricated on an FPC (FlexiblePrintedCircuitboard, flexible circuit board) or film (such as Film or PET (polyethyleneterephthalate, polyethylene terephthalate)), Then attach it to the plastic back shell.

本发明实施例提供了一种切换电子设备的操作模式的方法,参见图4,该方法包括:An embodiment of the present invention provides a method for switching the operation mode of an electronic device. Referring to FIG. 4, the method includes:

S401、获取电容感应区采集的感应数据。S401. Obtain sensing data collected by the capacitive sensing area.

当有导电物体触碰到电子设备后壳的电容感应区时,触碰点上的电容传感器的电容值发生变化,形成感应数据。When a conductive object touches the capacitive sensing area of the back shell of the electronic device, the capacitance value of the capacitive sensor on the touch point changes to form sensing data.

S402、根据感应数据构建感应图形。S402. Construct a sensing pattern according to the sensing data.

其中,一个电容传感器会产生一个感应数据,对于一个连续的触摸位置,触碰到多少个电容传感器就会产生多少个感应数据,一个或多个感应数据构成一个感应数组,也就是一个感应图形。Wherein, one capacitive sensor will generate one sensing data, for a continuous touch position, as many capacitive sensors are touched will generate as many sensing data, and one or more sensing data constitute a sensing array, that is, a sensing pattern.

S403、根据构建的感应图形,确定目标操作模式。S403. Determine a target operation mode according to the constructed induction pattern.

其中,不同的操作模式对应不同的感应图形,根据每个感应图形对应的操作模式,确定当前构建的感应图形对应的操作模式。例如,若当前构建的感应图形为左手感应图形,而左手感应图形对应左手操作模式,则可确定目标操作模式为左手操作模式。其中,感应图形与操作模式的对应关系可预先进行设置。Wherein, different operation modes correspond to different induction patterns, and the operation mode corresponding to the currently constructed induction pattern is determined according to the operation mode corresponding to each induction pattern. For example, if the currently constructed sensing pattern is a left-hand sensing pattern, and the left-hand sensing pattern corresponds to the left-handed operation mode, it can be determined that the target operating mode is the left-handed operation mode. Wherein, the corresponding relationship between the induction pattern and the operation mode can be set in advance.

其中,若该感应图形没有对应的操作模式,则无效该感应图形,对此不进行处理。Wherein, if the sensing pattern does not have a corresponding operation mode, the sensing pattern is invalid, and no processing is performed on it.

S404、将电子设备由当前操作模式切换到目标操作模式。S404. Switch the electronic device from the current operation mode to the target operation mode.

也就是,在根据感应图形确定目标操作模式后,将电子设备由当前操作模式切换到目标操作模式。That is, after the target operation mode is determined according to the sensing pattern, the electronic device is switched from the current operation mode to the target operation mode.

综上所述,本发明实施例提供的上述技术方案,通过在电子设备后壳上设置电容感应区,根据电容感应区上的感应数据构建的感应图形,确定目标操作模式,并进行相应的切换,实现了通过在电子设备后壳上设置电容感应模块实施电子设备的操作模式切换的技术,提升了用户使用体验,同时提高了电子设备后壳的空间利用率。To sum up, in the above technical solution provided by the embodiment of the present invention, by setting a capacitive sensing area on the back shell of the electronic device, the target operation mode is determined according to the sensing pattern constructed by the sensing data on the capacitive sensing area, and the corresponding switching is performed. , realizing the technology of switching the operation mode of the electronic device by setting a capacitive sensing module on the back case of the electronic device, improving the user experience and improving the space utilization rate of the back case of the electronic device.

第二实施例second embodiment

对于电子设备后壳上的电容感应区的触控操作,可以是单根手指对电容感应区的触控,也可以是多根手指对电容感应区的触控,具体触控方式可根据实际需要设计,在本发明实施例中,提供了一种根据人手对电子设备的握持状态,切换电子设备的操作模式的方法,参见图5,该方法具体包括:For the touch operation of the capacitive sensing area on the back shell of the electronic device, it can be the touch of a single finger on the capacitive sensing area, or the touch of multiple fingers on the capacitive sensing area. The specific touch method can be based on actual needs. Design, in the embodiment of the present invention, there is provided a method for switching the operation mode of the electronic device according to the holding state of the electronic device by the human hand, see Figure 5, the method specifically includes:

S501、获取电容感应区采集的感应数据。S501. Obtain the sensing data collected by the capacitive sensing area.

当电容感应区中的电容传感器的电容值发生变化时生成感应数据。Sense data is generated when the capacitance value of the capacitive sensor in the capacitive sensing area changes.

S502、根据感应数据构建感应图形。S502. Construct a sensing pattern according to the sensing data.

其中,一个电容传感器会产生一个感应数据,对于一个连续的触摸位置,触碰到多少个电容传感器就会产生多少个感应数据,一个或多个感应数据构成一个感应数组,也就是一个感应图形。Wherein, one capacitive sensor will generate one sensing data, for a continuous touch position, as many capacitive sensors are touched will generate as many sensing data, and one or more sensing data constitute a sensing array, that is, a sensing pattern.

S503、根据构建的感应图形,确定握持电子设备的握持状态。S503. Determine a holding state of holding the electronic device according to the constructed sensing pattern.

根据构建出的感应图形,可确定人手对电子设备的握持状态,例如,若判断出构建的感应图形为左手手形,则可确定为左手握持电子设备,若判断出构建的感应图形为右手手形,则可确定为右手握持电子设备。According to the constructed sensing pattern, the holding state of the electronic device can be determined. For example, if it is judged that the constructed sensing pattern is a left-handed hand, it can be determined that the electronic device is held by the left hand; if it is judged that the constructed sensing pattern is a right-handed hand shape, it can be determined that the right hand is holding the electronic device.

其中,若根据该感应图形未判断出人手对电子设备的握持状态,则无效该感应图形,对此不进行处理。Wherein, if it is not determined according to the sensing pattern that the human hand is holding the electronic device, the sensing pattern is invalid and no processing is performed on it.

S504、根据确定的握持状态与操作模式的对应关系,确定与握持状态对应的目标操作模式。S504. Determine a target operation mode corresponding to the grip state according to the determined correspondence between the grip state and the operation mode.

其中,不同的握持状态对应不同的操作模式,在确定人手对电子设备的握持状态后即可确定与之对应的操作模式,即目标操作模式。Wherein, different holding states correspond to different operating modes, and the corresponding operating mode, that is, the target operating mode, can be determined after determining the holding state of the electronic device by a human hand.

S505、将电子设备由当前操作模式切换到目标操作模式。S505. Switch the electronic device from the current operation mode to the target operation mode.

也就是,在根据人手对电子设备的握持状态确定目标操作模式后,将电子设备由当前操作模式切换到目标操作模式。That is, after the target operation mode is determined according to the holding state of the electronic device by the human hand, the electronic device is switched from the current operation mode to the target operation mode.

综上所述,本发明实施例提供的上述技术方案,通过电子设备后壳上的电容感应区判断人手对电子设备的握持状态,然后根据人手对电子设备的握持状态确定并切换目标操作模式,满足了电子设备用户的个性化要求,提升了用户对电子设备的使用体验。To sum up, the above technical solution provided by the embodiment of the present invention judges the state of holding the electronic device by the human hand through the capacitive sensing area on the back shell of the electronic device, and then determines and switches the target operation according to the state of holding the electronic device by the human hand. The mode satisfies the individual requirements of electronic device users and improves the user's experience in using electronic devices.

具体的,为了方便的识别出是左手握持电子设备还是右手握持电子设备,在本发明实施例中使电子设备上的电容感应区至少包括第一感应区和第二感应区。其中,第一感应区位于电子设备后壳的左侧边缘位置,第二感应区位于电子设备后壳的右侧边缘位置。一般人手在握持电子设备时,多根手指和部分手掌会分别位于电子设备后壳的左右两侧边缘,因此通过判断第一感应区和第二感应区中构建的感应图形是手指感应图形还是手掌感应图形,可确定是左手握持电子设备还是右手握持电子设备,也就是若根据第一感应区采集的感应数据构建得到手指感应图形,根据第二感应区采集的感应数据构建得到手掌感应图形,则确定握持状态为右手握持;若根据第一感应区采集的感应数据构建得到手掌感应图形,根据第二感应区采集的感应数据构建得到手指感应图形,则确定握持状态为左手握持。Specifically, in order to conveniently identify whether the electronic device is held by the left hand or the right hand, in the embodiment of the present invention, the capacitive sensing area on the electronic device at least includes a first sensing area and a second sensing area. Wherein, the first sensing area is located at the left edge of the electronic device rear case, and the second sensing area is located at the right edge of the electronic device's rear case. When a general human hand holds an electronic device, multiple fingers and part of the palm will be located on the left and right edges of the back shell of the electronic device respectively. Therefore, by judging whether the sensing pattern constructed in the first sensing area and the second sensing area is a finger sensing pattern or a palm The sensing pattern can determine whether the electronic device is held by the left hand or the right hand, that is, if the finger sensing pattern is constructed based on the sensing data collected by the first sensing area, the palm sensing pattern is constructed based on the sensing data collected by the second sensing area , then it is determined that the holding state is right hand holding; if the palm sensing pattern is constructed based on the sensing data collected in the first sensing area, and the finger sensing pattern is constructed based on the sensing data collected in the second sensing area, then the holding state is determined to be left hand holding hold.

需要说明的是,第一感应区和第二感应区可以是分离的两个区域,也可以连续的两个区域,一般在位于电子设备后壳左侧的第一感应区中设有一用于区分左右的参考点,即电容传感器的起点位置,也就是若该起点参考点位于第一感应区中,而第一感应区位于电子设备后壳的左侧,则定义出位于第一感应区中的电容传感器位于电子设备后壳的左侧,位于第二感应区中的电容传感器位于电子设备后壳的后侧。当然可以理解的是,该起点位置参考点也可位于电子设备后壳右侧的第二感应区中,电容传感器的左右位置定义的原理与上述类似,便不再赘述。It should be noted that the first sensing area and the second sensing area can be two separate areas, or two continuous areas. Generally, a sensor for distinguishing The left and right reference points, that is, the starting position of the capacitive sensor, that is, if the starting point reference point is located in the first sensing area, and the first sensing area is located on the left side of the back shell of the electronic device, then the position located in the first sensing area is defined. The capacitive sensor is located on the left side of the rear case of the electronic device, and the capacitive sensor located in the second sensing area is located on the rear side of the rear case of the electronic device. Of course, it can be understood that the starting position reference point can also be located in the second sensing area on the right side of the rear case of the electronic device, and the principle of defining the left and right positions of the capacitive sensor is similar to the above, and will not be repeated here.

进一步的,由于单手操作大屏电子设备时存在左右手使用习惯问题,因此可利用用户左右手对电子设备的握持状态,实现左右手个性化操作界面的自动切换功能,方便用户个性化的使用习惯,也就是若确定握持状态为右手握持,则将当前的操作模式切换为右手操作模式;若确定握持状态为左手握持,则将当前的操作模式切换为左手操作模式。Further, since there is a left-handed use habit problem when operating a large-screen electronic device with one hand, the user's left and right hands can be used to hold the electronic device to realize the automatic switching function of the left-handed personalized operation interface, which is convenient for the user's personalized use habits. That is, if it is determined that the holding state is right-handed, the current operation mode is switched to the right-handed operation mode; if it is determined that the holding state is left-handed, the current operation mode is switched to the left-handed operation mode.

为了对具有第一感应区和第二感应区的电容感应区进行进一步的理解,下面进行详细说明,其中,电容感应区可以为互容感应区或是自容感应区。In order to further understand the capacitive sensing area having the first sensing area and the second sensing area, detailed description will be given below, wherein the capacitive sensing area may be a mutual capacitance sensing area or a self-capacitance sensing area.

1)当电容感应区为互容感应区时,参见图1,图1中示出在电子设备后壳1上布置有连续的电容感应区2,该电容感应区2包括位于电子设备后壳1左侧边缘的第一感应区201和位于电子设备后壳1右侧边缘的第二感应区202,其中第一感应区201的电容传感器一种分布情况为[Rx1-Tx1,Rx1-Txn],第二感应区202的电容传感器的对应的分布情况为[Rxm-Tx1,Rxm-Txn]。1) When the capacitive sensing area is a mutual capacitance sensing area, refer to FIG. 1, which shows that a continuous capacitive sensing area 2 is arranged on the back shell 1 of the electronic device, and the capacitive sensing area 2 includes a The first sensing area 201 on the left edge and the second sensing area 202 located on the right edge of the rear case 1 of the electronic device, wherein a distribution of the capacitive sensors in the first sensing area 201 is [Rx1-Tx1, Rx1-Txn], The corresponding distribution of the capacitive sensors in the second sensing region 202 is [Rxm-Tx1, Rxm-Txn].

其中,Rx表示接收极,纵向排布在电子设备后壳1上,Tx表示发射极,横向排布在电子设备后壳1上,m表示接收极Rx的通道数,n表示发射极Tx的通道数,Rx1-Tx1表示接收极Rx1与发射极Tx1形成的电容传感器;Rx1-Txn表示接收极Rx1与发射极Txn形成的电容传感器;Rxm-Tx1表示接收极Rxm与发射极Tx1形成的电容传感器;Rxm-Txn表示接收极Rxm与发射极Txn形成的电容传感器。[Rx1-Tx1,Rx1-Txn]表示Rx1分别与Tx1~Txn形成的n个电容传感器,n个电容传感器依次纵向排布在第一感应区201;[Rxm-Tx1,Rxm-Txn]表示Rxm分别与Tx1~Txn形成的n个电容传感器,n个电容传感器依次纵向排布在第二感应区202;其中,可设定第一感应区201中的Rx1-Tx1为电容感应区的起点位置参考点。Among them, Rx represents the receiving pole, which is arranged vertically on the back shell 1 of the electronic device, Tx represents the emitter pole, and is arranged horizontally on the back shell 1 of the electronic device, m represents the number of channels of the receiving pole Rx, and n represents the channel of the emitter Tx Rx1-Tx1 represents the capacitive sensor formed by the receiver Rx1 and the emitter Tx1; Rx1-Txn represents the capacitive sensor formed by the receiver Rx1 and the emitter Txn; Rxm-Tx1 represents the capacitive sensor formed by the receiver Rxm and the emitter Tx1; Rxm-Txn represents a capacitive sensor formed by the receiver Rxm and the emitter Txn. [Rx1-Tx1, Rx1-Txn] means n capacitive sensors formed by Rx1 and Tx1 ~ Txn respectively, and the n capacitive sensors are arranged longitudinally in the first sensing area 201 in sequence; [Rxm-Tx1, Rxm-Txn] means that Rxm respectively n capacitive sensors formed with Tx1~Txn, n capacitive sensors are arranged vertically in the second sensing area 202 in turn; among them, Rx1-Tx1 in the first sensing area 201 can be set as the starting position reference point of the capacitive sensing area .

当然可以理解的是,接收极通道可以依次从左到右排列,也可以依次从右到左排列,发射极通道可以依次从上到下排列,也可以依次从下到上排列,具体排列情况,可依据实际需要设计,本发明实施例对此不进行限定。而上述描述的第一感应区201和第二感应区202中的电容传感器的分布情况只是其中一种情况,即接收极通道依次从左到右排列,发射极通道依次从上到下排列。Of course, it can be understood that the receiver channels can be arranged from left to right, or from right to left, and the emitter channels can be arranged from top to bottom, or from bottom to top. The specific arrangement, It can be designed according to actual needs, which is not limited in this embodiment of the present invention. The distribution of the capacitive sensors in the first sensing area 201 and the second sensing area 202 described above is only one of the cases, that is, the receiver channels are arranged from left to right, and the emitter channels are arranged from top to bottom.

2)当电容感应区为互容感应区时,参见图1,第一感应区201的电容传感器的另一种分布情况为[Tx1-Rx1,Tx1-Rxm],第二感应区202的电容传感器的对应的分布情况为[Txn-Rx1,Txn-Rxm]。2) When the capacitive sensing area is a mutual capacitance sensing area, referring to Fig. 1, another distribution of the capacitive sensor in the first sensing area 201 is [Tx1-Rx1, Tx1-Rxm], and the capacitive sensor in the second sensing area 202 The corresponding distribution of is [Txn-Rx1, Txn-Rxm].

其中,Rx表示接收极,横向排布在电子设备后壳1上,Tx表示发射极,纵向排布在电子设备后壳1上,m表示接收极Rx的通道数,n表示发射极Tx的通道数,Tx1-Rx1表示发射极Tx1与接收极Rx1形成的电容传感器;Tx1-Rxm表示发射极Tx1与接收极Rxm形成的电容传感器;Txn-Rx1表示发射极Txn与接收极Rx1形成的电容传感器;Txn-Rxm表示发射极Txn与接收极Rxm形成的电容传感器。[Tx1-Rx1,Tx1-Rxm]表示Tx1分别与Rx1~Rxm形成的m个电容传感器,m个电容传感器依次纵向排布在第一感应区201;[Txn-Rx1,Txn-Rxm]表示Txn分别与Rx1~Rxm形成的m个电容传感器,m个电容传感器依次纵向排布在第二感应区202;其中,可设定第一感应区201中的Tx1-Rx1为电容感应区的起点位置参考点。Among them, Rx represents the receiving pole, which is arranged horizontally on the back shell 1 of the electronic device, Tx represents the emitter pole, and is arranged vertically on the back shell 1 of the electronic device, m represents the number of channels of the receiving pole Rx, and n represents the channel of the emitter Tx Tx1-Rx1 represents the capacitive sensor formed by the emitter Tx1 and the receiver Rx1; Tx1-Rxm represents the capacitive sensor formed by the emitter Tx1 and the receiver Rxm; Txn-Rx1 represents the capacitive sensor formed by the emitter Txn and the receiver Rx1; Txn-Rxm represents a capacitive sensor formed by the emitter Txn and the receiver Rxm. [Tx1-Rx1, Tx1-Rxm] means m capacitive sensors formed by Tx1 and Rx1~Rxm respectively, and the m capacitive sensors are arranged vertically in the first sensing area 201 in sequence; [Txn-Rx1, Txn-Rxm] means that Txn respectively m capacitive sensors formed with Rx1-Rxm, m capacitive sensors are arranged longitudinally in the second sensing area 202 in turn; among them, Tx1-Rx1 in the first sensing area 201 can be set as the starting position reference point of the capacitive sensing area .

当然可以理解的是,接收极通道可以依次从上到下排列,也可以依次从下到上排列,发射极通道可以依次从左到右排列,也可以依次从右到左排列,具体排列情况,可依据实际需要设计,本发明实施例对此不进行限定。而上述描述的第一感应区201和第二感应区202中的电容传感器的分布情况只是其中一种情况,即接收极通道依次从上到下排列,发射极通道依次从左到右排列。Of course, it can be understood that the receiver channels can be arranged from top to bottom, or from bottom to top, and the emitter channels can be arranged from left to right, or from right to left. The specific arrangement is as follows: It can be designed according to actual needs, which is not limited in this embodiment of the present invention. The distribution of capacitive sensors in the first sensing area 201 and the second sensing area 202 described above is only one of the cases, that is, the receiver channels are arranged from top to bottom, and the emitter channels are arranged from left to right.

需要说明的是,上述互容感应区可按常规互容电容sensorpattern(传感器图形)设计,这里不做具体要求。It should be noted that the aforementioned mutual capacitance sensing area can be designed according to a conventional mutual capacitance sensor pattern (sensor pattern), and no specific requirements are made here.

3)当电容感应区为自容感应区时,参见图2,图2示出在电子设备后壳1上的电容感应区2包括位于电子设备后壳1左侧边缘的第一感应区201和位于电子设备后壳1右侧边缘的第二感应区202,第一感应区201的电容传感器的分布情况为[TRx1,TRxm/2],第二感应区202的电容传感器对应的分布情况为[TRx(m/2)+1,TRxm]。3) When the capacitive sensing area is a self-capacitance sensing area, referring to FIG. 2, FIG. 2 shows that the capacitive sensing area 2 on the electronic device rear case 1 includes a first sensing area 201 and a first sensing area 201 located at the left edge of the electronic device rear case 1. In the second sensing area 202 located at the right edge of the back shell 1 of the electronic device, the distribution of the capacitive sensors in the first sensing area 201 is [TRx1, TRxm/2], and the corresponding distribution of the capacitive sensors in the second sensing area 202 is [ TRx(m/2)+1, TRxm].

其中,TRx表示接收极/发射极,纵向排布在电子设备后壳1上,m是TRx的通道数,TRx1~TRxm表示与各自通道对应的电容传感器。[TRx1,TRxm/2]表示TRx1~TRxm/2对应的m/2(m为偶数)个电容传感器,m/2个电容传感器依次纵向排布在第一感应区201;[TRx(m/2)+1,TRxm]表示TRx(m/2)+1~TRxm对应的m/2个电容传感器,m/2个电容传感器依次纵向排布在第二感应区202;其中,可设定第一感应区201的TRx1为电容感应区的起点位置。Among them, TRx represents the receiver/emitter, which are vertically arranged on the back shell 1 of the electronic device, m is the channel number of TRx, and TRx1-TRxm represent the capacitive sensors corresponding to the respective channels. [TRx1, TRxm/2] means m/2 (m is an even number) capacitive sensors corresponding to TRx1 ~ TRxm/2, and the m/2 capacitive sensors are arranged longitudinally in the first sensing area 201 in sequence; [TRx(m/2 )+1, TRxm] means the m/2 capacitive sensors corresponding to TRx(m/2)+1~TRxm, and the m/2 capacitive sensors are arranged longitudinally in the second sensing area 202 in turn; wherein, the first TRx1 of the sensing area 201 is the starting position of the capacitive sensing area.

当然可以理解的是,TRx可以依次从上到下排列,也可以依次从下到上排列,具体排列情况,可依据实际需要设计,本发明实施例对此不进行限定。而上述第一感应区201和第二感应区202的电容传感器的分布情况只是其中一种,即TRx通道依次从上到下排列。Of course, it can be understood that the TRx can be arranged sequentially from top to bottom, or can be arranged sequentially from bottom to top. The specific arrangement can be designed according to actual needs, which is not limited in the embodiment of the present invention. The above-mentioned distribution of the capacitive sensors in the first sensing area 201 and the second sensing area 202 is only one of them, that is, the TRx channels are arranged sequentially from top to bottom.

需要说明的,上述互容感应区可按常规自容电容sensorpattern(传感器图形)设计,这里不做具体要求。It should be noted that the above-mentioned mutual capacitance sensing area can be designed according to a conventional self-capacitance sensor pattern (sensor pattern), and no specific requirements are made here.

其中,通道排序的考虑最重要的是要能方便地区分出握持电子设备时在电子设备左右边缘上电容感应区的数据分布情况,结合第一感应区和第二感应区的数据分布情况,构建出不同的感应图形。例如,对于1)和2)中描述电容感应区,若一个感应区构建出的感应图形分散,由几个分离的比较小的感应数组(即感应图形)组成,且一般感应数组数量大于等于1,且小于等于4,则这样的感应图形感应数组数较多且面积较小的感应称为手指感应图形;若另一感应区构建出的感应图形是一个比较大的感应数组,一般面积是前面提到小的感应数组面积的两倍以上,且感应图形感应数组数量一般小于2,则这样的感应图形感应数组数少且面积较大的感应称为手掌感应图形,结合感应区中的起点参考点位置,就能判断出左右手握持电子设备的状态。Among them, the most important consideration for channel sorting is to be able to easily distinguish the data distribution of the capacitive sensing area on the left and right edges of the electronic device when holding the electronic device, combined with the data distribution of the first sensing area and the second sensing area, Construct different induction patterns. For example, for the capacitive sensing area described in 1) and 2), if the sensing pattern constructed by a sensing area is dispersed, it is composed of several separated relatively small sensing arrays (ie sensing patterns), and the number of sensing arrays is generally greater than or equal to 1 , and is less than or equal to 4, then such a sensing pattern with a large number of sensing arrays and a small area is called a finger sensing pattern; if the sensing pattern constructed by another sensing area is a relatively large sensing array, the general area is the front It is mentioned that the area of the small sensing array is more than twice, and the number of sensing arrays of the sensing pattern is generally less than 2, then such a sensing pattern with a small number of sensing arrays and a large area is called a palm sensing pattern, combined with the starting point in the sensing area for reference Click the position to judge the state of the electronic device held by the left and right hands.

对于3)中描述的电容感应区,若一个感应区构建的感应图形分散,由几个分离的感应数组组成,且一般感应数组数量大于等于1,且小于等于4,每个感应数组一般由相邻且数量小于等于5个TRx通道感应数据组成,则这样的感应数组数量较多且尺寸较小的感应称为手指感应图形;若另一感应区构建的感应图形是由1组或2组感应数组组成,比较大的感应数组一般由相邻6个或以上TRx通道感应数据组成(一般TRx通道间的间距为5mm),则这样的感应数组数量较少且尺寸较大的感应称为手掌感应图形,结合感应TRx通道的排序情况和感应区中的起点参考点位置,就能判断出左右手握持手机的状态。For the capacitive sensing area described in 3), if the sensing pattern constructed by a sensing area is scattered and consists of several separate sensing arrays, and generally the number of sensing arrays is greater than or equal to 1 and less than or equal to 4, each sensing array is generally composed of Adjacent and the number is less than or equal to 5 TRx channel sensing data, then such a sensor with a large number of sensing arrays and a small size is called a finger sensing pattern; if the sensing pattern constructed by another sensing area is composed of 1 or 2 sets of sensing Composed of arrays, relatively large sensing arrays are generally composed of adjacent 6 or more TRx channel sensing data (generally, the spacing between TRx channels is 5mm), then such sensing arrays with fewer numbers and larger sizes are called palm sensing Graphics, combined with the ordering of the sensing TRx channels and the position of the starting point reference point in the sensing area, can determine the state of the mobile phone being held by the left and right hands.

为进一步理解如何根据左右手对电子设备的握持状态,实现左右手个性化操作界面的自动切换的方法,下面以一示例加以说明,参见图6,该示例具体包括:In order to further understand how to realize the method of automatic switching of the personalized operation interface of the left and right hands according to the holding state of the electronic device by the left and right hands, an example is used below to illustrate, see FIG. 6, the example specifically includes:

S601、电子设备后壳上的电容感应区中的电容传感器采集感应数据,并构建出感应图形,然后进入S602。S601. The capacitive sensor in the capacitive sensing area on the back shell of the electronic device collects sensing data, and constructs a sensing pattern, and then enters S602.

S602、判断电子设备后壳左右边缘上的电容感应区中构建的感应图形分别是手指感应图形还是手掌感应图形,然后进入S603或S604或S605。S602. Determine whether the sensing patterns constructed in the capacitive sensing areas on the left and right edges of the rear case of the electronic device are finger sensing patterns or palm sensing patterns respectively, and then proceed to S603, S604, or S605.

S603、若电子设备后壳左边缘上的电容感应区中构建的感应图形为手掌感应图形,右边缘上的电容感应区中构建的感应图形为手指感应图形,则确定为左手握持状态,并进入S606。S603. If the sensing pattern constructed in the capacitive sensing area on the left edge of the electronic device's rear case is a palm sensing pattern, and the sensing pattern constructed in the capacitive sensing area on the right edge of the electronic device is a finger sensing pattern, determine that it is held by the left hand, and Go to S606.

S604、若电子设备后壳左边缘上的电容感应区中构建的感应图形为手指感应图形,右边缘上的电容感应区中构建的感应图形为手掌感应图形,则确定为右手握持状态,并进入S607。S604. If the sensing pattern constructed in the capacitive sensing area on the left edge of the electronic device's rear case is a finger sensing pattern, and the sensing pattern constructed in the capacitive sensing area on the right edge of the electronic device is a palm sensing pattern, determine that it is a right hand holding state, and Go to S607.

S605、若电子设备后壳左右边缘上的电容感应区中构建的感应图形不满足手掌感应图形和手指感应图形的判断条件,则进入S608。S605. If the sensing patterns constructed in the capacitive sensing areas on the left and right edges of the rear case of the electronic device do not satisfy the judging conditions of the palm sensing pattern and the finger sensing pattern, go to S608.

S606、上报感应数据到电子设备主机,将电子设备当前操作模式切换为左手使用操作模式。S606. Report the sensing data to the electronic device host, and switch the current operation mode of the electronic device to the left-handed operation mode.

S607、上报感应数据到电子设备主机,将电子设备当前操作模式切换为右手使用操作模式。S607. Report the sensing data to the electronic device host, and switch the current operation mode of the electronic device to the right-handed operation mode.

S608、无效感应数据,不做处理。S608 , invalid sensing data, not processed.

综上所述,上述技术方案利用用户左右手对电子设备的握持状态,实现左右手个性化操作界面的自动切换功能,方便了用户个性化的使用习惯To sum up, the above technical solution utilizes the user's left and right hands to hold the electronic device to realize the automatic switching function of the left and right hand personalized operation interface, which facilitates the user's personalized use habits.

第三实施例third embodiment

本发明实施例提供了一种通过对比构建的感应图形与预先设置的标准图形,切换电子设备的操作模式的方法,参见图7,该方法具体包括:An embodiment of the present invention provides a method for switching the operation mode of an electronic device by comparing the constructed induction pattern with the preset standard pattern, as shown in FIG. 7 , the method specifically includes:

S701、获取电容感应区采集的感应数据。S701. Acquire sensing data collected by the capacitive sensing area.

当电容感应区中的电容传感器的电容值发生变化时生成感应数据。Sense data is generated when the capacitance value of the capacitive sensor in the capacitive sensing area changes.

S702、根据感应数据构建感应图形。S702. Construct a sensing pattern according to the sensing data.

其中,一个电容传感器会产生一个感应数据,对于一个连续的触摸位置,触碰到多少个电容传感器就会产生多少个感应数据,一个或多个感应数据构成一个感应数组,也就是一个感应图形。Wherein, one capacitive sensor will generate one sensing data, for a continuous touch position, as many capacitive sensors are touched will generate as many sensing data, and one or more sensing data constitute a sensing array, that is, a sensing pattern.

S703、对比构建的感应图形与预先设置的标准图形。S703. Comparing the constructed induction pattern with the preset standard pattern.

其中,为方便确定目标操作模式,可针对每种目标操作模式预先设置相应的参考图形,即标准图形。预先设置的标准图形可以为一规则的几何图形(比如正方形、圆形、三角形等),也可以为不规则的图形(比如不同人手握持电子设备时在电容感应区所构建的图形),具体情况可根据实际需要设置。Wherein, for the convenience of determining the target operation mode, corresponding reference graphics, ie standard graphics, may be preset for each target operation mode. The preset standard graphics can be a regular geometric figure (such as a square, a circle, a triangle, etc.), or an irregular figure (such as a figure constructed in a capacitive sensing area when different hands hold an electronic device). The situation can be set according to actual needs.

S704、若构建的感应图形与预先设置的标准图形匹配,则获取与预先设置的标准图形对应的目标操作模式,其中,一个目标操作模式与至少一个预先设置的标准图形对应。S704. If the constructed sensing pattern matches the preset standard pattern, acquire a target operation mode corresponding to the preset standard pattern, wherein one target operation mode corresponds to at least one preset standard pattern.

其中,每一个标准图形对应一个目标操作模式,但是同一个目标操作模式可能对应多个标准图形,由于每一次通过人手在电容感应区上构建的同一感应图形会有所差异,而且不同的人手构建同一感应图形更是不同,因此,对于一个目标操作模式,可能会对应一个或多个预先设置的标准图形。Among them, each standard pattern corresponds to a target operation mode, but the same target operation mode may correspond to multiple standard patterns, because the same sensing pattern constructed by human hands on the capacitive sensing area will be different each time, and different human hands construct The same sensing pattern is even different, therefore, for a target operation mode, it may correspond to one or more preset standard patterns.

S705、根据获取的目标操作模式,将电子设备由当前操作模式切换到目标操作模式。S705. Switch the electronic device from the current operation mode to the target operation mode according to the acquired target operation mode.

也就是,在根据构建的感应图形与标准图形对比确定目标操作模式后,将电子设备由当前操作模式切换到目标操作模式。That is, after the target operation mode is determined according to the comparison between the constructed induction pattern and the standard pattern, the electronic device is switched from the current operation mode to the target operation mode.

综上所述,本发明实施例提供的上述技术方案,通过将电子设备后壳上的电容感应区中构建的感应图形与预先设置的标准图形进行对比,确定并切换目标操作模式,方便了目标操作模式的确定,提升了用户对电子设备的使用体验,同时提高了电子设备的后壳的空间利用率。To sum up, the above technical solution provided by the embodiment of the present invention compares the sensing pattern constructed in the capacitive sensing area on the back shell of the electronic device with the preset standard pattern to determine and switch the target operation mode, which facilitates the target operation mode. The determination of the operation mode improves the user's experience of using the electronic device, and at the same time improves the space utilization rate of the rear case of the electronic device.

具体的,可通过预先设置标准手形图形,确定人手对电子设备的握持状态,再根据人手对电子设备的握持状态,确定相应的操作模式,也就是对比构建的感应图形与预先设置的标准手形图形,其中标准手形图形包括:左手手形图形和右手手形图形,若构建的感应图形与预先设置的左手手形图形匹配,则获取与左手手形图形对应的左手操作模式,若构建的感应图形与预先设置的右手手形图形匹配,则获取与右手手形图形对应的右手操作模式。Specifically, the gripping state of the electronic device by the human hand can be determined by pre-setting the standard hand shape pattern, and then the corresponding operation mode can be determined according to the gripping state of the electronic device by the human hand, that is, comparing the constructed sensing pattern with the preset standard Hand graphics, where the standard hand graphics include: left-handed graphics and right-handed graphics, if the constructed sensing graphics match the preset left-handed graphics, then get the left-handed operation mode corresponding to the left-handed graphics, if the constructed sensory graphics match the preset left-handed graphics If the set right-hand hand shape matches, the right-hand operation mode corresponding to the right-hand hand shape is obtained.

对于上述技术方案,电子设备后壳上的电容感应区可以布置成多个自容传感器图形(即自容sensorpatterns),参见图3,图3中示出电子设备后壳1上共布置有6个传感器图形3,一个传感器图形3就是一个自容TRx通道电极,也就是一个自容电容传感器,其中,传感器图形的外形、尺寸及数量可根据实际需要设计,这里不做具体要求。传感器图形的外形、尺寸和数量的考虑最重要的是要能方便地区分出左右手握持电子设备时手形的数据分布情况,当用不同的手形握持电子设备时,多个传感器图形采集到的数据对于同一个人来说是有一定的规律的,把这些有规律的特征数据构建出不同的手形并存储在手形库里,也就是自容传感器图形是根据各个传感器图形采集到的数据,按比例关系来判断左右手握持电子设备的状态,比如,把各个传感器图形采集到数据做比值运算,按照不同手形形成的比值关系来构建出不同的手形数据,存储在手形库中。当检测到有手握持电子设备时,首先是多个传感器图形采集手握数据并构建出手形,与之前的手形库中的手形进行一一比对,若有匹配手形则执行相关手形操作,若无匹配手形,则记为无效手形。另外,由于不同人的手的大小、形状有所差异,因此需事先具有手形学习录入的过程,将学习到手形保存在手形库中,以提高该方案的适用范围。For the above technical solution, the capacitive sensing area on the back shell of the electronic device can be arranged as a plurality of self-capacitance sensor patterns (ie, self-capacitance sensorpatterns), as shown in FIG. Sensor pattern 3, a sensor pattern 3 is a self-capacitance TRx channel electrode, that is, a self-capacitance sensor, wherein the shape, size and quantity of the sensor pattern can be designed according to actual needs, and no specific requirements are made here. The most important consideration for the shape, size and quantity of sensor graphics is to be able to easily distinguish the data distribution of the hand shape when the left and right hands hold the electronic device. When holding the electronic device with different hand shapes, the data collected by multiple sensor graphics The data has certain rules for the same person, and these regular feature data are used to construct different hand shapes and store them in the hand shape library, that is, the self-capacitance sensor graphics are based on the data collected by each sensor graphic, proportionally To determine the status of the left and right hands holding the electronic device, for example, the data collected by each sensor graphic is used for ratio calculation, and different hand shape data are constructed according to the ratio relationship formed by different hand shapes, and stored in the hand shape library. When it is detected that there is a hand holding the electronic device, firstly, multiple sensor graphics collect the hand data and construct the hand shape, which is compared with the hand shape in the previous hand shape library one by one. If there is a matching hand shape, the relevant hand shape operation is performed. If there is no matching hand shape, it will be recorded as an invalid hand shape. In addition, because the size and shape of different people's hands are different, it is necessary to have the process of learning and entering the hand shape in advance, and store the learned hand shape in the hand shape library to improve the scope of application of the scheme.

为进一步理解如何根据左右手对电子设备的握持状态,实现左右手个性化操作界面的自动切换的方法,下面以一示例加以说明,参见图8,该示例具体包括:In order to further understand how to realize the method of automatic switching of the left and right hand personalized operation interface according to the holding state of the electronic device by the left and right hands, an example is used below to illustrate, see FIG. 8, the example specifically includes:

S801、电子设备后壳上的sensorpatterns(即传感器图形)中的电容传感器采集感应数据,并构建出感应图形,然后进入S802。S801. The capacitive sensor in the sensorpatterns (ie, sensor pattern) on the back shell of the electronic device collects sensing data, constructs a sensing pattern, and then enters S802.

S802、将构建的感应图形与预先存储在手形库中的手形感应图形进行对比,然后进入S803或S804或S805。S802. Compare the constructed sensing pattern with the hand shape sensing pattern pre-stored in the hand shape library, and then enter S803 or S804 or S805.

S803、若构建的感应图形与左手握持电子设备的左手手形图形匹配,则确定为左手握持状态,并进入S806。S803. If the constructed sensing pattern matches the left-hand hand-shape pattern of the electronic device held by the left hand, it is determined that the electronic device is held by the left hand, and enters S806.

S804、若构建的感应图形与右手握持电子设备的右手手形图形匹配,则确定为右手握持状态,并进入S807。S804. If the constructed sensing pattern matches the right hand shape pattern of the right hand holding the electronic device, it is determined that the electronic device is held by the right hand, and enters S807.

S805、若构建的感应图形与手形库中的手形感应图形均不匹配,则进入S808。S805. If none of the constructed sensing patterns match the hand shape sensing patterns in the hand shape library, go to S808.

S806、上报感应数据到电子设备主机,将电子设备当前操作模式切换为左手使用操作模式。S806. Report the sensing data to the electronic device host, and switch the current operation mode of the electronic device to the left-handed operation mode.

S807、上报感应数据到电子设备主机,将电子设备当前操作模式切换为右手使用操作模式。S807. Report the sensing data to the electronic device host, and switch the current operation mode of the electronic device to the right-handed operation mode.

S808、无效感应数据,不做处理。S808, invalid sensing data, no processing.

综上所述,上述技术方案能够通过将电子设备后壳上的电容感应区中构建的感应图形与预先设置在手形库中的手形进行对比,确定并切换目标操作模式,方便了目标操作模式的确定,满足了用户的个性化使用要求,提升了用户对电子设备的使用体验,同时提高了电子设备后壳的空间利用率。To sum up, the above technical solution can determine and switch the target operation mode by comparing the sensing pattern constructed in the capacitive sensing area on the back shell of the electronic device with the hand shape preset in the hand shape library, which facilitates the selection of the target operation mode. It is determined that the user's personalized use requirements are met, the user's experience of using the electronic device is improved, and the space utilization rate of the rear case of the electronic device is improved at the same time.

第四实施例Fourth embodiment

本发明实施例提供了一种电子设备,该电子设备的后壳内表面设置有电容感应区,电容感应区中包括多个电容传感器。电容感应区可以是自容传感器组成的自容感应区,也可以是互容传感器组成的互容感应区,还可以是由多个离散的自容传感器构成的自容感应图形感应区。电容感应区可以连续布满整个电子设备后壳(参见图1),也可以只布置在电子设备后壳的左右两侧(参见图2),还可以分散的布置在电子设备后壳上(参见图3),具体布置方式可根据实际需要设计。An embodiment of the present invention provides an electronic device. A capacitive sensing area is provided on the inner surface of a rear case of the electronic device, and the capacitive sensing area includes a plurality of capacitive sensors. The capacitive sensing area can be a self-capacitance sensing area composed of self-capacitance sensors, a mutual-capacitance sensing area composed of mutual-capacitance sensors, or a self-capacitance sensing pattern sensing area composed of a plurality of discrete self-capacitance sensors. The capacitive sensing area can continuously cover the entire back case of the electronic device (see Figure 1), or it can be arranged only on the left and right sides of the back case of the electronic device (see Figure 2), or it can be distributed on the back case of the electronic device (see Figure 2). Figure 3), the specific layout can be designed according to actual needs.

其中,若电子设备后壳为钢化玻璃材质,则电容传感器可以通过激光或丝印等方式制作在钢化玻璃上,或者将电容传感器制作在一张FPC(FlexiblePrintedCircuitboard,柔性电路板)或薄膜(例如Film或PET(polyethyleneterephthalate,聚对苯二甲酸乙二醇酯))上,然后将其贴合在钢化玻璃材质的后壳上。Among them, if the back shell of the electronic device is made of tempered glass, the capacitive sensor can be made on the tempered glass by laser or silk screen, or the capacitive sensor can be made on an FPC (Flexible Printed Circuit board, flexible circuit board) or film (such as Film or PET (polyethyleneterephthalate, polyethylene terephthalate)), and then stick it on the back shell made of tempered glass.

若是电子设备后壳的材质是塑料,则可将电容传感器制作在一张FPC(FlexiblePrintedCircuitboard,柔性电路板)或薄膜(例如Film或PET(polyethyleneterephthalate,聚对苯二甲酸乙二醇酯))上,然后将其贴合塑料材质的后壳上。其中,参见图9,该电子设备还包括:If the material of the back shell of the electronic device is plastic, the capacitive sensor can be fabricated on an FPC (FlexiblePrintedCircuitboard, flexible circuit board) or film (such as Film or PET (polyethyleneterephthalate, polyethylene terephthalate)), Then attach it to the plastic back shell. Wherein, referring to FIG. 9, the electronic device also includes:

数据获取模块901,用于获取电容感应区采集的感应数据。The data acquisition module 901 is configured to acquire the sensing data collected by the capacitive sensing area.

当有导电物体触碰到电子设备后壳的电容感应区时,触碰点上的电容传感器的电容值发生变化,形成感应数据,数据获取模块901可获取该感应数据。When a conductive object touches the capacitive sensing area on the back cover of the electronic device, the capacitance value of the capacitive sensor on the touch point changes to form sensing data, which can be acquired by the data acquisition module 901 .

图形构建模块902,用于根据感应数据构建感应图形。A graph construction module 902, configured to construct a sensing graph according to the sensing data.

其中,一个电容传感器会产生一个感应数据,对于一个连续的触摸位置,触碰到多少个电容传感器就会产生多少个感应数据,图形构建模块902根据一个或多个感应数据构建出相应的感应图形。Wherein, a capacitive sensor will generate a sensing data, for a continuous touch position, as many capacitive sensors are touched will generate as many sensing data, and the graphic building module 902 constructs a corresponding sensing graph according to one or more sensing data .

模式确定模块903,用于根据构建的感应图形,确定目标操作模式。The mode determination module 903 is configured to determine the target operation mode according to the constructed induction pattern.

不同的操作模式对应不同的感应图形,模式确定模块903能够根据每个感应图形对应的操作模式,确定当前构建的感应图形对应的操作模式。例如,若当前感应图形为左手感应图形,而左手感应图形对应左手操作模式,则确定目标操作模式为左手操作模式。其中,感应图形与操作模式的对应关系可预先进行设置。Different operation modes correspond to different induction patterns, and the mode determination module 903 can determine the operation mode corresponding to the currently constructed induction pattern according to the operation mode corresponding to each induction pattern. For example, if the current sensing pattern is the left-hand sensing pattern, and the left-hand sensing pattern corresponds to the left-hand operation mode, then it is determined that the target operation mode is the left-hand operation mode. Wherein, the corresponding relationship between the induction pattern and the operation mode can be set in advance.

模式切换模块904,用于将电子设备由当前操作模式切换到目标操作模式。A mode switching module 904, configured to switch the electronic device from the current operation mode to the target operation mode.

也就是模式切换模块904能够在根据感应图形确定目标操作模式后,将电子设备由当前操作模式切换到目标操作模式。That is, the mode switching module 904 can switch the electronic device from the current operation mode to the target operation mode after determining the target operation mode according to the sensing pattern.

综上所示,本发明实施例提供的上述电子设备,通过数据获取模块901获取电子设备后壳上的电容感应区采集的感应数据,使图形构建模块902能够根据感应数据构建的感应图形,进而使模式确定模块903根据图形构建模块902构建的感应图形,确定目标操作模式,最后使模式切换模块904将电子设备由当前操作模式切换到目标操作模式,实现了通过在电子设备后壳上设置电容感应模块实施电子设备操作模式切换的技术,提升了用户使用体验,同时提高了电子设备后壳的空间利用率。In summary, the above-mentioned electronic device provided by the embodiment of the present invention uses the data acquisition module 901 to obtain the sensing data collected by the capacitive sensing area on the back shell of the electronic device, so that the graphic construction module 902 can construct the sensing pattern according to the sensing data, and then Make the mode determination module 903 determine the target operation mode according to the induction pattern constructed by the pattern construction module 902, and finally make the mode switching module 904 switch the electronic device from the current operation mode to the target operation mode, realizing the realization of the electronic device by setting the capacitor on the rear shell of the electronic device. The sensing module implements the technology of switching the operation mode of the electronic device, which improves the user experience and improves the space utilization rate of the rear shell of the electronic device.

具体的,参见图10,模式确定模式903包括:Specifically, referring to FIG. 10, the mode determination mode 903 includes:

状态确定单元9031,用于根据构建的感应图形,确定握持电子设备的握持状态。The state determination unit 9031 is configured to determine the holding state of the electronic device according to the constructed sensing pattern.

也就是,状态确定单元9031能够根据构建出的感应图形,可确定人手对电子设备的握持状态,例如,若判断出感应图形为左手手形,则可确定为左手握持电子设备,若判断出感应图形为右手手形,则可确定为右手握持电子设备。That is, the state determination unit 9031 can determine the state of the electronic device held by the human hand according to the constructed sensing pattern. If the sensing pattern is a right hand shape, it can be determined that the right hand is holding the electronic device.

其中,若状态确定单元9031根据该感应图形未判断出人手对电子设备的握持状态,则无效该感应图形,对此不进行处理。Wherein, if the state determination unit 9031 does not determine the state of the electronic device being held by the human hand according to the sensing pattern, the sensing pattern is invalidated and no processing is performed on it.

模式确定单元9032,用于根据确定的握持状态与操作模式的对应关系,确定与握持状态对应的目标操作模式。The mode determining unit 9032 is configured to determine a target operation mode corresponding to the grip state according to the determined correspondence between the grip state and the operation mode.

其中,不同的握持状态对应不同的操作模式,在状态确定单元9031确定人手对电子设备的握持状态后,模式确定单元9032可确定与握持状态对应的操作模式,即目标操作模式。Different holding states correspond to different operating modes. After the state determining unit 9031 determines the holding state of the electronic device, the mode determining unit 9032 can determine the operating mode corresponding to the holding state, that is, the target operating mode.

具体的,电容感应区至少包括第一感应区和第二感应区。相应的,参见图10,状态确定单元9031包括:Specifically, the capacitive sensing area includes at least a first sensing area and a second sensing area. Correspondingly, referring to FIG. 10, the state determination unit 9031 includes:

第一状态确定子单元90311,用于当根据第一感应区采集的感应数据构建得到手指感应图形,根据第二感应区采集的感应数据构建得到手掌感应图形时,确定握持状态为右手握持。The first state determining subunit 90311 is used to determine the holding state as right hand holding when the finger sensing pattern is constructed according to the sensing data collected in the first sensing area and the palm sensing pattern is constructed according to the sensing data collected in the second sensing area .

第二状态确定子单元90312,用于当根据第一感应区采集的感应数据构建得到手掌感应图形,根据第二感应区采集的感应数据构建得到手指感应图形时,确定握持状态为左手握持。The second state determination subunit 90312 is used to determine the holding state as left hand holding when the palm sensing pattern is constructed according to the sensing data collected in the first sensing area and the finger sensing pattern is constructed according to the sensing data collected in the second sensing area .

相应的,模式确定单元9032包括:Correspondingly, the mode determining unit 9032 includes:

第一模式确定子单元90321,用于当确定握持状态为左手握持时,确定目标操作模式为右手操作模式。The first mode determining subunit 90321 is configured to determine that the target operation mode is the right-hand operation mode when the holding state is determined to be the left-handed holding.

第二模式确定子单元90322,用于当确定握持状态为左手握持时,确定目标操作模式为左手操作模式。The second mode determining subunit 90322 is configured to determine that the target operation mode is the left-handed operation mode when it is determined that the holding state is left-handed.

具体的,为了对具有第一感应区和第二感应区的电容感应区进行进一步的理解,下面进行详细说明,其中,电容感应区可以为互容感应区或是自容感应区。Specifically, in order to further understand the capacitive sensing area having the first sensing area and the second sensing area, detailed description will be given below, wherein the capacitive sensing area may be a mutual capacitance sensing area or a self-capacitance sensing area.

1)当电容感应区为互容感应区时,参见图1,图1中示出在电子设备后壳1上布置有连续的电容感应区2,该电容感应区包括位于电子设备后壳1左侧边缘的第一感应区201和位于电子设备后壳1右侧边缘的第二感应区202,其中第一感应区201的电容传感器一种分布情况为[Rx1-Tx1,Rx1-Txn],第二感应区202的电容传感器的对应的分布情况为[Rxm-Tx1,Rxm-Txn]。1) When the capacitive sensing area is a mutual capacitance sensing area, refer to FIG. 1 , which shows that a continuous capacitive sensing area 2 is arranged on the rear case 1 of the electronic device, and the capacitive sensing area includes a left side of the rear case 1 of the electronic device. The first sensing area 201 on the side edge and the second sensing area 202 located on the right edge of the rear case 1 of the electronic device, wherein the distribution of the capacitive sensors in the first sensing area 201 is [Rx1-Tx1, Rx1-Txn]. The corresponding distribution of the capacitive sensors in the second sensing area 202 is [Rxm-Tx1, Rxm-Txn].

其中,Rx表示接收极,纵向排布在电子设备后壳1上,Tx表示发射极,横向排布在电子设备后壳1上,m表示接收极Rx的通道数,n表示发射极Tx的通道数,Rx1-Tx1表示接收极Rx1与发射极Tx1形成的电容传感器;Rx1-Txn表示接收极Rx1与发射极Txn形成的电容传感器;Rxm-Tx1表示接收极Rxm与发射极Tx1形成的电容传感器;Rxm-Txn表示接收极Rxm与发射极Txn形成的电容传感器。[Rx1-Tx1,Rx1-Txn]表示Rx1分别与Tx1~Txn形成的n个电容传感器,n个电容传感器依次纵向排布在第一感应区201;[Rxm-Tx1,Rxm-Txn]表示Rxm分别与Tx1~Txn形成的n个电容传感器,n个电容传感器依次纵向排布在第二感应区202;其中,可设定第一感应区201中的Rx1-Tx1为电容感应区的起点位置参考点。Among them, Rx represents the receiving pole, which is arranged vertically on the back shell 1 of the electronic device, Tx represents the emitter pole, and is arranged horizontally on the back shell 1 of the electronic device, m represents the number of channels of the receiving pole Rx, and n represents the channel of the emitter Tx Rx1-Tx1 represents the capacitive sensor formed by the receiver Rx1 and the emitter Tx1; Rx1-Txn represents the capacitive sensor formed by the receiver Rx1 and the emitter Txn; Rxm-Tx1 represents the capacitive sensor formed by the receiver Rxm and the emitter Tx1; Rxm-Txn represents a capacitive sensor formed by the receiver Rxm and the emitter Txn. [Rx1-Tx1, Rx1-Txn] means n capacitive sensors formed by Rx1 and Tx1 ~ Txn respectively, and the n capacitive sensors are arranged longitudinally in the first sensing area 201 in sequence; [Rxm-Tx1, Rxm-Txn] means that Rxm respectively n capacitive sensors formed with Tx1~Txn, n capacitive sensors are arranged vertically in the second sensing area 202 in turn; among them, Rx1-Tx1 in the first sensing area 201 can be set as the starting position reference point of the capacitive sensing area .

当然可以理解的是,接收极通道可以依次从左到右排列,也可以依次从右到左排列,发射极通道可以依次从上到下排列,也可以依次从下到上排列,具体排列情况,可依据实际需要设计,本发明实施例对此不进行限定。而上述描述的第一感应区201和第二感应区202中的电容传感器的分布情况只是其中一种情况,即接收极通道依次从左到右排列,发射极通道依次从上到下排列。Of course, it can be understood that the receiver channels can be arranged from left to right, or from right to left, and the emitter channels can be arranged from top to bottom, or from bottom to top. The specific arrangement, It can be designed according to actual needs, which is not limited in this embodiment of the present invention. The distribution of the capacitive sensors in the first sensing area 201 and the second sensing area 202 described above is only one of the cases, that is, the receiver channels are arranged from left to right, and the emitter channels are arranged from top to bottom.

2)当电容感应区为互容感应区时,参见图1,第一感应区201的电容传感器的另一种分布情况为[Tx1-Rx1,Tx1-Rxm],第二感应区202的电容传感器的对应的分布情况为[Txn-Rx1,Txn-Rxm]。2) When the capacitive sensing area is a mutual capacitance sensing area, referring to Fig. 1, another distribution of the capacitive sensor in the first sensing area 201 is [Tx1-Rx1, Tx1-Rxm], and the capacitive sensor in the second sensing area 202 The corresponding distribution of is [Txn-Rx1, Txn-Rxm].

其中,Rx表示接收极,横向排布在电子设备后壳1上,Tx表示发射极,纵向排布在电子设备后壳1上,m表示接收极Rx的通道数,n表示发射极Tx的通道数,Tx1-Rx1表示发射极Tx1与接收极Rx1形成的电容传感器;Tx1-Rxm表示发射极Tx1与接收极Rxm形成的电容传感器;Txn-Rx1表示发射极Txn与接收极Rx1形成的电容传感器;Txn-Rxm表示发射极Txn与接收极Rxm形成的电容传感器。[Tx1-Rx1,Tx1-Rxm]表示Tx1分别与Rx1~Rxm形成的m个电容传感器,m个电容传感器依次纵向排布在第一感应区201;[Txn-Rx1,Txn-Rxm]表示Txn分别与Rx1~Rxm形成的m个电容传感器,m个电容传感器依次纵向排布在第二感应区202;其中,可设定第一感应区201中的Tx1-Rx1为电容感应区的起点位置参考点。Among them, Rx represents the receiving pole, which is arranged horizontally on the back shell 1 of the electronic device, Tx represents the emitter pole, and is arranged vertically on the back shell 1 of the electronic device, m represents the number of channels of the receiving pole Rx, and n represents the channel of the emitter Tx Tx1-Rx1 represents the capacitive sensor formed by the emitter Tx1 and the receiver Rx1; Tx1-Rxm represents the capacitive sensor formed by the emitter Tx1 and the receiver Rxm; Txn-Rx1 represents the capacitive sensor formed by the emitter Txn and the receiver Rx1; Txn-Rxm represents a capacitive sensor formed by the emitter Txn and the receiver Rxm. [Tx1-Rx1, Tx1-Rxm] means m capacitive sensors formed by Tx1 and Rx1~Rxm respectively, and the m capacitive sensors are arranged vertically in the first sensing area 201 in sequence; [Txn-Rx1, Txn-Rxm] means that Txn respectively m capacitive sensors formed with Rx1-Rxm, m capacitive sensors are arranged longitudinally in the second sensing area 202 in turn; among them, Tx1-Rx1 in the first sensing area 201 can be set as the starting position reference point of the capacitive sensing area .

当然可以理解的是,接收极通道可以依次从上到下排列,也可以依次从下到上排列,发射极通道可以依次从左到右排列,也可以依次从右到左排列,具体排列情况,可依据实际需要设计,本发明实施例对此不进行限定。而上述描述的第一感应区201和第二感应区202中的电容传感器的分布情况只是其中一种情况,即接收极通道依次从上到下排列,发射极通道依次从左到右排列。Of course, it can be understood that the receiver channels can be arranged from top to bottom, or from bottom to top, and the emitter channels can be arranged from left to right, or from right to left. The specific arrangement is as follows: It can be designed according to actual needs, which is not limited in this embodiment of the present invention. The distribution of capacitive sensors in the first sensing area 201 and the second sensing area 202 described above is only one of the cases, that is, the receiver channels are arranged from top to bottom, and the emitter channels are arranged from left to right.

需要说明的是,上述互容感应区可按常规互容电容sensorpattern(传感器图形)设计,这里不做具体要求。It should be noted that the aforementioned mutual capacitance sensing area can be designed according to a conventional mutual capacitance sensor pattern (sensor pattern), and no specific requirements are made here.

3)当电容感应区为自容感应区时,参见图2,图2示出在电子设备后壳1上的电容感应区2包括位于电子设备后壳1左侧边缘的第一感应区201和位于电子设备后壳1右侧边缘的第二感应区202,第一感应区201的电容传感器的分布情况为[TRx1,TRxm/2],第二感应区202的电容传感器对应的分布情况为[TRx(m/2)+1,TRxm]。3) When the capacitive sensing area is a self-capacitance sensing area, referring to FIG. 2, FIG. 2 shows that the capacitive sensing area 2 on the electronic device rear case 1 includes a first sensing area 201 and a first sensing area 201 located at the left edge of the electronic device rear case 1. In the second sensing area 202 located at the right edge of the back shell 1 of the electronic device, the distribution of the capacitive sensors in the first sensing area 201 is [TRx1, TRxm/2], and the corresponding distribution of the capacitive sensors in the second sensing area 202 is [ TRx(m/2)+1, TRxm].

其中,TRx表示接收极/发射极,纵向排布在电子设备后壳1上,m是TRx的通道数,TRx1~TRxm表示与各自通道对应的电容传感器。[TRx1,TRxm/2]表示TRx1~TRxm/2对应的m/2(m为偶数)个电容传感器,m/2个电容传感器依次纵向排布在第一感应区201;[TRx(m/2)+1,TRxm]表示TRx(m/2)+1~TRxm对应的m/2个电容传感器,m/2个电容传感器依次纵向排布在第二感应区202;其中,可设定第一感应区201的TRx1为电容感应区的起点位置。Among them, TRx represents the receiver/emitter, which are vertically arranged on the back shell 1 of the electronic device, m is the channel number of TRx, and TRx1-TRxm represent the capacitive sensors corresponding to the respective channels. [TRx1, TRxm/2] means m/2 (m is an even number) capacitive sensors corresponding to TRx1 ~ TRxm/2, and the m/2 capacitive sensors are arranged longitudinally in the first sensing area 201 in sequence; [TRx(m/2 )+1, TRxm] means the m/2 capacitive sensors corresponding to TRx(m/2)+1~TRxm, and the m/2 capacitive sensors are arranged longitudinally in the second sensing area 202 in turn; wherein, the first TRx1 of the sensing area 201 is the starting position of the capacitive sensing area.

当然可以理解的是,TRx可以依次从上到下排列,也可以依次从下到上排列,具体排列情况,可依据实际需要设计,本发明实施例对此不进行限定。而上述第一感应区201和第二感应区202的电容传感器的分布情况只是其中一种,即TRx通道依次从上到下排列。Of course, it can be understood that the TRx can be arranged sequentially from top to bottom, or can be arranged sequentially from bottom to top. The specific arrangement can be designed according to actual needs, which is not limited in the embodiment of the present invention. The above-mentioned distribution of the capacitive sensors in the first sensing area 201 and the second sensing area 202 is only one of them, that is, the TRx channels are arranged sequentially from top to bottom.

需要说明的,上述互容感应区可按常规自容电容sensorpattern(传感器图形)设计,这里不做具体要求。It should be noted that the above-mentioned mutual capacitance sensing area can be designed according to a conventional self-capacitance sensor pattern (sensor pattern), and no specific requirements are made here.

其中,通道排序的考虑最重要的是要能方便地区分出握持电子设备时在电子设备左右边缘上电容感应区的数据分布情况,结合第一感应区和第二感应区的数据分布情况,构建出不同的感应图形。例如,对于1)和2)中描述电容感应区,若一个感应区构建出的感应图形分散,由几个分离的比较小的感应数组(即感应图形)组成,且一般感应数组数量大于等于1,且小于等于4,则这样的感应图形感应数组数较多且面积较小的感应称为手指感应图形;若另一感应区构建出的感应图形是一个比较大的感应数组,一般面积是前面提到小的感应数组面积的两倍以上,且感应图形感应数组数量一般小于2,则这样的感应图形感应数组数少且面积较大的感应称为手掌感应图形,结合感应区中的起点参考点位置,就能判断出左右手握持电子设备的状态。Among them, the most important consideration for channel sorting is to be able to easily distinguish the data distribution of the capacitive sensing area on the left and right edges of the electronic device when holding the electronic device, combined with the data distribution of the first sensing area and the second sensing area, Construct different induction patterns. For example, for the capacitive sensing area described in 1) and 2), if the sensing pattern constructed by a sensing area is dispersed, it is composed of several separated relatively small sensing arrays (ie sensing patterns), and the number of sensing arrays is generally greater than or equal to 1 , and is less than or equal to 4, then such a sensing pattern with a large number of sensing arrays and a small area is called a finger sensing pattern; if the sensing pattern constructed by another sensing area is a relatively large sensing array, the general area is the front It is mentioned that the area of the small sensing array is more than twice, and the number of sensing arrays of the sensing pattern is generally less than 2, then such a sensing pattern with a small number of sensing arrays and a large area is called a palm sensing pattern, combined with the starting point in the sensing area for reference Click the position to judge the state of the electronic device held by the left and right hands.

对于3)中描述的电容感应区,若一个感应区构建的感应图形分散,由几个分离的感应数组组成,且一般感应数组数量大于等于1,且小于等于4,每个感应数组一般由相邻且数量小于等于5个TRx通道感应数据组成,则这样的感应数组数量较多且尺寸较小的感应称为手指感应图形;若另一感应区构建的感应图形是由1组或2组感应数组组成,比较大的感应数组一般由相邻6个或以上TRx通道感应数据组成(一般TRx通道间的间距为5mm),则这样的感应数组数量较少且尺寸较大的感应称为手掌感应图形,结合感应TRx通道的排序情况和感应区中的起点参考点位置,就能判断出左右手握持手机的状态。For the capacitive sensing area described in 3), if the sensing pattern constructed by a sensing area is scattered and consists of several separate sensing arrays, and generally the number of sensing arrays is greater than or equal to 1 and less than or equal to 4, each sensing array is generally composed of Adjacent and the number is less than or equal to 5 TRx channel sensing data, then such a sensor with a large number of sensing arrays and a small size is called a finger sensing pattern; if the sensing pattern constructed by another sensing area is composed of 1 or 2 sets of sensing Composed of arrays, relatively large sensing arrays are generally composed of adjacent 6 or more TRx channel sensing data (generally, the spacing between TRx channels is 5mm), then such sensing arrays with fewer numbers and larger sizes are called palm sensing Graphics, combined with the ordering of the sensing TRx channels and the position of the starting point reference point in the sensing area, can determine the state of the mobile phone being held by the left and right hands.

具体的,参见图11,模式确定模块903包括:Specifically, referring to FIG. 11, the mode determination module 903 includes:

图形对比单元9033,用于对比构建的感应图形与预先设置的标准图形。The pattern comparison unit 9033 is used to compare the constructed induction pattern with the preset standard pattern.

其中,为方便确定目标操作模式,可针对每种目标操作模式预先设置相应的参考图形,即标准图形。预先设置的标准图形可以为一规则的几何图形(比如正方形、圆形、三角形等),也可以为不规则的图形(比如不同人手握持电子设备时在电容感应区所构建的图形),具体情况可根据实际需要设置。Wherein, for the convenience of determining the target operation mode, corresponding reference graphics, ie standard graphics, may be preset for each target operation mode. The preset standard graphics can be a regular geometric figure (such as a square, a circle, a triangle, etc.), or an irregular figure (such as a figure constructed in a capacitive sensing area when different hands hold an electronic device). The situation can be set according to actual needs.

模式获取单元9034,用于当构建的感应图形与预先设置的标准图形匹配时,获取与预先设置的标准图形对应的目标操作模式,其中,一个目标操作模式与至少一个预先设置的标准图形对应。The mode acquiring unit 9034 is configured to acquire a target operation mode corresponding to the preset standard graphic when the constructed induction pattern matches the preset standard graphic, wherein one target operation mode corresponds to at least one preset standard graphic.

其中,每一个标准图形对应一个目标操作模式,但是同一个目标操作模式可能对应多个标准图形,由于每一次通过人手在电容感应区上构建的同一感应图形会有所差异,而且不同的人手构建同一感应图形更是不同,因此,对于一个目标操作模式,可能会对应一个或多个预先设置的标准图形。Among them, each standard pattern corresponds to a target operation mode, but the same target operation mode may correspond to multiple standard patterns, because the same sensing pattern constructed by human hands on the capacitive sensing area will be different each time, and different human hands construct The same sensing pattern is even different, therefore, for a target operation mode, it may correspond to one or more preset standard patterns.

综上所述,本发明实施例提供的上述技术方案,通过将电子设备后壳上的电容感应区中构建的感应图形与预先设置的标准图形进行对比,确定并切换目标操作模式,方便了目标操作模式的确定,提升了用户对电子设备的使用体验,同时提高了电子设备的后壳的空间利用率。To sum up, the above technical solution provided by the embodiment of the present invention compares the sensing pattern constructed in the capacitive sensing area on the back shell of the electronic device with the preset standard pattern to determine and switch the target operation mode, which facilitates the target operation mode. The determination of the operation mode improves the user's experience of using the electronic device, and at the same time improves the space utilization rate of the rear case of the electronic device.

具体的,参见图11,图形对比单元9033包括:Specifically, referring to FIG. 11, the graphic comparison unit 9033 includes:

图形对比子单元90331,用于对比构建的感应图形与预先设置的标准手形图形,其中标准手形图形包括:左手手形图形和右手手形图形。The pattern comparison subunit 90331 is used to compare the constructed sensing pattern with the preset standard hand pattern, wherein the standard hand pattern includes: a left-handed pattern and a right-handed pattern.

相应的,模式获取单元9034包括:Correspondingly, the mode acquisition unit 9034 includes:

第一模式获取子单元90341,用于当构建的感应图形与预先设置的左手手形图形匹配时,获取与左手手形图形对应的左手操作模式。The first mode acquisition subunit 90341 is configured to acquire the left-hand operation mode corresponding to the left-hand hand-shape when the constructed sensing pattern matches the preset left-hand hand-shape.

第一模式获取子单元90342,用于当构建的感应图形与预先设置的右手手形图形匹配时,获取与右手手形图形对应的右手操作模式。The first mode acquiring subunit 90342 is configured to acquire the right-hand operation mode corresponding to the right-hand hand-shape when the constructed sensing pattern matches the preset right-hand hand-shape.

对于上述技术方案,电子设备后壳上的电容感应区可以布置成多个自容传感器图形(即自容sensorpatterns),参见图3,图3中示出电子设备后壳1上共布置有6个传感器图形3,一个传感器图形3就是一个自容TRx通道电极,也就是一个自容电容传感器,其中,传感器图形的外形、尺寸及数量可根据实际需要设计,这里不做具体要求。传感器图形的外形、尺寸和数量的考虑最重要的是要能方便地区分出左右手握持电子设备时手形的数据分布情况,当用不同的手形握持电子设备时,多个传感器图形采集到的数据对于同一种手形来说是有一定的规律的,把这些有规律的特征数据构建出不同的手形并存储在手形库里,也就是自容传感器图形是根据各个传感器图形采集到的数据,按比例关系来判断左右手握持电子设备的状态,比如,把各个传感器图形采集到数据做比值运算,按照不同手形形成的比值关系来构建出不同的手形数据,存储在手形库中。当检测到有手握持电子设备时,首先是多个传感器图形采集手握数据并构建出手形,与之前的手形库中的手形进行一一比对,若有匹配手形则执行相关手形操作,若无匹配手形,则记为无效手形。For the above technical solution, the capacitive sensing area on the back shell of the electronic device can be arranged as a plurality of self-capacitance sensor patterns (ie, self-capacitance sensorpatterns), as shown in FIG. Sensor pattern 3, a sensor pattern 3 is a self-capacitance TRx channel electrode, that is, a self-capacitance sensor, wherein the shape, size and quantity of the sensor pattern can be designed according to actual needs, and no specific requirements are made here. The most important consideration for the shape, size and quantity of sensor graphics is to be able to easily distinguish the data distribution of the hand shape when the left and right hands hold the electronic device. When holding the electronic device with different hand shapes, the data collected by multiple sensor graphics The data has certain rules for the same hand shape. These regular feature data are used to construct different hand shapes and store them in the hand shape library, that is, the self-capacitance sensor graphics are based on the data collected by each sensor graphic. The proportional relationship is used to judge the status of the left and right hands holding the electronic device. For example, the data collected by each sensor graphic is used for ratio calculation, and different hand shape data are constructed according to the ratio relationship formed by different hand shapes, and stored in the hand shape library. When it is detected that there is a hand holding the electronic device, firstly, multiple sensor graphics collect the hand data and construct the hand shape, which is compared with the hand shape in the previous hand shape library one by one. If there is a matching hand shape, the relevant hand shape operation is performed. If there is no matching hand shape, it will be recorded as an invalid hand shape.

需要说明的是,该装置是与上述第一实施例、第二实施例、第三实施例中的切换电子设备的操作模式的方法对应的装置,上述所有实施例均适用于该装置的实施例,且能实现相同的技术效果。It should be noted that this device is a device corresponding to the method for switching the operation mode of an electronic device in the above-mentioned first embodiment, second embodiment, and third embodiment, and all the above-mentioned embodiments are applicable to the embodiment of the device , and can achieve the same technical effect.

以上所述的是本发明的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本发明所述的原理前提下还可以作出若干改进和润饰,这些改进和润饰也在本发明的保护范围内。What has been described above is a preferred embodiment of the present invention. It should be pointed out that for those skilled in the art, some improvements and modifications can also be made without departing from the principles described in the present invention. within the scope of protection of the invention.

本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.

本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices, or computer program products. Accordingly, embodiments of the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor or processor of other programmable data processing terminal equipment to produce a machine such that instructions executed by the computer or processor of other programmable data processing terminal equipment Produce means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded into a computer or other programmable data processing terminal equipment, so that a series of operational steps are performed on the computer or other programmable terminal equipment to produce computer-implemented processing, thereby The instructions executed above provide steps for implementing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。Having described preferred embodiments of embodiments of the present invention, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, the appended claims are intended to be construed to cover the preferred embodiment and all changes and modifications which fall within the scope of the embodiments of the present invention.

还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。It should also be noted that in this article, relational terms such as first and second etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations Any such actual relationship or order exists between. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or terminal equipment comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements identified, or also include elements inherent in such a process, method, article, or end-equipment. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising said element.

Claims (16)

CN201510691127.7A2015-10-212015-10-21Method for switching operation modes of electronic device and electronic devicePendingCN105242851A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510691127.7ACN105242851A (en)2015-10-212015-10-21Method for switching operation modes of electronic device and electronic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510691127.7ACN105242851A (en)2015-10-212015-10-21Method for switching operation modes of electronic device and electronic device

Publications (1)

Publication NumberPublication Date
CN105242851Atrue CN105242851A (en)2016-01-13

Family

ID=55040518

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510691127.7APendingCN105242851A (en)2015-10-212015-10-21Method for switching operation modes of electronic device and electronic device

Country Status (1)

CountryLink
CN (1)CN105242851A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102016765A (en)*2008-04-212011-04-13松下电器产业株式会社Method and system of identifying a user of a handheld device
US20120188198A1 (en)*2011-01-212012-07-26Samsung Electronics Co., Ltd.Input method and apparatus for capacitive touch screen terminal
CN203120004U (en)*2013-03-152013-08-07广东欧珀移动通信有限公司Cellphone
CN103324392A (en)*2013-06-202013-09-25广东欧珀移动通信有限公司 Method for adjusting graphic control according to handheld position and touch-type mobile terminal
CN104484069A (en)*2014-12-182015-04-01深圳市华星光电技术有限公司Touch sensor and display device
CN104679358A (en)*2013-11-272015-06-03华为终端有限公司Terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102016765A (en)*2008-04-212011-04-13松下电器产业株式会社Method and system of identifying a user of a handheld device
US20120188198A1 (en)*2011-01-212012-07-26Samsung Electronics Co., Ltd.Input method and apparatus for capacitive touch screen terminal
CN203120004U (en)*2013-03-152013-08-07广东欧珀移动通信有限公司Cellphone
CN103324392A (en)*2013-06-202013-09-25广东欧珀移动通信有限公司 Method for adjusting graphic control according to handheld position and touch-type mobile terminal
CN104679358A (en)*2013-11-272015-06-03华为终端有限公司Terminal
CN104484069A (en)*2014-12-182015-04-01深圳市华星光电技术有限公司Touch sensor and display device

Similar Documents

PublicationPublication DateTitle
KR101439855B1 (en)Touch screen controller and method for controlling thereof
US12124657B2 (en)Passive touch detection for capacitive sense array
US8786554B2 (en)Priority and combination suppression techniques (PST/CST) for a capacitive keyboard
TWI452503B (en)Two-dimensional touch panel
CN102576276B (en) Capacitive Scan Proximity Detection
KR101470903B1 (en)Touch screen controller and method for controlling thereof
US20110109577A1 (en)Method and apparatus with proximity touch detection
JP2002501271A (en) Method and apparatus for integrating manual input
CN103777873B (en)A kind of information processing method and electronic equipment
US11422660B2 (en)Input device, input method and program
JP2011134069A (en)Touch panel device
CN105683886A (en) Method and apparatus for computing coordinates with high noise immunity in touch applications
US10061445B2 (en)Touch input device
TW201545004A (en)Touch processor, touch device, touch system and touch method
JP6661013B2 (en) Touch panel control device and electronic equipment
CN105487697B (en)Method and device for preventing touch screen key failure
KR101580570B1 (en)Control method and controller for touch sensor panel
EP3547091A1 (en)Floating touch control sensing method, floating touch control sensing system and floating touch control electronic device
JP6255321B2 (en) Information processing apparatus, fingertip operation identification method and program
US20150277624A1 (en)Sensing Method and Related Touch Panel
CN105242851A (en)Method for switching operation modes of electronic device and electronic device
CN106557233B (en)Leather sheath detection method, leather sheath and electronic equipment
US20230096098A1 (en)Multi-touch user interface for an electronic device
US20170123567A1 (en)Detection device
CN104423671B (en)Its electronic equipment of a kind of control method of keyboard, device and application

Legal Events

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

Application publication date:20160113


[8]ページ先頭

©2009-2025 Movatter.jp