CN115913806A - Edge scene adjusting method and device, storage medium and electronic device - Google Patents

Edge scene adjusting method and device, storage medium and electronic device Download PDF

Info

Publication number
CN115913806A
CN115913806A CN202110944251.5A CN202110944251A CN115913806A CN 115913806 A CN115913806 A CN 115913806A CN 202110944251 A CN202110944251 A CN 202110944251A CN 115913806 A CN115913806 A CN 115913806A
Authority
CN
China
Prior art keywords
edge
scene
target
edge scene
gateway
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
CN202110944251.5A
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
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110944251.5A priority Critical patent/CN115913806A/en
Publication of CN115913806A publication Critical patent/CN115913806A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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 invention discloses a method and a device for adjusting an edge scene, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring unbinding information, wherein the unbinding information is used for indicating that target equipment and a target account are unbound; determining an edge scene associated with the target account according to the unbinding message, and determining a first edge scene corresponding to the target device according to the target device in the edge scene; according to the technical scheme, the problem that in the related art, after equipment is unbound from an account, the edge scene running on the edge gateway cannot be updated, so that the edge scene can be continuously controlled by the edge gateway, and great holes exist in the safety aspect is solved.

Description

Edge scene adjusting method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for adjusting an edge scene, a storage medium, and an electronic apparatus.
Background
With the progress of science and technology and the development of artificial intelligence, intelligent algorithms are also increasingly applied to daily life, especially for household appliances, the intelligent development of the household appliances is very important, and the most key problem of intelligence lies in the urgent need of intelligent solution users.
In the related art, a user must actively set a scene in a mobile terminal to realize linkage of a series of devices. For example, a young female in a year configures an exercise scene by reading a family scene specification, exercise music and a treadmill are turned on in a fitness room at eight night every six weeks and sunday, the treadmill is turned off after exercising for half an hour, and the exercise music is switched to sleep music. In the related technology, most intelligent gateway devices focus on controlling sub-devices such as Bluetooth and wifi only through a network manager; very few intelligent gateways support the ability to run edge scenes; for the gateway running the edge scene, the controllable sub-device cannot update the edge scene running on the edge gateway after being unbundled from the home, so that the edge scene can continuously control the device through the edge gateway, and a great vulnerability exists in the aspect of safety.
Aiming at the problems that in the related art, the edge scene running on the edge gateway cannot be updated after the device is unbound from the account, so that the edge scene can continuously control the device through the edge gateway, and great holes exist in the aspect of safety and the like, an effective solution is not provided.
Disclosure of Invention
The embodiment of the invention provides an edge scene adjusting method and device, a storage medium and an electronic device, and aims to at least solve the problems that in the related technology, an edge scene running on an edge gateway cannot be updated after equipment is unbound from an account, the edge scene can be continuously controlled by the edge gateway, and great holes exist in the aspect of safety and the like.
According to an embodiment of the present invention, a method for adjusting an edge scene is provided, including: acquiring unbinding information, wherein the unbinding information is used for indicating that target equipment and a target account are unbound; determining an edge scene associated with the target account according to the unbinding message, and determining a first edge scene corresponding to the target device according to the target device in the edge scene; and under the condition that the first edge scene corresponding to the target equipment is successfully acquired, adjusting the first edge scene according to the target equipment.
In one exemplary embodiment, adjusting the first edge scene according to the target device includes: acquiring a target operation corresponding to the target device in the first edge scene, wherein the target operation is used for controlling the target device, and the first edge scene includes: the target device and the target operation; deleting the target device and the target operation corresponding to the target device in the first edge scene to obtain the second edge scene.
In an exemplary embodiment, after deleting the target device and the target operation corresponding to the target device in the first edge scene to obtain the second edge scene, the method further includes: determining whether other devices can be controlled through the second edge scene, wherein the first edge scene comprises: target and other devices; sending an update message to a device gateway under the condition that other devices can be controlled through the second edge scene, wherein the update message is used for instructing the edge gateway to update the first edge scene to the second edge scene; and sending a deletion message to a device gateway under the condition that other devices cannot be controlled through the second edge scene, wherein the deletion message is used for indicating the edge gateway to delete the first edge scene.
In one exemplary embodiment, after determining whether other devices can be controlled by the second edge scene, the method further includes: receiving a request message sent by the edge gateway under the condition that the edge gateway receives the update message, wherein the request message is used for indicating to acquire a scene script corresponding to the second edge scene; instructing the edge gateway to delete the first edge scenario if the edge gateway receives the delete message.
In an exemplary embodiment, before obtaining the unbinding information, the method further comprises: under the condition that a client corresponding to the target account receives the operation of the target object, the client is instructed to generate the unbinding information, wherein the operation of the target object is used for controlling the target device and the target account to be unbound; and under the condition that the client successfully generates the unbinding information, acquiring the unbinding information.
In an exemplary embodiment, after adjusting the first edge scene according to the target device, the method further includes: sending a reminding message to a client corresponding to the target account, wherein the reminding message is at least used for indicating one of the following: the edge gateway updates the first edge scene to the second edge scene; the edge gateway deletes the first edge scenario.
According to another embodiment of the present invention, there is also provided an apparatus for adjusting an edge scene, including: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring unbinding information, and the unbinding information is used for indicating the target equipment and the target account to be unbound; a determining module, configured to determine, according to the unbinding message, an edge scene associated with the target account, and determine, in the edge scene, a first edge scene corresponding to the target device according to the target device; and the adjusting module is used for adjusting the first edge scene according to the target device under the condition that the first edge scene corresponding to the target device is successfully acquired.
In one exemplary embodiment, further comprising: the adjusting module is further configured to obtain a target operation corresponding to the target device in the first edge scenario, where the target operation is used to control the target device, and the first edge scenario includes: the target device and the target operation; deleting the target device and the target operation corresponding to the target device in the first edge scene to obtain the second edge scene.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the above edge scene adjusting method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the method for adjusting an edge scene through the computer program.
In the embodiment of the invention, unbinding information is obtained, wherein the unbinding information is used for indicating that target equipment and a target account are unbound; determining an edge scene associated with the target account according to the unbinding message, and determining a first edge scene corresponding to the target device according to the target device in the edge scene; the method comprises the steps that under the condition that a first edge scene corresponding to target equipment is successfully obtained, the first edge scene is adjusted according to the target equipment, namely the first edge scene is updated according to unbinding information, and by means of the technical scheme, the problems that in the related art, the edge scene running on an edge gateway cannot be updated after the equipment is unbound from an account number, the edge scene can be continuously controlled through the edge gateway, great loopholes exist in the aspect of safety and the like, and then the edge scene can be updated after the equipment in the edge gateway is unbound from the account number are solved; associated unbinding devices in the edge scene can be culled.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention and do not constitute a limitation of the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a computer terminal of an edge scene adjustment method according to an embodiment of the present invention;
fig. 2 is a flowchart of an adjusting method of an edge scene according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an adjusting method of an edge scene according to an alternative embodiment of the invention;
fig. 4 is a block diagram (one) of an adjusting apparatus for an edge scene according to an embodiment of the present invention;
fig. 5 is a block diagram (ii) of an adjusting apparatus for an edge scene according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or 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.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Taking the operation on a computer terminal as an example, fig. 1 is a hardware structure block diagram of a computer terminal of an edge scene adjustment method according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and in an exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of an application software, such as a computer program corresponding to the edge scene adjustment method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the above method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a computer terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for adjusting an edge scene is provided, which is applied to the computer terminal, and fig. 2 is a flowchart of a method for adjusting an edge scene according to an embodiment of the present invention, where the flowchart includes the following steps:
step S202, obtaining unbinding information, wherein the unbinding information is used for indicating the target equipment and the target account to be unbound;
that is to say, in the case that the target device and the target account are unbound, the client corresponding to the target account sends the unbinding information.
Step S204, determining an edge scene associated with the target account according to the unbinding message, and determining a first edge scene corresponding to the target device in the edge scene according to the target device;
step S206, in a case that the first edge scene corresponding to the target device is successfully acquired, adjusting the first edge scene according to the target device.
Acquiring unbinding information through the steps, wherein the unbinding information is used for indicating that the target equipment and the target account are unbound; determining an edge scene associated with the target account according to the unbinding message, and determining a first edge scene corresponding to the target device according to the target device in the edge scene; the method comprises the steps that under the condition that a first edge scene corresponding to the target device is successfully acquired, the first edge scene is adjusted according to the target device, namely the first edge scene is updated according to unbinding information, and by adopting the technical scheme, the problems that in the related art, the edge scene running on an edge gateway cannot be updated after the device is unbound from an account number, the edge scene can be continuously controlled through the edge gateway, great leaks exist in the aspect of safety and the like are solved, and then the edge scene can be updated after the device in the edge gateway is unbound from the account number; the associated unbinding devices in the edge scene can be culled.
In one exemplary embodiment, adjusting the first edge scene according to the target device includes: acquiring a target operation corresponding to the target device in the first edge scene, wherein the target operation is used for controlling the target device, and the first edge scene includes: the target device and the target operation; deleting the target device and the target operation corresponding to the target device in the first edge scene to obtain the second edge scene.
That is to say, after determining that the target device is unbound from the target account, determining a target operation corresponding to the target device in the first edge scene, and deleting both the target device in the first edge scene and the target operation corresponding to the target device to obtain a second edge scene.
For example, in the first edge scenario, the method includes: 8, turning on the television at a speed of; 8, starting an air conditioner, performing a unbinding operation on an account corresponding to a television and the television at a target object, firstly determining a first edge scene with the television in a plurality of edge scenes according to the television, and then in the first edge scene, regarding a control operation on the television, and finally deleting the television in the first edge scene and the control operation corresponding to the television to obtain a second edge scene, wherein the second edge scene includes: 8.
In an exemplary embodiment, after deleting the target device and the target operation corresponding to the target device in the first edge scene to obtain the second edge scene, it is determined whether other devices can be controlled by the second edge scene, where the first edge scene includes: target and other devices; sending an update message to a device gateway under the condition that other devices can be controlled through the second edge scene, wherein the update message is used for instructing the edge gateway to update the first edge scene to the second edge scene; and sending a deletion message to a device gateway under the condition that other devices cannot be controlled through the second edge scene, wherein the deletion message is used for indicating the edge gateway to delete the first edge scene.
In other words, both the target device in the first edge scene and the target operation corresponding to the target device are deleted, after a second edge scene is obtained, whether other devices can be controlled through the second edge scene is judged, under the condition that it is determined that other devices can be controlled through the second edge scene, an update message is sent to the device gateway, the device gateway forwards the update message to the edge gateway, and the edge gateway updates the first edge scene in the edge gateway to the second edge scene according to the update message; and under the condition that other equipment cannot be controlled through the second edge scene, sending a deletion message to the equipment gateway, forwarding the deletion to the edge gateway by the equipment gateway, and deleting the first edge scene in the edge gateway by the edge gateway according to the deletion.
For example, in the first edge scenario, the method includes: 8, turning on the television at a speed of; 8, turning on an air conditioner, and in the case of turning on the air conditioner, closing a window, and performing an unbinding operation on an account corresponding to the air conditioner and an air conditioner in a target object, first determining, according to the air conditioner, a first edge scene in which the air conditioner exists among a plurality of edge scenes, then in determining the first edge scene, regarding a control operation on the air conditioner, and finally deleting the air conditioner and the control operation corresponding to the air conditioner in the first edge scene to obtain a second edge scene, where the second edge scene includes: 8: 8.
In one exemplary embodiment, after determining whether other devices can be controlled through the second edge scene, the method further comprises: receiving a request message sent by the edge gateway under the condition that the edge gateway receives the update message, wherein the request message is used for indicating to acquire a scene script corresponding to the second edge scene; instructing the edge gateway to delete the first edge scenario if the edge gateway receives the delete message.
Specifically, the edge gateway sends a request message to the scene service center when receiving the update message, so as to obtain a scene script corresponding to a second edge scene at the scene service center, and updates the first edge scene to the second edge scene according to the scene script when obtaining the scene script corresponding to the second edge scene.
In an exemplary embodiment, before obtaining unbinding information, when a client corresponding to the target account receives an operation of the target object, the client is instructed to generate the unbinding information, where the operation of the target object is used to control the target device and the target account to be unbound; and under the condition that the client successfully generates the unbinding information, acquiring the unbinding information.
Specifically, a user initiates an operation of unbinding the target device at a client corresponding to the target account; a client corresponding to the target account initiates a request of unbinding the target equipment by the cloud; after receiving the request of unbinding the target equipment, the user gateway pushes the message to the bus; and the scene service center subscribes to unbinding information of the target equipment and the target account.
In an exemplary embodiment, after the first edge scenario is adjusted according to the target device, a reminding message is sent to a client corresponding to the target account, where the reminding message is at least used to indicate one of the following: the edge gateway updates the first edge scene to the second edge scene; the edge gateway deletes the first edge scenario.
That is to say, after the first edge scene is adjusted according to the target device, determining whether other devices can be controlled through the second edge scene, and sending a reminding message to a client corresponding to the target account to prompt a user that the edge gateway updates the first edge scene to the second edge scene when it is determined that other devices can be controlled through the second edge scene; and sending a reminding message to a client corresponding to the target account under the condition that other equipment cannot be controlled through the second edge scene, and deleting the first edge scene by the edge gateway.
In order to better understand the process of the above method for adjusting an edge scene, the following describes a flow of the method for adjusting an edge scene with reference to an optional embodiment, but the method is not limited to the technical solution of the embodiment of the present invention.
As shown in fig. 3, fig. 3 is a schematic diagram of an edge scene adjustment method according to an alternative embodiment of the present invention, which is specifically as follows:
step S301: a user initiates an operation of unbinding a target device at a client;
step S302: the client side initiates a request of unbinding the target device from the cloud side;
step S303: after receiving the request, the user gateway pushes the request message to the equipment gateway;
step S304: the scene service center subscribes to unbinding information of the target equipment and the target account in the equipment gateway;
step S305: the scene service center determines a first edge scene corresponding to the target equipment according to the target equipment;
step S306: deleting target equipment in the first edge scene and target operation corresponding to the target equipment to obtain a second edge scene, and then determining whether other equipment can be controlled through the second edge scene;
step S307: sending an update message to a device gateway in case it is determined that other devices can be controlled through the second edge scene; sending a deletion message to a device gateway under the condition that other devices cannot be controlled through the second edge scene;
step S308: the equipment gateway sends the update message or the deletion message to the edge gateway;
step S309: under the condition that the edge gateway receives the updating message, sending a request message to the edge gateway to acquire a scene script corresponding to the second edge scene; instructing the edge gateway to delete the first edge scenario if the edge gateway receives the deletion message;
step S310: sending a reminding message to a client corresponding to the target account, wherein the reminding message is at least used for indicating one of the following: the edge gateway updates the first edge scene to the second edge scene; the edge gateway deletes the first edge scenario.
In the embodiment of the invention, unbinding information is obtained, wherein the unbinding information is used for indicating that target equipment and a target account are unbound; determining an edge scene associated with the target account according to the unbinding message, and determining a first edge scene corresponding to the target device according to the target device in the edge scene; the method comprises the steps that under the condition that a first edge scene corresponding to the target device is successfully acquired, the first edge scene is adjusted according to the target device, namely the first edge scene is updated according to unbinding information, and by adopting the technical scheme, the problems that in the related art, the edge scene running on an edge gateway cannot be updated after the device is unbound from an account number, the edge scene can be continuously controlled through the edge gateway, great leaks exist in the aspect of safety and the like are solved, and then the edge scene can be updated after the device in the edge gateway is unbound from the account number; associated unbinding devices in the edge scene can be culled.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Fig. 4 is a block diagram (one) of an adjusting apparatus for an edge scene according to an embodiment of the present invention; as shown in fig. 4, includes:
an obtaining module 42, configured to obtain unbinding information, where the unbinding information is used to indicate that a target device and a target account are unbound;
that is, when the target device and the target account are unbound, the client corresponding to the target account sends the unbinding information.
A determining module 44, configured to determine, according to the unbinding message, an edge scene associated with the target account, and determine, in the edge scene, a first edge scene corresponding to the target device according to the target device;
an adjusting module 46, configured to, when the first edge scene corresponding to the target device is successfully acquired, adjust the first edge scene according to the target device.
Through the device, the obtaining module 42 obtains unbinding information, wherein the unbinding information is used for indicating that the target device and the target account are unbound; a determining module 44, configured to determine an edge scene associated with the target account according to the unbinding message, and determine a first edge scene corresponding to the target device in the edge scene according to the target device; the adjusting module 46 is configured to, under the condition that the first edge scene corresponding to the target device is successfully acquired, adjust the first edge scene according to the target device, that is, update the first edge scene according to the unbinding information, and with the above technical solution, the problem that, in the related art, an edge scene running on an edge gateway cannot be updated after the device is unbound from an account, so that the edge scene can be continuously controlled by the edge gateway, which causes a great leak in security, and the like, is solved, and then the device in the edge gateway can update the edge scene after being unbound from the account; associated unbinding devices in the edge scene can be culled.
In an exemplary embodiment, the adjusting module 46 is further configured to obtain a corresponding target operation of the target device in the first edge scenario, where the target operation is used to control the target device, and the first edge scenario includes: the target device and the target operation; and deleting the target equipment in the first edge scene and the target operation corresponding to the target equipment to obtain the second edge scene.
That is to say, after determining that the target device is unbound from the target account, determining a target operation corresponding to the target device in the first edge scene, and deleting both the target device in the first edge scene and the target operation corresponding to the target device to obtain a second edge scene.
For example, in the first edge scenario, the method includes: 8, turning on the television at a speed of; 8, starting an air conditioner, performing a unbinding operation on an account corresponding to a television and the television at a target object, firstly determining a first edge scene with the television in a plurality of edge scenes according to the television, and then in the first edge scene, regarding a control operation on the television, and finally deleting the television in the first edge scene and the control operation corresponding to the television to obtain a second edge scene, wherein the second edge scene includes: 8.
In an exemplary embodiment, fig. 5 is a block diagram (ii) of an adjusting apparatus for an edge scene according to an embodiment of the present invention; as shown in fig. 5, includes: a sending module 52, configured to determine whether other devices can be controlled through the second edge scene, where the first edge scene includes: target devices and other devices; sending an update message to a device gateway under the condition that other devices can be controlled through the second edge scene, wherein the update message is used for instructing the edge gateway to update the first edge scene to the second edge scene; and sending a deletion message to a device gateway under the condition that other devices cannot be controlled through the second edge scene, wherein the deletion message is used for indicating the edge gateway to delete the first edge scene.
In other words, both the target device in the first edge scene and the target operation corresponding to the target device are deleted, after a second edge scene is obtained, whether other devices can be controlled through the second edge scene is judged, under the condition that it is determined that other devices can be controlled through the second edge scene, an update message is sent to the device gateway, the device gateway forwards the update message to the edge gateway, and the edge gateway updates the first edge scene in the edge gateway to the second edge scene according to the update message; and under the condition that other equipment cannot be controlled through the second edge scene, sending a deletion message to the equipment gateway, forwarding the deletion to the edge gateway by the equipment gateway, and deleting the first edge scene in the edge gateway by the edge gateway according to the deletion.
For example, in the first edge scenario, the method includes: 8, turning on the television at a speed of; 8, opening an air conditioner, and in the case of opening the air conditioner, closing a window, performing an unbinding operation on the air conditioner and an account corresponding to the air conditioner at a target object, firstly determining a first edge scene where the air conditioner exists in a plurality of edge scenes according to the air conditioner, then in the determination of the first edge scene, regarding a control operation on the air conditioner, and finally deleting the air conditioner in the first edge scene and the control operation corresponding to the air conditioner to obtain a second edge scene, where the second edge scene includes: 8: 8.
In an exemplary embodiment, the obtaining module is further configured to receive a request message sent by the edge gateway when the edge gateway receives the update message, where the request message is used to instruct to obtain a scene script corresponding to the second edge scene; instructing the edge gateway to delete the first edge scenario if the edge gateway receives the delete message.
Specifically, when the edge gateway receives the update message, the edge gateway sends a request message to the scene service center to obtain a scene script corresponding to the second edge scene at the scene service center, and when the scene script corresponding to the second edge scene is obtained, the first edge scene is updated to the second edge scene according to the scene script.
In an exemplary embodiment, the obtaining module is further configured to instruct, when a client corresponding to the target account receives an operation of the target object, the client to generate the unbinding information, where the operation of the target object is used to control the target device and the target account to be unbound; and under the condition that the client successfully generates the unbinding information, acquiring the unbinding information.
Specifically, a user initiates an operation of unbinding a target device at a client corresponding to a target account; a client corresponding to the target account initiates a request of unbinding the target equipment by the cloud; after receiving the request of unbinding the target equipment, the user gateway pushes the message to the bus; and the scene service center subscribes to unbinding messages of the target equipment and the target account.
In an exemplary embodiment, the sending module is further configured to send a reminding message to a client corresponding to the target account, where the reminding message is at least used to indicate one of the following: the edge gateway updates the first edge scene to the second edge scene; the edge gateway deletes the first edge scenario.
That is to say, after the first edge scene is adjusted according to the target device, determining whether other devices can be controlled through the second edge scene, and sending a reminding message to a client corresponding to the target account to prompt a user that the edge gateway updates the first edge scene to the second edge scene when it is determined that other devices can be controlled through the second edge scene; and sending a reminding message to a client corresponding to the target account under the condition that other equipment cannot be controlled through the second edge scene, and deleting the first edge scene by the edge gateway.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
Alternatively, in this embodiment, the storage medium may be configured to store program codes for performing the following steps:
the method comprises the steps of S1, obtaining unbinding information, wherein the unbinding information is used for indicating that target equipment and a target account are unbound;
s2, determining an edge scene associated with the target account according to the unbinding message, and determining a first edge scene corresponding to the target device in the edge scene according to the target device;
and S3, under the condition that the first edge scene corresponding to the target equipment is successfully acquired, adjusting the first edge scene according to the target equipment.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
the method comprises the steps of S1, obtaining unbinding information, wherein the unbinding information is used for indicating that target equipment and a target account are unbound;
s2, determining an edge scene associated with the target account according to the unbinding message, and determining a first edge scene corresponding to the target device in the edge scene according to the target device;
and S3, under the condition that the first edge scene corresponding to the target equipment is successfully acquired, adjusting the first edge scene according to the target equipment.
Optionally, in this embodiment, the storage medium may include but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, for a specific example in this embodiment, reference may be made to the examples described in the above embodiment and optional implementation, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims (10)

