Summary of the invention
The purpose of the present invention is to provide avoid missing audio-video request, the user-friendly message that can be redirected
Output method, router and storage medium.
To achieve the above object, the present invention provides a kind of message output method, for the message of portable equipment to be output to
On smart machine, smart home APP is installed on the portable equipment comprising following steps,
Message is received by smart home APP;
Judge whether user is in, if the user is in, judges whether the user is using portable equipment;
If the portable equipment is not used in the user, received message is sent to smart machine;
After controlling smart machine reception message, prompt information is exported;
The smart machine receives the user and is directed to the first feedback information that the prompt information issues, and judges described the
Whether one feedback information is to allow to broadcast;
If first feedback information is to allow to broadcast, message is exported by smart machine to the user;
The second feedback information that the user issues is received, second feedback information is carried out by smart home APP
It replys.
Further, first feedback information is voice messaging.
Further, judge that second feedback information receives whether message is one species with by smart home APP
The message of type is then directly exported second feedback information by the smart machine if same type of message, if
For different types of message, then by second feedback information be converted into it is identical as the type of received message after export again.
Further, judge whether the message received is text information after receiving message by smart home APP, if
Text information then judges whether second feedback information is text information, if the second feedback information is not text information, leads to
It crosses the smart machine second feedback information is converted into text information and export again.
Further, the information that whether the reception user is in specifically includes:
It receives the portable equipment and whether the smart machine is located in same local area network, if the portable equipment and institute
It states smart machine to be located in same local area network, then the user is in, if the portable equipment is with the smart machine not same
In one local area network, then the user stays out.
Further, the portable equipment, the smart machine fill on the portable equipment with router communication connection
There is smart home APP, the information whether the reception user is in specifically includes:
Receive the smart home APP and whether the router be located at same local area network, if the smart home APP with
The router is located at same local area network, then the user is in, if the smart home APP is with the router not same
Local area network, then the user stays out.
Further, the portable equipment, the smart machine fill on the portable equipment with router communication connection
There is smart home APP, whether the reception user, which is in, specifically includes:
It receives the smart home APP and whether the smart machine is located at same local area network, if the smart home APP
It is located at same local area network with the smart machine, then the user is in, if the smart home APP and the smart machine are not
In same local area network, then the user stays out.
Further, receive whether user is specifically included using portable equipment: judging the screen of the portable equipment is
No to be lit, if the screen of the portable equipment is lit, the user is using the portable equipment, portable sets if described
Standby screen is non-lit up, then the portable equipment is not used in the user.
On the other hand, the invention further relates to a kind of routers comprising processor and memory interconnected,
In, the memory is for storing computer program, and the computer program includes program instruction, and the processor is configured to use
In calling described program instruction, above-mentioned message output method is executed.
On the other hand, the invention further relates to a kind of storage mediums, and the storage medium is stored with computer program, described
Computer program includes program instruction, and described program instruction makes the processor execute above-mentioned message when being executed by a processor
Output method.
The information received on portable equipment through the above steps, through the above steps, can be passed through intelligence by the present invention
Equipment is exported to user, when user being avoided to be in and portable equipment not at one's side when or missed messages etc. in mute state,
It not only can receive message, the operations such as smart machine casting and reply can also be passed through.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other when not making creative work
Embodiment belongs to the scope of protection of the invention.
It is clear in order to be more clear the purpose of the present invention, technical solution and advantageous effects, below in conjunction with this hair
Attached drawing in bright embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described
Embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field
Those of ordinary skill's every other embodiment obtained without making creative work, belongs to protection of the present invention
Range.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded
Body, step, operation, the presence or addition of element, component and/or its set.
Referring to Fig. 1, Fig. 1 is the flow diagram of the first embodiment of message output method of the invention.Incorporated by reference to
Fig. 5, Fig. 5 are the connection schematic diagrams of portable equipment provided by the invention.In present embodiment, for by the message of portable equipment 10
It is output on smart machine 20, smart home APP110 is installed on the portable equipment 10, as shown in Figure 1, present embodiment
Message output method include at least following steps:
Step S10: message is received by smart home APP110;
Smart home APP110 is installed on the portable equipment 10, user receives message by smart home APP110,
This message can be doorway machine message related to calls, audio chat messages or Video chat message, text chatting message etc..
Step S20: judging whether user is in, if the user is in, thens follow the steps S30;If the user does not exist
Family, then process terminates;
Step S30: judge whether user is using the portable equipment 10;If the portable equipment is not used in the user
10, then follow the steps S40;If user uses the portable equipment 10, S50 is thened follow the steps;
Step S40: after control smart machine 20 receives message, prompt information is exported;Then step S60 is executed;
In this step, prompt information can be " receiving a new information " or " receive the * * letter of * * user
Breath ", this prompt information can carry out free setting according to the demand of user, carry out judging whether to lead to after facilitating user to receive message
Subsequent mode is crossed to be broadcasted.
Step S50: judging whether to need to select the smart machine 20 to export, if desired select the smart machine 20,
Then follow the steps S80;If not needing to select the smart machine 20, process terminates;
Step S60: the smart machine 20 receives the user and is directed to the first feedback information that the prompt information issues;
Step S70: judging whether first feedback information is allowed to broadcast, if being allowed to broadcast, thens follow the steps
S80;If not being allowed to broadcast, process terminates;
In this step, user can be received described by smart machine 20 described in speech answering, the smart machine 20
First feedback information is to allow to broadcast, and thens follow the steps S80 and step S90.In the present embodiment, first feedback information
For voice messaging, such user only needs to say voice, and user experience is more preferable.
Step S80: message is exported by the smart machine 20 to the user;
In the present embodiment, the smart machine 20 is intelligent sound box, in this step, can directly pass through intelligent sound box
It broadcasts.
Step S90: the second feedback information that the user issues is received, second feedback information is passed through into the intelligence
Household APP110 is replied.
The information received on portable equipment 10 can be passed through smart machine 20 by S10~step S90 through the above steps
Export to user, when user being avoided to be in and portable equipment 10 not at one's side when or missed messages etc. in mute state, no
It only can receive message, the operation such as can also broadcast and reply by smart machine 20.
Referring to Fig. 2, Fig. 2 is the flow diagram of the second embodiment of message output method of the invention.Such as Fig. 2 institute
Show, the message output method of present embodiment includes at least following steps:
Step S10: message is received by smart home APP110;
Smart home APP110 is installed on the portable equipment 10, user receives message by smart home APP110,
This message can be doorway machine message related to calls, audio chat messages or Video chat message, text chatting message etc..
Step S20: judging whether user is in, if the user is in, thens follow the steps S30;If the user does not exist
Family, then process terminates;
Step S30: judge whether user is using the portable equipment 10;If the portable equipment is not used in the user
10, then follow the steps S40;If user uses the portable equipment 10, S50 is thened follow the steps;
Step S40: after control smart machine 20 receives message, prompt information is exported;Then step S60 is executed;
In this step, prompt information can be " receiving a new information " or " receive the * * letter of * * user
Breath ", this prompt information can carry out free setting according to the demand of user, carry out judging whether to lead to after facilitating user to receive message
Subsequent mode is crossed to be broadcasted.
Step S50: judging whether to need to select the smart machine 20 to export, if desired select the smart machine 20,
Then follow the steps S80;If not needing to select the smart machine 20, process terminates;
Step S60: the smart machine 20 receives the user and is directed to the first feedback information that the prompt information issues;
Step S70: judging whether first feedback information is allowed to broadcast, if being allowed to broadcast, thens follow the steps
S80;If not being allowed to broadcast, process terminates;
In this step, user can be received described by smart machine 20 described in speech answering, the smart machine 20
First feedback information is to allow to broadcast, and thens follow the steps S80 and step S90.In the present embodiment, first feedback information
For voice messaging, such user only needs to say voice, and user experience is more preferable.
Step S80: message is exported by the smart machine 20 to the user;
In the present embodiment, the smart machine 20 is intelligent sound box, in this step, can directly pass through intelligent sound box
It broadcasts.
Step S90: the second feedback information that the user issues is received, second feedback information is passed through into the intelligence
Household APP110 is replied.
Step S100: judge that second feedback information receives whether message is one species with by smart home APP
The message of type thens follow the steps S110 if same type of message;If different types of message, then follow the steps
S120;
Step S110: 20 are set by the intelligence and directly exports second feedback information;
Step S120: by second feedback information be converted into it is identical as the type of received message after export again.
Above step S90~step S120 can be replied according to the type for receiving message, and user is in the process used
In, if received message is text information, illustrate that other side inconvenient may send or receive voice messaging, then feedback information
It is also configured as text information, such user experience is more preferable.Specifically, judge to receive after receiving message by smart home APP
Message whether be text information, then judge whether second feedback information is text information if text information, if second
Feedback information is not text information, then it is defeated again second feedback information to be converted to text information by the smart machine
Out.In practice, second feedback information can be consistent with by smart home APP reception message, can also be different
It causes, can be configured and be exported with what kind of information to user according to the actual situation.
Referring to Fig. 3, Fig. 3 is the flow diagram of the third embodiment of message output method of the invention.Such as Fig. 3 institute
Show, the message output method of present embodiment includes at least following steps:
Step S10: message is received by smart home APP110;
Smart home APP110 is installed on the portable equipment 10, user receives message by smart home APP110,
This message can be doorway machine message related to calls, audio chat messages or Video chat message, text chatting message etc..
Step S20: receiving whether the portable equipment 10 is located in same local area network with the smart machine 20, if described
Portable equipment 10 and the smart machine 20 are located in same local area network, then follow the steps S30;If the portable equipment 10 and institute
Smart machine 20 is stated not in same local area network, then process terminates;
Step S30: receiving the information whether screen of the portable equipment 10 is lit, if the screen of the portable equipment 10
Curtain is non-lit up, thens follow the steps S40;If the screen of the portable equipment 10 is lit, S50 is thened follow the steps;
Step S40: after control smart machine 20 receives message, prompt information is exported, then executes step S60;
In this step, prompt information can be " receiving a new information " or " receive the * * letter of * * user
Breath ", this prompt information can carry out free setting according to the demand of user, carry out judging whether to lead to after facilitating user to receive message
Subsequent mode is crossed to be broadcasted.
Step S50: judging whether to need to select the smart machine 20 to export, if desired select the smart machine 20,
Then follow the steps S80;If not needing to select the smart machine 20, process terminates;
Step S60: the smart machine 20 receives the user and is directed to the first feedback letter that the prompt information issues
Breath:;
Step S70: judge that first feedback information whether to allow to broadcast, if allowing to broadcast, thens follow the steps S80;
If not allowing to broadcast, process terminates;
In this step, user can be received described by smart machine 20 described in speech answering, the smart machine 20
First feedback information is to allow to broadcast, and thens follow the steps S50 and step S60.In the present embodiment, first feedback information
For voice messaging, such user only needs to say voice, and user experience is more preferable.
Step S80: message is exported by the smart machine 20 to the user;
In the present embodiment, the smart machine 20 is intelligent sound box, in this step, can directly pass through intelligent sound box
It broadcasts.
Step S90: the second feedback information that the user issues is received, second feedback information is passed through into the intelligence
Household APP110 is replied.
Referring to Fig. 4, Fig. 4 is the flow diagram of the 4th embodiment of message output method of the invention.This implementation
It in mode, is illustrated for the message output method is applied to certain cell, as shown in figure 4, present embodiment disappears
It ceases output method and includes at least following steps:
Step S10: message is received by smart home APP110;
Smart home APP110 is installed on the portable equipment 10, user receives message by smart home APP110,
This message can be doorway machine message related to calls, audio chat messages or Video chat message, text chatting message etc..It is described just
Take equipment 10, the smart machine 20 with 30 communication connection of router.
Step S20: receiving the smart home APP110 and whether the router 30 is located at same local area network, if described
Smart home APP110 and the router 30 are located at same local area network, then follow the steps S30;If the smart home APP110
With the router 30 not in same local area network, then process terminates;
In other embodiments, it also can receive whether the smart home APP110 is located at the smart machine 20
Same local area network thens follow the steps S30 if the smart home APP110 and the smart machine 20 are located at same local area network;
If the smart home APP110 and the smart machine 20 be not in same local area network, process terminates;
Step S30: whether the CPU usage for receiving the portable equipment 10 gets higher, if the CPU of the portable equipment 10 makes
It is constant with rate, then follow the steps S40;If the CPU usage of the portable equipment 10 is got higher, S50 is thened follow the steps;
In this step, whether can also be lit while be judged in conjunction with the screen of the portable equipment 10, if described
The CPU usage of portable equipment 10 is constant, while the screen of the portable equipment 10 is non-lit up, thens follow the steps S40;If institute
The CPU usage for stating portable equipment 10 is got higher, and the screen of the portable equipment 10 is lit, and thens follow the steps S50;It so can be with
More accurately judge whether user uses the portable equipment 10.
Step S40: after control smart machine 20 receives message, prompt information is exported, then executes step S60;
In this step, prompt information can be " receiving a new information " or " receive the * * letter of * * user
Breath ", this prompt information can carry out free setting according to the demand of user, carry out judging whether to lead to after facilitating user to receive message
Subsequent mode is crossed to be broadcasted.
Step S50: judging whether to need to select the smart machine 20 to export, if desired select the smart machine 20,
Then follow the steps S80;If not needing to select the smart machine 20, process terminates;
Step S60: the smart machine 20 receives the user and is directed to the first feedback information that the prompt information issues;
Step S70: judge that first feedback information whether to allow to broadcast, if allowing to broadcast, thens follow the steps S80;
If not allowing to broadcast, process terminates;
In this step, user can be received described by smart machine 20 described in speech answering, the smart machine 20
First feedback information is to allow to broadcast, and thens follow the steps S50 and step S60.In the present embodiment, first feedback information
For voice messaging, such user only needs to say voice, and user experience is more preferable.
Step S80: message is exported by the smart machine 20 to the user;
In the present embodiment, the smart machine 20 is intelligent sound box, in this step, can directly pass through intelligent sound box
It broadcasts.
Step S90: the second feedback information that the user issues is received, second feedback information is passed through into the intelligence
Household APP110 is replied.
Fig. 5 is referred to, Fig. 5 is a kind of corresponding portable equipment of first embodiment of the invention.The portable equipment 10, intelligence
Can equipment 20 with 30 communication connection of router.The portable equipment 10 includes controller interconnected and processor.Wherein,
Memory is provided in the controller, wherein for storing computer program, the computer program includes the memory
Program instruction, the memory may include high-speed random access memory (Random Access Memory, RAM), can also
It can further include non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.The processing
Device is configured for calling described program instruction, executes message output method described in step S10~step S90.
Above-mentioned storage medium can be the internal storage device of aforementioned controllers.The storage medium is also possible to outside and deposits
The plug-in type intelligent memory card (Smart Media Card, SMC) being equipped in storage equipment, such as the wireless switching, safe number
Word (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the storage medium can also be wrapped both
The internal storage unit for including the wireless switching also includes External memory equipment.The storage medium is for storing the computer
Other programs and data needed for program and the terminal.The storage medium can be also used for temporarily storing exported or
The data that person will export.The computer program includes program instruction, and described program instruction makes institute when being executed by a processor
It states processor and executes message output method described in step S10~step S90.
Message output method in above-mentioned second embodiment, the connection type of the portable equipment 10 and described first is in fact
It is identical to apply mode.The i.e. described portable equipment 10, smart machine 20 with 30 communication connection of router.The portable equipment 10 includes
Controller and processor interconnected.Wherein, memory is provided in the controller, wherein the memory is for depositing
Computer program is stored up, the computer program includes program instruction, and the memory may include high-speed random access memory
(Random Access Memory, RAM), it is also possible to it further include non-labile memory (non-volatile memory),
A for example, at least magnetic disk storage.The processor is configured for calling described program instruction, executes step S10~step
Message output method described in S120.
Above-mentioned storage medium can be the internal storage device of aforementioned controllers.The storage medium is also possible to outside and deposits
The plug-in type intelligent memory card (Smart Media Card, SMC) being equipped in storage equipment, such as the wireless switching, safe number
Word (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the storage medium can also be wrapped both
The internal storage unit for including the wireless switching also includes External memory equipment.The storage medium is for storing the computer
Other programs and data needed for program and the terminal.The storage medium can be also used for temporarily storing exported or
The data that person will export.The computer program includes program instruction, and described program instruction makes institute when being executed by a processor
It states processor and executes message output method described in step S10~step S120.
Message output method in above-mentioned third embodiment, the connection type of the portable equipment 10 and described first is in fact
It is identical to apply mode.The i.e. described portable equipment 10, smart machine 20 with 30 communication connection of router.The portable equipment 10 includes
Controller and processor interconnected.Wherein, memory is provided in the controller, wherein the memory is for depositing
Computer program is stored up, the computer program includes program instruction, and the memory may include high-speed random access memory
(Random Access Memory, RAM), it is also possible to it further include non-labile memory (non-volatile memory),
A for example, at least magnetic disk storage.The processor is configured for calling described program instruction, executes step S10~step
Message output method described in S90.
Above-mentioned storage medium can be the internal storage device of aforementioned controllers.The storage medium is also possible to outside and deposits
The plug-in type intelligent memory card (Smart Media Card, SMC) being equipped in storage equipment, such as the wireless switching, safe number
Word (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the storage medium can also be wrapped both
The internal storage unit for including the wireless switching also includes External memory equipment.The storage medium is for storing the computer
Other programs and data needed for program and the terminal.The storage medium can be also used for temporarily storing exported or
The data that person will export.The computer program includes program instruction, and described program instruction makes institute when being executed by a processor
It states processor and executes message output method described in step S10~step S90.
Message output method in above-mentioned 4th embodiment, the connection type of the portable equipment 10 and described first is in fact
It is identical to apply mode.The i.e. described portable equipment 10, smart machine 20 with 30 communication connection of router.The portable equipment 10 includes
Controller and processor interconnected.Wherein, memory is provided in the controller, wherein the memory is for depositing
Computer program is stored up, the computer program includes program instruction, and the memory may include high-speed random access memory
(Random Access Memory, RAM), it is also possible to it further include non-labile memory (non-volatile memory),
A for example, at least magnetic disk storage.The processor is configured for calling described program instruction, executes step S10~step
Message output method described in S90.
Above-mentioned storage medium can be the internal storage device of aforementioned controllers.The storage medium is also possible to outside and deposits
The plug-in type intelligent memory card (Smart Media Card, SMC) being equipped in storage equipment, such as the wireless switching, safe number
Word (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the storage medium can also be wrapped both
The internal storage unit for including the wireless switching also includes External memory equipment.The storage medium is for storing the computer
Other programs and data needed for program and the terminal.The storage medium can be also used for temporarily storing exported or
The data that person will export.The computer program includes program instruction, and described program instruction makes institute when being executed by a processor
It states processor and executes message output method described in step S10~step S90.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
In the form of software realize and when sold or used as an independent product, can store computer-readable at one
It takes in storage medium.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art
The all or part of part or the technical solution can be embodied in the form of software products, the computer software
Product is stored in a storage medium, including some instructions are used so that computer equipment (it can be personal computer,
Server or the network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.And it above-mentioned deposits
Storage media include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), the various media that can store program code such as magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection scope subject to.