CN113377050A - Method and device for controlling terminal, terminal and non-transitory storage medium - Google Patents

Method and device for controlling terminal, terminal and non-transitory storage medium Download PDF

Info

Publication number
CN113377050A
CN113377050A CN202110664242.0A CN202110664242A CN113377050A CN 113377050 A CN113377050 A CN 113377050A CN 202110664242 A CN202110664242 A CN 202110664242A CN 113377050 A CN113377050 A CN 113377050A
Authority
CN
China
Prior art keywords
terminal
identification information
information
mapping table
controlled end
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.)
Pending
Application number
CN202110664242.0A
Other languages
Chinese (zh)
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202110664242.0A priority Critical patent/CN113377050A/en
Publication of CN113377050A publication Critical patent/CN113377050A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure provides a method, an apparatus, a terminal and a non-transitory storage medium for controlling the terminal. The method comprises the following steps: acquiring operation information; converting the operation information into identification information according to a first mapping table; and sending the identification information to a controlled end so that the controlled end analyzes the identification information and executes corresponding operation. The control terminal method provided by the disclosure can respond to the control instruction in a customized manner by defining the mapping table.

Description

Method and device for controlling terminal, terminal and non-transitory storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling a terminal, and a non-transitory storage medium.
Background
With the popularization of smart devices, the single and unchangeable control functions of various electronic products have not been able to meet the demands of consumers.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In order to solve the above problems, the present disclosure provides a method, an apparatus, a terminal, and a non-transitory storage medium for controlling a terminal.
According to an embodiment of the present disclosure, there is provided a method for controlling a terminal, for a control terminal, including:
acquiring operation information;
converting the operation information into identification information according to a first mapping table; and
and sending the identification information to a controlled end so that the controlled end analyzes the identification information and executes corresponding operation.
According to an embodiment of the present disclosure, there is provided a method for controlling a terminal, which is used for a controlled terminal, and includes:
receiving identification information sent from a control terminal; and
converting the identification information into execution information according to a second mapping table; and
and executing the execution information.
According to an embodiment of the present disclosure, there is provided an apparatus for controlling a terminal, for a control terminal, including:
the acquisition module is used for acquiring the operation information;
the first conversion module is used for converting the operation information into identification information according to a first mapping table; and
and the sending module is used for sending the identification information to a controlled end so that the controlled end analyzes the identification information and executes corresponding operation.
According to an embodiment of the present disclosure, there is provided an apparatus for controlling a terminal, which is used for a controlled terminal, including:
the receiving module is used for receiving the identification information sent from the control terminal;
the second conversion module is used for converting the identification information into execution information according to a second mapping table; and
and the operation module is used for operating the execution information.
According to an embodiment of the present disclosure, there is provided a terminal including: at least one memory and at least one processor; wherein the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method.
According to an embodiment of the present disclosure, there is provided a non-transitory storage medium for storing program code which, when executed by a computer device, causes the computer device to perform the above-described method.
The control terminal scheme disclosed by the invention can respond to the control instruction in a customized manner by defining the mapping table.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 shows a flowchart of a terminal control method of a control terminal according to an embodiment of the present disclosure.
Fig. 2 shows a flowchart of a terminal control method of a controlled terminal according to an embodiment of the present disclosure.
Fig. 3 shows an interaction diagram of a control end and a controlled end according to an embodiment of the present disclosure.
Fig. 4 shows an interaction diagram between a peripheral and a terminal according to an embodiment of the present disclosure.
Fig. 5 shows a schematic structural diagram of a control terminal device according to an embodiment of the present disclosure.
Fig. 6 shows a schematic structural diagram of a control terminal device according to another embodiment of the present disclosure.
Fig. 7 shows a schematic structural diagram of a terminal suitable for implementing an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The terminal in the present disclosure may include, but is not limited to, mobile terminal devices such as a mobile phone, a smart phone, a notebook computer, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation apparatus, a vehicle-mounted terminal device, a vehicle-mounted display terminal, a vehicle-mounted electronic rearview mirror, and the like, and fixed terminal devices such as a digital TV, a desktop computer, and the like.
As shown in fig. 1, fig. 1 shows a flowchart of a terminal control method of a control terminal according to an embodiment of the present disclosure, which includes the following steps.
And S100, acquiring operation information.
Specifically, the embodiments of the present disclosure may include acquiring a key trigger action; the key triggering action comprises one or more of a long pressing action, a short pressing action, a single-clicking action and a double-clicking action. Namely, the user performs corresponding action triggering, and the control end can recognize the corresponding action through analysis.
S200, converting the operation information into identification information according to a first mapping table.
Specifically, the embodiment of the present disclosure may set different corresponding relationships between actions and instructions by defining the first mapping table, so as to complete one-to-one mapping of common actions; for example, when the user performs a double-click action, the control terminal can recognize the action and then obtain the identification information according to the defined corresponding relationship.
S300, the identification information is sent to a controlled end, so that the controlled end analyzes the identification information and executes corresponding operation.
Referring to fig. 2, fig. 2 shows a flowchart of a terminal control method of a controlled terminal according to an embodiment of the present disclosure, which includes the following steps.
S100', receiving the identification information sent from the control terminal.
Wherein the identification information may be the identification information obtained in step S200.
S200', the identification information is converted into execution information according to a second mapping table.
Specifically, the embodiment of the present disclosure may further implement a custom corresponding operation at the controlled end, for example, by modifying the identification information and the execution information corresponding to each other in the second mapping table. For example, the user may modify the mapping relationship in a user-defined manner in a selection interface, and the selection interface may include a designated corresponding operation allowing a trigger key action set by the user; for example, the user may trigger a photographing action of the controlled terminal by double-clicking the control terminal, or the user may trigger a voice input action of the controlled terminal by long-time pressing operation, etc.
S300', the execution information is operated.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating interaction between a control end and a controlled end according to an embodiment of the present disclosure. Specifically, the first mapping table includes preset one-to-one corresponding operation information and identification information, and the second mapping table includes preset one-to-one corresponding identification information and execution information. The embodiment of the disclosure can customize the control instruction by changing the corresponding relationship between the first mapping table and the second mapping table. For example, a system-level app is created, and the app needs to implement a map in which Bluetooth Low Energy (BLE) keys and terminal behaviors are in one-to-one correspondence, expose UI operations to a user, and the user can also customize and modify the mapping relationship of the map from an app interface. Namely, the user can customize and modify the first mapping table of the control terminal, for example, the bluetooth low energy device, or can customize and modify the second mapping table of the controlled terminal, for example, the terminal, so as to customize the mapping relationship between the operation of the control terminal and the execution of the controlled terminal. The control end of the embodiment of the present disclosure includes but is not limited to an intelligent wearable device, and the controlled end includes but is not limited to a smart phone and the like. The embodiment of the disclosure can convert the acquired operation information such as the key triggering action into the identification information in the form of an instruction. The key triggering action can be a triggering action of an entity key or a triggering action of a virtual key, and comprises triggering times, triggering duration of each time and the like; the operational information may include virtual instructions. And the controlled end receives the identification information, converts the identification information into execution information through the second mapping table, and operates the execution information.
The embodiment of the present disclosure may further include obtaining identification codes of the control end and the controlled end, respectively; unifying the identification codes; the identification code is used for connecting the control end and the controlled end, correspondingly matching the services of the control end and the controlled end, and coordinating data of the corresponding services of the control end and the controlled end. The identification code of the embodiment of the present disclosure may include a universal unique identification code, and specifically may include a service identification code and an attribute identification code, which are used to identify a corresponding service and attribute. The universal unique identifier allows all elements in the distributed system to have unique identification information without specifying the identification information through the central control end, and can be used to identify the attribute type and be regarded as a unique identifier. In the search for a service, only the universally unique identification code associated with a certain type of service (or a certain service) needs to be indicated in its service search request, and a response is returned if the service provider can match the available service with this universally unique identification code. For example, the control end may include a plurality of identification codes respectively corresponding to a plurality of identification codes of a plurality of services of the controlled end, and the corresponding manner may be matching by searching for the same identification code, for example, the control end and the controlled end communicate through the same identification code, and the like. After the identification codes are unified, the controlled end can be connected to the control end through the identification codes and corresponds to the specified service; after the corresponding matching service, the control end and the service end can mutually transmit data through the identification code, for example, data is written into the control end through the controlled end, or data of the controlled end is read from the control end, and the like; or cooperate with the data of the corresponding matched service, for example, update the corresponding data content in real time, or set to conditionally report the data of the matched service on the other side, and so on. The disclosed embodiment may also include operations of bidirectional control, for example, a user may scan for connection to a specified terminal through bluetooth low energy to find a specified terminal service; or the user writes the data of the related characteristic value from the controlled end to the control end, or reads the data information of the related characteristic value from the control end; or the control end is set to inform the controlled end when the data state changes, and the like.
The architecture of bluetooth low energy may be divided into three parts: a controller, a host, and an application. The application program may be a system application or a third party application. The application layer specification defines three types: characteristics, services, and specifications. The characteristic is data marked with a unique identification code. Since the characteristics require repeated use, no behavior is involved in the design. A service is a set of readable features and associated behavioral specifications. For a service, the behavior of the client may be implicitly determined by the server behavior of the service. A specification is an embodiment of a use case or application. The specification describes a specification of a plurality of devices, each device providing one or more services. The specification describes how to discover and connect devices to determine the required topology for each device. The specification also describes the behavior of the client for discovering services and service characteristics, and implementing the functions required by the use case or application using the service. A controller may be a physical device capable of sending and receiving radio signals and translating those signals into data packets carrying information. The host may be a software stack that manages communication between two or more devices and provides several different services simultaneously using the radio. The application uses the software stack, and thus the controller, to implement the instance. Within the controller are both the physical layer and the link layer, as well as the direct test mode and Host Controller Interface (HCI) layers. Three protocols are contained within the host: a logical link control and adaptation Protocol (L2CAP), an Attribute Protocol (Attribute Protocol), and a Security Manager Protocol (Security Manager Protocol), and further includes a generic Attribute specification (GATT), a generic access specification (GAP), and a schema. The Bluetooth controller consists of a radio frequency device which comprises a digital part and an analog part and hardware which is responsible for transmitting and receiving data packets. The controller is connected with the outside through an antenna and connected with the host through a host control interface. Radio waves can generally carry information within a given certain frequency band by changing amplitude, frequency or phase. In bluetooth low energy, a modulation method of gaussian frequency shift keying is adopted to change the frequency of radio waves and transmit information of 0 or 1.
The embodiment of the disclosure can connect the control terminal and the controlled terminal through, for example, bluetooth low energy, when a user triggers a physical key of the control terminal, the control terminal analyzes and identifies the corresponding identification information through the first mapping table, then sends the identification information to the controlled terminal through the established connection, and the controlled terminal searches the corresponding user-defined execution information through the second mapping table and then performs the execution operation. The disclosed embodiments may include two different mapping processes, including two sets of correspondences, i.e., where the customization may be performed at the control end and the controlled end, respectively. The control instruction is quickly responded by the switching mode of the user-defined control behavior.
As shown in fig. 4, fig. 4 shows an interaction diagram between a peripheral and a terminal according to an embodiment of the present disclosure. In the embodiment of the present disclosure, the control end is, for example, a peripheral, and the controlled end is, for example, a terminal. If the user sets that the terminal correspondingly executes the photographing function through the double-click operation of the peripheral, the same identification information can be set in the peripheral and the terminal respectively, for example, the double-click operation and the identification information are associated in the first mapping table, and the identification information and the photographing function are associated in the second mapping table. Specifically, a user can trigger a key action through the peripheral, analyze the key action through an algorithm of the peripheral, recognize a double-click operation, search identification information corresponding to the double-click operation in a first mapping table, such as a key mapping table, transmit the searched identification information to the terminal through a low-power-consumption bluetooth identification code, report the identification information to a system application or a third-party application after the terminal acquires the identification information representing the key action, analyze the identification information by an application receiving the identification information, search execution information corresponding to the identification information in a second mapping table preset by the user, such as triggering photographing, and execute a photographing instruction. Therefore, through the two-end recognition, the double-click behavior of the user can be analyzed into the photographing operation of the terminal. The user can respectively define the mapping relation in the key mapping table and the application, and the mapping relation comprises the steps of changing the identification information corresponding to the key action, changing the execution information corresponding to the identification information and the like. It is understood that other operations may be set by the embodiments of the present disclosure, such as associating a long press with a music playing function, and the association may be referred to as described above and will not be repeated here.
As shown in fig. 5, fig. 5 is a schematic structural diagram of a control terminal device according to an embodiment of the present disclosure. The apparatus 10 of the embodiment of the present disclosure, for example, a control terminal, may include an obtaining module 11, a first converting module 13, and a sending module 15. The obtaining module 11 may be configured to obtain operation information; the first conversion module 13 is configured to convert the operation information into identification information according to a first mapping table; the sending module 15 may be configured to send the identification information to the controlled end, so that the controlled end parses the identification information and executes a corresponding operation.
As shown in fig. 6, fig. 6 is a schematic structural diagram of a control terminal device according to another embodiment of the present disclosure. The apparatus 30 of the disclosed embodiment, for example, the controlled end, may include a receiving module 31, a second converting module 33, and an operating module 35. The receiving module 31 may be configured to receive identification information sent from the control end; the second conversion module 33 may be configured to convert the identification information into execution information according to a second mapping table; the execution module 35 may be configured to execute the execution information.
For the embodiments of the apparatus, since they correspond substantially to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative, wherein the modules described as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In addition, the present disclosure also provides a terminal, including: at least one memory and at least one processor; wherein the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method.
Furthermore, the present disclosure also provides a non-transitory storage medium for storing program code for performing the above method.
Referring now to fig. 7, a block diagram of a terminal 800 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The terminal shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, the terminal 800 may include a processing device (e.g., central processing unit, graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage device 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the terminal 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the terminal 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates a terminal 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the terminal; or may exist separately and not be assembled into the terminal.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a method of controlling a terminal, for a control terminal, including:
acquiring operation information;
converting the operation information into identification information according to a first mapping table; and
and sending the identification information to a controlled end so that the controlled end analyzes the identification information and executes corresponding operation.
According to one or more embodiments of the present disclosure, the obtaining operation information includes:
acquiring a key triggering action;
the key triggering action comprises one or more of a long pressing action, a short pressing action, a single-clicking action and a double-clicking action.
According to one or more embodiments of the present disclosure, the first mapping table includes preset one-to-one correspondence operation information and identification information.
According to one or more embodiments of the present disclosure, there is provided a method for manufacturing a terminal, which is used for a controlled terminal, and includes:
receiving identification information sent from a control terminal; and
converting the identification information into execution information according to a second mapping table; and
and executing the execution information.
According to one or more embodiments of the present disclosure, the method further comprises:
respectively acquiring identification codes of the control end and the controlled end; and
unifying the identification codes;
the identification code is used for connecting the control end and the controlled end, correspondingly matching the services of the control end and the controlled end, and coordinating data of the corresponding services of the control end and the controlled end.
According to one or more embodiments of the present disclosure, the second mapping table includes preset one-to-one correspondence identification information and execution information.
According to one or more embodiments of the present disclosure, there is provided an apparatus for controlling a terminal, for a control terminal, including:
the acquisition module is used for acquiring the operation information;
the first conversion module is used for converting the operation information into identification information according to a first mapping table; and
and the sending module is used for sending the identification information to a controlled end so that the controlled end analyzes the identification information and executes corresponding operation.
According to one or more embodiments of the present disclosure, there is provided an apparatus for controlling a terminal, for a controlled terminal, including:
the receiving module is used for receiving the identification information sent from the control terminal;
the second conversion module is used for converting the identification information into execution information according to a second mapping table; and
and the operation module is used for operating the execution information.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor; wherein the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method.
According to one or more embodiments of the present disclosure, there is provided a non-transitory storage medium for storing program code for performing the above-described method.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A method for controlling a terminal, which is used for a control terminal, comprises the following steps:
acquiring operation information;
converting the operation information into identification information according to a first mapping table; and
and sending the identification information to a controlled end so that the controlled end analyzes the identification information and executes corresponding operation.
2. The method of claim 1, wherein the obtaining operation information comprises:
acquiring a key triggering action;
the key triggering action comprises one or more of a long pressing action, a short pressing action, a single-clicking action and a double-clicking action.
3. The method of claim 1, wherein the first mapping table includes preset one-to-one correspondence of operation information and identification information.
4. A method for controlling a terminal is used for a controlled terminal and comprises the following steps:
receiving identification information sent from a control terminal; and
converting the identification information into execution information according to a second mapping table; and
and executing the execution information.
5. The method of claim 1 or 4, further comprising:
respectively acquiring identification codes of the control end and the controlled end; and
unifying the identification codes;
the identification code is used for connecting the control end and the controlled end, correspondingly matching the services of the control end and the controlled end, and coordinating data of the corresponding services of the control end and the controlled end.
6. The method of claim 4, wherein the second mapping table comprises preset one-to-one correspondence of identification information and execution information.
7. An apparatus for controlling a terminal, for a control terminal, comprising:
the acquisition module is used for acquiring the operation information;
the first conversion module is used for converting the operation information into identification information according to a first mapping table; and
and the sending module is used for sending the identification information to a controlled end so that the controlled end analyzes the identification information and executes corresponding operation.
8. An apparatus for controlling a terminal, which is used for a controlled terminal, comprises:
the receiving module is used for receiving the identification information sent from the control terminal;
the second conversion module is used for converting the identification information into execution information according to a second mapping table; and
and the operation module is used for operating the execution information.
9. A terminal, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code and the at least one processor is configured to invoke the program code stored in the at least one memory to perform the method of any of claims 1 to 6.
10. A non-transitory storage medium storing program code which, when executed by a computer device, causes the computer device to perform the method of any one of claims 1 to 6.
CN202110664242.0A 2021-06-16 2021-06-16 Method and device for controlling terminal, terminal and non-transitory storage medium Pending CN113377050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110664242.0A CN113377050A (en) 2021-06-16 2021-06-16 Method and device for controlling terminal, terminal and non-transitory storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110664242.0A CN113377050A (en) 2021-06-16 2021-06-16 Method and device for controlling terminal, terminal and non-transitory storage medium

Publications (1)

Publication Number Publication Date
CN113377050A true CN113377050A (en) 2021-09-10

Family

ID=77574514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110664242.0A Pending CN113377050A (en) 2021-06-16 2021-06-16 Method and device for controlling terminal, terminal and non-transitory storage medium

Country Status (1)

Country Link
CN (1) CN113377050A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108564944A (en) * 2018-02-08 2018-09-21 百度在线网络技术(北京)有限公司 Intelligent control method, system, equipment and storage medium
CN108965071A (en) * 2018-06-27 2018-12-07 努比亚技术有限公司 Household terminal control method, communication processing equipment, household terminal and storage medium
US20190098110A1 (en) * 2017-09-22 2019-03-28 Samsung Sds Co., Ltd. Conference system and apparatus and method for mapping participant information between heterogeneous conferences
CN110327620A (en) * 2019-07-09 2019-10-15 南京雷鲨信息科技有限公司 Operation mapping control system, method and computer readable storage medium between multiterminal
CN110753089A (en) * 2019-09-19 2020-02-04 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for managing client
CN111580710A (en) * 2020-04-23 2020-08-25 深圳传音控股股份有限公司 Interaction method, terminal and computer readable storage medium
CN112770003A (en) * 2021-01-26 2021-05-07 北京字节跳动网络技术有限公司 Method, device, terminal and storage medium for controlling electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190098110A1 (en) * 2017-09-22 2019-03-28 Samsung Sds Co., Ltd. Conference system and apparatus and method for mapping participant information between heterogeneous conferences
CN108564944A (en) * 2018-02-08 2018-09-21 百度在线网络技术(北京)有限公司 Intelligent control method, system, equipment and storage medium
CN108965071A (en) * 2018-06-27 2018-12-07 努比亚技术有限公司 Household terminal control method, communication processing equipment, household terminal and storage medium
CN110327620A (en) * 2019-07-09 2019-10-15 南京雷鲨信息科技有限公司 Operation mapping control system, method and computer readable storage medium between multiterminal
CN110753089A (en) * 2019-09-19 2020-02-04 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for managing client
CN111580710A (en) * 2020-04-23 2020-08-25 深圳传音控股股份有限公司 Interaction method, terminal and computer readable storage medium
CN112770003A (en) * 2021-01-26 2021-05-07 北京字节跳动网络技术有限公司 Method, device, terminal and storage medium for controlling electronic equipment

Similar Documents

Publication Publication Date Title
CN111368519B (en) Method, device, equipment and storage medium for editing online form
WO2022267635A1 (en) Method and apparatus for data exchange
CN113286280A (en) Audio data processing method and device, electronic equipment and computer readable medium
US20240134501A1 (en) Prompt method and apparatus based on document sharing, device, and medium
CN110781373A (en) List updating method and device, readable medium and electronic equipment
CN114637703B (en) Data access device, method, readable medium and electronic equipment
CN112732302A (en) Configuration updating method and device of application program and electronic equipment
CN113391860A (en) Service request processing method and device, electronic equipment and computer storage medium
CN113377050A (en) Method and device for controlling terminal, terminal and non-transitory storage medium
CN116384342A (en) Semantic conversion method, semantic conversion device, semantic conversion apparatus, semantic conversion storage medium, and semantic conversion computer program
CN112507676B (en) Method and device for generating energy report, electronic equipment and computer readable medium
CN115576458A (en) Application window display method, device, equipment and medium
CN113126985B (en) Method, apparatus, electronic device and computer readable medium for page rendering
CN112732457B (en) Image transmission method, image transmission device, electronic equipment and computer readable medium
CN114860213A (en) Application package generation method, device, equipment and medium
CN112685075A (en) Gray scale distribution method and device, electronic equipment and computer readable medium
CN112230986A (en) Project file generation method and device, electronic equipment and computer readable medium
CN111986669A (en) Information processing method and device
CN115102992B (en) Data publishing method and device, electronic equipment and computer readable medium
US20230215065A1 (en) Method, apparatus, device and medium for image special effect processing
CN112781581B (en) Method and device for generating path from moving to child cart applied to sweeper
CN110248026B (en) Mobile terminal, display system, display control method of display system and recording medium
CN107967155A (en) Method, apparatus, the server of program operation are realized based on Hook shared libraries
CN113204404A (en) Screen capture method and device and electronic equipment
CN118301581A (en) Bluetooth device management method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210910

RJ01 Rejection of invention patent application after publication