CN116527425A - Message processing method and device, storage medium and electronic device - Google Patents

Message processing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN116527425A
CN116527425A CN202310340663.7A CN202310340663A CN116527425A CN 116527425 A CN116527425 A CN 116527425A CN 202310340663 A CN202310340663 A CN 202310340663A CN 116527425 A CN116527425 A CN 116527425A
Authority
CN
China
Prior art keywords
message
processed
processing
information
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310340663.7A
Other languages
Chinese (zh)
Inventor
穆瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd, Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202310340663.7A priority Critical patent/CN116527425A/en
Publication of CN116527425A publication Critical patent/CN116527425A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • H04L12/2825Reporting to a device located outside the home and the home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • H04L12/2827Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality
    • H04L12/2829Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality involving user profiles according to which the execution of a home appliance functionality is automatically triggered
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • H04L2012/285Generic home appliances, e.g. refrigerators
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The method comprises the steps of generating a first message to be processed, judging whether the first message to be processed is sent or not according to preset processing logic, determining current equipment based on pre-stored information to be determined under the condition that the first message to be processed is determined to be sent, and sending the first message to be processed to the current equipment, so that the current equipment broadcasts and/or displays the first message to be processed under the condition that the first message to be processed is determined to meet preset processing conditions. And broadcasting and/or displaying the first message to be processed under the condition that the first message to be processed is not transmitted. Therefore, aiming at different intelligent household appliances, the user can be ensured to know the message in time, and the use experience of the user is improved.

Description

