CN110022412A - Call interface response method, wearable device and computer readable storage medium - Google Patents

Call interface response method, wearable device and computer readable storage medium Download PDF

Info

Publication number
CN110022412A
CN110022412A CN201910420217.0A CN201910420217A CN110022412A CN 110022412 A CN110022412 A CN 110022412A CN 201910420217 A CN201910420217 A CN 201910420217A CN 110022412 A CN110022412 A CN 110022412A
Authority
CN
China
Prior art keywords
call
key
interface
wearable device
function
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
CN201910420217.0A
Other languages
Chinese (zh)
Inventor
房彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910420217.0A priority Critical patent/CN110022412A/en
Publication of CN110022412A publication Critical patent/CN110022412A/en
Pending legal-status Critical Current

Links

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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The present invention discloses a kind of call interface response method, wearable device and computer readable storage medium, belongs to wearable device technical field, which comprises the call incoming call of audiomonitor or exhalation signal;If listening to the signal of call incoming call or exhalation, the interface of call is shown in screen;For switching to the function of the key at other interfaces in shielding current interface.The present invention make wearable device in communication process call interface not by Home key, Back key etc. be used for switch to other interfaces key interference, so that call interface is always held at foreground, just restores the function of the key for switching to other interfaces such as Home key, Back key after phone is hung up.

Description

