WO2019144392A1 - Terminal control method and apparatus, storage medium, and electronic device - Google Patents

Terminal control method and apparatus, storage medium, and electronic device Download PDF

Info

Publication number
WO2019144392A1
WO2019144392A1 PCT/CN2018/074396 CN2018074396W WO2019144392A1 WO 2019144392 A1 WO2019144392 A1 WO 2019144392A1 CN 2018074396 W CN2018074396 W CN 2018074396W WO 2019144392 A1 WO2019144392 A1 WO 2019144392A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
user
touch screen
operation information
operation command
Prior art date
Application number
PCT/CN2018/074396
Other languages
French (fr)
Chinese (zh)
Inventor
李�真
Original Assignee
深圳前海达闼云端智能科技有限公司
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 深圳前海达闼云端智能科技有限公司 filed Critical 深圳前海达闼云端智能科技有限公司
Priority to CN201880000054.4A priority Critical patent/CN108323196A/en
Priority to PCT/CN2018/074396 priority patent/WO2019144392A1/en
Publication of WO2019144392A1 publication Critical patent/WO2019144392A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3231Monitoring the presence, absence or movement of users
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention relates to the field of computer information processing technologies, and in particular, to a terminal control method, apparatus, storage medium, and electronic device.
  • the touch screen also known as the touch panel, is an inductive liquid crystal display device that can receive input signals such as contacts.
  • the lower touch panel detects that the current at the corresponding position changes, and determines The coordinate position on the screen, the system translates it into a mouse click event similar to a PC, and gives it to the software for processing and display.
  • Touch screens are generally classified into resistive and capacitive types, the main difference being that the detection method around the touch point is different.
  • the resistive type mainly relies on the resistance change caused by the pressure to cause different voltages
  • the capacitive type detects the current change by detecting the capacitance formed by the user's finger and the screen working surface.
  • the present invention provides a terminal control method, apparatus, storage medium, and electronic device, which can quickly and conveniently control the terminal, and can liberate the eyes of the user and improve the accuracy of the terminal control.
  • the operation information includes: the code information formed by the user tapping the operable area of the touch screen, or the track information formed by the user sliding in the operable area of the touch screen.
  • the acquiring an operation command corresponding to the operation information includes:
  • the operation command corresponding to the operation information is queried from the correspondence between the set operation information and the operation command.
  • the method when the operation information is the code information formed by the user tapping the operable area of the touch screen, the method further includes:
  • the obtaining the operation command corresponding to the operation information from the corresponding relationship between the set operation information and the operation command includes:
  • An operation command corresponding to the configuration instruction is obtained from a correspondence between each configuration instruction and an operation command that is set.
  • a terminal control method includes:
  • Detecting operation information of the user on the touch screen of the terminal wherein the operation information includes: the code information formed by the user tapping the operable area of the touch screen;
  • the operation input interface displayed by the terminal detects operation information of the touch screen of the terminal by the user.
  • a terminal control apparatus includes:
  • the detecting module is configured to detect operation information of the touch screen of the user on the terminal in a lock screen state
  • An execution module configured to execute the operation command.
  • a terminal control apparatus includes:
  • the detecting module is configured to detect operation information of the touch screen of the user by the user; wherein the operation information includes: the code information formed by the user tapping the operable area of the touch screen
  • An execution module configured to execute the operation command.
  • a computer readable storage medium having stored thereon a computer program, wherein the program is executed by a processor to implement the method steps as described in the first aspect or the second aspect.
  • an electronic device comprising: one or more processors; storage means for storing one or more programs when the one or more programs are The processor, when executed, causes the one or more processors to implement the method steps as described in the first aspect or the second aspect.
  • the operation information of the touch screen of the user is detected in the lock screen state; the operation command corresponding to the operation information and the technical means for executing the operation command are obtained, thereby realizing the shortcut to the terminal in the lock screen state.
  • Convenient control and as long as the user can operate on the touch screen, the user is not required to operate the position accurately, and the control of the terminal can still be realized when the user is inconvenient with the eye.
  • the user touches the touch screen.
  • the terminal is controlled by operation, and is not interfered by the external environment, thereby improving the accuracy of the terminal control.
  • FIG. 1 is a flowchart of a terminal control method according to an exemplary embodiment
  • FIG. 2 is a flowchart of a terminal control method according to another exemplary embodiment
  • FIG. 3 is a block diagram of a terminal control device according to an embodiment of the present invention.
  • FIG. 4 is a flow chart of a terminal control method applied to each module shown in FIG. 3;
  • FIG. 6 is a structural diagram showing a terminal control device according to another exemplary embodiment
  • FIG. 7 is a structural diagram of an electronic device according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a terminal control method according to an exemplary embodiment. As shown in FIG. 1, the method may include but is not limited to the following steps:
  • the terminal may include, but is not limited to, a mobile terminal with a touch screen and a PC end, and the mobile terminal includes a smart device such as a mobile phone, a notebook computer, and a wearable device loaded with the terminal control program.
  • the touch screen of the terminal itself is transparent and does not emit light, and a backlight board is needed to assist the illumination.
  • the backlight source can be turned on/off through the system power button, thereby realizing the bright screen/black screen of the terminal.
  • the operation information of the touch screen of the user can be detected not only in the black screen state of the terminal, but also the operation information of the touch screen of the user on the touch screen in the state where the terminal is bright and the touch screen is locked, even when the terminal has been unlocked.
  • the user's operation information on the touch screen is detected.
  • the terminal black screen state refers to a state in which the terminal touch screen is locked and the backlight of the terminal is turned off, which does not include the state in which the terminal is powered off.
  • the terminal is bright and the touch screen lock status refers to a state in which the terminal touch screen is locked and the backlight of the terminal is turned on.
  • the terminal when the terminal is in a black screen state, the system control no longer receives the user's input, that is, the user's input signal is no longer detected. Because the current design idea is that the user cannot view the icons and buttons on the touch screen with the black screen, so the touch screen does not need to detect the user's input in the black screen state, and thus does not generate some touch operations on the touch screen. Corresponding processing. In the embodiment of the present invention, the terminal can still detect the operation information of the user on the touch screen of the terminal in the black screen state of the terminal.
  • the operable area of the touch screen may include all areas of the touch screen, in which case the user inputs the operation in the touch screen.
  • the operable area of the touch screen may include an area in the touch screen that is convenient for the user to operate, such as an intermediate position of the touch screen, so that only the touch screen area can be detected in the lock screen state, and power consumption is reduced.
  • the code information formed by the user tapping the operable area of the touch screen may specifically be Morse Code information.
  • Morse code also known as Morse code, is a time-and-break signal code that expresses different English letters, numbers, and punctuation marks in different order.
  • Morse code is an early form of digital communication, which is the telegraph we used to use. It is different from the modern binary code that uses only zero and one state. Its code includes five kinds: point, stroke, point and stroke. Intermittent pauses, short pauses between characters (between points and strokes), moderate pauses between words, and long pauses between sentences.
  • the Morse code consists of two basic signals and different interval times: a short point signal " ⁇ ", a read “drop” (Di); a long signal "-” that is held for a certain period of time, and a read "Da”.
  • Interval drop, 1t; ⁇ , 3t; between drops, 1t; between characters, 3t; between words, 7t.
  • the user in the black screen state, the user first needs to press the power button to turn on the backlight board, so that the terminal is in a bright screen and locked state, and the icon on the touch screen for the user to click to unlock or display is displayed for the user. Slide the unlocked icon, the user needs to click the unlocked icon accurately, or slide the unlocked icon accurately to unlock the terminal.
  • the black screen state the user can click on any area of the touch screen or slide in any area of the touch screen to implement an operation command, such as unlocking.
  • the unlocking method not only saves the operation steps of pressing the power button, but also realizes quick unlocking, and the step of accurately clicking or sliding the unlocking icon on the touch screen is required in the related art. In this solution, only need to click or slide anywhere on the touch screen, which reduces the difficulty of user operation and increases the flexibility and convenience of unlocking.
  • a similar method that does not require the user to view the icon on the touch screen and the case to control the terminal may also include voice control, but the voice detection is often interfered by external noise, and the recognition is caused by the influence of the voice pronunciation problem.
  • the rate is not high, and it is easy to generate errors. No user can easily and accurately detect the touch screen operation information of the terminal, and the recognition rate is high.
  • the submit operation information may be preset, such as a fixed tap operation or a sliding screen operation as a submit operation of the operation information, and when the user operates the touch screen of the terminal, the submit operation is input. Further, when the submit operation is detected in the operation information of the touch screen of the user by the user, the corresponding operation command is acquired according to the operation information. If the submission information is not detected, the operation information is considered to be generated by the user's misoperation.
  • the terminal may query the operation command corresponding to the operation information from the corresponding relationship between the set operation information and the operation command.
  • the mapping relationship between the code information and the character may be preset.
  • the password book translates the plurality of code information input by the user in the operation input interface into a plurality of configuration instructions based on the code book, and sets a correspondence between each configuration instruction and the operation command.
  • the terminal detects the operation information of the user in the lock screen state, the operation information is translated into a configuration instruction based on the password book, and the configuration instruction is stored in the instruction list to be executed, and the format of the instruction is detected to be correct.
  • the operation command corresponding to the configuration instruction in the instruction list is sequentially acquired from the corresponding relationship between each configuration instruction and the operation command.
  • the correspondence between the track information input by the user in the operation input interface and the operation command input by the user may be set. Further, when the terminal detects the operation information of the user in the lock screen state, the operation command corresponding to the track information is acquired from the correspondence between the set track information and the operation command.
  • the operation information of the touch screen of the user is detected in the lock screen state; the operation command corresponding to the operation information and the technical means for executing the operation command are obtained, thereby realizing the shortcut to the terminal in the lock screen state.
  • Convenient control and as long as the user can operate on the touch screen, the user is not required to operate the position accurately, and the control of the terminal can still be realized when the user is inconvenient with the eye.
  • the user touches the touch screen.
  • the terminal is controlled by operation, and is not interfered by the external environment, thereby improving the accuracy of the terminal control.
  • the control of the terminal can be realized, the operation burden of the user is reduced, and the user's eyes are released. Even the blind person can control the terminal according to the terminal control method provided by the embodiment of the present invention.
  • detecting the operation information of the user on the touch screen of the terminal may include the following three situations:
  • Case 1 In the black screen state of the terminal, the operation information of the user on the touch screen of the terminal is detected.
  • Case 3 In the operation input interface displayed by the terminal, the operation information of the user on the touch screen of the terminal is detected.
  • a codebook of a code mapping relationship between a character code and a character may be preset, and a plurality of code information input by the user is translated into a plurality of configuration commands based on the codebook, and each configuration command and operation command are set. Correspondence relationship. After the operation information of the touch screen of the user is detected, the operation information is translated into a configuration command based on the password book, and the operation command corresponding to the configuration instruction is obtained from the corresponding relationship between each configuration command and the operation command. .
  • the operation information of the user on the touch screen of the terminal is detected.
  • the operation information includes: the electric code information formed by the user tapping the operable area of the touch screen; the operation command corresponding to the operation information and the technical means for executing the operation command, realizing the touch screen to the terminal by tapping the terminal Quick and convenient control, and as long as the user can operate on the touch screen, the user does not need to be precise in the operation position, and the control of the terminal can still be realized when the user is inconvenient with the eye.
  • the user is The operation of the touch screen controls the terminal without interference from the external environment, which improves the accuracy of the terminal control.
  • the user's finger is not required to directly touch the touch screen of the terminal, as long as the touch screen can detect the code information formed by the tap operation, for example, the user can be separated.
  • Pocket-to-pocket touch screen operation The terminal control method provided in the implementation of the present invention further reduces the difficulty of the user to control the terminal and improves the user experience.
  • FIG. 3 is a block diagram of a terminal control device provided by the implementation of the present invention, which includes the following modules:
  • the code translation module 320 translates a piece of code captured by the code detecting module 310 into a configuration command according to a preset code book, and puts the configuration command into the instruction list to be executed.
  • the instruction execution module 330 is configured to read the instruction list to be executed one by one according to the sequence, convert the operation command that can be executed by the system according to the correspondence between the preset configuration instruction and the operation command, and execute the command, and execute the result through the vibration or Sound feedback.
  • the instruction configuration module 340 provides a codebook on the one hand, which is used when translating the code translation module, and provides a correspondence between the configuration command and the operation command on the other hand, and the supply instruction execution module refers to the execution.
  • FIG. 4 is a flow chart of a terminal control method applied to each module shown in FIG. As shown in FIG. 4, the method may include the following steps:
  • the instruction configuration module may preset a codebook of a code mapping relationship between the code information and the characters as shown in Table 1(a) to Table 1(d), wherein Table 1(a) is a user tapping operation and code of the touch screen.
  • Table 1(a) is a user tapping operation and code of the touch screen.
  • t is the time unit, configurable, default is 0.3 seconds.
  • the user can translate the tapping operation of the touch screen of the terminal into the electric code information.
  • Table 1 (b) is the correspondence table between letters and codes:
  • Table 1 (c) is a table of correspondence between numbers and codes:
  • Table 1 (d) is the correspondence table between punctuation marks and codes:
  • the code information can be translated into configuration instructions.
  • the instruction configuration module can set a correspondence table between a configuration instruction and an operation command as shown in Table 2:
  • the operation commands corresponding to the configuration instructions can be searched.
  • the electronic code detecting module may detect the operation information of the touch screen of the user in the black screen state of the terminal; or, when the terminal is bright and the touch screen is locked, the operation information of the touch screen of the user is detected; or The operation input interface displayed by the terminal detects the operation information of the user on the touch screen of the terminal.
  • the code information is translated according to the codebook to obtain a configuration command.
  • the code translation module can translate the code information into a configuration command according to the code book.
  • the configuration instruction is stored to the instruction list to be executed.
  • the code translation module stores the translated configuration instructions to the list of instructions to be executed.
  • the instruction execution module reads the configuration instruction according to the sequence of the configuration instructions in the instruction list, and sequentially acquires the operation command corresponding to the configuration instruction in the instruction list according to the corresponding relationship between the set configuration instruction and the operation command.
  • an error message can be given by sound or vibration.
  • the instruction operation module executes the operation command. If the operation command execution error occurs, S410 is executed, and if the operation instruction execution is successful, S411 is executed.
  • an error message can be sent by sounding or vibrating.
  • the information can be successfully presented by sounding or vibrating.
  • the operation information of the touch screen of the user is detected in the lock screen state; the operation command corresponding to the operation information and the technical means for executing the operation command are obtained, thereby realizing the shortcut to the terminal in the lock screen state.
  • Convenient control and as long as the user can operate on the touch screen, the user is not required to operate the position accurately, and the control of the terminal can still be realized when the user is inconvenient with the eye.
  • the user touches the touch screen.
  • the terminal is controlled by operation, and is not interfered by the external environment, thereby improving the accuracy of the terminal control.
  • FIG. 5 is a block diagram showing a terminal control device according to an exemplary embodiment. As shown in FIG. 5, the apparatus 500 can include:
  • the detecting module 510 is configured to detect, in a lock screen state, operation information of the user on the touch screen of the terminal;
  • the obtaining module 520 is configured to acquire an operation command corresponding to the operation information
  • the execution module 530 is configured to execute the operation command.
  • the operation information of the touch screen of the user is detected in the lock screen state; the operation command corresponding to the operation information and the technical means for executing the operation command are obtained, thereby realizing the shortcut to the terminal in the lock screen state.
  • Convenient control and as long as the user can operate on the touch screen, the user is not required to operate the position accurately, and the control of the terminal can still be realized when the user is inconvenient with the eye.
  • the user touches the touch screen.
  • the terminal is controlled by operation, and is not interfered by the external environment, thereby improving the accuracy of the terminal control.
  • FIG. 6 is a block diagram showing a terminal control device according to another exemplary embodiment. As shown in FIG. 6, the apparatus 600 can include:
  • the obtaining module 620 is configured to acquire an operation command corresponding to the operation information.
  • the execution module 630 is configured to execute the operation command.
  • the operation information of the user on the touch screen of the terminal is detected.
  • the operation information includes: the electric code information formed by the user tapping the operable area of the touch screen; the operation command corresponding to the operation information and the technical means for executing the operation command, realizing the touch screen to the terminal by tapping the terminal Quick and convenient control, and as long as the user can operate on the touch screen, the user does not need to be precise in the operation position, and the control of the terminal can still be realized when the user is inconvenient with the eye.
  • the user is The operation of the touch screen controls the terminal without interference from the external environment, which improves the accuracy of the terminal control.
  • the present application further provides a computer readable medium, which may be included in the apparatus described in the above embodiments, or may be separately present and not incorporated into the apparatus.
  • the computer readable medium carries one or more programs, and when the one or more programs are executed by the device, the device can perform: detecting, in a lock screen state, operation information of the user on the touch screen of the terminal; An operation command corresponding to the operation information; the operation command is executed. Or detecting the operation information of the touch screen of the user by the user; wherein the operation information includes: the electric code information formed by the user tapping the operable area of the touch screen; acquiring an operation command corresponding to the operation information; and performing the operation command.
  • FIG. 7 is a structural diagram of an electronic device according to an exemplary embodiment. It should be noted that the electronic device shown in FIG. 7 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiments of the present application.
  • computer system 700 includes a central processing unit (CPU) 701 that can be loaded into a program in random access memory (RAM) 703 according to a program stored in read only memory (ROM) 702 or from storage portion 708. And perform various appropriate actions and processes.
  • RAM random access memory
  • ROM read only memory
  • RAM 703 various programs and data required for the operation of the system 700 are also stored.
  • the CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704.
  • An input/output (I/O) interface 705 is also coupled to bus 704.
  • the following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker; a storage portion 708 including a hard disk or the like And a communication portion 709 including a network interface card such as a LAN card, a modem, or the like.
  • the communication section 709 performs communication processing via a network such as the Internet.
  • Driver 710 is also connected to I/O interface 705 as needed.
  • a removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like, is mounted on the drive 710 as needed so that a computer program read therefrom is installed into the storage portion 708 as needed.
  • an embodiment of the present disclosure includes a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for executing the method illustrated in the flowchart.
  • the computer program can be downloaded and installed from the network via communication portion 709, and/or installed from removable media 711.
  • the central processing unit (CPU) 701 the above-described functions defined in the system of the present application are executed.
  • the computer readable medium illustrated in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two.
  • the computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • each block of the flowchart or block diagrams can represent a module, a program segment, or a portion of code that includes one or more Executable instructions.
  • the functions noted in the blocks may also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams or flowcharts, and combinations of blocks in the block diagrams or flowcharts can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be used A combination of dedicated hardware and computer instructions is implemented.
  • the units involved in the embodiments of the present application may be implemented by software or by hardware.
  • the described modules may also be provided in the processor, for example, as a processor including a detection module, an acquisition module, and an execution module.
  • the names of these modules do not constitute a limitation on the module itself under certain circumstances.

