Movatterモバイル変換


[0]ホーム

URL:


CN103135791A - Controlling system and controlling method of electronic device - Google Patents

Controlling system and controlling method of electronic device
Download PDF

Info

Publication number
CN103135791A
CN103135791ACN2011103947796ACN201110394779ACN103135791ACN 103135791 ACN103135791 ACN 103135791ACN 2011103947796 ACN2011103947796 ACN 2011103947796ACN 201110394779 ACN201110394779 ACN 201110394779ACN 103135791 ACN103135791 ACN 103135791A
Authority
CN
China
Prior art keywords
handheld device
electronic installation
coupling
electronic
corresponding function
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
CN2011103947796A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Jetta Software (shenzhen) Co Ltd
Hon Hai Precision Industry 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 Jetta Software (shenzhen) Co Ltd, Hon Hai Precision Industry Co LtdfiledCriticalJetta Software (shenzhen) Co Ltd
Priority to CN2011103947796ApriorityCriticalpatent/CN103135791A/en
Publication of CN103135791ApublicationCriticalpatent/CN103135791A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

Translated fromChinese

一种电子装置控制系统及方法,该方法包括步骤:搜寻当前环境中的电子装置;从该手持设备的存储器中获取预先设置的所有环境的设定档案,并从获取的设定档案中搜寻包含搜寻到的电子装置数量最多或比例最高的设定档案;当手持设备指向当前环境中的一个电子装置时,获取该手持设备的指示方向;将该手持设备的指示方向与该搜寻到的设定档案记录的每个电子装置的摆设方向进行比对,确定摆设方向与该手持设备指示方向匹配的电子装置;控制该匹配电子装置执行对应功能。利用本发明可以自动定位需要控制的电子装置。

Figure 201110394779

An electronic device control system and method, the method includes the steps of: searching for electronic devices in the current environment; obtaining from the memory of the handheld device the setting files of all environments preset, and searching the obtained setting files containing The setting file with the largest number or the highest proportion of electronic devices found; when the handheld device points to an electronic device in the current environment, obtain the pointing direction of the handheld device; compare the pointing direction of the handheld device with the searched settings The arrangement direction of each electronic device recorded in the file is compared, and the electronic device whose arrangement direction matches the direction indicated by the handheld device is determined; and the matching electronic device is controlled to execute the corresponding function. The electronic device that needs to be controlled can be automatically located by using the invention.

Figure 201110394779

Description

Translated fromChinese
电子装置控制系统及方法Electronic device control system and method

技术领域technical field

本发明涉及一种测试系统及方法,尤其涉及一种电子装置控制系统及方法。The invention relates to a test system and method, in particular to an electronic device control system and method.

背景技术Background technique

目前的手持设备(如智能型手机)可以用作控制其它电子装置(如电视机和DVD播放机等)的遥控器,但用户必须手动在手持设备的装置清单中选择需要控制的电子装置,并通过操作该手持设备上的不同按键(包括实体按键或虚拟按键),对所选择的电子装置下达对应的操作指令。如果需要操作另一电子装置,则需再次从装置清单中选择。如此繁琐的操作步骤会给用户使用带来诸多不便。Current handheld devices (such as smart phones) can be used as remote controls to control other electronic devices (such as televisions and DVD players, etc.), but users must manually select the electronic device to be controlled in the device list of the handheld device, and By operating different buttons (including physical buttons or virtual buttons) on the handheld device, a corresponding operation instruction is given to the selected electronic device. If another electronic device needs to be operated, it needs to be selected again from the device list. Such cumbersome operation steps will bring a lot of inconvenience to users.

发明内容Contents of the invention

鉴于以上内容,有必要提供一种电子装置控制系统,其可通过侦测手持设备的指示方向自动获取当前环境中需要控制的电子装置,并根据该手持设备的移动状态控制该电子装置执行相应功能。In view of the above, it is necessary to provide an electronic device control system, which can automatically obtain the electronic device that needs to be controlled in the current environment by detecting the direction indicated by the handheld device, and control the electronic device to perform corresponding functions according to the mobile state of the handheld device .

鉴于以上内容,还有必要提供一种电子装置控制方法,其可通过侦测手持设备的指示方向自动获取当前环境中需要控制的电子装置,并根据该手持设备的移动状态控制该电子装置执行相应功能。In view of the above, it is also necessary to provide an electronic device control method, which can automatically obtain the electronic device that needs to be controlled in the current environment by detecting the direction indicated by the handheld device, and control the electronic device to perform corresponding operations according to the movement state of the handheld device. Function.

