CN105425936B - Method and device for adapting terminal to external device and terminal - Google Patents

Method and device for adapting terminal to external device and terminal Download PDF

Info

Publication number
CN105425936B
CN105425936B CN201410484498.3A CN201410484498A CN105425936B CN 105425936 B CN105425936 B CN 105425936B CN 201410484498 A CN201410484498 A CN 201410484498A CN 105425936 B CN105425936 B CN 105425936B
Authority
CN
China
Prior art keywords
key
terminal
equipment
establishing
touch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410484498.3A
Other languages
Chinese (zh)
Other versions
CN105425936A (en
Inventor
王照金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201410484498.3A priority Critical patent/CN105425936B/en
Publication of CN105425936A publication Critical patent/CN105425936A/en
Application granted granted Critical
Publication of CN105425936B publication Critical patent/CN105425936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a method and a device for adapting a terminal to an external device and the terminal, wherein the method comprises the following steps: when the terminal is connected with the external device, a corresponding relation is established between a touch key in the application of the terminal and a key of the external device according to the selection of a user. The device includes: and an adaptation module. By adopting the technical scheme of the invention, a user can adapt to the keys of the external equipment of various types according to the requirement to control the terminal, particularly adapt to the keys of the external equipment and the touch keys of various applications installed on the terminal, and further operate the applications in any terminal, particularly game applications, through the external equipment, thereby improving the user experience.

Description

Method and device for adapting terminal to external device and terminal
Technical Field
The invention relates to the technical field of terminal control, in particular to a method and a device for adapting a terminal to an external device and the terminal.
Background
In the prior art, the current situation that key values sent by external devices of different types connected to a terminal are different exists, so that the key at the same position is pressed but the operation results are different, and most applications installed on the terminal cannot be operated through the external devices. However, the current terminals such as mobile phones support the function of connecting external devices and can be used as selling points for propaganda, but the connection of the external devices cannot operate the applications on the terminals, and particularly cannot operate the applications such as games, which results in poor user experience.
Therefore, the prior art has the following problems:
after the external device is connected, if a terminal business does not preset a layout file of the external device, a key code which is triggered by pressing a key of the external device to send each key of the terminal to an application layer may not be desired by a user, and even some keys of the device do not respond;
after the external device is connected, the application may not be operated through the external device, because many applications, particularly touch game applications, do not process key events, but only process touch events, the function development of the connected external device is meaningless, and the user experience is very poor.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a device for adapting an external device to a terminal, so as to flexibly and timely adapt the operation and control of an application installed on the terminal by the external device.
The technical scheme adopted by the invention is that the method for adapting the terminal to the external equipment comprises the following steps:
the terminal is connected with external equipment;
and establishing a corresponding relation between a touch key in the application of the terminal and a key of the external equipment according to the received key association indication.
Further, before establishing a corresponding relationship between a touch key in an application of the terminal and a key of the external device according to the received key association indication, the method further includes:
detecting whether the terminal responds to a key of the external equipment;
and aiming at the key without response, executing the step of establishing the corresponding relation.
Further, the detecting whether the terminal responds to the key of the external device includes:
providing an equipment key detection interface on a screen of the terminal, judging whether keys on the external equipment correspond to keys on the equipment key detection interface one by one, and if so, judging that the terminal responds to the keys of the external equipment; otherwise, judging that the terminal has no response to the key of the external equipment.
Further, for establishing a corresponding relationship between a touch key in the application of the terminal and a key of the external device, the method includes:
determining a reference key on the terminal; and establishing a corresponding relation between the touch key in the application of the terminal and the key of the external equipment based on the corresponding relation between the reference key of the terminal and the touch key in the application of the terminal and the corresponding relation between the reference key and the key of the external equipment.
Further, the reference key on the terminal is determined; establishing a corresponding relation between a touch key in the application of the terminal and a key of the external device based on the corresponding relation between a reference key of the terminal and the touch key in the application of the terminal and the corresponding relation between the reference key and the key of the external device, wherein the corresponding relation comprises the following steps:
providing an equipment key adaptation interface containing a reference key on a screen of a terminal, and establishing a first association relation between a key selected on an external equipment and the reference key selected on the equipment key adaptation interface according to a received key association instruction;
simultaneously providing the equipment key adaptation interface and an application control interface on a screen of the terminal, and establishing a second association relation between a touch key selected on the application control interface and a reference key selected on the equipment key adaptation interface according to the received key association instruction;
and establishing a corresponding relation between a touch key in the application of the terminal and a key of the external equipment based on the first incidence relation and the second incidence relation.
Further, the establishing a first association relationship between a key selected on an external device and a reference key selected on the device key adaptation interface according to the received key association indication includes:
receiving a scanning code of a selected key on the external equipment, which is sent by the external equipment;
acquiring a key code of a selected key on an equipment key adaptation interface of the terminal;
and associating the scanning code with the key code.
Further, the establishing, according to the received key association instruction, a second association relationship between the touch key selected on the control interface of the application and the reference key selected on the device key adaptation interface includes:
acquiring touch data information of a touch key selected on a control interface of the application;
acquiring a key code of a selected key on an equipment key adaptation interface;
and associating the touch data information with the key code.
The invention also provides a device for adapting the terminal to the external equipment, which comprises:
the access module is used for accessing the external equipment on the terminal;
and the adaptation module is used for establishing the corresponding relation between the touch key in the application of the terminal and the key of the external equipment according to the received key association indication.
Further, the adaptation module is configured to:
determining a reference key on the terminal; and establishing a corresponding relation between the touch key in the application of the terminal and the key of the external equipment based on the corresponding relation between the reference key of the terminal and the touch key in the application of the terminal and the corresponding relation between the reference key and the key of the external equipment.
Further, the adaptation module includes:
the first association module is used for providing an equipment key adaptation interface containing a reference key on a screen of the terminal, and establishing a first association relation between the key selected on the external equipment and the reference key selected on the equipment key adaptation interface according to the received key association instruction;
the second association module is used for simultaneously providing the equipment key adaptation interface and an application control interface on a screen of the terminal, and establishing a second association relationship between a touch key selected on the application control interface and a reference key selected on the equipment key adaptation interface according to the received key association instruction;
and the relationship establishing module is used for establishing the corresponding relationship between the touch key in the application of the terminal and the key of the external equipment based on the first association relationship and the second association relationship.
Further, the second association module includes:
the second acquisition module is used for acquiring touch data information of a touch key selected on the control interface of the application; acquiring a key code of a selected key on an equipment key adaptation interface;
and the second establishing module is used for associating the touch data information with the key code.
The invention also provides a terminal, which comprises a processor;
the processor is used for accessing the external equipment on the terminal; and establishing a corresponding relation between a touch key in the application of the terminal and a key of the external equipment according to the received key association indication.
By adopting the technical scheme, the invention at least has the following advantages:
according to the method, the device and the terminal for adapting the terminal to the external equipment, a user can adapt keys of various types of external equipment to operate and control the terminal according to needs, particularly can adapt the keys of the external equipment and touch keys of various applications installed on the terminal, and further can operate the applications in any terminal, particularly game applications, through the external equipment, so that the user experience is improved.
Drawings
Fig. 1 is a flowchart of a method for adapting a terminal to an external device according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating the step S102 according to the first embodiment of the present invention;
fig. 3 is a schematic diagram of a structure of a terminal adapting external device according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal assembly according to a third embodiment of the present invention;
fig. 5 is a schematic flow chart of a method for adapting a terminal to an external device according to a fourth embodiment of the present invention;
fig. 6 is a control flow diagram of a terminal according to a fourth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a device for adapting a terminal to an external device according to a fourth embodiment of the present invention.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the intended purpose, the present invention will be described in detail with reference to the accompanying drawings and preferred embodiments.
A first embodiment of the present invention provides a method for adapting a terminal to an external device, as shown in fig. 1, including the following specific steps:
and step S101, accessing the external equipment on the terminal.
And step S102, establishing a corresponding relation between a touch key in the application of the terminal and a key of the external equipment according to the received key association instruction.
Specifically, determining a reference key on the terminal; and establishing a corresponding relation between the touch key in the application of the terminal and the key of the external equipment based on the corresponding relation between the reference key of the terminal and the touch key in the application of the terminal and the corresponding relation between the reference key and the key of the external equipment.
Further, as shown in fig. 2, step S102 includes the following processing flow:
a1: providing an equipment key adaptation interface containing a reference key on a screen of the terminal, and establishing a first association relation between the key selected on the external equipment and the reference key selected on the equipment key adaptation interface according to the received key association indication.
Further, step a1 includes the following steps:
when a user selects a key on the external equipment, receiving a scanning code of the key selected by the user sent by the external equipment;
when a user selects a key on the equipment key adaptation interface, acquiring a key code of the key selected by the user; it should be noted that, in this embodiment, the order of obtaining the scan code and obtaining the key code may not be limited.
And establishing a first association relation between the keys selected by the user on the external equipment and the keys selected on the equipment key adaptation interface by associating the scanning codes with the key codes.
A2: simultaneously providing the equipment key adaptation interface and an application control interface on a screen of the terminal, and establishing a second association relation between a touch key selected on the application control interface and a reference key selected on the equipment key adaptation interface according to the received key association instruction; the touch keys provided by the control interface are touch keys in the application.
Further, step a2 includes the following steps:
when a user selects a touch key on the control interface, acquiring touch data information of the touch key; the touch data information includes: scan code, X coordinate, Y coordinate, height and width occupied by touch keys, etc.
When a user selects a key on the equipment key adaptation interface, acquiring a key code of the key selected by the user;
and establishing a second association relation between the touch keys selected by the user on the control interface and the keys selected on the equipment key adaptation interface respectively by associating the touch data information with the key codes.
A3: and establishing a corresponding relation between a touch key in the application of the terminal and a key of the external equipment based on the first incidence relation and the second incidence relation.
Preferably, before establishing a corresponding relationship between a touch key in an application of the terminal and a key of the external device according to a selection of the user, the method of this embodiment further includes:
step S100, detecting whether the terminal responds to the key of the external equipment; and aiming at the key without response, executing the step of establishing the corresponding relation.
Specifically, the detecting whether the terminal responds to the key of the external device includes:
providing an equipment key detection interface on a screen of the terminal, judging whether keys on the external equipment correspond to keys on the equipment key detection interface one by one, and if so, judging that the terminal responds to the keys of the external equipment; otherwise, judging that the terminal has no response to the key of the external equipment.
The reason why the step S100 is set in the preferred technical solution of this embodiment is that, the existing terminal and external device may have a certain key automatic default matching capability based on a default matching standard, which may allow the terminal and the external device to automatically perform key matching first, if all the matching is performed, the terminal may be controlled on the external device according to the matched key, and if not, the matching of the key may be further completed according to the selection and the need of the user through the method of this embodiment.
A second embodiment of the present invention, which corresponds to the first embodiment, introduces a device for adapting a terminal to an external device, as shown in fig. 3, including the following components:
1) an access module 100, configured to access an external device on a terminal;
2) the adaptation module 200 is configured to establish a correspondence between a touch key in an application of the terminal and a key of the external device according to the received key association indication.
Specifically, the adaptation module 200 is configured to:
determining a reference key on the terminal; and establishing a corresponding relation between the touch key in the application of the terminal and the key of the external equipment based on the corresponding relation between the reference key of the terminal and the touch key in the application of the terminal and the corresponding relation between the reference key and the key of the external equipment.
Further, the adaptation module 200 includes the following components:
the first association module 101 is configured to provide an equipment key adaptation interface on a screen of the terminal, and establish a first association relationship between a key selected by a user on the external equipment and a key selected on the equipment key adaptation interface;
the second association module 102 is configured to provide the device key adaptation interface and the control interface after the application is started on the screen of the terminal at the same time, and establish a second association relationship between the touch key selected by the user on the control interface and the key selected on the device key adaptation interface; the touch key provided by the control interface is a touch key in the application;
the relationship establishing module 103 is configured to establish a one-to-one correspondence relationship between the touch keys in the application of the terminal and the keys of the external device based on the first association relationship and the second association relationship.
Further, the first association module 101 includes the following constituent modules:
the first obtaining module 10 is configured to receive a scan code of a key selected by a user from an external device when the user selects the key on the external device; when a user selects a key on the equipment key adaptation interface, acquiring a key code of the key selected by the user;
a first establishing module 20, configured to establish a first association relationship between the key selected by the user on the external device and the key selected on the device key adaptation interface by associating the scan code with the key code.
Further, the second association module 102 includes the following constituent modules:
the second obtaining module 30 is configured to obtain touch data information of a touch key when a user selects the touch key on the control interface; when a user selects a key on the equipment key adaptation interface, acquiring a key code of the key selected by the user;
and the second establishing module 40 is configured to establish a second association relationship between the touch key selected on the control interface by the user and the key selected on the device key adaptation interface by associating the touch data information with the key code.
Preferably, the apparatus of this embodiment further includes:
2) the pre-detection module 300 is configured to detect whether the terminal responds to each key of the external device before the adaptation module 200 establishes a corresponding relationship between a touch key in the application of the terminal and a key of the external device; and calling the adaptation module 200 to execute the function of establishing the corresponding relation aiming at the key without response.
Specifically, the preview module 300 is configured to: providing an equipment key detection interface on a screen of the terminal, judging whether keys on the external equipment selected by a user can be matched with the keys on the equipment key detection interface in a one-to-one correspondence manner, if so, judging that the terminal has response to all the keys of the external equipment, otherwise, judging that the terminal has no response to the keys of the external equipment.
A third embodiment of the present invention, a terminal, which can be understood as a physical device, is shown in fig. 4 and includes a processor 10;
and the processor 10 is configured to establish a corresponding relationship between a touch key in an application of the terminal and a key of the external device according to a selection of a user when the external device is accessed to the terminal.
The details of the functions performed by the processor 10 in this embodiment correspond to the functions performed by the adaptation module and the preview module in the second embodiment.
A fourth embodiment of the present invention is based on the above embodiments, and an application example of the present invention is described with reference to fig. 5 to 7.
As shown in fig. 5, a method for adapting an external device to a terminal according to this embodiment has the following general flow:
step 101: and the external equipment establishes communication connection with the terminal. The terminal of the present embodiment is similar to the terminal mentioned in the above embodiments. It should be noted that the external device and the terminal may establish communication connection through bluetooth, WIFI, USB, or other manners.
Step 102: and entering an equipment key detection interface of the terminal, and detecting whether the terminal responds to each key of the external equipment.
Specifically, an equipment key detection interface is displayed on a screen of a terminal, each key in the equipment key detection interface corresponds to a key code, after a user presses a certain key in the external equipment, an application layer of the terminal receives the key code sent by a driving layer of the external equipment, the received key code is matched with the key code of the certain key in the equipment key detection interface, and after the matching is successful, the received key code is marked or displayed to the user in other modes. Step 102 is performed based on the existing key adaptation functions of the terminal and the external device, if the adaptation is unsuccessful, the process goes to step 103, and if the adaptation is successful, the process does not need to go to step 103, unless the mapping relationship of the keys is subsequently adjusted according to the needs of the user, the process needs to be performed in step 104.
Step 103: if some keys have no response, the keys without response enter an equipment key adaptation interface of the terminal for a user to select a certain key in the equipment key adaptation interface, and then the user is prompted to press a certain key corresponding to the external equipment, so that a mapping relation is established between the two keys;
specifically, when a user selects a certain key in the device key adaptation interface, the key code of the key selected by the user is acquired, then the user is prompted to press the certain key of the external device, the scan code of the external device key is acquired, then the scan code and the key code are associated, and then the related information of the external device can be acquired, such as: manufacturer identification VendorID, product identification ProductID, Name and the like, generating a key layout file taking relevant information of the external equipment as a Name after a user finishes all key adaptation, and loading the key layout file corresponding to the external equipment according to the relevant information after acquiring the relevant information of the external equipment when the terminal is connected with the external equipment of the type again;
in addition, the generated key layout file of the external device can also be stored in a cloud server or shared to other users in other modes, and the keys of the external device can be used by other users only after the key layout file of the external device is obtained, so that adaptation is not needed.
Step 104: if the mapping relation between the keys of some external equipment and the keys of the terminal is not desired by the user, entering an equipment key adaptation interface of the terminal for the user to select the keys desired by the user in the equipment key adaptation interface, and then prompting the user to press a certain key desired by the user in the external equipment to establish a new mapping relation.
Specifically, the process of establishing the mapping relationship in step 104 is consistent with the operation process in step 103, and only needs to determine whether the key layout file of the device already exists in the terminal, and if so, the key layout file is updated, otherwise, a new key layout file is generated.
Step 105: if the key adaptation of the equipment is successful, starting the application in the terminal, and detecting whether the external equipment can operate the application;
specifically, after the application is started, the terminal is set to be in an external device operation mode, and when the terminal is in the external device operation mode, the key operation of the external device can be received.
Step 106: if the application still cannot be operated in the operation mode of the external equipment, entering an application key adaptation interface of the terminal, selecting a certain touch key in the application installed in the terminal by a user, dragging the touch key to the position of a certain needed key in the application key adaptation interface, and establishing a mapping relation so as to operate the application; it should be noted that the key code of each key in the device key adaptation interface stored in the terminal is consistent with the key code of the corresponding key in the application key adaptation interface.
Specifically, the user selects a certain key in the application, and obtains data of the touch key, such as: scanning codes, X coordinates, Y coordinates, height and width occupied by keys and the like, then obtaining an icon of the touch key, dragging the icon to a position of a certain key in the application key adaptation interface, obtaining the key code (namely the scanning code corresponding to the external equipment) of the key of the application key adaptation interface corresponding to the last position after dragging is completed by a user, then associating the data of the touch key with the key code of the terminal and storing the data into a key conversion configuration file. And under the operation mode of the external equipment, the terminal searches the data of the corresponding touch key according to the received scanning code of the external equipment and then sends the data to the application in the form of a touch event.
As shown in fig. 6, the control flow of the terminal is as follows:
step 301: detecting the access of an external device;
step 302: acquiring relevant information of external equipment;
step 303: loading a corresponding key layout file according to the relevant information of the external equipment to acquire a key code;
step 304: judging whether the terminal is in an external equipment operation mode or not;
step 305: if the terminal is in the operation mode of the external equipment, loading a key conversion configuration file;
step 306: searching a key code of the terminal corresponding to a scanning code of the external equipment in a key layout file according to the key code, and searching corresponding touch key data in a key conversion configuration file according to the key code; the touch key of the present embodiment is similar to the touch key of the above-described embodiment.
Step 307: the touch key data is notified to the application in the form of a touch event.
As shown in fig. 7, this embodiment further introduces a device for adapting a terminal to an external device, which includes the following components:
a display module: the terminal is used for displaying the layout of each key of the terminal, an equipment key adaptation interface and an application key adaptation interface;
equipment button detection module: the device is used for detecting whether each key of the external equipment responds;
the equipment key adaptation module: the device is used for providing an equipment key adaptation interface and establishing mapping between a scanning code of a key of the external equipment and a key code of a key of the terminal based on the interface;
applying a key adaptation module: the terminal is used for providing an application key adaptation interface and establishing mapping between key codes of keys of the terminal and touch key data of application of the terminal based on the interface;
a storage module: the device is used for storing data after the device key adaptation module and the application key adaptation module are adapted;
a control module: the method is used for responding to the operation of a user when the mapping relation is established, and carrying out data conversion of the key when the user uses the external equipment to carry out key control on the terminal.
According to the method, the device and the terminal for adapting the terminal to the external device, a user can adapt to various types of external device keys to control the terminal according to needs, particularly can adapt to the external device keys and touch keys of various applications installed on the terminal, and further can operate the applications in any terminal, particularly game applications, through the external device, and user experience is improved.
While the invention has been described in connection with specific embodiments thereof, it is to be understood that it is intended by the appended drawings and description that the invention may be embodied in other specific forms without departing from the spirit or scope of the invention.

