WO2017215671A1 - Method, apparatus and system for controlling access device - Google Patents
Method, apparatus and system for controlling access device Download PDFInfo
- Publication number
- WO2017215671A1 WO2017215671A1 PCT/CN2017/088878 CN2017088878W WO2017215671A1 WO 2017215671 A1 WO2017215671 A1 WO 2017215671A1 CN 2017088878 W CN2017088878 W CN 2017088878W WO 2017215671 A1 WO2017215671 A1 WO 2017215671A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- access device
- control
- terminal
- area
- access
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 70
- 238000005538 encapsulation Methods 0.000 claims description 4
- 241000699666 Mus <mouse, genus> Species 0.000 description 71
- 230000006870 function Effects 0.000 description 28
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 235000013599 spices Nutrition 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 8
- 230000001960 triggered effect Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 2
- 235000016623 Fragaria vesca Nutrition 0.000 description 1
- 240000009088 Fragaria x ananassa Species 0.000 description 1
- 235000011363 Fragaria x ananassa Nutrition 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002650 habitual effect Effects 0.000 description 1
- 239000010410 layer Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/0489—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 dedicated keyboard keys or combinations thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
Definitions
- the present disclosure relates to the field of communications, for example, to a method, apparatus, and system for controlling an access device.
- the operation cloud terminal still adopts a classic control mode, such as a mouse plus a keyboard. This classic control mode can control the cloud terminal conveniently and efficiently in most scenarios, and the handling is good.
- the control method, device and system of the access device can solve the related art.
- the operator When the mouse and the keyboard device are inconvenient to move, the operator must control the wireless mouse and the keyboard in a fixed position, and the keyboard and mouse control are limited. The scope of the problem.
- a method for controlling an access device, applied to a terminal includes:
- the control command is sent to the access device according to a preset connection manner.
- the configuring the control area on the display interface of the mobile terminal includes:
- At least one of a mouse control area and a keyboard control area is configured on the display interface.
- the configuring at least one of the mouse control area and the keyboard control area on the display interface includes:
- At least one of the mouse control area and the keyboard control area is configured on the display interface according to a preset application setting.
- the configuring the keyboard control area on the display interface includes:
- the keyboard control area is configured to be at least one of a nine-input input, a 26-key input, and a handwriting input.
- the generating the control instruction according to the input signal includes:
- the data corresponding to the event type is encapsulated to obtain the control instruction.
- the method before the obtaining the input signal in the control area, the method further includes:
- the terminal enables the access function
- the terminal searches for an access device
- the terminal accesses the access device according to the preset connection manner
- the terminal monitors the manipulation area and detects whether the key input signal exists.
- the sending the control command to the access device according to the preset connection manner includes:
- the preset connection manner includes at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
- a method for controlling an access device comprising:
- the access device receives the control command according to the preset connection manner, where the control command is generated by the terminal according to the key input signal acquired in the manipulation area on the display interface thereof;
- the access device determines an access point specified by the terminal in the control command
- the access device displays a keying result corresponding to the control instruction according to the access point.
- the method before the determining, by the access device, the access point specified by the terminal in the control instruction, the method further includes:
- the access device decapsulates the control command.
- the method further includes: before the access device receives the control instruction according to the preset connection manner, the method further includes:
- the access device enables the access function.
- the access device searches for the terminal to be accessed
- the access device accesses the terminal according to the preset connection manner.
- the preset connection manner includes at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
- the access device determines that the access point specified by the terminal in the control instruction includes:
- the access device determines whether the access point is a cloud computing network.
- the displaying, by the access point, the typing result corresponding to the control instruction includes:
- the access device sends the control instruction to a cloud server in the cloud computing network, and receives and displays the control fed back by the cloud server.
- the access device matches the typing result to the control instruction and displays the typing result.
- the typing result includes at least one of the following: a selection operation, a text input operation, a control operation, or a movement operation.
- a control device for an access device is disposed in the terminal, and includes:
- the configuration module is configured to configure a manipulation area on the display interface of the terminal
- An instruction generation module configured to acquire a key-in signal in the manipulation area and generate a control instruction according to the key-in signal
- the sending module is configured to send the control command to the access device according to the preset connection manner.
- a control device for an access device is disposed in the access device, and includes:
- the receiving module is configured to receive the control command according to the preset connection manner, wherein the control command is generated by the terminal according to the key input signal acquired in the manipulation area on the display interface thereof;
- Determining a module configured to determine an access point specified by the terminal in the control command
- a display module configured to display the control instruction according to the access point.
- a control system for an access device comprising: an access device and a terminal, wherein the access device is connected to the terminal,
- the access device includes a control device of an access device disposed in the access device;
- the terminal includes a control device of an access device disposed in the terminal.
- a storage medium configured to store program code for performing the following steps: configuring a manipulation area on a display interface of the terminal; acquiring a key input signal in the manipulation area, and generating a control instruction according to the input signal; and sending the control instruction to the preset connection manner to Target access device.
- the storage medium is further configured to store program code for performing the following steps: configuring the manipulation area on the display interface of the terminal comprises: configuring at least one of a mouse control area and a keyboard control area on the display interface.
- the storage medium is further configured to store program code for performing the following steps: configuring at least one of the mouse control area and the keyboard control area on the display interface comprises: configuring the mouse on the display interface according to the preset application setting At least one of the control area and the keyboard control area.
- the storage medium is further configured to store program code for performing the steps of: configuring the keyboard control area on the display interface comprises: configuring the keyboard control area to be at least one of a nine-input input, a 26-key input, and a handwriting input.
- the storage medium is further configured to store program code for performing the following steps: generating the control instruction according to the input signal includes: converting the key input signal into a corresponding event type according to a preset algorithm; and encapsulating data corresponding to the event type, and obtaining control instruction.
- the storage medium is further configured to store program code for performing the following steps: before acquiring the input signal in the manipulation area, the method further includes: enabling the access function; searching for the target access device; accessing the target access according to the connection manner The device; and the listening control area to detect the presence of a keying signal.
- the storage medium is further configured to store program code for performing the following steps: sending the control instruction to the target access device according to the preset connection manner, including: encapsulating the control instruction according to a package protocol corresponding to the preset connection manner; The target access device sends a control command; wherein the preset connection manner includes at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
- a terminal comprising:
- At least one processor At least one processor
- the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method of terminal execution described above.
- An access device comprising:
- At least one processor At least one processor
- the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method performed by the access device described above.
- control area is configured on the display interface of the terminal; the input signal is obtained in the control area, and the control instruction is generated according to the input signal; and the control instruction is sent to the access device according to the preset connection manner.
- FIG. 1 is a block diagram showing the hardware structure of a mobile terminal of a method for controlling an access device according to Embodiment 1;
- FIG. 3 is a schematic diagram of at least one of configuring a mouse control area and a keyboard control area on a display interface in the control method of the access device according to Embodiment 1;
- FIG. 4 is a flowchart of a method for controlling an access device according to Embodiment 1;
- FIG. 5 is a flowchart of a method for controlling an access device of Embodiment 2;
- FIG. 6 is a flowchart of a method for controlling an access device according to Embodiment 2;
- FIG. 7 is a structural block diagram of a control device of an access device of Embodiment 3.
- FIG. 8 is a block diagram showing the structure of a control device of an access device of Embodiment 4.
- FIG. 9 is a block diagram showing the structure of a control system of an access device of Embodiment 5.
- FIG. 1 is a hardware structural block diagram of a mobile terminal that performs a control method of an access device according to this embodiment.
- mobile terminal 10 may include one or more (only one shown) processor 102 (processor 102 may include, but is not limited to, a Microcontroller Unit (MCU) or a programmable logic device ( A processing device such as a Field-Programmable Gate Array (FPGA), a memory 104 provided to store data, and a transmission device 106 having a communication function.
- MCU Microcontroller Unit
- FPGA Field-Programmable Gate Array
- FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
- the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
- the memory 104 can be configured as a software program and a module for storing application software, such as program instructions or modules corresponding to the control method of the access device in the embodiment, and the processor 102 runs the software program and the module stored in the memory 104, thereby Performing a variety of functional applications and data processing, the following methods are implemented.
- Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
- memory 104 can include memory remotely located relative to processor 102, which can be connected to mobile terminal 10 over a network. Examples of such networks include the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- Transmission device 106 is arranged to receive or transmit data via a network.
- the network described above may include a wireless network provided by a communication provider of the mobile terminal 10.
- transmission device 106 includes A network interface controller (NIC), which can be connected to other network devices through a base station to communicate with the Internet.
- NIC network interface controller
- the transmission device 106 can be a radio frequency (RF) module, and the RF module can be configured to communicate with the Internet wirelessly.
- RF radio frequency
- the access device can have the same hardware structure as the mobile terminal.
- FIG. 2 is a flowchart of a method for controlling an access device according to the embodiment. As shown in FIG. 2, on the side of the device to be accessed (mobile terminal) The process includes the following steps.
- a manipulation area is configured on a display interface of the mobile terminal.
- step 204 a keying signal is acquired in the manipulation area and a control command is generated in accordance with the keying signal.
- step 206 the control command is sent to the access device according to the preset connection mode.
- the control area is configured on the display interface of the mobile terminal; the input signal is obtained in the control area, and the control instruction is generated according to the input signal; and the control instruction is sent to the connection according to the preset connection mode.
- configuring the control area on the display interface of the mobile terminal in step 202 includes:
- At least one of a mouse control area and a keyboard control area is configured on the display interface.
- configuring at least one of the mouse control area and the keyboard control area on the display interface in step 202 includes:
- At least one of a mouse control area and a keyboard control area is configured on the display interface according to a preset application setting.
- configuring the keyboard control area on the display interface in step 202 includes:
- the keyboard control area is configured to be at least one of a nine-input input, a 26-key input, and a handwriting input.
- FIG. 3 is a schematic diagram of configuring a mouse control area and a keyboard control area on a display interface in the control method of the access device according to the embodiment.
- the display area (touch sensing area) of the mobile device can be divided into two parts, a mouse operation area and a keyboard operation area, wherein the mouse operation is divided into a left mouse operation area and a right mouse operation area (ie, The analog mouse left button area and the simulated mouse right button area in FIG. 3, the keyboard operation area, that is, the analog keyboard area in FIG.
- the analog keyboard area can introduce one or more input methods, namely, handwriting input, nine-square format input, and 26-key input to meet different uses. The input needs of the habitual crowd.
- Each physical button on the mobile terminal can be assigned different typing functions according to the settings of the application package (Android Package, APK), for example, the volume key can simulate the typing operation of the mouse.
- APK application package
- generating the control instruction according to the input signal in step 204 includes:
- the principles of the custom event algorithm converted according to the touch type include:
- the ondown function When the ondown function is executed, the user's finger starts to touch the screen, and the time when the event occurs is recorded. According to the position touched by the user, the function area where the touch action occurs is determined, and the ondown function is a press event generated when the touch screen is pressed;
- onDown->onShowPress->onLongPress When the onDown->onShowPress->onLongPress function is executed, it means that the user's finger presses the screen and is in a static state. According to the area where the action occurs, it is converted into a left and right mouse button to press and release the event, wherein onShowPress indicates that the touch screen is clicked. But there is no event triggered by the action of moving and popping, onLongPress means long-pressing the event triggered by the touch screen, -> means executing the above multiple functions in sequence;
- onSingleTapUp->onSingleTapConfirmed function When the onDown->onSingleTapUp->onSingleTapConfirmed function is executed, it means that the user clicks on the very fast (not sliding), and the touch action is converted into the left and right single-click event of the mouse according to the area where the action occurs and the next action.
- onSingleTapUp represents a single flick lift operation, that is, tapping the screen, immediately lifted up, triggering the event; onSingleTapConfirmed indicates the event triggered by the click;
- control method of the access device before the step of acquiring the input signal in the control area, the control method of the access device further includes the following steps:
- the mobile terminal enables the access function
- the mobile terminal searches for an access device
- the mobile terminal accesses the access device according to the preset connection manner
- the mobile terminal monitors the manipulation area and detects whether there is a key-in signal.
- sending the control command to the access device according to the preset connection manner in step 206 includes:
- the preset connection manner may include at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
- FIG. 4 is a flowchart of a method for controlling an access device according to the embodiment. As shown in FIG. 4, the method may be performed by a mobile terminal, and the method for controlling an access device provided by this embodiment is provided. The following steps.
- step 401 a functional area is defined, a view control activity activity interface 1 for perceiving a mouse movement single double click is created, a custom activity activity interface 2 for simulating a keyboard key is created, and a GestureDetector.OnGestureListener is implemented in the interface 1. Interface and rewrite the six functions that recognize the gesture. Among them, the six functions for recognizing gestures can be:
- the interface of the mobile device can be divided into an analog keyboard, simulate the left mouse button, simulate the right mouse button 3 areas (see Figure 3), click operation in the analog keyboard area of the terminal can simulate keyboard stroke, simulate the left mouse button in the terminal
- the single double-click of the area can simulate the single-click operation of the mouse device.
- the click of the right mouse button area of the terminal can simulate the click operation of the mouse device, and the sliding operation of the mouse operation area of the terminal can simulate the mouse movement action, and can also set the movement.
- the physical buttons on the device carry the corresponding events (such as the operation of clicking the volume can be mapped to the left mouse click time).
- step 402 Bluetooth is turned on.
- step 403 an available Bluetooth device is searched for.
- a Bluetooth communication transmission channel is created using the Linux official Bluetooth protocol stack (BlueZ) Bluetooth protocol.
- Bluetooth Bluetooth protocol stack
- step 405 the user's touch event is awaited.
- step 406 in response to the user operation, a custom event algorithm is used to convert to a defined event type based on the touch type.
- step 407 key data representing each event is written to the Bluetooth communication transmission channel.
- step 408 it is determined whether an end command triggered by the user is received. If an end command is received, step 409 is executed. If the end command is not received, step 405 is returned.
- step 409 the Bluetooth connection is disconnected, the Bluetooth is turned off, and the program is exited.
- the mobile terminal collects the user's finger touch, or the finger presses the physical key to operate the data, and can use a custom algorithm to filter, filter, convert, and classify the data.
- the data obtained by the mobile terminal can encapsulate the data according to a customized communication protocol, and the encapsulated data packet can be sent to the access device through Bluetooth.
- FIG. 5 is a flowchart of a method for controlling an access device according to the embodiment. As shown in FIG. 5, on the access device side, where the access device may be a cloud terminal, the process of the method includes the following steps.
- step 502 the access device receives the control command according to the preset connection mode, wherein the control command is generated by the mobile terminal according to the key input signal acquired in the manipulation area on the display interface of the mobile terminal.
- step 504 the access device determines an access point designated by the mobile terminal in the control command.
- step 506 the typing result corresponding to the control instruction is displayed according to the access point.
- the access device receives the control command according to the preset connection mode, where the control command is generated by the mobile terminal according to the key input signal acquired in the manipulation area on the display interface thereof;
- the ingress device determines an access point designated by the mobile terminal in the control command; displays a control command according to the access point. Therefore, it is possible to solve the problem that the mouse and the keyboard device are inconvenient to move, and the operator must control the wireless mouse and the keyboard in a fixed position, which limits the range of keyboard and mouse manipulation.
- control method of the access device before the access device determines the access point specified by the mobile terminal in the control instruction, the control method of the access device provided in this embodiment further includes:
- control method of the access device before the access device receives the control command according to the preset connection manner, the control method of the access device provided in this embodiment further includes:
- the access device enables the access function.
- the access device searches for the mobile terminal to be accessed
- the access device accesses the mobile terminal according to the preset connection mode.
- the preset connection manner may include at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
- the access point specified by the mobile terminal in the access device determining the control instruction in step 504 includes:
- the access device determines whether the access point is a cloud computing network.
- step 506 the display control command according to the access point includes:
- the access device sends the control command to the cloud server in the cloud computing network, and receives and displays the typing result corresponding to the control instruction fed back by the cloud server;
- the target access device matches the typing result to the control command and responds to the operation corresponding to the keying result.
- the typing result may include at least one of the following: a selection operation, a text input operation, a control operation, and a movement operation.
- FIG. 6 is a flowchart of a method for controlling an access device according to the embodiment.
- the method may be performed by an access device.
- the access device provided by this embodiment is provided.
- the control method includes the following steps.
- step 601 Bluetooth is turned on.
- step 602 an available Bluetooth device is searched for.
- a Bluetooth communication transmission channel is created by using the Linux official Bluetooth protocol stack (BlueZ) Bluetooth protocol.
- Bluetooth Bluetooth protocol stack
- step 604 it waits to receive data transmitted by the mobile terminal.
- step 605 the data sent by the mobile terminal is received and the data is parsed.
- the background process running by the cloud terminal receives the data packet sent by the mobile terminal through Bluetooth, and can perform data decapsulation according to a customized communication protocol.
- step 606 it is determined whether the cloud terminal enters the Simple Computing for Independent Computing Environment (spice) cloud desktop. If the cloud terminal does not enter the strawberry cloud desktop at this time, step 607 is performed; if the cloud terminal enters at this time Spice cloud desktop, go to step 611.
- the spice cloud desktop can be a cloud desktop that is transmitted through the spice protocol.
- the cloud terminal enters the spice cloud desktop. After the cloud terminal logs in to the cloud server through the account and password, the cloud terminal obtains the cloud desktop through the spice protocol.
- step 607 the cloud terminal writes the decapsulated data into a device event file corresponding to the mouse and the keyboard.
- step 608 the cloud terminal performs event processing.
- step 609 the cloud terminal passes the data to the input core layer of the local system.
- step 610 the data is transmitted to the driver layer of the mouse and keyboard of the cloud terminal.
- the local mouse and keyboard of the cloud terminal respond to operations in the data sent by the mobile terminal, and complete actions such as moving, clicking, or pressing, and the mobile terminal remotely controls the local cloud terminal.
- step 611 the cloud terminal performs inter-process communication with the Spice process.
- step 612 the Spice process performs Transmission Control Protocol (TCP) communication with the server of the cloud desktop.
- TCP Transmission Control Protocol
- the keyboard and mouse of the cloud desktop system respond to the mouse and keyboard actions, update the related display area, transmit the display area to the cloud terminal through the network, and the cloud terminal updates the displayed cloud desktop.
- the cloud terminal can transmit the decapsulated data to the remote cloud desktop through the mouse and keyboard data channel of the Spice protocol, and the cloud desktop responds to the mouse and keyboard actions, and the image of the cloud desktop is fed back to the cloud terminal local, the mobile terminal.
- the remote cloud desktop can be remotely controlled.
- the above technical solution can be embodied in the form of a software product stored in a non-transitory storage medium (such as read-only memory (ROM), random access memory (Random Access Memory, RAM). ), a disk, an optical disk, may also be stored in a transitory storage medium, and the computer software product may include one or more instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) The method in the above embodiment is performed.
- a terminal device which may be a mobile phone, a computer, a server, or a network device, etc.
- control device for an access device, which can implement the above embodiment.
- module may implement software, hardware, or a combination of software and hardware for a predetermined function.
- the apparatus described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware.
- FIG. 7 is a structural block diagram of a control apparatus of an access device according to the embodiment.
- the apparatus may be disposed in a terminal (eg, a mobile terminal), including: a configuration module 72, an instruction generation module 74, and a sending module. 76, of which,
- the configuration module 72 is configured to configure a manipulation area on the display interface of the mobile terminal.
- the command generation module 74 is configured to acquire a key-in signal in the manipulation region and generate a control command in accordance with the key-in signal.
- the sending module 76 is configured to send the control command to the access device according to the preset connection manner.
- control region is configured on the display interface of the mobile terminal; the input signal is obtained in the control region, and the control command is generated according to the input signal; and the control command is sent to the access according to the preset connection mode. device. Therefore, it is possible to solve the problem that the mouse and the keyboard device are inconvenient to move, and the operator must control the wireless mouse and the keyboard in a fixed position, which limits the range of keyboard and mouse manipulation.
- the configuration module 72 includes: a configuration unit.
- the configuration unit is configured to configure at least one of a mouse control area and a keyboard control area on the display interface.
- the configuration unit includes: a first configuration subunit.
- the first configuration subunit is configured to configure at least one of a mouse control area and a keyboard control area on the display interface according to a preset application setting.
- the configuration unit includes: a second configuration subunit.
- the second configuration subunit is configured to configure the keyboard control area to be at least one of a nine-input input, a 26-key input, and a handwriting input.
- the instruction generating module 74 includes: a converting unit and a first encapsulating unit.
- the conversion unit is configured to convert the keyed signal into a corresponding event type according to a preset algorithm.
- the first encapsulating unit is configured to encapsulate data corresponding to the event type, and obtain a control instruction.
- control device of the access device further includes: a first function opening module, a first searching module, a first access module, and a detecting module.
- the first function opening module is configured to turn on the access function before acquiring the keying signal in the manipulation area.
- the first search module is configured to search for an access device.
- the first access module is configured to access the access device according to the preset connection manner.
- the detection module is set to monitor the control area to detect the presence of a keying signal.
- the sending module 76 includes: a second encapsulating unit and a sending unit.
- the second encapsulating unit is configured to encapsulate the control instruction according to the encapsulation protocol corresponding to the preset connection manner.
- the sending unit is configured to send a control command to the access device.
- the preset connection manner may include at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
- FIG. 8 is a structural block diagram of a control apparatus of an access device according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes: a receiving module 82, a determining module 84, and a display module 86.
- the receiving module 82 is configured to receive the control command according to the preset connection mode, wherein the control command is generated by the mobile terminal according to the keying signal acquired in the manipulation area on the display interface thereof.
- the determination module 84 is arranged to determine an access point designated by the terminal in the control command.
- Display module 86 is arranged to display control commands in accordance with the access point.
- the control command is received according to the preset connection mode, wherein the control command is generated by the mobile terminal according to the key input signal acquired in the manipulation area on the display interface thereof;
- the access point specified by the terminal displaying a control instruction according to the access point. Therefore, it is possible to solve the problem that the mouse and the keyboard device are inconvenient to move, and the operator must control the wireless mouse and the keyboard in a fixed position, which limits the range of keyboard and mouse manipulation.
- control device of the access device further includes:
- control device of the access device further includes: a second function opening module, a second searching module, and a second access module.
- the second function opening module is configured to enable the access function before receiving the control command according to the preset connection mode.
- the second search module is configured to search for a mobile terminal to be accessed.
- the second access module is configured to access the mobile terminal according to the preset connection manner.
- the preset connection control manner may include at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
- the determining module 84 includes: a determining unit.
- the determining unit is configured to determine whether the access point is a cloud computing network.
- the display module 86 includes: a first display unit and a second display unit.
- the first display unit is configured to send the control instruction to the cloud server in the cloud computing network if the access point is a cloud computing network, and receive and display the typing result corresponding to the control instruction fed back by the cloud server.
- the second display unit is configured to match the typing result to the control instruction and to respond to the operation corresponding to the keying result if the access point is not a cloud computing network.
- the typing result may include at least one of the following: a selection operation, a text input operation, a control operation, and a movement operation.
- the foregoing multiple modules may be implemented by software or hardware.
- the foregoing modules may be implemented in the same manner, or the modules may be located in different processing in any combination. In the device.
- control system of the mobile terminal includes: an access device and a mobile terminal.
- An access device and a mobile terminal wherein the access device is connected to the mobile terminal, where
- the access device includes the control device of the access device shown in FIG. 8 above;
- the mobile terminal includes the control device of the access device shown in FIG. 7 described above.
- the mobile terminal may be a device such as a mobile phone tablet in FIG. 9, and the access device is a background portion of the cloud terminal in FIG.
- This embodiment also provides a storage medium.
- the foregoing storage medium may be configured to store program code for performing the following steps:
- the control command is sent to the access device according to the preset connection mode.
- the storage medium is further arranged to store program code for performing the following steps:
- Configuring the manipulation area on the display interface of the mobile terminal includes: configuring at least one of a mouse control area and a keyboard control area on the display interface.
- the foregoing storage medium may include a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
- ROM Read-Only Memory
- RAM Random Access Memory
- mobile hard disk a magnetic disk
- magnetic disk a magnetic disk
- optical disk a variety of media that can store program code.
- the executing, by the processor according to the stored program code in the storage medium, configuring at least one of the mouse control area and the keyboard control area on the display interface comprises: displaying according to the preset application setting The interface configures at least one of a mouse control area and a keyboard control area.
- the executing, by the processor, the configuring the keyboard control area on the display interface according to the stored program code in the storage medium comprises: configuring the keyboard control area to be a nine-input input, a 26-key input, and a handwriting input.
- the executing, by the processor, the generating the control instruction according to the input signal according to the stored program code in the storage medium comprises: converting the keyed signal into a corresponding event type according to the preset algorithm; and corresponding to the encapsulated event type Data, get control instructions.
- the processor before the processor obtains the input signal in the manipulation area according to the stored program code in the storage medium, the processor further includes: enabling the access function; searching for the access device; accessing the access according to the connection mode The device; and the listening control area to detect the presence of a keying signal.
- the sending, by the processor, the control instruction to the access device according to the preset connection manner according to the stored program code in the storage medium includes: packaging the control instruction according to the encapsulation protocol corresponding to the preset connection manner; And sending a control instruction to the access device, where the preset connection manner may include at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
- examples in this embodiment may refer to the examples described in the foregoing embodiments and optional embodiments.
- the above multiple modules or steps can be implemented by a general-purpose computing device, which can Concentrating on a single computing device, or distributed over a network of multiple computing devices, alternatively, they may be implemented in program code executable by the computing device, which may be stored in the storage device by the computing device Execution, and in some cases, the steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into a plurality of integrated circuit modules, or a plurality of modules or steps thereof may be fabricated into a single The integrated circuit module is implemented.
- the control method, device and system of the access device prevent the operator from having to operate the wireless mouse and the keyboard in a fixed position when the mouse and the keyboard device are inconvenient to move, which limits the scope of the keyboard and mouse manipulation.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A method, apparatus and system for controlling an access device. The method is applied to a terminal, and comprises: configuring an operation control region in a display interface of a terminal; acquiring an input signal in the operation control region, and generating a control instruction according to the input signal; and sending the control instruction to an access device according to a pre-set connection mode.
Description
本公开涉及通信领域,例如,涉及一种接入设备的控制方法、装置及系统。The present disclosure relates to the field of communications, for example, to a method, apparatus, and system for controlling an access device.
政府,公司企业,学校,酒店等地方开始大规模使用云终端。云终端的使用场景中,操作云终端还是采用经典操控模式,如鼠标加键盘。这种经典操控模式在大多数场景下可以方便高效地控制云终端,操控性好。Governments, companies, schools, hotels and other places have begun to use cloud terminals on a large scale. In the use scenario of the cloud terminal, the operation cloud terminal still adopts a classic control mode, such as a mouse plus a keyboard. This classic control mode can control the cloud terminal conveniently and efficiently in most scenarios, and the handling is good.
随着时代发展,大尺寸显示器,大尺寸电视机,投影等大型显示设备越来越多。在一些场景中,人们可以将云终端的显示画面输出到此类大型设备上,以得到更好的视觉效果。With the development of the times, there are more and more large-scale display devices such as large-size displays, large-sized TV sets, and projections. In some scenarios, people can output the display of the cloud terminal to such a large device for better visual effects.
将云终端的显示画面输出到大型设备上,为了得到更好的体验,用户可以和大型显示设备保持一定的距离。采用鼠标加键盘的经典操控模式时,鼠标以及键盘等设备的电线必须足够长,或当采用无线鼠标和键盘并且无线鼠标和键盘等设备不方便移动时,操作人员必须在固定的位置操控无线鼠标和键盘等设备,局限了键盘和鼠标操控的环境。Output the display of the cloud terminal to a large device. In order to get a better experience, the user can keep a certain distance from the large display device. When using the mouse and the keyboard's classic control mode, the wires of the mouse and keyboard must be long enough, or when using a wireless mouse and keyboard and the wireless mouse and keyboard are inconvenient to move, the operator must control the wireless mouse in a fixed position. Devices such as keyboards and keyboards limit the environment in which keyboards and mice are manipulated.
针对相关技术中由于鼠标和键盘设备自身的限制,在控制数据显示的过程中场景受限的问题,尚未提出有效的解决方案。In view of the limitations of the related art in the process of controlling the display of data due to limitations of the mouse and the keyboard device itself, an effective solution has not been proposed.
发明内容Summary of the invention
一种接入设备的控制方法、装置及系统,可以至解决相关技术中由于鼠标和键盘设备不方便移动时,操作人员必须在固定的位置操控无线鼠标和键盘等设备,局限了键盘和鼠标操控的范围的问题。The control method, device and system of the access device can solve the related art. When the mouse and the keyboard device are inconvenient to move, the operator must control the wireless mouse and the keyboard in a fixed position, and the keyboard and mouse control are limited. The scope of the problem.
一种接入设备的控制方法,应用于终端,包括:A method for controlling an access device, applied to a terminal, includes:
在移动终端的显示界面配置操控区域;Configuring a manipulation area on a display interface of the mobile terminal;
在所述操控区域获取键入信号,并依据所述键入信号生成控制指令;以及Acquiring a key-in signal in the manipulation area and generating a control instruction according to the key-in signal;
依据预设连接方式将所述控制指令发送至接入设备。
The control command is sent to the access device according to a preset connection manner.
可选的,所述在移动终端的显示界面配置操控区域包括:Optionally, the configuring the control area on the display interface of the mobile terminal includes:
在所述显示界面上配置鼠标控制区和键盘控制区中的至少一个。At least one of a mouse control area and a keyboard control area is configured on the display interface.
可选的,所述在所述显示界面上配置鼠标控制区和键盘控制区中的至少一个包括:Optionally, the configuring at least one of the mouse control area and the keyboard control area on the display interface includes:
依据预设的应用程序的设置在所述显示界面配置所述鼠标控制区和所述键盘控制区中的至少一个。At least one of the mouse control area and the keyboard control area is configured on the display interface according to a preset application setting.
可选的,所述在所述显示界面上配置键盘控制区包括:Optionally, the configuring the keyboard control area on the display interface includes:
配置所述键盘控制区为九宫输入、26键输入和手写输入中的至少一个。The keyboard control area is configured to be at least one of a nine-input input, a 26-key input, and a handwriting input.
可选的,所述依据所述键入信号生成控制指令包括:Optionally, the generating the control instruction according to the input signal includes:
依据预设算法将所述键入信号转换为对应的事件类型;以及Converting the keyed signal into a corresponding event type according to a preset algorithm;
封装所述事件类型对应的数据,得到所述控制指令。The data corresponding to the event type is encapsulated to obtain the control instruction.
可选的,在所述操控区域获取键入信号之前,所述方法还包括:Optionally, before the obtaining the input signal in the control area, the method further includes:
终端开启接入功能;The terminal enables the access function;
终端搜索接入设备;The terminal searches for an access device;
终端依据所述预设连接方式接入所述接入设备;以及The terminal accesses the access device according to the preset connection manner;
终端监听所述操控区域,检测是否存在所述键入信号。The terminal monitors the manipulation area and detects whether the key input signal exists.
可选的,所述依据预设连接方式将所述控制指令发送至接入设备包括:Optionally, the sending the control command to the access device according to the preset connection manner includes:
依据所述预设连接方式对应的封装协议封装所述控制指令;以及Encapsulating the control instruction according to an encapsulation protocol corresponding to the preset connection manner;
向所述接入设备发送封装后的控制指令;Sending the encapsulated control instruction to the access device;
其中,所述预设连接方式包括以下至少之一:蓝牙连接、红外连接、网络连接。The preset connection manner includes at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
一种接入设备的控制方法,包括:A method for controlling an access device, comprising:
接入设备依据预设连接方式接收控制指令,其中,所述控制指令由终端依据在其显示界面上的操控区域中获取的键入信号生成;The access device receives the control command according to the preset connection manner, where the control command is generated by the terminal according to the key input signal acquired in the manipulation area on the display interface thereof;
所述接入设备确定所述控制指令中所述终端指定的接入点;以及
The access device determines an access point specified by the terminal in the control command;
所述接入设备依据所述接入点显示所述控制指令对应的键入结果。The access device displays a keying result corresponding to the control instruction according to the access point.
可选的,在所述接入设备确定所述控制指令中所述终端指定的接入点之前,所述方法还包括:Optionally, before the determining, by the access device, the access point specified by the terminal in the control instruction, the method further includes:
接入设备对所述控制指令解封装。The access device decapsulates the control command.
可选的,在接入设备依据预设连接方式接收控制指令之前,所述方法还包括:Optionally, the method further includes: before the access device receives the control instruction according to the preset connection manner, the method further includes:
接入设备开启接入功能;The access device enables the access function.
接入设备搜索待接入的所述终端;以及The access device searches for the terminal to be accessed;
接入设备依据所述预设连接方式接入所述终端。The access device accesses the terminal according to the preset connection manner.
可选的,所述预设连接方式包括以下至少之一:蓝牙连接、红外连接、网络连接。Optionally, the preset connection manner includes at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
可选的,所述接入设备确定所述控制指令中所述终端指定的接入点包括:Optionally, the access device determines that the access point specified by the terminal in the control instruction includes:
所述接入设备确定所述接入点是否为云计算网络。The access device determines whether the access point is a cloud computing network.
可选的,所述依据所述接入点显示所述控制指令对应的键入结果包括:Optionally, the displaying, by the access point, the typing result corresponding to the control instruction includes:
在所述接入点为所述云计算网络的情况下,接入设备将所述控制指令发送至所述云计算网络中的云服务器中,并接收和显示所述云服务器反馈的所述控制指令对应的键入结果;以及In the case that the access point is the cloud computing network, the access device sends the control instruction to a cloud server in the cloud computing network, and receives and displays the control fed back by the cloud server. The result of the input corresponding to the instruction;
在所述接入点不为所述云计算网络的情况下,接入设备对所述控制指令匹配键入结果并显示所述键入结果。In case the access point is not the cloud computing network, the access device matches the typing result to the control instruction and displays the typing result.
可选的,所述键入结果包括以下至少之一:选取操作、文字输入操作、控制操作或移动操作。Optionally, the typing result includes at least one of the following: a selection operation, a text input operation, a control operation, or a movement operation.
一种接入设备的控制装置,设置于终端中,包括:A control device for an access device is disposed in the terminal, and includes:
配置模块,设置为在终端的显示界面配置操控区域;The configuration module is configured to configure a manipulation area on the display interface of the terminal;
指令生成模块,设置为在所述操控区域获取键入信号,并依据所述键入信号生成控制指令;以及An instruction generation module configured to acquire a key-in signal in the manipulation area and generate a control instruction according to the key-in signal;
发送模块,设置为依据预设连接方式将所述控制指令发送至接入设备。
The sending module is configured to send the control command to the access device according to the preset connection manner.
一种接入设备的控制装置,设置于接入设备中,包括:A control device for an access device is disposed in the access device, and includes:
接收模块,设置为依据预设连接方式接收控制指令,其中,所述控制指令由终端依据在其显示界面上的操控区域中获取的键入信号生成;The receiving module is configured to receive the control command according to the preset connection manner, wherein the control command is generated by the terminal according to the key input signal acquired in the manipulation area on the display interface thereof;
确定模块,设置为确定所述控制指令中所述终端指定的接入点;以及Determining a module, configured to determine an access point specified by the terminal in the control command;
显示模块,设置为依据所述接入点显示所述控制指令。And a display module configured to display the control instruction according to the access point.
一种接入设备的控制系统,包括:接入设备和终端,其中,所述接入设备与所述终端连接,A control system for an access device, comprising: an access device and a terminal, wherein the access device is connected to the terminal,
所述接入设备包括设置于接入设备中的接入设备的控制装置;以及The access device includes a control device of an access device disposed in the access device;
所述终端包括设置于终端中的接入设备的控制装置。The terminal includes a control device of an access device disposed in the terminal.
一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:在终端的显示界面配置操控区域;在操控区域获取键入信号,并依据键入信号生成控制指令;以及依据预设连接方式将控制指令发送至目标接入设备。A storage medium. The storage medium is configured to store program code for performing the following steps: configuring a manipulation area on a display interface of the terminal; acquiring a key input signal in the manipulation area, and generating a control instruction according to the input signal; and sending the control instruction to the preset connection manner to Target access device.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:在终端的显示界面配置操控区域包括:在显示界面上配置鼠标控制区和键盘控制区中的至少一个。Optionally, the storage medium is further configured to store program code for performing the following steps: configuring the manipulation area on the display interface of the terminal comprises: configuring at least one of a mouse control area and a keyboard control area on the display interface.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:在显示界面上配置鼠标控制区和键盘控制区中的至少一个包括:依据预设的应用程序的设置在显示界面配置鼠标控制区和键盘控制区中的至少一个。Optionally, the storage medium is further configured to store program code for performing the following steps: configuring at least one of the mouse control area and the keyboard control area on the display interface comprises: configuring the mouse on the display interface according to the preset application setting At least one of the control area and the keyboard control area.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:在显示界面上配置键盘控制区包括:配置键盘控制区为九宫输入、26键输入和手写输入中的至少一个。Optionally, the storage medium is further configured to store program code for performing the steps of: configuring the keyboard control area on the display interface comprises: configuring the keyboard control area to be at least one of a nine-input input, a 26-key input, and a handwriting input.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:依据键入信号生成控制指令包括:依据预设算法将键入信号转换为对应的事件类型;封装事件类型对应的数据,得到控制指令。Optionally, the storage medium is further configured to store program code for performing the following steps: generating the control instruction according to the input signal includes: converting the key input signal into a corresponding event type according to a preset algorithm; and encapsulating data corresponding to the event type, and obtaining control instruction.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:在操控区域获取键入信号之前,方法还包括:开启接入功能;搜索目标接入设备;依据连接方式接入目标接入设备;以及监听操控区域,检测是否存在键入信号。
Optionally, the storage medium is further configured to store program code for performing the following steps: before acquiring the input signal in the manipulation area, the method further includes: enabling the access function; searching for the target access device; accessing the target access according to the connection manner The device; and the listening control area to detect the presence of a keying signal.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:依据预设连接方式将控制指令发送至目标接入设备包括:依据预设连接方式对应的封装协议封装控制指令;以及向目标接入设备发送控制指令;其中,预设连接方式包括以下至少之一:蓝牙连接、红外连接、网络连接。Optionally, the storage medium is further configured to store program code for performing the following steps: sending the control instruction to the target access device according to the preset connection manner, including: encapsulating the control instruction according to a package protocol corresponding to the preset connection manner; The target access device sends a control command; wherein the preset connection manner includes at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
一种终端,包括:A terminal comprising:
至少一个处理器;以及At least one processor;
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述终端执行的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method of terminal execution described above.
一种接入设备,包括:An access device comprising:
至少一个处理器;以及At least one processor;
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述接入设备执行的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method performed by the access device described above.
通过以上技术方案,在终端的显示界面配置操控区域;在操控区域获取键入信号,并依据键入信号生成控制指令;依据预设连接方式将控制指令发送至接入设备。可以解决鼠标和键盘设备不方便移动时,操作人员必须在固定的位置操控无线鼠标和键盘等设备,局限了键盘和鼠标操控的范围问题。Through the above technical solution, the control area is configured on the display interface of the terminal; the input signal is obtained in the control area, and the control instruction is generated according to the input signal; and the control instruction is sent to the access device according to the preset connection manner. It can solve the problem that when the mouse and keyboard device are inconvenient to move, the operator must control the wireless mouse and keyboard in a fixed position, which limits the scope of keyboard and mouse manipulation.
此处所说明的附图用来提供对技术方案的理解,构成本申请的一部分。在附图中:The drawings illustrated herein are provided to provide an understanding of the technical solutions and form a part of this application. In the drawing:
图1是实施例1的一种接入设备的控制方法的移动终端的硬件结构框图;1 is a block diagram showing the hardware structure of a mobile terminal of a method for controlling an access device according to Embodiment 1;
图2是实施例1的接入设备的控制方法的流程图;2 is a flowchart of a method of controlling an access device of Embodiment 1;
图3是实施例1的接入设备的控制方法中在显示界面配置鼠标控制区和键盘控制区中的至少一个的示意图;3 is a schematic diagram of at least one of configuring a mouse control area and a keyboard control area on a display interface in the control method of the access device according to Embodiment 1;
图4是实施例1的一种接入设备的控制方法的流程图;4 is a flowchart of a method for controlling an access device according to Embodiment 1;
图5是实施例2的接入设备的控制方法的流程图;
5 is a flowchart of a method for controlling an access device of Embodiment 2;
图6是实施例2的一种接入设备的控制方法的流程图;6 is a flowchart of a method for controlling an access device according to Embodiment 2;
图7是实施例3的接入设备的控制装置的结构框图;7 is a structural block diagram of a control device of an access device of Embodiment 3;
图8是实施例4的接入设备的控制装置的结构框图;以及8 is a block diagram showing the structure of a control device of an access device of Embodiment 4;
图9是实施例5的接入设备的控制系统的结构框图。9 is a block diagram showing the structure of a control system of an access device of Embodiment 5.
下文中将参考附图并结合实施例来说明以下实施例。在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。The following embodiments will be described below with reference to the drawings in conjunction with the embodiments. The features of the following embodiments and examples may be combined with each other without conflict.
说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。The terms "first", "second" and the like in the specification and claims and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
本实施例所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本实施例的一种执行接入设备的控制方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器(Microcontroller Unit,MCU)或可编程逻辑器件(Field-Programmable Gate Array,FPGA)等的处理装置)、设置为存储数据的存储器104、以及具有通信功能的传输装置106。图1所示的结构仅为示意,并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiment provided by this embodiment may be implemented in a mobile terminal, a computer terminal or the like. Taking a mobile terminal as an example, FIG. 1 is a hardware structural block diagram of a mobile terminal that performs a control method of an access device according to this embodiment. As shown in FIG. 1, mobile terminal 10 may include one or more (only one shown) processor 102 (processor 102 may include, but is not limited to, a Microcontroller Unit (MCU) or a programmable logic device ( A processing device such as a Field-Programmable Gate Array (FPGA), a memory 104 provided to store data, and a transmission device 106 having a communication function. The structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device. For example, the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
存储器104可设置为存储应用软件的软件程序以及模块,如本实施例中的接入设备的控制方法对应的程序指令或模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行多种功能应用以及数据处理,即实现下述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be configured as a software program and a module for storing application software, such as program instructions or modules corresponding to the control method of the access device in the embodiment, and the processor 102 runs the software program and the module stored in the memory 104, thereby Performing a variety of functional applications and data processing, the following methods are implemented. Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 104 can include memory remotely located relative to processor 102, which can be connected to mobile terminal 10 over a network. Examples of such networks include the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置106设置为经由一个网络接收或者发送数据。上述的网络可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括
一个网络适配器(Network Interface Controller,NIC),NIC可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,RF模块可以设置为通过无线方式与互联网进行通讯。Transmission device 106 is arranged to receive or transmit data via a network. The network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, transmission device 106 includes
A network interface controller (NIC), which can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, and the RF module can be configured to communicate with the Internet wirelessly.
接入设备可以具有和移动终端相同的硬件结构。The access device can have the same hardware structure as the mobile terminal.
在本实施例中提供了一种运行于上述移动终端的方法,图2是本实施例的接入设备的控制方法的流程图,如图2所示,在待接入设备(移动终端)侧,该流程包括如下步骤。In this embodiment, a method for operating the mobile terminal is provided. FIG. 2 is a flowchart of a method for controlling an access device according to the embodiment. As shown in FIG. 2, on the side of the device to be accessed (mobile terminal) The process includes the following steps.
在步骤202中,在移动终端的显示界面配置操控区域。In step 202, a manipulation area is configured on a display interface of the mobile terminal.
在步骤204中,在操控区域获取键入信号,并依据键入信号生成控制指令。In step 204, a keying signal is acquired in the manipulation area and a control command is generated in accordance with the keying signal.
在步骤206中,依据预设连接方式将控制指令发送至接入设备。In step 206, the control command is sent to the access device according to the preset connection mode.
本实施例提供的接入设备的控制方法中,由于在移动终端的显示界面配置操控区域;在操控区域获取键入信号,并依据键入信号生成控制指令;依据预设连接方式将控制指令发送至接入设备。因此,可以解决鼠标和键盘设备不方便移动时,操作人员必须在固定的位置操控无线鼠标和键盘设备,局限了键盘和鼠标操控的范围问题。In the control method of the access device provided by the embodiment, the control area is configured on the display interface of the mobile terminal; the input signal is obtained in the control area, and the control instruction is generated according to the input signal; and the control instruction is sent to the connection according to the preset connection mode. Into the device. Therefore, it is possible to solve the problem that the mouse and the keyboard device are inconvenient to move, and the operator must control the wireless mouse and the keyboard device in a fixed position, which limits the range of keyboard and mouse manipulation.
可选的,步骤202中在移动终端的显示界面配置操控区域包括:Optionally, configuring the control area on the display interface of the mobile terminal in step 202 includes:
在显示界面上配置鼠标控制区和键盘控制区中的至少一个。At least one of a mouse control area and a keyboard control area is configured on the display interface.
可选的,步骤202中的在显示界面上配置鼠标控制区和键盘控制区中的至少一个包括:Optionally, configuring at least one of the mouse control area and the keyboard control area on the display interface in step 202 includes:
依据预设的应用程序的设置在显示界面配置鼠标控制区和键盘控制区中的至少一个。At least one of a mouse control area and a keyboard control area is configured on the display interface according to a preset application setting.
可选的,步骤202中的在显示界面上配置键盘控制区包括:Optionally, configuring the keyboard control area on the display interface in step 202 includes:
配置键盘控制区为九宫输入、26键输入和手写输入中的至少一个。The keyboard control area is configured to be at least one of a nine-input input, a 26-key input, and a handwriting input.
图3是本实施例的接入设备的控制方法中在显示界面配置鼠标控制区和键盘控制区的示意图。如图3所示,在移动设备的显示区(触摸感应区)可以分为两个部分,鼠标操作区和键盘操作区,其中,鼠标操作区分为鼠标左键操作区和鼠标右键操作区(即,图3中的模拟鼠标左键区域和模拟鼠标右键区域),键盘操作区,即,图3中的模拟键盘区域。该模拟键盘区域可以引入一种或多种输入方式,即,手写输入、九宫格式输入以及26键位输入,以满足不同使用
习惯人群的输入需求。移动终端上的每个物理按键可以依据应用程序包(Android Package,APK)的设定,分配不同的键入功能,例如音量键可以模拟鼠标的键入操作。FIG. 3 is a schematic diagram of configuring a mouse control area and a keyboard control area on a display interface in the control method of the access device according to the embodiment. As shown in FIG. 3, the display area (touch sensing area) of the mobile device can be divided into two parts, a mouse operation area and a keyboard operation area, wherein the mouse operation is divided into a left mouse operation area and a right mouse operation area (ie, The analog mouse left button area and the simulated mouse right button area in FIG. 3, the keyboard operation area, that is, the analog keyboard area in FIG. The analog keyboard area can introduce one or more input methods, namely, handwriting input, nine-square format input, and 26-key input to meet different uses.
The input needs of the habitual crowd. Each physical button on the mobile terminal can be assigned different typing functions according to the settings of the application package (Android Package, APK), for example, the volume key can simulate the typing operation of the mouse.
可选的,步骤204中依据键入信号生成控制指令包括:Optionally, generating the control instruction according to the input signal in step 204 includes:
依据预设算法将键入信号转换为对应的事件类型;以及Converting the keyed signal to a corresponding event type according to a preset algorithm;
封装事件类型对应的数据,得到控制指令。Encapsulate the data corresponding to the event type and get the control instruction.
可选的,根据触摸类型转换成的自定义事件算法的原理包括:Optionally, the principles of the custom event algorithm converted according to the touch type include:
当执行ondown函数,表示用户手指开始触摸屏幕,记录事件发生的时间,根据用户触摸的位置,判断发生触摸动作的功能区域,ondown函数是按下触摸屏时产生的按下事件;When the ondown function is executed, the user's finger starts to touch the screen, and the time when the event occurs is recorded. According to the position touched by the user, the function area where the touch action occurs is determined, and the ondown function is a press event generated when the touch screen is pressed;
当onDown->onShowPress->onLongPress函数执行,表示用户手指按住屏幕,处于静止状态,根据动作发生的区域,将其转化成鼠标左右键按下不松开事件,其中,onShowPress表示点击了触摸屏,但是没有移动和弹起的动作触发的事件,onLongPress表示长按触摸屏触发的事件,->表示顺序执行上述多个函数;When the onDown->onShowPress->onLongPress function is executed, it means that the user's finger presses the screen and is in a static state. According to the area where the action occurs, it is converted into a left and right mouse button to press and release the event, wherein onShowPress indicates that the touch screen is clicked. But there is no event triggered by the action of moving and popping, onLongPress means long-pressing the event triggered by the touch screen, -> means executing the above multiple functions in sequence;
当执行onDown->onSingleTapUp->onSingleTapConfirmed函数时,表示用户手指点击一下非常快的(不滑动)抬起,根据动作发生的区域,和接下来的动作,将触摸动作转化成鼠标的左右单双击事件,onSingleTapUp表示一次单独的轻击抬起操作,也就是轻击一下屏幕,立刻抬起来,触发的事件;onSingleTapConfirmed表示单击触发的事件;When the onDown->onSingleTapUp->onSingleTapConfirmed function is executed, it means that the user clicks on the very fast (not sliding), and the touch action is converted into the left and right single-click event of the mouse according to the area where the action occurs and the next action. , onSingleTapUp represents a single flick lift operation, that is, tapping the screen, immediately lifted up, triggering the event; onSingleTapConfirmed indicates the event triggered by the click;
当执行onDown->onShowPress->onSingleTapUp->onSingleTapConfirmed函数时,表示手指点击一下稍微慢点的(不滑动)抬起,根据动作发生的区域,将触摸动作转化成鼠标的左右单击事件;When the onDown->onShowPress->onSingleTapUp->onSingleTapConfirmed function is executed, it means that the finger clicks a little slower (not sliding) to lift, and according to the area where the action occurs, the touch action is converted into a left and right click event of the mouse;
onFling(MotionEvent e1,MotionEvent e2,float velocityX,float velocityY)onFling(MotionEvent e1,MotionEvent e2,float velocityX,float velocityY)
表示用户按下屏幕,手指快速移动后松开,由1个MotionEvent函数的按下触摸屏事件(ACTION_DOWN),多个按下触摸屏后移动受力点事件(ACTION_MOVE),1个松开触摸屏事件(ACTION_UP)触发。根据第一个ACTION_DOWN事件e1,和最后一个ACTION_MOVE事件e2,计算出用户手指滑动的X轴距离(velocityX)、Y轴距离(velocityY)和手指滑动的方向(相对于当前位置的角度),并记录这些数据;MotionEvent是监测手势和(触摸)事件
的类函数。Indicates that the user presses the screen, the finger moves quickly and then releases, the touch screen event (ACTION_DOWN) is pressed by one MotionEvent function, the force point event (ACTION_MOVE) is moved after pressing the touch screen, and one touch screen event is released (ACTION_UP) )trigger. According to the first ACTION_DOWN event e1, and the last ACTION_MOVE event e2, calculate the X-axis distance (velocityX), the Y-axis distance (velocityY) of the user's finger sliding, and the direction of the finger sliding (the angle with respect to the current position), and record These data; MotionEvent is a monitoring gesture and (touch) event
Class function.
当onDown---->onScroll---->onScroll---->onScroll---->****---->onFling函数执行,表示用户手指触动屏幕后,稍微滑动后立即松开。同理记录相应的数据,onScroll为触摸了滑动时触发的事件,“***”是省略符号,省略的是onScroll函数。When onDown---->onScroll---->onScroll---->onScroll---->****---->onFling function execution, indicating that after the user touches the screen, it slides slightly and then looses open. Similarly, the corresponding data is recorded, onScroll is the event triggered when the slide is touched, "***" is the ellipsis, and the onScroll function is omitted.
当用户调出自定义的键盘界面,按下对应的虚拟按键按钮,记录相应的按键值。如用户点击界面上的字符“A”,移动终端可以采集字符“A”。When the user calls up the customized keyboard interface, press the corresponding virtual button to record the corresponding button value. If the user clicks the character "A" on the interface, the mobile terminal can collect the character "A".
可选的,步骤204中在操控区域获取键入信号之前,接入设备的控制方法还包括以下步骤:Optionally, before the step of acquiring the input signal in the control area, the control method of the access device further includes the following steps:
移动终端开启接入功能;The mobile terminal enables the access function;
移动终端搜索接入设备;The mobile terminal searches for an access device;
移动终端依据预设连接方式接入接入设备;以及The mobile terminal accesses the access device according to the preset connection manner;
移动终端监听操控区域,检测是否存在键入信号。The mobile terminal monitors the manipulation area and detects whether there is a key-in signal.
可选的,步骤206中的依据预设连接方式将控制指令发送至接入设备包括:Optionally, sending the control command to the access device according to the preset connection manner in step 206 includes:
依据预设连接方式对应的封装协议封装控制指令;以及Encapsulating control instructions according to a package protocol corresponding to a preset connection manner;
向接入设备发送封装后的控制指令;Sending the encapsulated control instruction to the access device;
其中,预设连接方式可以包括以下至少之一:蓝牙连接、红外连接和网络连接。The preset connection manner may include at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
结合步骤202至步骤206,图4是本实施例的一种接入设备的控制方法的流程图,如图4所示,该方法可由移动终端执行,本实施例提供的接入设备的控制方法如下步骤。With reference to step 202 to step 206, FIG. 4 is a flowchart of a method for controlling an access device according to the embodiment. As shown in FIG. 4, the method may be performed by a mobile terminal, and the method for controlling an access device provided by this embodiment is provided. The following steps.
在步骤401中,定义功能区域,创建感知鼠标移动单双击的视图(view)控件活动(activity)界面1,创建模拟键盘按键的自定义活动(activity)界面2,在界面1中实现GestureDetector.OnGestureListener接口,并重写其中的6个识别手势的函数。其中,6个识别手势的函数可以是:In step 401, a functional area is defined, a view control activity activity interface 1 for perceiving a mouse movement single double click is created, a custom activity activity interface 2 for simulating a keyboard key is created, and a GestureDetector.OnGestureListener is implemented in the interface 1. Interface and rewrite the six functions that recognize the gesture. Among them, the six functions for recognizing gestures can be:
OnDown(MotionEvent e);OnDown(MotionEvent e);
onShowPress(MotionEvent e);onShowPress(MotionEvent e);
onLongPress(MotionEvent e);onLongPress(MotionEvent e);
onSingleTapUp(MotionEvent e);
onSingleTapUp(MotionEvent e);
onFling(MotionEvent e1,MotionEvent e2,float velocityX,float velocityY);onFling(MotionEvent e1,MotionEvent e2,float velocityX,float velocityY);
onScroll(MotionEvent e1,MotionEvent e2,float distanceX,float distanceY)。onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY).
移动设备的界面可分为模拟键盘,模拟鼠标左键,模拟鼠标右键3大区域(见附图3),在终端的模拟键盘区域的点击操作可以模拟键盘敲击,在终端的模拟鼠标左键区域的单双击可以模拟鼠标设备的单双击操作,在终端的鼠标右键区域的单击可以模拟鼠标设备的单击操作,在终端的鼠标操作区的滑动操作可以模拟鼠标移动动作,也可以设置移动设备上的物理按键来承载对应的事件(如点击音量的操作可以映射成鼠标左键单击时间)。The interface of the mobile device can be divided into an analog keyboard, simulate the left mouse button, simulate the right mouse button 3 areas (see Figure 3), click operation in the analog keyboard area of the terminal can simulate keyboard stroke, simulate the left mouse button in the terminal The single double-click of the area can simulate the single-click operation of the mouse device. The click of the right mouse button area of the terminal can simulate the click operation of the mouse device, and the sliding operation of the mouse operation area of the terminal can simulate the mouse movement action, and can also set the movement. The physical buttons on the device carry the corresponding events (such as the operation of clicking the volume can be mapped to the left mouse click time).
在步骤402中,开启蓝牙。In step 402, Bluetooth is turned on.
在步骤403中,搜索可用的蓝牙设备。In step 403, an available Bluetooth device is searched for.
在步骤404中,采用Linux官方蓝牙协议栈(BlueZ)蓝牙协议,创建蓝牙通信发送通道。In step 404, a Bluetooth communication transmission channel is created using the Linux official Bluetooth protocol stack (BlueZ) Bluetooth protocol.
在步骤405中,等待用户的触摸事件。In step 405, the user's touch event is awaited.
在步骤406中,响应用户操作,根据触摸类型,用自定义事件算法转化成已定义的事件类型。In step 406, in response to the user operation, a custom event algorithm is used to convert to a defined event type based on the touch type.
在步骤407中,将代表每个事件的关键数据写入蓝牙通信发送通道。In step 407, key data representing each event is written to the Bluetooth communication transmission channel.
在步骤408中,判断是否接收到用户触发的结束指令,若接收到结束指令,执行步骤409,若未接收到结束指令,返回执行步骤405。In step 408, it is determined whether an end command triggered by the user is received. If an end command is received, step 409 is executed. If the end command is not received, step 405 is returned.
在步骤409中,断开蓝牙连接,关闭蓝牙,退出程序。In step 409, the Bluetooth connection is disconnected, the Bluetooth is turned off, and the program is exited.
移动终端采集用户手指触摸,或手指按物理键操作数据,可以利用自定义算法,对这些数据进行筛选、过滤、转换和分类。The mobile terminal collects the user's finger touch, or the finger presses the physical key to operate the data, and can use a custom algorithm to filter, filter, convert, and classify the data.
移动终端得到的数据可以按照自定义的通信协议将数据进行封装,可以通过蓝牙将封装好的数据包发送给接入设备。The data obtained by the mobile terminal can encapsulate the data according to a customized communication protocol, and the encapsulated data packet can be sent to the access device through Bluetooth.
实施例2Example 2
图5是本实施例的接入设备的控制方法的流程图,如图5所示,在接入设备侧,其中,接入设备可以是云终端,该方法的流程包括如下步骤。FIG. 5 is a flowchart of a method for controlling an access device according to the embodiment. As shown in FIG. 5, on the access device side, where the access device may be a cloud terminal, the process of the method includes the following steps.
在步骤502中,接入设备依据预设连接方式接收控制指令,其中,控制指令由移动终端依据在该移动终端的显示界面上的操控区域中获取的键入信号生成。In step 502, the access device receives the control command according to the preset connection mode, wherein the control command is generated by the mobile terminal according to the key input signal acquired in the manipulation area on the display interface of the mobile terminal.
在步骤504中,接入设备确定控制指令中所述移动终端指定的接入点。
In step 504, the access device determines an access point designated by the mobile terminal in the control command.
在步骤506中,依据接入点显示控制指令对应的键入结果。In step 506, the typing result corresponding to the control instruction is displayed according to the access point.
本实施例提供的接入设备的控制方法中,由于接入设备依据预设连接方式接收控制指令,其中,控制指令由移动终端依据在其显示界面上的操控区域中获取的键入信号生成;接入设备确定控制指令中移动终端指定的接入点;依据接入点显示控制指令。因此,可以解决鼠标和键盘设备不方便移动时,操作人员必须在固定的位置操控无线鼠标和键盘等设备,局限了键盘和鼠标操控的范围问题。In the control method of the access device provided by the embodiment, the access device receives the control command according to the preset connection mode, where the control command is generated by the mobile terminal according to the key input signal acquired in the manipulation area on the display interface thereof; The ingress device determines an access point designated by the mobile terminal in the control command; displays a control command according to the access point. Therefore, it is possible to solve the problem that the mouse and the keyboard device are inconvenient to move, and the operator must control the wireless mouse and the keyboard in a fixed position, which limits the range of keyboard and mouse manipulation.
可选的,在步骤504中接入设备确定控制指令中所述移动终端指定的接入点之前,本实施例提供的接入设备的控制方法还包括:Optionally, before the access device determines the access point specified by the mobile terminal in the control instruction, the control method of the access device provided in this embodiment further includes:
对控制指令解封装。Decapsulate the control instructions.
可选的,在步骤502中接入设备依据预设连接方式接收控制指令之前,本实施例提供的接入设备的控制方法还包括:Optionally, before the access device receives the control command according to the preset connection manner, the control method of the access device provided in this embodiment further includes:
接入设备开启接入功能;The access device enables the access function.
接入设备搜索待接入的移动终端;以及The access device searches for the mobile terminal to be accessed;
接入设备依据预设连接方式接入移动终端。The access device accesses the mobile terminal according to the preset connection mode.
其中,预设连接方式可以包括以下至少之一:蓝牙连接、红外连接和网络连接。The preset connection manner may include at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
可选的,步骤504中接入设备确定控制指令中所述移动终端指定的接入点包括:Optionally, the access point specified by the mobile terminal in the access device determining the control instruction in step 504 includes:
接入设备确定接入点是否为云计算网络。The access device determines whether the access point is a cloud computing network.
可选的,步骤506中依据接入点显示控制指令包括:Optionally, in step 506, the display control command according to the access point includes:
在接入点为云计算网络的情况下,接入设备将控制指令发送至云计算网络中的云服务器中,并接收和显示云服务器反馈的控制指令对应的键入结果;以及In the case that the access point is a cloud computing network, the access device sends the control command to the cloud server in the cloud computing network, and receives and displays the typing result corresponding to the control instruction fed back by the cloud server;
在接入点不为云计算网络的情况下,目标接入设备对控制指令匹配键入结果并响应键入结果对应的操作。In the case where the access point is not a cloud computing network, the target access device matches the typing result to the control command and responds to the operation corresponding to the keying result.
其中,键入结果可以包括以下至少之一:选取操作、文字输入操作、控制操作、移动操作。The typing result may include at least one of the following: a selection operation, a text input operation, a control operation, and a movement operation.
综上结合步骤502至步骤506,图6是本实施例的一种接入设备的控制方法的流程图,该方法可由接入设备执行,如图6示,本实施例提供的接入设备的
控制方法包括如下步骤。With reference to the steps 502 to 506, FIG. 6 is a flowchart of a method for controlling an access device according to the embodiment. The method may be performed by an access device. As shown in FIG. 6, the access device provided by this embodiment is provided.
The control method includes the following steps.
在步骤601中,开启蓝牙。In step 601, Bluetooth is turned on.
在步骤602中,搜索可用的蓝牙设备。In step 602, an available Bluetooth device is searched for.
在步骤603中,采用Linux官方蓝牙协议栈(BlueZ)蓝牙协议,创建蓝牙通信发送通道。In step 603, a Bluetooth communication transmission channel is created by using the Linux official Bluetooth protocol stack (BlueZ) Bluetooth protocol.
在步骤604中,等待接收移动终端发送过来的数据。In step 604, it waits to receive data transmitted by the mobile terminal.
在步骤605中,接收移动终端发送过来的数据,并解析数据。In step 605, the data sent by the mobile terminal is received and the data is parsed.
结合图9,云终端运行的后台进程通过蓝牙接收移动终端发送过来的数据包,可以按照自定义的通信协议进行数据解封。在步骤606中,判断云终端是否进入独立计算环境简单协议(Simple Protocol for Independent Computing Environment,spice)云桌面,如果此时云终端未进入spice云桌面,执行步骤607;如果此时云终端进入了spice云桌面,执行步骤611。Referring to FIG. 9, the background process running by the cloud terminal receives the data packet sent by the mobile terminal through Bluetooth, and can perform data decapsulation according to a customized communication protocol. In step 606, it is determined whether the cloud terminal enters the Simple Computing for Independent Computing Environment (spice) cloud desktop. If the cloud terminal does not enter the strawberry cloud desktop at this time, step 607 is performed; if the cloud terminal enters at this time Spice cloud desktop, go to step 611.
其中,spice云桌面可以是通过spice协议传输的云桌面,云终端进入spice云桌面可以是云终端通过账号和密码登录云服务器之后,云终端通过spice协议获取到云桌面的过程。The spice cloud desktop can be a cloud desktop that is transmitted through the spice protocol. The cloud terminal enters the spice cloud desktop. After the cloud terminal logs in to the cloud server through the account and password, the cloud terminal obtains the cloud desktop through the spice protocol.
在步骤607中,云终端将解封数据写入鼠标和键盘对应的设备事件(event)文件中。In step 607, the cloud terminal writes the decapsulated data into a device event file corresponding to the mouse and the keyboard.
在步骤608中,云终端进行事件处理。In step 608, the cloud terminal performs event processing.
在步骤609中,云终端将数据传入到本地系统的输入核心层。In step 609, the cloud terminal passes the data to the input core layer of the local system.
在步骤610中,数据被传输到云终端的鼠标键盘的驱动层。In step 610, the data is transmitted to the driver layer of the mouse and keyboard of the cloud terminal.
结合图9,云终端本地的鼠标和键盘响应移动终端发送的数据中的操作,完成移动、单击或按键等动作,移动终端远程操控本地云终端。Referring to FIG. 9, the local mouse and keyboard of the cloud terminal respond to operations in the data sent by the mobile terminal, and complete actions such as moving, clicking, or pressing, and the mobile terminal remotely controls the local cloud terminal.
在步骤611中,云终端与Spice进程进行进程间通信。In step 611, the cloud terminal performs inter-process communication with the Spice process.
在步骤612中,Spice进程与云桌面的服务器进行传输控制协议(Transmission Control Protocol,TCP)通信。In step 612, the Spice process performs Transmission Control Protocol (TCP) communication with the server of the cloud desktop.
在步骤613中,云桌面系统的键盘和鼠标响应鼠标键盘动作,更新相关的显示区域,将显示区域通过网络传输至云终端,云终端对显示的云桌面更新。结合图9,云终端可以将解封数据通过Spice协议的鼠标键盘数据通道将解封数据传送到远端的云桌面,云桌面响应鼠标键盘动作,云桌面的图像反馈到云终端本地,移动终端可以远程操控远端的云桌面。通过以上的实施方式的描述,
上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,也可以通过硬件的方式实现。上述技术方案本质上可以以软件产品的形式体现出来,该计算机软件产品存储在一个非暂态存储介质(如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟、光盘)中,也可以存储在暂态存储介质中,计算机软件产品可以包括一个或多个指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行以上实施例中的方法。In step 613, the keyboard and mouse of the cloud desktop system respond to the mouse and keyboard actions, update the related display area, transmit the display area to the cloud terminal through the network, and the cloud terminal updates the displayed cloud desktop. Referring to FIG. 9, the cloud terminal can transmit the decapsulated data to the remote cloud desktop through the mouse and keyboard data channel of the Spice protocol, and the cloud desktop responds to the mouse and keyboard actions, and the image of the cloud desktop is fed back to the cloud terminal local, the mobile terminal. The remote cloud desktop can be remotely controlled. Through the description of the above embodiments,
The method of the foregoing embodiment may be implemented by means of software plus a necessary general hardware platform, or may be implemented by hardware. The above technical solution can be embodied in the form of a software product stored in a non-transitory storage medium (such as read-only memory (ROM), random access memory (Random Access Memory, RAM). ), a disk, an optical disk, may also be stored in a transitory storage medium, and the computer software product may include one or more instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) The method in the above embodiment is performed.
实施例3Example 3
在本实施例中还提供了一种接入设备的控制装置,该装置可以实现上述实施例。如以下所使用的,术语“模块”可以实现预定功能的软件、硬件、或者软件和硬件的组合。以下实施例所描述的装置可以以软件、硬件,或者软件和硬件的组合的方式实现。Also provided in this embodiment is a control device for an access device, which can implement the above embodiment. As used hereinafter, the term "module" may implement software, hardware, or a combination of software and hardware for a predetermined function. The apparatus described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware.
图7是本实施例的接入设备的控制装置的结构框图,如图7所示,该装置可以设置于终端(如,移动终端)中,包括:配置模块72、指令生成模块74和发送模块76,其中,FIG. 7 is a structural block diagram of a control apparatus of an access device according to the embodiment. As shown in FIG. 7, the apparatus may be disposed in a terminal (eg, a mobile terminal), including: a configuration module 72, an instruction generation module 74, and a sending module. 76, of which,
配置模块72设置为在移动终端的显示界面配置操控区域。The configuration module 72 is configured to configure a manipulation area on the display interface of the mobile terminal.
指令生成模块74设置为在操控区域获取键入信号,并依据键入信号生成控制指令。The command generation module 74 is configured to acquire a key-in signal in the manipulation region and generate a control command in accordance with the key-in signal.
发送模块76,设置为依据预设连接方式将控制指令发送至接入设备。The sending module 76 is configured to send the control command to the access device according to the preset connection manner.
本实施例提供的接入设备的控制装置中,在移动终端的显示界面配置操控区域;在操控区域获取键入信号,并依据键入信号生成控制指令;依据预设连接方式将控制指令发送至接入设备。因此,可以解决鼠标和键盘设备不方便移动时,操作人员必须在固定的位置操控无线鼠标和键盘等设备,局限了键盘和鼠标操控的范围问题。In the control device of the access device provided by the embodiment, the control region is configured on the display interface of the mobile terminal; the input signal is obtained in the control region, and the control command is generated according to the input signal; and the control command is sent to the access according to the preset connection mode. device. Therefore, it is possible to solve the problem that the mouse and the keyboard device are inconvenient to move, and the operator must control the wireless mouse and the keyboard in a fixed position, which limits the range of keyboard and mouse manipulation.
可选的,配置模块72包括:配置单元。Optionally, the configuration module 72 includes: a configuration unit.
配置单元设置为在显示界面上配置鼠标控制区和键盘控制区中的至少一个。The configuration unit is configured to configure at least one of a mouse control area and a keyboard control area on the display interface.
可选的,配置单元包括:第一配置子单元。Optionally, the configuration unit includes: a first configuration subunit.
第一配置子单元设置为依据预设的应用程序的设置在显示界面配置鼠标控制区和键盘控制区中的至少一个。
The first configuration subunit is configured to configure at least one of a mouse control area and a keyboard control area on the display interface according to a preset application setting.
可选的,配置单元包括:第二配置子单元。第二配置子单元设置为配置键盘控制区为九宫输入、26键输入和手写输入中的至少一个。Optionally, the configuration unit includes: a second configuration subunit. The second configuration subunit is configured to configure the keyboard control area to be at least one of a nine-input input, a 26-key input, and a handwriting input.
可选的,指令生成模块74包括:转换单元和第一封装单元。Optionally, the instruction generating module 74 includes: a converting unit and a first encapsulating unit.
转换单元设置为依据预设算法将键入信号转换为对应的事件类型。The conversion unit is configured to convert the keyed signal into a corresponding event type according to a preset algorithm.
第一封装单元设置为封装事件类型对应的数据,得到控制指令。The first encapsulating unit is configured to encapsulate data corresponding to the event type, and obtain a control instruction.
可选的,本实施例提供的接入设备的控制装置还包括:第一功能开启模块、第一搜索模块、第一接入模块和检测模块。Optionally, the control device of the access device provided by this embodiment further includes: a first function opening module, a first searching module, a first access module, and a detecting module.
第一功能开启模块设置为在操控区域获取键入信号之前,开启接入功能。The first function opening module is configured to turn on the access function before acquiring the keying signal in the manipulation area.
第一搜索模块设置为搜索接入设备。The first search module is configured to search for an access device.
第一接入模块设置为依据预设连接方式接入接入设备。The first access module is configured to access the access device according to the preset connection manner.
检测模块设置为监听操控区域,检测是否存在键入信号。The detection module is set to monitor the control area to detect the presence of a keying signal.
可选的,发送模块76包括:第二封装单元和发送单元。Optionally, the sending module 76 includes: a second encapsulating unit and a sending unit.
第二封装单元设置为依据预设连接方式对应的封装协议封装控制指令。The second encapsulating unit is configured to encapsulate the control instruction according to the encapsulation protocol corresponding to the preset connection manner.
发送单元设置为向接入设备发送控制指令。The sending unit is configured to send a control command to the access device.
其中,预设连接方式可以包括以下至少之一:蓝牙连接、红外连接、网络连接。The preset connection manner may include at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
实施例4Example 4
图8是本发明实施例的接入设备的控制装置的结构框图,如图8所示,该装置包括:接收模块82、确定模块84和显示模块86,FIG. 8 is a structural block diagram of a control apparatus of an access device according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes: a receiving module 82, a determining module 84, and a display module 86.
接收模块82设置为依据预设连接方式接收控制指令,其中,控制指令由移动终端依据在其显示界面上的操控区域中获取的键入信号生成。The receiving module 82 is configured to receive the control command according to the preset connection mode, wherein the control command is generated by the mobile terminal according to the keying signal acquired in the manipulation area on the display interface thereof.
确定模块84设置为确定控制指令中所述终端指定的接入点。The determination module 84 is arranged to determine an access point designated by the terminal in the control command.
显示模块86设置为依据接入点显示控制指令。Display module 86 is arranged to display control commands in accordance with the access point.
本实施例提供的接入设备的控制装置中,由于依据预设连接方式接收控制指令,其中,控制指令由移动终端依据在其显示界面上的操控区域中获取的键入信号生成;确定控制指令中所述终端指定的接入点;依据接入点显示控制指令。因此,可以解决鼠标和键盘设备不方便移动时,操作人员必须在固定的位置操控无线鼠标和键盘等设备,局限了键盘和鼠标操控的范围问题。In the control device of the access device provided by the embodiment, the control command is received according to the preset connection mode, wherein the control command is generated by the mobile terminal according to the key input signal acquired in the manipulation area on the display interface thereof; The access point specified by the terminal; displaying a control instruction according to the access point. Therefore, it is possible to solve the problem that the mouse and the keyboard device are inconvenient to move, and the operator must control the wireless mouse and the keyboard in a fixed position, which limits the range of keyboard and mouse manipulation.
可选的,接入设备的控制装置还包括:Optionally, the control device of the access device further includes:
解封装模块,设置为在确定控制指令中所述终端指定的接入点之前,对控
制指令解封装。Decapsulating the module, set to control the access point specified by the terminal in the control command
Instruction decapsulation.
可选的,接入设备的控制装置还包括:第二功能开启模块,第二搜索模块和第二接入模块。Optionally, the control device of the access device further includes: a second function opening module, a second searching module, and a second access module.
第二功能开启模块设置为在依据预设连接方式接收控制指令之前,开启接入功能。The second function opening module is configured to enable the access function before receiving the control command according to the preset connection mode.
第二搜索模块设置为搜索待接入的移动终端。The second search module is configured to search for a mobile terminal to be accessed.
第二接入模块设置为依据预设连接方式接入移动终端。The second access module is configured to access the mobile terminal according to the preset connection manner.
其中,预设连接控制方式可以包括以下至少之一:蓝牙连接、红外连接以及网络连接。The preset connection control manner may include at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
可选的,判断模块84包括:确定单元。Optionally, the determining module 84 includes: a determining unit.
确定单元设置为确定接入点是否为云计算网络。The determining unit is configured to determine whether the access point is a cloud computing network.
可选的,显示模块86包括:第一显示单元和第二显示单元。Optionally, the display module 86 includes: a first display unit and a second display unit.
第一显示单元设置为在接入点为云计算网络的情况下,将控制指令发送至云计算网络中的云服务器中,并接收和显示云服务器反馈的控制指令对应的键入结果。The first display unit is configured to send the control instruction to the cloud server in the cloud computing network if the access point is a cloud computing network, and receive and display the typing result corresponding to the control instruction fed back by the cloud server.
第二显示单元设置为在接入点不为云计算网络的情况下,对控制指令匹配键入结果并响应所述键入结果对应的操作。The second display unit is configured to match the typing result to the control instruction and to respond to the operation corresponding to the keying result if the access point is not a cloud computing network.
其中,键入结果可以包括以下至少之一:选取操作、文字输入操作、控制操作和移动操作。The typing result may include at least one of the following: a selection operation, a text input operation, a control operation, and a movement operation.
上述多个模块是可以通过软件或硬件来实现的,对于硬件实现方式,可以通过以下方式实现,上述模块均位于同一处理器中;或者,上述多个模块以任意组合的形式分别位于不同的处理器中。The foregoing multiple modules may be implemented by software or hardware. For hardware implementation, the foregoing modules may be implemented in the same manner, or the modules may be located in different processing in any combination. In the device.
实施例5Example 5
图9是本实施例5的接入设备的控制系统的结构框图,如图9所示,移动终端的控制系统包括:接入设备和移动终端。9 is a structural block diagram of a control system of an access device according to Embodiment 5. As shown in FIG. 9, the control system of the mobile terminal includes: an access device and a mobile terminal.
接入设备和移动终端,接入设备与移动终端连接,其中,An access device and a mobile terminal, wherein the access device is connected to the mobile terminal, where
接入设备包括上述图8所示的接入设备的控制装置;The access device includes the control device of the access device shown in FIG. 8 above;
移动终端包括上述图7所示的接入设备的控制装置。The mobile terminal includes the control device of the access device shown in FIG. 7 described above.
综上,如图9所示,移动终端可以为图9中手机平板等设备,接入设备为图9中云终端的后台部分。
In summary, as shown in FIG. 9, the mobile terminal may be a device such as a mobile phone tablet in FIG. 9, and the access device is a background portion of the cloud terminal in FIG.
实施例6Example 6
本实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:This embodiment also provides a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
在移动终端的显示界面配置操控区域;Configuring a manipulation area on a display interface of the mobile terminal;
在操控区域获取键入信号,并依据键入信号生成控制指令;以及Acquiring a keying signal in the control area and generating a control command based on the keying signal;
依据预设连接方式将控制指令发送至接入设备。The control command is sent to the access device according to the preset connection mode.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
在移动终端的显示界面配置操控区域包括:在显示界面上配置鼠标控制区和键盘控制区中的至少一个。Configuring the manipulation area on the display interface of the mobile terminal includes: configuring at least one of a mouse control area and a keyboard control area on the display interface.
可选地,在本实施例中,上述存储介质可以包括U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等多种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk. A variety of media that can store program code.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行在显示界面上配置鼠标控制区和键盘控制区中的至少一个包括:依据预设的应用程序的设置在显示界面配置鼠标控制区和键盘控制区中的至少一个。Optionally, in this embodiment, the executing, by the processor according to the stored program code in the storage medium, configuring at least one of the mouse control area and the keyboard control area on the display interface comprises: displaying according to the preset application setting The interface configures at least one of a mouse control area and a keyboard control area.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行在显示界面上配置键盘控制区包括:配置键盘控制区为九宫输入、26键输入和手写输入。Optionally, in this embodiment, the executing, by the processor, the configuring the keyboard control area on the display interface according to the stored program code in the storage medium comprises: configuring the keyboard control area to be a nine-input input, a 26-key input, and a handwriting input.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行依据键入信号生成控制指令包括:依据预设算法将键入信号转换为对应的事件类型;以及封装事件类型对应的数据,得到控制指令。Optionally, in this embodiment, the executing, by the processor, the generating the control instruction according to the input signal according to the stored program code in the storage medium comprises: converting the keyed signal into a corresponding event type according to the preset algorithm; and corresponding to the encapsulated event type Data, get control instructions.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行在操控区域获取键入信号之前,还包括:开启接入功能;搜索接入设备;依据连接方式接入接入设备;以及监听操控区域,检测是否存在键入信号。Optionally, in this embodiment, before the processor obtains the input signal in the manipulation area according to the stored program code in the storage medium, the processor further includes: enabling the access function; searching for the access device; accessing the access according to the connection mode The device; and the listening control area to detect the presence of a keying signal.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行依据预设连接方式将控制指令发送至接入设备包括:依据预设连接方式对应的封装协议封装控制指令;以及向接入设备发送控制指令,其中,预设连接方式可以包括以下至少之一:蓝牙连接、红外连接和网络连接。Optionally, in this embodiment, the sending, by the processor, the control instruction to the access device according to the preset connection manner according to the stored program code in the storage medium includes: packaging the control instruction according to the encapsulation protocol corresponding to the preset connection manner; And sending a control instruction to the access device, where the preset connection manner may include at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例。上述的多个模块或多个步骤可以用通用的计算装置来实现,它们可以
集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,可以将它们存储在存储装置中由计算装置来执行,并且在一些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成多个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Optionally, examples in this embodiment may refer to the examples described in the foregoing embodiments and optional embodiments. The above multiple modules or steps can be implemented by a general-purpose computing device, which can
Concentrating on a single computing device, or distributed over a network of multiple computing devices, alternatively, they may be implemented in program code executable by the computing device, which may be stored in the storage device by the computing device Execution, and in some cases, the steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into a plurality of integrated circuit modules, or a plurality of modules or steps thereof may be fabricated into a single The integrated circuit module is implemented.
一种接入设备的控制方法、装置及系统,避免了鼠标和键盘设备不方便移动时,操作人员必须在固定的位置操控无线鼠标和键盘等设备,局限了键盘和鼠标操控的范围问题。
The control method, device and system of the access device prevent the operator from having to operate the wireless mouse and the keyboard in a fixed position when the mouse and the keyboard device are inconvenient to move, which limits the scope of the keyboard and mouse manipulation.
Claims (18)
- 一种接入设备的控制方法,应用于终端,包括:A method for controlling an access device, applied to a terminal, includes:在移动终端的显示界面配置操控区域;Configuring a manipulation area on a display interface of the mobile terminal;在所述操控区域获取键入信号,并依据所述键入信号生成控制指令;以及Acquiring a key-in signal in the manipulation area and generating a control instruction according to the key-in signal;依据预设连接方式将所述控制指令发送至接入设备。The control command is sent to the access device according to a preset connection manner.
- 根据权利要求1所述的方法,其中,所述在移动终端的显示界面配置操控区域包括:The method of claim 1, wherein the configuring the manipulation area on the display interface of the mobile terminal comprises:在所述显示界面上配置鼠标控制区和键盘控制区中的至少一个。At least one of a mouse control area and a keyboard control area is configured on the display interface.
- 根据权利要求2所述的方法,其中,所述在所述显示界面上配置鼠标控制区和键盘控制区中的至少一个包括:The method of claim 2, wherein the configuring at least one of the mouse control area and the keyboard control area on the display interface comprises:依据预设的应用程序的设置在所述显示界面配置所述鼠标控制区和所述键盘控制区中的至少一个。At least one of the mouse control area and the keyboard control area is configured on the display interface according to a preset application setting.
- 根据权利要求3所述的方法,其中,所述在所述显示界面上配置键盘控制区包括:The method of claim 3, wherein the configuring the keyboard control area on the display interface comprises:配置所述键盘控制区为九宫输入、26键输入和手写输入中的至少一个。The keyboard control area is configured to be at least one of a nine-input input, a 26-key input, and a handwriting input.
- 根据权利要求1所述的方法,其中,所述依据所述键入信号生成控制指令包括:The method of claim 1 wherein said generating control instructions in accordance with said keying signal comprises:依据预设算法将所述键入信号转换为对应的事件类型;以及Converting the keyed signal into a corresponding event type according to a preset algorithm;封装所述事件类型对应的数据,得到所述控制指令。The data corresponding to the event type is encapsulated to obtain the control instruction.
- 根据权利要求1所述的方法,在所述操控区域获取键入信号之前,所述方法还包括:The method according to claim 1, before the obtaining of the keying signal in the manipulation area, the method further comprises:终端开启接入功能;The terminal enables the access function;终端搜索接入设备; The terminal searches for an access device;终端依据所述预设连接方式接入所述接入设备;以及The terminal accesses the access device according to the preset connection manner;终端监听所述操控区域,检测是否存在所述键入信号。The terminal monitors the manipulation area and detects whether the key input signal exists.
- 根据权利要求6所述的方法,其中,所述依据预设连接方式将所述控制指令发送至接入设备包括:The method of claim 6, wherein the sending the control command to the access device according to the preset connection manner comprises:依据所述预设连接方式对应的封装协议封装所述控制指令;以及Encapsulating the control instruction according to an encapsulation protocol corresponding to the preset connection manner;向所述接入设备发送封装后的控制指令;Sending the encapsulated control instruction to the access device;其中,所述预设连接方式包括以下至少之一:蓝牙连接、红外连接、网络连接。The preset connection manner includes at least one of the following: a Bluetooth connection, an infrared connection, and a network connection.
- 一种接入设备的控制方法,包括:A method for controlling an access device, comprising:接入设备依据预设连接方式接收控制指令,其中,所述控制指令由终端依据在其显示界面上的操控区域中获取的键入信号生成;The access device receives the control command according to the preset connection manner, where the control command is generated by the terminal according to the key input signal acquired in the manipulation area on the display interface thereof;所述接入设备确定所述控制指令中所述终端指定的接入点;以及The access device determines an access point specified by the terminal in the control command;所述接入设备依据所述接入点显示所述控制指令对应的键入结果。The access device displays a keying result corresponding to the control instruction according to the access point.
- 根据权利要求8所述的方法,在所述接入设备确定所述控制指令中所述终端指定的接入点之前,所述方法还包括:The method according to claim 8, before the access device determines the access point specified by the terminal in the control instruction, the method further includes:接入设备对所述控制指令解封装。The access device decapsulates the control command.
- 根据权利要求8所述的方法,在接入设备依据预设连接方式接收控制指令之前,所述方法还包括:The method according to claim 8, before the access device receives the control command according to the preset connection manner, the method further includes:接入设备开启接入功能;The access device enables the access function.接入设备搜索待接入的所述终端;以及The access device searches for the terminal to be accessed;接入设备依据所述预设连接方式接入所述终端。The access device accesses the terminal according to the preset connection manner.
- 根据权利要求10所述的方法,其中,所述预设连接方式包括以下至少之 一:蓝牙连接、红外连接、网络连接。The method of claim 10, wherein the preset connection manner comprises at least the following One: Bluetooth connection, infrared connection, network connection.
- 根据权利要求8所述的方法,其中,所述接入设备确定所述控制指令中所述终端指定的接入点包括:The method according to claim 8, wherein the access device determines that the access point specified by the terminal in the control instruction comprises:所述接入设备确定所述接入点是否为云计算网络。The access device determines whether the access point is a cloud computing network.
- 根据权利要求12所述的方法,其中,所述依据所述接入点显示所述控制指令对应的键入结果包括:The method according to claim 12, wherein the displaying the typing result corresponding to the control instruction according to the access point comprises:在所述接入点为所述云计算网络的情况下,接入设备将所述控制指令发送至所述云计算网络中的云服务器中,并接收和显示所述云服务器反馈的所述控制指令对应的键入结果;以及In the case that the access point is the cloud computing network, the access device sends the control instruction to a cloud server in the cloud computing network, and receives and displays the control fed back by the cloud server. The result of the input corresponding to the instruction;在所述接入点不为所述云计算网络的情况下,接入设备对所述控制指令匹配键入结果并显示所述键入结果。In case the access point is not the cloud computing network, the access device matches the typing result to the control instruction and displays the typing result.
- 根据权利要求13所述的方法,其中,所述键入结果包括以下至少之一:选取操作、文字输入操作、控制操作或移动操作。The method of claim 13, wherein the keying result comprises at least one of a selection operation, a text input operation, a control operation, or a movement operation.
- 一种接入设备的控制装置,设置于终端中,包括:A control device for an access device is disposed in the terminal, and includes:配置模块,设置为在终端的显示界面配置操控区域;The configuration module is configured to configure a manipulation area on the display interface of the terminal;指令生成模块,设置为在所述操控区域获取键入信号,并依据所述键入信号生成控制指令;以及An instruction generation module configured to acquire a key-in signal in the manipulation area and generate a control instruction according to the key-in signal;发送模块,设置为依据预设连接方式将所述控制指令发送至接入设备。The sending module is configured to send the control command to the access device according to the preset connection manner.
- 一种接入设备的控制装置,设置于接入设备中,包括:A control device for an access device is disposed in the access device, and includes:接收模块,设置为依据预设连接方式接收控制指令,其中,所述控制指令由终端依据在其显示界面上的操控区域中获取的键入信号生成;The receiving module is configured to receive the control command according to the preset connection manner, wherein the control command is generated by the terminal according to the key input signal acquired in the manipulation area on the display interface thereof;确定模块,设置为确定所述控制指令中所述终端指定的接入点;以及 Determining a module, configured to determine an access point specified by the terminal in the control command;显示模块,设置为依据所述接入点显示所述控制指令。And a display module configured to display the control instruction according to the access point.
- 一种接入设备的控制系统,包括:接入设备和终端,其中,所述接入设备与所述终端连接,A control system for an access device, comprising: an access device and a terminal, wherein the access device is connected to the terminal,所述接入设备包括权利要求16的接入设备的控制装置;以及The access device includes the control device of the access device of claim 16;所述终端包括权利要求15的接入设备的控制装置。The terminal comprises the control device of the access device of claim 15.
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-14中任一项的方法。 A computer readable storage medium storing computer executable instructions arranged to perform the method of any of claims 1-14.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610437723.7 | 2016-06-17 | ||
CN201610437723.7A CN107515740A (en) | 2016-06-17 | 2016-06-17 | Long-range control method, the apparatus and system of mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017215671A1 true WO2017215671A1 (en) | 2017-12-21 |
Family
ID=60663472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/088878 WO2017215671A1 (en) | 2016-06-17 | 2017-06-17 | Method, apparatus and system for controlling access device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107515740A (en) |
WO (1) | WO2017215671A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114442866A (en) * | 2020-10-20 | 2022-05-06 | 北京小米移动软件有限公司 | Method, device, system, equipment and medium for realizing peripheral function of terminal equipment |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWM562430U (en) * | 2018-01-05 | 2018-06-21 | Thermaltake Technology Co Ltd | Control input system |
CN109358760A (en) * | 2018-09-07 | 2019-02-19 | 视联动力信息技术股份有限公司 | A kind of mouse control method and device |
CN110328667B (en) * | 2019-04-30 | 2021-07-20 | 北京云迹科技有限公司 | Control method and device for robot |
CN112929863B (en) * | 2021-02-25 | 2023-04-07 | 浙江大华技术股份有限公司 | Bluetooth information transmission method, and remote control method and device for intelligent door lock |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102866848A (en) * | 2012-09-13 | 2013-01-09 | 电子科技大学 | Method for controlling cloud classroom intelligent pointer based on wifi |
CN103346938A (en) * | 2013-06-25 | 2013-10-09 | 重庆邮电大学 | Intelligent housing system based on cloud computing service |
CN104010027A (en) * | 2014-04-21 | 2014-08-27 | 华数传媒网络有限公司 | System structure for cloud service platform and realizing method |
WO2015172477A1 (en) * | 2014-05-14 | 2015-11-19 | 中兴通讯股份有限公司 | Method and system for multimedia sharing between cloud terminal and mobile terminal, and cloud terminal |
-
2016
- 2016-06-17 CN CN201610437723.7A patent/CN107515740A/en active Pending
-
2017
- 2017-06-17 WO PCT/CN2017/088878 patent/WO2017215671A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102866848A (en) * | 2012-09-13 | 2013-01-09 | 电子科技大学 | Method for controlling cloud classroom intelligent pointer based on wifi |
CN103346938A (en) * | 2013-06-25 | 2013-10-09 | 重庆邮电大学 | Intelligent housing system based on cloud computing service |
CN104010027A (en) * | 2014-04-21 | 2014-08-27 | 华数传媒网络有限公司 | System structure for cloud service platform and realizing method |
WO2015172477A1 (en) * | 2014-05-14 | 2015-11-19 | 中兴通讯股份有限公司 | Method and system for multimedia sharing between cloud terminal and mobile terminal, and cloud terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114442866A (en) * | 2020-10-20 | 2022-05-06 | 北京小米移动软件有限公司 | Method, device, system, equipment and medium for realizing peripheral function of terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107515740A (en) | 2017-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11431784B2 (en) | File transfer display control method and apparatus, and corresponding terminal | |
WO2017215671A1 (en) | Method, apparatus and system for controlling access device | |
US10480809B2 (en) | Customized control method and system for air conditioner operation mode | |
US20220222029A1 (en) | Remote gesture control, input monitor, systems including the same, and associated methods | |
CN108646958B (en) | Application program starting method and terminal | |
US10768881B2 (en) | Multi-screen interaction method and system in augmented reality scene | |
WO2019120192A1 (en) | Method for editing text, and mobile device | |
CN108958569B (en) | Control method, device, system and terminal of smart television and smart television | |
WO2019105376A1 (en) | Gesture recognition method, terminal and storage medium | |
WO2019085533A1 (en) | Application processing method for terminal device and terminal device | |
Banerjee et al. | Centralized framework for controlling heterogeneous appliances in a smart home environment | |
CN103345303B (en) | A kind of Intelligent mobile equipment substitutes system and the implementation method of mouse-keyboard entirely | |
CN108958606B (en) | Split screen display method and device, storage medium and electronic equipment | |
US9798713B2 (en) | Method for configuring application template, method for launching application template, and mobile terminal device | |
WO2020192428A1 (en) | Object management method and mobile terminal | |
WO2019114522A1 (en) | Screen control method, screen control apparatus, and mobile terminal | |
WO2019072172A1 (en) | Method for displaying multiple content cards, and terminal device | |
WO2021088706A1 (en) | Method for controlling application program and electronic device | |
CN108696642B (en) | Method for arranging icons and mobile terminal | |
CN108604331A (en) | A kind of information prompting method and mobile device | |
CN108762648A (en) | Screen operation control method and mobile terminal | |
WO2020238496A1 (en) | Icon management method and terminal device | |
KR20220045220A (en) | Icon display method and terminal | |
WO2017166858A1 (en) | Method and device for reversely controlling mobile page | |
CN107566613A (en) | A kind of application switch control method, mobile terminal and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17812782 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17812782 Country of ref document: EP Kind code of ref document: A1 |