Abstract

Provided in the present invention are a terminal control method and apparatus, a storage medium and an electronic device, the method comprising: detecting operation information of a user for a touch screen of a terminal in a black screen state of the terminal; and acquiring an operation command corresponding to the operation information, and executing the operation command, thereby achieving quick and convenient control over the terminal in a lock screen state. As long as a user may operate on the touch screen, the operation position of the user does not need to be to be accurate, and the user may still control the terminal when the user cannot easily use his or her eyes. In addition, according to the embodiments of the present invention, the terminal is controlled by the operation of the user on the touch screen without interference by the external environment, thereby improving the accuracy of terminal control.

Description

终端控制方法、装置、存储介质及电子设备Terminal control method, device, storage medium and electronic device 技术领域Technical field
本发明涉及计算机信息处理技术领域,尤其涉及一种终端控制方法、装置、存储介质及电子设备。The present invention relates to the field of computer information processing technologies, and in particular, to a terminal control method, apparatus, storage medium, and electronic device.
背景技术Background technique
随着科学技术的发展,带有触控屏(Touch Panel)的智能终端越来越普及。触控屏又称为触控面板,是个可接收触头等输入信号的感应式液晶显示装置,当触头接触到屏幕时,下面的触控板会检测到相应位置的电流会发生变化,确定屏幕上的坐标位置,系统将其翻译成类似PC上的鼠标点击事件,交给软件进行相应的处理和显示。With the development of science and technology, smart terminals with touch panels are becoming more and more popular. The touch screen, also known as the touch panel, is an inductive liquid crystal display device that can receive input signals such as contacts. When the contacts touch the screen, the lower touch panel detects that the current at the corresponding position changes, and determines The coordinate position on the screen, the system translates it into a mouse click event similar to a PC, and gives it to the software for processing and display.
触摸屏通常可分为电阻式和电容式,其主要区别是围绕着触碰点的检测方法不同而设计的。电阻式主要靠压力产生的电阻变化导致不同的电压,而电容式是靠检测用户手指和屏幕工作面形成电容导致电流变化进行检测。Touch screens are generally classified into resistive and capacitive types, the main difference being that the detection method around the touch point is different. The resistive type mainly relies on the resistance change caused by the pressure to cause different voltages, and the capacitive type detects the current change by detecting the capacitance formed by the user's finger and the screen working surface.
相关技术中,用户通过对触摸屏的操作实现对终端的控制,例如,通过点击触摸屏显示的图标/按键,对终端控制,但是,由于触摸屏上可显示很多的图标和按键,相关技术中往往不能实现便捷而精准的对终端控制。例如,为避免用户在无意识下对触摸屏上的图标和按键的操作,需要锁定触摸屏,进而在再次使用终端时,需要首先解锁才能对触摸屏操作。又例如,用户对终端进行操作时,需要精确的点击触摸屏上的图标和按键,如果用户点击位置稍有偏移,可能就进入其他界面,而且,用户在用眼不方便时,根本无法操作终端。In the related art, the user controls the terminal by operating the touch screen, for example, by clicking an icon/button displayed on the touch screen to control the terminal. However, since many icons and buttons can be displayed on the touch screen, the related technologies often fail to realize Convenient and precise control of the terminal. For example, in order to prevent the user from unintentionally operating the icons and buttons on the touch screen, it is necessary to lock the touch screen, and then when the terminal is used again, it is necessary to first unlock to operate the touch screen. For another example, when the user operates the terminal, it is necessary to accurately click the icon and the button on the touch screen. If the user clicks the position slightly, the user may enter other interfaces, and the user cannot operate the terminal when the user is inconvenient. .
因此,需要一种新的终端控制方法、装置、存储介质及电子设备。Therefore, there is a need for a new terminal control method, apparatus, storage medium, and electronic device.
在所述背景技术部分公开的上述信息仅用于加强对本发明的背景的理解,因此它可以包括不构成对本领域普通技术人员已知的现有技术的信息。The above information disclosed in the Background section is only for enhancement of understanding of the background of the invention, and thus it may include information that does not constitute the prior art known to those of ordinary skill in the art.
发明内容Summary of the invention
有鉴于此,本发明提供一种终端控制方法、装置、存储介质及电子设备,能够快捷方便的对终端控制,而且能够解放用户的眼睛,提升终端控制的准确性。In view of this, the present invention provides a terminal control method, apparatus, storage medium, and electronic device, which can quickly and conveniently control the terminal, and can liberate the eyes of the user and improve the accuracy of the terminal control.
根据本发明实施例的第一方面,提供一种终端控制方法,所述方法包括:According to a first aspect of the embodiments of the present invention, a terminal control method is provided, where the method includes:
在终端黑屏状态下检测用户对所述终端的触摸屏的操作信息;Detecting operation information of the user on the touch screen of the terminal in a black screen state of the terminal;
获取所述操作信息对应的操作命令;Obtaining an operation command corresponding to the operation information;
执行所述操作命令。Execute the operation command.
根据一些实施例,所述在锁屏状态下检测用户对终端的触摸屏的操作信息,包括:According to some embodiments, the detecting, by the user in the lock screen state, the operation information of the touch screen of the terminal, including:
在所述终端黑屏状态下,检测用户对所述终端的触摸屏的操作信息;或In the black screen state of the terminal, detecting operation information of the user on the touch screen of the terminal; or
在所述终端亮屏且触摸屏锁定状态下,检测用户对所述终端的触摸屏的操作信息。When the terminal is bright and the touch screen is locked, the operation information of the user on the touch screen of the terminal is detected.
根据一些实施例,所述操作信息包括:用户敲击所述触摸屏的可操作区域所形成的电码信息,或,用户在所述触摸屏的可操作区域滑动所形成的轨迹信息。According to some embodiments, the operation information includes: the code information formed by the user tapping the operable area of the touch screen, or the track information formed by the user sliding in the operable area of the touch screen.
根据一些实施例,所述获取所述操作信息对应的操作命令,包括:According to some embodiments, the acquiring an operation command corresponding to the operation information includes:
从设置的操作信息与操作命令的对应关系中,查询所述操作信息对应的操作命令。The operation command corresponding to the operation information is queried from the correspondence between the set operation information and the operation command.
根据一些实施例,当所述操作信息为用户敲击所述触摸屏的可操作区域所形成的电码信息时,所述方法还包括:According to some embodiments, when the operation information is the code information formed by the user tapping the operable area of the touch screen, the method further includes:
预设置电码信息与字符映射关系的密码本;Presetting the codebook of the relationship between the code information and the character;
基于所述密码本将用户输入的多个电码信息翻译为多个配置指令;Translating a plurality of electrical code information input by the user into a plurality of configuration instructions based on the codebook;
设置每个配置指令与操作命令的对应关系。Set the correspondence between each configuration command and the operation command.
根据一些实施例,从设置的操作信息与操作命令的对应关系中,获取所述操作信息对应的操作命令,包括:According to some embodiments, the obtaining the operation command corresponding to the operation information from the corresponding relationship between the set operation information and the operation command includes:
基于所述密码本将所述操作信息翻译为配置指令;Translating the operation information into a configuration instruction based on the codebook;
从设置的每个配置指令与操作命令的对应关系中,获取到所述配置指令对应的操作命令。An operation command corresponding to the configuration instruction is obtained from a correspondence between each configuration instruction and an operation command that is set.
根据本发明实施例的第二方面,提供一种终端控制方法,所述方法包括:According to a second aspect of the embodiments of the present invention, a terminal control method is provided, where the method includes:
检测用户对终端的触摸屏的操作信息;其中,所述操作信息包括:用户敲击所述触摸屏的可操作区域所形成的电码信息;Detecting operation information of the user on the touch screen of the terminal; wherein the operation information includes: the code information formed by the user tapping the operable area of the touch screen;
获取所述操作信息对应的操作命令;Obtaining an operation command corresponding to the operation information;
执行所述操作命令。Execute the operation command.
根据一些实施例,所述检测用户对终端的触摸屏的操作信息,包括:According to some embodiments, the detecting operation information of the user on the touch screen of the terminal includes:
在所述终端黑屏状态下,检测用户对所述终端的触摸屏的操作信息;或In the black screen state of the terminal, detecting operation information of the user on the touch screen of the terminal; or
在所述终端亮屏且触摸屏锁定状态下,检测用户对所述终端的触摸屏的操作信息;或When the terminal is bright and the touch screen is locked, detecting operation information of the user on the touch screen of the terminal; or
在所述终端显示的操作输入界面,检测用户对所述终端的触摸屏的操作信息。The operation input interface displayed by the terminal detects operation information of the touch screen of the terminal by the user.
根据本发明实施例的第三方面,提供一种终端控制装置,所述装置包括:According to a third aspect of the embodiments of the present invention, a terminal control apparatus is provided, where the apparatus includes:
检测模块,配置为在锁屏状态下检测用户对终端的触摸屏的操作信息;The detecting module is configured to detect operation information of the touch screen of the user on the terminal in a lock screen state;
获取模块,配置为获取所述操作信息对应的操作命令;Obtaining a module, configured to obtain an operation command corresponding to the operation information;
执行模块,配置为执行所述操作命令。An execution module configured to execute the operation command.
根据本发明实施例的第四方面,提供一种终端控制装置,所述装置包括:According to a fourth aspect of the embodiments of the present invention, a terminal control apparatus is provided, where the apparatus includes:
检测模块,配置为检测用户对终端的触摸屏的操作信息;其中,所述操作信息包括:用户敲击所述触摸屏的可操作区域所形成的电码信息The detecting module is configured to detect operation information of the touch screen of the user by the user; wherein the operation information includes: the code information formed by the user tapping the operable area of the touch screen
获取模块,配置为获取所述操作信息对应的操作命令;Obtaining a module, configured to obtain an operation command corresponding to the operation information;
执行模块,配置为执行所述操作命令。An execution module configured to execute the operation command.
根据本发明实施例的第五方面,提供一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如第一方面或第二方面所述的方法步骤。According to a fifth aspect of the embodiments of the present invention, there is provided a computer readable storage medium having stored thereon a computer program, wherein the program is executed by a processor to implement the method steps as described in the first aspect or the second aspect.
根据本发明的第六方面,提供一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如第一方面或第二方面所述的方法步骤。According to a sixth aspect of the present invention, there is provided an electronic device comprising: one or more processors; storage means for storing one or more programs when the one or more programs are The processor, when executed, causes the one or more processors to implement the method steps as described in the first aspect or the second aspect.
本发明实施例中,通过在锁屏状态下检测用户对终端的触摸屏的操作信息;获取该操作信息对应的操作命令以及执行该操作命令的技术手段,实现了在锁屏状态下对终端的快捷方便的控制,而且,只要用户能够在触摸屏上操作,不要求用户操作位置的精准,在用户用眼不方便时,依然可以实现对终端的控制,另外,本发明实施例中通过用户对触摸屏的操作而对终端进行控制,不会受外界环境的干扰,提升了终端控制的准确性。In the embodiment of the present invention, the operation information of the touch screen of the user is detected in the lock screen state; the operation command corresponding to the operation information and the technical means for executing the operation command are obtained, thereby realizing the shortcut to the terminal in the lock screen state. Convenient control, and as long as the user can operate on the touch screen, the user is not required to operate the position accurately, and the control of the terminal can still be realized when the user is inconvenient with the eye. In addition, in the embodiment of the present invention, the user touches the touch screen. The terminal is controlled by operation, and is not interfered by the external environment, thereby improving the accuracy of the terminal control.
附图说明DRAWINGS
通过参照附图详细描述其示例实施例,本发明的上述和其它目标、特征及优点将变得更加显而易见。The above and other objects, features and advantages of the present invention will become more apparent from the embodiments of the invention.
图1是根据一示例性实施例示出的终端控制方法的流程图;FIG. 1 is a flowchart of a terminal control method according to an exemplary embodiment;
图2是根据另一示例性实施例示出的终端控制方法的流程图;FIG. 2 is a flowchart of a terminal control method according to another exemplary embodiment;
图3是本发明实施提供的一种终端控制装置的模块连接图;3 is a block diagram of a terminal control device according to an embodiment of the present invention;
图4是应用于图3所示的各模块的终端控制方法的流程图;4 is a flow chart of a terminal control method applied to each module shown in FIG. 3;
图5是根据一示例性实施例示出终端控制装置的结构图;FIG. 5 is a structural diagram showing a terminal control device according to an exemplary embodiment;
图6是根据另一示例性实施例示出终端控制装置的结构图;FIG. 6 is a structural diagram showing a terminal control device according to another exemplary embodiment;
图7是根据一示例性实施例示出的一种电子设备的结构图。FIG. 7 is a structural diagram of an electronic device according to an exemplary embodiment.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施例。然而,示例实施例能够以多种形式实施,且不应被理解为限于在此阐述的实施例;相反,提供这些实施例使得本发明将全面和完整,并将示例实施例的构思全面地传达给本领域的技术人员。在图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be embodied in a variety of forms and should not be construed as being limited to the embodiments set forth herein. To those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and the repeated description thereof will be omitted.
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本发明的实施例的充分理解。然而,本领域技术人员将意识到,可以实践本发明的技术方案而没有特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知方法、装置、实现或者操作以避免模糊本发明的各方面。Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are set forth However, one skilled in the art will appreciate that the technical solution of the present invention may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即, 可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。The block diagrams shown in the figures are merely functional entities and do not necessarily have to correspond to physically separate entities. That is, these functional entities may be implemented in software, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and/or processor devices and/or microcontroller devices. entity.
附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解,而有的操作/步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are merely illustrative, and not all of the contents and operations/steps are necessarily included, and are not necessarily performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially merged, so the actual execution order may vary depending on the actual situation.
本领域技术人员可以理解,附图只是示例实施例的示意图,附图中的模块或流程并不一定是实施本发明所必须的,因此不能用于限制本发明的保护范围。It will be understood by those skilled in the art that the drawings are only schematic diagrams of exemplary embodiments, and the modules or processes in the drawings are not necessarily required to implement the invention, and therefore are not intended to limit the scope of the invention.
图1是根据一示例性实施例示出的终端控制方法的流程图。如图1所示,该方法可以包括但不限于以下步骤:FIG. 1 is a flowchart of a terminal control method according to an exemplary embodiment. As shown in FIG. 1, the method may include but is not limited to the following steps:
在S110中,在终端黑屏状态下检测用户对终端的触摸屏的操作信息。In S110, the operation information of the user on the touch screen of the terminal is detected in the black screen state of the terminal.
本发明实施例中,终端可以包括但不限于:带有触摸屏的移动终端和PC端,移动终端包括加载有终端控制程序的手机、笔记本电脑、可穿戴设备等智能设备。In the embodiment of the present invention, the terminal may include, but is not limited to, a mobile terminal with a touch screen and a PC end, and the mobile terminal includes a smart device such as a mobile phone, a notebook computer, and a wearable device loaded with the terminal control program.
需要说明的是,终端的触摸屏本身是透明的且不会发光,需要背光板来辅助照明,一般通过系统电源键,可以开/关背光源,从而实现终端的亮屏/黑屏。It should be noted that the touch screen of the terminal itself is transparent and does not emit light, and a backlight board is needed to assist the illumination. Generally, the backlight source can be turned on/off through the system power button, thereby realizing the bright screen/black screen of the terminal.
本发明实施例中,不仅可以在终端黑屏状态检测用户对终端的触摸屏的操作信息,还可以在终端亮屏且触摸屏锁定状态下检测用户对终端的触摸屏的操作信息,甚至在终端已经解锁的状态下检测用户对触摸屏的操作信息。终端黑屏状态是指终端触摸屏锁定且终端的背光源关闭的状态,其不包括终端关机的状态。终端亮屏且触摸屏锁定状态是指终端触摸屏锁定且终端的背光源打开的状态。In the embodiment of the present invention, the operation information of the touch screen of the user can be detected not only in the black screen state of the terminal, but also the operation information of the touch screen of the user on the touch screen in the state where the terminal is bright and the touch screen is locked, even when the terminal has been unlocked. The user's operation information on the touch screen is detected. The terminal black screen state refers to a state in which the terminal touch screen is locked and the backlight of the terminal is turned off, which does not include the state in which the terminal is powered off. The terminal is bright and the touch screen lock status refers to a state in which the terminal touch screen is locked and the backlight of the terminal is turned on.
需要指出的是,相关技术中,终端黑屏状态下,系统控制不再接收用户的输入,即不再检测用户的输入信号。因为目前的设计思路是,黑屏状态下用户无法用眼查看到触摸屏上的图标和按键,所以触摸屏在黑屏状态下也就没必要检测用户的输入,进而不会因为触摸屏上的触碰操作产生一些相应的处理。而本发明实施例中,终端可以在终端黑屏状态下依然可以检测用户在终端的触摸屏上的操作信息。It should be noted that in the related art, when the terminal is in a black screen state, the system control no longer receives the user's input, that is, the user's input signal is no longer detected. Because the current design idea is that the user cannot view the icons and buttons on the touch screen with the black screen, so the touch screen does not need to detect the user's input in the black screen state, and thus does not generate some touch operations on the touch screen. Corresponding processing. In the embodiment of the present invention, the terminal can still detect the operation information of the user on the touch screen of the terminal in the black screen state of the terminal.
在本发明的一个实施例中,操作信息可以包括:用户敲击所述触摸屏的可操作区域所形成的电码信息,或,用户在所述触摸屏的可操作区域滑动所形成的轨迹信息。In an embodiment of the present invention, the operation information may include: the code information formed by the user tapping the operable area of the touch screen, or the track information formed by the user sliding in the operable area of the touch screen.
需要说明的是,触摸屏的可操作区域可以包括触摸屏的全部区域,这种情况下方便了用户在触摸屏中输入操作。或者触摸屏的可操作区域可以包括触摸屏中便于用户操作的区域,如触摸屏的中间位置,从而可以在锁屏状态下仅检测该触摸屏区域,降低电能消耗。It should be noted that the operable area of the touch screen may include all areas of the touch screen, in which case the user inputs the operation in the touch screen. Or the operable area of the touch screen may include an area in the touch screen that is convenient for the user to operate, such as an intermediate position of the touch screen, so that only the touch screen area can be detected in the lock screen state, and power consumption is reduced.
在本发明一个实施例中,用户敲击触摸屏的可操作区域所形成的电码信息,具体可以是摩尔斯电码(Morse Code)信息。摩尔斯电码又称摩斯密码,是一种时通时断的信号代码,通过不同的排列顺序来表达不同的英文字母、数字和标点符号。摩尔斯电码是一种早期的数字化通信形式,即我们以前常用的电报,它不同于现代 只使用零和一两种状态的二进制代码,它的代码包括五种:点、划、点和划之间的停顿、每个字符间短的停顿(在点和划之间)、每个词之间中等的停顿以及句子之间长的停顿。摩尔斯电码由两种基本信号和不同的间隔时间组成:短促的点信号“·”,读“滴”(Di);保持一定时间的长信号“—”,读“嗒”(Da)。间隔时间:滴,1t;嗒,3t;滴嗒间,1t;字符间,3t;字间,7t。In one embodiment of the present invention, the code information formed by the user tapping the operable area of the touch screen may specifically be Morse Code information. Morse code, also known as Morse code, is a time-and-break signal code that expresses different English letters, numbers, and punctuation marks in different order. Morse code is an early form of digital communication, which is the telegraph we used to use. It is different from the modern binary code that uses only zero and one state. Its code includes five kinds: point, stroke, point and stroke. Intermittent pauses, short pauses between characters (between points and strokes), moderate pauses between words, and long pauses between sentences. The Morse code consists of two basic signals and different interval times: a short point signal "·", a read "drop" (Di); a long signal "-" that is held for a certain period of time, and a read "Da". Interval: drop, 1t; 嗒, 3t; between drops, 1t; between characters, 3t; between words, 7t.
在本发明一个实施例中,用户在触摸屏的可操作区域滑动所形成的轨迹信息,可以包括各种形状的轨迹信息,例如,滑动形成的圆形的轨迹,该轨迹的大小可以不作为获取操作命令的依据。In an embodiment of the present invention, the track information formed by the user sliding in the operable area of the touch screen may include track information of various shapes, for example, a circular track formed by sliding, and the size of the track may not be an acquisition operation. The basis of the order.
需要指出的是,相关技术中,在黑屏状态下用户首先需要按下电源键,开启背光板,使终端处于亮屏且锁定的状态,触摸屏上显示有供用户点击解锁的图标或者显示有供用户滑动解锁的图标,用户需要准确的点击到解锁的图标,或者准确的滑动解锁的图标,对终端进行解锁。而本方案中,在黑屏状态下,用户可以点击触摸屏的任意区域,或者在触摸屏的任意区域滑动,既可以实现操作命令,如解锁。这种解锁方式,相比于相关技术中的解锁方式,不仅节省了按下电源键的操作步骤,实现快捷解锁,而且,相比相关技术中需要准确的点击或者滑动触摸屏上的解锁图标的步骤,本方案中只需要在触摸屏上任意位置点击或者滑动,降低了用户操作难度,增加了解锁的灵活性和便利性。It should be pointed out that in the related art, in the black screen state, the user first needs to press the power button to turn on the backlight board, so that the terminal is in a bright screen and locked state, and the icon on the touch screen for the user to click to unlock or display is displayed for the user. Slide the unlocked icon, the user needs to click the unlocked icon accurately, or slide the unlocked icon accurately to unlock the terminal. In this solution, in the black screen state, the user can click on any area of the touch screen or slide in any area of the touch screen to implement an operation command, such as unlocking. Compared with the unlocking method in the related art, the unlocking method not only saves the operation steps of pressing the power button, but also realizes quick unlocking, and the step of accurately clicking or sliding the unlocking icon on the touch screen is required in the related art. In this solution, only need to click or slide anywhere on the touch screen, which reduces the difficulty of user operation and increases the flexibility and convenience of unlocking.
需要说明的是,类似的不需要用户查看触摸屏上的图标和案件对终端进行控制的方法,还可以包括语音控制,但是语音检测往往受到外界噪声的干扰,而且由于语音发音问题的影响,导致识别率不高,容易产生错误,没有用户对终端的触摸屏操作信息检测方便、准确、识别率高。It should be noted that a similar method that does not require the user to view the icon on the touch screen and the case to control the terminal may also include voice control, but the voice detection is often interfered by external noise, and the recognition is caused by the influence of the voice pronunciation problem. The rate is not high, and it is easy to generate errors. No user can easily and accurately detect the touch screen operation information of the terminal, and the recognition rate is high.
在本发明的一个实施例中,可以预设置提交操作信息,如通过一固定的敲击操作或者滑屏操作作为操作信息的提交操作,当用户对终端的触摸屏进行操作后,输入该提交操作,进而,在检测用户对终端的触摸屏的操作信息中包括该提交操作时,根据该操作信息获取对应的操作命令。若检测不到提交信息,则认为该操作信息为用户误操作而产生。In an embodiment of the present invention, the submit operation information may be preset, such as a fixed tap operation or a sliding screen operation as a submit operation of the operation information, and when the user operates the touch screen of the terminal, the submit operation is input. Further, when the submit operation is detected in the operation information of the touch screen of the user by the user, the corresponding operation command is acquired according to the operation information. If the submission information is not detected, the operation information is considered to be generated by the user's misoperation.
在S120中,获取上述操作信息对应的操作命令。In S120, an operation command corresponding to the above operation information is acquired.
在本发明的一个实施例中,在检测到用户对终端的触摸屏的操作信息后,终端可以从设置的操作信息与操作命令的对应关系中,查询该操作信息对应的操作命令。In an embodiment of the present invention, after detecting the operation information of the touch screen of the terminal by the user, the terminal may query the operation command corresponding to the operation information from the corresponding relationship between the set operation information and the operation command.
在本发明的一个实施例中,当操作信息为用户敲击触摸屏的可操作区域所形成的电码信息时,在设置操作信息与操作命令的对应关系时,可以预设置电码信息与字符映射关系的密码本,基于该密码本将用户在操作输入界面中输入的多个电码信息翻译为多个配置指令,并设置每个配置指令与操作命令的对应关系。进而,当终端在锁屏状态下检测到用户的操作信息时,基于该密码本将该操作信息翻译为配置指令,并将该配置指令存储至待执行的指令列表,检测该指令的格式是否正确,若 不正确,发出错误提示信息,例如,发出声音或者震动的提示信息。若正确,按照指令列表中的配置指令的先后顺序,从设置的每个配置指令与操作命令的对应关系中,依次获取到指令列表中的配置指令对应的操作命令。In an embodiment of the present invention, when the operation information is the electrical code information formed by the user tapping the operable area of the touch screen, when the correspondence between the operation information and the operation command is set, the mapping relationship between the code information and the character may be preset. The password book translates the plurality of code information input by the user in the operation input interface into a plurality of configuration instructions based on the code book, and sets a correspondence between each configuration instruction and the operation command. Further, when the terminal detects the operation information of the user in the lock screen state, the operation information is translated into a configuration instruction based on the password book, and the configuration instruction is stored in the instruction list to be executed, and the format of the instruction is detected to be correct. If it is not correct, send an error message, for example, a message that sounds or vibrates. If it is correct, according to the order of the configuration instructions in the instruction list, the operation command corresponding to the configuration instruction in the instruction list is sequentially acquired from the corresponding relationship between each configuration instruction and the operation command.
在本发明的一个实施例中,当操作信息为用户在触摸屏的可操作区域滑动所形成的轨迹信息时,可以设置用户在操作输入界面中输入的轨迹信息与用户输入的操作命令的对应关系。进而,当终端在锁屏状态下检测到用户的操作信息时,从设置的轨迹信息与操作命令的对应关系中,获取到轨迹信息对应的操作命令。In an embodiment of the present invention, when the operation information is the track information formed by the user sliding in the operable area of the touch screen, the correspondence between the track information input by the user in the operation input interface and the operation command input by the user may be set. Further, when the terminal detects the operation information of the user in the lock screen state, the operation command corresponding to the track information is acquired from the correspondence between the set track information and the operation command.
在S130中,执行该操作命令。In S130, the operation command is executed.
在本发明一个实施例中,当执行该操作命令之后,可以发出操作成功的提示信息或者操作失败的提示信息。In an embodiment of the present invention, after the operation command is executed, the prompt information of the operation success or the prompt information of the operation failure may be issued.
本发明实施例中,通过在锁屏状态下检测用户对终端的触摸屏的操作信息;获取该操作信息对应的操作命令以及执行该操作命令的技术手段,实现了在锁屏状态下对终端的快捷方便的控制,而且,只要用户能够在触摸屏上操作,不要求用户操作位置的精准,在用户用眼不方便时,依然可以实现对终端的控制,另外,本发明实施例中通过用户对触摸屏的操作而对终端进行控制,不会受外界环境的干扰,提升了终端控制的准确性。In the embodiment of the present invention, the operation information of the touch screen of the user is detected in the lock screen state; the operation command corresponding to the operation information and the technical means for executing the operation command are obtained, thereby realizing the shortcut to the terminal in the lock screen state. Convenient control, and as long as the user can operate on the touch screen, the user is not required to operate the position accurately, and the control of the terminal can still be realized when the user is inconvenient with the eye. In addition, in the embodiment of the present invention, the user touches the touch screen. The terminal is controlled by operation, and is not interfered by the external environment, thereby improving the accuracy of the terminal control.
需要指出的是,现实生活中有很多不方便用眼的情况,例如,用户在移动状态下,如跑步,坐地铁、坐公交等情况下,用户由于移动或者拥挤不方便查看手机。又例如,用户在冬天使用手机时,需要将手机拿在眼前进行点来点去,增加了用户操作负担,极大的降低了用户体验,而根据本发明实施例提出的方案,用户可以将手机放置口袋,然后用手对口袋里面的终端的触摸屏敲击,或者将手也放入口袋在终端的触摸屏上滑动,就可以实现对终端的控制,降低了用户操作负担,而且解放了用户的眼睛,甚至盲人都可以依据本发明实施例提供的终端控制方法对终端控制。It should be pointed out that there are many inconvenient situations in real life. For example, when the user is in a mobile state, such as running, taking a subway, taking a bus, etc., the user is inconvenient to view the mobile phone due to movement or congestion. For example, when the user uses the mobile phone in the winter, the user needs to take the mobile phone in front of the point to point it up, which increases the user operation burden and greatly reduces the user experience. According to the solution proposed by the embodiment of the present invention, the user can use the mobile phone. Placing the pocket and then tapping the touch screen of the terminal in the pocket with your hand, or sliding the hand into the pocket on the touch screen of the terminal, the control of the terminal can be realized, the operation burden of the user is reduced, and the user's eyes are released. Even the blind person can control the terminal according to the terminal control method provided by the embodiment of the present invention.
图2是根据另一示例性实施例示出的终端控制方法的流程图。与前述实施例相同的部分,本实施例中不再详细说明。如图2所示,该方法可以包括但不限于以下步骤:FIG. 2 is a flowchart of a terminal control method according to another exemplary embodiment. The same portions as those of the foregoing embodiment will not be described in detail in the embodiment. As shown in FIG. 2, the method may include but is not limited to the following steps:
在S210中,检测用户对终端的触摸屏的操作信息,其中,操作信息包括:用户敲击该触摸屏的可操作区域所形成的电码信息,例如摩尔斯电码。In S210, the operation information of the touch screen of the user is detected, wherein the operation information includes: the user searches for the code information formed by the operable area of the touch screen, such as a Morse code.
在本发明一个实施例中,检测用户对终端的触摸屏的操作信息可以包括以下三种情况:In an embodiment of the present invention, detecting the operation information of the user on the touch screen of the terminal may include the following three situations:
情况一、在终端黑屏状态下,检测用户对终端的触摸屏的操作信息。Case 1: In the black screen state of the terminal, the operation information of the user on the touch screen of the terminal is detected.
情况二、在终端亮屏且触摸屏锁定状态下,检测用户对终端的触摸屏的操作信息。Case 2: When the terminal is bright and the touch screen is locked, the operation information of the user on the touch screen of the terminal is detected.
关于情况一和情况二的状态检测用户对终端的触摸屏的操作信息请参见步骤S110的内容,此处不再赘述。For the information about the status of the first and second cases, the operation information of the user on the touch screen of the terminal is as described in the step S110, and details are not described herein again.
情况三、在终端显示的操作输入界面,检测用户对终端的触摸屏的操作信息。Case 3: In the operation input interface displayed by the terminal, the operation information of the user on the touch screen of the terminal is detected.
本发明实施例中,终端上加载有终端控制的应用程序,终端可以在检测到用户打开该应用程序的操作输入界面后,检测用户在该操作输入界面敲击所形成的电码信息。需要说明的是,用户打开终端控制应用程序的操作输入界面后,终端处于已解锁且显示操作输入界面的状态。In the embodiment of the present invention, the terminal is loaded with the application program controlled by the terminal, and the terminal may detect the code information formed by the user tapping the operation input interface after detecting that the user opens the operation input interface of the application. It should be noted that after the user opens the operation input interface of the terminal control application, the terminal is in a state of being unlocked and displaying the operation input interface.
在S220中,获取该操作信息对应的操作命令。In S220, an operation command corresponding to the operation information is acquired.
在本发明一个实施例中,可以预设置电码信息与字符映射关系的密码本,基于该密码本将用户输入的多个电码信息翻译为多个配置指令,并设置每个配置指令与操作命令的对应关系。进而在检测到用户对终端的触摸屏的操作信息后,基于该密码本将操作信息翻译为配置指令,并从设置的每个配置指令与操作命令的对应关系中,获取到配置指令对应的操作命令。In an embodiment of the present invention, a codebook of a code mapping relationship between a character code and a character may be preset, and a plurality of code information input by the user is translated into a plurality of configuration commands based on the codebook, and each configuration command and operation command are set. Correspondence relationship. After the operation information of the touch screen of the user is detected, the operation information is translated into a configuration command based on the password book, and the operation command corresponding to the configuration instruction is obtained from the corresponding relationship between each configuration command and the operation command. .
在S230中,执行该操作命令。In S230, the operation command is executed.
本发明上述实施例中,检测用户对终端的触摸屏的操作信息。其中,操作信息包括:用户敲击该触摸屏的可操作区域所形成的电码信息;获取所述操作信息对应的操作命令以及执行所述操作命令的技术手段,实现了通过敲击终端的触摸屏对终端进行快捷方便的控制,并且,只要用户能够在触摸屏上操作,不要求用户操作位置的精准,在用户用眼不方便时,依然可以实现对终端的控制,另外,本发明实施例中通过用户对触摸屏的操作而对终端进行控制,不会受外界环境的干扰,提升了终端控制的准确性。In the above embodiment of the present invention, the operation information of the user on the touch screen of the terminal is detected. The operation information includes: the electric code information formed by the user tapping the operable area of the touch screen; the operation command corresponding to the operation information and the technical means for executing the operation command, realizing the touch screen to the terminal by tapping the terminal Quick and convenient control, and as long as the user can operate on the touch screen, the user does not need to be precise in the operation position, and the control of the terminal can still be realized when the user is inconvenient with the eye. In addition, in the embodiment of the present invention, the user is The operation of the touch screen controls the terminal without interference from the external environment, which improves the accuracy of the terminal control.
需要说明的是,用户在终端的触摸屏上敲击时,不要求用户的手指直接接触到终端的触摸屏,只要触摸屏能够检测到该敲击操作所形成的电码信息即可,例如,用户可以隔着口袋对口袋里的触摸屏进行操作。本发明实施中提供的终端控制方法更进一步的降低了用户对终端控制的难度,提升了用户体验。It should be noted that when the user taps on the touch screen of the terminal, the user's finger is not required to directly touch the touch screen of the terminal, as long as the touch screen can detect the code information formed by the tap operation, for example, the user can be separated. Pocket-to-pocket touch screen operation. The terminal control method provided in the implementation of the present invention further reduces the difficulty of the user to control the terminal and improves the user experience.
下面结合具体的应用场景,对本发明实施例中提出的一种终端控制方法进行详细的说明。图3是本发明实施提供的一种终端控制装置的模块连接图,其中,包括以下模块:A terminal control method proposed in the embodiment of the present invention is described in detail below in conjunction with a specific application scenario. 3 is a block diagram of a terminal control device provided by the implementation of the present invention, which includes the following modules:
电码检测模块310用于检测用户在触摸屏上的敲击操作。该模块可以在黑屏时或在终端显示操作输入界面时启动检测,捕获用户在触摸屏上的短按和长按信号,形成一段摩尔斯电码,然后通过特殊的敲击操作或者滑屏操作作为这段摩尔斯电码的提交(类似于消息输入完后的回车键),将捕获的这一段摩尔斯电码作为输入传递给电码翻译模块。The code detection module 310 is configured to detect a tap operation of the user on the touch screen. The module can start detection when the black screen is displayed or when the terminal displays the operation input interface, capture the short press and long press signal of the user on the touch screen, form a Morse code, and then use a special tap operation or a sliding screen operation as the paragraph. The submission of the Morse code (similar to the Enter key after the message is entered) passes the captured Morse code as input to the code translation module.
电码翻译模块320将电码检测模块310捕获的一段电码根据预先设置的密码本翻译为配置指令,并将该配置指令放入待执行的指令列表中。The code translation module 320 translates a piece of code captured by the code detecting module 310 into a configuration command according to a preset code book, and puts the configuration command into the instruction list to be executed.
指令执行模块330用于按顺序逐条读取待执行的指令列表,根据预先设定的配置指令与操作命令的对应关系,转换为系统可以执行的操作命令,并执行命令,将执行结果通过震动或声音反馈。The instruction execution module 330 is configured to read the instruction list to be executed one by one according to the sequence, convert the operation command that can be executed by the system according to the correspondence between the preset configuration instruction and the operation command, and execute the command, and execute the result through the vibration or Sound feedback.
指令配置模块340一方面提供密码本,给电码翻译模块翻译时使用,另一方面提供配 置指令与操作命令的对应关系,供给指令执行模块参照执行。The instruction configuration module 340 provides a codebook on the one hand, which is used when translating the code translation module, and provides a correspondence between the configuration command and the operation command on the other hand, and the supply instruction execution module refers to the execution.
图4是应用于图3所示的各模块的终端控制方法的流程图。如图4所示,该方法可以包括如下步骤:4 is a flow chart of a terminal control method applied to each module shown in FIG. As shown in FIG. 4, the method may include the following steps:
在S401中,预设置密码本。In S401, a password book is preset.
例如,指令配置模块可以预设置如表1(a)至表1(d)的一种电码信息与字符映射关系的密码本,其中,表1(a)为用户对触摸屏的敲击操作与电码的对应关系表:For example, the instruction configuration module may preset a codebook of a code mapping relationship between the code information and the characters as shown in Table 1(a) to Table 1(d), wherein Table 1(a) is a user tapping operation and code of the touch screen. Correspondence table:
信号/间隔Signal/interval 操作operating 时间长度(t)Length of time (t)
点信号“·”,即“滴”(Di)Point signal "·", ie "drip" (Di) 短按屏幕Short press the screen 11
长信号“—”,即“嗒”(Da)Long signal "-", that is, "嗒" (Da) 长按屏幕Long press on the screen 33
滴嗒间隔Drip interval no 11
字符间隔Character spacing no 33
字间间隔Inter-word spacing no 77
表1(a)Table 1 (a)
其中,t为时间单位,可配置,默认0.3秒。基于表1(a)中的敲击操作与电码的对应关系表,可以将用户对终端的触摸屏的敲击操作翻译为电码信息。Where t is the time unit, configurable, default is 0.3 seconds. Based on the correspondence table between the tapping operation and the electric code in Table 1(a), the user can translate the tapping operation of the touch screen of the terminal into the electric code information.
表1(b)为字母与电码的对应关系表:Table 1 (b) is the correspondence table between letters and codes:
Figure PCTCN2018074396-appb-000001
Figure PCTCN2018074396-appb-000001
表1(b)Table 1 (b)
表1(c)为数字与电码的对应关系表:Table 1 (c) is a table of correspondence between numbers and codes:
Figure PCTCN2018074396-appb-000002
Figure PCTCN2018074396-appb-000002
表1(c)Table 1 (c)
表1(d)为标点符号与电码的对应关系表:Table 1 (d) is the correspondence table between punctuation marks and codes:
Figure PCTCN2018074396-appb-000003
Figure PCTCN2018074396-appb-000003
表1(d)Table 1 (d)
基于表1(b)、1(c)以及1(d),可以将电码信息翻译为配置指令。Based on Tables 1(b), 1(c), and 1(d), the code information can be translated into configuration instructions.
在S402中,设置配置指令与操作命令的对应关系。In S402, a correspondence relationship between the configuration command and the operation command is set.
例如,指令配置模块可以设置如表2所示的一种配置指令与操作命令的对应关系表:For example, the instruction configuration module can set a correspondence table between a configuration instruction and an operation command as shown in Table 2:
配置指令Configuration directive 操作命令Operational order
play musicPlay music 打开播放器播放音乐Open the player to play music
stop musicStop music 停止播放音乐Stop playing music
start recordStart record 开始录音start recording
stop recordStop record 停止录音Stop recording
call 10086Call 10086 拨打电话号码10086Call the number 10086
clock meeting at 10am tommorrowClock meeting at 10am tommorrow 设定闹钟“明天早上十点开会”Set the alarm clock "Meet at 10 o'clock tomorrow morning"
note it is a fine todayNote it is a fine today 记事“今天天气不错”Note "Good weather today"
表2Table 2
基于表2中的配置指令与操作命令的对应关系表,可以查找配置指令对应的操作命令。Based on the correspondence table between the configuration instructions and the operation commands in Table 2, the operation commands corresponding to the configuration instructions can be searched.
在S403中,检测用户敲击终端的触摸屏的可操作区域所形成的电码信息。In S403, the code information formed by the operable area of the touch screen of the user tapping the terminal is detected.
需要说明的是,电码检测模块可以在终端黑屏状态下,检测用户对终端的触摸屏的操作信息;或,在终端亮屏且触摸屏锁定状态下,检测用户对终端的触摸屏的操作信息;或,在终端显示的操作输入界面,检测用户对终端的触摸屏的操作信息。It should be noted that the electronic code detecting module may detect the operation information of the touch screen of the user in the black screen state of the terminal; or, when the terminal is bright and the touch screen is locked, the operation information of the touch screen of the user is detected; or The operation input interface displayed by the terminal detects the operation information of the user on the touch screen of the terminal.
在S404中,依据密码本,翻译该电码信息,以获取配置指令。In S404, the code information is translated according to the codebook to obtain a configuration command.
在检测到电码信息后,电码翻译模块可以依据密码本,将该电码信息翻译为配置指令。After detecting the code information, the code translation module can translate the code information into a configuration command according to the code book.
在S405中,将该配置指令存储至待执行的指令列表。In S405, the configuration instruction is stored to the instruction list to be executed.
电码翻译模块将翻译的配置指令存储至待执行的指令列表。The code translation module stores the translated configuration instructions to the list of instructions to be executed.
在S406中,检测该配置指令的格式是否正确。In S406, it is detected whether the format of the configuration command is correct.
指令执行模块检测该配置指令是否正确,若正确,执行S407,若不正确,执行S408。The instruction execution module detects whether the configuration instruction is correct. If it is correct, execute S407. If not, execute S408.
在S407中,获取该配置指令对应的操作命令。In S407, an operation command corresponding to the configuration instruction is acquired.
指令执行模块按照指令列表中的配置指令的先后顺序读取配置指令,并根据设置的配置指令与操作命令的对应关系,依次获取指令列表中的配置指令对应的操作命令。The instruction execution module reads the configuration instruction according to the sequence of the configuration instructions in the instruction list, and sequentially acquires the operation command corresponding to the configuration instruction in the instruction list according to the corresponding relationship between the set configuration instruction and the operation command.
在S408中,发出错误提示信息。In S408, an error message is issued.
例如,可以通过发出声音或者震动的错误提示信息。For example, an error message can be given by sound or vibration.
在S409中,执行获取的操作命令。In S409, the acquired operation command is executed.
指令操作模块执行该操作命令,若操作命令执行错误,执行S410,若操作指令执行成功,执行S411。The instruction operation module executes the operation command. If the operation command execution error occurs, S410 is executed, and if the operation instruction execution is successful, S411 is executed.
在S410中,发出执行错误提示信息。In S410, an execution error prompt message is issued.
例如,可以通过发出声音或者震动的执行错误提示信息。For example, an error message can be sent by sounding or vibrating.
在S411中,发出执行成功提示信息。In S411, an execution success prompt message is issued.
例如,可以通过发出声音或者震动的执行成功提示信息。For example, the information can be successfully presented by sounding or vibrating.
本发明实施例中,通过在锁屏状态下检测用户对终端的触摸屏的操作信息;获取该操作信息对应的操作命令以及执行该操作命令的技术手段,实现了在锁屏状态下对终端的快捷方便的控制,而且,只要用户能够在触摸屏上操作,不要求用户操作位置的精准,在用户用眼不方便时,依然可以实现对终端的控制,另外,本发明实施例中通过用户对触摸屏的操作而对终端进行控制,不会受外界环境的干扰,提升了终端控制的准确性。In the embodiment of the present invention, the operation information of the touch screen of the user is detected in the lock screen state; the operation command corresponding to the operation information and the technical means for executing the operation command are obtained, thereby realizing the shortcut to the terminal in the lock screen state. Convenient control, and as long as the user can operate on the touch screen, the user is not required to operate the position accurately, and the control of the terminal can still be realized when the user is inconvenient with the eye. In addition, in the embodiment of the present invention, the user touches the touch screen. The terminal is controlled by operation, and is not interfered by the external environment, thereby improving the accuracy of the terminal control.
应清楚地理解,本发明描述了如何形成和使用特定示例,但本发明的原理不限于这些示例的任何细节。相反,基于本发明公开的内容的教导,这些原理能够应用于许多其它实施例。It will be clearly understood that the present invention describes how to make and use particular examples, but the principles of the invention are not limited to the details of the examples. Rather, these principles can be applied to many other embodiments based on the teachings of the present disclosure.
下述为本发明装置实施例,可以用于执行本发明方法实施例。在下文对装置的描述中,与前述方法相同的部分,将不再赘述。The following is an embodiment of the apparatus of the present invention, which can be used to carry out the method embodiments of the present invention. In the following description of the device, the same portions as the foregoing methods will not be described again.
图5是根据一示例性实施例示出终端控制装置的结构图。如图5所示,装置500可以包括:FIG. 5 is a block diagram showing a terminal control device according to an exemplary embodiment. As shown in FIG. 5, the apparatus 500 can include:
检测模块510,配置为在锁屏状态下检测用户对终端的触摸屏的操作信息;The detecting module 510 is configured to detect, in a lock screen state, operation information of the user on the touch screen of the terminal;
获取模块520,配置为获取所述操作信息对应的操作命令;The obtaining module 520 is configured to acquire an operation command corresponding to the operation information;
执行模块530,配置为执行所述操作命令。The execution module 530 is configured to execute the operation command.
本发明实施例中,通过在锁屏状态下检测用户对终端的触摸屏的操作信息;获 取该操作信息对应的操作命令以及执行该操作命令的技术手段,实现了在锁屏状态下对终端的快捷方便的控制,而且,只要用户能够在触摸屏上操作,不要求用户操作位置的精准,在用户用眼不方便时,依然可以实现对终端的控制,另外,本发明实施例中通过用户对触摸屏的操作而对终端进行控制,不会受外界环境的干扰,提升了终端控制的准确性。In the embodiment of the present invention, the operation information of the touch screen of the user is detected in the lock screen state; the operation command corresponding to the operation information and the technical means for executing the operation command are obtained, thereby realizing the shortcut to the terminal in the lock screen state. Convenient control, and as long as the user can operate on the touch screen, the user is not required to operate the position accurately, and the control of the terminal can still be realized when the user is inconvenient with the eye. In addition, in the embodiment of the present invention, the user touches the touch screen. The terminal is controlled by operation, and is not interfered by the external environment, thereby improving the accuracy of the terminal control.
图6是根据另一示例性实施例示出终端控制装置的结构图。如图6所示,装置600可以包括:FIG. 6 is a block diagram showing a terminal control device according to another exemplary embodiment. As shown in FIG. 6, the apparatus 600 can include:
检测模块610,配置为检测用户对终端的触摸屏的操作信息;其中,所述操作信息包括:用户敲击所述触摸屏的可操作区域所形成的电码信息The detecting module 610 is configured to detect operation information of the touch screen of the user by the user; wherein the operation information includes: the code information formed by the user tapping the operable area of the touch screen
获取模块620,配置为获取所述操作信息对应的操作命令;The obtaining module 620 is configured to acquire an operation command corresponding to the operation information.
执行模块630,配置为执行所述操作命令。The execution module 630 is configured to execute the operation command.
本发明上述实施例中,检测用户对终端的触摸屏的操作信息。其中,操作信息包括:用户敲击该触摸屏的可操作区域所形成的电码信息;获取所述操作信息对应的操作命令以及执行所述操作命令的技术手段,实现了通过敲击终端的触摸屏对终端进行快捷方便的控制,并且,只要用户能够在触摸屏上操作,不要求用户操作位置的精准,在用户用眼不方便时,依然可以实现对终端的控制,另外,本发明实施例中通过用户对触摸屏的操作而对终端进行控制,不会受外界环境的干扰,提升了终端控制的准确性。In the above embodiment of the present invention, the operation information of the user on the touch screen of the terminal is detected. The operation information includes: the electric code information formed by the user tapping the operable area of the touch screen; the operation command corresponding to the operation information and the technical means for executing the operation command, realizing the touch screen to the terminal by tapping the terminal Quick and convenient control, and as long as the user can operate on the touch screen, the user does not need to be precise in the operation position, and the control of the terminal can still be realized when the user is inconvenient with the eye. In addition, in the embodiment of the present invention, the user is The operation of the touch screen controls the terminal without interference from the external environment, which improves the accuracy of the terminal control.
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备可以执行:在锁屏状态下检测用户对终端的触摸屏的操作信息;获取所述操作信息对应的操作命令;执行所述操作命令。或者,检测用户对终端的触摸屏的操作信息;其中,所述操作信息包括:用户敲击所述触摸屏的可操作区域所形成的电码信息;获取所述操作信息对应的操作命令;执行所述操作命令。In another aspect, the present application further provides a computer readable medium, which may be included in the apparatus described in the above embodiments, or may be separately present and not incorporated into the apparatus. The computer readable medium carries one or more programs, and when the one or more programs are executed by the device, the device can perform: detecting, in a lock screen state, operation information of the user on the touch screen of the terminal; An operation command corresponding to the operation information; the operation command is executed. Or detecting the operation information of the touch screen of the user by the user; wherein the operation information includes: the electric code information formed by the user tapping the operable area of the touch screen; acquiring an operation command corresponding to the operation information; and performing the operation command.
图7是根据一示例性实施例示出的一种电子设备的结构图。需要说明的是,图7示出的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。FIG. 7 is a structural diagram of an electronic device according to an exemplary embodiment. It should be noted that the electronic device shown in FIG. 7 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiments of the present application.
如图7所示,计算机系统700包括中央处理单元(CPU)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储部分708加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有系统700操作所需的各种程序和数据。CPU 701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG. 7, computer system 700 includes a central processing unit (CPU) 701 that can be loaded into a program in random access memory (RAM) 703 according to a program stored in read only memory (ROM) 702 or from storage portion 708. And perform various appropriate actions and processes. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also coupled to bus 704.
以下部件连接至I/O接口705:包括键盘、鼠标等的输入部分706;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分707;包括硬盘等的存储部分708;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分709。通信部 分709经由诸如因特网的网络执行通信处理。驱动器710也根据需要连接至I/O接口705。可拆卸介质711,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器710上,以便于从其上读出的计算机程序根据需要被安装入存储部分708。The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker; a storage portion 708 including a hard disk or the like And a communication portion 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the Internet. Driver 710 is also connected to I/O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like, is mounted on the drive 710 as needed so that a computer program read therefrom is installed into the storage portion 708 as needed.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分709从网络上被下载和安装,和/或从可拆卸介质711被安装。在该计算机程序被中央处理单元(CPU)701执行时,执行本申请的系统中限定的上述功能。In particular, the processes described above with reference to the flowcharts may be implemented as a computer software program in accordance with an embodiment of the present disclosure. For example, an embodiment of the present disclosure includes a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for executing the method illustrated in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via communication portion 709, and/or installed from removable media 711. When the computer program is executed by the central processing unit (CPU) 701, the above-described functions defined in the system of the present application are executed.
需要说明的是,本申请所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer readable medium illustrated in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device. In the present application, a computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products in accordance with various embodiments of the present application. In this regard, each block of the flowchart or block diagrams can represent a module, a program segment, or a portion of code that includes one or more Executable instructions. It should also be noted that in some alternative implementations, the functions noted in the blocks may also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams or flowcharts, and combinations of blocks in the block diagrams or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be used A combination of dedicated hardware and computer instructions is implemented.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块也可以设置在处理器中,例如,可以描述为:一种处理器包括 检测模块、获取模块和执行模块。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定。The units involved in the embodiments of the present application may be implemented by software or by hardware. The described modules may also be provided in the processor, for example, as a processor including a detection module, an acquisition module, and an execution module. The names of these modules do not constitute a limitation on the module itself under certain circumstances.
以上具体示出和描述了本发明的示例性实施例。应可理解的是,本发明不限于这里描述的详细结构、设置方式或实现方法;相反,本发明意图涵盖包含在所附权利要求的精神和范围内的各种修改和等效设置。The exemplary embodiments of the present invention have been particularly shown and described above. It is to be understood that the invention is not limited to the details of the details of the embodiments of the invention.