Claims (8)

1. A method for adapting an external device by a terminal is characterized by comprising the following steps:
the terminal is connected with external equipment;
establishing a corresponding relation between a touch key in the application of the terminal and a key of the external equipment according to the received key association indication; the method for establishing the corresponding relation between the touch key in the application of the terminal and the key of the external device comprises the following steps: determining a reference key on the terminal; establishing a corresponding relation between a touch key in the application of the terminal and a key of the external equipment based on the corresponding relation between a reference key of the terminal and the touch key in the application of the terminal and the corresponding relation between the reference key and the key of the external equipment;
determining a reference key on the terminal; establishing a corresponding relation between a touch key in the application of the terminal and a key of the external device based on the corresponding relation between a reference key of the terminal and the touch key in the application of the terminal and the corresponding relation between the reference key and the key of the external device, wherein the corresponding relation comprises the following steps:
providing an equipment key adaptation interface containing a reference key on a screen of a terminal, and establishing a first association relation between a key selected on an external equipment and the reference key selected on the equipment key adaptation interface according to a received key association instruction;
simultaneously providing the equipment key adaptation interface and an application control interface on a screen of a terminal, and establishing a second association relation between a touch key selected on the application control interface and a reference key selected on the equipment key adaptation interface according to a received key association instruction;
and establishing a corresponding relation between a touch key in the application of the terminal and a key of the external equipment based on the first incidence relation and the second incidence relation.
2. The method for adapting to an external device by a terminal according to claim 1, wherein before establishing a correspondence between a touch key in an application of the terminal and a key of the external device according to the received key association indication, the method further comprises:
detecting whether the terminal responds to a key of the external equipment;
and aiming at the key without response, executing the step of establishing the corresponding relation.
3. The method for adapting the external device to the terminal according to claim 2, wherein the detecting whether the terminal responds to the key of the external device comprises:
providing an equipment key detection interface on a screen of the terminal, judging whether keys on the external equipment correspond to keys on the equipment key detection interface one by one, and if so, judging that the terminal responds to the keys of the external equipment; otherwise, judging that the terminal has no response to the key of the external equipment.
4. The method for adapting an external device to a terminal according to claim 1, wherein the establishing a first association relationship between the key selected on the external device and the reference key selected on the device key adaptation interface according to the received key association indication comprises:
receiving a scanning code of a selected key on the external equipment, which is sent by the external equipment;
acquiring a key code of a selected key on an equipment key adaptation interface of the terminal;
and associating the scanning code with the key code.
5. The method for adapting an external device to a terminal according to claim 1, wherein the establishing, according to the received key association indication, a second association relationship between the touch key selected on the application control interface and the reference key selected on the device key adaptation interface includes:
acquiring touch data information of a touch key selected on a control interface of the application;
acquiring a key code of a selected key on an equipment key adaptation interface;
and associating the touch data information with the key code.
6. The utility model provides a device of external equipment of terminal adaptation which characterized in that includes:
the access module is used for accessing the external equipment on the terminal;
the adaptation module is used for establishing a corresponding relation between a touch key in the application of the terminal and a key of the external equipment according to the received key association indication;
the adaptation module comprises:
the first association module is used for providing an equipment key adaptation interface containing a reference key on a screen of the terminal, and establishing a first association relation between the key selected on the external equipment and the reference key selected on the equipment key adaptation interface according to the received key association instruction;
the second association module is used for simultaneously providing the equipment key adaptation interface and an application control interface on a screen of the terminal, and establishing a second association relation between a touch key selected on the application control interface and a reference key selected on the equipment key adaptation interface according to the received key association instruction;
and the relationship establishing module is used for establishing the corresponding relationship between the touch key in the application of the terminal and the key of the external equipment based on the first association relationship and the second association relationship.
7. The apparatus for adapting an external device according to claim 6, wherein the second association module comprises:
the second acquisition module is used for acquiring touch data information of a touch key selected on the control interface of the application; acquiring a key code of a selected key on an equipment key adaptation interface;
and the second establishing module is used for associating the touch data information with the key code.
8. A terminal comprising a processor;
the processor is used for accessing the external equipment on the terminal; establishing a corresponding relation between a touch key in the application of the terminal and a key of the external equipment according to the received key association indication; the method for establishing the corresponding relation between the touch key in the application of the terminal and the key of the external device comprises the following steps: determining a reference key on the terminal; establishing a corresponding relation between a touch key in the application of the terminal and a key of the external equipment based on the corresponding relation between a reference key of the terminal and the touch key in the application of the terminal and the corresponding relation between the reference key and the key of the external equipment;
determining a reference key on the terminal; establishing a corresponding relation between a touch key in the application of the terminal and a key of the external device based on the corresponding relation between a reference key of the terminal and the touch key in the application of the terminal and the corresponding relation between the reference key and the key of the external device, wherein the corresponding relation comprises the following steps:
providing an equipment key adaptation interface containing a reference key on a screen of a terminal, and establishing a first association relation between a key selected on an external equipment and the reference key selected on the equipment key adaptation interface according to a received key association instruction;
simultaneously providing the equipment key adaptation interface and an application control interface on a screen of a terminal, and establishing a second association relation between a touch key selected on the application control interface and a reference key selected on the equipment key adaptation interface according to a received key association instruction;
and establishing a corresponding relation between a touch key in the application of the terminal and a key of the external equipment based on the first incidence relation and the second incidence relation.
CN201410484498.3A 2014-09-19 2014-09-19 Method and device for adapting terminal to external device and terminal Active CN105425936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410484498.3A CN105425936B (en) 2014-09-19 2014-09-19 Method and device for adapting terminal to external device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410484498.3A CN105425936B (en) 2014-09-19 2014-09-19 Method and device for adapting terminal to external device and terminal