一种电子装置控制系统,应用于手持设备中,该系统包括:An electronic device control system applied to a handheld device, the system includes:

第一搜寻模块,用于搜寻当前环境中的电子装置;a first search module, configured to search for electronic devices in the current environment;

第二搜寻模块,用于从该手持设备的存储器中获取预先设置的所有环境的设定档案,并从获取的设定档案中搜寻包含搜寻到的电子装置数量最多或比例最高的设定档案;The second search module is used to obtain the preset configuration files of all environments from the memory of the handheld device, and search for the configuration file containing the largest number or the highest proportion of electronic devices found in the obtained configuration files;

侦测模块,用于当手持设备指向当前环境中的一个电子装置时,获取该手持设备的电子罗盘侦测到的该手持设备的指示方向;The detection module is used to obtain the indicated direction of the handheld device detected by the electronic compass of the handheld device when the handheld device points to an electronic device in the current environment;

比对模块,用于将该手持设备的指示方向与该搜寻到的设定档案记录的每个电子装置的摆设方向进行比对,确定摆设方向与该手持设备指示方向匹配的电子装置;A comparison module, configured to compare the indicated direction of the handheld device with the arrangement direction of each electronic device recorded in the searched setting file, and determine the electronic device whose arrangement direction matches the indicated direction of the handheld device;

控制模块,用于控制该匹配电子装置执行对应功能。The control module is used to control the matching electronic device to perform corresponding functions.

一种电子装置控制方法,运行于手持设备中,该方法包括如下步骤:A method for controlling an electronic device, running in a handheld device, the method includes the following steps:

第一搜寻步骤,搜寻当前环境中的电子装置;The first search step is to search for electronic devices in the current environment;

第二搜寻步骤,从该手持设备的存储器中获取预先设置的所有环境的设定档案,并从获取的设定档案中搜寻包含搜寻到的电子装置数量最多或比例最高的设定档案;The second search step is to obtain the preset configuration files of all environments from the memory of the handheld device, and search for the configuration file containing the largest number or the highest proportion of electronic devices found in the obtained configuration files;

侦测步骤,当手持设备指向当前环境中的一个电子装置时,获取该手持设备的电子罗盘侦测到的该手持设备的指示方向;A detection step, when the handheld device points to an electronic device in the current environment, obtain the indicated direction of the handheld device detected by the electronic compass of the handheld device;

比对步骤,将该手持设备的指示方向与该搜寻到的设定档案记录的每个电子装置的摆设方向进行比对,确定摆设方向与该手持设备指示方向匹配的电子装置;The comparison step is to compare the indicated direction of the handheld device with the arrangement direction of each electronic device recorded in the searched setting file, and determine the electronic device whose arrangement direction matches the indicated direction of the handheld device;

控制步骤,控制该匹配电子装置执行对应功能。The control step is to control the matching electronic device to execute corresponding functions.

前述方法可以由电子设备(如手机)执行,其中该电子设备具有附带了图形用户界面(GUI)的显示屏幕、一个或多个处理器、存储器以及保存在存储器中用于执行这些方法的一个或多个模块、程序或指令集。在某些实施例中,该电子设备提供了包括无线通信在内的多种功能。The aforementioned methods can be performed by an electronic device (such as a mobile phone), wherein the electronic device has a display screen with a graphical user interface (GUI), one or more processors, memory, and one or more programs stored in the memory for performing these methods. Multiple modules, programs or sets of instructions. In some embodiments, the electronic device provides multiple functions including wireless communication.

用于执行前述方法的指令可以包含在被配置成由一个或多个处理器执行的计算机程序产品中。Instructions for performing the foregoing methods may be embodied in a computer program product configured to be executed by one or more processors.

相较于现有技术,所述的电子装置控制系统及方法,其可通过侦测手持设备的指示方向自动获取当前环境中需要控制的电子装置,并根据该手持设备的移动状态控制该电子装置执行相应功能,从而减少了用户在软件界面上的操作,方便用户使用手持设备上的遥控器功能。Compared with the prior art, the electronic device control system and method described above can automatically obtain the electronic device that needs to be controlled in the current environment by detecting the indicated direction of the handheld device, and control the electronic device according to the movement state of the handheld device Execute the corresponding function, thereby reducing the user's operations on the software interface, and making it convenient for the user to use the remote control function on the handheld device.

