CN106295383A - An information processing method and electronic device - Google Patents
An information processing method and electronic device Download PDFInfo
- Publication number
- CN106295383A CN106295383A CN201510260190.5A CN201510260190A CN106295383A CN 106295383 A CN106295383 A CN 106295383A CN 201510260190 A CN201510260190 A CN 201510260190A CN 106295383 A CN106295383 A CN 106295383A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- preset
- trigger
- control object
- target control
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/04—Program control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Program control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24024—Safety, surveillance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2125—Just-in-time application of countermeasures, e.g., on-the-fly decryption, just-in-time obfuscation or de-obfuscation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Automation & Control Theory (AREA)
- Selective Calling Equipment (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明涉及通讯技术,尤其涉及一种信息处理方法及电子设备。The invention relates to communication technology, in particular to an information processing method and electronic equipment.
背景技术Background technique
随着通信技术的不断发展,人们对安全通信的需求也越来越高。为了满足用户对安全通信的需求,现有技术中已公开了诸多安全通讯方案。With the continuous development of communication technology, people's demand for secure communication is also getting higher and higher. In order to meet users' requirements for secure communication, many secure communication solutions have been disclosed in the prior art.
然而,目前绝大多数安全通讯方案属于纯软件算法方案。以传统的随机码校验为例,其安全性可靠性差,极容易被破解和窃听。因此,有必要通过软硬件结合的方式进行有效的安全通讯管理。However, the vast majority of secure communication solutions are purely software algorithm solutions. Taking the traditional random code verification as an example, its security and reliability are poor, and it is extremely easy to be cracked and eavesdropped. Therefore, it is necessary to carry out effective secure communication management through a combination of software and hardware.
发明内容Contents of the invention
有鉴于此,本发明实施例提供一种信息处理方法及电子设备,能够通过软硬件结合的方式进行有效的安全通讯管理,以满足用户对安全通信的需求。In view of this, an embodiment of the present invention provides an information processing method and an electronic device, which can effectively manage secure communication through a combination of software and hardware, so as to meet users' needs for secure communication.
为达到上述目的,本发明实施例的技术方案是这样实现的:In order to achieve the above object, the technical solution of the embodiment of the present invention is achieved in this way:
本发明实施例提供一种信息处理方法,应用于电子设备,所述电子设备包括传感单元,所述方法包括:An embodiment of the present invention provides an information processing method, which is applied to an electronic device, the electronic device includes a sensing unit, and the method includes:
通过所述传感单元获取至少一个触发操作;acquiring at least one trigger operation through the sensing unit;
检测所述至少一个触发操作是否符合预设控制策略,得到检测结果;Detecting whether the at least one trigger operation conforms to a preset control strategy, and obtaining a detection result;
当所述检测结果为所述至少一个触发操作符合预设控制策略时,基于预设规则确定目标控制对象;When the detection result is that the at least one trigger operation conforms to a preset control strategy, determining a target control object based on preset rules;
执行对所述目标控制对象的控制操作。Execute a control operation on the target control object.
上述方案中,所述至少一个触发操作包括至少两个触发操作;In the above solution, the at least one trigger operation includes at least two trigger operations;
所述检测所述至少一个触发操作是否符合预设控制策略,包括:The detecting whether the at least one trigger operation conforms to a preset control strategy includes:
在预设时间段内检测所述至少两个触发操作是否符合预设控制策略。Detecting whether the at least two trigger operations comply with a preset control strategy within a preset time period.
上述方案中,所述基于预设规则确定目标控制对象,包括:In the above solution, the determination of the target control object based on preset rules includes:
将所述电子设备中当前正在执行的应用程序确定为目标控制对象。The application currently being executed in the electronic device is determined as the target control object.
上述方案中,所述基于预设规则确定目标控制对象,包括:In the above solution, the determination of the target control object based on preset rules includes:
将所述电子设备中获取的当前操作确定为目标控制对象;所述当前操作不同于所述至少一个触发操作。Determining the current operation acquired in the electronic device as the target control object; the current operation is different from the at least one trigger operation.
上述方案中,所述执行对所述目标控制对象的控制操作,包括:In the above solution, the execution of the control operation on the target control object includes:
基于与所述至少一个触发操作对应的控制指令,执行对所述目标控制对象的控制操作。Based on the control instruction corresponding to the at least one trigger operation, the control operation on the target control object is executed.
本发明实施例还提供一种电子设备,所述电子设备包括传感单元、检测单元、确定单元和控制单元;The embodiment of the present invention also provides an electronic device, the electronic device includes a sensing unit, a detection unit, a determination unit and a control unit;
所述传感单元,用于通过所述传感单元获取至少一个触发操作;The sensing unit is configured to obtain at least one trigger operation through the sensing unit;
所述检测单元,用于检测所述至少一个触发操作是否符合预设控制策略,得到检测结果;The detection unit is configured to detect whether the at least one trigger operation complies with a preset control strategy, and obtain a detection result;
所述确定单元,用于当所述检测结果为所述至少一个触发操作符合预设控制策略时,基于预设规则确定目标控制对象;The determining unit is configured to determine the target control object based on preset rules when the detection result is that the at least one trigger operation complies with a preset control strategy;
所述控制单元,用于执行对所述目标控制对象的控制操作。The control unit is configured to perform a control operation on the target control object.
上述方案中,所述至少一个触发操作包括至少两个触发操作;In the above solution, the at least one trigger operation includes at least two trigger operations;
所述检测单元,用于在预设时间段内检测所述至少两个触发操作是否符合预设控制策略。The detection unit is configured to detect whether the at least two trigger operations comply with a preset control strategy within a preset time period.
上述方案中,所述确定单元,用于将所述电子设备中当前正在执行的应用程序确定为目标控制对象。In the above solution, the determining unit is configured to determine the application currently being executed in the electronic device as the target control object.
上述方案中,所述确定单元,用于将所述电子设备中获取的当前操作确定为目标控制对象;所述当前操作不同于所述至少一个触发操作。In the above solution, the determining unit is configured to determine the current operation acquired in the electronic device as the target control object; the current operation is different from the at least one trigger operation.
上述方案中,所述控制单元,用于基于与所述至少一个触发操作对应的控制指令,执行对所述目标控制对象的控制操作。In the solution above, the control unit is configured to execute a control operation on the target control object based on a control instruction corresponding to the at least one trigger operation.
本发明实施例所提供的信息处理方法及电子设备,电子设备通过所述传感单元获取至少一个触发操作;检测所述至少一个触发操作是否符合预设控制策略,得到检测结果;当所述检测结果为所述至少一个触发操作符合预设控制策略时,基于预设规则确定目标控制对象;执行对所述目标控制对象的控制操作。如此,能够通过软硬件结合的方式进行有效的安全通讯管理,得以满足用户对安全通信的需求。In the information processing method and electronic equipment provided by the embodiments of the present invention, the electronic equipment obtains at least one trigger operation through the sensing unit; detects whether the at least one trigger operation conforms to a preset control strategy, and obtains a detection result; when the detection As a result, when the at least one trigger operation conforms to the preset control strategy, the target control object is determined based on the preset rules; and the control operation on the target control object is executed. In this way, effective secure communication management can be performed through the combination of software and hardware, which can meet the needs of users for secure communication.
附图说明Description of drawings
图1为本发明实施例信息处理方法的实现流程示意图一;FIG. 1 is a schematic diagram of the first implementation flow of the information processing method of the embodiment of the present invention;
图2为本发明实施例电子设备的硬件侧描述示意图一;FIG. 2 is a first schematic diagram of a hardware side description of an electronic device according to an embodiment of the present invention;
图3为本发明实施例信息处理方法的实现流程示意图二;FIG. 3 is a second schematic diagram of the implementation flow of the information processing method according to the embodiment of the present invention;
图4为本发明实施例电子设备的硬件侧描述示意图二;FIG. 4 is a second schematic diagram illustrating the hardware side of the electronic device according to the embodiment of the present invention;
图5为本发明实施例电子设备的组成结构示意图。FIG. 5 is a schematic diagram of the composition and structure of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
在本发明实施例中,电子设备通过所述传感单元获取至少一个触发操作;检测所述至少一个触发操作是否符合预设控制策略,得到检测结果;当所述检测结果为所述至少一个触发操作符合预设控制策略时,基于预设规则确定目标控制对象;执行对所述目标控制对象的控制操作。In the embodiment of the present invention, the electronic device obtains at least one trigger operation through the sensing unit; detects whether the at least one trigger operation conforms to the preset control strategy, and obtains the detection result; when the detection result is the at least one trigger operation When the operation conforms to the preset control strategy, the target control object is determined based on the preset rules; and the control operation on the target control object is executed.
下面结合附图及具体实施例对本发明再作进一步详细的说明。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
实施例一Embodiment one
图1为本发明实施例信息处理方法的实现流程示意图,应用于电子设备中,所述电子设备包括传感单元,如图1所示,本发明实施例信息处理方法包括:FIG. 1 is a schematic diagram of an implementation flow of an information processing method according to an embodiment of the present invention, which is applied to an electronic device, and the electronic device includes a sensing unit. As shown in FIG. 1 , the information processing method according to an embodiment of the present invention includes:
步骤S101:通过所述传感单元获取至少一个触发操作;Step S101: acquiring at least one trigger operation through the sensing unit;
这里,所述电子设备可以为手机、PC机、平板电脑、个人数字助理等。所述传感单元可以通过设置于电子设备中的不同类型的传感器组合构成;其中,所述不同类型的传感器包括温度传感器、光线传感器、压力传感器、加速度传感器等。Here, the electronic device may be a mobile phone, a PC, a tablet computer, a personal digital assistant, and the like. The sensing unit may be composed of different types of sensors arranged in the electronic device; wherein, the different types of sensors include temperature sensors, light sensors, pressure sensors, acceleration sensors and the like.
在一示例中,在电子设备的左中侧边中设置有A、B两个温度传感器,所述温度传感器可以迅速且精确的采集温度。如果用户手指触碰温度传感器时,温度传感器会有详细的数据采集到,包括连续的时间点下的温度变化。具体的,如图2所示,用户手指从上到下依次接触温度传感器A、B,那么这两个温度传感器会迅速并准确的记录“这个操作”“具体时间”“具体速度”等数据信息。这样,把如图2所示的操作“1”“2”顺序排序作为一个组合动作,同时也作为本发明实施例一通过所述传感单元获取的至少一个触发操作。In an example, two temperature sensors A and B are provided on the middle left side of the electronic device, and the temperature sensors can collect temperature rapidly and accurately. If the user's finger touches the temperature sensor, the temperature sensor will collect detailed data, including temperature changes at continuous time points. Specifically, as shown in Figure 2, the user's fingers touch the temperature sensors A and B sequentially from top to bottom, then these two temperature sensors will quickly and accurately record data information such as "this operation", "specific time" and "specific speed". . In this way, the sequential ordering of operations "1" and "2" as shown in FIG. 2 is regarded as a combined action, and at the same time as at least one trigger operation obtained by the sensing unit in Embodiment 1 of the present invention.
步骤S102:检测所述至少一个触发操作是否符合预设控制策略,得到检测结果;Step S102: Detect whether the at least one trigger operation conforms to a preset control strategy, and obtain a detection result;
这里,用户会预先在电子设备中设置预设控制策略;其中,所述预设控制策略的设置可以根据设置于电子设备中的传感单元的具体组成情况加以设置。举例来说,在如图2所示的示例中,电子设备的左中侧边中设置有A、B两个温度传感器。所以,用户可以设置与图2中所述至少一个触发操作对应的预设控制策略为通过所述温度传感器A、B获取到按顺序排列的操作组合“1”“2”。这样,当电子设备通过所述传感单元获取到如操作“1”“2”的所述至少一个触发操作时,即可确定所述至少一个触发操作符合预设控制策略。Here, the user will pre-set a preset control strategy in the electronic device; wherein, the setting of the preset control strategy can be set according to the specific composition of the sensing unit set in the electronic device. For example, in the example shown in FIG. 2 , two temperature sensors A and B are arranged on the left middle side of the electronic device. Therefore, the user can set the preset control strategy corresponding to the at least one trigger operation in FIG. 2 to obtain the sequenced operation combinations "1" and "2" through the temperature sensors A and B. In this way, when the electronic device obtains the at least one trigger operation such as operations "1" and "2" through the sensing unit, it can determine that the at least one trigger operation complies with the preset control strategy.
步骤S103:当所述检测结果为所述至少一个触发操作符合预设控制策略时,基于预设规则确定目标控制对象;Step S103: When the detection result is that the at least one trigger operation conforms to a preset control strategy, determine the target control object based on preset rules;
具体地,在一示例中,所述电子设备基于预设规则确定目标控制对象,包括:将所述电子设备中当前正在执行的应用程序确定为目标控制对象。举例来说,若所述电子设备正处于通讯过程中,则可以将所述电子设备中当前正在执行的通讯过程确定为目标控制对象。Specifically, in an example, the electronic device determining the target control object based on a preset rule includes: determining an application currently being executed in the electronic device as the target control object. For example, if the electronic device is in a communication process, the communication process currently being executed in the electronic device may be determined as the target control object.
在另一示例中,所述电子设备基于预设规则确定目标控制对象,包括:将所述电子设备中获取的当前操作确定为目标控制对象;其中,所述当前操作不同于所述至少一个触发操作。举例来说,在当前步骤S101通过所述传感单元获取至少一个触发操作的方式下,电子设备还获取到另一拨号操作,则可以将当前所获取的拨号操作确定为目标控制对象。In another example, the electronic device determines the target control object based on preset rules, including: determining the current operation acquired in the electronic device as the target control object; wherein the current operation is different from the at least one trigger operate. For example, in the manner of obtaining at least one trigger operation through the sensing unit in the current step S101, the electronic device also obtains another dial operation, and the currently obtained dial operation may be determined as the target control object.
步骤S104:执行对所述目标控制对象的控制操作。Step S104: Execute a control operation on the target control object.
这里,由于在电子设备中预先设置有所述至少一个触发操作与控制指令之间的对应关系,故所述电子设备在确定目标控制对象后,可以基于与所述至少一个触发操作对应的控制指令,执行对所述目标控制对象的控制操作。Here, since the correspondence between the at least one trigger operation and the control instruction is preset in the electronic device, after the electronic device determines the target control object, it may, based on the control instruction corresponding to the at least one trigger operation , to execute the control operation on the target control object.
在一示例中,如图2所示,基于所述至少一个触发操作和控制指令之间的对应关系,设置如图2所示的至少一个触发操作“1”“2”相对应的控制指令为“允许接通当前获取的拨号操作”,或“继续保持当前的通讯过程”,或“拒绝接通当前后期的拨号操作”,亦或“结束当前的通讯过程”等。In an example, as shown in FIG. 2, based on the correspondence between the at least one trigger operation and the control instruction, the control instruction corresponding to at least one trigger operation “1” and “2” as shown in FIG. 2 is set as "Allow to connect to the currently obtained dialing operation", or "Continue to maintain the current communication process", or "Refuse to connect to the current later dialing operation", or "End the current communication process", etc.
如此,通过本发明实施例所述信息处理方法,电子设备通过所述传感单元获取至少一个触发操作;进一步地,在检测有所述至少一个触发操作符合预设控制策略时,基于预设规则确定目标控制对象,并执行对所述目标控制对象的控制操作。这样,通过软硬件结合的方式进行有效的安全通讯管理,能够满足用户对安全通信的需求。In this way, through the information processing method described in the embodiment of the present invention, the electronic device obtains at least one trigger operation through the sensing unit; Determine the target control object, and execute the control operation on the target control object. In this way, effective secure communication management is performed through the combination of software and hardware, which can meet the needs of users for secure communication.
实施例二Embodiment two
图3为本发明实施例信息处理方法的实现流程示意图,应用于电子设备中,所述电子设备包括传感单元,如图3所示,本发明实施例信息处理方法包括:FIG. 3 is a schematic diagram of an implementation flow of an information processing method according to an embodiment of the present invention, which is applied to an electronic device, and the electronic device includes a sensing unit. As shown in FIG. 3 , the information processing method according to this embodiment of the present invention includes:
步骤S301:通过所述传感单元获取至少两个触发操作;Step S301: acquiring at least two trigger operations through the sensing unit;
这里,当在电子设备中仅设置对应于一个触发操作的加密处理过程时,会由于用户的误操作,引起不必要的加密处理过程,使得加密处理过程过于频繁。为了解决这一问题,可以将本发明实施例一中的至少一个触发操作限定在至少两个触发操作,即电子设备通过所述传感单元获取至少两个触发操作。Here, when only an encryption process corresponding to one trigger operation is set in the electronic device, an unnecessary encryption process may be caused due to a user's misoperation, making the encryption process too frequent. In order to solve this problem, at least one trigger operation in Embodiment 1 of the present invention may be limited to at least two trigger operations, that is, the electronic device obtains at least two trigger operations through the sensing unit.
在一示例中,在电子设备的左中侧边中设置有A、B两个温度传感器,所述温度传感器可以迅速且精确的采集温度。具体地,如图4所示,若用户手指从上到下依次接触温度传感器A、B,那么这两个温度传感器会迅速并准确的记录“这个操作”“具体时间”“具体速度”等数据。同时,在电子设备的左上角设置有加速度传感器,以迅速而精确的采集手机的加速度。如果手机被转动,加速度传感器会有详细的数据采集到,包括连续时间点下的加速度变化。具体地,如图4所示,如果用户手握住电子设备,连续两次由向一个确定方向转动90度,那么加速度传感器S会迅速并准确的记录“这个操作”“具体时间”“具体速度”等数据。这样,把如图4所示的操作“1”“2”“3”“4”顺序排序作为一个组合动作,同时也作为本发明实施例二通过所述传感单元获取至少两个触发操作。In an example, two temperature sensors A and B are provided on the middle left side of the electronic device, and the temperature sensors can collect temperature rapidly and accurately. Specifically, as shown in Figure 4, if the user's fingers touch the temperature sensors A and B sequentially from top to bottom, then these two temperature sensors will quickly and accurately record data such as "this operation", "specific time" and "specific speed". . At the same time, an acceleration sensor is provided on the upper left corner of the electronic device to quickly and accurately collect the acceleration of the mobile phone. If the mobile phone is rotated, the acceleration sensor will collect detailed data, including acceleration changes at continuous time points. Specifically, as shown in Figure 4, if the user holds the electronic device and turns it by 90 degrees in a certain direction twice in a row, the acceleration sensor S will quickly and accurately record "this operation", "specific time" and "specific speed". " and other data. In this way, the sequence of operations "1", "2", "3", and "4" as shown in FIG. 4 is regarded as a combination action, and at least two trigger operations are acquired through the sensing unit as the second embodiment of the present invention.
步骤S302:在预设时间段内检测所述至少两个触发操作是否符合预设控制策略;Step S302: Detect whether the at least two trigger operations comply with a preset control strategy within a preset time period;
具体的,电子设备在预设时间段内检测所述至少两个触发操作是否符合预设控制策略;其中,所述预设控制策略的设置可以根据设置于电子设备中的传感单元的具体组成情况加以设置;所述预设时间段的设置可以根据用户执行所述至少两个触发操作所用时长及电子设备的检测速率来确定。在实际应用中,由于所述电子设备用于检测所述至少两个触发操作是否符合预设控制策略的检测速率很快,可以忽略不计,故所述预设时间段可以设置为与普通用户执行所述至少两个触发操作所用时长相当的时间段。Specifically, the electronic device detects whether the at least two trigger operations conform to the preset control strategy within a preset time period; wherein, the setting of the preset control strategy can be based on the specific composition of the sensing unit set in the electronic device The setting of the preset time period may be determined according to the time it takes for the user to perform the at least two trigger operations and the detection rate of the electronic device. In practical applications, since the detection rate of the electronic device for detecting whether the at least two trigger operations comply with the preset control strategy is very fast and negligible, the preset time period can be set to be performed by an ordinary user. The at least two triggering operations take a comparable period of time.
举例来说,在如图4所示的示例中,所述电子设备的左中侧边中设置有A、B两个温度传感器,且同时在所述电子设备的左上角设置有加速度传感器S。所以,用户可以预先设置与图4中所述至少两个触发操作相对应的预设控制策略为通过所述温度传感器A、B及加速度传感器获取到按顺序排列的操作组合“1”“2”“3”“4”。这样,当电子设备通过所述传感单元获取到如操作“1”“2”“3”“4”的至少两个触发操作时,即可确定在预设时间段内所述至少两个触发操作符合预设控制策略。For example, in the example shown in FIG. 4 , two temperature sensors A and B are disposed on the left middle side of the electronic device, and an acceleration sensor S is disposed on the upper left corner of the electronic device. Therefore, the user can pre-set the preset control strategy corresponding to the at least two trigger operations in FIG. "3" "4". In this way, when the electronic device obtains at least two trigger operations such as operations "1", "2", "3" and "4" through the sensing unit, it can determine that the at least two trigger operations within a preset time period Operation complies with preset control strategies.
步骤S303:当所述检测结果为所述至少两个触发操作符合预设控制策略时,基于预设规则确定目标控制对象;Step S303: When the detection result is that the at least two trigger operations conform to the preset control strategy, determine the target control object based on the preset rule;
具体地,在一示例中,所述电子设备基于预设规则确定目标控制对象,包括:将所述电子设备中当前正在执行的应用程序确定为目标控制对象。举例来说,若所述电子设备正处于通讯过程中,则可以将所述电子设备中当前正在执行的通讯过程确定为目标控制对象。Specifically, in an example, the electronic device determining the target control object based on a preset rule includes: determining an application currently being executed in the electronic device as the target control object. For example, if the electronic device is in a communication process, the communication process currently being executed in the electronic device may be determined as the target control object.
在另一示例中,所述电子设备基于预设规则确定目标控制对象,包括:将所述电子设备中获取的当前操作确定为目标控制对象;其中,所述当前操作不同于所述至少一个触发操作。举例来说,在当前步骤S301通过所述传感单元获取至少两个触发操作的方式下,电子设备还获取到另一拨号操作,则可以将当前所获取的拨号操作确定为目标控制对象。In another example, the electronic device determines the target control object based on preset rules, including: determining the current operation acquired in the electronic device as the target control object; wherein the current operation is different from the at least one trigger operate. For example, in the manner of obtaining at least two trigger operations through the sensing unit in the current step S301, and the electronic device also obtains another dial operation, then the currently obtained dial operation may be determined as the target control object.
步骤S304:执行对所述目标控制对象的控制操作。Step S304: Execute a control operation on the target control object.
这里,由于在电子设备中预先设置有所述至少两个触发操作与控制指令之间的对应关系,故所述电子设备在确定目标控制对象后,可以基于与所述至少两个触发操作对应的控制指令,执行对所述目标控制对象的控制操作。Here, since the correspondence between the at least two trigger operations and the control instructions is preset in the electronic device, after the electronic device determines the target control object, it may The control instruction executes the control operation on the target control object.
在一示例中,如图4所示,基于所述至少两个触发操作和控制指令之间的对应关系,设置如图4所示的至少两个触发操作“1”“2”“3”“4”相对应的控制指令为“允许接通当前获取的拨号操作”,或“继续保持当前的通讯过程”,或“拒绝接通当前后期的拨号操作”,亦或“结束当前的通讯过程”等。In an example, as shown in FIG. 4, based on the corresponding relationship between the at least two trigger operations and control instructions, at least two trigger operations "1", "2", "3"" as shown in FIG. 4 are set. 4" The corresponding control command is "Allow to connect to the current dialing operation", or "Continue to maintain the current communication process", or "Refuse to connect to the current later dialing operation", or "End the current communication process" Wait.
如此,通过本发明实施例所述信息处理方法,电子设备通过所述传感单元获取至少两个触发操作;进一步地,在预设时间段内检测有所述至少两个触发操作符合预设控制策略时,基于预设规则确定目标控制对象,并执行对所述目标控制对象的控制操作。这样,通过软硬件结合的方式进行有效的安全通讯管理,能够满足用户对安全通信的需求。In this way, through the information processing method described in the embodiment of the present invention, the electronic device obtains at least two trigger operations through the sensing unit; further, it is detected within a preset time period that the at least two trigger operations conform to the preset control When developing a policy, the target control object is determined based on preset rules, and the control operation on the target control object is executed. In this way, effective secure communication management is performed through the combination of software and hardware, which can meet the needs of users for secure communication.
实施例三Embodiment three
图5为本发明实施例电子设备的组成结构示意图,如图5所示,所述电子设备包括传感单元501、检测单元502、确定单元503和控制单元504;FIG. 5 is a schematic diagram of the composition and structure of an electronic device according to an embodiment of the present invention. As shown in FIG. 5 , the electronic device includes a sensing unit 501, a detection unit 502, a determination unit 503, and a control unit 504;
所述传感单元501,用于通过所述传感单元获取至少一个触发操作;The sensing unit 501 is configured to obtain at least one trigger operation through the sensing unit;
所述检测单元502,用于检测所述至少一个触发操作是否符合预设控制策略,得到检测结果;The detection unit 502 is configured to detect whether the at least one trigger operation conforms to a preset control strategy, and obtain a detection result;
在一实施例中,当所述至少一个触发操作包括至少两个触发操作时,所述检测单元502在预设时间段内检测所述至少两个触发操作是否符合预设控制策略。In an embodiment, when the at least one trigger operation includes at least two trigger operations, the detection unit 502 detects whether the at least two trigger operations conform to a preset control strategy within a preset time period.
所述确定单元503,用于当所述检测结果为所述至少一个触发操作符合预设控制策略时,基于预设规则确定目标控制对象;The determining unit 503 is configured to determine a target control object based on a preset rule when the detection result is that the at least one trigger operation complies with a preset control strategy;
具体地,在一实施例中,所述确定单元503将所述电子设备中当前正在执行的应用程序确定为目标控制对象;Specifically, in an embodiment, the determining unit 503 determines the application currently being executed in the electronic device as the target control object;
或者,在另一实施例中,所述确定单元503将所述电子设备中获取的当前操作确定为目标控制对象;其中,所述当前操作不同于所述至少一个触发操作。Or, in another embodiment, the determining unit 503 determines the current operation acquired in the electronic device as the target control object; wherein the current operation is different from the at least one trigger operation.
所述控制单元504,用于执行对所述目标控制对象的控制操作。The control unit 504 is configured to perform a control operation on the target control object.
具体地,所述控制单元504基于与所述至少一个触发操作对应的控制指令,执行对所述目标控制对象的控制操作。Specifically, the control unit 504 executes a control operation on the target control object based on the control instruction corresponding to the at least one trigger operation.
本发明实施例所述电子设备中的传感单元501可以通过设置于电子设备中的不同类型的传感器组合构成,所述不同类型的传感器包括温度传感器、光线传感器、压力传感器、加速度传感器等。所述电子设备中的检测单元502、确定单元503和控制单元504均可以通过电子设备中的处理器实现,也可以通过具体的逻辑电路实现;比如,在实际应用中,可由位于所述电子设备中的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)、或现场可编程门阵列(FPGA)等实现。The sensing unit 501 in the electronic device according to the embodiment of the present invention may be composed of different types of sensors provided in the electronic device, and the different types of sensors include temperature sensors, light sensors, pressure sensors, acceleration sensors, and the like. The detection unit 502, the determination unit 503 and the control unit 504 in the electronic device can all be realized by a processor in the electronic device, or can be realized by a specific logic circuit; Central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP), or field programmable gate array (FPGA) in the implementation.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention.
Claims (10)
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610186930.XA CN106168774A (en) | 2015-05-20 | 2015-05-20 | A kind of information processing method and electronic equipment |
| CN201510260190.5A CN106295383A (en) | 2015-05-20 | 2015-05-20 | An information processing method and electronic device |
| PCT/CN2015/082171 WO2016183900A1 (en) | 2015-05-20 | 2015-06-24 | Information processing method, electronic device, and computer storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510260190.5A CN106295383A (en) | 2015-05-20 | 2015-05-20 | An information processing method and electronic device |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610186930.XA Division CN106168774A (en) | 2015-05-20 | 2015-05-20 | A kind of information processing method and electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106295383A true CN106295383A (en) | 2017-01-04 |
Family
ID=57319203
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510260190.5A Pending CN106295383A (en) | 2015-05-20 | 2015-05-20 | An information processing method and electronic device |
| CN201610186930.XA Pending CN106168774A (en) | 2015-05-20 | 2015-05-20 | A kind of information processing method and electronic equipment |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610186930.XA Pending CN106168774A (en) | 2015-05-20 | 2015-05-20 | A kind of information processing method and electronic equipment |
Country Status (2)
| Country | Link |
|---|---|
| CN (2) | CN106295383A (en) |
| WO (1) | WO2016183900A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107726539B (en) * | 2017-09-18 | 2022-11-11 | 广东美的制冷设备有限公司 | Terminal operation parameter adjusting method and device and computer readable storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090228841A1 (en) * | 2008-03-04 | 2009-09-10 | Gesture Tek, Inc. | Enhanced Gesture-Based Image Manipulation |
| US20140157209A1 (en) * | 2012-12-03 | 2014-06-05 | Google Inc. | System and method for detecting gestures |
| CN103869947A (en) * | 2012-12-14 | 2014-06-18 | 联想(北京)有限公司 | Method for controlling electronic device and electronic device |
| CN104184875A (en) * | 2013-05-20 | 2014-12-03 | 中兴通讯股份有限公司 | Opening method for terminal debugging port, device and terminal thereof |
| CN104536693A (en) * | 2015-01-26 | 2015-04-22 | 联想(北京)有限公司 | Control method and control device of electronic device and electronic device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103514389A (en) * | 2012-06-28 | 2014-01-15 | 华为技术有限公司 | Equipment authentication method and device |
| KR101385929B1 (en) * | 2013-07-17 | 2014-04-16 | (주)세이퍼존 | Certification and storage device with multi connector and finger print sensor |
| CN103577739B (en) * | 2013-11-15 | 2016-08-17 | 上海快应信息科技有限公司 | A kind of intelligent mobile terminal and setting thereof and access control method |
| CN104077516B (en) * | 2014-06-26 | 2018-04-27 | 华为技术有限公司 | A kind of biological authentication method and terminal |
-
2015
- 2015-05-20 CN CN201510260190.5A patent/CN106295383A/en active Pending
- 2015-05-20 CN CN201610186930.XA patent/CN106168774A/en active Pending
- 2015-06-24 WO PCT/CN2015/082171 patent/WO2016183900A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090228841A1 (en) * | 2008-03-04 | 2009-09-10 | Gesture Tek, Inc. | Enhanced Gesture-Based Image Manipulation |
| US20140157209A1 (en) * | 2012-12-03 | 2014-06-05 | Google Inc. | System and method for detecting gestures |
| CN103869947A (en) * | 2012-12-14 | 2014-06-18 | 联想(北京)有限公司 | Method for controlling electronic device and electronic device |
| CN104184875A (en) * | 2013-05-20 | 2014-12-03 | 中兴通讯股份有限公司 | Opening method for terminal debugging port, device and terminal thereof |
| CN104536693A (en) * | 2015-01-26 | 2015-04-22 | 联想(北京)有限公司 | Control method and control device of electronic device and electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106168774A (en) | 2016-11-30 |
| WO2016183900A1 (en) | 2016-11-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9921743B2 (en) | Wet finger tracking on capacitive touchscreens | |
| TW201239683A (en) | Multi-pass touch contact tracking | |
| JP2017517079A (en) | Touch point recognition method and apparatus | |
| WO2013177901A1 (en) | Touch control unlocking method and apparatus, and electronic device | |
| WO2015131675A1 (en) | Compensation method for broken slide paths, electronic device and computer storage medium | |
| CN103513788B (en) | Based on the gesture identification method of gyro sensor, system and mobile terminal | |
| CN105825114B (en) | A mobile terminal unlocking method and mobile terminal | |
| WO2017032016A1 (en) | Interface operating method and electronic terminal | |
| CN104769601A (en) | Method for identifying user identity and electronic device | |
| CN106681636A (en) | A method, device and mobile terminal for preventing false touches | |
| CN107077284B (en) | Holding method judgment device | |
| WO2015131590A1 (en) | Method for controlling blank screen gesture processing and terminal | |
| CN107087075B (en) | Prompting method based on screen fingerprint identification and mobile terminal | |
| CN104035623B (en) | The response method and device of touch screen false-touch prevention | |
| CN106791086B (en) | Control method of mobile terminal and mobile terminal | |
| CN105739794A (en) | Operation Mode Switching Method of Capacitive Touch Panel Module | |
| CN105630166A (en) | Control method and device for mobile terminal and mobile terminal | |
| WO2016041429A1 (en) | Method and device for avoiding touch-screen key failure and computer storage medium | |
| CN107025024A (en) | It is a kind of to prevent the method and mobile terminal of mobile terminal maloperation | |
| CN106529246A (en) | Task execution method based on fingerprint, and mobile terminal | |
| CN106295383A (en) | An information processing method and electronic device | |
| CN105094640B (en) | A kind of terminal operation method and user terminal | |
| TWI502442B (en) | Clamshell electronic device and calibration method thereof | |
| CN105867685A (en) | Control method and device for terminal equipment | |
| CN105159555A (en) | User equipment control method and user equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |
|
| RJ01 | Rejection of invention patent application after publication |