1. An edge scene adjusting method, comprising:
acquiring unbinding information, wherein the unbinding information is used for indicating that target equipment and a target account are unbound;
determining an edge scene associated with the target account according to the unbinding message, and determining a first edge scene corresponding to the target device according to the target device in the edge scene;
and under the condition that the first edge scene corresponding to the target equipment is successfully acquired, adjusting the first edge scene according to the target equipment.
2. The method for adjusting an edge scene according to claim 1, wherein adjusting the first edge scene according to the target device comprises:
acquiring a target operation corresponding to the target device in the first edge scene, wherein the target operation is used for controlling the target device, and the first edge scene includes: the target device and the target operation;
and deleting the target equipment in the first edge scene and the target operation corresponding to the target equipment to obtain a second edge scene.
3. The method for adjusting an edge scene according to claim 2, wherein after deleting the target device and the target operation corresponding to the target device in the first edge scene to obtain the second edge scene, the method further comprises:
determining whether other devices can be controlled through the second edge scene, wherein the first edge scene comprises: target devices and other devices;
sending an update message to a device gateway under the condition that other devices can be controlled through the second edge scene, wherein the update message is used for instructing the edge gateway to update the first edge scene to the second edge scene;
and sending a deletion message to a device gateway under the condition that other devices cannot be controlled through the second edge scene, wherein the deletion message is used for indicating the edge gateway to delete the first edge scene.
4. The method for adjusting edge scene according to claim 3, wherein after determining whether other devices can be controlled by the second edge scene, the method further comprises:
receiving a request message sent by the edge gateway under the condition that the edge gateway receives the update message, wherein the request message is used for indicating to acquire a scene script corresponding to the second edge scene;
instructing the edge gateway to delete the first edge scenario if the edge gateway receives the delete message.
5. The method for adjusting edge scenes according to claim 1, wherein before acquiring the unbinding information, the method further comprises:
when a client corresponding to the target account receives an operation of the target object, instructing the client to generate the unbinding information, wherein the operation of the target object is used for controlling the target device and the target account to be unbound;
and under the condition that the client successfully generates the unbinding information, acquiring the unbinding information.
6. The method for adjusting an edge scene according to claim 1, wherein after the first edge scene is adjusted according to the target device, the method further comprises:
sending a reminding message to a client corresponding to the target account, wherein the reminding message is at least used for indicating one of the following: the edge gateway updates the first edge scene into a second edge scene; the edge gateway deletes the first edge scenario.
7. An apparatus for adjusting an edge scene, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring unbinding information, and the unbinding information is used for indicating the target equipment and the target account to be unbound;
a determining module, configured to determine, according to the unbinding message, an edge scene associated with the target account, and determine, in the edge scene, a first edge scene corresponding to the target device according to the target device;
and the adjusting module is used for adjusting the first edge scene according to the target equipment under the condition that the first edge scene corresponding to the target equipment is successfully acquired.
8. The apparatus for adjusting edge scene according to claim 7, comprising:
the adjusting module is further configured to obtain a target operation corresponding to the target device in the first edge scenario, where the target operation is used to control the target device, and the first edge scenario includes: the target device and the target operation; and deleting the target equipment in the first edge scene and the target operation corresponding to the target equipment to obtain the second edge scene.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 6.
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 of any of claims 1 to 6 by means of the computer program.
CN202110944251.5A 2021-08-17 2021-08-17 Edge scene adjusting method and device, storage medium and electronic device Pending CN115913806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110944251.5A CN115913806A (en) 2021-08-17 2021-08-17 Edge scene adjusting method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110944251.5A CN115913806A (en) 2021-08-17 2021-08-17 Edge scene adjusting method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN115913806A true CN115913806A (en) 2023-04-04