附图说明Description of drawings

图1是本发明手持设备的网络架构图。Fig. 1 is a network architecture diagram of the handheld device of the present invention.

图2是本发明手持设备的结构示意图。Fig. 2 is a schematic structural diagram of the handheld device of the present invention.

图3是本发明电子装置控制系统的功能模块图。FIG. 3 is a functional block diagram of the electronic device control system of the present invention.

图4是本发明电子装置控制方法的较佳实施例的流程图。FIG. 4 is a flow chart of a preferred embodiment of the electronic device control method of the present invention.

图5是手持设备指示方向的示意图。Fig. 5 is a schematic diagram of a handheld device indicating a direction.

图6A至图6C是手持设备不同移动状态的示意图。6A to 6C are schematic diagrams of different moving states of the handheld device.

图7是设置电子装置摆设方向的示意图。FIG. 7 is a schematic diagram of setting an arrangement direction of an electronic device.

图8A和图8B是搜寻与手持设备指示方向匹配的电子装置示意图。8A and 8B are schematic diagrams of searching for an electronic device that matches the direction indicated by the handheld device.

主要元件符号说明Description of main component symbols

  电子装置electronic device 1010  手持设备Handheld devices 2020  网络network 3030  显示设备 display screen 21 twenty one  电子罗盘 Electronic compass 22 twenty two  加速度计 Accelerometer 23 twenty three  存储器memory 24 twenty four  电子装置控制系统Electronicdevice control system 2525  处理器Processor 2626  设置模块set module 201201  第一搜寻模块The first search module 202202  第二搜寻模块Second search module 203203  侦测模块detection module 204204  比对模块comparison module 205205  控制模块control module 206206

如下具体实施方式将结合上述附图进一步说明本发明。The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings.

具体实施方式Detailed ways

如图1所示,是本发明手持设备的网络架构图。在本实施例中,所述手持设备20通过网络30与某环境中的多台电子装置10连接。所述手持设备20可以是手机和PDA(Personal Digital Assistant,个人数字助理)等。所述网络30为无线网络(如WiFi),所述电子装置10为遵循DLNA(Digital Living Network Alliance,数字生活网络联盟)协议的各种家用电器,包括但不限于,数字媒体服务器(Digital Media Server,DMS)、数字媒体渲染器(Digital MediaRenderer,DMR)和数字媒体播放器(Digital Media Player,DMP)等。所述环境可以是某个办公室或家里的客厅等地方。As shown in FIG. 1 , it is a network architecture diagram of the handheld device of the present invention. In this embodiment, thehandheld device 20 is connected to a plurality ofelectronic devices 10 in a certain environment through anetwork 30 . Describedhandheld device 20 can be mobile phone and PDA (Personal Digital Assistant, personal digital assistant) etc. Thenetwork 30 is a wireless network (such as WiFi), and theelectronic device 10 is various household appliances following the DLNA (Digital Living Network Alliance, Digital Living Network Alliance) protocol, including but not limited to, a Digital Media Server (Digital Media Server) , DMS), Digital Media Renderer (Digital MediaRenderer, DMR) and Digital Media Player (Digital Media Player, DMP), etc. The environment may be a place such as an office or a living room at home.

如图2所示,是本发明手持设备20的结构示意图。在本实施例中,所述手持设备20包括通过数据总线相连的显示设备21、电子罗盘(Digital Compass)22、加速度计(Accelerometer)23、存储器24、电子装置控制系统25和处理器26。As shown in FIG. 2 , it is a schematic structural diagram of thehandheld device 20 of the present invention. In this embodiment, thehandheld device 20 includes adisplay device 21, a digital compass (Digital Compass) 22, an accelerometer (Accelerometer) 23, amemory 24, an electronicdevice control system 25 and aprocessor 26 connected via a data bus.

其中,所述电子罗盘22用于侦测手持设备20的指示方向。参阅图5所示,该手持设备20的指示方向可以是北方(以0°表示)、东方(以90°表示)、南方(以180°表示)及西方(以270°表示)。在本实施例中,所述手持设备20的指示方向可以用度数来表示,例如,45度代表北偏东45度,90度代表正东方,270度代表正西方等。Wherein, theelectronic compass 22 is used to detect the indicated direction of thehandheld device 20 . Referring to FIG. 5 , the indication direction of thehandheld device 20 can be north (indicated by 0°), east (indicated by 90°), south (indicated by 180°) and west (indicated by 270°). In this embodiment, the pointing direction of thehandheld device 20 may be expressed in degrees, for example, 45 degrees represents 45 degrees east of north, 90 degrees represents due east, 270 degrees represents due west, and so on.

所述加速度计23用于侦测手持设备20在X轴、Y轴、Z轴方向的加速度值,根据侦测到的加速度值获取该手持设备20在不同方向的倾斜度,从而判断出该手持设备20的移动状态。参阅图6A所示,是手持设备20在水平状态下的移动示意图。参阅图6B所示,是手持设备20在垂直状态下左右移动的示意图。参阅图6C所示,是手持设备20在垂直状态下上下移动的示意图。Theaccelerometer 23 is used to detect the acceleration values of thehandheld device 20 in the X-axis, Y-axis, and Z-axis directions, and obtain the inclination of thehandheld device 20 in different directions according to the detected acceleration values, thereby judging that thehandheld device 20 The mobile state of thedevice 20. Referring to FIG. 6A , it is a schematic diagram of movement of thehandheld device 20 in a horizontal state. Referring to FIG. 6B , it is a schematic diagram of thehandheld device 20 moving left and right in a vertical state. Referring to FIG. 6C , it is a schematic diagram of thehandheld device 20 moving up and down in a vertical state.

所述电子装置控制系统25用于通过侦测手持设备20的指示方向自动获取当前环境中需要控制的电子装置10,并根据该手持设备20的移动状态控制该电子装置10执行相应功能,具体过程以下描述。The electronicdevice control system 25 is used to automatically obtain theelectronic device 10 that needs to be controlled in the current environment by detecting the direction indicated by thehandheld device 20, and control theelectronic device 10 to perform corresponding functions according to the movement state of thehandheld device 20. The specific process Described below.

所述存储器24用于存储所述电子装置控制系统25的程序代码等资料。所述显示设备21用作手持设备20的输出设备。例如,所述显示设备21可以是电容式触摸屏或电阻式触摸屏。Thememory 24 is used for storing data such as program codes of the electronicdevice control system 25 . Thedisplay device 21 is used as an output device of thehandheld device 20 . For example, thedisplay device 21 may be a capacitive touch screen or a resistive touch screen.

在本实施例中,所述电子装置控制系统25可以被分割成一个或多个模块,所述一个或多个模块被存储在所述存储器24中并被配置成由一个或多个处理器(本实施例为一个处理器26)执行,以完成本发明。例如,参阅图3所示,所述电子装置控制系统25被分割成设置模块201、第一搜寻模块202、第二搜寻模块203、侦测模块204、比对模块205和控制模块206。本发明所称的模块是完成一特定功能的程序段,比程序更适合于描述软件在手持设备20中的执行过程,关于各模块的功能将在图4的流程图中具体描述。In this embodiment, the electronicdevice control system 25 can be divided into one or more modules, and the one or more modules are stored in thememory 24 and configured to be controlled by one or more processors ( This embodiment is executed by a processor 26) to complete the present invention. For example, as shown in FIG. 3 , the electronicdevice control system 25 is divided into a setting module 201 , a first search module 202 , a second search module 203 , a detection module 204 , a comparison module 205 and a control module 206 . The module referred to in the present invention is a program segment that completes a specific function, and is more suitable for describing the execution process of software in thehandheld device 20 than a program. The functions of each module will be described in detail in the flow chart of FIG. 4 .

如图4所示,是本发明电子装置控制方法的较佳实施例的流程图。在开始图4的流程之前,需要预先通过设置模块201设置不同环境中的电子装置10摆设方向,并将每个环境中的电子装置10的识别码和摆设方向存储至一个对应的设定档案中,然后将不同环境对应的设定档案保存到存储器24中。在本实施例中,所述设定档案的设置是在手持设备20处于水平状态下进行的。可以理解,当手持设备20与水平面的夹角小于一个预设的阀值(如30度)时,即可认为该手持设备20处于水平状态(参阅图6A所示)。As shown in FIG. 4 , it is a flow chart of a preferred embodiment of the electronic device control method of the present invention. Before starting the process of FIG. 4 , it is necessary to pre-set the arrangement direction of theelectronic device 10 in different environments through the setting module 201, and store the identification code and the arrangement direction of theelectronic device 10 in each environment into a corresponding setting file. , and then save the setting files corresponding to different environments into thememory 24 . In this embodiment, the configuration of the configuration file is performed when thehandheld device 20 is in a horizontal state. It can be understood that when the angle between thehandheld device 20 and the horizontal plane is smaller than a preset threshold value (such as 30 degrees), it can be considered that thehandheld device 20 is in a horizontal state (refer to FIG. 6A ).

具体步骤为:The specific steps are:

(1)设置模块201搜寻当前环境中的电子装置10。(1) The setting module 201 searches forelectronic devices 10 in the current environment.

(2)用户移动至操作时所处的位置。为了以后方便操作该电子装置10,用户设置该电子装置10摆设方向时的位置应当尽量与以后要进行操作时的位置一致。(2) The user moves to the position where the operation is performed. In order to facilitate the operation of theelectronic device 10 in the future, the position when the user sets the arrangement direction of theelectronic device 10 should be as consistent as possible with the position to be operated later.

(3)用户面向需要设置的电子装置10,设置模块201记录电子罗盘22侦测到的该手持设备20的指示方向,该手持设备20的指示方向作为该电子装置10的摆设方向。参阅图7所示,手持设备20的指示方向为45度,则设置电子装置10的摆设方向同样为45度。(3) The user faces theelectronic device 10 that needs to be set, and the setting module 201 records the indicating direction of thehandheld device 20 detected by theelectronic compass 22 , and the indicating direction of thehandheld device 20 is used as the display direction of theelectronic device 10 . Referring to FIG. 7 , the pointing direction of thehandheld device 20 is 45 degrees, and the arrangement direction of theelectronic device 10 is also 45 degrees.

(4)重复步骤(3)直到当前环境中的所有搜寻到的电子装置10的摆设方向记录完毕,然后,设置模块201将当前环境中的每个电子装置10的识别码和摆设方向存储至一个对应的设定档案中,并将该设定档案保存到存储器24中。(4) Repeat step (3) until the placement directions of all searchedelectronic devices 10 in the current environment are recorded. Then, the setting module 201 stores the identification code and placement direction of eachelectronic device 10 in the current environment into a corresponding setting file, and save the setting file in thememory 24.

其中,电子装置10的识别码可以从该电子装置10存储器中自动读取,如全球唯一标识符(Globally Unique Identifier,GUID),也可以通过设置模块201由用户手动进行设置。Wherein, the identification code of theelectronic device 10 can be automatically read from the memory of theelectronic device 10, such as a Globally Unique Identifier (Globally Unique Identifier, GUID), and can also be manually set by the user through the setting module 201.

步骤S1,第一搜寻模块202搜寻当前环境中的电子装置10。In step S1, the first search module 202 searches forelectronic devices 10 in the current environment.

步骤S2,第二搜寻模块203从存储器24中获取所有环境的设定档案,并从获取的设定档案中搜寻包含搜寻到的电子装置数量最多或比例最高的设定档案。例如,假设存储器24中存储有两个设定档案D1和D2,其中,D1中存储有3个电子装置e1、e2、e3,D2中存储有4个电子装置e3和e4。如果当前环境中的电子装置10包括e1、e2和e3,而第一搜寻模块202搜寻到的电子装置只有e2和e3,其中e1处于关闭状态,所以无法搜寻到。由此可知,设定档案D1包含搜寻到的电子装置数量最多(2个),或比例最高(2/3)。In step S2, the second search module 203 obtains all environment configuration files from thememory 24, and searches for the configuration file containing the largest number or the highest proportion of electronic devices found in the obtained configuration files. For example, suppose there are two configuration files D1 and D2 stored in thememory 24, wherein D1 stores three electronic devices e1, e2, e3, and D2 stores four electronic devices e3 and e4. If theelectronic devices 10 in the current environment include e1, e2 and e3, and the first searching module 202 finds only electronic devices e2 and e3, and e1 is closed, so it cannot be found. It can be seen that the configuration file D1 contains the largest number (2) or the highest ratio (2/3) of the electronic devices found.

步骤S3,当手持设备20指向当前环境中的一个电子装置时,侦测模块204获取电子罗盘22侦测到的该手持设备20的指示方向。Step S3 , when thehandheld device 20 points to an electronic device in the current environment, the detection module 204 obtains the direction indicated by thehandheld device 20 detected by theelectronic compass 22 .

步骤S4,比对模块205将该手持设备20的指示方向与该搜寻到的设定档案(如D1)中记录的每个电子装置10的摆设方向进行比对,确定摆设方向与该手持设备20指示方向匹配的电子装置10,该匹配到的电子装置10作为需要控制的目标电子装置。如前所述,可以用角度来代表该手持设备20的指示方向或每个电子装置10的摆设方向。Step S4, the comparison module 205 compares the indicated direction of thehandheld device 20 with the arrangement direction of eachelectronic device 10 recorded in the searched setting file (such as D1), and determines that the arrangement direction is the same as that of thehandheld device 20. Theelectronic device 10 whose direction is matched is indicated, and the matchedelectronic device 10 is used as a target electronic device to be controlled. As mentioned above, the angle can be used to represent the pointing direction of thehandheld device 20 or the arrangement direction of eachelectronic device 10 .

具体而言,比对模块205先以该手持设备20的指示方向为基准,向顺时针方向和逆时针方向各展开预设角度值α,得到一个该手持设备20指示方向的偏转范围,该偏转范围视为搜寻匹配电子装置10的视角范围。在本实施例中,所述预设角度值α取30度。参阅图8A所示,假设手持设备20的指示方向为60°,则该手持设备20指示方向的偏转范围为[30°,90°]。Specifically, the comparison module 205 first takes the indication direction of thehandheld device 20 as a reference, and expands the preset angle value α in the clockwise direction and the counterclockwise direction respectively to obtain a deflection range of the direction indicated by thehandheld device 20. The deflection The range is regarded as the viewing angle range of the searching and matchingelectronic device 10 . In this embodiment, the preset angle value α is 30 degrees. Referring to FIG. 8A , assuming that the pointing direction of thehandheld device 20 is 60°, the deflection range of the pointing direction of thehandheld device 20 is [30°, 90°].

然后,比对模块205从该搜寻到的设定档案记录的电子装置中选取与该手持设备20指示方向匹配的电子装置10,其中,该匹配电子装置10的摆设方向位于该手持设备20指示方向的偏转范围内。参阅图8A所示,假设电子装置10的摆设方向为45度,则比对模块205判断该电子装置10为与该手持设备20指示方向匹配的电子装置。Then, the comparison module 205 selects theelectronic device 10 matching the direction indicated by thehandheld device 20 from the electronic devices recorded in the searched setting file, wherein the matchingelectronic device 10 is placed in the direction indicated by thehandheld device 20 within the deflection range. Referring to FIG. 8A , assuming that the orientation of theelectronic device 10 is 45 degrees, the comparison module 205 determines that theelectronic device 10 matches the orientation indicated by thehandheld device 20 .

如果比对模块205没有在该偏转范围内找到匹配电子装置10,则提示用户调整手持设备20的指示方向。参阅图8B所示,假设手持设备20的指示方向为90°,则该手持设备20指示方向的偏转范围为[60°,120°],比对模块205在该偏转范围内无法找到匹配的电子装置10。If the comparison module 205 does not find a matchingelectronic device 10 within the deflection range, the user is prompted to adjust the pointing direction of thehandheld device 20 . As shown in FIG. 8B , assuming that the indicated direction of thehandheld device 20 is 90°, the deflection range of the indicated direction of thehandheld device 20 is [60°, 120°], and the comparison module 205 cannot find a matching electron within the deflection range.device 10.

在其他实施例中,如果比对模块205获取的匹配电子装置10为两个以上,则从该多个匹配电子装置10中选择一个摆设方向与该手持设备20的指示方向最接近的电子装置10,作为该手持设备20的匹配电子装置10。In other embodiments, if there are more than two matchingelectronic devices 10 acquired by the comparison module 205, then select anelectronic device 10 whose placement direction is closest to the indicated direction of thehandheld device 20 from the multiple matchingelectronic devices 10 , as the matchingelectronic device 10 of thehandheld device 20 .

步骤S5,控制模块206根据加速度计23侦测到的该手持设备20的移动状态,控制该匹配电子装置10执行对应功能。在本实施例中,所述步骤S5在手持设备20处于垂直状态下进行。Step S5 , the control module 206 controls the matchingelectronic device 10 to execute corresponding functions according to the movement state of thehandheld device 20 detected by theaccelerometer 23 . In this embodiment, the step S5 is performed when thehandheld device 20 is in a vertical state.