Call interface response method, wearable device and computer readable storage medium
Technical field
The present invention relates to wearable device technical field more particularly to a kind of call interface response methods, wearable device And computer readable storage medium.
Background technique
No matter wearable device interface runs any program at present, is all to allow click back key to exit to retract with home key Desktop, this is native system design in this way, if that currently carrying out call, if click back key or Home key can allow call interface to postpone platform, but call can continue.Such design the enough big mobile terminals of screen for User has many benefits, such as user can leaf through and use other application programs while son call, convenient instant Required information in call is searched, but for product as wearable device, since the screen of itself is very small, operation It is less convenient, call interface is come back to once exiting call interface and rethinking, needs just make to lead to by more operating procedure It talks about interface and returns to foreground, the usage experience of user is influenced very big.
Summary of the invention
It is a primary object of the present invention to propose a kind of call interface response method, wearable device and computer-readable deposit Storage media, it is intended to solve wearable device Home key or Back key etc. in communication process in the prior art and be used to switch to other The key triggering at interface is difficult to recall to, influences the problem of user experience after causing call interface to be jumped out.
To solve the above problems, the present invention provides a kind of call interface response method, applied to wearable device, including with Lower step:
The call incoming call of audiomonitor or exhalation signal;
If listening to the signal of call incoming call or exhalation, the interface of call is shown in screen;
For switching to the function of the key at other interfaces in shielding current interface.
Further, for switching to the function of the key at other interfaces in the step of method shielding current interface Include: later
When receiving the signal of call hang-ups, restore the function of the key for switching to other interfaces in current interface Energy.
Further, the step of the method shielding current interface in for switch to other interfaces key function into One step includes:
The onBackPressed method of Activity is modified, the back key function in current interface is shielded
The interceptPowerKeyUp method in PhoneWindowManager is modified, is shielded in current interface Home key function.
Further, the signal of the call incoming call or exhalation is the call incoming call occurred by GSM communication channel or exhales Signal or the call incoming call occurred by wireless digital networks channel or exhalation signal out.
Further, the key for switching to other interfaces includes the Home key and Back positioned at current interface Key.
To solve the above problems, the present invention also provides a kind of wearable device, the equipment includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The computer program performs the steps of when being executed by the processor
The call incoming call of audiomonitor or exhalation signal;
If listening to the signal of call incoming call or exhalation, the interface of call is shown in screen;
For switching to the function of the key at other interfaces in shielding current interface.
Further, the processor executes in step shielding current interface for switching to the function of the key at other interfaces It can execute later:
When receiving the signal of call hang-ups, restore the function of the key for switching to other interfaces in current interface Energy.
Further, it is used to switch to the key at other interfaces in the step of processor executes shielding current interface Function further comprises:
The onBackPressed method of Activity is modified, the back key function in current interface is shielded;
The interceptPowerKeyUp method in PhoneWindowManager is modified, is shielded in current interface Home key function.
Further, the key for switching to other interfaces includes the Home key and Back positioned at current interface Key.
It is described computer-readable and to solve the above problems, the present invention also provides a kind of computer readable storage medium Call interface responder is stored on storage medium, the call interface responder realizes above-mentioned when being executed by processor The step of call interface response method described in one.
Call interface response method, wearable device and the computer readable storage medium that the present invention realizes, by supervising When controlling user and conversing, shield in current interface for switching to the key at other interfaces, thus the boundary that will converse Face is maintained at foreground, meets the interaction demand of contemporary wearable equipment, is also prevented from current talking interface because for switching to it The triggering of the key at his interface and jump out foreground hang over backstage, avoid causing to be difficult to user to change the call interface for hanging over backstage The embarrassment for going back to foreground realizes user for call interface can not be allowed to hang the functional requirement on backstage in call.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 2 is a kind of hardware schematic of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 3 is a kind of hardware schematic of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 4 is a kind of hardware schematic of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 5 is a kind of hardware schematic of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 6 is the call interface response method implementation process schematic diagram that first embodiment of the invention provides;
Fig. 7 is the call interface response method implementation process schematic diagram that second embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. move Dynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, smart phone etc. is mobile eventually End can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (Radio Frequency, radio frequency) unit, Wi-Fi module, audio output unit, A/V (audio/video) input unit, sensor, display The components such as unit, user input unit, interface unit, memory, processor and power supply.
It will be illustrated by taking wearable device as an example in subsequent descriptions, referring to Fig. 1, its each implementation to realize the present invention A kind of hardware structural diagram of wearable device of example, which may include: RF (Radio Frequency, radio frequency) unit 101, Wi-Fi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, with And the equal components of power supply 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to can The restriction of wearable device, wearable device may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.
It is specifically introduced below with reference to all parts of the Fig. 1 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list Uplink information can be sent to base station by member 101, and after the downlink information that in addition can also be sent base station receives, being sent to can be worn The processor 110 for wearing equipment is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent out according to radio frequency unit 101 What the uplink information sent generated, it is also possible to actively push away to radio frequency unit 101 after the information update for detecting wearable device It send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changes Frequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informing The processor 110 that message informing is sent to wearable device is handled, and it is logical that the processor 110 of wearable device can control the message Know on the display panel 1061 for being shown in wearable device;In general, radio frequency unit 101 include but is not limited to antenna, at least one Amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radio Letter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, example Such as, wearable device can download file resource from server by wireless communication, for example can download and answer from server With program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in server Resource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remind User is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, broadband code Point multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, the time-division S-CDMA-Synchronous Code Division Multiple Access), (Frequency Division Duplexing-Long Term Evolution, frequency division are double by FDD-LTE Work long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are long-term Evolution) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come real by the way that esim card (Embedded-SIM) is arranged Existing communication network is now accessed, by the way of esim card, the inner space of wearable device can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 its And it is not belonging to must be configured into for wearable device, it can according to need within the scope of not changing the essence of the invention and save completely Slightly., wearable device 100 can realize the communication link with other equipment or communication network separately through Wi-Fi module 102 It connects, the embodiment of the present invention is not limited thereto.
Wi-Fi belongs to short range wireless transmission technology, and wearable device can help user to receive by Wi-Fi module 102 It sends e-mails, browse webpage and access streaming video etc., it provides wireless broadband internet access for user.Although figure 1 shows Wi-Fi module 102, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can be with It omits within the scope of not changing the essence of the invention as needed.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100 It is when under the isotypes such as mode, speech recognition mode, broadcast reception mode, radio frequency unit 101 or Wi-Fi module 102 is received Or the audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception sound Sound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Process ing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 capture mould in video The image data of the static images or video that are obtained in formula or image capture mode by image capture apparatus (such as camera) carries out Processing.Treated, and picture frame may be displayed on display unit 106.It can be with through treated the picture frame of graphics processor 1041 It is stored in memory 109 (or other storage mediums) or is sent via radio frequency unit 101 or Wi-Fi module 102.Wheat Gram wind 1042 can be in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 It receives sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data It is defeated that the format that can be sent to mobile communication base station via radio frequency unit 101 can be converted in the case where telephone calling model Out.Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and sended and received with eliminating (or inhibition) The noise generated during audio signal or interference.
In one embodiment, wearable device 100 includes one or more cameras, by opening camera, It can be realized the capture to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear, Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function Hit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, can by using proximity sensor Wearable device can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, wearable device 100 further includes heart rate sensor, when wearing, by close to using Person can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprint Realize the functions such as safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, and wearable using flexible display screen sets For when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screen Body and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodiment It is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearing Around.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable device User setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation One of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of wearable device 100.Button can be with The various ways such as short-press, long-pressing, rotation are realized, to realize a variety of operating effects.The quantity of button can be different to be multiple It can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing wearable device as two independent components, but in certain embodiments, Touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device, specifically herein Without limitation.For example, processor 110 can be controlled when receiving the message informing of a certain application program by radio frequency unit 101 The message informing show in a certain predeterminable area of display panel 1061 by system, the predeterminable area and touch panel 1071 certain One region is corresponding, can be to corresponding to area on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071 The message informing shown in domain is controlled.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.Example Such as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You Xianhuo Wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or can For transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact with Corresponding other equipment connection, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connection Various pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored in Data in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device whole Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management, The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.It is wearable to set Standby 100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
Fig. 2-Fig. 4 is please referred to, is the structure under a kind of a kind of embodiment of wearable device provided in an embodiment of the present invention Schematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is in Strip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable device Structural schematic diagram when screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
Based on above-mentioned each embodiment, it can be seen that if the equipment is wrist-watch, bracelet or wearable device When, the screen of the equipment can not overlay device watchband region, can also be with the watchband region of overlay device.Here, this hair Bright to propose a kind of optional embodiment, in the present embodiment, the equipment for wrist-watch, bracelet or wearable can be set Standby, the equipment includes screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be watchband.It can Choosing, the screen of the equipment or the viewing area of screen can be partly or completely covered on the watchband of equipment.Such as Fig. 5 Shown, Fig. 5 is a kind of a kind of hardware schematic of embodiment of wearable device provided in an embodiment of the present invention, the equipment Screen extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the screen of the equipment can also be with It is all covered on the watchband of the equipment, the embodiment of the present invention is not limited thereto.
Embodiment one
First embodiment of the invention provides a kind of call interface response method, is applied to wearable device, as shown in fig. 6, The following steps are included:
S11, the call incoming call of audiomonitor or the signal of exhalation;
The signal of the call incoming call or exhalation is the call incoming call occurred by GSM communication channel or exhalation signal or logical Cross call incoming call or the exhalation signal of the generation of wireless digital communication network channel.
The GSM communication channel, i.e. global system for mobile communications Global System for Mobile Communication is the most commonly used mobile phone standard of current application.Global more than 200 countries and regions are more than 10 GSM phone is used in hundred million people.After GSM standard ubiquitous is so that sign " Roaming agreements " between mobile-phone carrier The international roaming of user becomes very usually.The signaling and voice channel of GSM is all digital, therefore GSM is referred to as the second generation (2G) mobile telephone system.By gsm communication signal carry out call, i.e., by phonecard progress telephone number dial or Dialed the talking mode of progress.
The call incoming call that is occurred by wireless digital communication network channel or exhalation signal, i.e., by mobile wireless network or Voice communication mode between the networking client that person's WIFI wireless network carries out and client, such as pass through wechat, QQ etc. The calling or called talk business between a client and another client that people's social networks software carries out, client It is distinguished between client by ID account.
S12 shows the interface of call if listening to the signal of call incoming call or exhalation in screen;
The signal of call incoming call or exhalation is received, system pops up call interface at foreground, the interface of the call General display call is that incoming call still breathes out, name, telephone number or the id number of call object, the duration of call, if call For video calling, calls interface and also show the local video pictures with call peer of calling.
S13 is shielded in current interface for switching to the function of the key at other interfaces.
Preferably, the key for switching to other interfaces includes the Home key and Back key positioned at current interface. For switching to the detailed process of the function of the key at other interfaces in shielding current interface are as follows: modify Activity's OnBackPressed method shields the back key function in current interface;It modifies in PhoneWindowManager InterceptPowerKeyUp method shields the home key function in current interface.
Activity be in Android component it is most basic be also most commonly seen four big components (Activity, One of Service service, Content Provider content provider, BroadcastReceiver radio receiver). Activity is an application component, provides a screen, and user can be used to interaction to complete a certain task. All operations are all closely related with user in Activity, are one and are responsible for the component interacted with user, can pass through SetContentView (View) shows specified control.In an android application, an Activity is usually exactly one A individual screen, it can show some controls above or monitor and handle the event of user and respond. It is communicated between Activity by Intent.
The program of back key Android is without deliberately exiting, and when user one presses back key, system can default tune Current Activity is destroyed with Destroy () method of top layer Activity in program stack.When this Activity and quilt When other Activity are started up, OnCreate () method can be re-called and created, when all in stack After Activity is popped up, using also just finishing therewith.Home key Android program is hidden, when pressing equipment When Home key, system can default stop () method of caller Zhan Zhong top layer Activity, then entirely apply journey Sequence can be all hidden, and when user again taps on application icon on equipment desktop, system can call top layer OnResume () method of Activity, will not reopen program at this time, but be directly entered, and can directly display program stack The Activity of middle top layer.
For back key default current Activity to finish, home key only gives onStop. Activity
It realizes the effect by concealing program when Home key: needing to monitor key-press event before 1:Android 2.0, be sentenced System after whether pressing back key 2:Android 2.0 of breaking provides onBackPressed () method, this Method is specifically used to monitor back key events, so need to only rewrite onBackPressed () method
The interceptPowerKeyUp method in PhoneWindowManager is modified, is shielded in current interface Home key function.
When receiving the signal of call hang-ups, restore the function of the key for switching to other interfaces in current interface Energy.The key for switching to other interfaces includes the Home key and Back key positioned at current interface.
When receiving the signal of call hang-ups, the onBackPressed method of Activity is modified, restores back key function Energy;The signal of call hang-ups can be the signal that the machine is actively hung up or receive the phone or logical that call peer has hung up Talk about the signal of signal interruption.The interceptPowerKeyUp method in PhoneWindowManager is modified, restores home and presses Key function.Function for switching to the key at other interfaces is shielded during, and user presses for switching to it When the key at his interface, the system of equipment does not have any reaction, therefore call interface will not be affected, will not As the call interface occurred in the prior art exits the case where foreground hangs over backstage.
Call interface response method, wearable device and the computer readable storage medium that the present invention realizes, by supervising When controlling user and conversing, shield in current interface for switching to the key at other interfaces, thus the boundary that will converse Face is maintained at foreground, meets the interaction demand of contemporary wearable equipment, is also prevented from current talking interface because for switching to it The triggering of the key at his interface and jump out foreground and hang over backstage, cause before being difficult to gain the call interface for hanging over backstage to user The embarrassment of platform realizes the functional requirement that call interface can not be allowed to hang backstage in call.
Embodiment two
Second embodiment of the invention provides a kind of call interface response method, is applied to wearable device, as shown in fig. 7, The following steps are included:
S21, the call incoming call of audiomonitor or the signal of exhalation;
The signal of the call incoming call or exhalation is the call incoming call occurred by GSM communication channel or exhalation signal or logical Cross call incoming call or the exhalation signal of the generation of wireless digital communication network channel.
The GSM communication channel, i.e. global system for mobile communications Global System for Mobile Communication is the most commonly used mobile phone standard of current application.Global more than 200 countries and regions are more than 10 GSM phone is used in hundred million people.After GSM standard ubiquitous is so that sign " Roaming agreements " between mobile-phone carrier The international roaming of user becomes very usually.The signaling and voice channel of GSM is all digital, therefore GSM is referred to as the second generation (2G) mobile telephone system.By gsm communication signal carry out call, i.e., by phonecard progress telephone number dial or Dialed the talking mode of progress.
The call incoming call that is occurred by wireless digital communication network channel or exhalation signal, i.e., by mobile wireless network or Voice communication mode between the networking client that person's WIFI wireless network carries out and client, such as pass through wechat, QQ etc. The calling or called talk business between a client and another client that people's social networks software carries out, client It is distinguished between client by ID account.
S22 shows the interface of call if listening to the signal of call incoming call or exhalation in screen;
The signal of call incoming call or exhalation is received, system pops up call interface at foreground, the interface of the call General display call is that incoming call still breathes out, name, telephone number or the id number of call object, the duration of call, if call For video calling, calls interface and also show the local video pictures with call peer of calling.
S23 is shielded in current interface for switching to the function of the key at other interfaces;
Preferably, the key for switching to other interfaces includes the Home key and Back key positioned at current interface. For switching to the detailed process of the function of the key at other interfaces in shielding current interface are as follows: modify Activity's OnBackPressed method shields the back key function in current interface;It modifies in PhoneWindowManager InterceptPowerKeyUp method shields the home key function in current interface.
Activity be in Android component it is most basic be also most commonly seen four big components (Activity, One of Service service, Content Provider content provider, BroadcastReceiver radio receiver). Activity is an application component, provides a screen, and user can be used to interaction to complete a certain task. All operations are all closely related with user in Activity, are one and are responsible for the component interacted with user, can pass through SetContentView (View) shows specified control.In an android application, an Activity is usually exactly one A individual screen, it can show some controls above or monitor and handle the event of user and respond. It is communicated between Activity by Intent.
The program of back key Android is without deliberately exiting, and when user one presses back key, system can default tune Current Activity is destroyed with Destroy () method of top layer Activity in program stack.When this Activity and quilt When other Activity are started up, OnCreate () method can be re-called and created, when all in stack It, then can be with using also just is finished therewith if there are service etc in program after Activity is popped up It is handled in appropriate position monitoring.
Home key Android program is hidden, and when pressing the Home key of equipment, system can default caller stack Stop () method of middle top layer Activity, then entire application program can be all hidden, and be set when user again taps on On standby desktop when application icon, system can call OnResume () method of top layer Activity, at this time will not be again Program is opened, but is directly entered, the Activity of top layer in program stack can be directly displayed.
For back key default current Activity to finish, home key only gives onStop. Activity
It realizes the effect by concealing program when Home key: needing to monitor key-press event before 1:Android 2.0, be sentenced System after whether pressing back key 2:Android 2.0 of breaking provides onBackPressed () method, this Method is specifically used to monitor back key events, so need to only rewrite onBackPressed () method
The interceptPowerKeyUp method in PhoneWindowManager is modified, is shielded in current interface Home key function.When receiving the signal of call hang-ups, restore the key for being used to switch to other interfaces in current interface Function.The key for switching to other interfaces includes the Home key and Back key positioned at current interface.
When receiving the signal of call hang-ups, the onBackPressed method of Activity is modified, restores back key function Energy;The interceptPowerKeyUp method in PhoneWindowManager is modified, home keypress function is restored.For cutting The function for the key for shifting to other interfaces is shielded during, and user presses the key for switching to other interfaces When, the system of equipment does not have any reaction, therefore call interface will not be affected, will not be as going out in the prior art Existing call interface exits the case where foreground hangs over backstage.
S24 restores the key for being used to switch to other interfaces in current interface when receiving the signal of call hang-ups Function.
When receiving the signal of call hang-ups, call interface exits foreground, terminates call, then modifies again The onBackPressed method of Activity restores back key function;It modifies in PhoneWindowManager again simultaneously InterceptPowerKeyUp method restores home keypress function.The signal of call hang-ups can be the letter that the machine is actively hung up Number or receive phone that call peer has hung up or signal that speech signal is interrupted.It is executed when Home key is pressed at this time Return to the function of desktop, when Back key pressing carries out its function of returning to one layer.Until next time listens to call incoming call or leads to When talking about the signal of exhalation, then shield the key for switching to other interfaces.
Call interface response method, wearable device and the computer readable storage medium that the present invention realizes, by supervising When controlling user and conversing, shield in current interface for switching to the key at other interfaces, thus the boundary that will converse Face is maintained at foreground, when end of conversation, then restores the function of the key for switching to other interfaces, meets and currently may be used The interaction demand of wearable device is also prevented from before current talking interface jumps out because of the triggering of the key for switching to other interfaces Platform hangs over backstage, avoids the embarrassment for causing to be difficult to gain the call interface for hanging over backstage foreground to user, realizes in call Call interface can not be allowed to hang the functional requirement on backstage.
Embodiment three
Third embodiment of the invention provides a kind of wearable device, and equipment as described in Figure 1 includes:
It memory 109, processor 110 and is stored on the memory 109 and can be run on the processor 110 Computer program;
Embodiment one, two any embodiment institute of embodiment are realized when the computer program is executed by the processor 110 The step of call interface response method stated.
Example IV
Fourth embodiment of the invention also provides a kind of computer readable storage medium, on the computer readable storage medium It is stored with call interface responder, embodiment one, embodiment are realized when the call interface responder is executed by processor Described in two any embodiments the step of call interface response method.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of call interface response method is applied to wearable device, it is characterised in that the following steps are included:
The call incoming call of audiomonitor or exhalation signal;
If listening to the signal of call incoming call or exhalation, the interface of call is shown in screen;
For switching to the function of the key at other interfaces in shielding current interface.
2. call interface response method according to claim 1, which is characterized in that shielding is current the step of the described method Include: after the function of key in interface for switching to other interfaces
When receiving the signal of call hang-ups, restore the function of the key for switching to other interfaces in current interface.
3. call interface response method according to claim 1, which is characterized in that prezone is worked as in shielding the step of the method The function of key in face for switching to other interfaces further comprises:
The onBackPressed method of Activity is modified, the back key function in current interface is shielded;
The interceptPowerKeyUp method in PhoneWindowManager is modified, the home key in current interface is shielded Function.
4. call interface response method according to claim 1 or 2, which is characterized in that described for switching to other boundaries The key in face includes the Home key and Back key positioned at current interface.
5. call interface response method according to claim 1, which is characterized in that
The signal of the call incoming call or exhalation is the call incoming call occurred by GSM communication channel or breathes out signal or pass through nothing The call incoming call or exhalation signal that line number word network channel occurs.
6. a kind of wearable device, which is characterized in that the equipment includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The computer program performs the steps of when being executed by the processor
The call incoming call of audiomonitor or exhalation signal;
If listening to the signal of call incoming call or exhalation, the interface of call is shown in screen;
For switching to the function of the key at other interfaces in shielding current interface.
7. wearable device according to claim 6, which is characterized in that the processor executes step and shields current interface In for switch to other interfaces key function after execute:
When receiving the signal of call hang-ups, restore the function of the key for switching to other interfaces in current interface.
8. wearable device according to claim 6, which is characterized in that prezone is worked as in the step of processor executes shielding The function of key in face for switching to other interfaces further comprises:
The onBackPressed method of Activity is modified, the back key function in current interface is shielded
The interceptPowerKeyUp method in PhoneWindowManager is modified, the home key in current interface is shielded Function.
9. wearable device according to claim 6 or 7, which is characterized in that it is described for switch to other interfaces by Key includes the Home key and Back key positioned at current interface.
10. a kind of computer readable storage medium, which is characterized in that be stored with call circle on the computer readable storage medium Face responder is realized as described in any one of claims 1 to 5 when the call interface responder is executed by processor The step of call interface response method.
CN201910420217.0A 2019-05-20 2019-05-20 Call interface response method, wearable device and computer readable storage medium Pending CN110022412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910420217.0A CN110022412A (en) 2019-05-20 2019-05-20 Call interface response method, wearable device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910420217.0A CN110022412A (en) 2019-05-20 2019-05-20 Call interface response method, wearable device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110022412A true CN110022412A (en) 2019-07-16

