Method and apparatus for data input supporting
First Claim
1. A data input supporting method for controlling an electronic device by an intelligent mobile device, comprising the steps of:
- establishing, by the intelligent mobile device, a connection with the electronic device, and sending, by the intelligent mobile device, virtual data of a control instruction to the electronic device;
receiving, by the electronic device, the virtual data sent by the intelligent mobile device;
analyzing, by the electronic device, the received virtual data according to a pre-stored key value mapping file in the electronic device, the pre-stored key value mapping file saving a mapping relationship between the virtual data and a real instruction;
encapsulating, by the electronic device, the real instruction obtained by the step of analyzing the virtual data, and sending, by the electronic device, the encapsulated real instruction to a pre-established virtual device node in the electronic device;
filling the real instruction into a corresponding system function by the pre-established virtual device node in the electronic device automatically according to an instruction type; and
responding to a kernel space data injection event generated by the step of filling the real instruction into the corresponding system function,wherein the step of filling the real instruction into the corresponding system function by the pre-established virtual device node in the electronic device automatically according to the instruction type comprises the steps of;
acquiring the instruction type of the real instruction; and
determining whether a system supports the instruction type of the real instruction, and when the system supports the instruction type of the real instruction, organizing a type value and a data value of the real instruction, and filling the organized type value and data value of the real instruction into the corresponding system function.
1 Assignment
0 Petitions
Accused Products
Abstract
Data input supporting method and apparatus are disclosed. The data input supporting method includes receiving virtual data sent by an intelligent mobile device, analyzing the received virtual data according to a pre-stored key value mapping file, the key value mapping file saving a mapping relationship between the virtual data and a real instruction, encapsulating the real instruction obtained by analyzing the virtual data, and sending the encapsulated real instruction to a pre-established virtual device node, filling the real instruction into a corresponding system function by the virtual device node automatically according to an instruction type; and responding to a kernel space data injection event generated by filling the real instruction into the system function. Embodiments of the invention can support non-contact control of the intelligent mobile device to an electronic product through a wireless connection, thereby providing desirable user experience.
6 Citations
12 Claims
-
1. A data input supporting method for controlling an electronic device by an intelligent mobile device, comprising the steps of:
-
establishing, by the intelligent mobile device, a connection with the electronic device, and sending, by the intelligent mobile device, virtual data of a control instruction to the electronic device; receiving, by the electronic device, the virtual data sent by the intelligent mobile device; analyzing, by the electronic device, the received virtual data according to a pre-stored key value mapping file in the electronic device, the pre-stored key value mapping file saving a mapping relationship between the virtual data and a real instruction; encapsulating, by the electronic device, the real instruction obtained by the step of analyzing the virtual data, and sending, by the electronic device, the encapsulated real instruction to a pre-established virtual device node in the electronic device; filling the real instruction into a corresponding system function by the pre-established virtual device node in the electronic device automatically according to an instruction type; and responding to a kernel space data injection event generated by the step of filling the real instruction into the corresponding system function, wherein the step of filling the real instruction into the corresponding system function by the pre-established virtual device node in the electronic device automatically according to the instruction type comprises the steps of; acquiring the instruction type of the real instruction; and determining whether a system supports the instruction type of the real instruction, and when the system supports the instruction type of the real instruction, organizing a type value and a data value of the real instruction, and filling the organized type value and data value of the real instruction into the corresponding system function. - View Dependent Claims (2, 3, 4)
-
-
5. A data input supporting apparatus for controlling an electronic device by an intelligent mobile device, comprising:
-
one or more processors; and a memory storing computer-executable codes executable at the one or more processors, wherein the codes comprise; a virtual data receiving unit, adapted for receiving virtual data sent by the intelligent mobile device; a virtual data analyzing unit, adapted for analyzing the received virtual data according to a pre-stored key value mapping file in the electronic device, the pre-stored key value mapping file saving a mapping relationship between the virtual data and a real instruction; a virtual data sending unit, adapted for encapsulating the real instruction obtained by the analyzing the received virtual data, and sending the encapsulated real instruction to a pre-established virtual device node in the electronic device; a virtual data filling unit, adapted for filling the real instruction into a corresponding system function automatically according to an instruction type; and an instruction responding unit, adapted for responding to a kernel space data injection event generated by the filling the real instruction into the corresponding system function, wherein the virtual data filling unit comprises; an instruction type acquisition module, adapted for acquiring the instruction type of the real instruction; and an instruction data filling module, adapted for determining whether a system supports the instruction type of the real instruction, and when the system supports the instruction type of the real instruction, organizing a type value and a data value of the real instruction, and filling the organized type value and data value of the real instruction into the corresponding system function. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory tangible computer-readable medium storing codes which, when executed by one or more processors, cause an apparatus to perform a data input supporting method for controlling an electronic device by an intelligent mobile device, the method comprising the steps of:
-
receiving virtual data sent by the intelligent mobile device; analyzing the received virtual data according to a pre-stored key value mapping file in the electronic device, the pre-stored key value mapping file saving a mapping relationship between the virtual data and a real instruction; encapsulating the real instruction obtained by the step of analyzing the virtual data, and sending the encapsulated real instruction to a pre-established virtual device node in the electronic device; filling the real instruction into a corresponding system function by the pre-established virtual device node in the electronic device automatically according to an instruction type; and responding to a kernel space data injection event generated by filling the real instruction into the corresponding system function, wherein the step of filling the real instruction into the corresponding system function by the pre-established virtual device node in the electronic device automatically according to the instruction type comprises the steps of; acquiring the instruction type of the real instruction; and determining whether a system supports the instruction type of the real instruction, and when the system supports the instruction type of the real instruction, organizing a type value and a data value of the real instruction, and filling the organized type value and data value of the real instruction into the corresponding system function. - View Dependent Claims (10, 11, 12)
-
Specification