CN114615633B - Call processing method, device, apparatus, medium and program product - Google Patents

Call processing method, device, apparatus, medium and program product Download PDF

Info

Publication number
CN114615633B
CN114615633B CN202210330296.8A CN202210330296A CN114615633B CN 114615633 B CN114615633 B CN 114615633B CN 202210330296 A CN202210330296 A CN 202210330296A CN 114615633 B CN114615633 B CN 114615633B
Authority
CN
China
Prior art keywords
instruction
call
dialing
earphone
terminal equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210330296.8A
Other languages
Chinese (zh)
Other versions
CN114615633A (en
Inventor
丁鹏飞
柳锟
陈林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huaqin Technology Co Ltd
Original Assignee
Huaqin 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 Huaqin Technology Co Ltd filed Critical Huaqin Technology Co Ltd
Priority to CN202210330296.8A priority Critical patent/CN114615633B/en
Publication of CN114615633A publication Critical patent/CN114615633A/en
Application granted granted Critical
Publication of CN114615633B publication Critical patent/CN114615633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application provides a call processing method, a device, equipment, a medium and a program product, which relate to the technical field of wireless communication, wherein the method comprises the following steps: acquiring an input gesture action instruction, determining whether a target call trigger instruction matched with the gesture action instruction exists in a preset call trigger instruction, acquiring a dialing number corresponding to the target call trigger instruction when the target call trigger instruction exists in the preset call trigger instruction, and sending a dialing notification to the terminal equipment so that the terminal equipment performs dialing according to the dialing number. According to the technical scheme, through acquiring the gesture action instruction input to the earphone by the user, if the gesture action instruction is consistent with the preset instruction, the terminal equipment connected with the earphone is informed to dial the call according to the preset number, so that the user can realize automatic dialing of the terminal equipment by inputting the gesture to the earphone.

Description

Call processing method, device, apparatus, medium and program product
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a call processing method, apparatus, device, medium, and program product.
Background
The wireless earphone is replaced by electric wave in the middle, and the sound source is sent to the receiving end of the wireless earphone from the transmitting end of the terminal equipment through the electric wave, and the receiving end is equivalent to a radio. With popularization and application of wireless earphone, the function of wireless earphone is more and more abundant, and can be used for answering phone.
In the prior art, when a user uses a wireless earphone, if a terminal device has a telephone dial-in at the moment, the user can realize call state processing such as double-click hang-up, double-click refusal, double-click on and the like by operating a button on the wireless earphone.
However, when the user needs to dial and call out, the wireless earphone in the prior art still needs to actively call out the dial plate of the terminal device, and inputs a number on the dial plate of the terminal device to dial, so that the dialing and call-out process is complicated.
Disclosure of Invention
The application provides a call processing method, a device, equipment, a medium and a program product, which are used for solving the problem that the conventional wireless earphone needs to dial on a dial plate of terminal equipment and the calling process is complicated.
In a first aspect, an embodiment of the present application provides a call processing method, applied to an earphone, where the method includes:
Acquiring an input gesture action instruction, and determining whether a target call trigger matched with the gesture action instruction exists in a preset call trigger instruction;
when the target call trigger instruction exists in the preset call trigger instruction, a dialing number corresponding to the target call trigger instruction is obtained;
and sending a dialing notice to the terminal equipment so that the terminal equipment performs dialing calls according to the dialing number.
In one possible design of the first aspect, before the obtaining the input gesture command, determining whether a target call trigger command matched with the gesture command exists in the preset call trigger command, the method further includes:
at least one preset call trigger instruction and a dialing number corresponding to the at least one preset call trigger instruction are obtained from the terminal equipment.
In another possible design of the first aspect, the obtaining, from the terminal device, at least one preset call trigger instruction and a dial number corresponding to the at least one preset call trigger instruction includes:
a first frame instruction is sent to the terminal equipment, wherein the first frame instruction is used for displaying a first message frame in a display interface of the terminal equipment, and the first message frame comprises prompt information for starting an emergency call function of the earphone;
When an opening instruction for opening an emergency call function of the earphone is received, acquiring an emergency number and a call triggering instruction corresponding to the emergency number from the terminal equipment;
and taking the call triggering instruction corresponding to the emergency number as the preset call triggering instruction.
In still another possible design of the first aspect, the obtaining, from the terminal device, at least one preset call trigger instruction and a dial number corresponding to the at least one preset call trigger instruction includes:
when the terminal equipment is detected to end the call, a second frame playing instruction is sent to the terminal equipment, wherein the second frame playing instruction is used for displaying a second message frame in a display interface of the terminal equipment, and the second message frame comprises prompt information for confirming that a calling number of the terminal equipment is added to a dialing number when the terminal equipment is called;
when receiving a confirmation signal confirming that the calling number is added to the dialing number, acquiring the calling number and a calling triggering instruction corresponding to the calling number;
and taking the call triggering instruction corresponding to the call number as the preset call triggering instruction.
In yet another possible design of the first aspect, the calling number is stored in a memory of the headset.
In yet another possible design of the first aspect, the sending a dialing notification to a terminal device to cause the terminal device to make a dial call according to the dialing number includes:
detecting whether the input gesture action instruction is acquired again in a preset time period when the target call trigger instruction exists in the preset call trigger instruction;
and if the input gesture action instruction is acquired again, sending a dialing notification to the terminal equipment so that the terminal equipment performs dialing call according to the dialing number.
In yet another possible design of the first aspect, the method further comprises:
and outputting a confirmation prompt when the target call trigger instruction exists in the preset call trigger instruction, wherein the confirmation prompt is used for inputting the gesture action instruction again.
In a second aspect, an embodiment of the present application provides a call processing method, applied to a terminal device, where the method includes:
acquiring dialing numbers and call triggering instructions corresponding to each dialing number, and sending the dialing numbers and the call triggering instructions to the earphone;
when a dialing notification of the earphone is received, determining a target number from the dialing numbers according to the dialing notification;
And dialing the target number.
In one possible design of the second aspect, the method further comprises:
responding to a first frame playing instruction sent by the earphone, displaying a first message frame on a display interface of the terminal equipment, wherein the first message frame comprises prompt information for starting an emergency call function of the earphone;
when an opening instruction for opening the emergency call function of the earphone is received, forwarding the opening instruction to the earphone;
and when receiving an opening signal for opening the emergency call function of the earphone, sending an emergency number and a call triggering instruction corresponding to the emergency number to the earphone.
In another possible design of the second aspect, the method further comprises:
responding to a second frame playing instruction sent by the earphone, displaying a second message frame in a display interface of the terminal equipment, wherein the second message frame comprises prompt information for confirming that a calling number of the terminal equipment is added to a dialing number when the terminal equipment is called;
and when receiving a confirmation signal for determining to add the calling number to the dialing number, sending the calling number and a calling triggering instruction corresponding to the calling number to the earphone.
In a third aspect, an embodiment of the present application provides a call processing apparatus, including:
the instruction determining module is used for acquiring an input gesture action instruction and determining whether a target call trigger instruction matched with the gesture action instruction exists in preset call trigger instructions;
the number acquisition module is used for acquiring a dialing number corresponding to the target call trigger instruction when the target call trigger instruction exists in the preset call trigger instruction;
and the dialing notification module is used for sending a dialing notification to the terminal equipment so that the terminal equipment performs dialing call according to the dialing number.
In a fourth aspect, an embodiment of the present application provides a call processing apparatus, including:
the instruction acquisition module is used for acquiring the dialing numbers and the call triggering instructions corresponding to each dialing number and sending the call triggering instructions to the earphone;
the number determining module is used for determining a target number from the dialing numbers according to the dialing notification when the dialing notification of the earphone is received;
and the dialing calling module is used for performing dialing calling on the target number.
In a fifth aspect, an embodiment of the present application provides an earphone, including: a processor, and a memory communicatively coupled to the processor;
The memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory to implement the methods described above.
In a sixth aspect, an embodiment of the present application provides a terminal device, including: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory to implement the methods described above.
In a seventh aspect, embodiments of the present application provide a readable storage medium having stored therein computer instructions which, when executed by a processor, are adapted to carry out the method described above.
In an eighth aspect, embodiments of the present application provide a program product comprising computer instructions which, when executed by a processor, implement the above-described method.
According to the call processing method, the call processing device, the call processing equipment, the call processing medium and the call processing program product, through acquiring the gesture motion instruction input to the earphone by the user, if the gesture motion instruction is consistent with the preset, the terminal equipment connected with the earphone is informed to dial the call according to the preset number, so that the user can input the gesture at the earphone end to control the automatic dialing of the terminal equipment, and the quick dialing is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application;
fig. 1 is a schematic diagram of a scenario of an active calling method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of an embodiment of an active calling method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a second embodiment of a call processing method according to the embodiment of the present application;
fig. 4 is an interaction schematic diagram of an active calling method embodiment one provided in an embodiment of the present application;
fig. 5 is an interaction schematic diagram of an active calling method embodiment two according to the embodiment of the present application;
fig. 6 is a schematic structural diagram of a first embodiment of a call processing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a second embodiment of a call processing apparatus according to the present application;
fig. 8 is a schematic structural diagram of an earphone according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
First, the terms involved in the present application will be explained:
TWS:
the true wireless intelligent earphone (True Wireless Stereo, TWS) is the latest innovation of the Bluetooth earphone technology, and can realize wireless separation of left and right Bluetooth channels. The core principle of the TWS technology is to split the speakers into a Master speaker (TWS Master) and a Slave speaker (TWS Slave).
Fig. 1 is a schematic diagram of a scenario of an active calling method according to an embodiment of the present application, where the method may be applied to a headset (e.g. TWS), and the headset 10 may establish a connection with a terminal device (e.g. a mobile phone 11) through a wireless bluetooth or the like. The user may typically use the headset 10 to receive audio data sent by the terminal device and then play it out, in particular music, incoming ring tones, etc. Also during use of the headset 10, if there is an incoming telephone call, the user may process the incoming telephone call by operating a key on the headset 10, such as double-click hanging up, double-click withholding, double-click on, etc. However, such an earphone 10 generally has no active dialing and outgoing operation function, that is, when a user needs to make and outgoing a call, or can only make a call through a dial panel on the mobile phone 11, which is not convenient enough, and in some emergency situations, the user may not be able to make the dialing operation, so that the call cannot be quickly outgoing.
In view of the above problems, the present application provides a call processing method, apparatus, device, medium and program product, which can also trigger the mobile phone to automatically dial by negotiating a dialing number with the mobile phone when the headset is connected with the mobile phone in a first pairing manner, so as to realize the user speed dial.
The technical scheme of the application is described in detail through specific embodiments. It should be noted that the following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a flowchart of an active calling method according to an embodiment of the present application, where an earphone is used as an executing body. As shown in fig. 2, the method specifically may include the following steps:
s201, acquiring an input gesture action instruction, and determining whether a target call trigger matched with the gesture action instruction exists in a preset call trigger instruction.
In this embodiment, the user may perform a key operation on the earphone to input a gesture command, and for example, the user may perform a key operation such as double-clicking, single-clicking, triple-clicking, and long-pressing on the earphone, so as to input a corresponding gesture command to the earphone.
The earphone stores corresponding preset call triggering instructions, and specifically comprises a double-click call triggering instruction, a three-click call triggering instruction, a long-press call triggering instruction and the like. Each preset call trigger instruction corresponds to a dialing number, for example, the dialing number corresponding to the double-click call trigger instruction may be "120", the dialing number corresponding to the three-click call trigger instruction may be "110", and the dialing number corresponding to the long-press call trigger instruction may be a family number set by the user. Emergency numbers such as "110" and "120" are typically tied to some simple key operation (e.g., single or double click), i.e., the handset may automatically dial "110" or "120" when the user makes a single or double click on the headset.
In this embodiment, taking a key operation as a double-click key as an example, a gesture motion instruction corresponding to the double-click key is a double-click gesture motion, which is matched with a double-click call trigger instruction in the preset call trigger instructions.
S202, when a target call trigger instruction exists in the preset call trigger instruction, a dialing number corresponding to the target call trigger instruction is acquired.
In this embodiment, the dialing numbers corresponding to different preset call trigger instructions are different, and taking the target call trigger instruction as the double-click call trigger instruction as an example, the dialing number corresponding to the target call trigger instruction may be "120".
S203, a dialing notice is sent to the terminal equipment so that the terminal equipment can carry out dialing calls according to the dialing number.
In this embodiment, the headset may notify the handset to make a dial call according to the dial number by sending a private AT command. In a normal case, as long as the mobile phone is in a power-on state and connected with the earphone, the mobile phone can at least make dialing calls of emergency numbers such as 110, 120 and the like according to the dialing notification.
According to the embodiment of the application, the gesture action instruction input to the earphone by the user is obtained, if the gesture action instruction is consistent with the preset instruction, the terminal equipment connected with the earphone is informed to dial the call according to the preset number, so that the user can realize automatic dialing of the terminal equipment by inputting the gesture to the earphone
In some embodiments, the active calling method may further include the following steps:
and acquiring at least one preset call trigger instruction and a dialing number corresponding to the at least one preset call trigger instruction from the terminal equipment.
In this embodiment, when the earphone is paired with the mobile phone for the first time to establish wireless connection, the private AT command may be sent by the earphone to notify the mobile phone, and the mobile phone end confirms whether the active dialing call function of the earphone needs to be activated, and if the mobile phone end confirms that the active dialing call function of the earphone needs to be activated, a corresponding preset call trigger instruction and a dialing number corresponding to the preset call trigger instruction need to be configured.
The preset call trigger instruction may be a double-click call trigger instruction, and the corresponding dialing number is "120", that is, when the user performs a double-click on the earphone side, the mobile phone side will be triggered to automatically dial "120", and the preset call trigger instruction may also be a three-click call trigger instruction, and the corresponding dialing number is "110", that is, when the user performs a three-click on the earphone side, the mobile phone side will be triggered to automatically dial "110".
The mobile phone terminal is configured with a specific APP, and a user achieves configuration of a preset call trigger instruction and a dialing number through the APP. The headset typically sends information to the handset via a proprietary AT command.
According to the embodiment of the application, the preset call trigger instruction and the corresponding dialing number are acquired from the mobile phone side, so that the dialing numbers corresponding to different call instructions can be freely set, and the mobile phone can be flexibly controlled to automatically dial the corresponding numbers by inputting different key operations on the earphone side by a user, so that the flexibility and convenience of active dialing calling are improved.
In some embodiments, the step of acquiring the preset call trigger instruction and the dialing number corresponding to the preset call trigger instruction from the terminal device may be specifically implemented by the following steps:
Sending a first frame playing instruction to a terminal device;
when an opening instruction for opening an emergency call function of the earphone is received, acquiring an emergency number and a call triggering instruction corresponding to the emergency number from terminal equipment;
and taking the call triggering instruction corresponding to the emergency number as a preset call triggering instruction.
The first message box instruction is used for displaying a first message box in a display interface of the terminal equipment, and the first message box comprises prompt information for starting an emergency call function of the earphone.
In this embodiment, the earphone has an emergency call function, and when the emergency call function is turned on, the user may input a specific call trigger instruction (for example, double click, triple click) to the earphone to control the terminal device to automatically dial the emergency numbers "110", "120", etc.
Specifically, when the earphone is paired with the terminal device for the first time, the earphone may send a private AT command (i.e. a first frame playing command) to the terminal device, and a first message frame playing is displayed on a display interface of the terminal device, and the user determines whether to start the emergency call function of the earphone AT the terminal device side, if the user clicks "confirm" in the first message frame playing, the terminal device side sends confirmation information to the earphone through the private AT command, so as to activate the emergency call function of the earphone. If the user clicks the cancel in the first message box, the terminal equipment side sends cancel information to the earphone through the private AT instruction, and the emergency call function of the earphone is deactivated.
After the earphone receives the confirmation information/cancellation information sent by the terminal device side, the earphone also informs the terminal device that the emergency call function is started/deactivated through the private AT command. Further, if the terminal equipment side confirms that the earphone has started the emergency call function, the user is prompted to select the emergency number and the call trigger instruction corresponding to the emergency number, and the emergency number and the call trigger instruction corresponding to the emergency number are sent to the earphone through a degeneracy process (Simplified Parallel Process, SPP).
According to the embodiment of the application, the first message popup frame is displayed on the terminal equipment side, so that whether the emergency call function of the earphone is started can be freely selected, and after the emergency call function of the earphone is started, if a call trigger instruction corresponding to the emergency number is input by a user on the earphone side, the terminal equipment is controlled to automatically dial the emergency number, so that the user can rapidly realize emergency dialing through the earphone under some emergency conditions, and the complex and tedious process of dialing on the terminal equipment side is avoided.
Further, on the basis of the above embodiment, in some embodiments, the step S203 may be specifically implemented by the following steps:
Detecting whether an input gesture action instruction is acquired again in a preset time period when a target call trigger instruction exists in a preset call trigger instruction;
and if the input gesture action instruction is acquired again, sending a dialing notification to the terminal equipment so that the terminal equipment performs dialing call according to the dialing number.
In this embodiment, taking the target call trigger instruction as a double-click call trigger instruction as an example, that is, when the user inputs a gesture action instruction of double-click on the earphone side, the target call trigger instruction obtained by matching is the double-click call trigger instruction. At this time, a secondary confirmation may be set, that is, when the user inputs the gesture action instruction of double-click again, a dialing notification is sent to the terminal device, notifying the terminal device of dialing "120". If the gesture action instruction of double-click is detected not to be input again by the user at the time of the secondary confirmation, the terminal device is not informed to dial 120.
The preset time period may be, for example, 3 seconds or 5 seconds.
The embodiment of the application can achieve the aim of secondary confirmation by confirming whether the user inputs the gesture action instruction again, and avoid the consequences caused by automatic dialing of the emergency number by the terminal equipment due to misoperation of the user on the earphone side.
Further, on the basis of the above embodiments, in some embodiments, the above method may further include the following steps:
and outputting a confirmation prompt when the target call trigger instruction exists in the preset call trigger instruction.
Wherein, confirm the suggestion and be used for inputting gesture action instruction once more. By way of example, the confirmation prompt may be a voice prompt, such as "please confirm whether to dial" 120", and double-click confirm again.
The embodiment of the application outputs the confirmation prompt to the user through the earphone, can confirm the dialing of the emergency number, and effectively avoids the consequences caused by automatic dialing of the emergency number by the terminal equipment due to misoperation of the user.
In some embodiments, the step of acquiring the preset call trigger instruction and the dialing number corresponding to the preset call trigger instruction from the terminal device may be specifically implemented by the following steps:
when the terminal equipment is detected to end the call, a second frame flicking instruction is sent to the terminal equipment;
when receiving a confirmation signal confirming that a calling number is added to a dialing number, acquiring the calling number and a calling triggering instruction corresponding to the calling number;
and taking the call triggering instruction corresponding to the call number as a preset call triggering instruction.
The second message bullet frame comprises prompt information for confirming that the calling number of the terminal equipment is added to the dialing number when the terminal equipment is called.
In this embodiment, the terminal device typically has a designated calling number when receiving or calling, and the calling number may be, for example, a high frequency contact number, a family number, etc. of the user.
After the terminal device finishes answering or calling, the earphone can send a private AT command to inform the terminal device, and a second message bullet frame is displayed on the terminal device. For example, the content of the second message box may include "whether to add the calling number to the earpiece association number", and if the user selects "yes", the terminal device sends the confirmation message and the calling number to the earpiece through the AT command.
For example, after receiving the calling number, the earphone side may store the calling number in a memory of the earphone, and may specifically be a flash memory. By storing the calling number in the memory, when the terminal equipment is replaced (for example, the earphone establishes wireless connection with other terminal equipment), the user can still control the replaced terminal equipment to automatically dial the calling number by inputting a corresponding gesture action instruction.
According to the embodiment of the application, the second message bullet frame is displayed on the terminal equipment side, so that a user can freely select whether the dialed/called number is added into the dialing number, and the user can freely select other numbers besides the dialing emergency number for the terminal equipment to automatically dial and call.
Fig. 3 is a schematic flow chart of a second embodiment of a call processing method according to the embodiment of the present application, where the method is different from the main execution body of the call processing method in fig. 2, and the main execution body of the method is a terminal device, and the terminal device and the earphone may be connected by wireless. The method specifically comprises the following steps:
s301, obtaining dialing numbers and call triggering instructions corresponding to the dialing numbers, and sending the dialing numbers and call triggering instructions to the earphone.
S302, when a dialing notice of the earphone is received, determining a target number from the dialing numbers according to the dialing notice.
S303, dialing and calling the target number.
In some embodiments, the call processing method provided in fig. 3 may further include the following steps:
responding to a first frame playing instruction sent by the earphone, and displaying a first message frame on a display interface;
when receiving an opening instruction for opening the emergency call function of the earphone, forwarding the opening instruction to the earphone;
When receiving an opening signal for opening the emergency call function of the earphone, sending the emergency number and a call triggering instruction corresponding to the emergency number to the earphone.
The first message bullet frame comprises prompt information for starting an emergency call function of the earphone.
In some embodiments, the call processing method provided in fig. 3 may further include the following steps:
responding to a second frame playing instruction sent by the earphone, and displaying a second message frame in the display interface;
and when receiving a confirmation signal for determining to add the calling number to the dialing number, sending the calling number and a calling triggering instruction corresponding to the calling number to the earphone.
The second message bullet frame comprises prompt information for confirming that the calling number of the terminal device is added to the dialing number when the terminal device calls.
Fig. 4 is an interaction schematic diagram of an active calling method embodiment one provided by the embodiment of the present application, as shown in fig. 4, the method includes the following steps:
s401, performing first pairing;
s402, sending a private command to inform a mobile phone popup frame, and inquiring whether to activate an earphone emergency call function;
s403, sending response information through the private command;
s404, activating/deactivating an emergency call function according to the response information;
S405, informing that the emergency call function is activated/deactivated;
s406, sending an emergency number and a corresponding gesture action instruction;
s407, setting a local gesture action instruction and an emergency number;
s408, detecting an input target call trigger instruction;
s409, outputting a confirmation prompt;
s410, detecting the input target call trigger instruction again;
s411, notifying the mobile phone to dial an emergency number corresponding to the target call triggering instruction;
s412, dialing the call.
In this embodiment, the private AT command and SPP private protocol of the Hands-free Profile (HFP) will be used to implement information interaction between the headset and the handset.
According to the embodiment of the application, the emergency numbers (such as 110, 120 and the like) and the corresponding target call trigger instruction can be set on the mobile phone side, and if the target call trigger instruction is input by the user on the earphone side, the terminal equipment can be triggered to automatically dial the emergency number corresponding to the target call trigger instruction, so that the user can rapidly control the mobile phone to actively dial on the earphone side.
Fig. 5 is an interaction schematic diagram of an active call method embodiment two provided in the embodiment of the present application, as shown in fig. 5, the method may include the following steps:
S501, notifying a mobile phone bullet frame to inquire whether a calling number is added to a dialing number when a first call is ended;
s502, sending confirmation information and the calling number;
s503, saving the calling number to a local memory;
s504, detecting that a call trigger instruction corresponding to the call number is input;
s505, outputting a confirmation prompt;
s506, detecting that a call trigger instruction corresponding to the call number is input again;
s507, notifying the mobile phone to dial the calling number.
S508, dialing.
The embodiment of the application can set the calling number and the calling triggering instruction corresponding to the calling number at the mobile phone side, and can trigger the terminal equipment to automatically dial the calling number if the user inputs the calling triggering instruction corresponding to the calling number at the earphone side, thereby realizing the rapid control of the active dialing of the mobile phone at the earphone side by the user.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Fig. 6 is a schematic structural diagram of a first embodiment of a call processing apparatus according to an embodiment of the present application, and as shown in fig. 6, the call processing apparatus includes an instruction determining module 61, a number obtaining module 62, and a dialing notification module 63.
The instruction determining module 61 is configured to obtain an input gesture instruction, and determine whether a target call trigger instruction matched with the gesture instruction exists in the preset call trigger instruction. The number obtaining module 62 is configured to obtain a dialing number corresponding to the target call trigger instruction when the target call trigger instruction exists in the preset call trigger instruction. The dialing notification module 63 is configured to send a dialing notification to the terminal device so that the terminal device makes a dial call according to the dialing number.
In some embodiments, the call processing apparatus in fig. 6 may further include a data acquisition module, configured to acquire at least one preset call trigger instruction and a dial number corresponding to the at least one preset call trigger instruction from the terminal device.
In some embodiments, the data acquisition module may be specifically configured to:
sending a first frame playing instruction to a terminal device;
when an opening instruction for opening an emergency call function of the earphone is received, acquiring an emergency number and a call triggering instruction corresponding to the emergency number from terminal equipment;
and taking the call triggering instruction corresponding to the emergency number as a preset call triggering instruction.
The first message box instruction is used for displaying a first message box in a display interface of the terminal equipment, and the first message box comprises prompt information for starting an emergency call function of the earphone.
Optionally, in some embodiments, the data acquisition module may specifically be configured to:
when the terminal equipment is detected to end the call, a second frame flicking instruction is sent to the terminal equipment;
when receiving a confirmation signal confirming that a calling number is added to a dialing number, acquiring the calling number and a calling triggering instruction corresponding to the calling number;
and taking the call triggering instruction corresponding to the call number as a preset call triggering instruction.
The second message bullet frame comprises prompt information for confirming that the calling number of the terminal equipment is added to the dialing number when the terminal equipment is called.
Optionally, in some embodiments, the call processing apparatus in fig. 6 may further include a storage module, configured to store the calling number in a memory of the earphone.
In some embodiments, the dial notification module may be specifically configured to:
detecting whether an input gesture action instruction is acquired again in a preset time period when a target call trigger instruction exists in a preset call trigger instruction;
and if the input gesture action instruction is acquired again, sending a dialing notification to the terminal equipment so that the terminal equipment performs dialing call according to the dialing number.
In some embodiments, the call processing apparatus in fig. 6 may further include a prompt module, configured to output a confirmation prompt when the target call trigger instruction exists in the preset call trigger instruction.
Wherein, confirm the suggestion and be used for inputting gesture action instruction once more.
Fig. 7 is a schematic structural diagram of a second embodiment of a call processing apparatus according to an embodiment of the present application, where the call processing apparatus may be integrated on a terminal device, or may be independent of the terminal device and implemented in cooperation with the terminal device. As shown in fig. 7, the call processing apparatus specifically includes an instruction acquisition module 71, a number determination module 72, and a dial call module 73.
The instruction obtaining module 71 is configured to obtain the dialing numbers and call triggering instructions corresponding to each dialing number, and send the call triggering instructions to the earphone. The number determining module 72 is configured to determine, when a dialing notification of the headset is received, a target number from the dialing numbers according to the dialing notification. The dial call module 73 is used for making dial calls to the target number.
In some embodiments, the call processing apparatus in fig. 7 may further include an emergency function starting module for:
responding to a first frame playing instruction sent by the earphone, and displaying a first message frame on a display interface;
When receiving an opening instruction for opening the emergency call function of the earphone, forwarding the opening instruction to the earphone;
when receiving an opening signal for opening the emergency call function of the earphone, sending the emergency number and a call triggering instruction corresponding to the emergency number to the earphone.
The first message bullet frame comprises prompt information for starting an emergency call function of the earphone.
In some embodiments, the call processing apparatus in fig. 7 may further include a number adding module, configured to:
responding to a second frame playing instruction sent by the earphone, and displaying a second message frame in the display interface;
and when receiving a confirmation signal for determining to add the calling number to the dialing number, sending the calling number and a calling triggering instruction corresponding to the calling number to the earphone.
The second message bullet frame comprises prompt information for confirming that the calling number of the terminal device is added to the dialing number when the terminal device calls.
The device provided by the embodiment of the application can be used for executing the method in the embodiment, and the implementation principle and the technical effect are similar, and are not repeated here.
It should be noted that, it should be understood that the division of the modules of the above apparatus is merely a division of a logic function, and may be fully or partially integrated into a physical entity or may be physically separated. And these modules may all be implemented in software in the form of calls by the processing element; or can be realized in hardware; the method can also be realized in a form of calling software by a processing element, and the method can be realized in a form of hardware by a part of modules. For example, the instruction determining module may be a processing element that is set up separately, may be implemented in a chip of the above apparatus, or may be stored in a memory of the above apparatus in the form of program codes, and the functions of the instruction determining module may be called and executed by a processing element of the above apparatus. The implementation of the other modules is similar. In addition, all or part of the modules can be integrated together or can be independently implemented. The processing element here may be an integrated circuit with signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in a software form.
Fig. 8 is a schematic structural diagram of an earphone according to an embodiment of the present application. As shown in fig. 8, the earphone 80 includes: at least one processor 81, a memory 82, a bus 83, a communication component 84 and an input component 85.
Wherein: processor 81, communication component 84, input component 85, and memory 82 communicate with each other via bus 83.
The communication component 84 is for communicating with other devices. By way of example, the communication component 84 may be bluetooth.
The input component 85 may be a key, for example, a key provided on the earphone housing, and the user may double-click the key, triple-click the key, or long-press the key to input a corresponding gesture command.
The processor 81 is configured to execute computer instructions stored in the memory and may specifically perform the relevant steps of the methods described in the above embodiments.
The processor may be a central processing unit, or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits configured to implement embodiments of the present application. The one or more processors comprised by the headset may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
And the memory is used for storing computer instructions, calling numbers and other information. The memory may comprise high speed RAM memory or may also comprise non-volatile memory, such as at least one disk memory.
Fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present application, and as shown in fig. 9, the terminal device 90 includes a processor 91, a display interface 92, a bus 93, and a communication component 94.
Wherein the processor 91, the communication component 94 and the display interface 92 perform communication with each other via the bus 93.
The communication component 94 is for communicating with headphones. By way of example, the communication component 94 may be bluetooth.
The processor 91 is configured to execute computer instructions stored in a memory and may specifically perform relevant steps in the methods described in the above embodiments.
The display interface 92 may be used to display a message box, and exemplary display interfaces 92 may be touchable, a user may enter confirmation information by clicking on an icon in the display interface 92, and so forth.
The present embodiment also provides a readable storage medium having stored therein computer instructions which, when executed by at least one processor of the headset or the terminal device, perform the active call method provided by the above various embodiments.
The present embodiment also provides a program product comprising computer instructions stored in a readable storage medium. The at least one processor of the headset or the terminal device may read the computer instructions from the readable storage medium, and execution of the computer instructions by the at least one processor causes the headset or the terminal device to implement the active call method provided by the various embodiments described above.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the front and rear associated objects are an "or" relationship; in the formula, the character "/" indicates that the front and rear associated objects are a "division" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
It will be appreciated that the various numerical numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application. In the embodiment of the present application, the sequence number of each process does not mean the sequence of the execution sequence, and the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application in any way.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (14)

1. An active calling method, characterized by being applied to a headset, the method comprising:
acquiring an input gesture action instruction, and determining whether a target call trigger matched with the gesture action instruction exists in a preset call trigger instruction;
When the target call trigger instruction exists in the preset call trigger instruction, a dialing number corresponding to the target call trigger instruction is obtained;
sending a dialing notification to a terminal device so that the terminal device performs a dialing call according to the dialing number;
the method further comprises the steps of:
when the terminal equipment is detected to finish calling, receiving a calling number sent by the terminal equipment;
and storing the calling number into the earphone memory, so as to control the replaced terminal equipment to automatically dial the calling number according to the input corresponding gesture action instruction when the earphone is connected with the replaced terminal equipment.
2. The method according to claim 1, wherein the step of obtaining the input gesture command, before determining whether there is a target call trigger command matching the gesture command in the preset call trigger command, further comprises:
and acquiring at least one preset call trigger instruction and a dialing number corresponding to the at least one preset call trigger instruction from the terminal equipment.
3. The method according to claim 2, wherein the obtaining at least one preset call trigger instruction and a dial number corresponding to the at least one preset call trigger instruction from the terminal device includes:
A first frame instruction is sent to the terminal equipment, wherein the first frame instruction is used for displaying a first message frame in a display interface of the terminal equipment, and the first message frame comprises prompt information for starting an emergency call function of the earphone;
when an opening instruction for opening an emergency call function of the earphone is received, acquiring an emergency number and a call triggering instruction corresponding to the emergency number from the terminal equipment;
and taking the call triggering instruction corresponding to the emergency number as the preset call triggering instruction.
4. The method according to claim 2, wherein the obtaining at least one preset call trigger instruction and a dial number corresponding to the at least one preset call trigger instruction from the terminal device includes:
when the terminal equipment is detected to end the call, a second frame playing instruction is sent to the terminal equipment, wherein the second frame playing instruction is used for displaying a second message frame in a display interface of the terminal equipment, and the second message frame comprises prompt information for confirming that a calling number of the terminal equipment is added to a dialing number when the terminal equipment is called;
When receiving a confirmation signal confirming that the calling number is added to the dialing number, acquiring the calling number and a calling triggering instruction corresponding to the calling number;
and taking the call triggering instruction corresponding to the call number as the preset call triggering instruction.
5. The method of claim 1, wherein the sending a dial notification to a terminal device to cause the terminal device to make a dial call according to the dial number comprises:
detecting whether the input gesture action instruction is acquired again in a preset time period when the target call trigger instruction exists in the preset call trigger instruction;
and if the input gesture action instruction is acquired again, sending a dialing notification to the terminal equipment so that the terminal equipment performs dialing call according to the dialing number.
6. The method of claim 5, wherein the method further comprises:
and outputting a confirmation prompt when the target call trigger instruction exists in the preset call trigger instruction, wherein the confirmation prompt is used for inputting the gesture action instruction again.
7. A call processing method, applied to a terminal device, the method comprising:
Acquiring dialing numbers and call triggering instructions corresponding to each dialing number, and sending the dialing numbers and call triggering instructions to the earphone;
when a dialing notification of the earphone is received, determining a target number from the dialing numbers according to the dialing notification;
dialing the target number;
the method further comprises the steps of:
and when the earphone establishes connection with the replaced terminal equipment, the earphone controls the replaced terminal equipment to automatically dial the calling number according to the input corresponding gesture action instruction.
8. The method of claim 7, wherein the method further comprises:
responding to a first frame playing instruction sent by the earphone, displaying a first message frame on a display interface of the terminal equipment, wherein the first message frame comprises prompt information for starting an emergency call function of the earphone;
when an opening instruction for opening the emergency call function of the earphone is received, forwarding the opening instruction to the earphone;
and when receiving an opening signal for opening the emergency call function of the earphone, sending an emergency number and a call triggering instruction corresponding to the emergency number to the earphone.
9. The method of claim 7, wherein the method further comprises:
responding to a second frame playing instruction sent by the earphone, displaying a second message frame in a display interface of the terminal equipment, wherein the second message frame comprises prompt information for confirming that a calling number of the terminal equipment is added to a dialing number when the terminal equipment is called;
and when receiving a confirmation signal for determining to add the calling number to the dialing number, sending a call triggering instruction corresponding to the calling number to the earphone.
10. A call processing apparatus, comprising:
the instruction determining module is used for acquiring an input gesture action instruction and determining whether a target call trigger instruction matched with the gesture action instruction exists in preset call trigger instructions;
the number acquisition module is used for acquiring a dialing number corresponding to the target call trigger instruction when the target call trigger instruction exists in the preset call trigger instruction;
the dialing notification module is used for sending a dialing notification to the terminal equipment so that the terminal equipment performs dialing calls according to the dialing number;
the apparatus further comprises: the memory module is provided with a memory module,
The data acquisition module is also used for receiving a calling number sent by the terminal equipment when the terminal equipment is detected to finish calling;
the storage module is used for storing the calling number into an earphone memory so as to control the replaced terminal equipment to automatically dial the calling number according to the input corresponding gesture action instruction when the earphone is connected with the replaced terminal equipment.
11. A call processing apparatus, comprising:
the instruction acquisition module is used for acquiring the dialing numbers and the call triggering instructions corresponding to each dialing number and sending the call triggering instructions to the earphone;
the number determining module is used for determining a target number from the dialing numbers according to the dialing notification when the dialing notification of the earphone is received;
the dialing calling module is used for performing dialing calling on the target number;
the instruction acquisition module is further configured to send a calling number to the earphone when the call is ended, so that the earphone stores the calling number, and when the earphone establishes connection with the replaced terminal device, the earphone controls the replaced terminal device to automatically dial the calling number according to the input corresponding gesture action instruction.
12. An earphone, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-6.
13. A terminal device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 7-9.
14. A readable storage medium having stored therein computer instructions which, when executed by a processor, are adapted to carry out the method of any one of claims 1-9.
CN202210330296.8A 2022-03-31 2022-03-31 Call processing method, device, apparatus, medium and program product Active CN114615633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210330296.8A CN114615633B (en) 2022-03-31 2022-03-31 Call processing method, device, apparatus, medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210330296.8A CN114615633B (en) 2022-03-31 2022-03-31 Call processing method, device, apparatus, medium and program product

Publications (2)

Publication Number Publication Date
CN114615633A CN114615633A (en) 2022-06-10
CN114615633B true CN114615633B (en) 2023-10-03

Family

ID=81866392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210330296.8A Active CN114615633B (en) 2022-03-31 2022-03-31 Call processing method, device, apparatus, medium and program product

Country Status (1)

Country Link
CN (1) CN114615633B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1675367A1 (en) * 2004-12-23 2006-06-28 Owasys Advanced Wireless Devices, S.L.L. Mobile telephone and method for placing an emergency call
CN106559766A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 Reservation type calling, answering method and device and server based on mobile phone terminal
CN109995931A (en) * 2017-12-29 2019-07-09 北京国双科技有限公司 It is a kind of to realize the method and device called automatically
CN210579120U (en) * 2019-09-27 2020-05-19 东莞市库珀电子有限公司 Gesture touch control's bluetooth headset
WO2021147806A1 (en) * 2020-01-22 2021-07-29 华为技术有限公司 Emergency call method, and electronic apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8369821B2 (en) * 2006-09-08 2013-02-05 Logicmark, Llc List-based emergency calling device
US20140235253A1 (en) * 2013-02-21 2014-08-21 Hong C. Li Call routing among personal devices based on visual clues
CN112272254A (en) * 2020-10-22 2021-01-26 北京百度网讯科技有限公司 Terminal device positioning method, terminal device, system and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1675367A1 (en) * 2004-12-23 2006-06-28 Owasys Advanced Wireless Devices, S.L.L. Mobile telephone and method for placing an emergency call
CN106559766A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 Reservation type calling, answering method and device and server based on mobile phone terminal
CN109995931A (en) * 2017-12-29 2019-07-09 北京国双科技有限公司 It is a kind of to realize the method and device called automatically
CN210579120U (en) * 2019-09-27 2020-05-19 东莞市库珀电子有限公司 Gesture touch control's bluetooth headset
WO2021147806A1 (en) * 2020-01-22 2021-07-29 华为技术有限公司 Emergency call method, and electronic apparatus

Also Published As

Publication number Publication date
CN114615633A (en) 2022-06-10

Similar Documents

Publication Publication Date Title
US10129380B2 (en) Wearable devices for headset status and control
WO2019090726A1 (en) Method for selecting bluetooth device, terminal, and system
JP2022528683A (en) Voice call methods and their devices, electronic devices and computer programs
US9172792B2 (en) Method and electronic device for wireless communication
KR20140023082A (en) Method for handling call receiving and an electronic device thereof
CN115190197B (en) Bluetooth headset-based communication method and device and storage medium
CN111049984A (en) Audio playback control method and apparatus, and storage medium
TWI499231B (en) Method, apparatus and computer program product for performing hands-free profile control
CN105516439A (en) Telephone answering method, telephone hanging up method, and terminal
CN104023117B (en) A kind of method of information processing and electronic equipment
CN114615633B (en) Call processing method, device, apparatus, medium and program product
JP2009049678A (en) Handsfree calling system and mobile phone
WO2023240443A1 (en) Bluetooth communication method and apparatus, and storage medium
WO2022247404A1 (en) Call control method and apparatus, call system, wearable device, and readable medium
US20100183137A1 (en) Phone With Child Mode
CN104902106A (en) Method for connecting call return and device thereof
US20190068771A1 (en) External device for communicating with conferencing client using notification api
JP2015138538A (en) Electronic apparatus, notification method, and program
KR20090098027A (en) Wireless mobile terminal with various responding methods by menu and method thereof
CN112882622A (en) Data processing method and device, terminal and storage medium
JP2019068357A (en) Interphone apparatus, intercom system and program
CN111357280A (en) Video call control method and device
CN113691673B (en) Audio play control method, device and storage medium
KR101366313B1 (en) Mobile Terminal and Method for Control Input/Output Voice thereof
CN117581526A (en) Bluetooth headset-based conversation method and device and storage medium

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
GR01 Patent grant
GR01 Patent grant