Family

ID=67194095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910420217.0A Pending CN110022412A (en) 2019-05-20 2019-05-20 Call interface response method, wearable device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110022412A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095685A (en) * 2021-11-15 2022-02-25 珠海读书郎软件科技有限公司 Video call method based on multi-screen telephone watch

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404448A (en) * 2011-09-07 2012-04-04 惠州Tcl移动通信有限公司 Mobile terminal screen control method and mobile terminal
CN103488960A (en) * 2012-06-14 2014-01-01 华为终端有限公司 Misoperation preventing method and touch screen terminal equipment
CN104268010A (en) * 2014-09-24 2015-01-07 联想(北京)有限公司 Information processing method, information processing device and electronic device
CN105338159A (en) * 2014-06-20 2016-02-17 宇龙计算机通信科技(深圳)有限公司 Incoming call reminding method and system
CN105426048A (en) * 2015-11-19 2016-03-23 广东欧珀移动通信有限公司 Method and device for preventing misoperation of application programs
US9477883B2 (en) * 2014-01-22 2016-10-25 Samsung Electronics Co., Ltd. Method of operating handwritten data and electronic device supporting same
CN106598630A (en) * 2016-12-30 2017-04-26 深圳天珑无线科技有限公司 Key control method and apparatus, and terminal
CN108304109A (en) * 2018-01-31 2018-07-20 努比亚技术有限公司 Icon protrusion forming method, mobile terminal and computer readable storage medium
WO2019062340A1 (en) * 2017-09-26 2019-04-04 华为技术有限公司 Api hybrid multi-tenant routing method, system, and api gateway

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404448A (en) * 2011-09-07 2012-04-04 惠州Tcl移动通信有限公司 Mobile terminal screen control method and mobile terminal
CN103488960A (en) * 2012-06-14 2014-01-01 华为终端有限公司 Misoperation preventing method and touch screen terminal equipment
US9477883B2 (en) * 2014-01-22 2016-10-25 Samsung Electronics Co., Ltd. Method of operating handwritten data and electronic device supporting same
CN105338159A (en) * 2014-06-20 2016-02-17 宇龙计算机通信科技(深圳)有限公司 Incoming call reminding method and system
CN104268010A (en) * 2014-09-24 2015-01-07 联想(北京)有限公司 Information processing method, information processing device and electronic device
CN105426048A (en) * 2015-11-19 2016-03-23 广东欧珀移动通信有限公司 Method and device for preventing misoperation of application programs
CN106598630A (en) * 2016-12-30 2017-04-26 深圳天珑无线科技有限公司 Key control method and apparatus, and terminal
WO2019062340A1 (en) * 2017-09-26 2019-04-04 华为技术有限公司 Api hybrid multi-tenant routing method, system, and api gateway
CN108304109A (en) * 2018-01-31 2018-07-20 努比亚技术有限公司 Icon protrusion forming method, mobile terminal and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095685A (en) * 2021-11-15 2022-02-25 珠海读书郎软件科技有限公司 Video call method based on multi-screen telephone watch

