TWI843041B - System for detecting shaking signals to perform corresponding function and method thereof - Google Patents
System for detecting shaking signals to perform corresponding function and method thereof Download PDFInfo
- Publication number
- TWI843041B TWI843041B TW111101077A TW111101077A TWI843041B TW I843041 B TWI843041 B TW I843041B TW 111101077 A TW111101077 A TW 111101077A TW 111101077 A TW111101077 A TW 111101077A TW I843041 B TWI843041 B TW I843041B
- Authority
- TW
- Taiwan
- Prior art keywords
- function
- menu
- signal
- option
- shaking
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000006870 function Effects 0.000 claims description 256
- 238000001514 detection method Methods 0.000 claims description 27
- 230000001133 acceleration Effects 0.000 claims description 22
- 230000000694 effects Effects 0.000 abstract description 4
- 238000012545 processing Methods 0.000 description 21
- 230000002093 peripheral effect Effects 0.000 description 14
- 238000004891 communication Methods 0.000 description 9
- 238000012546 transfer Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 239000007787 solid Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (AREA)
Abstract
Description
一種程式運作系統及其方法,特別係指一種偵測晃動訊號以執行對應功能之系統及方法。A program operation system and method thereof, in particular, a system and method for detecting a shaking signal to execute a corresponding function.
手機的發明為現代人帶來極大的便利性,除了具備可隨時通話的功能外,更因具有隨身攜帶便利等諸多優點,故成為現代人生活中不可或缺的重要溝通工具。The invention of mobile phones has brought great convenience to modern people. In addition to the function of making calls at any time, it has many advantages such as the convenience of being portable, making it an indispensable and important communication tool in modern people's lives.
隨著電子技術日新月異,手機的功能亦逐年成長演進、推陳出新,具有高效能處理器以提供高運算能力來執行應用程式之智慧型手機由於具備了高度功能性與方便性,因此逐漸成為手機技術領域之主流。這也讓手機從單純的撥打電話功能之外,更進一步地讓手機如同個人助理般,在生活上提供各種便利性之具體服務,例如購物、付費、上網等。As electronic technology advances with each passing day, the functions of mobile phones have also grown and evolved year by year, and have been innovated. Smart phones with high-performance processors that provide high computing power to run applications have gradually become the mainstream in the field of mobile phone technology due to their high functionality and convenience. This has also allowed mobile phones to go beyond the simple function of making calls and further enable mobile phones to provide various convenient and specific services in life, such as shopping, payment, and Internet access, just like personal assistants.
然而,隨著智慧型手機的處理效能越來越高,執行於智慧型手機上的應用程式功能也越來越多越來越複雜,使用者要執行應用程式中的特定功能時,往往需要在應用程式中逐步點選各個功能選項以尋找欲執行的特定功能。However, as the processing performance of smartphones increases, the functions of applications running on smartphones are becoming more and more numerous and complex. When users want to execute a specific function in an application, they often need to click on various function options in the application step by step to find the specific function they want to execute.
為了解決上面的問題,有部分的應用程式提供使用者在首頁中自定義捷徑,使用者可以直接在首頁中點選欲執行的功能。然而,上述的方式仍然需要使用者觀看應用程式所顯示的使用者介面,當使用者無法觀看應用程式所顯示的使用者介面時,使用者便無法有效地點選特定功能以執行,甚至,若使用者在危險的環境中分心在使用者介面中尋找特定功能反而可能造成使用者危險。To solve the above problem, some applications allow users to customize shortcuts on the homepage, so that users can directly click on the desired function on the homepage. However, the above method still requires users to view the user interface displayed by the application. When users cannot view the user interface displayed by the application, they cannot effectively click on a specific function to execute it. In addition, if users are distracted in a dangerous environment and try to find a specific function in the user interface, it may even cause danger to the user.
綜上所述,可知先前技術中長期以來一直存在使用者需要在使用者介面尋找才能執行特定功能可能造成不便與危險的問題,因此有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that the prior art has long had the problem that users need to search in the user interface to execute a specific function, which may cause inconvenience and danger. Therefore, it is necessary to propose an improved technical means to solve this problem.
有鑒於先前技術存在使用者需要在使用者介面尋找才能執行特定功能可能造成不便與危險的問題,本發明遂揭露一種偵測晃動訊號以執行對應功能之系統及方法,其中:In view of the problem in the prior art that users need to search in the user interface to execute a specific function, which may cause inconvenience and danger, the present invention discloses a system and method for detecting a shaking signal to execute a corresponding function, wherein:
本發明所揭露之偵測晃動訊號以執行對應功能之系統,至少包含:選單載入模組,用以載入第一選單,第一選單包含應用程式之第一功能選項,第一功能選項對應第一選擇訊號;訊號偵測模組,用以透過加速度感測元件偵測第一晃動訊號及第二晃動訊號;訊號判斷模組,用以判斷第一晃動訊號與第一選擇訊號是否相符,及用以判斷第二晃動訊號與第二選擇訊號是否相符,選單載入模組更用以於第一晃動訊號與第一選擇訊號相符時,載入與第一功能選項對應之第二選單,第二選單包含第二功能選項,第二功能選項對應第二選擇訊號;功能執行模組,用以於第二晃動訊號與第二選擇訊號相符時,執行與第二功能選項對應之目標功能。The system disclosed in the present invention for detecting a shaking signal to execute a corresponding function at least comprises: a menu loading module for loading a first menu, the first menu comprising a first function option of an application, the first function option corresponding to a first selection signal; a signal detection module for detecting a first shaking signal and a second shaking signal through an acceleration sensing element; a signal judgment module for judging whether the first shaking signal matches the first selection signal , and is used to determine whether the second shaking signal matches the second selection signal. The menu loading module is further used to load the second menu corresponding to the first function option when the first shaking signal matches the first selection signal. The second menu includes a second function option, and the second function option corresponds to the second selection signal; the function execution module is used to execute the target function corresponding to the second function option when the second shaking signal matches the second selection signal.
本發明所揭露之偵測晃動訊號以執行對應功能之方法,其步驟至少包括:執行應用程式;載入第一選單,第一選單包含應用程式之第一功能選項,第一功能選項對應第一選擇訊號;透過加速度感測元件偵測第一晃動訊號;判斷第一晃動訊號與第一選擇訊號相符時,載入與第一功能選項對應之第二選單,第二選單包含第二功能選項,第二功能選項對應第二選擇訊號;透過加速度感測元件偵測第二晃動訊號;判斷第二晃動訊號與第二選擇訊號相符時,執行與第二功能選項對應之目標功能。The method disclosed in the present invention for detecting a shaking signal to execute a corresponding function comprises at least the following steps: executing an application; loading a first menu, the first menu including a first function option of the application, the first function option corresponding to a first selection signal; detecting a first shaking signal through an acceleration sensing element; when it is determined that the first shaking signal matches the first selection signal, loading a second menu corresponding to the first function option, the second menu including a second function option, the second function option corresponding to a second selection signal; detecting a second shaking signal through an acceleration sensing element; when it is determined that the second shaking signal matches the second selection signal, executing a target function corresponding to the second function option.
本發明所揭露之系統與方法如上,與先前技術之間的差異在於本發明透過判斷所偵測到之第一晃動訊號與第一選單中之第一功能選項所對應之第一選擇訊號相符時,執行與第一功能選項對應的目標功能或載入與第一功能選項對應之第二選單,並判斷所偵測到之第二晃動訊號與第二選單中之第二功能選項所對應之第二選擇訊號相符時,執行與第二功能選項對應之目標功能,藉以解決先前技術所存在的問題,並可以達成不需觀看螢幕也能操作應用程式執行目標功能的技術功效。The system and method disclosed in the present invention are as described above. The difference between the present invention and the prior art is that the present invention solves the problems existing in the prior art by determining that the detected first shaking signal matches the first selection signal corresponding to the first function option in the first menu, executing the target function corresponding to the first function option or loading the second menu corresponding to the first function option, and determining that the detected second shaking signal matches the second selection signal corresponding to the second function option in the second menu, executing the target function corresponding to the second function option, thereby achieving the technical effect of operating the application to execute the target function without viewing the screen.
以下將配合圖式及實施例來詳細說明本發明之特徵與實施方式,內容足以使任何熟習相關技藝者能夠輕易地充分理解本發明解決技術問題所應用的技術手段並據以實施,藉此實現本發明可達成的功效。The following will be used in conjunction with drawings and embodiments to explain in detail the features and implementation methods of the present invention. The content is sufficient to enable anyone familiar with the relevant technology to easily and fully understand the technical means used by the present invention to solve the technical problems and implement them accordingly, thereby achieving the effects that can be achieved by the present invention.
本發明可以透過搖動手持裝置的方式操作手持裝置所執行的應用程式。本發明所提之手持裝置為包含加速度感測元件且可以讓使用者輕易手持使用的計算設備,例如智慧型手機等。The present invention can operate the application program executed by the handheld device by shaking the handheld device. The handheld device mentioned in the present invention is a computing device that includes an acceleration sensor element and can be easily held by a user, such as a smart phone.
其中,本發明所提之加速度感測元件可以是二軸或三軸的加速度感測器,但本發明並不以此為限,凡可以感測手持裝置被晃動的元件或模組都可以作為本發明所提之加速度感測元件。The acceleration sensing element mentioned in the present invention may be a two-axis or three-axis acceleration sensor, but the present invention is not limited thereto. Any element or module that can sense the shaking of a handheld device may be used as the acceleration sensing element mentioned in the present invention.
以下先以「第1圖」本發明所提之偵測晃動訊號以執行對應功能之系統架構圖來說明本發明的系統運作。如「第1圖」所示,本發明之系統包含在應用程式中,含有訊號偵測模組110、選單載入模組120、訊號判斷模組160、功能執行模組170,及可附加的功能設定模組120、選單產生模組130,且應用程式是在手持裝置100中執行,一般而言,手持裝置100為計算設備,上述各模組為手持裝置之處理元件在執行一個或多個計算機指令後產生。The following first uses the system architecture diagram of the present invention, "Figure 1", which is a system architecture diagram for detecting shaking signals to execute corresponding functions. As shown in "Figure 1", the system of the present invention is included in the application, which includes a
本創作所提之計算設備包含但不限於一個或多個處理模組、一條或多條記憶體模組、以及連接不同硬體元件(包括記憶體模組和處理模組)的匯流排等硬體元件。透過所包含之多個硬體元件,計算設備可以載入並執行作業系統,使作業系統在計算設備上運行,也可以執行軟體或程式。另外,計算設備也包含一個外殼,上述之各個硬體元件設置於外殼內。The computing device mentioned in this work includes but is not limited to one or more processing modules, one or more memory modules, and hardware components such as a bus connecting different hardware components (including memory modules and processing modules). Through the multiple hardware components included, the computing device can load and execute an operating system so that the operating system runs on the computing device, and can also execute software or programs. In addition, the computing device also includes a housing, and the above-mentioned hardware components are arranged in the housing.
本創作所提之計算設備的匯流排可以包含一種或多個類型,例如包含資料匯流排(data bus)、位址匯流排(address bus)、控制匯流排(control bus)、擴充功能匯流排(expansion bus)、及/或局域匯流排(local bus)等類型的匯流排。計算設備的匯流排包括但不限於的工業標準架構(Industry Standard Architecture, ISA)匯流排、周邊元件互連(Peripheral Component Interconnect, PCI)匯流排、視頻電子標準協會(Video Electronics Standards Association, VESA)局域匯流排、以及串列的通用序列匯流排(Universal Serial Bus, USB)、快速周邊元件互連(PCI Express, PCI-E/PCIe)匯流排等。The bus of the computing device mentioned in this work may include one or more types, such as a data bus, an address bus, a control bus, an expansion bus, and/or a local bus. The bus of the computing device includes but is not limited to an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, a Video Electronics Standards Association (VESA) local bus, and a Universal Serial Bus (USB) bus, a PCI Express (PCI-E/PCIe) bus, etc.
本創作所提之計算設備的處理模組與匯流排耦接。處理模組包含暫存器(Register)組或暫存器空間,暫存器組或暫存器空間可以完全的被設置在處理模組之處理晶片上,或全部或部分被設置在處理晶片外並經由專用電氣連接及/或經由匯流排耦接至處理晶片。處理模組可為中央處理器、微處理器或任何合適的處理元件。若計算設備為多處理器設備,也就是計算設備包含多個處理模組,則計算設備所包含的處理模組都相同或類似,且透過匯流排耦接與通訊。處理模組可以解釋一個計算機指令或一連串的多個計算機指令以進行特定的運算或操作,例如,數學運算、邏輯運算、資料比對、複製/移動資料等,藉以驅動計算設備中的其他硬體元件或運行作業系統或執行各種程式及/或模組。The processing module of the computing device proposed in this creation is coupled to a bus. The processing module includes a register group or a register space, which can be completely set on the processing chip of the processing module, or completely or partially set outside the processing chip and coupled to the processing chip via a dedicated electrical connection and/or via a bus. The processing module can be a central processing unit, a microprocessor, or any suitable processing element. If the computing device is a multi-processor device, that is, the computing device includes multiple processing modules, the processing modules included in the computing device are the same or similar, and are coupled and communicated through a bus. The processing module can interpret a computer instruction or a series of multiple computer instructions to perform specific calculations or operations, such as mathematical operations, logical operations, data comparison, copying/moving data, etc., to drive other hardware components in the computing device or run the operating system or execute various programs and/or modules.
計算設備中通常也包含一個或多個晶片組(Chipset)。計算設備的處理模組可以與晶片組耦接或透過匯流排與晶片組電性連接。晶片組是由一個或多個積體電路(Integrated Circuit, IC)組成,包含記憶體控制器以及周邊輸出入(I/O)控制器等,也就是說,記憶體控制器以及周邊輸出入控制器可以包含在一個積體電路內,也可以使用兩個或更多的積體電路實現。晶片組通常提供了輸出入和記憶體管理功能、以及提供多個通用及/或專用暫存器、計時器等,其中,上述之通用及/或專用暫存器與計時器可以讓耦接或電性連接至晶片組的一個或多個處理模組存取或使用。Computing devices usually also include one or more chipsets. The processing module of the computing device can be coupled to the chipset or electrically connected to the chipset through a bus. The chipset is composed of one or more integrated circuits (ICs), including a memory controller and a peripheral input/output (I/O) controller, etc. That is, the memory controller and the peripheral input/output (I/O) controller can be included in one IC, or can be implemented using two or more ICs. The chipset usually provides input/output and memory management functions, as well as multiple general and/or dedicated registers, timers, etc., wherein the above-mentioned general and/or dedicated registers and timers can be accessed or used by one or more processing modules coupled or electrically connected to the chipset.
計算設備的處理模組也可以透過記憶體控制器存取安裝於計算設備上的記憶體模組和大容量儲存區中的資料。上述之記憶體模組包含任何類型的揮發性記憶體(volatile memory)及/或非揮發性(non-volatile memory, NVRAM)記憶體,例如靜態隨機存取記憶體(Static Random Access Memory, SRAM)、動態隨機存取記憶體(Dynamic Random Access Memory, DRAM)、唯讀記憶體(Read-Only Memory, ROM)、快閃記憶體(Flash memory)等。上述之大容量儲存區可以包含任何類型的儲存裝置或儲存媒體,例如,硬碟機、光碟(optical disc)、隨身碟(flash drive)、記憶卡(memory card)、固態硬碟(Solid State Disk, SSD)、或任何其他儲存裝置等。也就是說,記憶體控制器可以存取靜態隨機存取記憶體、動態隨機存取記憶體、快閃記憶體、硬碟機、固態硬碟中的資料。The processing module of the computing device can also access the data in the memory module and the mass storage area installed on the computing device through the memory controller. The above-mentioned memory module includes any type of volatile memory and/or non-volatile memory (NVRAM) memory, such as static random access memory (SRAM), dynamic random access memory (DRAM), read-only memory (ROM), flash memory, etc. The mass storage area mentioned above may include any type of storage device or storage media, such as a hard drive, optical disc, flash drive, memory card, solid state disk (SSD), or any other storage device. In other words, the memory controller can access data in static random access memory, dynamic random access memory, flash memory, hard drive, and solid state disk.
計算設備的處理模組也可以透過周邊輸出入控制器經由周邊輸出入匯流排與周邊輸出裝置、周邊輸入裝置、通訊介面、及GPS接收器等周邊裝置或介面連接並通訊。周邊輸入裝置可以是任何類型的輸入裝置,例如鍵盤、滑鼠、軌跡球、觸控板、搖桿等,周邊輸出裝置可以是任何類型的輸出裝置,例如顯示器、印表機等,周邊輸入裝置與周邊輸出裝置也可以是同一裝置,例如觸控螢幕等。通訊介面可以包含無線通訊介面及/或有線通訊介面,無線通訊介面可以包含支援無線區域網路(如Wi-Fi、Zigbee等)、藍牙、紅外線、近場通訊(Near-field communication, NFC)、3G/4G/5G等行動通訊網路(蜂巢式網路)或其他無線資料傳輸協定的介面,有線通訊介面可為乙太網路裝置、DSL數據機、纜線(Cable)數據機、非同步傳輸模式(Asynchronous Transfer Mode, ATM)裝置、或光纖通訊介面及/或元件等。處理模組可以週期性地輪詢(polling)各種周邊裝置與介面,使得計算設備能夠透過各種周邊裝置與介面進行資料的輸入與輸出,也能夠與具有上面描述之硬體元件的另一個計算設備進行通訊。The processing module of the computing device can also be connected and communicated with peripheral devices or interfaces such as peripheral output devices, peripheral input devices, communication interfaces, and GPS receivers through the peripheral input/output controller via the peripheral input/output bus. The peripheral input device can be any type of input device, such as a keyboard, a mouse, a trackball, a touchpad, a joystick, etc. The peripheral output device can be any type of output device, such as a display, a printer, etc. The peripheral input device and the peripheral output device can also be the same device, such as a touch screen, etc. The communication interface may include a wireless communication interface and/or a wired communication interface. The wireless communication interface may include an interface supporting a wireless local area network (such as Wi-Fi, Zigbee, etc.), Bluetooth, infrared, near-field communication (NFC), 3G/4G/5G and other mobile communication networks (cellular networks) or other wireless data transmission protocols. The wired communication interface may be an Ethernet device, a DSL modem, a cable modem, an asynchronous transfer mode (ATM) device, or an optical fiber communication interface and/or component. The processing module can periodically poll various peripheral devices and interfaces, so that the computing device can input and output data through various peripheral devices and interfaces, and can also communicate with another computing device having the hardware components described above.
訊號偵測模組110負責透過加速度感測元件101偵測晃度訊號(包含第一晃動訊號與第二晃動訊號)。一般而言,加速度感測元件101設置於執行包含本發明之應用程式的手持裝置100中,訊號偵測模組110可以取得加速度感測元件101在手持裝置100被使用者晃動時所感測到的晃動訊號。其中,使用者可以上下晃動、左右晃動、前後晃動等一種或多種的方式晃動手持裝置100以產生晃動訊號,但使用者晃動手持裝置100的方式並不以上述為限。The
在部分的實施例中,訊號偵測模組110可以判斷加速度感測元件101所感測到之晃動訊號的強度值是否高於預定的門檻值,若是,則訊號偵測模組110可以判斷晃動訊號無效,並可以丟棄(drop)或忽略加速度感測元件101所感測到的晃動訊號;而若晃動訊號的強度值高於門檻值,則訊號偵測模組110可以判斷晃動訊號有效,如此,在選單載入模組110載入第一選單或第二選單後,加速度感測元件101所感測到的晃動訊號即可能作為第一晃動訊號或第二晃動訊號或設定訊號。In some embodiments, the
選單載入模組120負責載入第一選單。選單載入模組110所載入之第一選單並不一定需要被顯示,且第一選單包含本發明之應用程式的一個或多個第一功能選項。本發明所提之第一功能選項可以是包含本發明之應用程式所提供的特定功能或特定操作或特定選項。The
要說明的是,選單載入模組120所載入之第一選單中的每一個第一功能選項都與第一選擇訊號對應。一般而言,一個第一功能選項可以對應一個第一選擇訊號,但本發明沒有特別的限制,也就是說,在本發明中也可能存在兩個或更多第一選擇訊號對應同一第一功能選項。It should be noted that each first function option in the first menu loaded by the
選單載入模組120也負責在訊號判斷模組160判斷訊號偵測模組110所偵測到之第一晃動訊號與特定第一功能選項對應之第一選擇訊號相符時,載入與該第一功能選項相對應的第二選單。The
選單載入模組110所載入之第二選單並不一定需要被顯示,且第二選單可以包含一個或多個第二功能選項。本發明所提之第二功能選項可以是包含本發明之應用程式所提供的特定功能、特定操作、或特定選項,也可以是與包含本發明之應用程式關聯之其他應用程式,或可以是與包含本發明之應用程式關聯之其他應用程式所提供的特定功能。The second menu loaded by the
選單載入模組120所載入之第二選單中的每一個第二功能選項都與第二選擇訊號對應。與第一功能選項相似的,一個第二功能選項通常可以對應一個第二選擇訊號,但本發明沒有特別的限制。Each second function option in the second menu loaded by the
功能設定模組130可以提供設定第一選單所包含的第一功能選項及第二選單所包含的第二功能選項。舉例來說,功能設定模組130可以提供設定介面(圖中未示),使得使用者可以在設定介面中選擇包含本發明所提供的特定功能、特定操作、特定選項、或安裝於手持裝置100上的其他應用程式,並可以在設定介面中輸入設定訊號,及可以建立被選擇的特定功能/特定操作/特定選項/應用程式與被輸入之設定訊號的對應關係,藉以設定第一功能選項與第二功能選項。其中,功能設定模組130可以透過訊號偵測模組110取得加速度感測元件101所偵測到的晃動訊號,並將所取得的晃動訊號作為設定訊號。在部分的實施利中,功能設定模組130所提供的設定介面也可以讓使用者設定各個第一或第二功能選項的類型,其中,功能設定模組130可以提供下拉式選單及/或提供使用者自行輸入等方式讓使用者設定各個第一/第二功能選項的類型,但本發明並不以此為限。The
功能設定模組130也可以依據各個第一功能選項/各個第二功能選項被功能執行模組170執行的頻率及/或次數調整相對應的第一選擇訊號/第二選擇訊號,使得晃動次數較少的第一選擇訊號/第二選擇訊號與被執行之頻率較高的第一功能選項/第二功能選項對應。The
選單產生模組140可以定義包含本發明之應用程式的所有功能/操作/選項之類型。舉例來說,選單產生模組140可以取得(如偵測或讀取)各個功能/操作/選項在應用程式中的名稱及其父階層或上層位階的名稱,並可以將所取得之父階層或上層位階名稱分別定義為各個功能/操作/選項的類型;選單產生模組140也可以依據各個功能/操作/選項的實際功能定義各個功能選項的類型,例如,將實際為查詢之功能/操作/選項的類型都定義為查詢、將接收資料或掃描資料或輸入資料之功能/操作/選項的類型都定義為資料取得、將付款或金錢轉出之功能/操作/選項的類型都定義為支付等;選單產生模組140也可以依據各個功能/操作/選項的關聯性定義各個功能/操作/選項的類型,例如,將帳務查詢、轉帳、畫面擷取、開啟外部通訊軟體之功能/操作/選項的類型都定義為轉帳。The
選單產生模組140也可以依據包含本發明之應用程式的所有功能/操作/選項之類型產生第一選單所包含的一個或多個第一功能選項。舉例來說,選單產生模組140可以將所有定義出的類型做為第一選單的第一功能選項,每一個第一功能選項所對應之第二選單的第二功能選項則是相同類型的功能/操作/選項。The
訊號判斷模組160負責讀取與第一選單所包含之第一功能選項對應的第一選擇訊號,也負責讀取與第二選單所包含之第二功能選項對應的第二選擇訊號。The
訊號判斷模組160也負責判斷訊號偵測模組110所測到的第一晃動訊號是否與所載入之任何一個第一選擇訊號相符,也負責判斷訊號偵測模組110所測到的第二晃動訊號是否與所載入之任何一個第二選擇訊號相符。一般而言,訊號判斷模組160可以依據第一晃動訊號與第一選擇訊號(或第二晃動訊號與第二選擇訊號)之波形或特徵等訊息的相似度判斷兩者是相符,但本發明並不以此為限。The
功能執行模組170負責在訊號判斷模組160判斷第二晃動訊號與某個第二選擇訊號相符時,執行與該第二選擇訊號對應之第二功能選項相對應的目標功能。The
功能執行模組170也可以在訊號判斷模組160判斷第一晃動訊號與某個第一選擇訊號相符時,直接執行與該第一選擇訊號對應之第一功能選項相對應的目標功能,或依據與該第一選擇訊號對應之第一功能選項的類型選擇執行與該第一選擇訊號對應之第一功能選項相對應的目標功能。When the
接著以第一實施例來解說本發明的運作系統與方法,並請參照「第2圖」本發明所提之偵測晃動訊號以執行對應功能之方法流程圖。在本實施例中,假設手持裝置100為智慧型手機,但本發明並不以此為限。Next, the operating system and method of the present invention are explained with reference to the first embodiment, and please refer to the flowchart of the method of detecting the shaking signal to execute the corresponding function proposed in the present invention in "Figure 2". In this embodiment, it is assumed that the handheld device 100 is a smart phone, but the present invention is not limited to this.
在使用者操作手持裝置100執行包含本發明的應用程式後,選單載入模組120可以載入第一選單(步驟220)。在本實施例中,假設應用程式為銀行所提供的行動銀行APP,選單載入模組120可以在使用者登入應用程式而顯示出行動銀行的首頁後載入第一選單,其中,第一選單可以是使用者透過功能設定模組130所設定。After the user operates the handheld device 100 to execute the application program including the present invention, the
在選單載入模組120載入第一選單(步驟220)後,訊號偵測模組110可以偵測第一晃動訊號(步驟230)。在本實施例中,假設訊號偵測模組110可以先判斷加速度感測元件101所偵測到的晃動訊號的強度值是否大於門檻值,若否,則訊號偵測模組110可以丟棄或忽略加速度感測元件101所偵測到的晃動訊號;而若晃動訊號的強度值大於門檻值,則訊號偵測模組110可以將晃動訊號作為第一晃動訊號。After the
在訊號偵測模組110偵測到第一晃動訊號(步驟230)後,訊號判斷模組160可以判斷第一晃動訊號與選單載入模組120所載入之第一選單中之任何一個第一功能選項相對應的第一選擇訊號是否相符(步驟240)。在本實施例中,假設第一選單只包含一個第一功能選項,例如顯示付款條碼,若與該第一功能選項對應之第一選擇訊號有兩個,分別表示上下晃動手持裝置100及左右晃動手持裝置100,若第一晃動訊號是訊號偵測模組110透過加速度感測元件101偵測到使用者上下晃動手持裝置100或左右晃動手持裝置100而被產生,則訊號判斷模組160可以判斷第一晃動訊號與第一選擇訊號相符。After the
在訊號判斷模組160判斷訊號偵測模組110所偵測到之第一晃動訊號與選單載入模組120所載入之第一選單中之任何一個第一功能選項相對應的第一選擇訊號是否相符(步驟240)後,若第一晃動訊號與第一選擇訊號不相符,則功能執行模組170可以不執行應用程式中的任何功能;而若訊號判斷模組160判斷第一晃動訊號與第一選擇訊號相符,則功能執行模組170可以執行與第一選擇訊號對應之第一功能選項所對應的目標功能(步驟250)。在本實施例中,功能執行模組170可以提示使用者確認是否執行條碼付款之目標功能,若否,則功能執行模組170可以不執行目標功能;而若使用者確認執行目標功能,則功能執行模組170可以執行產生並顯示付款條碼的功能,使得使用者可以提供條碼給商家以進行付款作業。After the
繼續以第二實施例來解說本發明的運作系統與方法,並請同樣參照「第2圖」本發明所提之方法流程圖。在本實施例中,同樣假設手持裝置100為智慧型手機。The operating system and method of the present invention are explained with the second embodiment, and please also refer to the method flow chart of the present invention in "FIG. 2". In this embodiment, it is also assumed that the handheld device 100 is a smart phone.
在使用者操作手持裝置100執行包含本發明的應用程式後,選單載入模組120可以載入第一選單(步驟220)。在本實施例中,假設第一選單包含表示帳務項目與支付項目等項目的第一功能選項,且與表示帳務項目及支付項目之第一功能選項對應的第一選擇訊號分別為上下晃動手持裝置100與左右晃動手持裝置100,且帳務項目與支付項目可以是應用程式之主畫面中的選項。After the user operates the handheld device 100 to execute the application program including the present invention, the
在選單載入模組120載入第一選單(步驟220)後,訊號偵測模組110可以偵測第一晃動訊號(步驟230),訊號判斷模組160可以判斷第一晃動訊號與第一選單中之任何一個第一功能選項相對應的第一選擇訊號是否相符(步驟240)。在本實施例中,假設使用者在應用程式顯示首頁後,上下搖動手持裝置100,使得訊號偵測模組110可以偵測到表示上下晃動的第一晃動訊號,訊號判斷模組160在比對與表示帳務項目之第一功能選項對應的第一選擇訊號與被訊號偵測模組110所偵測到之第一晃動訊號時,由於表示帳務項目之第一功能選項的第一選擇訊號表示上下晃動,與表示左右晃動的第一晃動訊號不同,因此,訊號判斷模組160可以判斷兩者不相符,並可以繼續比對與表示支付項目之第一功能選項的第一選擇訊號與被偵測到之第一晃動訊號,由於表示支付項目之第一功能選項的第一選擇訊號表示左右晃動,與第一晃動訊號相同,因此,訊號判斷模組160可以判斷第一選擇訊號與第一晃動訊號相符。After the
在訊號判斷模組160判斷訊號偵測模組110所偵測到之第一晃動訊號與選單載入模組120所載入之第一選單中之任何一個第一功能選項相對應的第一選擇訊號是否相符(步驟240)後,若訊號判斷模組160判斷第一晃動訊號與第一選擇訊號相符,則功能執行模組150可以執行與第一晃動訊號相符之第一選擇訊號所對應之第一功能選項(步驟250),且選單載入模組120可以判斷與第一晃動訊號相符之第一選擇訊號所對應之第一功能選項是否存在相對應的第二選單,若否,選單載入模組120可以不執行;而若存在與第一功能選項對應的第二選單,則選單載入模組120可以載入被對應的第二選單(步驟270)。在本實施例中,功能執行模組150可以執行支付項目的功能,也就是如「第3A圖」所示,在應與程式中開啟及/或顯示支付功能的畫面,選單載入模組120可以載入與支付項目對應的第二選單,其中,第二選單包含表示掃碼付款、條碼付款、條碼收款等功能的第二功能選項,且與表示掃碼付款、條碼付款、條碼收款之第二功能選項對應的第二選擇訊號分別為左右晃動手持裝置100兩次、上下晃動手持裝置100兩次、上下晃動與左右晃動手持裝置100各一次。After the
在選單載入模組120載入第二選單(步驟270)後,訊號偵測模組110可以偵測第二晃動訊號(步驟280),訊號判斷模組160可以判斷第二晃動訊號與第二選單中之任何一個第二功能選項相對應的第二選擇訊號是否相符,訊號判斷模組160並可以在判斷存在與某個第二功能選項對應之第二選擇訊號與第二晃動訊號相符時執行與該第二功能選項對應的目標功能(步驟290)。在本實施例中,假設使用者在應用程式顯示支付功能的畫面後,上下搖動持續手持裝置100,使得訊號偵測模組110可以偵測到表示持續上下晃動的第二晃動訊號,訊號判斷模組160在比對與表示掃碼付款、條碼付款、條碼收款之第二功能選項對應的第二選擇訊號與被訊號偵測模組110所偵測到之第二晃動訊號後,可以判斷第二晃動訊號與表示條碼付款之第二功能選項所對應的第二選擇訊號相符,功能執行模組170可以執行與第二選擇訊號對應之第二功能選項所對應的目標功能(步驟290)。在本實施例中,功能執行模組170可以如「第3B圖」所示,提示使用者確認是否執行條碼付款之目標功能,若使用者確認執行目標功能,則功能執行模組170可以執行產生並顯示付款條碼的功能,使得使用者可以提供條碼給商家以進行付款作業。After the
另外,上述第一與第二實施例中,功能設定模組130也可以提供設定與第一功能選項及第二功能選項對應的第一選擇訊號與第二選擇訊號。例如,使用者可以在「第3A圖」中點選齒輪形狀的設定選項,功能設定模組130可以提供設定介面給使用者設定與第一功能選項及第二功能選項對應的第一選擇訊號與第二選擇訊號,甚至也可以提供設定第一選單中的第一功能選項與第二選單中的第二功能選項。In addition, in the first and second embodiments, the
事實上,在上述第一與第二實施例中,在選單載入模組120載入第一選單(步驟220)前,選單產生模組140可以先依據包含本發明之應用程式的各個功能/操作/選項的關聯性定義各個功能/操作/選項的類型,例如,選單載入模組120可以依據當前使用者的操作記錄或依據同一應用程式之所有使用者的操作記錄,判斷轉帳功能前後可能被選擇的功能、操作、選項,例如帳務查詢、轉帳、畫面擷取、開啟外部通訊軟體等,並將所判斷出之功能、操作、或選項的類型都定義為轉帳,並產生包含轉帳項目之第一功能選項的第一選單,及產生包含帳務查詢、轉帳、畫面擷取、開啟外部通訊軟體等第二功能項目的第二選單。In fact, in the first and second embodiments, before the
綜上所述,可知本發明與先前技術之間的差異在於具有判斷所偵測到之第一晃動訊號與第一選單中之第一功能選項所對應之第一選擇訊號相符時,執行與第一功能選項對應的目標功能或載入與第一功能選項對應之第二選單,並判斷所偵測到之第二晃動訊號與第二選單中之第二功能選項所對應之第二選擇訊號相符時,執行與第二功能選項對應之目標功能之技術手段,藉由此一技術手段可以來解決先前技術所存在使用者需要在使用者介面尋找才能執行特定功能可能造成不便與危險的問題,進而達成不需觀看螢幕所顯示之使用者介面也能操作應用程式執行目標功能的技術功效。In summary, it can be seen that the difference between the present invention and the prior art lies in that when it is determined that the detected first shaking signal matches the first selection signal corresponding to the first function option in the first menu, the target function corresponding to the first function option is executed or the second menu corresponding to the first function option is loaded, and when it is determined that the detected second shaking signal matches the second selection signal corresponding to the second function option in the second menu, the target function corresponding to the second function option is executed. This technical means can solve the problem of the prior art that the user needs to search in the user interface to execute a specific function, which may cause inconvenience and danger, thereby achieving the technical effect of operating the application to execute the target function without viewing the user interface displayed on the screen.
再者,本發明之偵測晃動訊號以執行對應功能之方法,可實現於硬體、軟體或硬體與軟體之組合中,亦可在電腦系統中以集中方式實現或以不同元件散佈於若干互連之電腦系統的分散方式實現。Furthermore, the method of detecting a shaking signal to execute a corresponding function of the present invention can be implemented in hardware, software, or a combination of hardware and software, and can also be implemented in a centralized manner in a computer system or in a distributed manner with different components distributed in a number of interconnected computer systems.
雖然本發明所揭露之實施方式如上,惟所述之內容並非用以直接限定本發明之專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露之精神和範圍的前提下,對本發明之實施的形式上及細節上作些許之更動潤飾,均屬於本發明之專利保護範圍。本發明之專利保護範圍,仍須以所附之申請專利範圍所界定者為準。Although the implementation methods disclosed in the present invention are as above, the contents described are not intended to directly limit the scope of patent protection of the present invention. Any person with common knowledge in the technical field to which the present invention belongs, without departing from the spirit and scope disclosed by the present invention, makes slight changes and modifications to the implementation of the present invention in form and details, which are all within the scope of patent protection of the present invention. The scope of patent protection of the present invention shall still be based on the scope defined in the attached patent application.
100:手持裝置 101:加速度感測元件 110:訊號偵測模組 120:選單載入模組 130:功能設定模組 140:選單產生模組 160:訊號判斷模組 170:功能執行模組 步驟220:載入第一選單,第一選單包含第一功能選項,第一功能選項對應第一選擇訊號 步驟230:偵測第一晃動訊號 步驟240:判斷第一晃動訊號與第一選擇訊號是否相符 步驟250:執行與第一功能選項對應目標功能 步驟270:判斷第一功能選項對應第二選單時,載入第二選單,第二選單包含第二功能選項,第二功能選項對應第二選擇訊號 步驟280:偵測第二晃動訊號 步驟290:判斷第二晃動訊號與第二選擇訊號相符時,執行與第二功能選項對應之目標功能 100: Handheld device 101: Acceleration sensor 110: Signal detection module 120: Menu loading module 130: Function setting module 140: Menu generation module 160: Signal judgment module 170: Function execution module Step 220: Load a first menu, the first menu includes a first function option, and the first function option corresponds to a first selection signal Step 230: Detect a first shaking signal Step 240: Determine whether the first shaking signal matches the first selection signal Step 250: Execute the target function corresponding to the first function option Step 270: When it is determined that the first function option corresponds to the second menu, the second menu is loaded, the second menu includes the second function option, and the second function option corresponds to the second selection signal Step 280: Detect the second shaking signal Step 290: When it is determined that the second shaking signal matches the second selection signal, the target function corresponding to the second function option is executed
第1圖為本發明所提之偵測晃動訊號以執行對應功能之系統架構圖。 第2圖為本發明所提之偵測晃動訊號以執行對應功能之方法流程圖。 第3A圖為本發明實施例所提之顯示畫面示意圖。 第3B圖為本發明實施例所提之提示畫面示意圖。 FIG. 1 is a system architecture diagram of detecting a shaking signal to execute a corresponding function according to the present invention. FIG. 2 is a flow chart of a method for detecting a shaking signal to execute a corresponding function according to the present invention. FIG. 3A is a schematic diagram of a display screen according to an embodiment of the present invention. FIG. 3B is a schematic diagram of a prompt screen according to an embodiment of the present invention.
步驟220:載入第一選單,第一選單包含第一功能選項,第一功能選項對應第一選擇訊號 Step 220: Load the first menu, the first menu includes a first function option, and the first function option corresponds to the first selection signal
步驟230:偵測第一晃動訊號 Step 230: Detect the first shaking signal
步驟240:判斷第一晃動訊號與第一選擇訊號是否相符 Step 240: Determine whether the first shaking signal matches the first selection signal
步驟250:執行與第一功能選項對應目標功能 Step 250: Execute the target function corresponding to the first function option
步驟270:判斷第一功能選項對應第二選單時,載入第二選單,第二選單包含第二功能選項,第二功能選項對應第二選擇訊號 Step 270: When it is determined that the first function option corresponds to the second menu, the second menu is loaded, the second menu includes the second function option, and the second function option corresponds to the second selection signal
步驟280:偵測第二晃動訊號 Step 280: Detect the second shaking signal
步驟290:判斷第二晃動訊號與第二選擇訊號相符時,執行與第二功能選項對應之目標功能 Step 290: When it is determined that the second shaking signal matches the second selection signal, the target function corresponding to the second function option is executed.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111101077A TWI843041B (en) | 2022-01-11 | 2022-01-11 | System for detecting shaking signals to perform corresponding function and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111101077A TWI843041B (en) | 2022-01-11 | 2022-01-11 | System for detecting shaking signals to perform corresponding function and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202328911A TW202328911A (en) | 2023-07-16 |
TWI843041B true TWI843041B (en) | 2024-05-21 |
Family
ID=88147474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW111101077A TWI843041B (en) | 2022-01-11 | 2022-01-11 | System for detecting shaking signals to perform corresponding function and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI843041B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201445443A (en) * | 2013-05-22 | 2014-12-01 | Evermore Technology Inc | Establishing platform for if-this-than-that rule based application program used in mobile communication device |
WO2021185244A1 (en) * | 2020-03-18 | 2021-09-23 | 华为技术有限公司 | Device interaction method and electronic device |
-
2022
- 2022-01-11 TW TW111101077A patent/TWI843041B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201445443A (en) * | 2013-05-22 | 2014-12-01 | Evermore Technology Inc | Establishing platform for if-this-than-that rule based application program used in mobile communication device |
WO2021185244A1 (en) * | 2020-03-18 | 2021-09-23 | 华为技术有限公司 | Device interaction method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
TW202328911A (en) | 2023-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9904409B2 (en) | Touch input processing method that adjusts touch sensitivity based on the state of a touch object and electronic device for supporting the same | |
AU2018257221B2 (en) | Service processing method and device | |
US20090160800A1 (en) | Touch pad, method of operating the same, and notebook computer with the same | |
US20150177945A1 (en) | Adapting interface based on usage context | |
US11747933B2 (en) | Screen output method using external device and electronic device for supporting the same | |
US20110291948A1 (en) | Systems and Methods for Determining Intentional Touch Screen Contact | |
KR102370678B1 (en) | Method and Apparatus for Controlling A Touch Sensing Module of Electronic Device, Method and Apparatus for Operating A Touch Sensing Module of Electronic Device | |
US11249578B2 (en) | Electronic device and method for changing condition for determining touch input to be pressure input | |
CN108475136B (en) | Fingerprint identification method and electronic equipment | |
US11095331B2 (en) | Electronic device, protective case for electronic device, and displaying method thereof | |
US9098196B2 (en) | Touch system inadvertent input elimination | |
US12013964B2 (en) | Method for determining data tampering and electronic device for supporting the same | |
TWI843041B (en) | System for detecting shaking signals to perform corresponding function and method thereof | |
US20240094795A1 (en) | Computing system power-on using circuit | |
TWI502442B (en) | Clamshell electronic device and calibration method thereof | |
TWM628133U (en) | A system that detects shaking signals to perform corresponding functions | |
KR102568550B1 (en) | Electronic device for executing application using handwirting input and method for controlling thereof | |
US11740665B1 (en) | Foldable computer to sense contact of touch-enabled surface with other portion of computer while computer is closed | |
TWM586494U (en) | ID recognition system using network identification data through telecommunication server | |
TWI757925B (en) | System for making two applications run simultaneously by calling input program and method thereof | |
CN108230112A (en) | A kind of internet of things equipment accessory purchasing method, device and computer storage media | |
TWI704796B (en) | System for using network identification to sign in service server via telecommunication server and method thereof | |
TWI780341B (en) | System for using network identification to identify via telecommunication server and method thereof | |
TWM606960U (en) | Device through call input program to perform concurrently two applications | |
KR20140111942A (en) | Electronic device, method and computer readable recording medium for stack analysis for dynamic librarie attack prevention |