Method and apparatus for performing call operation, storage medium
By detecting SOS voice data in smart home appliances and obtaining a contact list, the problem of smart home appliances not having SOS functionality was solved, enabling users to obtain help promptly through voice interaction in unexpected situations.
Patent Information
- Application Number
- CN202111328118.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-10
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2041-11-10
Smart Images

Figure CN116110189B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication, in particular to a call operation execution method and device, and a storage medium. BACKGROUND
[0002] With the progress of science and technology and the development of artificial intelligence, intelligent algorithms are increasingly applied to daily life, especially for household appliances. The intelligent development of household appliances is crucial, and the most critical problem of intelligence is to solve the urgent needs of users.
[0003] In the prior art, an emergency contact is generally set in a mobile terminal such as a mobile phone. When a user needs help, the user can call for help through the mobile terminal. However, when an old person, a child, or other people living alone are in a state of needing help (such as falling down in the bathroom, getting hurt in the kitchen, or being unable to open the bedroom door), the smart phone is of little help.
[0004] In related technologies, the current smart household appliances do not have a call for help function, which causes a user to be unable to obtain help in a timely manner through voice interaction when an accident occurs. SUMMARY
[0005] Embodiments of the present application provide a call operation execution method and device, and a storage medium to at least solve the problem in related technologies that the current smart household appliances do not have a call for help function, which causes a user to be unable to obtain help in a timely manner through voice interaction when an accident occurs.
[0006] According to one embodiment of an embodiment of the present application, a call operation execution method is provided, including: in a case where any household appliance in a home area detects target audio data, determining whether the target audio data is a preset call for help corpus; wherein the target audio data includes at least one of the following: audio data emitted by a target object, and audio data generated by the target object performing a dangerous event; in a case where the target audio data is the preset call for help corpus, obtaining a contact list of the target object; wherein the contact list includes: a contact method of a contact and a contact order of the contact; and performing a call operation based on the contact list.
[0007] In one exemplary embodiment, after determining whether the target audio data is the preset call for help corpus, the method further includes: in a case where the target audio data is the preset call for help corpus, determining whether the target object has set the contact list; in a case where the target object has not set the contact list, or each contact in the contact list cannot be contacted, initiating a call process to a preset alarm phone.
[0008] In an example embodiment, after determining whether the target audio data is the preset distress corpus, the method further comprises: in a case where the target audio data is the preset distress corpus, determining whether the target object has set the contact list; in a case where the target object has not set the contact list and the mobile terminal corresponding to the target object has authorized to allow the contact record of the mobile terminal to be acquired, performing at least one of the following: acquiring the contact person that the target object has contacted most recently and initiating a call process to the contact person; acquiring the contact person that the target object has contacted most frequently in a preset time period and initiating a call process to the contact person.
[0009] In an example embodiment, performing a call operation based on the contact list comprises: acquiring position information of all contact persons in the contact list; updating the contact order of all contact persons in the contact list according to the distance of all contact persons from the target object; and performing the call operation according to the updated contact order.
[0010] In an example embodiment, performing a call operation based on the contact list comprises: acquiring schedule information of all contact persons in the contact list; determining a target contact person in an idle state at a current time from the schedule information of all contact persons; acquiring a target contact order of the target contact person in the contact list, and performing a call operation based on the target contact order.
[0011] In an example embodiment, acquiring the contact list of the target object comprises: acquiring target body contour information of the target object; and acquiring a corresponding relationship between the body contour information of the target object and the contact list; wherein the target object and the contact list in the corresponding relationship are one-to-one corresponding, and the contact list corresponds to different body contour information of the target object in different directions; and determining the contact list of the target object corresponding to the target body contour information from the corresponding relationship.
[0012] In an example embodiment, after determining whether the target audio data is the preset distress corpus, the method further comprises: in a case where the target audio data is audio data generated by the target object performing a dangerous event, controlling any of the home appliances to issue inquiry information to the target object; wherein the inquiry information is used to indicate whether a call operation needs to be performed; and in a case where no response information of the target object is received within a preset time period, acquiring the contact list of the target object.
[0013] In one example embodiment, in the process of performing the call operation based on the contact list, the method further comprises a calling step of receiving a first call result of calling a first contact in the contact list; in the case that the first call result indicates that the first contact is not successfully called, determining a second contact manner of a second contact in the contact list to call the second contact according to the second contact manner; and repeating the calling step until a contact in the contact list is successfully called.
[0014] According to another embodiment of the embodiment of the present application, an execution device for performing a call operation is further provided, comprising: a determination module, configured to determine whether target audio data is preset distress language in the case that any home appliance in a home area detects the target audio data; wherein the target audio data comprises at least one of the following: audio data emitted by a target object, and audio data generated by the target object performing a dangerous event; an acquisition module, configured to acquire a contact list of the target object in the case that the target audio data is the preset distress language; wherein the contact list comprises: a contact manner of a contact and a contact sequence of the contact; and an execution module, configured to perform a call operation based on the contact list.
[0015] According to still another aspect of the embodiment of the present application, a computer readable storage medium is further provided, wherein the computer readable storage medium stores a computer program, and the computer program is configured to execute the execution method of the call operation when running.
[0016] According to still another aspect of the embodiment of the present application, an electronic device is further provided, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the execution method of the call operation through the computer program.
[0017] In the embodiment of the present application, in the case that any home appliance in a home area detects target audio data, it is determined whether the target audio data is preset distress language; wherein the target audio data comprises at least one of the following: audio data emitted by a target object, and audio data generated by the target object performing a dangerous event; in the case that the target audio data is the preset distress language, a contact list of the target object is acquired; wherein the contact list comprises: a contact manner of a contact and a contact sequence of the contact; and a call operation is performed based on the contact list. By using the above technical solution, the problem that current smart home appliances are not connected to a distress function, resulting in that a user cannot timely acquire help through voice interaction when an accident occurs, is solved, and further, the home appliance devices can be connected to stable call functions, and the user is provided with more security guarantee by actively setting multiple emergency contacts on the client side. Attached Figure Description
[0018] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0019] Figure 1 This is a hardware structure block diagram of a computer terminal for executing a call operation according to an embodiment of the present invention.
[0020] Figure 2 This is a flowchart of a method for executing a call operation according to an embodiment of the present invention;
[0021] Figure 3 This is a schematic diagram of a call operation execution method according to an embodiment of the present invention;
[0022] Figure 4 This is a structural block diagram (a) of a call operation execution device according to an embodiment of the present invention;
[0023] Figure 5 This is a structural block diagram (II) of a call operation execution device according to an embodiment of the present invention. Detailed Implementation
[0024] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0026] The methods and embodiments provided in this application can be executed on a mobile terminal, a computer terminal, or a similar computing device. Taking running on a computer terminal as an example, Figure 1 This is a hardware structure block diagram of a computer terminal for executing a call operation according to an embodiment of the present invention. Figure 1 As shown, a computer terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. In one exemplary embodiment, the computer terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the computer terminal described above. For example, the computer terminal may also include components that are more complex than those described above. Figure 1 The more or fewer components shown, or having the same Figure 1 Equivalent functions or ratios shown Figure 1 The functions shown have more different configurations.
[0027] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the call operation execution method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to a computer terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0028] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider for the computer terminal. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0029] The embodiment provides an execution method of a call operation, applied to the computer terminal, in particular, a server end, Figure 2 The embodiment provides an execution method of a call operation, applied to the computer terminal, in particular, a server end,
[0030] Step S202, in the case that any home appliance in the home area detects target audio data, determining whether the target audio data is preset distress corpus; wherein the target audio data comprises at least one of the following: audio data emitted by a target object, audio data generated by the target object performing a dangerous event;
[0031] It should be noted that the home appliance is an air conditioner, a refrigerator, a sound equipment or the like, which has the functions of acquiring audio data and emitting audio data.
[0032] Step S204, in the case that the target audio data is the preset distress corpus, acquiring a contact list of the target object; wherein the contact list comprises a contact manner of a contact and a contact order of the contact.
[0033] Step S206, performing a call operation based on the contact list.
[0034] Through the above steps, in the case that any home appliance in the home area detects target audio data, it is determined whether the target audio data is preset distress corpus; wherein the target audio data comprises at least one of the following: audio data emitted by a target object, audio data generated by the target object performing a dangerous event; in the case that the target audio data is the preset distress corpus, a contact list of the target object is acquired; wherein the contact list comprises a contact manner of a contact and a contact order of the contact; and a call operation is performed based on the contact list, which solves the problem in the related art that current intelligent home appliances are not connected to a distress function, so that a user cannot acquire help in time through voice interaction when an accident occurs, and further, the home appliance can be connected to stable call function, and a plurality of emergency contacts are actively set on the client side, thereby bringing more security guarantee for the user.
[0035] The "audio data emitted by a target object" in the step S202 can be understood as audio data such as "save me", "help me" and "call XX"; and the "audio data generated by the target object performing a dangerous event" can be understood as audio data such as "bang" and "plop" emitted by a user when falling down.
[0036] In an example embodiment, after determining whether the target audio data is the preset distress corpus, in a case where the target audio data is the preset distress corpus, it is determined whether the target object has set the contact list; in a case where the target object has not set the contact list or each contact in the contact list cannot be contacted, a call process is initiated to a preset alarm phone.
[0037] That is, in a case where the server detects that the target audio data is the preset distress corpus (which can be understood as that the target object has dangerous things), it is determined whether the target object has set the corresponding contact list, in a case where the target object has not set the contact list, a "110", "120", "119" or the like alarm phone is called, and in a case where the target object has set the contact list, a phone in the contact list is called.
[0038] Specifically, in a case where the target object has not set the contact list or each contact in the contact list cannot be contacted, a call process is initiated to a preset alarm phone, including: in a case where any home appliance device in a home area acquires target image data, image information in the target image data is determined; wherein the target image data at least includes: a target object; in a case where the image information indicates that the target object has a first target event, a call process is initiated to a preset first alarm phone; in a case where the image information indicates that the target object has a second target event, a call process is initiated to a preset second alarm phone; in a case where the image information indicates that the target object has a third target event, a call process is initiated to a preset third alarm phone.
[0039] For example, in a case where the image information indicates that the target object faints, "120" is dialed; in a case where the image information indicates that the target object has a fire in a target area, "119" is dialed; and in a case where the image information indicates that the target object is hijacked, "110" is dialed.
[0040] In an example embodiment, after determining whether the target audio data is the preset distress corpus, in a case where the target audio data is the preset distress corpus, it is determined whether the target object has set the contact list; in a case where the target object has not set the contact list and a mobile terminal corresponding to the target object has been authorized to allow the contact record of the mobile terminal to be acquired, at least one of the following is performed: a contact that the target object has contacted most recently is acquired from the mobile terminal and a call process is initiated to the contact; a contact that the target object has contacted most frequently in a preset time period is acquired from the mobile terminal and a call process is initiated to the contact.
[0041] In another embodiment, in a case where the server detects that the target audio data is the preset distress corpus (it can be understood that the target object has a dangerous event), it is determined whether the target object has set a corresponding contact list, in a case where the target object has not set the contact list, a contact person with which the target object has contacted most recently is acquired, and / or a contact person with which the target object has contacted most frequently in a preset time period is acquired, and the contact person with which the target object has contacted most recently and / or the contact person with which the target object has contacted most frequently is called.
[0042] In one example embodiment, the calling operation is performed based on the contact list, including: acquiring position information of all contact persons in the contact list; updating a contact order of the all contact persons in the contact list according to a distance order of the all contact persons from the target object; and performing the calling operation according to the updated contact order.
[0043] In other words, the position information of all contact persons in the contact list is acquired, the distance order of the all contact persons from the target object is determined according to the position information of the all contact persons in the contact list, the contact order of the contact persons is determined according to the distance order of the contact persons from the target object and the contact order of the contact persons, and the calling is performed according to the updated contact order of the contact persons, so that the contact persons can arrive at the position of the target object as soon as possible and help the target object as soon as possible.
[0044] In one example embodiment, the calling operation is performed based on the contact list, including: acquiring schedule information of all contact persons in the contact list; determining a target contact person in an idle state at a current time from the schedule information of the all contact persons; acquiring a target contact order of the target contact person in the contact list, and performing the calling operation based on the target contact order.
[0045] In other words, the schedule information of all contact persons in the contact list is acquired, the target contact person in an idle state at a current time is determined from the schedule information of the all contact persons, the contact order of the contact persons is determined according to the schedule information of the all contact persons and the contact order of the contact persons, and the calling is performed according to the updated contact order of the contact persons, so that the contact persons can arrive at the position of the target object as soon as possible and help the target object as soon as possible.
[0046] In an example embodiment, the method further comprises: obtaining the contact list of the target object, including: obtaining target body contour information of the target object; obtaining a correspondence between the target body contour information of the target object and the contact list; wherein the correspondence is one-to-one between the target object and the contact list, and the contact list corresponds to different body contour information of the target object in different orientations; and determining the contact list corresponding to the target body contour information of the target object from the correspondence.
[0047] That is, different target objects correspond to different contact lists, and the contact list corresponding to the target body contour information of the target object is determined from the plurality of correspondences according to the target body contour information of the target object.
[0048] Further, in the case where one contact list is shared in one family, it is determined whether the target object exists in the contact list according to the target body contour information of the target object; and in the case where the target object exists in the contact list, the contact information of other contacts in the contact list is obtained, and the contact information of the first contact is obtained from the contact information of the other contacts.
[0049] In an example embodiment, after it is determined that the target audio data is the preset distress corpus, in the case where the target audio data is audio data generated by the target object in a dangerous event, the method further comprises: controlling any of the home appliances to send inquiry information to the target object; wherein the inquiry information is used to indicate whether a call operation needs to be performed; and in the case where no response information of the target object is received within a preset time period, obtaining the contact list of the target object.
[0050] That is, in the case where audio data is generated by the target object in a dangerous event, the server controls the home appliances to inquire whether the target object needs to perform a call operation, in the case where the target object determines that the call operation needs to be performed or no response information of the target object is received within a preset time period, the contact list is obtained, and the contacts in the contact list are called, and in the case where the target object determines that the call operation does not need to be performed, the contact list is prohibited to be obtained.
[0051] In an example embodiment, during the process of performing the call operation based on the contact list, the method further comprises: a calling step of receiving a first call result of calling a first contact in the contact list; in the case where the first call result indicates that the first contact is not successfully called, determining a second contact manner of a second contact in the contact list to call the second contact according to the second contact manner; and repeating the calling step until the contacts in the contact list are successfully called.
[0052] When the phone of the first contact in the contact list is not dialed or other reasons cause the call to fail, the system will send an emergency SMS to the current emergency contact by default, and automatically call the second contact, and in the case that the phone of the first contact in the contact list is not dialed, automatically call the third contact, and the process is repeated until the contact in the contact list is successfully called.
[0053] In order to better understand the process of the execution method of the call operation, the implementation method of the execution of the call operation will be described in combination with the optional embodiments below, but not used to limit the technical solutions of the embodiments of the present application.
[0054] In the present embodiment, a call operation execution method is provided, Figure 3 The call operation execution method according to the embodiments of the present application is shown in the schematic diagram as Figure 3 The specific steps are as follows:
[0055] Step S301: Start;
[0056] Step S3021: Actively pick up the sound (bang, clap) (equivalent to the target audio data in the above embodiment);
[0057] Step S3032: Ask the target object whether to perform emergency help, and in the case that the target object confirms to perform emergency help, execute step S304, and in the case that the target object confirms not to perform emergency help, execute step S310;
[0058] Step S3031: Acquire the audio data emitted by the target object (equivalent to the target audio data in the above embodiment);
[0059] Step S3032: Determine whether the audio data emitted by the target object is a preset help corpus, and in the case that the audio data emitted by the target object is a preset help corpus, execute step S304, and in the case that the audio data emitted by the target object is not a preset help corpus, execute step S310;
[0060] Step S304: Determine whether the target object sets an emergency contact, and in the case that the target object sets an emergency contact, execute step S304, otherwise execute step S309;
[0061] Step S305: Dial the first emergency contact (equivalent to the first contact in the above embodiment);
[0062] Step S306: Determine whether the dialing is successful according to the dialing result, and in the case that the emergency contact is successfully dialed, execute step S309; and in the case that the emergency contact is not successfully dialed, execute step S307;
[0063] Step S307: dialing a second emergency contact (equivalent to the second contact in the above embodiment);
[0064] Step S308: sending a help information to the emergency contact which is not dialed successfully, and executing the above steps S306-S308 circularly until dialing is successful;
[0065] Step S309: dialing a default alarm;
[0066] Step S310: ending.
[0067] Further, the user is guided to set the emergency contact when using the target client, specifically, adding a first emergency contact, adding a second emergency contact, and the like, so as to avoid that no contact way is set in an emergency call and the best opportunity for rescue is lost; in the business processing, the redis is used for caching, such as user id, family information, mobile phone number, device id and the like, so as to improve the response time.
[0068] In the embodiment of the application, in the case that any home appliance in the home area detects target audio data, it is determined whether the target audio data is preset distress corpus; wherein the target audio data includes at least one of the following: audio data emitted by a target object, audio data generated by the target object performing a dangerous event; in the case that the target audio data is the preset distress corpus, a contact list of the target object is acquired; wherein the contact list includes: contact ways of the contacts and contact orders of the contacts; and a calling operation is performed based on the contact list; by using the above technical solution, the problem that the current smart home appliance does not access the distress function, so that the user cannot timely acquire help through voice interaction in the case of an accident is solved, and further, the home appliance can access stable calling function, and the user is brought more safety guarantee by actively setting multiple emergency contacts in the client.
[0069] Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be realized by means of software and a general hardware platform as required, and of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the application can be embodied in the form of a software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, an optical disk), and includes a plurality of instructions for causing a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method of each embodiment of the application.
[0070] The call operation execution apparatus according to the embodiments of the present application is also provided in the embodiments, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be described again. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementation of hardware, or a combination of software and hardware, is also possible and contemplated.
[0071] Figure 4 is a structural block diagram of a call operation execution apparatus according to an embodiment of the present application (one); as shown in Figure 4 , comprising:
[0072] The determining module 42 is configured to determine whether the target audio data is a preset distress corpus if any of the home appliances in the home area detects the target audio data; wherein the target audio data includes at least one of the following: audio data emitted by a target object, audio data generated by the target object performing a dangerous event;
[0073] The acquisition module 44 is configured to acquire a contact list of the target object if the target audio data is the preset distress corpus; wherein the contact list includes: a contact method of a contact and a contact order of the contact;
[0074] The execution module 46 is configured to execute a call operation based on the contact list.
[0075] Through the above apparatus, if any of the home appliances in the home area detects the target audio data, it is determined whether the target audio data is a preset distress corpus; wherein the target audio data includes at least one of the following: audio data emitted by a target object, audio data generated by the target object performing a dangerous event; if the target audio data is the preset distress corpus, a contact list of the target object is acquired; wherein the contact list includes: a contact method of a contact and a contact order of the contact; and a call operation is executed based on the contact list, which solves the problem in the related art that the current smart home appliances do not access the distress function, resulting in that the user cannot timely obtain help through voice interaction when an accident occurs, and further that the home appliances can all access stable call functions, and the client actively sets multiple emergency contacts, thereby providing more security for the user.
[0076] In an example embodiment, the determining module 42 is further configured to determine whether the target object has set the contact list when the target audio data is the preset distress corpus; and the executing module 46 is further configured to initiate a call process to a preset alarm phone when the target object has not set the contact list or when each contact in the contact list cannot be contacted.
[0077] In an example embodiment, the determining module 42 is further configured to determine whether the target object has set the contact list when the target audio data is the preset distress corpus; and the acquiring module 44 is further configured to perform at least one of the following: acquire a contact that the target object has contacted most recently and initiate a call process to the contact; and acquire a contact that the target object has contacted most frequently in a preset time period and initiate a call process to the contact, when the target object has not set the contact list and when the mobile terminal corresponding to the target object has been authorized to allow the contact record of the mobile terminal to be acquired.
[0078] In an example embodiment, the executing module 46 is further configured to acquire position information of all contacts in the contact list; update a contact order of the all contacts in the contact list according to a distance of the all contacts from the target object; and perform the call operation according to the updated contact order.
[0079] In an example embodiment, the executing module 46 is further configured to acquire schedule information of all contacts in the contact list; determine a target contact that is in an idle state at a current time from the schedule information of the all contacts; acquire a target contact order of the target contact in the contact list; and perform a call operation based on the target contact order.
[0080] In an example embodiment, the acquiring module is further configured to acquire target body contour information of the target object; and acquire a corresponding relationship between the target body contour information of the target object and the contact list; wherein the target object and the contact list in the corresponding relationship are in one-to-one correspondence, and the contact list corresponds to different body contour information of the target object in different orientations; and the acquiring module is further configured to determine the contact list of the target object corresponding to the target body contour information from the corresponding relationship.
[0081] In an example embodiment, Figure 5 is a structural block diagram of a call operation execution device according to an embodiment of the present application (II); as Figure 5The control module 52 is further configured to control the any home appliance to send inquiry information to the target object in a case where the target audio data is audio data generated by the target object performing a dangerous event; and the inquiry information is used to indicate whether a call operation is needed; and in a case where no response information of the target object is received within a preset time period, a contact list of the target object is obtained.
[0082] In an example embodiment, the execution module 46 is further configured to perform a calling step of: receiving a first call result of calling a first contact in the contact list; in a case where the first call result indicates that the first contact is not successfully called, determining a second contact manner of a second contact in the contact list, so as to call the second contact according to the second contact manner; and repeating the calling step until a contact in the contact list is successfully called.
[0083] Embodiments of the present application also provide a storage medium including a stored program, wherein the program performs any of the above methods when executed.
[0084] Optionally, in the present embodiment, the storage medium can be configured to store program code for performing the following steps:
[0085] S1, in a case where any home appliance in a home area detects target audio data, determining whether the target audio data is preset distress corpus; wherein the target audio data includes at least one of: audio data sent by a target object, and audio data generated by the target object performing a dangerous event;
[0086] S2, in a case where the target audio data is the preset distress corpus, obtaining a contact list of the target object; wherein the contact list includes: a contact manner of a contact and a contact order of the contact;
[0087] S3, performing a call operation based on the contact list.
[0088] Embodiments of the present application also provide an electronic device including a memory and a processor, the memory stores a computer program, and the processor is configured to execute the computer program to perform the steps in any of the above method embodiments.
[0089] Optionally, the electronic device can further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0090] Optionally, in the present embodiment, the processor can be configured to perform the following steps through the computer program:
[0091] S1, in the case that any home appliance in the home area detects target audio data, determining whether the target audio data is a preset distress corpus; wherein the target audio data comprises at least one of: audio data emitted by a target object, and audio data generated by the target object performing a dangerous event;
[0092] S2, in the case that the target audio data is the preset distress corpus, acquiring a contact list of the target object; wherein the contact list comprises: a contact manner of a contact and a contact order of the contact;
[0093] S3, performing a calling operation based on the contact list.
[0094] Optionally, in the embodiment, the storage medium can include, but is not limited to, a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0095] Optionally, specific examples in the embodiment can refer to examples described in the above embodiments and optional implementation manners, and the embodiment will not be described here.
[0096] Obviously, those skilled in the art should understand that each module or each step of the above-mentioned application can be realized by a general computing device, which can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and can be realized by program codes executable by a computing device, so that they can be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described can be executed in a different order, or they can be manufactured into each integrated circuit module, or multiple modules or steps can be manufactured into a single integrated circuit module. Thus, the application is not limited to any specific hardware and software combination.
[0097] The above only describes the preferred embodiments of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for executing a call operation, characterized in that, include: If any household appliance in the home area detects the target audio data, determine whether the target audio data is a preset distress call corpus; wherein, the target audio data includes at least one of the following: audio data emitted by the target object, audio data generated by the target object when performing a dangerous event; If the target audio data is the preset distress call corpus, obtain the contact list of the target object; wherein, the contact list includes: the contact information of the contact and the contact order of the contact; Perform a call operation based on the contact list; The method further includes, during the process of performing a call operation based on the contact list: In the case of a shared contact list within a family, it is determined whether the target object exists in the contact list based on the target object's target body outline information; If the target object exists in the contact list, obtain the contact information of other contacts in the contact list besides the target object, and determine the contact information of the first contact from the contact information of the other contacts; Call the first contact person using the contact information provided.
2. The method for executing a call operation according to claim 1, characterized in that, After determining whether the target audio data is a preset distress call corpus, the method further includes: If the target audio data is the preset distress call corpus, determine whether the target object has set up the contact list; If the target object has not set the contact list, or if each contact in the contact list cannot be contacted, a call process is initiated to the preset alarm phone number.
3. The method for executing a call operation according to claim 1, characterized in that, After determining whether the target audio data is a preset distress call corpus, the method further includes: If the target audio data is the preset distress call corpus, determine whether the target object has set up the contact list; If the target object has not set up the contact list, and the mobile terminal corresponding to the target object has been authorized to access the contact records of the mobile terminal, perform at least one of the following: Obtain the most recently contacted contact of the target object recorded in the mobile terminal, and initiate a call process to the most recently contacted contact; The system retrieves the contact person who has been contacted the most times by the target object within a preset time period, as recorded in the mobile terminal, and initiates a call process to the contact person who has been contacted the most times.
4. The method for executing a call operation according to claim 1, characterized in that, Performing a call operation based on the contact list includes: Retrieve the location information of all contacts in the contact list; The contact order of all contacts in the contact list is updated according to the distance of all contacts from the target object; The call operation is performed according to the updated contact sequence.
5. The method for executing a call operation according to claim 4, characterized in that, Performing a call operation based on the contact list includes: Retrieve the schedule information of all contacts in the contact list; Identify the target contact who is currently available from the schedule information of all the contacts; Obtain the target contact order of the target contact in the contact list, and perform a call operation based on the target contact order.
6. The method for executing a call operation according to claim 1, characterized in that, Retrieving the contact list of the target object includes: Obtain the target body contour information of the target object; Obtain the correspondence between the body contour information of the target object and the contact list; wherein, in the correspondence, the target object and the contact list correspond one-to-one, and the contact list contains different body contour information of the target object in different positions; The contact list of the target object corresponding to the target body contour information is determined from the correspondence.
7. The method for executing a call operation according to claim 1, characterized in that, After determining whether the target audio data is a preset distress call corpus, the method further includes: In the case that the target audio data is audio data generated by the target object performing a dangerous event, the control of any of the home appliances is to send an inquiry message to the target object; wherein, the inquiry message is used to indicate whether a call operation needs to be performed; If no response is received from the target object within a preset time period, obtain the target object's contact list.
8. The method for executing a call operation according to claim 1, characterized in that, During the process of performing a call operation based on the contact list, the method further includes: Calling steps: Receive the first call result for the first contact in the contact list; if the first call result indicates that the call to the first contact was unsuccessful, determine the second contact method for the second contact in the contact list, and call the second contact according to the second contact method; Repeat the calling steps until a contact in the contact list is successfully reached.
9. A device for executing a call operation, characterized in that, include: The determination module is used to determine whether the target audio data is a preset distress call corpus when any household appliance in the home area detects the target audio data; wherein the target audio data includes at least one of the following: audio data emitted by the target object, and audio data generated by the target object when performing a dangerous event; The acquisition module is used to acquire the contact list of the target object when the target audio data is the preset distress call corpus; wherein, the contact list includes: the contact information of the contact and the contact order of the contact; The execution module is used to perform a call operation based on the contact list; The execution module is further configured to, when a family shares a contact list, determine whether the target object exists in the contact list based on the target object's body contour information; if the target object exists in the contact list, obtain the contact information of other contacts in the contact list besides the target object, and determine the contact information of a first contact from among the other contacts' contact information; and perform a call operation based on the first contact's contact information.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and device for linkman information processing and mobile terminal
CN103139348A
Wearable device control method, wearable device and computer readable storage medium
CN110062101A
Calling-for-help method and system and computer readable storage medium
CN110708429A