Message processing method and device, storage medium and electronic device
Technical Field
The application relates to the technical field of smart home/smart home, in particular to a message processing method, a message processing device, a storage medium and an electronic device.
Background
Along with the development of science and technology, the specific gravity of the intelligent household appliances in daily life of people is larger and larger, and great convenience is brought to the life of people.
At present, the intelligent household appliance can actively push messages to users, so that the users can acquire corresponding information in time. At present, under the condition that a message is required to be pushed, the flow for processing the message is as follows: and the intelligent household appliance judges whether the corresponding message triggering condition is met according to the state information reported by the intelligent household appliance, and performs message processing under the condition that the message triggering condition is met, so that the message is pushed to the user.
However, in the current living scene of the user, a plurality of intelligent home appliances capable of processing messages exist, the message processing capacities of the intelligent home appliances are different, the current message processing flow cannot meet the pushing requirements of the different intelligent home appliances, the user cannot know the messages in time, and the use experience of the user is reduced.
Disclosure of Invention
The application provides a message processing method, a message processing device, a storage medium and an electronic device, which are used for solving the defect that the processing requirements of different intelligent household appliances cannot be met in the message processing flow under the condition that a message is required to be pushed in the prior art, realizing the intelligent household appliances aiming at different business scenes, completing the message processing corresponding to different intelligent household appliances, and improving the use experience of users.
The application provides a message processing method, which comprises the following steps:
generating a first message to be processed;
judging whether to send the first message to be processed according to preset processing logic;
under the condition that the first message to be processed is determined to be sent, determining current equipment based on pre-stored information to be determined, and sending the first message to be processed to the current equipment, so that the current equipment broadcasts and/or displays the first message to be processed under the condition that the first message to be processed is determined to meet preset processing conditions;
and broadcasting and/or displaying the first message to be processed under the condition that the first message to be processed is not transmitted.
According to the message processing method provided by the application, the information to be determined comprises area indication information and/or equipment indication information;
the step of determining the current device based on the pre-stored information to be determined comprises at least one of the following;
when the information to be determined comprises the region indication information, using the equipment with processing capability in the region corresponding to the region indication information as current equipment according to the region indication information, wherein the region indication information is preset region information or preset appointed region information;
When the information to be determined comprises the equipment indication information, taking equipment corresponding to the equipment indication information as current equipment according to the equipment indication information;
and when the information to be determined comprises the area indication information and the equipment indication information, taking the equipment corresponding to the equipment indication information and positioned in the area corresponding to the area indication information as current equipment according to the area indication information and the equipment indication information.
According to the message processing method provided by the application, the step of determining the current device based on the pre-stored information to be determined further comprises the following steps:
and taking the device with processing capability corresponding to the user information as the current device according to the pre-bound user information under the condition that the region indication information and/or the device indicated by the device indication information are empty.
According to the message processing method provided by the application, the step of judging whether to send the first message to be processed according to preset processing logic comprises the following steps:
determining a control function to be used under the condition that the processing logic is priority processing logic;
If the control function to be used comprises a broadcasting function and/or a display function, the first message to be processed is not sent;
and sending the first message to be processed under the condition that the control function to be used does not comprise the broadcasting function and the display function.
According to the message processing method provided by the application, the step of judging whether to send the first message to be processed according to preset processing logic comprises the following steps:
and determining to send the first message to be processed in the case that the processing logic is specified processing logic or random processing logic.
According to the message processing method provided by the application, the method further comprises the following steps:
receiving a second message to be processed;
judging whether the capability of processing the second message to be processed is provided according to the processing information carried by the second message to be processed;
processing the second message to be processed according to the processing information under the condition that the capability of processing the second message to be processed is determined;
and under the condition that the capability of processing the second message to be processed is not provided, sending processing failure information to equipment corresponding to the second message to be processed.
According to the message processing method provided by the application, the processing information comprises a processing mode and a device identifier;
the step of judging whether the second message to be processed is provided with the capability of processing the second message to be processed comprises the following steps:
judging whether the capability corresponding to the processing mode is provided according to the processing mode;
judging whether the equipment identifier meets a preset corresponding condition according to the equipment identifier;
determining that the capability of processing the second message to be processed is provided under the condition that the capability corresponding to the processing mode is provided and the equipment identifier meets the preset corresponding condition;
and determining that the capability of processing the second message to be processed is not provided under the condition that the capability corresponding to the processing mode is not provided and/or the equipment identifier does not meet the preset corresponding condition.
The application also provides a message processing device, which comprises:
the generation module is used for generating a first message to be processed;
the judging module is used for judging whether the first message to be processed is sent or not according to preset processing logic;
the sending module is used for determining current equipment based on pre-stored information to be determined under the condition that the first message to be processed is determined to be sent, and sending the first message to be processed to the current equipment, so that the current equipment broadcasts and/or displays the first message to be processed under the condition that the first message to be processed is determined to meet preset processing conditions;
And the processing module is used for broadcasting and/or displaying the first message to be processed under the condition that the first message to be processed is not transmitted.
The present application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to implement a message processing method as described in any of the above by execution of the computer program.
The present application also provides a computer-readable storage medium comprising a stored program, wherein the program when run performs a message processing method according to any one of the above.
According to the message processing method, the device, the storage medium and the electronic device, whether the first message to be processed is sent is judged according to preset processing logic by generating the first message to be processed, under the condition that the first message to be processed is determined to be sent, the current equipment is determined based on the pre-stored information to be determined, and the first message to be processed is sent to the current equipment, so that the current equipment broadcasts and/or displays the first message to be processed under the condition that the first message to be processed meets preset processing conditions. And broadcasting and/or displaying the first message to be processed under the condition that the first message to be processed is not transmitted.
By means of the method, whether the first message to be processed is sent or not can be judged according to preset processing logic of the intelligent household appliance, so that broadcasting and/or displaying of the first message to be processed is achieved, namely the first message to be processed is pushed to a user, and therefore, for different intelligent household appliances, the user can be guaranteed to know the message in time, and the use experience of the user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of a message processing method according to an embodiment of the present application;
FIG. 2 is one of the flow diagrams of the message processing method provided in the present application;
FIG. 3 is a second flow chart of the message processing method provided in the present application;
FIG. 4 is a third flow chart of the message processing method provided in the present application;
FIG. 5 is a flow chart of a message processing method provided by the present application;
FIG. 6 is a fifth flow chart of the message processing method provided in the present application;
FIG. 7 is a schematic diagram of a message processing apparatus provided herein;
fig. 8 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one aspect of the embodiments of the present application, a message processing method is provided. The message processing method is widely applied to full-house intelligent digital control application scenes such as intelligent Home (Smart Home), intelligent Home equipment ecology, intelligent Home (Intelligence House) ecology and the like. Alternatively, in the present embodiment, the above-described message processing method may be applied to a hardware environment constituted by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be used to provide services (such as application services and the like) for a terminal or a client installed on the terminal, a database may be set on the server or independent of the server, for providing data storage services for the server 104, and cloud computing and/or edge computing services may be configured on the server or independent of the server, for providing data computing services for the server 104.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: a wide area network, a metropolitan area network, a local area network, and the wireless network may include, but is not limited to, at least one of: WIFI (Wireless Fidelity ), bluetooth. The terminal device 102 may not be limited to a PC, a mobile phone, a tablet computer, an intelligent air conditioner, an intelligent smoke machine, an intelligent refrigerator, an intelligent oven, an intelligent cooking range, an intelligent washing machine, an intelligent water heater, an intelligent washing device, an intelligent dish washer, an intelligent projection device, an intelligent television, an intelligent clothes hanger, an intelligent curtain, an intelligent video, an intelligent socket, an intelligent sound box, an intelligent fresh air device, an intelligent kitchen and toilet device, an intelligent bathroom device, an intelligent sweeping robot, an intelligent window cleaning robot, an intelligent mopping robot, an intelligent air purifying device, an intelligent steam box, an intelligent microwave oven, an intelligent kitchen appliance, an intelligent purifier, an intelligent water dispenser, an intelligent door lock, and the like.
In order to achieve intelligent home appliances aiming at different service scenes and complete message processing corresponding to different intelligent home appliances, so that the use experience of a user is improved, the embodiment of the application provides a message processing method, a device, a computer-readable storage medium, an electronic device and a computer program product. A message processing method provided in an embodiment of the present application is described below with reference to fig. 2.
As shown in fig. 2, an embodiment of the present application provides a message processing method, where the method includes:
s201, a first message to be processed is generated.
The intelligent household appliance (electronic device) can monitor the running state of the household appliance in real time, and can generate a first message to be processed corresponding to the household appliance under the condition that the running state of the household appliance meets the preset message triggering condition.
The first message to be processed is a message to be pushed to the user, that is, a message about the running state of the intelligent home appliance, which the user needs to know. The preset message triggering conditions corresponding to the household appliances can be the same or different.
In the case of generating the first message to be processed, the message to be processed may be broadcasted and/or displayed by the home device itself. And the first message to be processed can be sent to other household appliances for broadcasting and/or displaying. The first message to be processed can also be sent to a mobile phone and other devices bound with the household appliance, so that the first message to be processed is broadcasted and/or displayed.
S202, judging whether to send the first message to be processed according to preset processing logic.
In order to ensure that the first message to be processed can be broadcasted and/or displayed, whether the first message to be processed is sent or not can be judged according to preset processing logic of the intelligent household appliance. The preset processing logic may be preset processing logic according to a function of the intelligent home appliance. The preset processing logic may also be processing logic preset according to the usage habit of the user.
The preset processing logic may include priority processing logic, designation processing logic, and random processing logic. The priority processing logic is logic for processing the first message to be processed by preferentially adopting the intelligent household appliance for generating the first message to be processed, and the designated processing logic can comprise designated equipment processing logic, designated area and equipment processing logic and the like. Each intelligent home appliance can comprise at least one processing logic, and can be specifically set according to actual use conditions.
For example, the smart home appliance is provided with a speaker and/or a display screen, which indicates that the smart home appliance has a broadcasting function and/or a display function, and thus, the preset processing logic may include priority processing logic.
The designated processing logic and the random processing logic are both processing logic that needs to send a first message to be processed. That is, in the case where the processing logic set in advance is the priority designation processing logic and/or the random processing logic, it may be determined to transmit the first message to be processed.
In the case of determining to send the first message to be processed, step S203 may be performed, that is, determining a current device based on the pre-stored information to be determined, and sending the first message to be processed to the current device, so that the current device broadcasts and/or displays the first message to be processed in the case of determining that the first message to be processed meets the preset processing condition.
In case it is determined that the first message to be processed is not sent, step S204 may be performed, i.e. the first message to be processed is broadcasted and/or displayed. That is, the first message to be processed is broadcasted and/or displayed through the intelligent household appliance.
It can be seen that in this embodiment, whether to send the first message to be processed may be determined according to processing logic preset by the smart home appliance, so as to broadcast and/or display the first message to be processed, that is, push the first message to be processed to the user.
As an implementation manner of the embodiment of the present application, the information to be determined includes area indication information and/or device indication information.
The step of determining the current device based on the pre-stored information to be determined may include at least one of the following;
in a first manner, when the information to be determined includes the region instruction information, according to the pre-stored region instruction information, a device with processing capability in a region corresponding to the region instruction information is used as a current device. The area indication information is preset area information or preset appointed area information.
The preset area information is information indicating a preset area in which the intelligent home appliance generating the first message to be processed is the midpoint, and when the area indication information is the preset area information of the intelligent home appliance generating the first message to be processed, devices (intelligent home appliances) having processing capabilities in the preset area around the intelligent home appliance can be used as current devices.
For example, a device having processing capability in the same room as the present smart home appliance may be used as the current device. Under the condition that a plurality of devices with processing capability are located in the same room with the intelligent household appliance, one of the devices can be selected randomly as the current device, and the current device can be determined according to preset weights.
The preset indication area may be information of a certain area designated in advance, specifically may be preset for a user, and may also be set according to historical usage preferences of the user for using different intelligent home appliances in different time periods.
For example, according to the time of generating the first message to be processed, the commonly used intelligent home appliances of the user at the time can be determined, and the room corresponding to the commonly used intelligent home appliances is used as the preset indication area. The room corresponding to the common intelligent household appliance can comprise at least one room.
In the case where the area instruction information is a preset instruction area, a device (smart home appliance) having processing capability in the preset instruction area may be used as the current device. For example, a device (commonly used smart home) having processing capability in a room corresponding to the commonly used smart home may be used as the current device.
In a second mode, when the information to be determined includes equipment indication information, according to the pre-stored equipment indication information, taking the equipment corresponding to the equipment indication information as current equipment. The device indication information may be information of a device pre-designated by a user and used for processing a first message to be processed of the intelligent home appliance.
In a third mode, when the information to be determined includes area indication information and equipment indication information, according to the area indication information and the equipment indication information, the equipment corresponding to the equipment indication information is used as current equipment, wherein the equipment is located in an area corresponding to the area indication information.
The fourth mode may determine the current device according to the preset first weight information, and any two of the first mode, the second mode, and the third mode. Specifically, the current device may be determined according to the mode with higher weight indicated by the first weight information, and in the case that the current device cannot be determined by the mode with higher weight, the current device is determined by the mode with lower weight.
In the case of the fourth mode, if the current device is determined by adopting the third mode, the weight corresponding to the third mode is greater than the weight corresponding to the other mode.
For example, the first weight information indicates that the weight of the third mode is greater than the weight of the first mode, and therefore, the preset indication device in the preset indication area may be used as the current device, and in the case where the specified device does not exist in the preset indication area or is unavailable in the preset indication area, the current device may be determined in the first mode, that is, the device having the processing capability in the preset indication area may be used as the current device.
And a fifth mode, wherein the current equipment can be determined according to the preset second weight information, the first mode, the second mode and the third mode. Specifically, the current device may be determined according to the mode with the highest weight indicated by the second weight information, and if the current device cannot be determined according to the mode with the highest weight, the current device is determined according to the mode with the second highest weight. And under the condition that the current equipment cannot be determined in the mode with the second highest weight, determining the current equipment in the mode with the lowest weight.
In the fifth mode, the weight corresponding to the third mode is greater than the weight corresponding to the other two modes, that is, the weight corresponding to the third mode is greater than the weight corresponding to the first mode and the weight corresponding to the second mode.
For example, the first weight information indicates that the weight of the third mode is greater than the weight of the first mode, and the weight of the first mode is greater than the weight corresponding to the second mode, so that the preset indication device in the preset indication area may be used as the current device, and when the specified device does not exist in the preset indication area or is unavailable in the preset indication area, the current device may be determined in the first mode, that is, the device with the processing capability in the preset indication area may be used as the current device. And under the condition that the equipment which does not have the output capability in the preset indication area or the equipment which has the processing capability in the preset indication area is unavailable, the equipment corresponding to the equipment indication information can be used as the current equipment.
It can be seen that, in this embodiment, the current device may be determined in a corresponding manner according to different information, that is, the corresponding current device (other intelligent home appliances) may be determined according to different situations corresponding to different intelligent home appliances, so as to implement broadcasting and/or displaying the first message to be processed, that is, push the first message to be processed to the user, thereby improving the use experience of the user.
As an implementation manner of the embodiment of the present application, the step of determining the current device based on the pre-stored information to be determined may further include:
and taking the device with processing capability corresponding to the user information as the current device according to the pre-bound user information under the condition that the region indication information and/or the device indicated by the device indication information are empty. The user information is bound in the intelligent household appliance generating the first information to be processed in advance.
In the first aspect, when the device having no processing capability in the area corresponding to the area instruction information or the device having processing capability in the area corresponding to the area instruction information is not available, the device having processing capability corresponding to the user information may be used as the current device according to the user information bound in advance.
In the second mode, when there is no device corresponding to the device indication information or the device corresponding to the device indication information is unavailable, the device with processing capability corresponding to the user information may be used as the current device according to the user information bound in advance.
In the third aspect, when the device indication information corresponding device in the area corresponding to the area indication information does not exist or the device indication information corresponding device in the area corresponding to the area indication information is unavailable, the device with processing capability corresponding to the user information may be used as the current device according to the user information bound in advance.
For the fourth mode, when the current device cannot be determined by the mode with the lower weight or the current device determined by the mode with the lower weight is unavailable, the device with the processing capability corresponding to the user information may be used as the current device according to the user information bound in advance.
For the fifth mode, when the current device cannot be determined by the mode with the lowest weight or the current device determined by the mode with the lowest weight is not available, the device with the processing capability corresponding to the user information may be used as the current device according to the user information bound in advance.
In one embodiment, the plurality of devices with processing capability corresponding to the user information may be included, and further, one device may be randomly selected from the devices with processing capability corresponding to the user information as the current device.
As another embodiment, each device has corresponding priority information, and the device with the highest priority can be determined as the current device from the devices with processing capability corresponding to the user information according to the priority information.
It can be seen that, in this embodiment, when there is no area indication information and/or device corresponding to the device indication information, the device with processing capability corresponding to the user information may be used as the current device, which is equivalent to selecting the device with processing capability from the family corresponding to the user, so that the user can be further ensured to learn about the message in time, and the use experience of the user is improved.
As an implementation manner of the embodiment of the present application, the step of determining whether to send the first message to be processed according to preset processing logic may include:
in the case where the processing logic is priority processing logic, a control function to be used is determined. The priority processing logic may be logic that processes the first message to be processed by preferentially adopting the intelligent home appliance that generates the first message to be processed.
And in the case that the control function to be used comprises a broadcasting function and/or a display function, not sending the first message to be processed. That is, in the case that the smart home device that generates the first to-be-processed message can process the first to-be-processed message, the first to-be-processed message may be broadcasted and/or displayed by the smart home device that generates the first to-be-processed message.
And sending the first message to be processed under the condition that the first message to be processed cannot be broadcasted and/or displayed. That is, when the intelligent home appliance that generates the first message to be processed cannot process the first message to be processed, the first message to be processed may be sent to other intelligent home appliances, and the first message to be processed may be broadcasted and/or displayed by the other intelligent home appliances.
As an implementation manner of the embodiment of the present application, the step of determining whether to send the first message to be processed according to preset processing logic may include:
and determining to send the first message to be processed in the case that the processing logic is specified processing logic or random processing logic. The specified processing logic and the random processing logic are logic for processing the first message to be processed through other intelligent household appliances.
It can be seen that, in this embodiment, whether to send the first message to be processed may be determined according to different situations corresponding to the processing logic, so as to process the first message to be processed subsequently.
In order to facilitate understanding of the message processing method provided in the embodiments of the present application, the message processing method provided in the embodiments of the present application is described below with reference to specific examples:
as shown in fig. 3, in the case where the processing logic is priority processing logic and the processing manner is to broadcast the first message to be processed, the following steps may be performed:
s301, judging whether the intelligent household appliance can broadcast a first message to be processed or not; in the case where the first message to be processed can be broadcasted, step S302 is performed. In the case where the first message to be processed cannot be broadcasted, step S303 is performed.
That is, it is determined whether the smart home terminal that generated the first message to be processed has the broadcasting capability, if so, step S302 is executed, and if not, step S303 is executed.
In addition, in the case where the first message to be processed cannot be broadcasted, step S305 may also be performed, which is not shown in fig. 3.
S302, broadcasting a first message to be processed.
S303, judging whether equipment with broadcasting capability exists in a room where the intelligent household electrical appliance is located. In the case of a device having broadcast capability, step S304 is performed. In the case of a device not having broadcasting capability, step S305 is performed.
Step S303 corresponds to the first mode, that is, according to the pre-stored area indication information, the device with the processing capability in the area corresponding to the area indication information is used as the current device.
S304, a first message to be processed is broadcasted by adopting equipment with broadcasting capability in a room where the intelligent household appliance is located.
And S305, according to the pre-bound user information, using the device with the broadcasting capability corresponding to the user information as the current device, and broadcasting a first message to be processed through the current device.
For the above-mentioned fig. 3, a specific application scenario may be that if the first message to be processed is generated by the intelligent home appliance with the broadcasting function, the first message to be processed is broadcast by the intelligent home appliance with the broadcasting function. For example, the message generated by voice refrigerator a is broadcast at voice refrigerator a.
If the first message to be processed is triggered by the non-voice device, the first message to be processed is broadcasted by the voice device in the same room. For example, a non-voice air conditioning message is broadcast in a sound box in the same room. If the same room has no voice equipment, the equipment with broadcasting capability (namely equipment with broadcasting capability corresponding to the user information) in the same room is adopted to randomly broadcast the first message to be processed.
As shown in fig. 4-6, in the case where the processing logic is a designated processing logic or a random processing logic, and the processing manner is to broadcast the first message to be processed, the following steps may be performed:
as shown in fig. 4, the following steps may be performed.
S401, judging whether equipment corresponding to the equipment indication information exists or not; in the case where there is a device corresponding to the device indication information, step S402 is performed. In the case where there is no device corresponding to the device indication information, step S403 is performed.
Step S401 corresponds to the second manner described above, that is, according to the device indication information stored in advance, the device corresponding to the device indication information is used as the current device.
S402, broadcasting a first message to be processed by adopting equipment corresponding to the equipment indication information.
S403, according to the pre-bound user information, using the device with the broadcasting capability corresponding to the user information as the current device, and broadcasting the first message to be processed through the current device.
For the above-mentioned fig. 4, a specific application scenario may be that, in the case of generating the first message to be processed, the first message to be processed may be preferentially broadcasted by using the device corresponding to the device indication information, for example, the first message to be processed generated by the non-voice oven may be broadcasted by specifying the voice refrigerator.
If no device is specified, the first message to be processed may be randomly broadcasted by a device with broadcasting capability (i.e. a device with broadcasting capability corresponding to the user information) in the same home.
As shown in fig. 5, the following steps may be performed.
S501, judging whether equipment corresponding to equipment indication information exists in a room where the intelligent household electrical appliance is located. If any, step S502 is performed. In the absence, step S503 is performed.
Step S501 corresponds to the third mode, that is, according to the pre-stored processing instruction information, the device instruction information corresponding device in the area corresponding to the area instruction information is taken as the current device.
S502, broadcasting a first message to be processed by adopting equipment corresponding to equipment indication information in a room where the intelligent household appliance is located.
And S503, according to the pre-bound user information, using the device with the broadcasting capability corresponding to the user information as the current device, and broadcasting a first message to be processed through the current device.
As shown in fig. 6, the following steps may be performed.
S601, judging whether equipment corresponding to the equipment indication information exists in a preset indication area. If any, step S602 is performed. In the absence, step S603 is performed.
S602, broadcasting a first message to be processed by adopting equipment corresponding to equipment indication information in a preset indication area.
S603, judging whether equipment with broadcasting capability exists in the preset indication area. If so, step S604 is performed. If not, step S605 is executed.
S604, broadcasting a first message to be processed by adopting equipment with broadcasting capability in a preset indication area.
S605, according to the pre-bound user information, using the device with the broadcasting capability corresponding to the user information as the current device, and broadcasting the first message to be processed through the current device.
As an implementation manner of the embodiment of the present application, the method may further include:
and receiving a second message to be processed, wherein the second message to be processed is a message which is formed by other intelligent household appliances and is sent to the intelligent household appliances.
Judging whether the capability of processing the second message to be processed is provided according to the processing information carried by the second message to be processed.
And processing the second message to be processed according to the processing information under the condition that the capability of processing the second message to be processed is determined.
And under the condition that the capability of processing the second message to be processed is not provided, sending processing failure information to equipment corresponding to the second message to be processed.
The processing information includes a processing mode and an equipment identifier, where the processing mode is a mode of processing the second message to be processed, and specifically may be broadcasting and/or displaying. The device identification may be an identification of a device generating the second pending message and/or an identification of a device receiving the second pending message.
The step of determining whether the capability of processing the second message to be processed is provided may include:
and judging whether the intelligent household appliance receiving the second message to be processed has the capacity corresponding to the processing mode or not according to the processing mode. In one case, the smart home appliance that receives the second pending message does not have a capability corresponding to the processing manner, which indicates that the second pending message may be sent incorrectly, so that processing failure information of the sending error may be generated to the device that generates the second pending message.
In another case, the intelligent home appliance receiving the second message to be processed has the function corresponding to the processing mode but the function is unavailable, so that the intelligent home appliance receiving the second message to be processed does not have the capability corresponding to the processing mode, and further, the processing failure information which can generate the function unavailable can be determined to the equipment corresponding to the second message to be processed.
And determining whether the equipment identifier meets a preset corresponding condition according to the equipment identifier. And under the condition that the equipment identifier is inconsistent with the equipment identifier of the intelligent household appliance for receiving the second message to be processed, the equipment identifier does not meet the preset corresponding condition, which indicates that the second message to be processed possibly sends an error, so that the processing failure information for sending the error can be generated to the equipment corresponding to the second message to be processed.
And under the condition that the capability corresponding to the processing mode is not consistent with the device identifier of the intelligent household appliance receiving the second message to be processed, the intelligent household appliance receiving the second message to be processed is indicated to have the capability corresponding to the processing mode, and the device identifier meets the preset corresponding condition, so that the capability of processing the second message to be processed is determined. Thus, the second message to be processed can be processed according to the processing information.
And determining that the intelligent household appliance which receives the second message to be processed does not have the capability of processing the second message to be processed under the condition that the intelligent household appliance which receives the second message to be processed does not have the capability corresponding to the processing mode and/or the equipment identifier does not meet the preset corresponding condition. Further, the processing failure information may be sent to a device that generates the second message to be processed.
It can be seen that in this embodiment, it may be determined whether the capability of processing the second message to be processed is provided, so that different steps are performed, so that the user can learn about the message more timely, and further improve the use experience of the user.
As an implementation manner of the embodiment of the present application, each logic corresponding to the processing manner may be generated into a corresponding processing algorithm, and when a new logic occurs, the processing algorithm may be extended on the basis of the calculation method.
The processing algorithm corresponding to the processing mode provided by the embodiment of the application can be used for designating to process the message to be processed (the first message to be processed and the second message to be processed) aiming at different scenes, and can meet the requirements of various tasked scenes.
The message processing apparatus provided in the present application will be described below, and the message processing apparatus described below and the message processing method described above may be referred to correspondingly to each other.
As shown in fig. 7, an embodiment of the present application provides a message processing apparatus, including:
a generating module 710 is configured to generate a first message to be processed.
A judging module 720, configured to judge whether to send the first message to be processed according to preset processing logic. In case it is determined to send the first message to be processed, the decision module 720 invokes the sending module 730. In case it is determined that the first message to be processed is not sent, the decision module 720 invokes the processing module 740.
And a sending module 730, configured to determine, when determining to send the first message to be processed, a current device based on pre-stored information to be determined, and send the first message to be processed to the current device, so that the current device broadcasts and/or displays the first message to be processed when determining that the first message to be processed meets a preset processing condition.
And the processing module 740 is configured to broadcast and/or display the first message to be processed if it is determined that the first message to be processed is not sent.
As an implementation manner of the embodiment of the present application, the information to be determined includes area indication information and/or device indication information.
The transmitting module 730 may include at least one of:
and the first determining unit is used for taking the equipment with processing capability in the area corresponding to the area indication information as the current equipment according to the area indication information when the information to be determined comprises the area indication information.
The area indication information is preset area information or preset appointed area information.
And the second determining unit is used for taking the equipment corresponding to the equipment indication information as the current equipment according to the equipment indication information when the information to be determined comprises the equipment indication information.
And a third determining unit, configured to, when the information to be determined includes the area indication information and the device indication information, take, as a current device, a device that is located in an area corresponding to the area indication information and corresponds to the device indication information according to the area indication information and the device indication information.
As an implementation manner of the embodiment of the present application, the sending module 730 may further include:
and a fourth determining unit, configured to, when the area indication information and/or the device indicated by the device indication information is empty, use, as the current device, a device with processing capability corresponding to the user information according to the pre-bound user information.
As an implementation manner of the embodiment of the present application, the determining module 720 may include:
and the function determining unit is used for determining a control function to be used in the case that the processing logic is the priority processing logic. In case the control function to be used comprises a broadcast function and/or a display function, the function determination unit invokes the processing unit. In the case where the control function to be used does not include the broadcast function and the display function, the function determination unit invokes the transmission unit.
The processing unit is used for not sending the first message to be processed under the condition that the control function to be used comprises a broadcasting function and/or a display function;
and the first sending unit is used for sending the first message to be processed under the condition that the control function to be used does not comprise the broadcasting function and the display function.
As an implementation manner of the embodiment of the present application, the determining module 720 may include:
and the second sending unit is used for determining to send the first message to be processed in the case that the processing logic is the designated processing logic or the random processing logic.
As an implementation manner of the embodiment of the present application, the foregoing apparatus may further include:
and the receiving module is used for receiving the second message to be processed.
And the capability judging module is used for judging whether the capability of processing the second message to be processed is provided according to the processing information carried by the second message to be processed. And the capability judging module calls the message processing module under the condition that the capability of processing the second message to be processed is determined. And the capability judging module calls the information sending module under the condition that the capability of processing the second message to be processed is not provided.
The message processing module is used for processing the second message to be processed according to the processing information under the condition that the capability of processing the second message to be processed is determined;
and the information sending module is used for sending processing failure information to equipment corresponding to the second message to be processed under the condition that the capability of processing the second message to be processed is not provided.
As an implementation manner of the embodiment of the present application, the processing information may include a processing manner and a device identifier.
The capability judging module includes:
the first determining unit is used for judging whether the processing mode is provided with the corresponding capability according to the processing mode;
the second determining unit is used for judging whether the equipment identifier meets a preset corresponding condition according to the equipment identifier;
a third determining unit, configured to determine that the capability of processing the second message to be processed is provided, where the capability of processing the corresponding manner is provided, and the device identifier meets the preset corresponding condition;
and the fourth determining unit is used for determining that the capability of processing the second message to be processed is not provided under the condition that the capability corresponding to the processing mode is not provided and/or the equipment identifier does not meet the preset corresponding condition.
Fig. 8 illustrates a physical schematic diagram of an electronic device, as shown in fig. 8, which may include: processor 810, communication interface (Communications Interface) 820, memory 830, and communication bus 840, wherein processor 810, communication interface 820, memory 830 accomplish communication with each other through communication bus 840. Processor 810 may invoke logic instructions in memory 830 to perform a message processing method comprising: and generating a first message to be processed, and judging whether to send the first message to be processed according to preset processing logic. And under the condition that the first message to be processed is determined to be sent, determining the current equipment based on the pre-stored information to be determined, and sending the first message to be processed to the current equipment, so that the current equipment broadcasts and/or displays the first message to be processed under the condition that the first message to be processed is determined to meet the preset processing condition. And broadcasting and/or displaying the first message to be processed under the condition that the first message to be processed is not transmitted.
Further, the logic instructions in the memory 830 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present application also provides a computer program product, the computer program product including a computer program, the computer program being storable on a computer readable storage medium, the computer program, when executed by a processor, being capable of executing a message processing method provided by the methods described above, the method comprising: and generating a first message to be processed, and judging whether to send the first message to be processed according to preset processing logic. And under the condition that the first message to be processed is determined to be sent, determining the current equipment based on the pre-stored information to be determined, and sending the first message to be processed to the current equipment, so that the current equipment broadcasts and/or displays the first message to be processed under the condition that the first message to be processed is determined to meet the preset processing condition. And broadcasting and/or displaying the first message to be processed under the condition that the first message to be processed is not transmitted.
In still another aspect, the present application further provides a computer readable storage medium, where the computer readable storage medium includes a stored program, where the program when executed performs a message processing method provided by the above methods, the method includes: and generating a first message to be processed, and judging whether to send the first message to be processed according to preset processing logic. And under the condition that the first message to be processed is determined to be sent, determining the current equipment based on the pre-stored information to be determined, and sending the first message to be processed to the current equipment, so that the current equipment broadcasts and/or displays the first message to be processed under the condition that the first message to be processed is determined to meet the preset processing condition. And broadcasting and/or displaying the first message to be processed under the condition that the first message to be processed is not transmitted.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (10)

