CN115001892A - Information processing method, information processing device, electronic equipment and storage medium - Google Patents

Information processing method, information processing device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115001892A
CN115001892A CN202210621761.3A CN202210621761A CN115001892A CN 115001892 A CN115001892 A CN 115001892A CN 202210621761 A CN202210621761 A CN 202210621761A CN 115001892 A CN115001892 A CN 115001892A
Authority
CN
China
Prior art keywords
target
target type
devices
equipment
group
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
CN202210621761.3A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202210621761.3A priority Critical patent/CN115001892A/en
Publication of CN115001892A publication Critical patent/CN115001892A/en
Pending legal-status Critical Current

Links

Images

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/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the application discloses an information processing method, an information processing device, electronic equipment and a storage medium, wherein a control instruction for at least one piece of equipment in a target equipment group is obtained, and each piece of equipment in the target equipment group is associated with the same physical switch; the physical switch is used for controlling the power on-off state of each device in the target device group; and sending a control command to at least one device to change the working state of the at least one device.

Description

Information processing method, information processing device, electronic equipment and storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an information processing method and apparatus, an electronic device, and a storage medium.
Background
In the intelligent home system, a user can control one device at a time through the mobile terminal, and can also control a plurality of devices at a time, but each device to be controlled needs to be selected in sequence each time, so that the efficiency is low, and mistakes are easy to make.
Disclosure of Invention
The application provides an information processing method, an information processing device, an electronic device and a storage medium, and the following technical scheme is adopted:
an information processing method, the method comprising:
obtaining a control instruction for at least one device in a target device group, wherein each device in the target device group is associated with the same physical switch; the physical switch is used for controlling the power on-off state of each device in the target device group;
and sending the control instruction to the at least one device to change the working state of the at least one device.
The above method, preferably, further comprises:
if the target type equipment meets the condition, outputting prompt information; the prompt information indicates that at least one target physical switch associated with the target type of equipment is operated respectively so as to change the power on-off state of at least part of the target type of equipment;
obtaining the change information of the online state of each device of the target type corresponding to each target physical switch; the target type equipment can be in an online state under the condition that the target type equipment is powered on, and the target type equipment cannot be in the online state under the condition that the target type equipment is not powered on;
and determining the devices with the same change information of the online state of the target type as a group.
The method preferably further includes that the target type of device satisfies a condition, and includes:
the number of devices of the target type satisfies a number threshold; alternatively, the first and second electrodes may be,
grouping the target type devices, and detecting a new target type device;
a group update instruction is obtained for the target type of device.
Preferably, the obtaining of the change information of the online status of each device of the target type includes:
obtaining at least two changes of the online status of each device of the target type.
The above method, preferably, further comprises:
sorting each device in the target device group;
the ranking is used to determine an order in which each device in the target device group sends heartbeat packets.
The above method, preferably, further comprises:
receiving a heartbeat packet sent by any one device in the target device group according to the sequence;
and determining that each device in the target device group is in an online state.
The above method, preferably, further comprises:
if the heartbeat packet sent by any equipment is not received within the target time length corresponding to any equipment, sending interactive information to any equipment;
and if the response information sent by any one device is not received, determining that any one device is not in an online state.
An information processing apparatus, the apparatus comprising:
an obtaining module, configured to obtain a control instruction for at least one device in a target device group, where each device in the target device group is associated with a same physical switch; the physical switch is used for controlling the power on-off state of each device in the target device group;
and the sending module is used for sending the control instruction to the at least one device so as to change the working state of the at least one device.
An electronic device, comprising:
a memory for storing a program;
and the processor is used for calling and executing the program in the memory, and realizing the steps of the information processing method according to any one of the above items by executing the program.
A readable storage medium on which a computer program is stored, which, when executed by a processor, implements the steps of the information processing method as described in any one of the above.
According to the scheme, the information processing method, the information processing device, the electronic equipment and the storage medium obtain the control instruction for at least one piece of equipment in the target equipment group, and each piece of equipment in the target equipment group is associated with the same physical switch; the physical switch is used for controlling the power on-off state of each device in the target device group; and sending a control command to at least one device to change the working state of the at least one device. According to the method and the device, the devices are grouped in advance according to the physical switches related to the devices, namely, the devices related to the same physical switch are divided into a group in advance, and then the devices can be controlled according to the group, or the devices are selected from the device group and controlled, so that the convenience of controlling the devices is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of an implementation of an information processing method according to an embodiment of the present application;
fig. 2 is a flowchart of an implementation of grouping devices of the same type according to an embodiment of the present disclosure;
fig. 3 is a flowchart of an implementation of a heartbeat interaction method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than described or illustrated herein.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present disclosure.
The intelligent home system utilizes advanced computer technology, network communication technology, intelligent cloud control, comprehensive wiring technology and medical electronic technology to integrate individual requirements according to the principle of human engineering, organically combines at least part of subsystems related to home life, such as security, light control, curtain control, gas valve control, information household appliances, scene linkage, floor heating, health care, epidemic prevention, security and the like, and realizes the brand-new home life experience of people-oriented through networked comprehensive intelligent control and management.
The intelligent home system comprises a user terminal, a gateway and intelligent home equipment. The user terminal may include, but is not limited to, any of the following: mobile phones, tablet computers, notebook computers, desktop computers, and the like; smart homes may include, but are not limited to: lamps, air conditioners, refrigerators, sound boxes, windows, curtains and the like. The gateway is a device for connecting the user terminal and the intelligent household equipment, and the user terminal sends a control instruction for the intelligent household equipment to the gateway so that the gateway can control the intelligent household equipment.
At present, when a user needs to control a certain device or multiple devices in an intelligent home system, one implementation manner is that the user selects one device at a time and triggers a control instruction to control the device, and another implementation manner is that the user selects each device to be controlled in sequence and then triggers and generates a control instruction for each selected device. However, both of these two methods have certain problems, for example, in the first method, when there are many devices that the user needs to control, the user needs to perform the operations of selecting a device and triggering a control instruction many times, and the operation of the user is complicated. In addition, when there are many smart home devices in the smart home system, both of the two ways require the user to select the device to be controlled from a large number of smart home devices, and the operation of the user is still complicated.
The information processing method provided by the embodiment of the application can be used in the gateway. As shown in fig. 1, an implementation flowchart of an information processing method provided in an embodiment of the present application may include:
step S101: the gateway obtains a control instruction for at least one intelligent household device (hereinafter referred to as a device) in a target device group, wherein each device in the target device group is associated with a same physical switch, and the physical switch is used for controlling the power supply on-off state of each device in the target device group.
The physical switches are generally disposed on a wall of an environment where the smart home system is located, each physical switch is used to control on/off of power supplies of the multiple devices, and specifically, each physical switch is operated once, the multiple devices associated with the physical switch are simultaneously powered on or powered off.
Wherein different groups of devices are associated with different physical switches. That is to say, in this application, the equipment that is associated with the same physical switch in the smart home systems is divided into a set in advance. The target device group may be any one of a plurality of device groups divided in advance.
As an example, the user may trigger generation of the control instruction for the target device group at the user terminal, that is, trigger generation of the control instruction for all devices of the target device group, and the control instruction is sent to the gateway by the user terminal.
As an example, the user may also select a part of devices in the target device group, and then trigger to generate a control instruction for the selected part of devices, that is, trigger to generate a control instruction for the part of devices in the target device group, and the user terminal sends the control instruction to the gateway.
Taking the target device group as the target lamp group as an example, the control instruction for at least one lamp in the target lamp group may be: the brightness adjustment instruction for the at least one lamp, or the color temperature adjustment instruction, or the on instruction or the off instruction for the at least one lamp, and the like.
Step S102: and the gateway sends a control instruction to the at least one device so as to change the working state of the at least one device.
After receiving the control instruction, the at least one device changes the operating state of the device in response to the control instruction, and taking the lamp as an example, changing the operating state of the device may include: changing the brightness, color temperature, on/off, etc. of the light fixture.
According to the information processing method provided by the embodiment of the application, the devices are grouped in advance according to the physical switches associated with the devices, namely, the devices associated with the same physical switch are grouped in advance, so that the multiple devices can be controlled according to groups, or the devices are selected and controlled from the device group, the workload of selecting the devices by a user is reduced, and the convenience of controlling the devices is improved.
Generally, devices in the smart home system have type identifiers, and different types of devices have different type identifiers, so that the devices of the same type can be divided into a large group through the type identifiers of the devices, and the devices of different types are divided into different groups. However, the same type of devices cannot be automatically grouped, and in addition, when a user controls the devices in the smart home system, at least some of the devices in one type of devices are also controlled each time, so that it is necessary to group the devices of the same type again. The same type of devices are usually controlled by different physical switches, for example, for a lamp, lamps in different areas or rooms are controlled by different physical switches, and therefore, the present application groups the devices under the same physical switch. Based on this, the present application provides a method for grouping devices of the same type, as shown in fig. 2, which is an implementation flowchart for grouping devices of the same type provided in the embodiment of the present application, and the implementation flowchart may include:
step S201: if the target type equipment meets the condition, outputting prompt information; the prompt information indicates that at least one target physical switch associated with the target type of equipment is operated respectively to change the power on-off state of at least part of the target type of equipment.
The target type device may be any type of device in the smart home system.
Optionally, for each target physical switch (denoted as target physical switch T), when the user operates the target physical switch T, the method may include: and performing a first operation on the target physical switch T so as to control the equipment associated with the target physical switch T to be switched from the first state to the second state.
Alternatively, the first and second liquid crystal display panels may be,
for each target physical switch (denoted as target physical switch T), when the user operates the target physical switch T, the method may include: and sequentially executing the first operation and the second operation on the target physical switch T, namely executing the first operation firstly and then executing the second operation, so as to control the equipment associated with the target physical switch T to be switched from the first state to the second state firstly and then to be switched from the second state to the first state.
The first state and the second state are different, for example, the first state is a power-on state and the second state is a power-off state, or the first state is a power-off state and the second state is a power-on state.
In the case where the target type device is associated with only one target physical switch, the user may directly operate the target physical switch.
In the case where the target type device is associated with at least two target physical switches, it is necessary to operate each target physical switch in sequence, each pair of target physical switches operates, and the subsequent steps S202 and S203 are performed once.
Step S202: obtaining the change information of the online state of each device of the target type corresponding to each target physical switch T; the target type device can be in an online state in a case where the target type device is powered on, and the target type device cannot be in an online state in a case where the target type device is not powered on.
In the case where the target type device is powered on, if the target type device does not fail, the target type device is in an online state, and if the target type device fails, the target type device may be in an offline state.
When the target type device is not powered on, the target type device can only be in an offline state.
In the case where the first operation is performed only on the target physical switch T, only one change information of the online status of each device associated with the target physical switch T, that is, a change from the online status to the offline status, or a change from the offline status to the online status, may be obtained.
Under the condition that the first operation and the second operation are sequentially executed on the target physical switch T, two times of change information of the online state of each device related to the target physical switch T can be obtained, namely the online state is changed into the offline state firstly, and then the offline state is changed into the online state; or the offline state is changed to the online state, and then the online state is changed to the offline state. In addition, when the information of the change of the online state of each device associated with the target physical switch T is obtained, the user terminal may output a prompt message prompting the user to operate the physical switch again, and the user may perform a second operation on the target physical switch T after seeing the prompt message.
In the embodiment of the application, in order to improve the accuracy of grouping, at least two times of change information of the online state of each device of a target type can be obtained corresponding to the target physical switch T.
For example, to obtain the three times of change information of the online state of each device of the target type corresponding to the target physical switch T, the user may sequentially perform the first operation, the second operation, and the first operation on the target physical switch T, that is, the gateway may obtain the three times of change information of the online state of each device of the target type.
Step S203: and determining the devices with the same change information of the online state of the target type as a group.
In an alternative embodiment, in the case that only one time of change information of the presence status of each device of the target type is obtained, the devices of which the time of change information of the presence status of the target type is the same are determined based on the time of change information, and the devices of which the time of change information is the same are grouped.
In an optional embodiment, in the case of obtaining at least two pieces of change information of the online states of the devices of the target type, a device group corresponding to the first change information may be determined according to the first change information based on the order of obtaining the change information; determining a device group corresponding to the second change information in the device group corresponding to the first change information according to the second change information;
the first change information and the second change information are change information obtained twice in a neighboring mode, and the obtaining time of the first change information is earlier than that of the second change information;
the device group corresponding to the first change information is a device whose presence state of the target type determined based on the first change information is the same as the first change information.
The device group corresponding to the second change information is a device having the same second change information of the presence state of the target type determined based on the second change information. In some cases, for example, when two physical switches are operated simultaneously, the devices in the device group corresponding to the first change information may be more than the devices in the device group corresponding to the second change information, and at this time, the device group corresponding to the second change information may be determined in the device group corresponding to the first change information according to the second change information;
in an alternative embodiment, in the case of obtaining information on at least two changes in the presence status of each device of the target type, the devices having the same last change information may be grouped into one group. That is, regardless of whether the number of devices in the device group corresponding to the first change information is the same as the number of devices in the device group corresponding to the second change information, the devices having the same last change information may be grouped into one group based on only the last change information.
Under the condition that the target type equipment is associated with at least two target physical switches, a user needs to determine each target type equipment associated with one target physical switch at the gateway and then operate the next target physical switch until each target type equipment associated with each target physical switch is determined.
In an optional embodiment, after determining each device of the target type associated with one target physical switch, the gateway may send a prompt message representing the determined packet to the user terminal, and the user operates the next target physical switch after seeing the prompt message.
In an optional embodiment, the gateway may further send the determined device group to the user terminal, and the user terminal may further output an interactive interface, where the interactive interface may be configured to name the determined group, and if name information input by a user is received through the interactive interface, the name information is associated with the determined device group, so that the name may be displayed at the same time when the device group is displayed, and the user may distinguish different groups conveniently.
The target device group is a device group obtained based on the method for grouping devices of the same type provided by the application. The devices in the target device group may or may not be target type devices.
In an alternative embodiment, the condition that the device of the target type satisfies may include:
the number of devices of the target type satisfies a number threshold.
The number of devices of the target type satisfying the threshold may include: the number of devices of the target type is greater than the number threshold. That is, the present application may count the number of devices of the target type in real time, and when the number of devices of the target type is large, it may be difficult for a user to select a device to be controlled among the devices of the target type, and thus, a function of grouping the devices of the target type may be started.
In an alternative embodiment, the condition that the device of the target type satisfies may include:
the target type of device exists in the group and a new device of the target type is detected.
That is, in the case that the target type device has already been grouped, if a new device of the target type accesses the gateway, the gateway monitors that the new device of the target type has accessed, and may start the function of grouping the target type device, so as to determine the group to which the new device of the target type belongs.
In an alternative embodiment, the condition that the device of the target type satisfies may include:
a group update instruction is obtained for a device of a target type.
In the embodiment of the application, regardless of whether the number of the target type devices meets the number threshold, regardless of whether the target type devices already have a packet, and regardless of whether a new target type device accesses the gateway, the user may trigger a packet update instruction for the target type devices.
The user may operate the user terminal so that the user terminal generates and sends a device group update instruction for the target type to the gateway.
In an optional embodiment, heartbeat information interaction is required between the gateway and the device so as to know whether the other party is online. When a plurality of devices are provided, a plurality of devices simultaneously send heartbeat information to the gateway, which may cause information collision, and once information collision occurs, the heartbeat information needs to be sent again, which may cause a broadcast storm, resulting in abnormal communication. In order to reduce the probability of collision, the application proposes a new heartbeat scheme. Based on this, an implementation flowchart of the heartbeat interaction method provided in the embodiment of the present application is shown in fig. 3, and may include:
step S301: and sequencing the devices in the target device group, wherein the sequencing is used for determining the sequence of sending the heartbeat packets by the devices in the target device group.
As an example, the individual devices in the target device group may be randomly ordered.
As an example, the devices in the target device group may be ordered by the size of the unique identification code. The unique identification code may be self-carried by the device when leaving a factory, or may be assigned by the gateway when the device accesses the gateway.
Step S302: and sending the sequencing to each device in the target device group, so that each device in the target device group sequentially sends the heartbeat packets according to the sequencing. The interval between two adjacent devices for sending heartbeat packets is a preset heartbeat packet sending interval.
And each device (marked as a device S) in the target device group starts timing when the timing condition is met, and sends the heartbeat packet if the timing duration reaches the heartbeat packet sending interval and the heartbeat packet sending condition is met.
Specifically, when the device S is just on line, timing is started, and when the timing duration reaches the heartbeat packet transmission interval, if the device S is the first device in the target device group, the heartbeat packet is transmitted; if the device S is not the first device in the target device group, no heartbeat packet is sent.
And when the device S receives a heartbeat packet which is not sent by the device S, timing is started, and when the timing duration reaches a heartbeat packet sending interval, if the heartbeat packet received by the device S is a device which is adjacent to the device S and is positioned in front of the device S in the target device group, the heartbeat packet is sent, otherwise, the heartbeat packet is not sent.
The device S may send the heartbeat packet in a broadcast packet manner, so that the other devices in the gateway and the target device group may both receive the heartbeat packet sent by the device S.
Optionally, when the devices in the target device group increase or decrease, the ranks of the devices in the target device group are updated, and the updated ranks are sent to the devices in the target device group.
In the embodiment of the application, only one device in one device group sends the heartbeat packet at the same time, so that the number of the heartbeat packets transmitted in the network is reduced, and the probability of collision is reduced.
In an optional embodiment, the information processing method provided in the embodiment of the present application may further include:
and receiving the heartbeat packet sent by any one device S in the target device group according to the sequencing.
And determining that all the devices in the target device group are in the online state.
That is, as long as one device S in the target device group sends the heartbeat packet, it is determined that each device in the target device group is online.
And if the gateway does not receive the heartbeat packet sent by any equipment S within the target time length corresponding to any equipment S, sending the interactive information to any equipment S. The interaction information is used to query the status of the device. The mutual information may be sent to the device S in a unicast packet.
If the response information sent by any one of the devices S is not received, it is determined that any one of the devices S is not in the online state, that is, the device S is in the offline state.
The target duration corresponding to the device S may be: the heartbeat packet transmission interval from the reception of the heartbeat packet transmitted by the device R. The device R is a device adjacent to the device S in the target device group and is ranked before the device S.
And if the response information sent by any one of the devices S is not received and the heartbeat packets of the devices in the target device group which are sequenced and positioned behind the device S are not received, determining that all the devices in the target device group are offline.
As an example, the gateway and the device are connected through a power Line communication (plc) network. That is, analog or/and digital signals are transmitted at high speed by a carrier method through a power line. The intelligent home gateway is applied to intelligent homes, wiring for home equipment is effectively reduced (namely, signal transmission and electric power transmission are combined into one), and communication connection between gateways can be effectively maintained.
Corresponding to the method embodiment, an embodiment of the present application further provides an information processing apparatus, and a schematic structural diagram of the information processing apparatus provided in the embodiment of the present application is shown in fig. 4, and the information processing apparatus may include:
an obtaining module 401 and a sending module 402; wherein the content of the first and second substances,
the obtaining module 401 is configured to obtain a control instruction for at least one device in a target device group, where each device in the target device group is associated with a same physical switch; the physical switch is used for controlling the power on-off state of each device in the target device group;
the sending module 402 is configured to send the control instruction to the at least one device to change an operating state of the at least one device.
The information processing apparatus provided by the embodiment of the application divides the devices into groups in advance according to the physical switches associated with the devices, that is, the devices associated with the same physical switch are divided into a group in advance, so that the devices can be controlled according to the groups, or the devices are selected and controlled from the device group, the workload of the user for selecting the devices is reduced, and the convenience of controlling the devices is improved.
In an optional embodiment, the apparatus further comprises a grouping module, configured to:
if the target type equipment meets the condition, outputting prompt information; the prompt information indicates that at least one target physical switch associated with the target type of equipment is operated respectively so as to change the power on-off state of at least part of the target type of equipment;
obtaining the change information of the online state of each device of the target type corresponding to each target physical switch; the target type equipment can be in an online state under the condition that the target type equipment is powered on, and the target type equipment cannot be in the online state under the condition that the target type equipment is not powered on;
and determining the devices with the same change information of the online state of the target type as a group.
In an alternative embodiment, the target type of device satisfies a condition including:
the number of devices of the target type satisfies a number threshold; alternatively, the first and second electrodes may be,
grouping the target type devices, and detecting a new target type device;
packet update instructions for the target type of device are obtained.
In an optional embodiment, when the grouping module obtains the change information of the online status of each device of the target type, the grouping module is configured to:
obtaining at least two changes of the online status of each device of the target type.
In an optional embodiment, the apparatus further includes a heartbeat interaction module, configured to:
sorting each device in the target device group;
the ranking is used to determine an order in which each device in the target device group sends heartbeat packets.
In an optional embodiment, the heartbeat interaction module is further configured to:
receiving a heartbeat packet sent by any one device in the target device group according to the sequence;
and determining that each device in the target device group is in an online state.
In an optional embodiment, the heartbeat interaction module is further configured to:
if the heartbeat packet sent by any equipment is not received within the target time length corresponding to any equipment, sending interactive information to any equipment;
and if the response information sent by any one device is not received, determining that any one device is not in an online state.
Corresponding to the embodiment of the method, the present application further provides an electronic device, a schematic structural diagram of which is shown in fig. 5, and the electronic device may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4.
In the embodiment of the present application, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 complete mutual communication through the communication bus 4.
The processor 1 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present application, etc.
The memory 3 may comprise a high-speed RAM memory, and may further comprise a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory.
Wherein the memory 3 stores a program, and the processor 1 may call the program stored in the memory 3, the program being configured to:
obtaining a control instruction for at least one device in a target device group, wherein each device in the target device group is associated with the same physical switch; the physical switch is used for controlling the power on-off state of each device in the target device group;
and sending the control instruction to the at least one device to change the working state of the at least one device.
Alternatively, the detailed function and the extended function of the program may be as described above.
Embodiments of the present application further provide a storage medium, where a program suitable for execution by a processor may be stored, where the program is configured to:
obtaining a control instruction for at least one device in a target device group, wherein each device in the target device group is associated with the same physical switch; the physical switch is used for controlling the power on-off state of each device in the target device group;
and sending the control instruction to the at least one device to change the working state of the at least one device.
Alternatively, the detailed function and the extended function of the program may be as described above.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
It should be understood that the technical problems can be solved by combining and combining the features of the embodiments from the claims.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to 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), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An information processing method, the method comprising:
obtaining a control instruction for at least one device in a target device group, wherein each device in the target device group is associated with the same physical switch; the physical switch is used for controlling the power on-off state of each device in the target device group;
and sending the control instruction to the at least one device to change the working state of the at least one device.
2. The method of claim 1, further comprising:
if the target type equipment meets the condition, outputting prompt information; the prompt information indicates that at least one target physical switch associated with the target type of equipment is operated respectively so as to change the power on-off state of at least part of the target type of equipment;
obtaining the change information of the online state of each device of the target type corresponding to each target physical switch; the target type equipment can be in an online state under the condition that the target type equipment is powered on, and the target type equipment cannot be in the online state under the condition that the target type equipment is not powered on;
and determining the devices with the same change information of the online state of the target type as a group.
3. The method of claim 2, the target type of device satisfying a condition comprising:
the number of devices of the target type satisfies a number threshold; alternatively, the first and second liquid crystal display panels may be,
grouping the target type devices, and detecting a new target type device;
packet update instructions for the target type of device are obtained.
4. The method of claim 2, the obtaining change information of the presence status of the respective devices of the target type, comprising:
obtaining at least two changes of the online status of each device of the target type.
5. The method of claim 1, further comprising:
sorting each device in the target device group;
the sequence is used for determining the sequence of sending the heartbeat packets by each device in the target device group.
6. The method of claim 5, further comprising:
receiving a heartbeat packet sent by any one device in the target device group according to the sequence;
and determining that each device in the target device group is in an online state.
7. The method of claim 5, further comprising:
if the heartbeat packet sent by any equipment is not received within the target time length corresponding to any equipment, sending interactive information to any equipment;
and if the response information sent by any one device is not received, determining that any one device is not in an online state.
8. An information processing apparatus, the apparatus comprising:
an obtaining module, configured to obtain a control instruction for at least one device in a target device group, where each device in the target device group is associated with a same physical switch; the physical switch is used for controlling the power supply on-off state of each device in the target device group;
and the sending module is used for sending the control instruction to the at least one device so as to change the working state of the at least one device.
9. An electronic device, comprising:
a memory for storing a program;
a processor for calling and executing the program in the memory, the respective steps of the information processing method according to any one of claims 1 to 7 being realized by executing the program.
10. A readable storage medium on which a computer program is stored which, when being executed by a processor, carries out the steps of the information processing method according to any one of claims 1 to 7.
CN202210621761.3A 2022-06-02 2022-06-02 Information processing method, information processing device, electronic equipment and storage medium Pending CN115001892A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210621761.3A CN115001892A (en) 2022-06-02 2022-06-02 Information processing method, information processing device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210621761.3A CN115001892A (en) 2022-06-02 2022-06-02 Information processing method, information processing device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115001892A true CN115001892A (en) 2022-09-02

Family

ID=83031780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210621761.3A Pending CN115001892A (en) 2022-06-02 2022-06-02 Information processing method, information processing device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115001892A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147301A (en) * 2019-12-27 2020-05-12 咻享智能(深圳)有限公司 Wireless Internet of things grouping management method and related device
CN111490916A (en) * 2020-04-15 2020-08-04 公牛集团股份有限公司 Method, system, device and medium for binding ZigBee sub-devices of ZigBee
CN111930020A (en) * 2020-08-10 2020-11-13 公牛集团股份有限公司 Equipment control system, method, device, terminal and readable storage medium
CN114415530A (en) * 2021-12-13 2022-04-29 珠海格力电器股份有限公司 Control method, control device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147301A (en) * 2019-12-27 2020-05-12 咻享智能(深圳)有限公司 Wireless Internet of things grouping management method and related device
CN111490916A (en) * 2020-04-15 2020-08-04 公牛集团股份有限公司 Method, system, device and medium for binding ZigBee sub-devices of ZigBee
CN111930020A (en) * 2020-08-10 2020-11-13 公牛集团股份有限公司 Equipment control system, method, device, terminal and readable storage medium
CN114415530A (en) * 2021-12-13 2022-04-29 珠海格力电器股份有限公司 Control method, control device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US7693590B2 (en) Systems and methods for notifying of persistent states of monitored systems using distributed monitoring devices
CN105867145A (en) Intelligent household equipment control method and apparatus
CN106603716A (en) Synchronization method of intelligent device state, intelligent device and control terminal thereof
JPH10154004A (en) Device management system
EP2582210A1 (en) Intelligent power controlling system
CN103619067A (en) Wireless channel redistributing method and device
EP1447941A2 (en) Home network system and method of providing operation history for same
CN110113232A (en) Apparatus control method, device, system, electronic equipment and storage medium
EP2779532A1 (en) Electrical equipment and communication apparatus
US20170187809A1 (en) Method and electronic apparatus for controlling smart home device
US10698376B2 (en) Hierarchical wireless power management system and method, as well as remote control device and slave controller used therein
CN111246400B (en) Signal quality detection method, device, storage medium, electronic device and system
CN115001892A (en) Information processing method, information processing device, electronic equipment and storage medium
CN104654521A (en) Function starting method and mobile electronic equipment
CN109993951B (en) Doorplate system and control method and device thereof
CN102938699A (en) Method and device for balanced power supply
CN105280438A (en) Wireless intelligent switch panel having timing motion function and method
CN113606744B (en) Control method, control equipment and storage medium
CN114280953A (en) Scene mode creating method and device, electronic equipment and storage medium
CN113572671A (en) Equipment control method and device and electronic equipment
CN109450751B (en) Control method and device of wireless communication module, controller and household appliance
CN112019409A (en) Equipment distribution network processing method, equipment distribution network processing device and electronic equipment
CN112362937A (en) Household electric quantity monitoring method, device and system and electronic equipment
CN108206784B (en) Network topology generation method and device for smart home
KR100712922B1 (en) Home Network Unification 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