具体而言,控制模块206先根据加速度计23侦测到的该手持设备20在X轴、Y轴、Z轴方向的加速度值,判断该手持设备20处于水平状态还是垂直状态。Specifically, the control module 206 first determines whether thehandheld device 20 is in a horizontal state or a vertical state according to the acceleration values of thehandheld device 20 in the X-axis, Y-axis, and Z-axis directions detected by theaccelerometer 23 .

如果该手持设备20处于垂直状态,则控制模块206在预先设定的该手持设备的移动状态与对应电子装置功能的映射关系中,根据所侦测到的该手持设备20的移动状态查询该匹配电子装置10的对应功能,并控制该匹配电子装置10执行该对应功能。可以理解,所述映射关系预先存储于该手持设备20的存储器24中。If thehandheld device 20 is in the vertical state, the control module 206 searches for the match according to the detected moving state of thehandheld device 20 in the preset mapping relationship between the moving state of the handheld device and the function of the corresponding electronic device. corresponding function of theelectronic device 10, and control the matchingelectronic device 10 to execute the corresponding function. It can be understood that the mapping relationship is pre-stored in thememory 24 of thehandheld device 20 .

举例而言,如果该手持设备20在垂直状态下向左移动(参阅图6B所示),则控制该匹配电子装置10播放上一首歌曲,如果该手持设备20在垂直状态下向上移动(参阅图6C所示),则控制提高该匹配电子装置10的音量。For example, if thehandheld device 20 moves to the left in the vertical state (see FIG. 6B ), then control the matchingelectronic device 10 to play the last song; 6C ), then control to increase the volume of the matchingelectronic device 10 .

如果该手持设备20处于水平状态,则控制模块206不执行控制操作。If thehandheld device 20 is in a horizontal state, the control module 206 does not perform any control operations.

可以理解,在其他实施例中,所述步骤S5也可以在手持设备20处于水平状态下进行。也就是说,控制模块206无需判断该手持设备20处于水平状态还是垂直状态,直接根据预先设定的映射关系,控制匹配电子装置10执行对应功能。It can be understood that, in other embodiments, the step S5 can also be performed when thehandheld device 20 is in a horizontal state. That is to say, the control module 206 does not need to judge whether thehandheld device 20 is in the horizontal state or the vertical state, and directly controls the matchingelectronic device 10 to execute corresponding functions according to the preset mapping relationship.

在其他实施例中,步骤S5也可以为:In other embodiments, step S5 may also be:

控制模块206在预先设定的该手持设备提供的按键(包括实体按键和虚拟按键)与对应电子装置功能的映射关系中,根据所侦测到的该手持设备20按键操作查询该匹配电子装置10的对应功能,并控制该匹配电子装置10执行该对应功能。例如,通过向左的按键控制该匹配电子装置10播放上一首歌曲,通过向右的按键控制该匹配电子装置10播放下一首歌曲等。The control module 206 queries the matchingelectronic device 10 according to the detected button operation of thehandheld device 20 in the preset mapping relationship between the buttons provided by the handheld device (including physical buttons and virtual buttons) and the functions of the corresponding electronic device. corresponding function, and control the matchingelectronic device 10 to execute the corresponding function. For example, the matchingelectronic device 10 is controlled to play the previous song by pressing the left key, and the matchingelectronic device 10 is controlled to play the next song by pressing the right key.

最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements can be made without departing from the spirit and scope of the technical solutions of the present invention.

Claims (14)

CN2011103947796A2011-12-022011-12-02Controlling system and controlling method of electronic devicePendingCN103135791A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2011103947796ACN103135791A (en)2011-12-022011-12-02Controlling system and controlling method of electronic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2011103947796ACN103135791A (en)2011-12-022011-12-02Controlling system and controlling method of electronic device

Publications (1)

Publication NumberPublication Date
CN103135791Atrue CN103135791A (en)2013-06-05

Family

ID=48495720

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2011103947796APendingCN103135791A (en)2011-12-022011-12-02Controlling system and controlling method of electronic device

Country Status (1)

CountryLink
CN (1)CN103135791A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104574899A (en)*2014-12-152015-04-29惠州Tcl移动通信有限公司Intelligent control method and terminal therefor
CN105554563A (en)*2015-12-142016-05-04小米科技有限责任公司Method and device for multimedia playing

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1898708A (en)*2003-12-182007-01-17皇家飞利浦电子股份有限公司Method and system for control of a device
CN101101512A (en)*2002-11-202008-01-09皇家飞利浦电子股份有限公司User interface system based on pointing device
CN101866533A (en)*2009-10-202010-10-20香港应用科技研究院有限公司Remote control device and method
CN102184014A (en)*2011-05-122011-09-14浙江大学Intelligent appliance interaction control method and device based on mobile equipment orientation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101101512A (en)*2002-11-202008-01-09皇家飞利浦电子股份有限公司User interface system based on pointing device
CN1898708A (en)*2003-12-182007-01-17皇家飞利浦电子股份有限公司Method and system for control of a device
CN101866533A (en)*2009-10-202010-10-20香港应用科技研究院有限公司Remote control device and method
CN102184014A (en)*2011-05-122011-09-14浙江大学Intelligent appliance interaction control method and device based on mobile equipment orientation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104574899A (en)*2014-12-152015-04-29惠州Tcl移动通信有限公司Intelligent control method and terminal therefor
CN104574899B (en)*2014-12-152019-08-23惠州Tcl移动通信有限公司A kind of intelligent control method and its terminal
CN105554563A (en)*2015-12-142016-05-04小米科技有限责任公司Method and device for multimedia playing

Similar Documents

PublicationPublication DateTitle
CN107533422B (en)Server and method for controlling group behavior of server
CN105634881B (en)Application scene recommendation method and device
CN102939576B (en) Method and apparatus for gesture-based remote control
CN104122845B (en)Household appliance control system and method
US20120068857A1 (en)Configurable remote control
US20170097686A1 (en)Apparatus and method for adaptive gesture recognition in portable terminal
CN106953785B (en)Intelligent household equipment adding method and device
CN106468971A (en)The method of pressure and the electronic installation being suitable to the method are sensed by touch sensor
CN105094314B (en)Method and apparatus for utilizing a display to processing input
CN102316387B (en)Remote control equipment, remote control setting method
US9426606B2 (en)Electronic apparatus and method of pairing in electronic apparatus
CN104899003A (en)Terminal control method and system
WO2013177901A1 (en)Touch control unlocking method and apparatus, and electronic device
CN105446619B (en) Apparatus and method for identifying objects
CN105702015A (en)Method and device for managing infrared remote control code values
CN104516495A (en)Method and terminal for quickly entering terminal application
CN108632796A (en)Bluetooth connecting method, device, terminal and computer readable storage medium
TWI517108B (en)System and method for controlling electronic device
CN111669737A (en) Bluetooth device connection method, device and electronic device
CN106101990B (en)Bluetooth device searching method and device
WO2017128986A1 (en)Selection method, device and storage medium for multimedia menu item
CN105630376A (en)Terminal control method and device
CN103135791A (en)Controlling system and controlling method of electronic device
CN104238481A (en)Household device control system and method
CN105320858B (en)Method and device for rapidly displaying application icons

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
ASSSuccession or assignment of patent right

Owner name:HONGFUJIN PRECISE INDUSTRY (SHENZHEN) CO., LTD.

Free format text:FORMER OWNER: GDS SOFTWARE(SHENZHEN)CO.,LTD.

Effective date:20150527

C41Transfer of patent application or patent right or utility model
TA01Transfer of patent application right

Effective date of registration:20150527

Address after:518109 Guangdong city of Shenzhen province Baoan District Longhua Town Industrial Zone tabulaeformis tenth East Ring Road No. 2 two

Applicant after:Hongfujin Precise Industry (Shenzhen) Co., Ltd.

Applicant after:Hon Hai Precision Industry Co., Ltd.

Address before:518109, Guangdong, Baoan District, Shenzhen, Longhua Road, road, east side of Foxconn science and Technology Park, D1 district workshop, stamping workshop, third layers, distinguish the body

Applicant before:Jetta software (Shenzhen) Co., Ltd.

Applicant before:Hon Hai Precision Industry Co., Ltd.

WD01Invention patent application deemed withdrawn after publication

Application publication date:20130605

WD01Invention patent application deemed withdrawn after publication

[8]ページ先頭

©2009-2025 Movatter.jp