1. A method of message processing, the method comprising:
generating a first message to be processed;
judging whether to send the first message to be processed according to preset processing logic;
under the condition that the first message to be processed is determined to be sent, determining current equipment based on pre-stored information to be determined, and sending the first message to be processed to the current equipment, so that the current equipment broadcasts and/or displays the first message to be processed under the condition that the first message to be processed is determined to meet preset processing conditions;
and broadcasting and/or displaying the first message to be processed under the condition that the first message to be processed is not transmitted.
2. A message processing method according to claim 1, wherein the information to be determined comprises area indication information and/or device indication information;
the step of determining the current device based on the pre-stored information to be determined comprises at least one of the following;
when the information to be determined comprises the region indication information, using the equipment with processing capability in the region corresponding to the region indication information as current equipment according to the region indication information, wherein the region indication information is preset region information or preset appointed region information;
when the information to be determined comprises the equipment indication information, taking equipment corresponding to the equipment indication information as current equipment according to the equipment indication information;
and when the information to be determined comprises the area indication information and the equipment indication information, taking the equipment corresponding to the equipment indication information and positioned in the area corresponding to the area indication information as current equipment according to the area indication information and the equipment indication information.
3. A message processing method according to claim 2, wherein the step of determining the current device based on the pre-stored information to be determined further comprises:
And taking the device with processing capability corresponding to the user information as the current device according to the pre-bound user information under the condition that the region indication information and/or the device indicated by the device indication information are empty.
4. The message processing method according to claim 1, wherein the step of determining whether to send the first message to be processed according to preset processing logic comprises:
determining a control function to be used under the condition that the processing logic is priority processing logic;
if the control function to be used comprises a broadcasting function and/or a display function, the first message to be processed is not sent;
and sending the first message to be processed under the condition that the control function to be used does not comprise the broadcasting function and the display function.
5. The message processing method according to claim 1, wherein the step of determining whether to send the first message to be processed according to preset processing logic comprises:
and determining to send the first message to be processed in the case that the processing logic is specified processing logic or random processing logic.
6. A method of message processing according to any of claims 1-5, wherein the method further comprises:
receiving a second message to be processed;
judging whether the capability of processing the second message to be processed is provided according to the processing information carried by the second message to be processed;
processing the second message to be processed according to the processing information under the condition that the capability of processing the second message to be processed is determined;
and under the condition that the capability of processing the second message to be processed is not provided, sending processing failure information to equipment corresponding to the second message to be processed.
7. A message processing method according to claim 6, wherein the processing information includes a processing mode and a device identifier;
the step of judging whether the second message to be processed is provided with the capability of processing the second message to be processed comprises the following steps:
judging whether the capability corresponding to the processing mode is provided according to the processing mode;
judging whether the equipment identifier meets a preset corresponding condition according to the equipment identifier;
determining that the capability of processing the second message to be processed is provided under the condition that the capability corresponding to the processing mode is provided and the equipment identifier meets the preset corresponding condition;
And determining that the capability of processing the second message to be processed is not provided under the condition that the capability corresponding to the processing mode is not provided and/or the equipment identifier does not meet the preset corresponding condition.
8. A message processing apparatus, the apparatus comprising:
the generation module is used for generating a first message to be processed;
the judging module is used for judging whether the first message to be processed is sent or not according to preset processing logic;
the sending module is used for determining current equipment based on pre-stored information to be determined under the condition that the first message to be processed is determined to be sent, and sending the first message to be processed to the current equipment, so that the current equipment broadcasts and/or displays the first message to be processed under the condition that the first message to be processed is determined to meet preset processing conditions;
and the processing module is used for broadcasting and/or displaying the first message to be processed under the condition that the first message to be processed is not transmitted.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 7 by means of the computer program.
CN202310340663.7A 2023-03-31 2023-03-31 Message processing method and device, storage medium and electronic device Pending CN116527425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310340663.7A CN116527425A (en) 2023-03-31 2023-03-31 Message processing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310340663.7A CN116527425A (en) 2023-03-31 2023-03-31 Message processing method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN116527425A true CN116527425A (en) 2023-08-01

Family

ID=87398459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310340663.7A Pending CN116527425A (en) 2023-03-31 2023-03-31 Message processing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN116527425A (en)

Similar Documents

Publication Publication Date Title
CN101325562B (en) Method, system and equipment for applying message in household network
CN105791064A (en) Cooperation processing method for messages in local area network, and device
CN114697150B (en) Command issuing method and device, storage medium and electronic device
CN116016002A (en) Intelligent household appliance network distribution method and device and electronic device
US7715325B2 (en) Home network system
CN113296729A (en) Prompt message broadcasting method, device and system, storage medium and electronic device
CN116527425A (en) Message processing method and device, storage medium and electronic device
CN116614858A (en) Data transmission method and device, storage medium and electronic equipment
CN110160219B (en) Air conditioning system and control method thereof, air conditioner and control method of intelligent household appliance system
CN115309062A (en) Device control method, device, storage medium, and electronic apparatus
CN109884907B (en) Household appliance state broadcasting method, device and equipment
CN113452763A (en) Smart home service registration method and device and smart home system
CN107147524B (en) intelligent home networking method and system
CN113126510A (en) Household appliance control system and control method thereof
JP6390483B2 (en) Control device, control system, and control method
CN115297352B (en) Video continuous playing method and device, storage medium and electronic device
CN115296945B (en) Control method, system and device of equipment, storage medium and electronic device
CN113206863B (en) Internet of things equipment management method and device
CN117176791A (en) Push information sending method and device, storage medium and electronic device
CN115474225A (en) Online state determination method and device, storage medium and electronic device
CN116170344A (en) Message monitoring method and device, storage medium and electronic device
CN116545792A (en) Communication method and system of household equipment, storage medium and electronic device
CN117499472A (en) Intelligent terminal voice broadcasting method, system, storage medium and electronic device
CN116634464A (en) Network distribution method and device of equipment, storage medium and electronic equipment
CN116668579A (en) Message reminding method, storage medium, electronic device and reminding system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination