[go: up one dir, main page]

CN111049975A - Key operation processing method and device of SIP phone and terminal equipment - Google Patents

Key operation processing method and device of SIP phone and terminal equipment Download PDF

Info

Publication number
CN111049975A
CN111049975A CN201911181530.XA CN201911181530A CN111049975A CN 111049975 A CN111049975 A CN 111049975A CN 201911181530 A CN201911181530 A CN 201911181530A CN 111049975 A CN111049975 A CN 111049975A
Authority
CN
China
Prior art keywords
key
event
preset
value
detecting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911181530.XA
Other languages
Chinese (zh)
Inventor
朱安南
沈志成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yealink Network Technology Co Ltd
Original Assignee
Xiamen Yealink Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN201911181530.XA priority Critical patent/CN111049975A/en
Publication of CN111049975A publication Critical patent/CN111049975A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a key operation processing method, a key operation processing device and terminal equipment of an SIP phone, which realize that a hard keyboard is used for quickly entering a command mode of the SIP phone and is not dependent on a UI (user interface), and the method comprises the following steps: detecting key operation of a user; after detecting that a user triggers a first key, modifying the value of the zone bit according to a preset rule; and after detecting that the user triggers the second key, judging whether the value of the zone bit is a preset value, if so, triggering a preset key response event according to the key event of the second key, otherwise, dispatching the key event of the second key to the focus window.

Description