Claims (11)

  1. 一种终端控制方法,所述方法包括:A terminal control method, the method comprising:
    在终端黑屏状态下检测用户对所述终端的触摸屏的操作信息;Detecting operation information of the user on the touch screen of the terminal in a black screen state of the terminal;
    获取所述操作信息对应的操作命令;Obtaining an operation command corresponding to the operation information;
    执行所述操作命令。Execute the operation command.
  2. 根据权利要求1所述的终端控制方法,所述操作信息包括:用户敲击所述触摸屏的可操作区域所形成的电码信息,或用户在所述触摸屏的可操作区域滑动所形成的轨迹信息。The terminal control method according to claim 1, wherein the operation information comprises: electronic code information formed by a user tapping an operable area of the touch screen, or track information formed by a user sliding in an operable area of the touch screen.
  3. 根据权利要求2所述的终端控制方法,所述获取所述操作信息对应的操作命令,包括:The terminal control method according to claim 2, wherein the obtaining an operation command corresponding to the operation information comprises:
    从设置的操作信息与操作命令的对应关系中,查询所述操作信息对应的操作命令。The operation command corresponding to the operation information is queried from the correspondence between the set operation information and the operation command.
  4. 根据权利要求3所述的终端控制方法,当所述操作信息为用户敲击所述触摸屏的可操作区域所形成的电码信息时,所述方法还包括:The terminal control method according to claim 3, when the operation information is that the user taps the electronic code information formed by the operable area of the touch screen, the method further includes:
    预设置电码信息与字符映射关系的密码本;Presetting the codebook of the relationship between the code information and the character;
    基于所述密码本将用户输入的多个电码信息翻译为多个配置指令;Translating a plurality of electrical code information input by the user into a plurality of configuration instructions based on the codebook;
    设置每个配置指令与操作命令的对应关系。Set the correspondence between each configuration command and the operation command.
  5. 根据权利要求4所述的终端控制方法,从设置的操作信息与操作命令的对应关系中,获取所述操作信息对应的操作命令,包括:The terminal control method according to claim 4, wherein the operation command corresponding to the operation information is obtained from the correspondence between the set operation information and the operation command, including:
    基于所述密码本将所述操作信息翻译为配置指令;Translating the operation information into a configuration instruction based on the codebook;
    从设置的每个配置指令与操作命令的对应关系中,获取到所述配置指令对应的操作命令。An operation command corresponding to the configuration instruction is obtained from a correspondence between each configuration instruction and an operation command that is set.
  6. 一种终端控制方法,所述方法包括:A terminal control method, the method comprising:
    检测用户对终端的触摸屏的操作信息;其中,所述操作信息包括:用户敲击所述触摸屏的可操作区域所形成的电码信息;Detecting operation information of the user on the touch screen of the terminal; wherein the operation information includes: the code information formed by the user tapping the operable area of the touch screen;
    获取所述操作信息对应的操作命令;Obtaining an operation command corresponding to the operation information;
    执行所述操作命令。Execute the operation command.
  7. 根据权利要求6所述的终端控制方法,所述检测用户对终端的触摸屏的操作信息,包括:The terminal control method according to claim 6, wherein the detecting operation information of the user on the touch screen of the terminal comprises:
    在所述终端黑屏状态下,检测用户对所述终端的触摸屏的操作信息;或In the black screen state of the terminal, detecting operation information of the user on the touch screen of the terminal; or
    在所述终端亮屏且触摸屏锁定状态下,检测用户对所述终端的触摸屏的操作信息;或When the terminal is bright and the touch screen is locked, detecting operation information of the user on the touch screen of the terminal; or
    在所述终端显示的操作输入界面,检测用户对所述终端的触摸屏的操作信息。The operation input interface displayed by the terminal detects operation information of the touch screen of the terminal by the user.
  8. 一种终端控制装置,所述装置包括:A terminal control device, the device comprising:
    检测模块,配置为在终端黑屏状态下检测用户对所述终端的触摸屏的操作信息;The detecting module is configured to detect, when the terminal is in a black screen state, operation information of the user on the touch screen of the terminal;
    获取模块,配置为获取所述操作信息对应的操作命令;Obtaining a module, configured to obtain an operation command corresponding to the operation information;
    执行模块,配置为执行所述操作命令。An execution module configured to execute the operation command.
  9. 一种终端控制装置,所述装置包括:A terminal control device, the device comprising:
    检测模块,配置为检测用户对终端的触摸屏的操作信息;其中,所述操作信息包括:用户敲击所述触摸屏的可操作区域所形成的电码信息The detecting module is configured to detect operation information of the touch screen of the user by the user; wherein the operation information includes: the code information formed by the user tapping the operable area of the touch screen
    获取模块,配置为获取所述操作信息对应的操作命令;Obtaining a module, configured to obtain an operation command corresponding to the operation information;
    执行模块,配置为执行所述操作命令。An execution module configured to execute the operation command.
  10. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1~7中任意一项所述的终端控制方法。A computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the terminal control method according to any one of claims 1 to 7.
  11. 一种电子设备,包括:An electronic device comprising:
    处理器;以及Processor;
    存储器,用于存储所述处理器的可执行指令;a memory for storing executable instructions of the processor;
    其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1~7中任意一项所述的终端控制方法。The processor is configured to execute the terminal control method according to any one of claims 1 to 7 by executing the executable instruction.
PCT/CN2018/074396 2018-01-29 2018-01-29 Terminal control method and apparatus, storage medium, and electronic device WO2019144392A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880000054.4A CN108323196A (en) 2018-01-29 2018-01-29 terminal control method, device, storage medium and electronic equipment
PCT/CN2018/074396 WO2019144392A1 (en) 2018-01-29 2018-01-29 Terminal control method and apparatus, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/074396 WO2019144392A1 (en) 2018-01-29 2018-01-29 Terminal control method and apparatus, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
WO2019144392A1 true WO2019144392A1 (en) 2019-08-01

Family

ID=62895837

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/074396 WO2019144392A1 (en) 2018-01-29 2018-01-29 Terminal control method and apparatus, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN108323196A (en)
WO (1) WO2019144392A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110658920A (en) * 2019-09-27 2020-01-07 上海闻泰电子科技有限公司 Single-point touch control method, device, equipment and storage medium
CN112929483B (en) * 2019-12-05 2022-04-12 兰习刚 Touch screen blind operation and quick operation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455842A (en) * 2010-10-21 2012-05-16 北京创新方舟科技有限公司 Method and equipment for unlocking screen according to clicking operation of user
CN103760979A (en) * 2014-01-20 2014-04-30 联想(北京)有限公司 Information processing method and electronic equipment
CN105739786A (en) * 2016-01-29 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Method and device for starting application program in screen-off state
CN105868594A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 Terminal control method and device
US20170371616A1 (en) * 2016-06-28 2017-12-28 Cirrus Logic International Semiconductor Ltd. User input through transducer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607843B (en) * 2015-08-27 2019-03-08 宇龙计算机通信科技(深圳)有限公司 Method and device based on gesture control terminal
CN106126082B (en) * 2016-06-24 2020-01-14 北京小米移动软件有限公司 Terminal control method and device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455842A (en) * 2010-10-21 2012-05-16 北京创新方舟科技有限公司 Method and equipment for unlocking screen according to clicking operation of user
CN103760979A (en) * 2014-01-20 2014-04-30 联想(北京)有限公司 Information processing method and electronic equipment
CN105739786A (en) * 2016-01-29 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Method and device for starting application program in screen-off state
CN105868594A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 Terminal control method and device
US20170371616A1 (en) * 2016-06-28 2017-12-28 Cirrus Logic International Semiconductor Ltd. User input through transducer

Also Published As

Publication number Publication date
CN108323196A (en) 2018-07-24

Similar Documents

Publication Publication Date Title
US10789959B2 (en) Training speaker recognition models for digital assistants
JP6835398B2 (en) Multi-turn canned dialog
US20190025950A1 (en) User interface apparatus and method for user terminal
KR102544780B1 (en) Method for controlling user interface according to handwriting input and electronic device for the same
US11468162B2 (en) Device, method, and graphical user interface for managing authentication credentials for user accounts
CN107273019B (en) Collaborative gesture based input language
US7768503B2 (en) Capacitive touchpad integrated with a graphical input function
CN108806669B (en) Electronic device for providing voice recognition service and method thereof
US20160328205A1 (en) Method and Apparatus for Voice Operation of Mobile Applications Having Unnamed View Elements
US20160103812A1 (en) Typing assistance for editing
US20180143802A1 (en) Method for processing various inputs, and electronic device and server for the same
CN107436691B (en) Method, client, server and device for correcting errors of input method
US20150040012A1 (en) Visual confirmation for a recognized voice-initiated action
US20090005088A1 (en) Mobile communication device and the operating method thereof
US9426606B2 (en) Electronic apparatus and method of pairing in electronic apparatus
WO2009074047A1 (en) Method, system, device and terminal for correcting touch screen error
US9760278B2 (en) Finger expressions for touch screens
WO2019033655A1 (en) Method and apparatus for mistouch prevention, device, and storage medium
TW201413537A (en) Touch-control method for capacitive and electromagnetic dual-mode touch screen and handheld electronic device
WO2019144392A1 (en) Terminal control method and apparatus, storage medium, and electronic device
CN107368205B (en) Handwriting input method and mobile terminal
WO2017028491A1 (en) Touch control display device and touch control display method
WO2016078251A1 (en) Projector playing control method, device, and computer storage medium
US20070047846A1 (en) Handwriting input system and method thereof
CN110502625A (en) Medical care problem answers method, apparatus, equipment and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18902338

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 30.11.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18902338

Country of ref document: EP

Kind code of ref document: A1