Similar Documents

Publication Publication Date Title
CN109982179B (en) Audio signal output method and device, wearable device and storage medium
CN109343775A (en) Double screen terminal screen switching method, terminal and computer readable storage medium
CN110109725A (en) A kind of interface color method of adjustment and wearable device
CN110083220A (en) A kind of power-saving processing method and wearable device
CN109976612A (en) Application function implementation method, wearable device, mobile phone and computer readable storage medium
CN109995938A (en) A kind of notice display methods, mobile phone, wearable device and calculate readable storage medium storing program for executing
CN110139270B (en) Wearable device pairing method, wearable device and computer readable storage medium
CN110086930A (en) A kind of voice interactive method, wearable device and computer readable storage medium
CN110083289A (en) A kind of button display methods, wearable device and computer readable storage medium
CN109587341A (en) A kind of voice communication control method, terminal and computer readable storage medium
CN110069200B (en) Wearable device input control method, wearable device and storage medium
CN109933187B (en) Wearing equipment operation control method, wearing equipment and computer readable storage medium
CN110083205B (en) Page switching method, wearable device and computer-readable storage medium
CN110213637A (en) Method, wearable device and the readable storage medium storing program for executing of video file increase watermark
CN110022412A (en) Call interface response method, wearable device and computer readable storage medium
CN110198377A (en) A kind of double screen terminal control method, double screen terminal and computer readable storage medium
CN110167113A (en) A kind of apparatus control method, wearable device and computer readable storage medium
CN110213442A (en) Speech playing method, terminal and computer readable storage medium
CN110162161A (en) Control method, wearable device and the computer readable storage medium of target application
CN110071866A (en) A kind of instant messaging application control method, wearable device and storage medium
CN109947389A (en) Audio switching method, wearable device and computer readable storage medium
CN109992341B (en) Button quick response method, wearable device and computer readable storage medium
CN109947448B (en) Time updating method, device and computer readable storage medium
CN112566089A (en) Power consumption saving method, intelligent wearable device and computer readable storage medium
CN110267165A (en) Audio signal output control method, device, equipment and readable storage medium storing program for executing

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: 20190716

RJ01 Rejection of invention patent application after publication