Publications (2)

Publication Number Publication Date
CN105425936A CN105425936A (en) 2016-03-23
CN105425936B true CN105425936B (en) 2020-07-07

Family

ID=55504196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410484498.3A Active CN105425936B (en) 2014-09-19 2014-09-19 Method and device for adapting terminal to external device and terminal

Country Status (1)

Country Link
CN (1) CN105425936B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109922457B (en) * 2019-02-13 2022-06-21 浙江吉利汽车研究院有限公司 Information interaction method, device and system
CN111957038A (en) * 2020-07-30 2020-11-20 视伴科技(北京)有限公司 Method and device for controlling virtual object
CN116795466A (en) * 2021-11-11 2023-09-22 青岛海信传媒网络技术有限公司 Display device and method for displaying content of external device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299991A (en) * 2010-06-22 2011-12-28 北京中星微电子有限公司 Mobile terminal and interface control method thereof
EP2456179A1 (en) * 2010-11-23 2012-05-23 Samsung Electronics Co., Ltd. Apparatus and method for controlling operation of mobile terminal
CN102707895A (en) * 2012-05-23 2012-10-03 北京文和时代科技有限公司 Method and device for transforming physical key operation into touch screen operation
CN102759998A (en) * 2011-04-25 2012-10-31 鸿富锦精密工业(深圳)有限公司 Peripheral type touch control keyboard
CN103345409A (en) * 2013-06-26 2013-10-09 华为终端有限公司 Method and device for generating terminal input signals and terminal
CN103885695A (en) * 2012-12-24 2014-06-25 深圳富泰宏精密工业有限公司 External key management method and external key management system of electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101631958B1 (en) * 2010-01-14 2016-06-20 엘지전자 주식회사 Input device and mobile terminal having the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299991A (en) * 2010-06-22 2011-12-28 北京中星微电子有限公司 Mobile terminal and interface control method thereof
EP2456179A1 (en) * 2010-11-23 2012-05-23 Samsung Electronics Co., Ltd. Apparatus and method for controlling operation of mobile terminal
CN102759998A (en) * 2011-04-25 2012-10-31 鸿富锦精密工业(深圳)有限公司 Peripheral type touch control keyboard
CN102707895A (en) * 2012-05-23 2012-10-03 北京文和时代科技有限公司 Method and device for transforming physical key operation into touch screen operation
CN103885695A (en) * 2012-12-24 2014-06-25 深圳富泰宏精密工业有限公司 External key management method and external key management system of electronic equipment
CN103345409A (en) * 2013-06-26 2013-10-09 华为终端有限公司 Method and device for generating terminal input signals and terminal