Family

ID=86480171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110944251.5A Pending CN115913806A (en) 2021-08-17 2021-08-17 Edge scene adjusting method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN115913806A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808501A (en) * 2015-03-31 2015-07-29 小米科技有限责任公司 Intelligent scene deleting method and device
CN107171911A (en) * 2017-06-29 2017-09-15 青岛海信智慧家居系统股份有限公司 The control method and device of intelligent home device
CN111474860A (en) * 2020-04-07 2020-07-31 广东科徕尼智能科技有限公司 Processing method and device based on failure intelligent scene and storage medium
CN112163125A (en) * 2020-09-22 2021-01-01 海尔优家智能科技(北京)有限公司 Device management method and apparatus, storage medium, and electronic device
CN112737901A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Operation configuration method and device in scene, storage medium and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808501A (en) * 2015-03-31 2015-07-29 小米科技有限责任公司 Intelligent scene deleting method and device
CN107171911A (en) * 2017-06-29 2017-09-15 青岛海信智慧家居系统股份有限公司 The control method and device of intelligent home device
CN111474860A (en) * 2020-04-07 2020-07-31 广东科徕尼智能科技有限公司 Processing method and device based on failure intelligent scene and storage medium
CN112163125A (en) * 2020-09-22 2021-01-01 海尔优家智能科技(北京)有限公司 Device management method and apparatus, storage medium, and electronic device
CN112737901A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Operation configuration method and device in scene, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN102047214B (en) Wireless communication device having deterministic control of foreground access of the user interface
US6615038B1 (en) System and method for automatically creating and updating a mobile station configuration database in a wireless network
CN107079239A (en) The method and electronic equipment of network service are provided
CN111885144B (en) Equipment binding method and device
CN109041140B (en) Method for rapidly switching wireless network, intelligent hardware and terminal equipment
CN112600856A (en) Equipment authorization method and device, storage medium and electronic device
JP2009500759A (en) Method and system for data management based on simple network management protocol
CN113422814A (en) Method and system for sending device control command, storage medium and electronic device
CN113487038B (en) Scene determination method and device, storage medium and electronic device
CN112737847B (en) Node upgrading method and device, storage medium and electronic device
JP2009212550A (en) Terminal function management server, communication system, and communication method
CN109688536A (en) Realize method, apparatus, storage medium and the equipment of small opening base station
CN100414948C (en) Method for limiting information acceptance in information push service
CN112130980A (en) Operation execution method and device, storage medium and electronic device
CN114143143B (en) Gateway equipment determining method and device, storage medium and electronic device
CN112671572B (en) Method and device for intelligent equipment network distribution, storage medium and electronic device
CN112817248B (en) Shared equipment management method and device, storage medium and electronic device
CN102348166B (en) Method of handling close subscriber group list synchronization
CN115913806A (en) Edge scene adjusting method and device, storage medium and electronic device
CN108540519B (en) Balanced download control method and device
CN108931923B (en) Device control method and apparatus, storage medium, and electronic apparatus
CN103929487A (en) Theme pack updating method, system and device
WO2018010448A1 (en) File transmission method and apparatus
CN113934490A (en) Opening method and device of equipment control page, storage medium and electronic device
CN114125052A (en) Target operation execution method and device, storage medium and electronic device

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