Disclosure of Invention
The embodiment of the invention provides an operation executing method and device based on an intelligent home operating system, and aims to solve the problems that in the process of doing housework by a user in the related art, if the user receives a call, the user can only not answer the call or pause the housework, so that the user experience is reduced, and the like.
According to an embodiment of the invention, an execution operation method based on an intelligent home operation system is provided, which includes: under the condition that the terminal is detected to receive the call of the calling user, determining whether the first household equipment is used; acquiring identification information of the calling party under the condition that the first household equipment is used, wherein the identification information is used for uniquely identifying the calling party; and determining a processing strategy corresponding to the identification information according to a preset rule, and executing an operation corresponding to the processing strategy on the terminal or the first household equipment.
In the embodiment of the present invention, determining whether the first home equipment is in use includes: sending request information to the first household equipment, wherein the request information is used for acquiring whether the first household equipment is used or not; receiving response information of the first household equipment; and determining whether the first household equipment is in use or not according to the response information.
In this embodiment of the present invention, acquiring the identification information of the calling party when the first home equipment is in use includes: and acquiring the telephone number of the calling party under the condition that the first household equipment is in use.
In an embodiment of the present invention, the identification information includes: a telephone number; determining a processing strategy corresponding to the identification information according to a preset rule, wherein the processing strategy comprises the following steps: acquiring the answering rate of the terminal aiming at the telephone number, wherein the answering rate is determined by the ratio of the number of times of answering the telephone number by the terminal to the total number of times of calling the terminal by the telephone number in a preset time period; and determining a processing strategy corresponding to the telephone number according to the magnitude relation between the answering ratio and a first preset threshold value.
In an embodiment of the present invention, the first preset threshold includes: a first threshold and a second threshold, wherein the first threshold is greater than the second threshold, and a processing strategy corresponding to the telephone number is determined according to a magnitude relation between the answering ratio and a first preset threshold, and the processing strategy comprises the following steps: determining that the telephone number corresponds to a processing strategy with a first priority level when the answering ratio is larger than the first threshold value; determining that the telephone number corresponds to a processing strategy with a second priority under the condition that the answering ratio is smaller than the first threshold and larger than the second threshold; determining that the telephone number corresponds to a third-priority processing strategy under the condition that the answering rate is smaller than the second threshold; wherein the priority level of the first priority is higher than the priority level of the second priority, and the priority level of the second priority is higher than the priority level of the third priority.
In an embodiment of the present invention, the method further comprises: determining whether the telephone number belongs to a preset type of telephone number or not in the case that the answer ratio is smaller than the second threshold value; if yes, determining a processing strategy of a first priority corresponding to the telephone number; and if not, determining a third-priority processing strategy corresponding to the telephone number.
In an embodiment of the present invention, the identification information includes: the telephone number determines a processing strategy corresponding to the identification information according to a preset rule, and the processing strategy comprises the following steps: acquiring first account information corresponding to the telephone number and second account information corresponding to the terminal; acquiring a reply ratio of the first account information to the second account information, wherein the reply ratio is determined by a ratio of reply times of the first account information to the account information to total times of the information sent by the first account information; and determining a processing strategy corresponding to the telephone number according to the magnitude relation between the reply ratio and a second preset threshold value.
In an embodiment of the present invention, the second preset threshold includes: a third threshold and a fourth threshold, wherein the third threshold is greater than the fourth threshold, and the processing policy corresponding to the phone number is determined according to the magnitude relationship between the reply ratio and a second preset threshold, and includes: determining that the telephone number corresponds to a processing strategy with a first priority level when the reply ratio is greater than the third threshold value; determining that the telephone number corresponds to a processing strategy with a second priority under the condition that the reply ratio is smaller than the third threshold and the reply ratio is larger than the fourth threshold; determining that the telephone number corresponds to a third-priority processing strategy under the condition that the reply ratio is smaller than the fourth threshold; wherein the priority level of the first priority is higher than the priority level of the second priority, and the priority level of the second priority is higher than the priority level of the third priority.
In this embodiment of the present invention, the processing policy of the first priority is configured to instruct the first household device to execute at least one of: closing the operation of the first household equipment, and controlling the first household equipment to be in a low power consumption state; the terminal is instructed to transfer the call to the first household equipment so as to answer the call through the first household equipment, wherein the first household equipment has a voice data acquisition function and a voice data playing function; the processing strategy of the second priority is used for indicating the terminal to carry the remaining service time in a short message or a voice reply to send to the calling user after the terminal acquires the remaining service time of the first household equipment; and the processing strategy of the third priority is used for indicating the terminal to forbid the feedback of the call of the calling user.
According to another embodiment of the present invention, there is also provided an execution operation device based on a smart home operation system, including: the first determining module is used for determining whether the first household equipment is used or not under the condition that the terminal is detected to receive the call of the calling party; the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring identification information of a calling party under the condition that the first household equipment is in use, and the identification information is used for uniquely identifying the calling party; the second determining module is used for determining a processing strategy corresponding to the identification information according to a preset rule; and the execution module is used for executing the operation corresponding to the processing strategy on the terminal or the first household equipment.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
By the method, the first household equipment is determined whether to be used or not under the condition that the terminal is detected to receive the call of the calling party; acquiring identification information of the calling party under the condition that the first household equipment is used, wherein the identification information is used for uniquely identifying the calling party; according to the technical scheme, the problem that in the related art, if a user receives a call in the housework process, the user can only not answer the call or pause the housework, so that the user experience is reduced and the like is solved, the operation executed on the terminal or the first household equipment can be determined according to the identification information of the call, the user does not need to answer the call or pause the housework, and the user experience degree is improved.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the invention can be executed in a terminal or a similar arithmetic device. Taking an operation on a terminal as an example, fig. 1 is a hardware structure block diagram of a terminal for executing an operation method based on an intelligent home control system according to an embodiment of the present invention. As shown in fig. 1, the terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be configured to store a computer program, for example, a software program and a module of an application software, such as a computer program corresponding to an execution operation method based on the smart home control system in an embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. 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 examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In addition, the embodiment of the application can also be operated on a network architecture of the internet of things shown in fig. 2, as shown in fig. 2, the smart home devices are terminal devices in the internet of things, an operating system of each terminal device is provided with a communication module, cooperative operation among a plurality of devices in the internet of things can be realized, the network architecture can also be provided with a server, the server can provide services such as data processing for each smart home device, data intercommunication among the smart home devices is realized, the server and the terminal can establish communication connection with the smart home devices through a wireless router, and communication connection among the smart home devices can also be established through the wireless router.
Fig. 3 is a flowchart of an optional operation execution method based on an intelligent home control system according to an embodiment of the present invention, which is applied to the terminal shown in fig. 1 or the network architecture shown in fig. 2, and as shown in fig. 3, the flowchart includes the following steps:
step S302, under the condition that the terminal is detected to receive the call of the calling user, whether the first household equipment is used or not is determined.
Optionally, the step may be implemented by the following technical solution: sending request information to the first household equipment, wherein the request information is used for acquiring whether the first household equipment is used or not; receiving response information of the first household equipment; and determining whether the first household equipment is in use or not according to the response information.
Step S304, acquiring identification information of the calling party under the condition that the first household equipment is in use, wherein the identification information is used for uniquely identifying the calling party;
step S306, determining a processing policy corresponding to the identification information according to a preset rule, and executing an operation corresponding to the processing policy on the terminal or the first home device.
Through the technical scheme, whether the first household equipment is used or not is determined under the condition that the terminal receives the call of the calling party is detected; acquiring identification information of the calling party under the condition that the first household equipment is used, wherein the identification information is used for uniquely identifying the calling party; according to the technical scheme, the problem that in the related art, if a user receives a call in the housework process, the user can only not answer the call or pause the housework, so that the user experience is reduced and the like is solved, the operation executed on the terminal or the first household equipment can be determined according to the identification information of the call, the user does not need to answer the call or pause the housework, and the user experience degree is improved.
There are many implementation manners of step S306, and in an optional embodiment, the identification information includes: in the case of a telephone number, the processing policy can be determined mainly by the following two implementations:
first implementation
Acquiring the answering rate of the terminal aiming at the telephone number, wherein the answering rate is determined by the ratio of the number of times of answering the telephone number by the terminal to the total number of times of calling the terminal by the telephone number in a preset time period; determining a processing strategy corresponding to the telephone number according to the magnitude relation between the answering ratio and a first preset threshold, wherein the first preset threshold comprises: a first threshold and a second threshold, wherein the first threshold is greater than the second threshold, and a processing strategy corresponding to the telephone number is determined according to a magnitude relation between the answering ratio and a first preset threshold, and the processing strategy comprises the following steps:
determining that the telephone number corresponds to a processing strategy with a first priority level when the answering ratio is larger than the first threshold value; determining that the telephone number corresponds to a processing strategy with a second priority under the condition that the answering ratio is smaller than the first threshold and larger than the second threshold; determining that the telephone number corresponds to a third-priority processing strategy under the condition that the answering rate is smaller than the second threshold; wherein the priority level of the first priority is higher than the priority level of the second priority, and the priority level of the second priority is higher than the priority level of the third priority.
In particular, the method further comprises: in the case that the answer ratio is smaller than the second threshold, determining whether the telephone number belongs to a preset type of telephone number (for example, whether the telephone number is an express or take-away telephone number); if yes, determining a processing strategy of a first priority corresponding to the telephone number; and if not, determining a third-priority processing strategy corresponding to the telephone number.
Second implementation
Acquiring first account information corresponding to the telephone number and second account information corresponding to the terminal; acquiring a reply ratio of the first account information to the second account information, wherein the reply ratio is determined by a ratio of reply times of the first account information to the account information to total times of the information sent by the first account information; determining a processing strategy corresponding to the telephone number according to the magnitude relation between the reply ratio and a second preset threshold, wherein the second preset threshold comprises: a third threshold and a fourth threshold, wherein the third threshold is greater than the fourth threshold, and the processing policy corresponding to the phone number is determined according to the magnitude relationship between the reply ratio and a second preset threshold, and includes:
determining that the telephone number corresponds to a processing strategy with a first priority level when the reply ratio is greater than the third threshold value; determining that the telephone number corresponds to a processing strategy with a second priority under the condition that the reply ratio is smaller than the third threshold and the reply ratio is larger than the fourth threshold; determining that the telephone number corresponds to a third-priority processing strategy under the condition that the reply ratio is smaller than the fourth threshold; wherein the priority level of the first priority is higher than the priority level of the second priority, and the priority level of the second priority is higher than the priority level of the third priority.
It should be noted that, in this embodiment of the present invention, the processing policy of the first priority is used to instruct the first household device to perform at least one of the following: closing the operation of the first household equipment, and controlling the first household equipment to be in a low power consumption state; the terminal is instructed to transfer the call to the first household equipment so as to answer the call through the first household equipment, wherein the first household equipment has a voice data acquisition function and a voice data playing function; the processing strategy of the second priority is used for indicating the terminal to carry the remaining service time in a short message or a voice reply to send to the calling user after the terminal acquires the remaining service time of the first household equipment; and the processing strategy of the third priority is used for indicating the terminal to forbid the feedback of the call of the calling user.
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 implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The embodiment also provides an operation executing device based on the smart home operating system, and the device is used for implementing the above embodiments and preferred embodiments, and the description of the device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of an optional operation execution device based on an intelligent home operating system according to an embodiment of the present invention, and as shown in fig. 4, the device includes:
the first determining module 40 is configured to determine whether the first home equipment is being used or not when it is detected that the terminal receives a call from a calling party;
an obtaining module 42, configured to obtain identification information of the calling party when the first home device is in use, where the identification information is used to uniquely identify the calling party;
a second determining module 44, configured to determine, according to a preset rule, a processing policy corresponding to the identification information;
and an executing module 46, configured to execute an operation corresponding to the processing policy on the terminal or the first home device.
Through the technical scheme, whether the first household equipment is used or not is determined under the condition that the terminal receives the call of the calling party is detected; acquiring identification information of the calling party under the condition that the first household equipment is used, wherein the identification information is used for uniquely identifying the calling party; according to the technical scheme, the problem that in the related art, if a user receives a call in the housework process, the user can only not answer the call or pause the housework, so that the user experience is reduced and the like is solved, the operation executed on the terminal or the first household equipment can be determined according to the identification information of the call, the user does not need to answer the call or pause the housework, and the user experience degree is improved.
Optionally, the first determining module 40 is further configured to send request information to the first home device, where the request information is used to obtain whether the first home device is being used; receiving response information of the first household equipment; and determining whether the first household equipment is in use or not according to the response information.
In an optional embodiment, the identification information comprises: in the case of a phone number, the second determining module 44 is further configured to obtain an answering ratio of the terminal to the phone number, where the answering ratio is determined by a ratio of answering times of the terminal to the phone number to total calling times of the terminal in a predetermined time period; determining a processing strategy corresponding to the telephone number according to the magnitude relation between the answering ratio and a first preset threshold, wherein the first preset threshold comprises: the second determining module 44 is further configured to determine that the phone number corresponds to a processing policy of a first priority level when the answer ratio is greater than the first threshold value; determining that the telephone number corresponds to a processing strategy with a second priority under the condition that the answering ratio is smaller than the first threshold and larger than the second threshold; determining that the telephone number corresponds to a third-priority processing strategy under the condition that the answering rate is smaller than the second threshold; wherein the priority level of the first priority is higher than the priority level of the second priority, and the priority level of the second priority is higher than the priority level of the third priority.
In particular, the second determining module 44 is further configured to determine whether the phone number belongs to a preset type of phone number (for example, whether the phone number is a phone number for express delivery or takeaway) if the answer ratio is smaller than the second threshold; if yes, determining a processing strategy of a first priority corresponding to the telephone number; and if not, determining a third-priority processing strategy corresponding to the telephone number.
The second determining module 44 is further configured to obtain first account information corresponding to the phone number and second account information corresponding to the terminal; acquiring a reply ratio of the first account information to the second account information, wherein the reply ratio is determined by a ratio of reply times of the first account information to the account information to total times of the information sent by the first account information; determining a processing strategy corresponding to the telephone number according to the magnitude relation between the reply ratio and a second preset threshold, wherein the second preset threshold comprises: a third threshold and a fourth threshold, where the third threshold is greater than the fourth threshold, the second determining module 44 is further configured to determine that the phone number corresponds to a processing policy of a first priority if the reply ratio is greater than the third threshold; determining that the telephone number corresponds to a processing strategy with a second priority under the condition that the reply ratio is smaller than the third threshold and the reply ratio is larger than the fourth threshold; determining that the telephone number corresponds to a third-priority processing strategy under the condition that the reply ratio is smaller than the fourth threshold; wherein the priority level of the first priority is higher than the priority level of the second priority, and the priority level of the second priority is higher than the priority level of the third priority.
It should be noted that, in this embodiment of the present invention, the processing policy of the first priority is used to instruct the first household device to perform at least one of the following: closing the operation of the first household equipment, and controlling the first household equipment to be in a low power consumption state; the terminal is instructed to transfer the call to the first household equipment so as to answer the call through the first household equipment, wherein the first household equipment has a voice data acquisition function and a voice data playing function; the processing strategy of the second priority is used for indicating the terminal to carry the remaining service time in a short message or a voice reply to send to the calling user after the terminal acquires the remaining service time of the first household equipment; and the processing strategy of the third priority is used for indicating the terminal to forbid the feedback of the call of the calling user.
The technical solutions of the above embodiments are described in combination with the following technical solutions, and the preferred embodiment of the present invention provides the following technical solutions:
the method comprises the following steps: when the terminal has a telephone access, whether the called user is cooking or not is judged according to whether the intelligent kitchen range (which is equivalent to the first household equipment of the embodiment) is used or not.
In the preferred embodiment of the present invention, the terminal is a terminal used by a called user, for example, a mobile phone or the like.
When the terminal is accessed by a telephone, the terminal can send a use state acquisition request to the intelligent cooker through the established communication connection, and after the intelligent cooker receives the use state acquisition request, the use state of the intelligent cooker can be determined and sent to the terminal through the established communication connection. Wherein, the use state may include: currently in use, and currently unused.
After the terminal acquires the use state of the intelligent cooker, whether the called user cooks or not can be judged according to the use state of the intelligent cooker, and specifically, if the intelligent cooker is currently used, the terminal can determine that the called user cooks currently; if the smart hob is not currently used, the terminal may determine that the called user is not currently cooking.
Step two: and if so, determining the reply grade of the currently accessed telephone according to the telephone number of the currently accessed telephone of the terminal.
In a preferred embodiment of the present invention, if the called user is currently cooking, the terminal may perform phone number identification on the currently accessed phone and determine a reply level of the currently accessed phone according to the identified phone number.
In one example, the terminal may obtain the number of telephone accesses corresponding to the identified telephone number and the number of telephone calls made to the telephone number by the called user from the record of telephone accesses within a recent period of time (e.g., a week), and then the terminal may calculate a ratio of the number of telephone calls made to the number of telephone accesses, and when the calculated ratio is lower than a first ratio threshold (e.g., 0.5), determine the reply level of the currently accessed telephone as: low; when the calculated ratio is above the first ratio threshold and below a second ratio threshold (e.g., 0.9), the reply level of the currently accessed phone is determined as: performing the following steps; when the calculated ratio is higher than the second ratio threshold, determining the reply grade of the currently accessed telephone as: high.
For example, the number of telephone accesses of the identified telephone number in one week is 10, wherein the called user answers 3 times, the terminal may calculate that the ratio of the number of telephone answers "3" to the number of telephone accesses "10" is 0.3, and if the first ratio threshold is 0.5, it may be determined that the reply level of the telephone currently accessed by the terminal is: low.
It should be noted that, if the terminal acquires the number of telephone accesses corresponding to the identified telephone number from the telephone access record in the latest period of time as 0, the terminal may determine whether the identified telephone number is a telephone number of a specific type (such as express), and if so, may directly determine the reply level of the currently accessed telephone as: high; if not, the reply grade of the currently accessed telephone can be directly determined as follows: low.
Wherein the terminal may determine through the server storing the specific type of phone number when determining whether the recognized phone number is the specific type of phone number. Specifically, the terminal may download a specific type of phone number table from the server, and then determine whether the identified phone number is a specific type of phone number according to the downloaded specific type of phone number table; alternatively, the terminal may transmit the recognized phone number to a server storing a phone number of a specific type, and the server determines whether the recognized phone number is the phone number of the specific type, and then the terminal may determine whether the recognized phone number is the phone number of the specific type according to the determination result of the server. Since this process is prior art, the preferred embodiment of the present invention is not described herein.
In another example, the terminal may determine, according to the identified number, a social account of the number, that is, a social account of a calling user of a phone currently accessed by the terminal, and then, the terminal may obtain, through a social application (such as a chat application), a number of messages sent by the called user to the calling user in a recent period and a total number of messages sent to all social friends, and the terminal may calculate a ratio of the number of messages sent by the called user to the calling user to the total number of messages sent to all social friends. When the calculated ratio is below a first ratio threshold (e.g., 0.2), the reply level of the currently accessed phone is determined as: low; when the calculated ratio is above the first ratio threshold and below a second ratio threshold (e.g., 0.6), the reply level of the currently accessed phone is determined as: performing the following steps; when the calculated ratio is higher than a second ratio threshold, determining the reply grade of the currently accessed telephone as: high.
For example, if the number of messages sent to the calling user by the called user in the last week is 200, and the total number of messages sent to all social friends is 500, the terminal may calculate a ratio of the number of messages sent to the calling user by the called user, "200", to the total number of messages sent to all social friends, "500", to be 0.4, and if the first ratio threshold is 0.2 and the second ratio threshold is 0.6, it may be determined that the reply level of the phone currently accessed by the terminal is: in (1).
Step three: when the reply grade is high, controlling the firepower of the intelligent cooker, and synchronizing the telephone accessed by the terminal to the intelligent cooker so that the user can receive the telephone through the intelligent cooker; when the reply grade is middle, determining the remaining time for the user to cook at this time, generating a reply short message or a reply voice according to the remaining time, and sending the reply short message or the reply voice to a calling user of the telephone; when the reply level is low, the call is ignored.
In the preferred embodiment of the invention, a speaker module and a microphone module are required to be arranged in the intelligent cooker, and based on the arranged speaker module and microphone module, the intelligent cooker can play voice to a user and collect voice of the user.
In the preferred embodiment of the present invention, if the reply level of the currently accessed phone of the terminal is high, the terminal may control the fire magnitude of the smart kitchen (e.g., reduce the fire of the smart kitchen) through the established communication connection, and control the smart kitchen to start the speaker function and the microphone function. The terminal can be connected with a currently accessed telephone, the voice of a calling user of the telephone is sent to the intelligent kitchen range in real time through the established communication connection, the intelligent kitchen range can play the voice sent by the terminal in real time through the loudspeaker, the voice of the called user collected through the microphone is sent to the terminal in real time, and the terminal can send the voice sent by the intelligent kitchen range in real time to the calling user of the telephone.
If the reply grade of the telephone currently accessed by the terminal is middle, the terminal can determine whether the called user opens the menu on the display interface of the terminal or the intelligent household equipment (such as an intelligent range hood, an intelligent kitchen range and the like) currently, and if the menu is opened, the terminal can determine the remaining time for the called user to cook according to the time length required for using the intelligent kitchen range recorded in the menu and the used time length of the intelligent kitchen range in the cooking process of the called user. After the remaining time length of the called user for cooking is determined, the terminal can generate a reply short message or a reply voice according to the remaining time length and send the reply short message or the reply voice to the calling user of the telephone.
In the preferred embodiment of the invention, if the called user does not open the menu on the display interface of the terminal or the intelligent household equipment at present, the terminal can inquire the remaining time for the user to cook at this time through the voice of the intelligent cooker, and the intelligent cooker can generate the reply short message or the reply voice according to the remaining time input by the voice of the user and send the reply short message or the reply voice to the calling user of the telephone.
If the reply grade of the currently accessed telephone of the terminal is low, the terminal can directly ignore the currently accessed telephone and does not ring the currently accessed telephone.
And determining a reply grade according to the telephone number of the telephone accessed by the terminal in the cooking process of the user, and replying the telephone currently accessed by the terminal according to a reply strategy corresponding to the reply grade.
The preferred embodiment of the invention can determine the reply grade according to the telephone number of the telephone accessed by the terminal in the cooking process of the user, and reply the telephone currently accessed by the terminal according to the reply strategy corresponding to the reply grade. Because the reply strategy can be determined according to the telephone number of the telephone currently accessed by the terminal, the situation that the user misses an important telephone can be avoided to a certain extent, and the cooking speed and the cooking efficiency are reduced due to invalid telephones, so that the user experience can be effectively improved.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, determining whether the first household equipment is used or not under the condition that the terminal is detected to receive the call of the calling party;
s2, acquiring identification information of the calling party under the condition that the first household equipment is in use, wherein the identification information is used for uniquely identifying the calling party;
and S3, determining a processing strategy corresponding to the identification information according to a preset rule, and executing an operation corresponding to the processing strategy on the terminal or the first household equipment.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may 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.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, determining whether the first household equipment is used or not under the condition that the terminal is detected to receive the call of the calling party;
s2, acquiring identification information of the calling party under the condition that the first household equipment is in use, wherein the identification information is used for uniquely identifying the calling party;
and S3, determining a processing strategy corresponding to the identification information according to a preset rule, and executing an operation corresponding to the processing strategy on the terminal or the first household equipment.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.