Electronic device, control method, and recording medium
By introducing a determination and setting processing unit in the electronic device, communicating with the computer main body based on the communication specifications, and automatically setting the action mode, the function usage problem caused by operating system category restrictions is solved, and the convenience of the device in different operating system environments is improved. sex.
Patent Information
- Application Number
- CN202110915541.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-08-11
- Filing Date
- 2021-08-10
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-08-10
AI Technical Summary
When existing electronic devices are connected to the computer body, their function usage is limited by operating system categories, resulting in poor convenience in manually setting the action mode and being unable to be applied to unregistered terminals.
Design an electronic device and a control method to communicate with a computer main body based on the first and second communication specifications, determine the operating system category and set the corresponding action mode, and control the device functions by using the determination processing unit and the setting processing unit to realize the action Automatic setting and switching of modes.
It realizes that when connected to the computer main body, the electronic device can easily set the action mode corresponding to the operating system, improve the user experience, facilitate the use of functions in different operating system environments, and avoid the cumbersome process of manually setting the action mode.
Smart Images

Figure CN114077450B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an electronic device, a control method and a recording medium. Background Art
[0002] Conventionally, there is provided an electronic device that is connected to a computer main body through a cable, wirelessly, etc. Such electronic devices include input devices such as a keyboard, a mouse, a game controller, and a touch panel device, output devices such as a display, a projector, headphones, a speaker, and a printer, and network devices such as a router.
[0003] When a computer equipped with a specified operating system (OS) is connected to the electronic device and the functions of the electronic device are used, depending on the type of the operating system, a problem occurs in which a part or all of the functions of the electronic device cannot be used. As an example, if a touch panel device is listed, in an old version of the operating system of Android (registered trademark) and Linux (registered trademark), a problem occurs in which a touch pen (pen digitizer) cannot be used or does not operate normally. In addition, for example, in Ubuntu (registered trademark) versions 17.10 to 18.04 and MacOS (registered trademark) version 10.15, a problem occurs in which a touch pen cannot be used.
[0004] In this way, in an electronic device connected to a computer main body and used, the available functions vary according to the type of operating system. Therefore, the user must set the action mode corresponding to the available functions in such an electronic device by himself, which is less convenient.
[0005] Here, conventionally, there is known a device for inferring information of a plurality of terminals that send queries including query names to a DNS server via a network, the device comprising: a query name registration unit that pre-registers software categories installed in a plurality of terminals for each query name; a query collection unit that collects and accumulates queries sent from the terminals; and a software category identification unit that extracts query names included in each accumulated query and identifies the software category corresponding to the query using the query name registration unit. However, in the device, it is assumed that the software categories installed in a plurality of terminals are pre-registered for the query names, and thus it cannot be applied to terminals that have not been registered, and the convenience is insufficient. Summary of the invention
[0006] An object of the present invention is to provide an electronic device, a control method and a recording medium which can easily set an operation mode corresponding to a function of the electronic device corresponding to an operating system of a computer body in an electronic device connected to a computer body for use.
[0007] An electronic device of one embodiment of the present invention is connected to a computer body equipped with a specified operating system to communicate and is used to perform a specified function. The electronic device comprises: a first communication unit, which communicates with the computer body based on a first communication standard; a second communication unit, which communicates with the computer body based on a second communication standard; a determination processing unit, which classifies and determines the type of the operating system based on a first communication parameter obtained from the first communication unit; a setting processing unit, which sets an action mode corresponding to the type of the operating system determined by the determination processing unit; and a control unit, which controls the specified function through the action mode set by the setting processing unit based on the communication between the second communication unit and the computer body.
[0008] A control method according to another aspect of the present invention is a control method for an electronic device, wherein the electronic device is used to connect to and communicate with a computer body equipped with a specified operating system and perform a specified function. The electronic device comprises: a first communication unit, which communicates with the computer body based on a first communication specification; and a second communication unit, which communicates with the computer body based on a second communication specification. The control method is performed by one or more processors to perform the following steps: a determination step, which classifies and determines the type of the operating system based on a first communication parameter obtained from the first communication unit; a setting step, which sets an action mode corresponding to the type of the operating system determined by the determination step; and a control step, which controls the specified function according to the action mode set by the setting step based on the communication between the second communication unit and the computer body.
[0009] A computer-readable non-temporary recording medium in another embodiment of the present invention stores a program for controlling an electronic device, wherein the electronic device is used to connect to and communicate with a computer body equipped with a specified operating system and perform a specified function. The electronic device comprises: a first communication unit, which communicates with the computer body based on a first communication specification; and a second communication unit, which communicates with the computer body based on a second communication specification. The program is used to cause one or more processors to perform the following steps: a determination step, which classifies and determines the type of the operating system based on a first communication parameter obtained from the first communication unit; a setting step, which sets an action mode corresponding to the type of the operating system determined by the determination step; and a control step, which controls the specified function according to the action mode set by the setting step based on the communication between the second communication unit and the computer body.
[0010] According to the present invention, it is possible to provide an electronic device, a control method, and a recording medium that can easily set an operation mode corresponding to the function of the electronic device corresponding to the operating system of the computer body in an electronic device connected to a computer body for use.
[0011] This specification is presented in a simplified form, with appropriate reference to the accompanying drawings, to summarize the concepts described in the following detailed description. This specification is not intended to limit the important features and essential features of the subject matter described in the claims, nor is it intended to limit the scope of the subject matter described in the claims. In addition, the subject matter described in the claims is not limited to implementations that solve some or all of the disadvantages described in any part of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 This is a functional block diagram showing the configuration of a computer system according to the first embodiment of the present invention.
[0013] Figure 2 This is a diagram showing an example of OS type information used in the computer system according to the embodiment of the present invention.
[0014] Figure 3 This is a diagram showing an example of operation mode information used in the computer system according to the embodiment of the present invention.
[0015] Figure 4 This is a flowchart showing an example of the procedure of the motion control process executed in the computer system according to the first embodiment of the present invention.
[0016] Figure 5 This is a functional block diagram showing the configuration of a computer system according to a second embodiment of the present invention.
[0017] Figure 6 This is a flowchart showing an example of the procedure of the motion control process executed in the computer system according to the second embodiment of the present invention.
[0018] Figure 7 This is a diagram showing an example of an operation mode selection screen displayed in the computer system according to the embodiment of the present invention. DETAILED DESCRIPTION
[0019] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Note that the following embodiment is an example of embodying the present invention and does not limit the technical scope of the present invention.
[0020] The electronic device of the present invention is used to connect to a computer main body equipped with a specified operating system to communicate and perform a specified function. The electronic device is used by connecting to a computer main body via a cable, wireless, etc. The electronic device is, for example, an input device such as a keyboard, a mouse, a game controller, and a touch panel device, and an output device such as a display, a projector, a headset, a speaker, and a printer, and a network device such as a router. In this embodiment, as an example of the electronic device, a touch panel device is cited for illustration.
[0021] The computer body of the present invention is equipped with a prescribed operating system (OS), and the functions of the electronic device are realized by the OS. The OS is classified into multiple categories such as Windows, Mac, Android, and Linux (all registered trademarks). In addition, each OS includes multiple categories that are different for each version.
[0022] For example, when Windows OS is installed in the computer body, the touch panel device realizes the function of the action mode that can accept the touch input of the user's finger and the touch input of the touch pen. In addition, for example, when Mac OS is installed in the computer body, the touch panel device realizes the function of the action mode that can accept the touch input of the touch pen.
[0023] Thus, the functions that can be used by the touch panel device differ depending on the type of the OS. In this embodiment, a configuration is provided that can easily set an operation mode corresponding to the function of the touch panel device corresponding to the type of the OS. The specific configuration of the present invention is described below.
[0024] [First embodiment]
[0025] [Computer body 20]
[0026] Figure 1 1 is a diagram showing a configuration of a computer system 1 according to the first embodiment. The computer system 1 includes a computer main body 20 and a touch panel device 10. The computer main body 20 and the touch panel device 10 are connected to each other via a cable or the like so as to be capable of data communication.
[0027] The computer main body 20 includes an operating system (OS) 21 , a USB communication control circuit board 22 , and an Ether communication control circuit board 23 .
[0028] The OS 21 is a predetermined operating system, and is pre-installed in the computer main body 20 .
[0029] The USB communication control circuit board 22 is a communication interface for performing data communication in accordance with the USB communication standard (an example of the second communication standard of the present invention) between the computer body 20 and the touch panel device 10. In the USB communication standard, data communication is performed using, for example, the HID protocol.
[0030] The Ethernet communication control circuit board 23 is a communication interface for performing data communication in accordance with the Ethernet communication standard (an example of the first communication standard of the present invention) between the computer body 20 and the touch panel device 10. In the Ethernet communication standard, data communication is performed using, for example, the TCP / IP protocol.
[0031] [Touch panel device 10]
[0032] The touch panel device 10 includes a touch control unit 11 , a USB communication control circuit board 12 , an Ether communication control circuit board 13 , a storage unit 14 , a touch panel 15 , and a control device 16 .
[0033] The USB communication control circuit substrate 12 is a communication interface for performing data communication in accordance with the USB communication standard (an example of the second communication standard of the present invention) between the touch panel device 10 and the computer body 20. In the USB communication standard, data communication using, for example, the HID protocol is performed. The USB communication control circuit substrate 12 of the touch panel device 10 and the USB communication control circuit substrate 22 of the computer body 20 are connected to each other through a cable N1. The USB communication control circuit substrate 12 is an example of the second communication unit of the present invention.
[0034] The Ether communication control circuit substrate 13 is a communication interface for performing data communication in accordance with the Ethernet communication standard (an example of the first communication standard of the present invention) between the touch panel device 10 and the computer body 20. In the Ethernet communication standard, data communication using, for example, the TCP / IP protocol is performed. The Ether communication control circuit substrate 13 of the touch panel device 10 and the Ether communication control circuit substrate 23 of the computer body 20 are connected to each other through a cable N2. The Ether communication control circuit substrate 13 is an example of the first communication unit of the present invention.
[0035] The touch panel 15 is a touch panel with a display panel that can receive touch inputs from a user's finger or a touch pen on the input surface of the touch panel 15. The touch panel 15 may be an infrared touch panel, an electrostatic capacitance touch panel, or a pressure-sensitive touch panel. The touch panel 15 may be disposed in front of the display panel or may be built into the display panel.
[0036] The storage unit 14 is a nonvolatile storage unit such as a HDD (Hard Disk Drive) or an SSD (Solid State Drive) that stores various information. Specifically, the storage unit 14 includes data such as OS type information D1 and operation mode information D2. Figure 2 is a diagram showing an example of OS category information D1. Figure 3 It is a diagram showing an example of the operation mode information D2.
[0037] The OS category information D1 is information corresponding to the category of the operating system. Figure 2 In the OS category information D1 shown, the "TLL value (Time To Live)" as a communication parameter is registered in association with the category of OS 21. The TLL value is a timer value included in a data group sent when a LAN connection is established between terminals, and is an indicator of the stability of the communication path. In the middle of the communication path, each time it passes through a relay device, a subtraction operation is performed one by one, and when it becomes "0", the data group is discarded (communication is impossible). The TLL value is different depending on the category of OS 21, so, for example, Figure 2 As shown, based on the TLL value, the OS 21 can be roughly classified into three categories: "Linux / Mac / Android", "Windows", and "Others" (first classification). The TLL value is an example of the first communication parameter of the present invention.
[0038] The operation mode information D2 is information about the operation mode that can be activated in the touch panel device 10. Figure 3 In the action mode information D2 shown, multiple action modes and OS categories that can implement each action mode are registered correspondingly. The action modes include "normal mode", "touch-only mode", "pen-only mode", "mouse mode", etc. The normal mode is an action mode that can accept touch input from the user's fingers and touch input from the touch pen. The touch-only mode is an action mode that can only accept touch input from the user's fingers. The pen-only mode is an action mode that can only accept touch input from the touch pen. The mouse mode is an action mode that can only accept input from the user's mouse operation. In each action mode, one or more OS categories are associated.
[0039] The action modes of the present invention include at least two action modes: a "pen-only mode" (first action mode) capable of detecting input from a touch pen, a "touch-only mode" (second action mode) capable of detecting input from a user's finger, and a "normal mode" (third action mode) capable of detecting input from both a touch pen and a finger.
[0040] In addition, as another embodiment, part or all of the information such as the OS type information D1 and the operation mode information D2 may be stored in the computer body 20 or a server accessible from the touch panel device 10. In this case, the touch panel device 10 may obtain the information from the computer body 20 or the server and execute the operation control process described later (see Figure 4 ) and other processing.
[0041] In addition, the storage unit 14 stores information for causing the touch control unit 11 and the control device 16 to execute the motion control process described later (see Figure 4 ) or other control programs. For example, the motion control program is non-temporarily recorded in a computer-readable recording medium such as a USB, CD, or DVD, and is read and stored in the storage unit 14 by a reading device (not shown) such as a USB drive, CD drive, or DVD drive electrically connected to the touch panel device 10. In addition, the motion control program can also be downloaded from a server accessible from the touch panel device 10 and stored in the storage unit 14.
[0042] The touch control unit 11 and the control device 16 have control devices such as a CPU, a ROM, and a RAM. The CPU is a processor that performs various calculations. The ROM is a non-volatile storage unit that pre-stores control programs such as BIOS and OS for the CPU to perform various calculations. The RAM is a volatile or non-volatile storage unit that stores various information and is used as a temporary memory (operating area) for various processes performed by the CPU. In addition, the touch control unit 11 and the control device 16 control the touch panel device 10 by executing various control programs pre-stored in the ROM or the storage unit 14 through the CPU. In addition, the touch control unit 11 and the control device 16 can be understood as a control unit that performs unified control of the touch panel device 10.
[0043] The control device 16 includes an OS type determination processing unit 161 and an output processing unit 162 .
[0044] The OS type determination processing unit 161 determines the type of the OS 21 installed in the computer body 20. Specifically, the OS type determination processing unit 161 classifies the type of the OS 21 into the first type based on the predetermined communication parameter obtained from the Ether communication control circuit board 13. For example, if the OS type determination processing unit 161 obtains the TLL value from the Ether communication control circuit board 13, it refers to Figure 2 The OS category information D1 is used to determine the category of the OS 21 corresponding to the TLL value.
[0045] For example, when the power of the computer system 1 is turned on, the control device 16 performs terminal detection of the connection object based on the Ping command on the Ether communication control circuit substrate 23 of the computer body 20 and the Ether communication control circuit substrate 13 of the touch panel device 10 through LAN communication (TCP / IP protocol communication). Specifically, the control device 16 executes the Ping command in the TCP / IP protocol and receives an echo response message from the computer body 20. The control device 16 obtains the TTL value included in the echo response message and detects the TTL value by referring to the TTL value in the echo response message. Figure 2 The OS category information D1 determines the category of the OS 21 corresponding to the TLL value.
[0046] When the TLL value is "62 to 64", the OS type determination processing unit 161 determines that the OS 21 of the computer main body 20 is any one of "Linux / Mac / Android". In addition, for example, when the TLL value is "126 to 128", the OS type determination processing unit 161 determines that the OS 21 of the computer main body 20 is "Windows". In addition, for example, when the TLL value is "253 to 255", the OS type determination processing unit 161 determines that the OS 21 of the computer main body 20 is "other".
[0047] Here, when the TLL value is "62-64", the OS category determination processing unit 161 further classifies the category of OS21 into the second category for determination based on the communication parameters obtained from the USB communication control circuit substrate 12. For example, the OS category determination processing unit 161 determines whether OS21 is "Mac" or "Android" based on the control parameters "Set Feature Report" and "Device Mode" that control the action mode (touch mode) of the touch panel 15. Specifically, when "Set Feature Report" is not included in the control parameters, the OS category determination processing unit 161 determines OS21 as "MacOS version 10.15". In addition, when "Set Feature Report" is included in the control parameters and "Device Mode" is "multi-touch mode", the OS category determination processing unit 161 determines OS21 as "Android". In addition, when "Set Feature Report" is included in the control parameters and "Device Mode" is not "multi-touch mode", the OS category determination processing unit 161 determines OS21 as "MacOS version ~10.14".
[0048] In this way, the OS type determination processing unit 161 classifies the type of the OS 21 into the first type and performs determination (first determination processing) based on the first communication parameter (TLL value) obtained from the Ether communication control circuit board 13, and further classifies the type of the OS 21 into the second type and performs determination (second determination processing) based on the second communication parameter ("Set Feature Report", "Device Mode") obtained from the USB communication control circuit board 12. "Set Feature Report" and "Device Mode" are examples of the second communication parameters of the present invention.
[0049] Here, the first classification is the classification of OS 21 corresponding to the TLL value, and includes, for example, "Linux / Mac / Android", "Windows", and "Others". In addition, the second classification is the classification of OS 21 corresponding to the control parameters ("Set FeatureReport", "Device Mode"), and includes, for example, "Android", "MacOS version 10.15", and "MacOS version ~ 10.14".
[0050] The output processing unit 162 outputs the determination result of the OS type determination processing unit 161 to the touch control unit 11. Specifically, the output processing unit 162 outputs the determined type information of the OS 21 to the touch control unit 11.
[0051] The touch control unit 11 includes a setting processing unit 111 and a touch input processing unit 112. The touch control unit 11 uses data communication in accordance with the USB communication standard via the USB communication control circuit board 12, and controls the operation of the touch panel 15 according to the OS 21 of the computer body 20. Specifically, the touch control unit 11 controls a predetermined function (touch detection function) through an operation mode set by the setting processing unit 111 based on communication between the USB communication control circuit board 12 and the computer body 20. The touch control unit 11 is an example of a control unit of the present invention.
[0052] The setting processing unit 111 sets the operation mode of the touch panel 15. Specifically, the setting processing unit 111 sets the operation mode corresponding to the type of the OS 21 determined by the OS type determination processing unit 161.
[0053] For example, when the type of the OS 21 determined by the OS type determination processing unit 161 is "Windows", the setting processing unit 111 refers to Figure 3The operation mode information D2 is used to determine the "normal mode" corresponding to "Windows", and the determined "normal mode" is set as the operation mode of the touch panel 15. In addition, for example, when the type of OS 21 determined by the OS type determination processing unit 161 is "Android version ~ 5", the setting processing unit 111 refers to Figure 3 The operation mode information D2 is used to determine the "touch-only mode" corresponding to "Android version ~5", and the determined "touch-only mode" is set as the operation mode of the touch panel 15. In addition, for example, when the type of OS 21 determined by the OS type determination processing unit 161 is "MacOS version 10.15", the setting processing unit 111 refers to Figure 3 The operation mode information D2 is used to determine the "pen only mode" corresponding to "MacOS version 10.15", and the determined "pen only mode" is set as the operation mode of the touch panel 15. In addition, for example, when the type of the OS 21 determined by the OS type determination processing unit 161 is "MacOS version ~ 10.14", the setting processing unit 111 refers to Figure 3 The “mouse mode” corresponding to “MacOS version ˜10.14” is determined based on the operation mode information D2 , and the determined “mouse mode” is set as the operation mode of the touch panel 15 .
[0054] The touch input processing unit 112 controls the function of the touch panel 15 according to the operation mode set by the setting processing unit 111. Specifically, the touch input processing unit 112 detects the input position (position coordinates) on the input surface of the touch panel 15 that is touch-inputted by a user's finger, a touch pen, etc. Specifically, the touch input processing unit 112 detects, for example, the position where the touch pen contacts the touch panel 15 as the position coordinates on the input surface of the touch pen input.
[0055] When the operation mode is set to "normal mode", the touch input processing unit 112 detects touch inputs by the user's finger and touch inputs by the touch pen. In addition, when the operation mode is set to "touch-only mode", the touch input processing unit 112 detects only touch inputs by the user's finger. In addition, when the operation mode is set to "pen-only mode", the touch input processing unit 112 detects only touch inputs by the touch pen. In addition, when the operation mode is set to "mouse mode", the touch input processing unit 112 detects only inputs by the user's mouse operation.
[0056] Furthermore, the touch input processing unit 112 transmits information on the position coordinates of the detected touch input to the computer body 20 via the USB communication control circuit board 12 by data communication in accordance with the USB communication standard.
[0057] [Motion Control Processing]
[0058] Below, while referring to Figure 4 , while describing the motion control processing performed by the touch control unit 11 and the control device 16 of the touch panel device 10 of the first embodiment. In addition, the touch control unit 11 and the control device 16 can be understood as a control unit that controls the touch panel device 10 in a unified manner. The motion control processing performed by the control unit is described below.
[0059] In addition, the present invention can be understood as the invention of an action control method (control method of the present invention) for executing one or more steps included in the action control process, and one or more steps included in the action control process described herein may also be appropriately omitted. In addition, the execution order of each step of the action control process may also be different within the range of producing the same effect. Further, the case where the control unit executes each step in the action control process is described as an example, but the action control method in which multiple processors are distributed and execute each step in the action control process is also considered as another embodiment.
[0060] First, when the power of the computer system 1 is turned on ( S11 ), the control unit establishes data communication with the computer body 20 in accordance with the Ethernet communication standard ( S12 ).
[0061] Next, in step S13, the control unit (OS type determination processing unit 161) determines the type of the OS 21 installed in the computer body 20. Specifically, the control unit performs a first determination process, wherein the first determination process is a process of classifying the type of the OS 21 into a first category and making a determination based on the TLL value obtained from the Ether communication control circuit board 13. For example, the control unit obtains the TLL value from the Ether communication control circuit board 13 and refers to the TLL value. Figure 2 The OS category information D1 is used to determine the category of the OS 21 corresponding to the TLL value. Step S13 is an example of the determination step of the present invention.
[0062] When the TLL value is "126 to 128", the control unit determines that the OS 21 is "Windows" (S15). When the TLL value is "253 to 255", the control unit determines that the OS 21 is "other" (S16). After steps S15 and S16, the process moves to step S24.
[0063] On the other hand, when the TLL value is "62 to 64", the control unit determines that the OS 21 is any one of "Linux / Mac / Android", and the process shifts to step S17.
[0064] In step S17 , the control unit establishes data communication between the touch panel device 10 and the computer body 20 in accordance with the USB communication standard.
[0065] Next, in step S18, the control unit (OS category determination processing unit 161) performs a second determination process, wherein the second determination process is a process of classifying the category of the OS 21 into a second category and making a determination based on the communication parameters obtained from the USB communication control circuit substrate 12. For example, the control unit determines whether the OS 21 is "Mac" or "Android" based on the control parameters "Set Feature Report" and "Device Mode" for controlling the operation mode of the touch panel 15. Step S18 is an example of the determination step of the present invention.
[0066] In step S19, the control unit determines whether "Set Feature Report" is included in the control parameter. If "Set Feature Report" is not included in the control parameter (S19: No), the control unit determines that OS 21 is "MacOS version 10.15" (S20). If "Set Feature Report" is included in the control parameter (S19: Yes), the process transfers to step S21.
[0067] In step S21, the control unit determines whether "Device Mode" is "Multi-touch Mode". When "Device Mode" is "Multi-touch Mode" (S21: Yes), the control unit determines that OS 21 is "Android" (S22). On the other hand, when "Device Mode" is not "Multi-touch Mode" (S21: No), the control unit determines that OS 21 is "MacOS Version ~10.14" (S23). After steps S20, S22, and S23, the process transfers to step S24.
[0068] In step S24, the control unit (setting processing unit 111) sets the operation mode of the touch panel 15. Specifically, the control unit refers to Figure 3 The operation mode information D2 sets the operation mode corresponding to the determined type of the OS 21. Step S24 is an example of a setting step of the present invention.
[0069] Next, in step S25, the control unit (touch input processing unit 112) controls the function of the touch panel 15 according to the set action mode. Specifically, the control unit detects the position coordinates of the touch input corresponding to the set action mode, and sends the position information to the computer body 20. Step S25 is an example of the control step of the present invention. In the above manner, the action control process is performed.
[0070] As described above, the touch panel device 10 of the first embodiment is connected to the computer main body 20 equipped with a predetermined operating system OS to communicate and play a function of detecting touch input. In addition, the touch panel device 10 includes: an Ether communication control circuit substrate 13 that communicates with the computer main body 20 based on the Ethernet communication standard; and a USB communication control circuit substrate 12 that communicates with the computer main body 20 based on the USB communication standard. In addition, the touch panel device 10 classifies and determines the type of OS 21 based on the first communication parameter TLL value obtained from the Ether communication control circuit substrate 13, and sets an action mode corresponding to the determined type of OS 21. In addition, the touch panel device 10 classifies and determines the type of OS 21 based on the second communication parameter ("Set Feature Report", "Device Mode") obtained from the USB communication control circuit substrate 12, and sets an action mode corresponding to the determined type of OS 21. Moreover, the touch panel device 10 performs a touch input detection process based on the action mode based on the communication between the USB communication control circuit substrate 12 and the computer main body 20.
[0071] Thus, in the touch panel device 10 used by being connected to the computer body 20, it is possible to easily set an operation mode corresponding to the function of the touch panel device 10 corresponding to the OS 21 of the computer body 20. Therefore, the user does not need to set the operation mode corresponding to the function that can be used in the touch panel device 10 by himself, so that the convenience can be improved.
[0072] [Second Embodiment]
[0073] Figure 5 1 is a diagram showing the configuration of a computer system 1 according to the second embodiment. Hereinafter, the same components as those of the computer system 1 according to the first embodiment are denoted by the same reference numerals, and description thereof will be omitted.
[0074] The computer main body 20 includes an operating system OS 21 and a USB communication control circuit board 22. That is, in the computer main body 20 of the second embodiment, the Ether communication control circuit board 23 (see Figure 1 ).
[0075] The touch panel device 10 includes a touch control unit 11, a USB communication control circuit substrate 12, an Ether communication control circuit substrate 13, a storage unit 14, a touch panel 15, a control device 16, and a communication relay device 17. That is, in the touch panel device 10 of the second embodiment, a communication relay device 17 is further added to the touch panel device 10 of the first embodiment.
[0076] The communication relay device 17 has a communication conversion unit 171 and a connection destination switching unit 172. The communication relay device 17 is disposed between the USB communication control circuit substrate 22 of the computer body 20 and the USB communication control circuit substrate 12 and the Ether communication control circuit substrate 13 of the touch panel device 10, and relays the communication between the computer body 20 and the touch panel device 10. The communication relay device 17 and the USB communication control circuit substrate 22 of the computer body 20 are connected by a cable N.
[0077] The connection destination switching unit 172 switches the connection destination for communication with the computer main body 20 between the USB communication control circuit board 12 and the Ether communication control circuit board 13. The connection destination switching unit 172 switches the connection destination according to the instruction of the touch control unit 11.
[0078] The communication conversion unit 171 converts the communication based on the USB communication standard with the computer main body 20 into the Ethernet communication standard, and relays the communication to the Ether communication control circuit board 13 .
[0079] The touch control unit 11 includes a setting processing unit 111 , a touch input processing unit 112 , and a connection destination switching processing unit 113 .
[0080] The connection destination switching processing unit 113 outputs a switching instruction to switch the connection destination to the connection destination switching unit 172. Specifically, the connection destination switching processing unit 113 outputs a switching instruction to switch the connection destination to the Ether communication control circuit substrate 13 to the connection destination switching unit 172 before the OS type determination processing unit 161 classifies the type of the OS 21 into the first category and makes a determination. That is, the connection destination switching processing unit 113 outputs a switching instruction to switch the connection destination to the Ether communication control circuit substrate 13 to the connection destination switching unit 172 before the OS type determination processing unit 161 performs a first determination process, wherein the first determination process is a process of classifying the type of the OS 21 into the first category and making a determination based on the TLL value. Thus, the connection destination switching unit 172 connects the computer body 20 to the Ether communication control circuit substrate 13 in a communicable manner before the OS type determination processing unit 161 classifies the type of the OS 21 into the first category and makes a determination.
[0081] When the computer body 20 and the Ether communication control circuit substrate 13 are connected, the OS category determination processing unit 161 classifies the category of the OS 21 into the first category and makes a determination based on the TLL value obtained from the Ether communication control circuit substrate 13 after the communication conversion from USB communication to Internet communication is performed by the communication conversion unit 171.
[0082] For example, when the OS type determination processing unit 161 obtains the TLL value from the Ether communication control circuit board 13, it refers to Figure 2 The OS category information D1 is used to determine the category of the OS 21 corresponding to the TLL value.
[0083] When the TLL value is "62 to 64", the OS category determination processing unit 161 further classifies the category of the OS 21 into the second category and makes a determination based on the communication parameters obtained from the USB communication control circuit substrate 12. Specifically, the connection destination switching processing unit 113 outputs a switching instruction to switch the connection destination to the USB communication control circuit substrate 12 to the connection destination switching unit 172 after the OS category determination processing unit 161 classifies the category of the OS 21 into the first category and makes a determination and before the OS category determination processing unit 161 classifies the category of the OS 21 into the second category and makes a determination. That is, the connection destination switching processing unit 113 outputs a switching instruction to switch the connection destination to the USB communication control circuit substrate 12 to the connection destination switching unit 172 before the OS category determination processing unit 161 performs the second determination processing, which is a processing for classifying and determining the category of the OS 21 based on the communication parameters obtained from the USB communication control circuit substrate 12. Thus, the connection destination switching section 172 connects the computer body 20 and the USB communication control circuit board 12 so as to be communicable before the OS type determination processing section 161 classifies and determines the type of the OS 21 as the second type.
[0084] When the computer body 20 and the USB communication control circuit board 12 are connected, the OS type determination processing unit 161 classifies the type of the OS 21 into the second type and makes a determination based on the control parameters ("SetFeatureReport", "DeviceMode") obtained from the USB communication control circuit board 12 via the communication relay device 17.
[0085] In this way, the OS category determination processing unit 161 classifies the category of OS 21 into a first category and performs a determination (first determination processing) based on the first communication parameter (TLL value) obtained from the Ether communication control circuit substrate 13 via the communication relay device 17 (communication conversion unit 171), and then further classifies the category of OS 21 into a second category and performs a determination (second determination processing) based on the second communication parameter ("Set Feature Report", "Device Mode") obtained from the USB communication control circuit substrate 12 via the communication relay device 17.
[0086] The output processing unit 162 outputs the determination result of the OS type determination processing unit 161 to the touch control unit 11. Specifically, the output processing unit 162 outputs the determined type of the OS 21 to the touch control unit 11.
[0087] The touch control unit 11 controls the operation of the touch panel 15 according to the OS 21 of the computer body 20 using data communication in accordance with the USB communication standard via the USB communication control circuit board 12. The touch control unit 11 includes a setting processing unit 111 and a touch input processing unit 112.
[0088] The setting processing unit 111 sets the operation mode of the touch panel 15. Specifically, the setting processing unit 111 sets the operation mode corresponding to the type of the OS 21 determined by the OS type determination processing unit 161.
[0089] [Motion Control Processing]
[0090] Below, refer to Figure 6 The motion control process performed by the touch control unit 11 and the control device 16 of the touch panel device 10 according to the second embodiment will be described. Figure 4 ) The same processing steps are marked with the same figure numbers and their descriptions are omitted.
[0091] First, when the power of the computer system 1 is turned on (S11), the control unit (connection destination switching processing unit 113) outputs a switching instruction to the connection destination switching unit 172 (S121), which switches the connection destination for communication with the computer main body 20 to the Ether communication control circuit substrate 13. That is, before executing the first determination process of classifying and determining the type of the OS 21 based on the TLL value, the control unit outputs a switching instruction to the connection destination switching unit 172 to switch the connection destination to the Ether communication control circuit substrate 13. As a result, the connection destination switching unit 172 connects the computer main body 20 and the Ether communication control circuit substrate 13 so that they can communicate.
[0092] Next, in step S13, the control unit (OS type determination processing unit 161) determines the type of the OS 21 installed in the computer body 20. Specifically, the control unit performs a first determination process, wherein the first determination process is a process of classifying the type of the OS 21 into the first type and determining it based on the TLL value obtained from the Ether communication control circuit substrate 13 via the communication conversion unit 171. For example, the control unit obtains the TLL value from the Ether communication control circuit 13 and refers to the TLL value. Figure 2 The OS category information D1 is used to determine the category of the OS 21 corresponding to the TLL value.
[0093] Here, when the TLL value is "62 to 64", the control unit determines that the OS 21 is any one of "Linux / Mac / Android", and the process shifts to step S171.
[0094] In step S171, the control unit outputs a switching instruction to switch the connection destination for communication with the computer main body 20 to the USB communication control circuit substrate 12 to the connection destination switching unit 172. That is, before executing the second determination process, which is a process of classifying and determining the type of the OS 21 based on the communication parameters obtained from the USB communication control circuit substrate 12, the control unit outputs a switching instruction to switch the connection destination to the USB communication control circuit substrate 12 to the connection destination switching unit 172. As a result, the connection destination switching unit 172 connects the computer main body 20 and the USB communication control circuit substrate 12 so that they can communicate.
[0095] Next, in step S18, the control unit (OS type determination processing unit 161) performs a second determination process, wherein the second determination process is a process of classifying and determining the type of the OS 21 based on the communication parameters obtained from the USB communication control circuit substrate 12 via the communication relay device 17. For example, the control unit determines whether the OS 21 is "Mac" or "Android" based on the control parameters "Set Feature Report" and "Device Mode" for controlling the action mode of the touch panel 15. The subsequent processing is similar to the action control processing of the first embodiment (see Figure 4 )same.
[0096] As described above, the touch panel device 10 of the second embodiment is connected to the computer body 20 equipped with a predetermined operating system (OS) to communicate and play a function of detecting touch input. The touch panel device 10 includes: an Ether communication control circuit substrate 13 that communicates with the computer body 20 based on the Ethernet communication specification; and a USB communication control circuit substrate 12 that communicates with the computer body 20 based on the USB communication specification. In addition, the touch panel device 10 switches the connection destination for communication with the computer body 20 between the Ether communication control circuit substrate 13 and the USB communication control circuit substrate 12. Specifically, the touch panel device 10 connects the computer body 20 to the Ether communication control circuit substrate 13, classifies and determines the type of the OS 21 based on the first communication parameter (TLL value) obtained from the Ether communication control circuit substrate 13, and sets the action mode corresponding to the determined type of the OS 21. In addition, the touch panel device 10 connects the computer body 20 to the USB communication control circuit substrate 12, classifies and determines the type of the OS 21 based on the second communication parameter ("Set Feature Report", "Device Mode") obtained from the USB communication control circuit substrate 12, and sets an operation mode corresponding to the determined type of the OS 21. Furthermore, the touch panel device 10 performs a detection process based on the touch input according to the operation mode based on the communication between the USB communication control circuit substrate 12 and the computer body 20.
[0097] In this way, the touch panel device 10 performs the following determination processing (the first determination processing, the second determination processing): the connection destination for communication with the computer body 20 is switched between the Ether communication control circuit substrate 13 and the USB communication control circuit substrate 12, and the operating system (OS) of the computer body 20 is determined using different communication parameters (the TLL value, the control parameters ("Set FeatureReport", "Device Mode")). As a result, in the touch panel device 10 connected to the computer body 20 and used, the operation mode corresponding to the function of the touch panel device 10 corresponding to the OS 21 of the computer body 20 can be easily set. Therefore, the user does not need to set the operation mode corresponding to the function that can be used in the touch panel device 10 by himself, so that the convenience can be improved.
[0098] [Modifications]
[0099] The present invention is not limited to the above-described embodiments. For example, the touch panel device 10 may include a structure capable of accepting an operation of selecting the operation mode by a user in each of the first embodiment and the second embodiment. Figure 7As shown in FIG. 1 , the touch panel device 10 displays a selection screen for selecting an operation mode on the display panel, and receives a selection operation from the user. The touch panel device 10 is set to the operation mode selected by the user.
[0100] Here, the touch panel device 10 may also display only the operation mode corresponding to the operating system (OS) of the computer body 20 on the selection screen in a selectable manner. For example, when the type of the OS 21 determined by the OS type determination processing unit 161 is "Windows", the touch input processing unit 112 can detect the touch input of the user's finger and the touch input of the touch pen. In this case, the touch panel device 10 displays "normal mode", "touch-only mode", "pen-only mode" and "mouse mode" on the selection screen in a selectable manner.
[0101] On the other hand, for example, when the type of the OS 21 determined by the OS type determination processing unit 161 is "Mac", the touch input processing unit 112 can detect the touch input of the touch pen and the input of the user's mouse operation. In this case, the touch panel device 10 is displayed on the selection screen in a manner that only the "pen mode" and the "mouse mode" can be selected.
[0102] In addition to the above-mentioned embodiments, there may be various modifications of the present invention. These modifications should not be understood as not belonging to the scope of the present invention. In the present invention, the meaning equivalent to the claims and all modifications within the scope should be included.
[0103] The scope of the present invention is not limited to the above contents, but is defined by the claims, so the embodiments described in this specification are considered to be illustrative rather than limiting. Therefore, all changes that do not depart from the scope and limits of the claims, as well as contents that are equivalent to the scope and limits of the claims, are included in the scope of the claims.
Claims
1. An electronic device that is connected to a computer main body equipped with a predetermined operating system to communicate and is used to perform a predetermined function, wherein the electronic device is characterized in that it has: A first communication unit that communicates with the computer main body based on a first communication standard; A second communication unit that communicates with the computer main body based on a second communication standard; a determination processing unit that classifies and determines the type of the operating system based on the first communication parameter obtained from the first communication unit; a setting processing unit that sets an operation mode corresponding to the type of the operating system determined by the determination processing unit; as well as a control unit that controls the predetermined function according to the operation mode set by the setting processing unit based on the communication between the second communication unit and the computer main body, The first communication standard is an Ethernet standard and is a standard using the TCP / IP protocol. The second communication standard is a USB standard and is a standard using a HID protocol.
2. The electronic device according to claim 1, characterized in that: The electronic device further includes a communication relay device that converts communication based on the second communication standard with the computer main body into the first communication standard and relays the communication to the first communication unit.
3. The electronic device according to claim 1 or 2, characterized in that: The electronic device further includes a connection destination switching unit that switches a connection destination for communication with the computer main body between the first communication unit and the second communication unit. The connection destination switching unit switches the connection destination to the first communication unit before the determination processing unit classifies the type of the operating system into the first category and makes a determination, After the determination processing unit classifies the type of the operating system into the first classification and makes a determination, and before the determination processing unit classifies the type of the operating system into the second classification and makes a determination, the connection destination is switched to the second communication unit.
4. The electronic device according to claim 1, characterized in that: The determination processing unit classifies and determines the type of the operating system into a first category based on the first communication parameter obtained from the first communication unit, and further classifies and determines the type of the operating system into a second category based on the second communication parameter obtained from the second communication unit.
5. The electronic device according to claim 1, characterized in that: The first communication parameter is a value of a Time To Live (TTL).
6. The electronic device according to claim 4, characterized in that: The second communication parameters include a Set Feature Report parameter and a Device Mode parameter.
7. The electronic device according to claim 1, characterized in that: The motion modes include at least two of a first motion mode capable of detecting an input of a touch pen, a second motion mode capable of detecting an input of a finger, and a third motion mode capable of detecting an input of both a touch pen and a finger.
8. A control method, which is a control method of an electronic device, the electronic device is used to connect and communicate with a computer main body equipped with a specified operating system and perform a specified function, characterized in that: The electronic device comprises: A first communication unit that communicates with the computer main body based on a first communication standard; as well as a second communication unit that communicates with the computer main body based on a second communication standard, The first communication standard is an Ethernet standard and is a standard using the TCP / IP protocol. The second communication specification is a USB standard and a standard using a HID protocol. The control method is performed by one or more processors to perform the following steps: a determination step of classifying and determining the type of the operating system based on a first communication parameter obtained from the first communication unit; a setting step of setting an operation mode corresponding to the type of the operating system determined by the determining step; as well as The control step controls the predetermined function according to the operation mode set in the setting step based on the communication between the second communication unit and the computer body.
9. A computer-readable non-temporary recording medium storing a program for controlling an electronic device, the electronic device being used to connect to and communicate with a computer main body equipped with a prescribed operating system and to perform prescribed functions, characterized in that: The electronic device comprises: A first communication unit that communicates with the computer main body based on a first communication standard; as well as a second communication unit that communicates with the computer main body based on a second communication standard, The first communication standard is an Ethernet standard and is a standard using the TCP / IP protocol. The second communication specification is a USB standard and a standard using a HID protocol. The program is used to cause one or more processors to perform the following steps: a determination step of classifying and determining the type of the operating system based on a first communication parameter obtained from the first communication unit; a setting step of setting an operation mode corresponding to the type of the operating system determined by the determining step; as well as The control step controls the predetermined function according to the operation mode set in the setting step based on the communication between the second communication unit and the computer body.