Also Published As

Publication number Publication date
CN105425936A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
EP3242461B1 (en) Intelligent device control method and device
CN110636174B (en) Bus code calling method and mobile terminal
CN107943489B (en) Data sharing method and mobile terminal
CN104394263A (en) Accessing point list displaying method and device
KR101731293B1 (en) Mobile terminal test system and mobile terminal test method using the system
WO2014206267A1 (en) Game accessing method and processing method, server, terminal, and system
CN106453925B (en) Information transmission method and mobile terminal
CN105024984A (en) Permission setting method, apparatus and system
CN107368335A (en) A kind of method and apparatus and mobile terminal of Quick Response Code identification
KR20170018295A (en) Method and apparatus for controlling smart device
CN113064683B (en) Display method and system for control interface of electric control equipment, terminal and electric control equipment
CN114565070B (en) Label binding method and device and mobile terminal
CN109495638B (en) Information display method and terminal
KR20140036532A (en) Method and system for executing application, device and computer readable recording medium thereof
CN111065086A (en) SIM (subscriber identity module) identification method and device, storage medium and mobile terminal
CN105425936B (en) Method and device for adapting terminal to external device and terminal
CN110708535A (en) Physical key detection method and device and computer readable storage medium
CN106708390B (en) Screen capturing method, device and system
CN108388455A (en) A kind of sharing method of property parameters, property setting method and mobile terminal
CN110933772A (en) Connection method of wireless device, mobile terminal and computer readable storage medium
CN110891265B (en) Wireless connection control method and device, mobile terminal and storage medium
CN112749074A (en) Test case recommendation method and device
CN104811904A (en) Contact setting method and device
CN107357570B (en) Color filling image generation method and user terminal
KR20170005782A (en) Search method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant