TW201516844A - Apparatus and method for selecting object - Google Patents
Apparatus and method for selecting object Download PDFInfo
- Publication number
- TW201516844A TW201516844A TW103123569A TW103123569A TW201516844A TW 201516844 A TW201516844 A TW 201516844A TW 103123569 A TW103123569 A TW 103123569A TW 103123569 A TW103123569 A TW 103123569A TW 201516844 A TW201516844 A TW 201516844A
- Authority
- TW
- Taiwan
- Prior art keywords
- touch
- information
- selecting
- selection
- sliding
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
本發明屬於互聯網領域,尤其涉及一種物件選擇的方法和裝置。 The invention belongs to the field of internet, and in particular relates to a method and device for selecting objects.
隨著行動終端設備的廣泛使用,由於使用觸控式螢幕可以更為靈活的佈置方式且可以為使用者提供更大的顯示空間,其在行動終端設備上得到了最為廣泛的應用。 With the wide use of mobile terminal devices, the use of touch screens can be more flexible and can provide users with a larger display space, which is the most widely used in mobile terminal devices.
現有的行動終端設備,由於受到觸控式螢幕尺寸的限制,在對同一操作介面的多個物件進行選擇或者取消選擇時,由於多個物件之間的距離較小,物件的觸摸區域較小,如現有的行動終端設備中使用的QQ遊戲中的鬥地主或者升級等紙牌遊戲,在一個操作介面中需要顯示幾十個紙牌物件,在對多個物件(多張紙牌)的個別物件(部分紙牌)進行選擇或者取消選擇的過程中,需要逐個點擊選擇的物件,容易因為觸摸點的微小誤差而造成選擇錯誤或者很難完成選擇操作,影響選擇的效率,對於行動終端設備來說,也相應的提高了選擇的時間及其耗電量。 In the existing mobile terminal device, due to the limitation of the size of the touch screen, when a plurality of objects of the same operation interface are selected or deselected, since the distance between the plurality of objects is small, the touch area of the object is small. For example, in a QQ game used in an existing mobile terminal device, a card game such as a landlord or an upgrade, in which an operation interface needs to display dozens of card objects, and individual objects (partial cards) on multiple objects (multiple cards) In the process of selecting or deselecting, it is necessary to click on the selected object one by one, which is easy to make a selection error or difficult to complete the selection operation due to a slight error of the touched point, affecting the efficiency of the selection, and correspondingly for the mobile terminal device. Increased the time of selection and its power consumption.
本發明實施例的目的在於提供一種物件選擇的方法,以解決現有技術因為在行動終端設備中由於待選擇的物件較多,物件之間的距離較小,在選擇過程中容易出現誤差或者很難選擇到對應的物件,從而造成 選擇效率低下的問題。 The object of the embodiments of the present invention is to provide a method for selecting an object to solve the prior art. Because there are many objects to be selected in the mobile terminal device, the distance between the objects is small, and errors or errors are easy to occur in the selection process. Select the corresponding object, resulting in Choose an inefficient problem.
為達上述優點或其他優點,本發明提供了一種物件選擇的方法,所述方法包括:接收位於操作介面內的第一滑動的觸摸指令,獲取所述第一滑動的觸摸指令對應的滑動路徑資訊;根據預設的待選擇的物件和位置資訊的對應關係,查找所述第一滑動的觸摸指令所對應的物件;以及獲取所述查找的物件的選擇狀態資訊並改變所述查找的物件的選擇狀態資訊。 In order to achieve the above advantages or other advantages, the present invention provides a method for selecting an object, the method comprising: receiving a first sliding touch instruction located in an operation interface, and acquiring a sliding path information corresponding to the first sliding touch instruction. Searching for an object corresponding to the first sliding touch instruction according to a preset correspondence between the object to be selected and the location information; and acquiring selection state information of the found object and changing the selection of the found object Status information.
本發明另提供一種物件選擇的方法,包括:接收位於待選擇物件所在區域以外的第一區域的第一單擊的觸摸指令,獲取所述單擊的觸摸指令位置資訊;根據預設的待選擇的物件與位置資訊的對應關係,查找第一單擊的觸摸指令所對應的物件;以及獲取所述查找的物件的選擇狀態資訊並改變所述查找的物件的選擇狀態資訊。 The present invention further provides a method for selecting an object, comprising: receiving a first click touch instruction of a first area located outside the area where the object to be selected is located, acquiring the touch command position information of the click; and selecting according to a preset Corresponding relationship between the object and the location information, searching for the object corresponding to the touch command of the first click; and obtaining the selection state information of the found object and changing the selection state information of the found object.
本發明另提供了一種物件選擇的裝置,包括:第一接收獲取單元,用於接收位於操作介面內的第一滑動的觸摸指令,獲取所述第一滑動的觸摸指令對應的滑動路徑資訊;第一查找單元,用於根據預設的待選擇的物件和位置資訊的對應關係,查找所述第一滑動的觸摸指令所對應的物件;以及第一獲取改變單元,用於獲取所述查找的物件的選擇狀態資訊並改變所述查找的物件的選擇狀態資訊。 The present invention further provides an apparatus for selecting an object, comprising: a first receiving and acquiring unit, configured to receive a first sliding touch instruction located in the operation interface, and acquire a sliding path information corresponding to the first sliding touch instruction; a search unit, configured to search for an object corresponding to the first sliding touch instruction according to a preset correspondence between the object to be selected and the location information, and a first acquisition change unit, configured to acquire the searched object Selecting status information and changing the selection status information of the found object.
本發明另提供一種物件選擇的裝置,包括:第二接收獲取單元,用於接收位於待選擇物件所在區域以外的第一區域的第一單擊的觸摸指令,獲取所述單擊的觸摸指令位置資訊; 第二查找單元,用於根據預設的待選擇的物件與位置資訊的對應關係,查找第一單擊的觸摸指令所對應的物件;以及第二獲取改變單元,用於獲取所述查找的物件的選擇狀態資訊並改變所述查找的物件的選擇狀態資訊。 The present invention further provides an apparatus for selecting an object, comprising: a second receiving and acquiring unit, configured to receive a first click touch instruction of the first area located outside the area where the object to be selected is located, and acquire the touch command position of the click News; a second search unit, configured to search for an object corresponding to the touch command of the first click according to a preset correspondence between the object to be selected and the location information, and a second acquisition change unit, configured to acquire the object to be searched Selecting status information and changing the selection status information of the found object.
本發明另提供了一種終端設備,包括上述任一項所述的物件選擇的裝置。 The present invention further provides a terminal device comprising the device for selecting an object according to any of the above.
本發明藉由接收位於操作介面的觸摸指令,通過將需要選擇的物件和操作介面中的觸摸位置相對應,能夠有效的查找到觸摸指令的觸摸位置所對應的物件,並對查找的物件的狀態資訊進行變換,完成物件的選擇。和現有的物件選擇方式相比,由於觸摸指令的觸摸位置與對應的對應關係,本發明能夠在更大區域進行選擇操作,從而減少操作誤差,更好的提高了選擇的效率,相應的減少了行動終端完成選擇操作時所耗費的電量。 By receiving a touch instruction located on the operation interface, the present invention can effectively find the object corresponding to the touch position of the touch instruction by correspondingly selecting the touched position in the object to be selected and the operation interface, and the state of the object to be searched. The information is transformed to complete the selection of the object. Compared with the existing object selection mode, the present invention can perform a selection operation in a larger area due to the touch position of the touch instruction and the corresponding correspondence relationship, thereby reducing the operation error, improving the selection efficiency, and correspondingly reducing the efficiency. The amount of power consumed by the mobile terminal to complete the selection operation.
S101~S103、S201~S203、S301~S305、S401~S405‧‧‧物件選擇的方法步驟 S101~S103, S201~S203, S301~S305, S401~S405‧‧‧ Method steps for object selection
501‧‧‧第一接收獲取單元 501‧‧‧First Receive Acquisition Unit
502‧‧‧第一查找單元 502‧‧‧First search unit
5021‧‧‧確定子單元 5021‧‧‧Determining subunits
5022‧‧‧獲取子單元 5022‧‧‧Get subunit
503‧‧‧第一獲取改變單元 503‧‧‧First acquisition change unit
504‧‧‧第二接收獲取單元 504‧‧‧second receiving acquisition unit
505‧‧‧第二查找單元 505‧‧‧Second search unit
506‧‧‧第二獲取改變單元 506‧‧‧Second acquisition change unit
507‧‧‧接收判斷單元 507‧‧‧Receipt judgment unit
508‧‧‧執行單元 508‧‧‧ execution unit
600‧‧‧手機 600‧‧‧Mobile phones
610‧‧‧電路 610‧‧‧ Circuitry
620‧‧‧記憶體 620‧‧‧ memory
630‧‧‧輸入單元 630‧‧‧ input unit
631‧‧‧觸控面板 631‧‧‧Touch panel
632‧‧‧其他輸入裝置 632‧‧‧Other input devices
640‧‧‧顯示單元 640‧‧‧ display unit
641‧‧‧顯示面板 641‧‧‧ display panel
650‧‧‧感測器 650‧‧‧ sensor
660‧‧‧音訊電路 660‧‧‧ audio circuit
661‧‧‧揚聲器 661‧‧‧Speaker
662‧‧‧傳聲器 662‧‧‧Microphone
670‧‧‧無線保真(WiFi)模組 670‧‧‧Wireless Fidelity (WiFi) Module
680‧‧‧處理器 680‧‧‧ processor
690‧‧‧電源 690‧‧‧Power supply
圖1是根據本發明之一實施例所提供的物件選擇的方法的流程圖;圖1a為根據本發明之一實施例所提供的在遊戲應用中物件與觸摸指令對應的效果示意圖;圖2是根據本發明之另一實施例所提供的物件選擇的方法的實現流程圖;圖2a是根據本發明之另一實施例所提供的在遊戲應用中通過滑動選擇物件的效果示意圖;圖3是根據本發明之再一實施例所提供的物件選擇的方法的實現流程圖;圖3a是根據本發明之再一實施例所提供的在第一區域通過點擊選擇物 件的效果示意圖;圖3b是根據本發明之再一實施例所提供的在第二區域通過滑動選擇物件的效果示意圖;圖4是根據本發明之又一實施例所提供的物件選擇的方法的實現流程圖;圖5a是根據本發明之再另一實施例所提供的物件選擇的裝置的結構示意圖;圖5b是根據本發明之再另一之實施例所提供的物件選擇的裝置的結構示意圖;圖6是根據本發明之再又一實施例所提供的終端相關的手機的部分結構的方塊圖。 1 is a flow chart of a method for selecting an object according to an embodiment of the present invention; FIG. 1a is a schematic diagram showing an effect of an object corresponding to a touch instruction in a game application according to an embodiment of the present invention; A flowchart for implementing an object selection method according to another embodiment of the present invention; FIG. 2a is a schematic diagram showing an effect of selecting an object by sliding in a game application according to another embodiment of the present invention; A flowchart for implementing a method for object selection according to still another embodiment of the present invention; FIG. 3a is a view of selecting a first region by clicking on a selection according to another embodiment of the present invention; FIG. 3b is a schematic diagram showing the effect of selecting an object by sliding in a second region according to still another embodiment of the present invention; FIG. 4 is a method for selecting an object according to still another embodiment of the present invention. FIG. 5a is a schematic structural view of an apparatus for selecting an object according to still another embodiment of the present invention; FIG. 5b is a schematic structural view of an apparatus for selecting an object according to still another embodiment of the present invention; FIG. 6 is a block diagram showing a partial structure of a terminal-related mobile phone according to still another embodiment of the present invention.
為了使本發明的目的、技術方案及優點更加清楚明白,以下結合附圖及實施例,對本發明進行進一步詳細說明。應當理解,此處所描述的具體實施例僅僅用以解釋本發明,並不用於限定本發明。 The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
在本發明實施例可用於各種用於觸控式螢幕使用的應用軟體或者程式當中,尤其適用於小螢幕的行動終端設備中之需要選擇物件的應用,小螢幕的行動終端設備如智慧手機、PAD等,需要選擇對應的應用可以為各種紙牌遊戲、棋類遊戲等物件較多的遊戲應用。根據本發明之一實施例所提供的物件選擇的方法包括:接收位於操作介面內的第一滑動的觸摸指令,獲取所述第一滑動的觸摸指令對應的滑動路徑資訊;根據預設的待選擇的物件和位置資訊的對應關係,查找所述第一滑動的觸摸指令所對應的物件;以及獲取所述查找的物件的選擇狀態資訊並改變所述查找的物件的選擇狀態資訊。由於觸摸指令的觸摸位置與待選擇的物件的對應關 係,使得本發明能夠在更大區域進行選擇操作,從而減少操作誤差,更好的提高了選擇的效率,相應的減少了行動終端設備於完成選擇操作時所耗費的電量。 The embodiment of the present invention can be used in various application softwares or programs for touch screen use, and is particularly suitable for applications requiring selection of objects in small screen mobile terminal devices, and small screen mobile terminal devices such as smart phones and PADs. Etc., the corresponding application needs to be selected for various game applications such as card games, board games, and the like. The method for selecting an object according to an embodiment of the present invention includes: receiving a first sliding touch instruction located in the operation interface, acquiring the sliding path information corresponding to the first sliding touch instruction; Corresponding relationship between the object and the location information, searching for an object corresponding to the first sliding touch instruction; and acquiring selection state information of the found object and changing selection state information of the found object. Due to the touch position of the touch command and the corresponding relationship of the object to be selected Therefore, the present invention enables the selection operation to be performed in a larger area, thereby reducing the operation error, improving the efficiency of the selection, and correspondingly reducing the amount of power consumed by the mobile terminal device when the selection operation is completed.
圖1繪示出了根據本發明之一實施例所提供的物件選擇的方法的實現流程,步驟S101~步驟S103分別詳述如下。 FIG. 1 is a flowchart showing an implementation of a method for selecting an object according to an embodiment of the present invention. Steps S101 to S103 are respectively described in detail below.
在步驟S101中,接收位於操作介面內的第一滑動的觸摸指令,獲取所述第一滑動的觸摸指令對應的滑動路徑資訊。具體的,當所述方法對應的系統處於運行狀態時,接收所述第一滑動的觸摸指令,即所述方法對應的系統中包括多個需要選擇的物件,物件與物件之間本身的距離非常小,而所述觸摸指令可位於用於操作介面內,其可接收觸摸指令的區域空間更大。其中所述操作介面,是指除特殊功能按鍵除外的其它非特殊功能指令所對應的區域。所述獲取第一觸摸指令對應的位置資訊,可以由系統的觸摸指令監測指令進行監測獲取,如對於iPhone設備,既可以通過使用UITouches對觸點座標進行運算來實現,也可以通過蘋果公司提供的iPhone開發套件iPhone SDK提供的UIGestureRecognizer(使用者介面手勢識別)來實現;對於Andoid設備,可以使用MotionEvent物件來實現,具體如下。 In step S101, a first sliding touch instruction located in the operation interface is received, and the sliding path information corresponding to the first sliding touch instruction is acquired. Specifically, when the system corresponding to the method is in an operating state, receiving the touch instruction of the first sliding, that is, the system corresponding to the method includes a plurality of objects that need to be selected, and the distance between the object and the object is very Small, and the touch command can be located within the operating interface, which has a larger area of space for receiving touch commands. The operation interface refers to an area corresponding to other non-special function commands except the special function keys. The obtaining the location information corresponding to the first touch instruction may be monitored and acquired by the touch instruction monitoring instruction of the system, for example, for the iPhone device, the UI coordinates may be used to calculate the contact coordinates, or may be provided by an Apple company. The UIGestureRecognizer (user interface gesture recognition) provided by the iPhone SDK of the iPhone development kit is implemented; for the Andoid device, it can be implemented using the MotionEvent object, as follows.
使用UITouches實現,情況如下:接收作業系統捕獲的UITouches事件,具體有以下4種:(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;手指接觸觸控式螢幕時會觸發本事件,這裡會確定劃動動作的起始點。 Using UITouches, the situation is as follows: Receive UITouches events captured by the operating system, specifically the following four types: (void) touchesBegan: (NSSet *) touches withEvent: (UIEvent *) event; this event is triggered when the finger touches the touch screen Here, the starting point of the swipe action is determined.
(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;手指在觸屏上劃動時會觸發本事件。 (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event; This event is fired when a finger swipes over the touchscreen.
(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;手指離開觸控式螢幕時會觸發本事件,這裡會確定劃動動作的終點。 (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; This event is triggered when the finger leaves the touch screen, and the end point of the swipe action is determined here.
(void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event;手指劃出觸控式螢幕時會觸發本事件,這裡會確定劃動動作的終點。 (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event; This event is triggered when the finger is drawn out of the touch screen, and the end point of the swipe action is determined here.
另外,根據event裡觸點集合中元素的個數來判斷是否多點觸摸。判斷為1時認為是單指觸摸,判斷是2時認為是雙指觸摸,會分別觸發本案中不同的處理流程。 In addition, it is determined whether or not the multi-touch is based on the number of elements in the contact set in the event. When it is judged as 1, it is considered to be a single-finger touch, and when it is judged to be 2, it is considered to be a two-finger touch, and the different processing flow in this case is triggered separately.
使用UIGestureRecognizer實現,情況如下:使用UIGestureRecognizer使用者介面手勢識別的派生類UISwipeGesture Recognizer並產生實體為物件,將此物件添加到操作介面上。然後UISwipeGesture Recognizer就會捕捉用戶的劃動手勢,通過對UISwipeGestureRecognizer類型物件中的狀態state值進行解析,會有如下情況:UIGestureRecognizerStateBegan事件,當手指接觸觸控式螢幕並識別為滑動手勢時會觸發本事件;UIGestureRecognizerStateChanged事件,當手指在觸屏上滑動時會觸發本事件;UIGestureRecognizerStateEnded事件,當手指離開觸控式螢幕時會觸發本事件;UIGestureRecognizerStateCancelled事件,當手指滑出觸控式螢幕時會觸發本事件;分別在解析出的每個狀態state值作對應的處理。比如,在UIGesture RecognizerStateBegan裡,會獲取所有觸摸點的位置資訊。 Using the UIGestureRecognizer implementation, the situation is as follows: Use the UIGestureRecognizer user interface gesture recognition derived class UISwipeGesture Recognizer and generate the entity as an object to add this object to the operation interface. The UISwipeGesture Recognizer then captures the user's swipe gesture. By parsing the state state value in the UISwipeGestureRecognizer type object, there is a situation where the UIGestureRecognizerStateBegan event fires this event when the finger touches the touch screen and recognizes it as a swipe gesture. ; UIGestureRecognizerStateChanged event, this event will be triggered when the finger slides on the touch screen; UIGestureRecognizerStateEnded event, this event will be triggered when the finger leaves the touch screen; UIGestureRecognizerStateCancelled event, this event will be triggered when the finger slides out of the touch screen; Corresponding processing is performed on each state state value parsed separately. For example, in UIGesture RecognizerStateBegan, the location information of all touch points is obtained.
在Android上使用MotionEvent實現,情況如下:接收作業系統捕獲的MotionEvent事件,具體有以下4種:MotionEvent.ACTION_DOWN,手指接觸觸控式螢幕時會觸發本事件,這裡會確定劃動動作的起始點。 The use of MotionEvent implementation on Android, the situation is as follows: Receive MotionEvent event captured by the operating system, there are four types: MotionEvent.ACTION_DOWN, this event will be triggered when the finger touches the touch screen, here will determine the starting point of the swipe action .
MotionEvent.ACTION_MOVE,手指在觸屏上劃動時會觸發本事件 MotionEvent.ACTION_MOVE, this event will be triggered when the finger swipes on the touch screen
MotionEvent.ACTION_UP,手指離開觸控式螢幕時會觸發本事件,這裡會確定劃動動作的終點。 MotionEvent.ACTION_UP This event is triggered when the finger leaves the touch screen, and the end point of the swipe action is determined here.
MotionEvent.ACTION_CANCEL,手指離開觸控式螢幕時會觸發本事件,這裡會確定劃動動作的終點。 MotionEvent.ACTION_CANCEL This event is triggered when the finger leaves the touch screen, and the end point of the swipe action is determined here.
另外,會調用MotionEvent類中的getPointerCount()函數來獲取事件中的觸點個數,具體情況與UITouches實現類似。 In addition, the getPointerCount() function in the MotionEvent class is called to get the number of contacts in the event, similar to the UITouches implementation.
在步驟S102中,根據預設的待選擇的物件和位置資訊的對應關係,查找所述第一滑動的觸摸指令所對應的物件。具體的,所述操作介面中包括多個物件,所述物件可以是,例如圖示、清單、文字、圖片等。在操作介面中的物件所佔據的面積一般遠小於操作介面的面積,因此,對於所佔據的面積較小的物件進行選擇時,能夠通過操作介面中的大面積的觸摸區域對應,提高對需要選擇的物件進行有效觸發的正確率。其中,作為本發明實施例中的可選的更為具體的對應關係,詳細介紹如下,本領域一般技術人員應該明白,這種對應關係僅為其中一種較優的方式,其它的與滑動的觸摸指令對應關係不局限於下述方式:根據所述第一滑動的觸摸指令的滑動路徑資訊中的起點位置和終點位置,確定所述第一滑動的觸摸指令對應的座標區間;以及根據預設的待選擇的物件和位置資訊的對應關係,獲取所述物件的座標位於所述第一滑動的觸摸指令對應的座標區間內的物件。 In step S102, the object corresponding to the first sliding touch command is searched according to the preset correspondence between the object to be selected and the position information. Specifically, the operation interface includes a plurality of objects, and the objects may be, for example, a graphic, a list, a text, a picture, and the like. The area occupied by the object in the operation interface is generally much smaller than the area of the operation interface. Therefore, when selecting an object occupying a small area, it is possible to improve the selection of the touch area by operating a large area of the touch area in the interface. The correct rate of effective triggering of the object. The more specific correspondences in the embodiments of the present invention are described in detail below. Those skilled in the art should understand that the corresponding relationship is only one of the better modes, and other sliding touches. The command correspondence is not limited to: determining a coordinate interval corresponding to the first sliding touch instruction according to a starting position and an ending position in the sliding path information of the first sliding touch instruction; and determining according to the preset Corresponding relationship between the object to be selected and the location information, the object whose coordinates are located in the coordinate interval corresponding to the first sliding touch command is obtained.
其中,所述座標區間為一維的橫坐標區間或縱坐標區間。下面詳細舉例示意如下:如圖1a所示,滑動的觸摸指令的起點座標為(X2、Y2),終點座標為(X3、Y3),那麼其一維座標區間,即橫坐標構成的座標區間為(X2、X3),判斷物件的橫坐標值是否處於(X2、X3)這個區間,如果是,則所述物件符合查找要求。 Wherein, the coordinate interval is a one-dimensional horizontal coordinate interval or vertical coordinate interval. The following is a detailed example as follows: As shown in Figure 1a, the starting coordinate of the sliding touch command is (X2, Y2), and the end coordinate is (X3, Y3), then the one-dimensional coordinate interval, that is, the coordinate interval formed by the abscissa is (X2, X3), determine whether the horizontal coordinate value of the object is in the interval (X2, X3), and if so, the object meets the search requirement.
在步驟S103中,獲取所述查找的物件的選擇狀態資訊並改變所述查找的物件的選擇狀態資訊。獲取所述查找的物件的選擇狀態資訊,有可能全部處於未選擇狀態、或者部分選擇狀態,也可能全部處於選擇狀態。當所述觸摸指令所查找的物件的當前狀態全部處於未選擇狀態時,通過所述觸摸指令後,將所述觸摸指令所查找的物件全部改變為選擇狀態。當部分物件處於選擇狀態時,通過所述觸摸指令後,將所述觸摸指令所查找的處於選擇狀態的物件調整為未選擇狀態,將所述觸摸指令所查找的處於未選擇狀態的物件調整為選擇狀態。相應的,當所述觸摸指令所查找的物件的當前狀態全部處於選擇狀態時,通過所述觸摸指令後,將所述觸摸指令所查找的物件全部改變為未選擇狀態,即取消原先選擇的物件。改變狀態資訊,可以為將所述物件向上移動一預定的值,突出顯示選擇的物件。 In step S103, the selection state information of the found object is acquired and the selection state information of the found object is changed. Obtaining the selection status information of the found object may all be in an unselected state, or a partially selected state, or may all be in a selected state. When the current state of the object searched by the touch instruction is all in the unselected state, after the touch command, all the objects searched by the touch command are changed to the selected state. When a part of the object is in the selected state, after the touch command, the object in the selected state searched by the touch command is adjusted to an unselected state, and the object in the unselected state searched by the touch command is adjusted to Select the status. Correspondingly, when the current state of the object searched by the touch command is all in the selected state, after the touch command, all the objects searched by the touch command are changed to an unselected state, that is, the originally selected object is cancelled. . Changing the status information may highlight the selected item by moving the object up a predetermined value.
本發明實施例通過任一位置的觸摸指令的觸摸位置與對應的對應關係,本發明能夠在更大區域進行選擇操作,從而減少操作誤差,更好的提高了選擇的效率,相應的減少了行動終端設備於完成選擇操作時所耗費的電量。 In the embodiment of the present invention, the touch position of the touch command at any position and the corresponding correspondence relationship enable the present invention to perform a selection operation in a larger area, thereby reducing operation errors, improving the efficiency of selection, and correspondingly reducing the action. The amount of power consumed by the terminal device when it completes the selection operation.
圖2示出了根據本發明之另一實施例所提供的物件選擇的方法的流程示意圖,步驟S201~步驟S203詳述如下。 FIG. 2 is a schematic flow chart of a method for selecting an object according to another embodiment of the present invention, and steps S201 to S203 are described in detail below.
在步驟S201中,接收位於待選擇物件所在區域以外的第一區域的第一單擊的觸摸指令,獲取所述單擊的觸摸指令位置資訊。本步驟與上述實施例(圖1)中描述的方式相類似,通過監聽位於第一區域外的單擊指令,實現目標物件的選擇,當然也可以包括位於物件的區域中的點擊選擇。 In step S201, a first click touch instruction of the first area located outside the area where the object to be selected is located is received, and the clicked touch instruction position information is acquired. This step is similar to the manner described in the above embodiment (FIG. 1), and the selection of the target object is realized by listening to the click command located outside the first area, and of course, the click selection in the area of the object may be included.
在步驟S202中,根據預設的待選擇的物件與位置資訊的對應關係,查找第一單擊的觸摸指令所對應的物件。所述第一單擊的觸摸指令為單擊的觸摸指令,獲取所述第一單擊的觸摸指令的觸摸點的座標資訊 為一個在操作介面的二維的座標值。具體可以為:根據所述待選擇物件與橫坐標的對應關係,查找所述第一單擊的觸摸指令所對應的物件;或者根據所述待選擇物件與縱坐標的對應關係,查找所述第一單擊的觸摸指令所對應的物件。 In step S202, the object corresponding to the first click touch command is searched according to the preset correspondence between the object to be selected and the location information. The first click touch command is a click touch command, and acquires coordinate information of the touch point of the first click touch command. Is a two-dimensional coordinate value in the operation interface. Specifically, the object corresponding to the touch command of the first click may be searched according to the correspondence between the object to be selected and the abscissa; or the corresponding item may be searched according to the correspondence between the object to be selected and the ordinate. The object corresponding to the one touch command.
下面以位置資訊的橫坐標與待選擇的物件的對應關係為例進行說明,而通過縱坐標與待選擇的物件的對應關係與此相類似,不進行重複描述。 In the following, the correspondence between the abscissa of the location information and the object to be selected is taken as an example, and the correspondence between the ordinate and the object to be selected is similar to this, and the description is not repeated.
如圖2a所示的撲克遊戲的操作介面,在操作介面中的N個物件,即N張手牌佔據操作介面中的長條形的區域,所述長條形區域中包括的N個物件中,每個物件對應一定的橫坐標區間的範圍,如每個物件之間的間距為L,左邊第一個物件,即第一張手牌的起始橫坐標值為X,那麼第一張手牌對應的橫坐標的區間為大於或等於X且小於X+L,依此類推,第二張手牌對應的橫坐標的區間為大於或等於X+L且小於X+2L的區間......。當接收到使用者輸入的觸摸指令時,由相應的指令監聽函數獲取觸摸指令的位置資訊的座標,如監聽到當前輸入的觸摸指令的位置資訊的座標為(X1、Y1),那麼判斷所述位置資訊的座標中的橫坐標值X1所在的區間,當X<X1<X+L時,所述觸摸指令所對應的物件為第一個物件,即第一張手牌。另外,為更好的提高選擇效率,還可以將整個操作介面按橫坐標平均分為若干個區域,將每個橫坐標區域對應某個物件,從而可以更加方便選擇操作。 As shown in the operation interface of the poker game shown in FIG. 2a, N objects in the operation interface, that is, N cards occupy an elongated area in the operation interface, among the N objects included in the elongated area Each object corresponds to a certain range of the horizontal coordinate interval. For example, the distance between each object is L, and the first object on the left side, that is, the initial horizontal coordinate value of the first hand is X, then the first hand The interval corresponding to the abscissa of the card is greater than or equal to X and less than X+L, and so on, the interval of the abscissa corresponding to the second hand is greater than or equal to X+L and less than X+2L... .... When receiving the touch command input by the user, the coordinate of the position information of the touch command is obtained by the corresponding command listening function, and if the coordinate of the position information of the currently input touch command is monitored as (X1, Y1), then the judgment is performed. The interval in which the abscissa value X1 is located in the coordinate of the position information, when X < X1 < X + L, the object corresponding to the touch command is the first object, that is, the first hand. In addition, in order to improve the selection efficiency, the entire operation interface can be equally divided into several regions according to the abscissa, and each of the abscissa regions corresponds to an object, so that the operation can be more conveniently selected.
在步驟S203中,獲取所述查找的物件的選擇狀態資訊並改變所述查找的物件的選擇狀態資訊。步驟S203與上述實施例的步驟S103相同,獲取所述查找的紙牌的選擇狀態資訊,判斷所述查找的紙牌是否為選擇狀態;當所述查找的紙牌為選擇狀態,則取消其選擇狀態;當所述查找的紙牌為未選擇狀態,則將其設定為選擇狀態,並移動所述紙牌至預定的高度。本實施例與圖1的實施例不同之處在於,本實施例為根據物件所在區域以外的第一區域的單擊指令實現目標物件的選擇與取消選擇。 In step S203, the selection state information of the found object is acquired and the selection state information of the found object is changed. Step S203 is the same as step S103 of the above embodiment, acquiring the selected state information of the searched card, determining whether the searched card is in the selected state; when the searched card is in the selected state, canceling the selected state; When the searched card is in an unselected state, it is set to a selected state, and the card is moved to a predetermined height. The difference between this embodiment and the embodiment of FIG. 1 is that the present embodiment implements selection and deselection of the target object according to the click instruction of the first area outside the area where the object is located.
圖3示出了根據本發明之再一實施例所提供的物件選擇的方法的流程示意圖,步驟S301~步驟S305詳述如下: FIG. 3 is a schematic flowchart diagram of a method for selecting an object according to still another embodiment of the present invention, and steps S301 to S305 are detailed as follows:
在步驟S301中,接收位於操作介面內的第一觸摸指令,獲取所述第一觸摸指令對應的位置資訊。 In step S301, a first touch instruction located in the operation interface is received, and location information corresponding to the first touch instruction is acquired.
在步驟S302中,判斷所述觸摸指令對應的位置資訊是否在預設的第一區域或第二區域。所述第二區域為目標物件所在的區域,第一區域為操作介面內第二區域以外的區域。 In step S302, it is determined whether the location information corresponding to the touch instruction is in a preset first area or a second area. The second area is an area where the target object is located, and the first area is an area other than the second area in the operation interface.
在步驟S303中,當所述觸摸指令對應的位置資訊在預設的第一區域時,接收單擊的觸摸指令,根據預設的座標和待選擇的物件的對應關係,查找所述位置資訊的座標所對應的物件。 In step S303, when the location information corresponding to the touch instruction is in the preset first area, receiving a touch command of the click, and searching for the location information according to the correspondence between the preset coordinates and the object to be selected. The object corresponding to the coordinates.
在步驟S304中,當所述觸摸指令對應的位置資訊在預設的第二區域時,接收滑動的觸摸指令,根據預設的座標和待選擇的物件的對應關係,查找所述位置資訊的座標所對應的物件。 In step S304, when the position information corresponding to the touch instruction is in the preset second area, receiving a sliding touch instruction, and searching for the coordinate of the position information according to the preset coordinate and the correspondence relationship of the object to be selected. The corresponding object.
在步驟S305中,獲取所述查找的物件的選擇狀態資訊並改變所述查找的物件的選擇狀態資訊。 In step S305, the selection state information of the found object is acquired and the selection state information of the found object is changed.
具體的,在本發明實施例步驟S302至步驟S304中,將操作介面分為第一區域和第二區域,在第一區域中僅接收單擊的觸摸指令,從而能夠方便對單個物件的選擇以及取消選擇操作,在第二區域僅接收滑動的觸摸指令,從而能夠更加快速的選擇多個物件,提高選擇的操作效率,如圖3a為在紙牌類遊戲中,在第一區域通過滑動的觸摸指令選擇紙牌的示意圖,如圖3b為在紙牌類遊戲中,在第二區域通過單擊的觸摸指令選擇紙牌的示意圖。本實施例係藉由將上述兩實施例的兩種方式相結合,從而進一步提高選擇的效率。 Specifically, in steps S302 to S304 of the embodiment of the present invention, the operation interface is divided into a first area and a second area, and only the clicked touch instruction is received in the first area, thereby facilitating selection of a single object and Deselecting the operation, receiving only the sliding touch command in the second area, so that multiple objects can be selected more quickly, and the operation efficiency of the selection is improved, as shown in FIG. 3a, in the card game, the touch command is swiped in the first area. A schematic diagram of a card is selected, as shown in FIG. 3b, which is a schematic diagram of selecting a card in a second area by clicking a touch command in a card game. This embodiment further improves the efficiency of selection by combining the two modes of the above two embodiments.
圖4示出了根據本發明之又一實施例所提供的物件選擇的方法的流程示意圖,步驟S401~步驟S405詳述如下: FIG. 4 is a schematic flow chart of a method for selecting an object according to another embodiment of the present invention, and steps S401 to S405 are detailed as follows:
在步驟S401中,接收位於操作介面內的第一觸摸指令,獲取所述第一 觸摸指令對應的位置資訊。所述第一觸摸指令可以為滑動的觸摸指令,也可以為單擊的觸摸指令。 In step S401, receiving a first touch instruction located in the operation interface, acquiring the first Touch the location information corresponding to the command. The first touch instruction may be a sliding touch instruction or a clicked touch instruction.
在步驟S402中,根據預設的坐位置資訊和待選擇的物件的對應關係,查找所述觸摸指令的位置資訊的座標所對應的物件。 In step S402, an object corresponding to the coordinate of the location information of the touch instruction is searched according to the preset sitting position information and the correspondence relationship of the object to be selected.
在步驟S403中,獲取所述查找的物件的選擇狀態資訊並改變所述查找的物件的選擇狀態資訊。 In step S403, the selection state information of the found object is acquired and the selection state information of the found object is changed.
在步驟S404中,接收第二觸摸指令並判斷所述第二觸摸指令的觸摸點的個數是否大於預設的個數。 In step S404, the second touch instruction is received and it is determined whether the number of touch points of the second touch instruction is greater than a preset number.
在步驟S405中,當所述第二觸摸指令的觸摸點個數大於或等於預設的個數,對所述改變了狀態資訊後的、狀態資訊為選擇狀態的物件執行預設的動作。 In step S405, when the number of touch points of the second touch instruction is greater than or equal to a preset number, a preset action is performed on the object whose status information is changed after the status information is changed.
所述預設的個數,可以設定為2,即當監測到使用者輸入的觸摸指令為雙指點擊指令時,則認為符合執行預設的動作的要求,執行預設的動作。所述預設的動作,可以為在完成物件的選擇後的其它處理編輯操作,如圖4a所示,在紙牌類遊戲中,當接收到雙指觸摸指令時,可以執行對紙牌的出牌操作動作等。同樣,本實施例所述對選擇物件,通過觸摸點個數的判斷從而執行的動作,同樣可用於上述圖1~圖3的三種實施例中,亦可取得相同的技術效果。 The preset number may be set to 2, that is, when the touch command input by the user is detected as a two-finger click command, it is considered to meet the requirement of performing the preset action, and the preset action is performed. The preset action may be another process editing operation after the selection of the object is completed, as shown in FIG. 4a. In the card game, when the two-finger touch command is received, the card playing operation may be performed. Actions, etc. Similarly, the action performed by the judgment of the number of touched points on the selected object in the embodiment can also be used in the three embodiments of the above-mentioned FIG. 1 to FIG. 3, and the same technical effects can be obtained.
圖5a和圖5b示出了根據本發明之再另一實施例所提供的物件選擇的裝置的結構示意圖,詳述如下。 5a and 5b are schematic structural views of an apparatus for selecting an object according to still another embodiment of the present invention, which are described in detail below.
如圖5a所示,本發明實施例所述物件選擇裝置,包括:第一接收獲取單元501,用於接收位於操作介面內的第一滑動的觸摸指令,獲取所述第一滑動的觸摸指令對應的滑動路徑資訊;第一查找單元502,用於根據預設的待選擇的物件和位置資訊的對應關係,查找所述第一滑動的觸摸指令所對應的物件;以及 第一獲取改變單元503,用於獲取所述查找的物件的選擇狀態資訊並改變所述查找的物件的選擇狀態資訊。 As shown in FIG. 5a, the object selection device of the embodiment of the present invention includes: a first receiving and acquiring unit 501, configured to receive a first sliding touch instruction located in an operation interface, and obtain a touch instruction corresponding to the first sliding a sliding path information; the first searching unit 502 is configured to search for an object corresponding to the first sliding touch command according to a preset correspondence between the object to be selected and the location information; The first acquisition changing unit 503 is configured to acquire selection state information of the found object and change selection state information of the found object.
所述第一查找單元502包括:確定子單元5021,用於根據所述第一滑動的觸摸指令的滑動路徑資訊中的起點位置和終點位置,確定所述第一滑動的觸摸指令對應的座標區間;以及獲取子單元5022,用於根據預設的待選擇的物件和位置資訊的對應關係,獲取所述物件的座標位於所述第一滑動的觸摸指令對應的座標區間內的物件。 The first searching unit 502 includes: a determining sub-unit 5021, configured to determine a coordinate interval corresponding to the first sliding touch instruction according to a starting position and an ending position in the sliding path information of the first sliding touch instruction And the obtaining sub-unit 5022, configured to acquire, according to the preset correspondence between the object to be selected and the position information, the object whose coordinates are located in the coordinate interval corresponding to the first sliding touch instruction.
作為本發明實施例的另一種實施方式,如圖5b所示,所述物件選擇的裝置包括:第二接收獲取單元504,用於接收位於待選擇物件所在區域以外的第一區域的第一單擊的觸摸指令,獲取所述單擊的觸摸指令位置資訊;第二查找單元505,用於根據預設的待選擇的物件與位置資訊的對應關係,查找第一單擊的觸摸指令所對應的物件;以及第二獲取改變單元506,用於獲取所述查找的物件的選擇狀態資訊並改變所述查找的物件的選擇狀態資訊。 As another implementation manner of the embodiment of the present invention, as shown in FIG. 5b, the apparatus for selecting an object includes: a second receiving and acquiring unit 504, configured to receive a first single in a first area other than an area where the object to be selected is located Clicking a touch command to obtain the clicked touch instruction position information; the second searching unit 505 is configured to search for a touch command corresponding to the first click according to the preset correspondence between the object to be selected and the position information And a second acquisition change unit 506, configured to acquire selection state information of the found object and change selection state information of the found object.
進一步的,圖5a和圖5b中所述裝置還包括:接收判斷單元507,用於接收第二觸摸指令並判斷所述第二觸摸指令的觸摸點的個數是否大於預設的個數;以及執行單元508,用於當所述第二觸摸指令的觸摸點個數大於或等於預設的個數,對所述改變了狀態資訊後的、狀態資訊為選擇狀態的物件執行預設的動作。 Further, the device in FIG. 5a and FIG. 5b further includes: a receiving determining unit 507, configured to receive a second touch command and determine whether the number of touch points of the second touch command is greater than a preset number; and The executing unit 508 is configured to perform a preset action on the object whose status information is the selected state after the status information is changed, when the number of touch points of the second touch instruction is greater than or equal to a preset number.
本發明所述裝置實施例與圖1~圖4之四種實施例所述方法相對應,在此不重複贅述。 The device embodiment of the present invention corresponds to the method described in the four embodiments of FIG. 1 to FIG. 4, and details are not repeated herein.
圖6示出的是根據本發明之再又一實施例所提供的終端相關 的手機的部分結構的框圖。參考圖6,手機包括:無線電頻率(Radio Frequency,RF)電路610、記憶體620、輸入單元630、顯示單元640、感測器650、音訊電路660、無線保真(wireless fidelity,WiFi)模組670、處理器680、以及電源690等元件。本領域技術人員可以理解,圖6中示出的手機結構並不構成對手機的限定,可以包括比圖示更多或更少的元件,或者組合某些元件,或者不同的元件佈置。 FIG. 6 shows a terminal related according to still another embodiment of the present invention. A block diagram of the partial structure of the phone. Referring to FIG. 6, the mobile phone includes: a radio frequency (RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a sensor 650, an audio circuit 660, and a wireless fidelity (WiFi) module. 670, processor 680, and power supply 690 and other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 6 does not constitute a limitation to the handset, and may include more or less elements than those illustrated, or some components may be combined, or different component arrangements.
下面結合圖6對手機的各個構成元件進行具體的介紹。 The specific components of the mobile phone will be specifically described below with reference to FIG.
RF電路610可用於收發資訊或通話過程中,信號的接收和發送,特別地,將基地台的下行資訊接收後,給處理器680處理;另外,將設計上行的資料發送給基地台。通常,RF電路包括但不限於天線、至少一個放大器、收發信機、耦合器、低雜訊放大器(Low Noise Amplifier,LNA)、雙工器等。此外,RF電路610還可以通過無線通訊與網路和其他設備通信。上述無線通訊可以使用任一通信標準或協定,包括但不限於全球移動通訊系統(Global System of Mobile communication,GSM)、通用分組無線服務(General Packet Radio Service,GPRS)、碼分多址(Code Division Multiple Access,CDMA)、寬頻碼分多址(Wideband Code Division Multiple Access,WCDMA)、長期演進(Long Term Evolution,LTE))、電子郵件、簡訊服務(Short Messaging Service,SMS)等。 The RF circuit 610 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. In particular, after receiving the downlink information of the base station, the processor 680 processes the data; and, in addition, transmits the designed uplink data to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 610 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
記憶體620可用於存儲軟體程式以及模組。處理器680通過運行存儲在記憶體620的軟體程式以及模組,從而執行手機的各種功能應用以及資料處理。記憶體620可主要包括存儲程式區和存儲資料區,其中,存儲程式區可存儲作業系統、至少一個功能所需的應用程式(比如聲音播放功能、圖像播放功能等)等;存儲資料區可存儲根據手機的使用所創建的資料(比如音訊資料、電話本等)等。此外,記憶體620可以包括高速隨機存 取記憶體,還可以包括非揮發性記憶體,例如至少一個磁碟記憶體件、快閃記憶體器件、或其他揮發性固態記憶體件。 The memory 620 can be used to store software programs and modules. The processor 680 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 620. The memory 620 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.); Stores data created based on the use of the phone (such as audio data, phone book, etc.). In addition, the memory 620 can include high speed random access The memory may also include non-volatile memory, such as at least one disk memory device, flash memory device, or other volatile solid state memory device.
輸入單元630可用於接收輸入的數位或字元資訊,以及產生與手機600的用戶設置以及功能控制有關的鍵信號輸入。具體地,輸入單元630可包括觸控面板631以及其他輸入裝置632。觸控面板631,也稱為觸控式螢幕,可收集用戶在其上或附近的觸摸操作(比如用戶使用手指、觸筆等任何適合的物體或附件在觸控面板631上或在觸控面板631附近的操作),並根據預先設定的程式驅動相應的連接裝置。可選的,觸控面板631可包括觸摸檢測裝置和觸摸控制器兩個部分。其中,觸摸檢測裝置檢測使用者的觸摸方位,並檢測觸摸操作帶來的信號,將信號傳送給觸摸控制器;觸摸控制器從觸摸檢測裝置上接收觸摸資訊,並將它轉換成觸點座標,再送給處理器680,並能接收處理器680發來的命令並加以執行。此外,可以採用電阻式、電容式、紅外線以及表面聲波等多種類型實現觸控面板631。除了觸控面板631,輸入單元630還可以包括其他輸入裝置632。具體地,其他輸入裝置632可以包括但不限於物理鍵盤、功能鍵(比如音量控制按鍵、開關按鍵等)、軌跡球、滑鼠、操作桿等中的一種或多種。 The input unit 630 can be configured to receive input digit or character information and to generate key signal inputs related to user settings and function control of the handset 600. Specifically, the input unit 630 may include a touch panel 631 and other input devices 632. The touch panel 631, also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 631 or on the touch panel. Operation near 631), and drive the corresponding connection device according to a preset program. Optionally, the touch panel 631 can include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into a contact coordinate, It is sent to the processor 680 and can receive commands from the processor 680 and execute them. In addition, the touch panel 631 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 631, the input unit 630 may also include other input devices 632. Specifically, other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
顯示單元640可用於顯示由使用者輸入的資訊或提供給使用者的資訊以及手機的各種功能表。顯示單元640可包括顯示面板641,可選的,可以採用液晶顯示器(Liquid Crystal Display,簡稱LCD)、有機發光二極體(Organic Light-Emitting Diode,簡稱OLED)等形式來配置顯示面板641。進一步的,觸控面板631可覆蓋顯示面板641,當觸控面板631檢測到在其上或附近的觸摸操作後,傳送給處理器680以確定觸摸事件的類型,隨後處理器680根據觸摸事件的類型在顯示面板641上提供相應的視覺輸出。 雖然在圖6中,觸控面板631與顯示面板641是作為兩個獨立的元件來實現手機的輸入和輸入功能,但是在某些實施例中,可以將觸控面板631與顯示面板641集成而實現手機的輸入和輸出功能。 The display unit 640 can be used to display information input by the user or information provided to the user and various function tables of the mobile phone. The display unit 640 can include a display panel 641. Alternatively, the display panel 641 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 631 can cover the display panel 641. When the touch panel 631 detects a touch operation on or near it, the touch panel 631 transmits to the processor 680 to determine the type of the touch event, and then the processor 680 according to the touch event. The type provides a corresponding visual output on display panel 641. Although the touch panel 631 and the display panel 641 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 6, in some embodiments, the touch panel 631 and the display panel 641 may be integrated. Realize the input and output functions of the phone.
手機600還可包括至少一種感測器650,比如光感測器、運動感測器以及其他感測器。具體地,光感測器可包括環境光感測器及接近感測器,其中,環境光感測器可根據環境光線的明暗來調節顯示面板641的亮度,接近感測器可在手機移動到耳邊時,關閉顯示面板641和/或背光。作為運動感測器的一種,加速計感測器可檢測各個方向上(一般為三軸)加速度的大小,靜止時可檢測出重力的大小及方向,可用於識別手機姿態的應用(比如橫豎屏切換、相關遊戲、磁力計姿態校準)、振動識別相關功能(比如計步器、敲擊)等;至於手機還可配置的陀螺儀、氣壓計、濕度計、溫度計、紅外線感測器等其他感測器,在此不再贅述。 The handset 600 can also include at least one sensor 650, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 641 according to the brightness of the ambient light, and the proximity sensor may move to the mobile phone to When the ear is closed, the display panel 641 and/or the backlight are turned off. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is still, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen). Switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. The detector will not be described here.
音訊電路660、揚聲器661,傳聲器662可提供用戶與手機之間的音訊介面。音訊電路660可將接收到的音訊資料轉換後的電信號,傳輸到揚聲器661,由揚聲器661轉換為聲音信號輸出;另一方面,傳聲器662將收集的聲音信號轉換為電信號,由音訊電路660接收後轉換為音訊資料,再將音訊資料輸出處理器680處理後,經RF電路610以發送給比如另一手機,或者將音訊資料輸出至記憶體620以便進一步處理。 The audio circuit 660, the speaker 661, and the microphone 662 can provide an audio interface between the user and the mobile phone. The audio circuit 660 can transmit the received electrical signal converted to the audio data to the speaker 661 and be converted into a sound signal output by the speaker 661. On the other hand, the microphone 662 converts the collected sound signal into an electrical signal, and the audio circuit 660 After receiving, it is converted into audio data, and then processed by the audio data output processor 680, sent to another mobile phone via the RF circuit 610, or outputted to the memory 620 for further processing.
WiFi屬於短距離無線傳輸技術,手機通過WiFi模組670可以說明使用者收發電子郵件、流覽網頁和訪問流式媒體等,它為用戶提供了無線的寬頻網際網路的訪問。雖然圖6示出了WiFi模組670,但是可以理解的是,其並不屬於手機600的必須構成,完全可以根據需要在不改變發明的本質的範圍內而省略。 WiFi is a short-range wireless transmission technology. The WiFi module 670 can explain the user's ability to send and receive emails, browse web pages, and access streaming media. It provides users with wireless broadband Internet access. Although FIG. 6 shows the WiFi module 670, it can be understood that it does not belong to the essential configuration of the mobile phone 600, and may be omitted as needed within the scope of not changing the essence of the invention.
處理器680是手機的控制中心,利用各種介面和線路連接整個手機的各個部分,通過運行或執行存儲在記憶體620內的軟體程式和/或模組,以及調用存儲在記憶體620內的資料,執行手機的各種功能和處理資料,從而對手機進行整體監控。可選的,處理器680可包括一個或多個處理單元;優選的,處理器680可集成應用處理器和調製解調處理器,其中,應用處理器主要處理作業系統、使用者介面和應用程式等,調製解調處理器主要處理無線通訊。可以理解的是,上述調製解調處理器也可以不集成到處理器680中。 The processor 680 is a control center of the mobile phone, and connects various parts of the entire mobile phone by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 620, and calling data stored in the memory 620. The mobile phone's various functions and processing data are implemented to monitor the mobile phone as a whole. Optionally, the processor 680 may include one or more processing units; preferably, the processor 680 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, the user interface, and the application. Etc. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 680.
手機600還包括給各個元件供電的電源690(比如電池),優選的,電源可以通過電源管理系統與處理器680邏輯相連,從而通過電源管理系統實現管理充電、放電、以及功耗管理等功能。 The handset 600 also includes a power source 690 (such as a battery) that powers the various components. Preferably, the power source can be logically coupled to the processor 680 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
儘管未示出,手機600還可以包括網路攝影機、藍牙模組等,在此不再贅述。 Although not shown, the mobile phone 600 may further include a network camera, a Bluetooth module, and the like, and details are not described herein again.
在本發明實施例中,所述終端所包括的處理器680還具有以下功能:執行物件選擇的方法,包括:接收位於操作介面內的第一滑動的觸摸指令,獲取所述第一滑動的觸摸指令對應的滑動路徑資訊;根據預設的待選擇的物件和位置資訊的對應關係,查找所述第一滑動的觸摸指令所對應的物件;以及獲取所述查找的物件的選擇狀態資訊並改變所述查找的物件的選擇狀態資訊。 In the embodiment of the present invention, the processor 680 included in the terminal further has a function of: performing a method for selecting an object, comprising: receiving a first sliding touch instruction located in the operation interface, and acquiring the first sliding touch The sliding path information corresponding to the instruction; searching for the object corresponding to the first sliding touch instruction according to the preset correspondence between the object to be selected and the position information; and acquiring the selection state information of the found object and changing the location The selection status information of the found object.
以上所述僅為本發明的較佳實施例而已,並不用以限制本發明,凡在本發明的精神和原則之內所作的任何修改、等同替換和改進等,均應包含在本發明的保護範圍之內。 The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.
S101~S103‧‧‧物件選擇的方法步驟 S101~S103‧‧‧ Method steps for object selection
Claims (13)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310518421.9A CN104571908B (en) | 2013-10-28 | 2013-10-28 | A kind of method and apparatus of Object Selection |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| TW201516844A true TW201516844A (en) | 2015-05-01 |
Family
ID=53003296
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW103123569A TW201516844A (en) | 2013-10-28 | 2014-07-08 | Apparatus and method for selecting object |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN104571908B (en) |
| TW (1) | TW201516844A (en) |
| WO (1) | WO2015062372A1 (en) |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105094423B (en) * | 2015-07-03 | 2018-06-29 | 施政 | Electronic plane interactive system and method |
| CN105100458B (en) * | 2015-07-08 | 2018-09-14 | 努比亚技术有限公司 | A kind of device and method of quick selecting object |
| JP2017120584A (en) * | 2015-12-28 | 2017-07-06 | ソニー株式会社 | Information processor, information processing method, and program |
| WO2019056388A1 (en) * | 2017-09-25 | 2019-03-28 | 深圳市云中飞网络科技有限公司 | CONTENT SELECTION METHOD, ELECTRONIC DEVICE, STORAGE MEDIUM, AND COMPUTER PROGRAM PRODUCT |
| CN108837507A (en) * | 2018-05-29 | 2018-11-20 | 网易(杭州)网络有限公司 | Virtual item control method and device, electronic equipment, storage medium |
| CN109364474A (en) * | 2018-09-13 | 2019-02-22 | 腾讯科技(深圳)有限公司 | Card interaction scenarios, the manipulation implementation method in card institute dependent game and device |
| CN109614021A (en) * | 2018-10-29 | 2019-04-12 | 阿里巴巴集团控股有限公司 | Exchange method, device and equipment |
| CN109568954B (en) * | 2018-11-30 | 2020-08-28 | 广州要玩娱乐网络技术股份有限公司 | Weapon type switching display method and device, storage medium and terminal |
| CN109683799B (en) * | 2018-12-30 | 2021-07-23 | 努比亚技术有限公司 | Sliding control method and device and computer readable storage medium |
| CN110083288B (en) * | 2019-04-22 | 2021-04-16 | 百度在线网络技术(北京)有限公司 | Display interface control method, device and system, computing equipment and readable medium |
| CN110215695B (en) * | 2019-07-04 | 2023-03-24 | 网易(杭州)网络有限公司 | Game object selection method and device |
| CN110215687B (en) * | 2019-07-04 | 2023-03-24 | 网易(杭州)网络有限公司 | Game object selection method and device |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102033642B (en) * | 2009-09-29 | 2012-10-10 | 联想(北京)有限公司 | Method for gesture reorganization and electronic device |
| US20120179963A1 (en) * | 2011-01-10 | 2012-07-12 | Chiang Wen-Hsiang | Multi-touch electronic device, graphic display interface thereof and object selection method of multi-touch display |
| JP2012165920A (en) * | 2011-02-15 | 2012-09-06 | Universal Entertainment Corp | Gaming machine |
| CN102760029B (en) * | 2011-04-29 | 2016-04-20 | 汉王科技股份有限公司 | The method and apparatus of operating list on display interface |
| CN102262507A (en) * | 2011-06-28 | 2011-11-30 | 中兴通讯股份有限公司 | Method and device for realizing object batch selection through multipoint touch-control |
| CN102662511B (en) * | 2012-03-24 | 2016-11-16 | 上海量明科技发展有限公司 | Method and the terminal of operation it is controlled by touch screen |
| CN103777882B (en) * | 2012-10-24 | 2017-07-11 | 腾讯科技(北京)有限公司 | Multinomial based on touch-screen chooses method and device |
| CN103941973B (en) * | 2013-01-22 | 2018-05-22 | 腾讯科技(深圳)有限公司 | A kind of method, apparatus and touch screen terminal of batch selection |
-
2013
- 2013-10-28 CN CN201310518421.9A patent/CN104571908B/en active Active
-
2014
- 2014-07-08 TW TW103123569A patent/TW201516844A/en unknown
- 2014-09-16 WO PCT/CN2014/086610 patent/WO2015062372A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| CN104571908B (en) | 2019-05-24 |
| CN104571908A (en) | 2015-04-29 |
| WO2015062372A1 (en) | 2015-05-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TW201516844A (en) | Apparatus and method for selecting object | |
| CN105518605B (en) | A touch operation method and device for a terminal | |
| CN102830909B (en) | User interface icon management method and touch device | |
| CN102929503B (en) | The method of select File and terminal | |
| CN103389863B (en) | A kind of display control method and device | |
| CN103605471B (en) | Single-hand control method, device and handheld device | |
| US10372320B2 (en) | Device and method for operating on touch screen, and storage medium | |
| CN102866916B (en) | Terminal and method for dynamically loading application program interface | |
| KR20150079829A (en) | Gesture-based conversation processing method, apparatus, and terminal device | |
| CN104571979B (en) | A kind of method and apparatus for realizing split view | |
| WO2014032611A1 (en) | Desktop management method and device | |
| CN105975190B (en) | Graphical interface processing method, device and system | |
| WO2013135169A1 (en) | Method for adjusting input-method keyboard and mobile terminal thereof | |
| CN104866110A (en) | Gesture control method, mobile terminal and system | |
| CN103677633B (en) | Unlocking screen method, device and terminal | |
| CN103634717A (en) | Method, device and terminal equipment utilizing earphone to control | |
| CN106371749A (en) | Method and device for terminal control | |
| CN108475161A (en) | Display methods and terminal | |
| CN106646440A (en) | Drop height detection method and drop height detection device | |
| CN104238931B (en) | Information input method and device and electronic equipment | |
| KR20110095586A (en) | Method and device for collecting touch events of terminal | |
| WO2014094456A1 (en) | Page switching method and device and terminal | |
| CN105718141A (en) | Method for moving desktop icons and mobile terminal | |
| US20150070360A1 (en) | Method and mobile terminal for drawing sliding trace | |
| CN105630315A (en) | Quantity adjustment method and apparatus |