Key operation processing method and device of SIP phone and terminal equipment
Technical Field
The present disclosure relates to the technical field of SIP phones, and in particular, to a method and an apparatus for processing a key operation of an SIP phone, and a terminal device.
Background
Many Session Initiation Protocol (SIP) phones currently have a hard keyboard that merely serves as a numeric or alphabetic key input. Depending on a current User Interface (UI) window, only numbers or letters can be input to an edit box for acquiring a focus (cursor) during input, and more functions cannot be realized.
In the existing scheme, if a user needs to enter a command mode, the input key short code is analyzed and corresponding operation is triggered in a dial software module, the mode has strong dependence on a UI (user interface), and if the current interface is not in the corresponding UI or the dial interface is abnormal, the input key short code cannot be directly and effectively analyzed and a key response event is executed.
How to enter the command mode conveniently and reduce the dependency on the UI interface is a problem which is not solved in the prior art.
Disclosure of Invention
To this end, the present disclosure provides a method, an apparatus, and a terminal device for processing a key operation of an SIP phone, in an effort to solve or at least alleviate at least one of the above problems.
According to an aspect of the embodiments of the present disclosure, there is provided a key operation processing method of a SIP phone, which is suitable for being executed in a computing device, the method including:
detecting key operation of a user;
after detecting that a user triggers a first key, modifying the value of the zone bit according to a preset rule;
after detecting that a user triggers a second key, judging whether the value of the zone bit is a preset value, if so, triggering a preset key response event according to a key event of the second key; otherwise, the key event of the second key is dispatched to a focus window.
Optionally, after detecting that the user triggers the second key, judging whether the value of the flag bit is a preset value, if so, triggering a preset key response event according to the key event of the second key; otherwise, dispatching the key event of the second key to the focus window comprises:
after detecting that the user triggers the second key, judging whether the value of the flag bit is a preset value, if so, returning to the specified value and interrupting the primary processing flow of the system to the key event; otherwise, according to the original processing flow of the system to the key event, the key event of the second key is dispatched to the focus window;
and the number of the first and second groups,
and after the user is detected to trigger the second key, if the value of the zone bit is detected to be a preset value, triggering a preset key response event according to the key event of the second key.
Optionally, before triggering a preset key response event according to the key event of the second key, the method includes:
checking the caller and the channel name of the input channel; the method comprises the steps that an inputChannel channel, an interface corresponding to the inputChannel and a key event receiver are configured in advance, and key events of a second key are filtered and received through the inputChannel, the interface corresponding to the inputChannel and the key event receiver.
Optionally, triggering a preset key response event according to a key event of the second key includes:
recording key information of the second key;
triggering a key response event corresponding to the preset command code word after detecting that the key information is consistent with the preset command code word;
and automatically clearing the key information of the second key once the key response event is triggered.
Optionally, triggering a preset key response event according to a key event of the second key, further comprising:
after a long-time pressing event of a third key is detected, key code information is cleared; wherein the third key is one of the plurality of second keys.
Optionally, triggering a preset key response event according to a key event of the second key, further comprising:
detecting a long-time pressing event of a fourth key, entering a key code editing page, and adding, modifying or deleting the command code word; wherein the fourth key is one of the plurality of second keys.
Optionally, the first key is a self-locking key.
Optionally, the key response event includes at least one of the following:
entering a wireless microphone pairing page, calling out a designated contact person, entering a conference by one key, recovering delivery, recording a video, uploading a log, entering an engineering mode and entering a camera test mode.
According to still another aspect of the present disclosure, there is provided a SIP phone apparatus including:
the key detection module is used for detecting key operation of a user;
the flag bit modification module is used for modifying the value of the flag bit according to a preset rule after detecting that the first key is triggered by a user;
the key response module is used for judging whether the value of the zone bit is a preset value or not after detecting that the user triggers the second key, and if so, triggering a preset key response event according to the key event of the second key; otherwise, the key event of the second key is dispatched to the focus window.
According to another aspect of the present disclosure, there is provided a terminal device including: a first key and a second key; one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors to perform the above-described key operation processing method of the SIP phone.
The embodiment of the disclosure realizes that the hard keyboard is used to directly enter the command mode and trigger the key response event; the first key is a special key for indicating whether to enter a command mode, and the second key is a conventional key for inputting command code words such as numbers, characters, and the like; compared with the prior art, the problems of poor stability and inconvenient operation caused by the fact that a hard keyboard can only be used for inputting numbers or letters in a UI window and a user needs to call a corresponding UI interface when entering a command mode are solved, the user can quickly switch the command mode, and the system is independent of the UI window, so that the stability and the efficiency are higher, and the experience is better.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the disclosure and together with the description serve to explain the principles of the disclosure.
Fig. 1 is a block diagram of an exemplary terminal device 100;
fig. 2 is a flowchart of a key operation processing method of an SIP phone according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a hard keyboard interface of a SIP phone according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a method for processing a key operation of an SIP phone according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a key operation processing apparatus of an SIP phone according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a block diagram of an example terminal device 100 arranged to implement a key operation processing method of a SIP phone according to the present disclosure. In a basic configuration 102, a terminal device 100 typically includes a system memory 106 and one or more processors 104. A memory bus 108 may be used for communication between the processor 104 and the system memory 106.
Depending on the desired configuration, the processor 104 may be any type of processing, including but not limited to: the processor 104 may include one or more levels of cache, such as a level one cache 110 and a level two cache 112, a processor core 114, and registers 116. the example processor core 114 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof.
Depending on the desired configuration, system memory 106 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 106 may include an operating system 120, one or more programs 122, and program data 124. In some implementations, the program 122 can be configured to execute instructions on an operating system by one or more processors 104 using program data 124.
Terminal device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via the bus/interface controller 130. The example output device 142 includes a graphics processing unit 148 and an audio processing unit 150. They may be configured to facilitate communication with various external devices, such as a display terminal or speakers, via one or more a/V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 158, wherein the keyboard of terminal device 100 includes both conventional keys (e.g., digits, #, # and #) and special keys for indicating whether terminal device 100 has entered a command mode. An example communication device 146 may include a network controller 160, which may be arranged to facilitate communications with one or more other computing devices 162 over a network communication link via one or more communication ports 164.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
Terminal device 100 may be implemented as part of a small-sized portable (or mobile) electronic device such as a SIP phone, a cellular telephone, a Personal Digital Assistant (PDA), a personal media player device, a wireless network browsing device, a personal headset, an application specific device, or a hybrid device that include any of the above functions.
Among other things, the one or more programs 122 of the terminal device 100 include instructions for executing a key operation processing method of a SIP phone according to the present disclosure.
Fig. 2 illustrates a flowchart of a key operation processing method 200 of the SIP phone according to an embodiment of the disclosure, and the key operation processing method 200 of the SIP phone starts at step S210.
In step S210, a key operation by the user is detected. The key operations of the user include a key operation of a first key and a key operation of a second key, wherein the second key is a conventional SIP phone key, for example, a numeric key, # and the first key is a newly added special key for entering/exiting the command mode.
Subsequently, in step S220, if it is detected that the user triggers the first key, modifying the value of the flag bit according to a preset rule; the flag bit is a predefined parameter used for indicating whether the current SIP phone enters the command mode, for example, the first key is a self-locking key, if it is detected that the user presses the first key, the flag bit is marked as 1 to indicate that the current SIP phone enters the command mode, and if it is detected that the user lifts the first key, the flag bit is marked as 0 to indicate that the current SIP phone does not enter the command mode; for another example, the first key is a touch key, and if it is detected that the user presses the first key, the flag bit is modified from 0 to 1, and the command mode is entered, or modified from 1 to 0, and the command mode is exited.
Subsequently, in step S230, if it is detected that the user triggers the second key, determining whether the value of the flag bit is a preset value, and if so, triggering a preset key response event according to a key event of the second key; otherwise, the key event of the second key is dispatched to the focus window. In this step, when the flag bit indicates that the current mode is not in the command mode, the key event of the second key is dispatched to the focus window, namely, the normal keyboard input operation of the user is responded in the UI window, and the response process is consistent with the response process of the existing key event, so that the user can normally dial or edit the frame to input the key code; and when the flag bit indicates that the key is in the command mode, processing the key event as a command code word, and further triggering a corresponding key response event.
Further, in order to improve compatibility and stability, on the basis of the existing SIP phone programming, the content of step S230 is implemented by using multiple concurrent flows:
a first process: if the user is detected to trigger the second key, judging whether the value of the zone bit is a preset value, if so, returning a specified value at the key distribution module, thereby intercepting the processing flow of the system to the key; otherwise, sending the key event of the second key to the focus window; and, a second process: and if the user is detected to trigger the second key, triggering a preset key response event according to the key event of the second key if the value of the detection zone bit is a preset value.
The first process is based on the conventional key event processing process, only a step of judging whether the value of the flag bit is a preset value is added, if so, the specified value is returned in the key distribution module, so that the native processing process of the system to the key event is interrupted, otherwise, the key event of the second key is distributed to the focus window according to the native processing process, and the user can dial normally. The native process flow refers to an unmodified process flow of google android (android google) at the time of release. Because the first process only needs to make a small change on the prior technical scheme, the method adopts a parallel processing mode of the first process and the second process, can improve the compatibility and stability and reduce the program development cost.
In the implementation process, the second process can be realized by adding a new service program, and the service program is used for receiving the key event of the second key and triggering the preset key response event according to the received key event; the phone operating system is used for detecting whether a user triggers the second key and the value of the zone bit, and reporting the key event of the second key to a command processing module of a newly added service program if the zone bit is a preset value and the user triggers the second key.
Taking an android system as an example, in order to enable a service program to interact with a phone operating system normally, an inputChannel channel and a key event receiver need to be configured in advance at the service program side; in order to improve the security, the caller and the channelName of the inputChannel are checked; and configuring an interface corresponding to the inputChannel channel in a system InputManager program.
Optionally, triggering a preset key response event according to the key event of the second key includes:
recording key information of the second key;
triggering a key response event corresponding to the preset command code word after detecting that the key information is consistent with the preset command code word;
and automatically clearing the key information of the second key once the key response event is triggered.
For example, the user inputs the second keys #, 3, 0, # word predefined as the start end symbol, and inquires that the key response event corresponding to the system preset command code #330# is factory restoration, and then performs factory restoration operation.
Optionally, triggering a preset key response event according to the key event of the second key, further comprising:
clearing the key information after detecting a long-time pressing event of a third key; wherein the third key is one of the plurality of second keys.
For example, the third key is # and a predefined # pressed for 3 seconds is identified as a long press event.
Optionally, triggering a preset key response event according to the key event of the second key, further comprising:
detecting a long-time pressing event of a fourth key, entering a key code editing page, and adding, modifying or deleting command code words; wherein the fourth key is one of the plurality of second keys.
For example, the fourth key is, predefined, pressed for 3 seconds is identified as a long press event.
Specific embodiments of the present disclosure are given below in conjunction with an android system SIP phone.
As shown in fig. 3, the SIP phone provided in this embodiment has a Mode key in addition to the conventional keys. The Mode key adopts a self-locking key, when the Mode key is pressed down or lifted up, the Mode key is respectively reported to PhoneWindowManager of an android system Framework once, and a flag bit is additionally arranged: FLAG _ KEY _ COMMAND is 1, the mode KEY M is pressed, and indicates the on COMMAND mode; FLAG _ KEY _ COMMAND is 0, and the mode KEY M is raised, indicating a normal user mode.
The key response flow provided by the specific embodiment of the present disclosure is shown in fig. 4, where the work flow in the normal user mode is as follows:
when the Framework receives a KEY event for driving reporting, judging a COMMAND mode FLAG _ KEY _ COMMAND () is added to a function interceptkeyBeforeDispatching () of a PhoneWindowMana ger, if the function is in a user mode, keeping an original KEY reporting flow, namely, dispatching the KEY event to a current focus window. If the command mode is turned on, the function returns directly to-1 without processing at the interrupt KeyBeforeDispatching function.
Workflow in Command mode:
1. when the system is started, a resident server is started in the background, and the server is mainly responsible for monitoring key events in a command mode and processing the execution of response. And adding an interface in the system InputManager for the server to set a specific inputChannel input channel, and setting a key event receiver InputEventReceiver and inputChannel in the server, wherein the inputChannel takes the package name of the caller, and adds the verification of the caller and the channelmame name in the InputManager, thereby improving the safety factor.
2. When the current COMMAND mode is judged to be in (FLAG _ KEY _ COMMAND is 1), and the input event is a KEY event, the InputManagerService recalls to the server end through the onInputEvent of the set COMMAND monitor InputEventReceiver, thereby achieving the reporting flow of the COMMAND KEY.
3. And the key command processing module of the server side performs enqueue processing on the key event after receiving the key event, matches key values according to a preset start and end symbol, such as # #, and forms a command code, and a user can increase/edit the key code and a corresponding key response event in advance. The purpose of quick response can be achieved through the presetting, the fixed behavior habits of the user are increased, and the user experience is improved.
4. If the user wrongly inputs the key in the command mode or needs to input the key again, the user can press the # number for 3 seconds, the server judges the long-press event, clears the recorded key and records the key code again.
5. In the command mode, the user can quickly enter a command code editing page for 3 seconds, and the user can add, modify or delete the corresponding short code.
In addition, the embodiments of the present disclosure further provide a command code and a corresponding functional design, as shown in table 1:
TABLE 1
Figure BDA0002291399730000091
Figure BDA0002291399730000101
In addition to using the command codes in table 1, the user can customize any other command code.
The technical scheme provided by the specific embodiment of the disclosure realizes the following technical effects:
1. in a normal input mode, all keys follow a normal key reporting flow, for example, in an Android terminal, the keys can only be dispatched to a current focusing window, and if the focus is in an edit box, an input event of the edit box is completed. And when the terminal is in a command mode, a user presses the key code (1-9 #), and the key code cannot be dispatched to the current window, namely the UI cannot respond to the key event. Thereby isolating the interaction of the command processing module and the UI.
2. In the command mode, a special key short code analysis module is provided, the analysis module can load some common key command codes preset in the factory during initialization, and in the command mode, the key codes are analyzed and corresponding operations are executed, so that the corresponding preset functions are quickly executed.
3. The user can newly add the key short code and preset, modify and delete the key short code event, and the flexibility is high.
4. The scheme does not depend on the UI, and has strong significance for making interface jump, calling out a hot number, locking the interface, recovering from factory, upgrading, screenshot, recording a video operated by a user, deriving a log and the like through a command mode under the condition that the UI is abnormally applied or upgrading is abnormally performed.
As shown in fig. 5, the present disclosure also provides an SIP phone apparatus, including:
a key detection module 510, configured to detect a key operation of a user;
the flag bit modification module 520 is configured to modify a value of the flag bit according to a preset rule after detecting that the user triggers the first key;
the key response module 530 is configured to determine whether a value of the flag bit is a preset value after detecting that a user triggers a second key, and if so, trigger a preset key response event according to a key event of the second key; otherwise, the key event of the second key is dispatched to a focus window.
For specific limitations of the SIP phone device, reference may be made to the above limitations of the key operation processing method of the SIP phone, and details are not described herein again.
It should be understood that the various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present disclosure, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the disclosure.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to perform the various methods of the present disclosure according to instructions in the program code stored in the memory.
By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer-readable media includes both computer storage media and communication media. Computer storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of computer readable media.
It should be appreciated that in the foregoing description of exemplary embodiments of the disclosure, various features of the disclosure are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that is, the claimed disclosure requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this disclosure.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Moreover, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the disclosure and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the disclosure has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the disclosure as described herein. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the disclosed subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The disclosure of the present disclosure is intended to be illustrative, but not limiting, of the scope of the disclosure, which is set forth in the following claims.

Claims (10)

1. A key operation processing method of a Session Initiation Protocol (SIP) phone is characterized by comprising the following steps:
detecting key operation of a user;
after detecting that a user triggers a first key, modifying the value of the zone bit according to a preset rule;
after detecting that a user triggers a second key, judging whether the value of the zone bit is a preset value, if so, triggering a preset key response event according to a key event of the second key; otherwise, the key event of the second key is dispatched to a focus window.
2. The method of claim 1, wherein after detecting that a user triggers a second key, determining whether the value of the flag bit is a preset value, and if so, triggering a preset key response event according to a key event of the second key; otherwise, dispatching the key event of the second key to a focus window, comprising:
after detecting that a user triggers a second key, judging whether the value of the flag bit is a preset value, if so, returning to the specified value and interrupting the primary processing flow of the system to the key event; otherwise, according to the original processing flow of the system to the key event, the key event of the second key is dispatched to the focus window;
and the number of the first and second groups,
and after the fact that the user triggers the second key is detected, if the value of the zone bit is detected to be a preset value, triggering a preset key response event according to the key event of the second key.
3. The method of claim 2, wherein before triggering the predetermined key response event based on the key event of the second key, comprising:
checking the caller and the channel name of the input channel; the method comprises the steps that an inputChannel channel, an interface corresponding to the inputChannel and a key event receiver are configured in advance, and key events of a second key are filtered and received through the inputChannel, the interface corresponding to the inputChannel and the key event receiver.
4. The method of claim 1, wherein triggering a predetermined key response event based on the key event of the second key comprises:
recording key information of the second key;
and after detecting that the key information is consistent with the preset command code word, triggering a key response event corresponding to the preset command code word, and clearing the key information.
5. The method of claim 4, wherein triggering a predetermined key response event based on the key event of the second key further comprises:
clearing the key information after detecting a long-time pressing event of a third key; wherein the third key is one of the plurality of second keys.
6. The method of claim 4, wherein triggering a predetermined key response event based on the key event of the second key further comprises:
after a long-time pressing event of a fourth key is detected, entering a key code editing page, and adding, modifying or deleting the command code word; wherein the fourth key is one of the plurality of second keys.
7. The method of any of claims 1-6, wherein the first key is a self-locking key.
8. The method of any of claims 1-6, wherein the key response event comprises at least one of:
entering a wireless microphone pairing page, calling out a designated contact person, entering a meeting by one key, recovering leaving a factory, recording a video, uploading a log, entering an engineering mode and entering a camera test mode.
9. A SIP phone apparatus, comprising:
the key detection module is used for detecting key operation of a user;
the flag bit modification module is used for modifying the value of the flag bit according to a preset rule after detecting that the first key is triggered by a user;
the key response module is used for judging whether the value of the zone bit is a preset value or not after detecting that a user triggers a second key, and if so, triggering a preset key response event according to a key event of the second key; otherwise, the key event of the second key is dispatched to a focus window.
10. A terminal device, comprising:
a first key and a second key;
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors to perform the method of key operation processing for a SIP phone according to any of claims 1 to 8.
CN201911181530.XA 2019-11-27 2019-11-27 Key operation processing method and device of SIP phone and terminal equipment Pending CN111049975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911181530.XA CN111049975A (en) 2019-11-27 2019-11-27 Key operation processing method and device of SIP phone and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911181530.XA CN111049975A (en) 2019-11-27 2019-11-27 Key operation processing method and device of SIP phone and terminal equipment

Publications (1)

Publication Number Publication Date
CN111049975A true CN111049975A (en) 2020-04-21

Family

ID=70233772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911181530.XA Pending CN111049975A (en) 2019-11-27 2019-11-27 Key operation processing method and device of SIP phone and terminal equipment

Country Status (1)

Country Link
CN (1) CN111049975A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585433A (en) * 2004-05-27 2005-02-23 大唐微电子技术有限公司 Method for calling STK/UTK function by rapid key and related user identifying module
CN101335957A (en) * 2008-07-25 2008-12-31 深圳华为通信技术有限公司 Quick key setting method, functional implementation method of communication terminal and communication terminal
CN102541549A (en) * 2011-12-23 2012-07-04 深圳Tcl新技术有限公司 Method and device for integrating television application modules
US20140062684A1 (en) * 2008-12-16 2014-03-06 Mark A. Casparian Systems And Methods For Implementing Haptics For Pressure Sensitive Keyboards
CN104750315A (en) * 2015-04-20 2015-07-01 京东方科技集团股份有限公司 Control method and device of screen touching device, and touch screening device
CN105893285A (en) * 2016-03-30 2016-08-24 青岛海信移动通信技术股份有限公司 Method for opening USB debugging option and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585433A (en) * 2004-05-27 2005-02-23 大唐微电子技术有限公司 Method for calling STK/UTK function by rapid key and related user identifying module
CN101335957A (en) * 2008-07-25 2008-12-31 深圳华为通信技术有限公司 Quick key setting method, functional implementation method of communication terminal and communication terminal
US20140062684A1 (en) * 2008-12-16 2014-03-06 Mark A. Casparian Systems And Methods For Implementing Haptics For Pressure Sensitive Keyboards
CN102541549A (en) * 2011-12-23 2012-07-04 深圳Tcl新技术有限公司 Method and device for integrating television application modules
CN104750315A (en) * 2015-04-20 2015-07-01 京东方科技集团股份有限公司 Control method and device of screen touching device, and touch screening device
CN105893285A (en) * 2016-03-30 2016-08-24 青岛海信移动通信技术股份有限公司 Method for opening USB debugging option and terminal

Similar Documents

Publication Publication Date Title
US9113414B2 (en) Standby method for handheld mobile terminal, microprocessor, and mobile phone
CN104426944B (en) Information feedback method, device and terminal
KR20130116414A (en) Apparatus and method for controlling permission for an application in a portable terminal
CN105872216A (en) Caller NUMBER processing method and mobile terminal
CN103853993B (en) An information processing method and electronic device
CN109521889B (en) Input method and device, terminal and storage medium
CN105100449B (en) A kind of picture sharing method and mobile terminal
KR20110117806A (en) Apparatus and method for analyzing an error occurrence in a portable terminal
US20150020018A1 (en) Method, Apparatus, Terminal And Storage Medium For Inputting Information
US10498875B2 (en) Method of processing information inputted while a mobile communication terminal is in an active communications state
CN106406947B (en) Method and device for preventing system service process from restarting, and mobile terminal
CN107302493A (en) A kind of message treatment method, message processing apparatus and intelligent terminal
CN106453931A (en) A method and mobile terminal prompting dialing by wrong touch
CN108256312B (en) Method, device and mobile terminal for opening local application on webpage
CN111049975A (en) Key operation processing method and device of SIP phone and terminal equipment
CN103119645A (en) Method and apparatus for accessing content within a device
CN108984238B (en) Gesture processing method and device of application program and electronic equipment
EP3244333B1 (en) Method and device for concealing personal information on calling interface
CN106792711B (en) A kind of method and apparatus preventing telecommunication fraud
CN106682509A (en) Window body processing method and device
CN111586781A (en) Call method and device
CN107241515B (en) Incoming call rejection processing method and terminal
CN106792605A (en) A kind of call connection method and call attachment means
KR20080037508A (en) Apparatus and method for registering an unregistered telephone number in a portable terminal
CN105204741A (en) Photographing method and device for mobile terminal

Legal Events

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

Application publication date: 20200421

RJ01 Rejection of invention patent application after publication